/* Additive editor UI; no modifications to the public visual system. */
#kocWebsite .koc-edit-toggle{position:fixed;z-index:999990;right:18px;bottom:90px;border:0;background:#51372c;color:#fff;border-radius:999px;padding:14px 19px;box-shadow:0 8px 28px #27150d55;font:600 14px system-ui;cursor:pointer}
#kocEditorRoot:not([hidden]){position:fixed;inset:0;z-index:999999;background:#20130a88;display:flex;justify-content:flex-end}
#kocEditorRoot .koc-panel{height:100%;width:min(510px,100vw);background:#faf6f1;color:#38291f;box-shadow:-10px 0 35px #27150d44;overflow:auto;padding:22px;font:15px/1.5 system-ui}
#kocEditorRoot .koc-panel h2{font:700 27px Georgia;margin:4px 0 12px}#kocEditorRoot .koc-panel h3{font:700 19px Georgia;margin:20px 0 12px}
#kocEditorRoot .koc-actions,#kocEditorRoot .koc-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
#kocEditorRoot button{cursor:pointer;border:1px solid #c7b4a4;background:#fff;color:#3c2a20;border-radius:10px;padding:9px 12px;font:600 14px system-ui}
#kocEditorRoot button.koc-primary{background:#4e3529;color:white}
#kocEditorRoot input,#kocEditorRoot textarea,#kocEditorRoot select{width:100%;padding:11px;border:1px solid #c7b4a4;border-radius:9px;background:white;color:#2f211b;font:14px system-ui}
#kocEditorRoot textarea{min-height:90px;resize:vertical}#kocEditorRoot label{display:block;font-weight:600;margin:13px 0 5px}
#kocEditorRoot .koc-field{border:1px solid #e4d4c7;border-radius:12px;background:white;padding:13px;margin:10px 0}
#kocEditorRoot .koc-hint{font-size:12px;color:#775e4c}#kocEditorRoot .koc-status{font-weight:700;color:#4c6145}
#kocWebsite .koc-custom-section{background:#faf5ef}#kocWebsite .koc-custom-section:nth-child(even){background:#fffaf5}
#kocWebsite .koc-custom-image{display:block;max-height:500px;width:min(100%,900px);object-fit:cover;border-radius:24px;margin:28px auto}
#kocWebsite .koc-editable-focus{outline:3px dashed #ab805f;outline-offset:5px;cursor:pointer}
@media(max-width:600px){#kocEditorRoot .koc-panel{padding:16px}#kocWebsite .koc-edit-toggle{bottom:95px;right:10px}}

/* 1.1.0: iconographic off-canvas navigation and actual lineage diagrams */
#kocWebsite .drawer>a{display:flex;align-items:center;gap:13px}
#kocWebsite .drawer>a .koc-drawer-icon{display:block;flex:0 0 25px;width:25px;height:25px;stroke:currentColor;stroke-width:1.5;fill:none;opacity:.8}
#kocWebsite .drawer>a .koc-drawer-label{display:flex;align-items:center;justify-content:space-between;flex:1;min-width:0}
#kocWebsite .drawer>a .koc-drawer-label span{margin-left:auto}
#kocWebsite .family-trees{min-width:0;width:100%}
#kocWebsite .tree-canvas{display:block!important;padding:12px!important;overflow:hidden;min-height:220px}
#kocWebsite .koc-tree-scroll{overflow-x:auto;max-width:100%;scrollbar-width:thin;touch-action:pan-x;overscroll-behavior-x:contain;border-radius:16px}
#kocWebsite .koc-pedigree-svg{display:block;max-width:none;height:auto;min-height:170px}
#kocWebsite .koc-pedigree-branches{fill:none;stroke:#aa8067;stroke-width:2.5;stroke-linejoin:round;stroke-linecap:round}
#kocWebsite .koc-pedigree-node rect{fill:#fffaf5;stroke:#c8a98e;stroke-width:1.6}
#kocWebsite .koc-pedigree-name{fill:#4a3228;font:600 16px Georgia,serif}
#kocWebsite .koc-pedigree-meta{fill:#86634c;font:13px system-ui,sans-serif}
#kocWebsite .koc-tree-help{font-size:13px;margin:10px 8px;color:#775f51}
#kocWebsite .koc-video-frame{width:100%;aspect-ratio:16/9;background:#3d2b24;border-radius:18px;overflow:hidden;margin-bottom:14px}
#kocWebsite .koc-video-frame iframe{width:100%;height:100%;border:0;display:block}
#kocWebsite .koc-section-video{max-width:900px;margin:24px auto}
#kocWebsite .video-tile{min-width:0}
@media(max-width:650px){#kocWebsite .koc-pedigree-svg{min-width:640px}#kocWebsite .drawer>a .koc-drawer-icon{width:23px;height:23px;flex-basis:23px}}
@media(prefers-reduced-motion:no-preference){#kocWebsite .koc-pedigree-branches path{stroke-dasharray:1800;stroke-dashoffset:1800;animation:koc-branch-draw 1.7s ease forwards}@keyframes koc-branch-draw{to{stroke-dashoffset:0}}}
/* 2.0 — imported real cats, FAQ, bilingual editorial pages */
#kocWebsite .eyebrow{display:none!important}
#kocWebsite .koc-empty-cats{padding:24px;border:1px dashed #bd9e86;border-radius:20px;background:#fffaf4;color:#654a3b}
#kocWebsite .koc-no-photo{height:290px;display:grid;place-items:center;background:linear-gradient(130deg,#e4d0bb,#f7eee4);font:70px Georgia;color:#956b50}
#kocWebsite .koc-read-more{display:inline-block;margin-top:12px;color:#89583e;font-size:13px;font-weight:700}
#kocWebsite .cat-card a{display:block;height:100%}
#kocWebsite .koc-real-contact{font-size:15px;overflow-wrap:anywhere}
#kocWebsite .koc-real-contact a{text-decoration:underline;text-underline-offset:3px}
#kocWebsite .koc-drawer-label{display:flex;gap:10px;align-items:center;flex:1;justify-content:space-between}
#kocWebsite .koc-drawer-text{font:inherit!important;color:inherit!important}
#kocWebsite .koc-drawer-label>span:last-child:not(.koc-drawer-text){font:12px 'DM Sans',sans-serif;color:#89583e}
#kocWebsite .koc-cats-archive:empty{display:none}
.koc-cat-page{margin:0;background:#faf7f2;color:#33241e;font:17px/1.65 'DM Sans',sans-serif}
.koc-cat-header{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px max(24px,calc((100% - 1100px)/2));background:#fffaf5;border-bottom:1px solid #e5d8cb}
.koc-cat-header a{color:#503426;text-decoration:none}.koc-cat-header a:first-child{font:29px Georgia,serif}
.koc-single-cat{max-width:1100px;margin:auto;padding:55px 24px 95px}
.koc-single-cat h1{font:400 clamp(42px,6vw,80px)/1.1 'Fraunces',Georgia,serif;letter-spacing:-.05em;margin:0 0 30px}
.koc-single-cat h2{font:400 clamp(28px,4vw,43px) 'Fraunces',Georgia,serif;margin:45px 0 20px}
.koc-kicker{color:#89583e;font-size:11px;font-weight:700;letter-spacing:.17em}
.koc-cat-cover{width:100%;max-height:620px;object-fit:cover;border-radius:30px;margin-bottom:30px}
.koc-cat-copy{max-width:850px;font-size:18px;overflow-wrap:anywhere}
.koc-cat-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:15px}
.koc-cat-gallery figure{margin:0}.koc-cat-gallery img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:18px}
.koc-back{display:inline-block;margin-top:40px;padding:13px 24px;border-radius:30px;background:#603922;color:white;text-decoration:none}
.koc-cat-footer{background:#34251f;color:#fff;padding:30px 24px;text-align:center}.koc-cat-footer a{color:#fff}
@media(max-width:600px){.koc-cat-header a:first-child{font-size:21px}.koc-cat-header{padding:15px 16px}.koc-single-cat{padding:35px 18px 70px}}

/* Imported real cat stories: editorial homepage sections */
#kocWebsite .koc-imported-home{padding-top:72px;padding-bottom:92px}
#kocWebsite .koc-import-group{margin-top:42px}
#kocWebsite .koc-import-group>h3{font-size:clamp(28px,3vw,42px);margin-bottom:20px}
#kocWebsite .koc-import-group .journal-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
#kocWebsite .koc-import-group .article-card img{width:100%;height:230px;object-fit:cover}
.koc-imported-gallery,.koc-imported-documents{margin-top:34px}.koc-imported-documents li{margin:8px 0}
@media(max-width:800px){#kocWebsite .koc-import-group .journal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){#kocWebsite .koc-import-group .journal-grid{grid-template-columns:1fr}}

/* 2.2: Unified article pages, native blog posts, gallery and embedded documents */
.koc-cat-page{background:#faf7f2;color:#33241e;font-family:'DM Sans',Arial,sans-serif}
.koc-cat-header{position:sticky;top:0;z-index:30;background:#faf7f2f5;backdrop-filter:blur(14px)}
.koc-cat-header nav{display:flex;gap:18px;align-items:center;font-size:14px}
.koc-single-cat{max-width:1080px;padding-top:70px}
.koc-single-cat h1{max-width:950px}
.koc-cat-cover{aspect-ratio:16/9;object-fit:cover;max-height:590px;box-shadow:0 18px 50px #49312119}
.koc-article-toc{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 34px}
.koc-article-toc a{padding:9px 18px;border:1px solid #dbc8b6;border-radius:50px;background:#fffaf5;font-size:13px;text-decoration:none}
.koc-cat-copy{max-width:100%;font-size:17px;line-height:1.8}
.koc-cat-copy>p,.koc-cat-copy>ul,.koc-cat-copy>ol{max-width:830px}
.koc-cat-copy img{max-width:100%;height:auto;border-radius:15px}
.koc-cat-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.koc-gallery-item{border:0;padding:0;background:none;cursor:zoom-in;overflow:hidden;border-radius:20px}
.koc-gallery-item img{width:100%;height:260px;object-fit:cover;transition:transform .3s}
.koc-gallery-item:hover img{transform:scale(1.04)}
.koc-lightbox{border:0;border-radius:20px;background:#201713f2;max-width:96vw;max-height:96vh;padding:45px 15px 15px}
.koc-lightbox::backdrop{background:#160e0bc9}
.koc-lightbox img{max-height:80vh;max-width:90vw;object-fit:contain}
.koc-lightbox-close{position:absolute;right:10px;top:0;border:0;background:transparent;color:#fff;font-size:40px;cursor:pointer}
.koc-doc-item{background:#fffaf5;border:1px solid #e5d8cb;padding:20px;border-radius:20px;margin:15px 0}
.koc-doc-item a{color:#89583e;font-weight:700}
.koc-doc-item iframe{display:block;width:100%;height:min(75vh,700px);border:1px solid #e5d8cb;border-radius:12px;margin-top:12px}
.koc-profile-pedigree,.koc-profile-results{background:#f1e7dc;padding:25px;border-radius:24px;margin-top:35px}
@media(max-width:700px){.koc-cat-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.koc-gallery-item img{height:190px}.koc-cat-header nav{gap:8px;font-size:12px}}
@media(max-width:430px){.koc-cat-gallery{grid-template-columns:1fr}.koc-gallery-item img{height:270px}}
