/* Shared foundation controls. Loaded after existing tool skins. */
#hccs-modal [data-export-quality-number]{width:66px!important;height:38px;flex:0 0 66px;background:#19384d;color:#e3eff8;border:1px solid #58738a;border-radius:8px;padding:6px}
.hccs-export-viewport[aria-busy=true] .cp-export-image{opacity:.3}
[data-export-retry][hidden]{display:none!important}
#hccs-save-status{overflow-wrap:anywhere;max-width:330px}
#hccs-hold-original{min-height:36px;font-size:11px;padding:7px 9px;border:1px solid #8295a6;border-radius:7px;background:#18354b;color:#eef7ff;touch-action:none;user-select:none}
#hccs-hold-original:focus-visible{outline:3px solid #75c6d2;outline-offset:2px}
.lc-field .hccs-control-reset{background:#19384d!important;border-color:#58738a!important;color:#e3eff8!important}
@media(max-width:820px){#hccs-hold-original{min-height:44px}#hccs-save-status{max-width:180px;font-size:10px}}

/* Retouch keeps related tools together with touch-sized controls. */
.dt-presets{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:16px 0 8px}.dt-presets button{min-height:44px;border:1px solid #37556a;background:#172e40;color:#e2eff5;border-radius:10px;font-size:12px;padding:8px}.dt-editor .dt-tabs{display:grid;grid-template-columns:1fr 1fr;gap:7px}.dt-editor .dt-tabs button{min-height:44px}.dt-editor .dt-tabs button[aria-pressed=true]{background:#173b4b;color:#c4fff5;border-color:#61ccb6}.dt-quality{padding:14px;margin:16px 0;border:1px solid #37556a;border-radius:12px;background:#0d2331;color:#d1e6f1;font-size:12px}.dt-quality p{line-height:1.6}.dt-history{max-height:240px;overflow:auto}.dt-editor .lc-field>span{display:block;font-weight:700;font-size:12px;margin-bottom:10px}

/* 4.11.1: independent logo asset, compact retouch, unobscured controls. */
.hccs-v412 .hccs-studio-logo[hidden],.hccs-logo-fallback[hidden],.dt-canvas-actions[hidden]{display:none!important}
.hccs-logo-fallback{color:#fff;line-height:.95;display:block;min-width:130px}.hccs-logo-fallback strong{font-size:22px;font-weight:900;letter-spacing:-.6px}.hccs-logo-fallback small{display:block;font-size:9px;letter-spacing:4px;margin-top:5px}
#hccs-panel-content.dt-panel{padding:0!important;overflow:hidden;scrollbar-gutter:auto}
.dt-panel>.dt-editor{height:100%;min-height:0;display:flex;flex-direction:column}
.dt-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:12px 14px}
.dt-scroll .lc-intro{padding:11px 12px;margin-bottom:10px;border-radius:12px}
.dt-scroll .lc-intro h3{font-family:inherit;font-size:18px;font-weight:700;line-height:1.2;margin:5px 0}
.dt-scroll .lc-intro>span{font-size:8px;letter-spacing:.8px}
.dt-scroll .lc-intro p{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dt-starting,.dt-help{margin:8px 0 12px;font-size:12px}
.dt-starting summary,.dt-help summary,.dt-quality summary{cursor:pointer;padding:8px 0;color:#cce2ef;font-weight:650}
.dt-scroll .dt-tabs{margin-bottom:10px}
.dt-scroll .dt-source{margin:7px 0;font-size:11px}
.dt-scroll .lc-field{margin:12px 0}
.dt-panel .dt-editor>.lc-actions{position:static;flex:none;margin:0;padding:12px 14px;border-radius:0;background:#142b3b;border:0;border-top:1px solid #3b596d;box-shadow:0 -3px 12px #0003}
.dt-panel .lc-actions p{color:#d0e5ef}
.dt-canvas-actions{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);z-index:10;max-width:calc(100% - 24px);padding:10px 12px;border:1px solid #4a687a;border-radius:12px;background:#102b3cf5;color:#dcf3ff;box-shadow:0 8px 30px #0005}
.dt-canvas-actions>span{display:block;font-size:12px;margin-bottom:8px;white-space:normal}
.dt-canvas-actions>div{display:flex;gap:6px;flex-wrap:wrap}
.dt-canvas-actions button{border:1px solid #45667c!important;border-radius:7px;min-height:36px;padding:6px 10px;background:#1b3a50;color:#e4f1f8;font-size:11px}
.dt-canvas-actions button:disabled{opacity:.45;cursor:default}
@media(max-width:820px){.dt-canvas-actions{width:calc(100% - 20px);bottom:8px}.dt-canvas-actions button{min-height:44px;flex:1}.dt-scroll{padding:10px}.dt-panel .dt-editor>.lc-actions{padding:10px}}

@media(max-width:820px){.hccs-panel:not(.is-collapsed)~.hccs-stage-wrap .dt-canvas-actions{visibility:hidden}.dt-canvas-actions>div{display:grid;grid-template-columns:1fr 1fr}.hccs-app:has(.dt-canvas-actions:not([hidden])) #hccs-toast{bottom:166px;pointer-events:none}}

/* 4.12: standalone editor workspace, legible controls and direct manipulation. */
.hccs-v412{--hc-muted:#a4bbcd;--hc-line:#2c4154}
.hccs-v412 .hccs-topbar{background:#0e2235;gap:10px;padding:0 16px;grid-template-columns:150px auto minmax(0,1fr);box-shadow:0 1px 10px #0002}
.hccs-v412 .hccs-logo-fallback strong{font-size:18px;letter-spacing:-.5px;line-height:1.05}
.hccs-v412 .hccs-logo-fallback small{font-size:8px;letter-spacing:3px;color:#adc6d8}
.hccs-v412 .hccs-top-actions{gap:5px;min-width:0}
.hccs-v412 .hccs-top-actions button,.hccs-v412 .hccs-home{font-size:12px;padding:0 10px;white-space:nowrap}
.hccs-v412 .hccs-top-actions #hccs-export{padding:0 20px;box-shadow:0 3px 12px #b0000033}
.hccs-v412 .hccs-main{grid-template-columns:80px 306px minmax(0,1fr) 220px}
.hccs-v412 .hccs-rail{scrollbar-width:thin;padding:12px 6px;background:#0b1a29}
.hccs-v412 .hccs-rail button{min-height:60px;flex:none;padding:8px 3px;font-size:10px;line-height:1.3;color:#a9c0d2;gap:6px;overflow-wrap:normal;word-break:normal}
.hccs-v412 .hccs-rail button.is-active{background:#203c53;color:#fff}
.hccs-v412 .hccs-panel{background:#111f2d}
.hccs-v412 .hccs-panel-head{height:56px;flex:none;padding:12px 18px;background:#142536}
.hccs-v412 .hccs-panel-head h2{font-size:14px;letter-spacing:.02em;text-transform:none}
.hccs-v412 .hccs-panel-content{padding:18px;scrollbar-width:thin}
.hccs-v412 .hccs-section{margin-bottom:24px}
.hccs-v412 .hccs-section>h3{font-size:10px;letter-spacing:1px;color:#9db7cc;margin-bottom:12px}
.hccs-v412 .hccs-card,.hccs-v412 .hccs-preset{background:#1b2f40;border:1px solid #30495e!important;border-radius:12px;padding:12px;transition:background .12s,border-color .12s}
.hccs-v412 .hccs-card:hover,.hccs-v412 .hccs-preset:hover{border-color:#82a4bd!important;background:#243f54}
.hccs-v412 .hccs-card strong,.hccs-v412 .hccs-preset strong{font-size:12px;line-height:1.45}
.hccs-v412 .hccs-card small,.hccs-v412 .hccs-preset small{color:#a2bbce;font-size:10px;line-height:1.5;margin-top:5px}
.hccs-v412 .hccs-section-note{color:#a2bbce;font-size:12px;line-height:1.6}
.hccs-v412 .hccs-field{margin-bottom:16px}
.hccs-v412 .hccs-field label{font-size:12px;color:#c2d3e0;margin-bottom:7px}
.hccs-v412 .hccs-field textarea{min-height:92px;resize:vertical;line-height:1.5;padding:10px}
.hccs-v412 .hccs-field input,.hccs-v412 .hccs-field select{min-height:36px}
.hccs-v412 #hccs-panel-upload{display:block;width:100%;text-align:center;border:1px dashed #7199b4!important;border-radius:14px;padding:24px 16px;background:#152e42;color:#bdd0df;font-size:12px;line-height:1.6}
.hccs-v412 #hccs-panel-upload strong{display:block;font-size:14px;color:#f5f9fc;margin-bottom:7px}
.hccs-v412 #hccs-panel-upload:hover{background:#1f4059}
.hccs-v412 .hccs-stage{background:#dbe3eb;background-image:radial-gradient(#b4c2cf 1px,transparent 1px);background-size:18px 18px;background-position:0 0;padding-bottom:92px}
.hccs-v412 .hccs-stage-toolbar{height:54px;min-height:54px;flex:none;padding:8px 18px;background:#f8fafc;border-bottom:1px solid #cdd9e3;color:#18364c;gap:12px}
.hccs-v412 .hccs-stage-meta{gap:10px;min-width:0;flex-wrap:wrap}
.hccs-v412 #hccs-document-title{color:#17384f;font-size:12px;max-width:230px;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hccs-v412 #hccs-save-status{display:block;color:#446b67;font-size:10px;max-width:270px}
.hccs-v412 #hccs-canvas-size{color:#657d91;font-size:10px}
.hccs-v412 .hccs-zoom{gap:4px;flex:none;color:#36586f;font-size:11px}
.hccs-v412 .hccs-zoom button{background:#fff;border:1px solid #cbd8e3!important;border-radius:7px;color:#385c76;min-height:30px;font-size:11px;padding:5px 8px}
.hccs-v412 .hccs-zoom button[aria-pressed=true]{background:#dcebf4;color:#163d58}
.hccs-v412 .hccs-canvas-shell{box-shadow:0 10px 38px #19384e35;flex-shrink:0}
.hccs-v412 .hccs-stage>.hccs-empty{position:absolute;inset:0;z-index:3;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:30px;text-align:center;color:#16384f;background:linear-gradient(135deg,#eef3f8f5,#dfe9f4f0);transform:none;max-width:none;pointer-events:auto}
.hccs-v412 .hccs-empty-icon{width:64px;height:64px;min-height:64px;font-size:34px;border-radius:20px;margin:0 0 22px;box-shadow:0 9px 24px #133f7020;background:#173e5d;color:#fff}
.hccs-v412 .hccs-welcome-kicker{font-size:9px;letter-spacing:2px;color:#577990;font-weight:750}
.hccs-v412 .hccs-empty h1{font:800 clamp(28px,4vw,46px)/1.1 Inter,system-ui,sans-serif;letter-spacing:-1.5px;color:#17384f;margin:12px 0}
.hccs-v412 .hccs-empty p{max-width:320px;font-size:14px;line-height:1.65;color:#5c778c;margin:0 0 24px}
.hccs-v412 .hccs-welcome-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}
.hccs-v412 .hccs-welcome-actions button{min-height:44px;padding:10px 20px;font-size:13px;font-weight:700;border-radius:10px;background:#fff;color:#204962;border:1px solid #bdcfdc!important}
.hccs-v412 .hccs-welcome-note{font-size:10px;color:#658095;margin-top:20px;line-height:1.6}
.hccs-v412 .hccs-template-thumb{position:relative;height:105px;display:grid;place-items:center;overflow:hidden;padding:12px;margin-bottom:12px;box-shadow:inset 0 0 0 1px #ffffff20}
.hccs-template-thumb span{position:relative;z-index:1;font-size:16px;font-weight:850;line-height:1.05;letter-spacing:-.6px;white-space:pre-line}
.hccs-v412 .hccs-template-0{background:linear-gradient(145deg,#edc657 0 72%,#d11515 72%);color:#142b40}
.hccs-v412 .hccs-template-1{background:#f2e8db;color:#644a38;font-family:Georgia,serif;border:10px solid #e2d2be}
.hccs-v412 .hccs-template-1 span{font-size:24px;font-weight:400}
.hccs-v412 .hccs-template-2{background:linear-gradient(25deg,#4a2e61,#b16d82);color:#fff}
.hccs-v412 .hccs-template-3{background:linear-gradient(125deg,#d8e7de 0 57%,#1a584a 57%);color:#123d32}
.hccs-v412 .hccs-template-4{background:#112f47;color:#fff;font-family:Georgia,serif}
.hccs-v412 .hccs-template-4 span{font-size:24px;font-weight:400}
.hccs-v412 .hccs-template-5{background:linear-gradient(90deg,#9eaabb 50%,#e2b875 50%);color:#172e42}
.hccs-v412 .hccs-template-5 span{font-size:11px;letter-spacing:.5px}
.hccs-v412 .hccs-layer-info{padding:8px;background:transparent;color:inherit;text-align:left;flex:1;min-width:0}
.hccs-v412 .hccs-layer-actions{display:flex;flex-wrap:wrap;gap:3px;max-width:130px;justify-content:flex-end}
.hccs-v412 .hccs-layer-actions button{min-width:26px;min-height:30px;font-size:12px}
.hccs-context-actions{position:absolute;bottom:20px;left:50%;transform:translateX(-50%);z-index:9;display:flex;align-items:center;gap:5px;padding:7px;background:#102d43f5;border:1px solid #5c7c93;border-radius:14px;box-shadow:0 8px 28px #17384b40;max-width:calc(100% - 24px)}
.hccs-context-actions button{border:0;border-radius:9px;background:transparent;color:#ecf4fa;min-width:40px;min-height:38px;padding:7px 12px;font-size:17px}
.hccs-context-actions button:first-child{font-size:12px;background:#244d68}
.hccs-context-actions button:hover{background:#315a74}
.hccs-context-actions[hidden],.hccs-v412 .hccs-empty[hidden]{display:none!important}
.hccs-v412 .hccs-tool-status{border:1px solid #35536b;background:#0a1d2e;border-radius:10px;padding:10px;font-size:11px;color:#b5cbdc}
.hccs-tool-status strong{display:block;color:#e7f3fc;margin-bottom:4px}
.hccs-tool-query{display:block;font-size:12px;color:#bcd2e1;margin:20px 0 14px}
.hccs-tool-query input{display:block;width:100%;margin-top:8px;min-height:46px;padding:12px 14px;border:1px solid #5b7c92;border-radius:10px;background:#10283b;color:#fff;font-size:15px}
.hccs-tool-results{display:grid;grid-template-columns:1fr 1fr;gap:8px;max-height:330px;overflow:auto;padding:3px}
.hccs-tool-results button{width:100%;text-align:left;padding:12px;border:1px solid #35566f!important;background:#17344a;color:#e1edf6;border-radius:9px;font-size:12px;min-height:44px}
.hccs-tool-results button:hover,.hccs-tool-results button:focus-visible{background:#26516d;outline:2px solid #77abc8;outline-offset:1px}
.hccs-tool-shortcuts{font-size:11px;line-height:1.8;color:#9bb9ce;margin-top:18px}
.hccs-v412 button:focus-visible,.hccs-v412 a:focus-visible{outline:3px solid #65b7d2;outline-offset:2px}
@media(min-width:821px){.hccs-v412 .hccs-main:has(.hccs-panel.is-collapsed){grid-template-columns:80px 0 minmax(0,1fr) 220px}}
@media(max-width:1520px) and (min-width:821px){.hccs-v412 .hccs-main{grid-template-columns:80px 306px minmax(0,1fr)}.hccs-v412 .hccs-main:has(.hccs-panel.is-collapsed){grid-template-columns:80px 0 minmax(0,1fr)}.hccs-v412 .hccs-rightbar{display:none}}
@media(max-width:1180px){.hccs-v412 .hccs-topbar{height:auto;min-height:100px;grid-template-columns:150px 1fr;padding:10px 14px}.hccs-v412 .hccs-workspaces{position:static;transform:none;grid-column:2;grid-row:1;justify-self:end;display:flex}.hccs-v412 .hccs-top-actions{grid-column:1/-1;justify-content:flex-start;overflow-x:auto;padding:3px}.hccs-v412 .hccs-stage-meta{gap:4px}.hccs-v412 #hccs-save-status{max-width:200px}.hccs-v412 #hccs-canvas-size{display:none}}
@media(max-width:820px){.hccs-v412 .hccs-main{grid-template-columns:66px minmax(0,1fr)}.hccs-v412 .hccs-panel,.hccs-v412 .hccs-panel.is-collapsed{left:66px;width:min(330px,calc(100vw - 66px));top:0;bottom:0}.hccs-v412 .hccs-stage-wrap{grid-column:2}.hccs-v412 .hccs-stage-toolbar{height:auto;min-height:88px;flex-wrap:wrap;padding:9px 10px;gap:7px;align-content:center}.hccs-v412 .hccs-stage-meta{flex-basis:100%;gap:6px}.hccs-v412 #hccs-save-status{display:block;max-width:100%;font-size:9px}.hccs-v412 .hccs-rail button{min-height:58px;font-size:9px}.hccs-v412 .hccs-tool-icon{font-size:20px}.hccs-v412 .hccs-zoom{overflow:auto;max-width:100%}.hccs-v412 .hccs-top-actions button:not(.hccs-primary),.hccs-v412 .hccs-top-actions .hccs-ghost,.hccs-v412 .hccs-home{display:inline-flex;align-items:center}.hccs-v412 .hccs-topbar{grid-template-columns:120px 1fr}.hccs-v412 .hccs-logo-fallback{min-width:100px}.hccs-v412 .hccs-logo-fallback strong{font-size:14px}.hccs-v412 .hccs-logo-fallback small{font-size:6px;letter-spacing:2px}.hccs-v412 .hccs-workspaces button{font-size:10px;padding:8px 6px}.hccs-v412 .hccs-empty h1{font-size:30px}.hccs-v412 .hccs-empty p{font-size:12px}.hccs-v412 .hccs-empty-icon{width:48px;height:48px;min-height:48px;margin-bottom:16px}.hccs-v412 .hccs-welcome-kicker{font-size:8px;letter-spacing:1px}.hccs-v412 .hccs-welcome-actions button{font-size:12px;padding:10px 14px}.hccs-v412 .hccs-storyboard{inset:88px 0 0}.hccs-tool-results{grid-template-columns:1fr}.hccs-context-actions{bottom:12px}.hccs-context-actions button{min-width:36px;min-height:42px;padding:7px 10px}}
@media(prefers-reduced-motion:reduce){.hccs-v412 .hccs-card,.hccs-v412 .hccs-preset{transition:none}}

/* Keep the empty-state overlay inside the canvas, leaving document controls usable. */
.hccs-v412 .hccs-stage{position:relative}
.hccs-v412 .hccs-project-row>div:first-child{min-width:0;flex:1}
.hccs-v412 .hccs-project-row strong{display:block;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.hccs-v412 .hccs-project-row small{display:block;font-size:10px;line-height:1.6;color:#9db7cc;margin-top:4px}
.hccs-v412 .hccs-project-row .hccs-layer-actions{flex:none;max-width:82px}

/* Studio 4.13: documents, templates and export choices. */
.hccs-pages-bar{position:absolute;bottom:12px;left:16px;right:16px;display:flex;align-items:center;gap:10px;padding:8px 12px;background:#fff;border:1px solid #dce2ea;border-radius:14px;box-shadow:0 6px 24px #0f2b4c12;z-index:8}.hccs-pages-bar[hidden]{display:none}.hccs-pages-bar button{background:#f3f5f8;color:#17304b;border:1px solid #dce2ea;border-radius:8px;padding:8px 11px;white-space:nowrap;cursor:pointer}.hccs-page-tabs{display:flex;gap:5px;overflow:auto;flex:1}.hccs-page-tabs button[aria-pressed=true]{background:#17304b;color:#fff}.hccs-context-actions{bottom:76px!important}.hccs-pages-list{display:grid;gap:14px;margin:20px 0}.hccs-page-card{padding:12px;background:#172b43;border:1px solid #3b506a;border-radius:12px}.hccs-page-card.is-current{border-color:#8db8ff;box-shadow:0 0 0 1px #8db8ff}.hccs-page-card>button{width:100%;text-align:left;background:transparent;border:0;padding:0 0 12px;color:#fff}.hccs-page-card small{display:block;color:#b7c6d7;margin-top:5px}.hccs-page-card label{display:block;font-size:12px;color:#c7d4e3}.hccs-page-card input,.hccs-template-search input,.hccs-template-search select{display:block;width:100%;box-sizing:border-box;margin:7px 0 12px;padding:10px;border:1px solid #53667f;border-radius:8px;background:#fff;color:#162c46}.hccs-template-search{display:block;font-size:12px;color:#c7d4e3;margin-bottom:12px}.hccs-design-template svg{display:block;width:100%;height:174px;background:#263b54;border-radius:8px;margin-bottom:10px}.hccs-design-template strong{font-size:12px!important;line-height:1.4}.hccs-design-template small{margin-top:5px}.hccs-export-choices{display:grid;gap:14px;margin:24px 0}.hccs-export-choices button{padding:20px;text-align:left;background:#f3f6fa;color:#142c47;border:1px solid #ccd8e5;border-radius:12px;cursor:pointer}.hccs-export-choices button:hover{border-color:#336baf;background:#eaf1fb}.hccs-export-choices strong,.hccs-export-choices small{display:block}.hccs-export-choices small{margin-top:8px;color:#56677d}.hccs-pdf-download{display:inline-block;padding:12px 20px;text-decoration:none;border-radius:8px;background:#17304b;color:white!important}.hccs-btn-row button[aria-pressed=true]{background:#4077ad!important;color:#fff!important}button:disabled{opacity:.45;cursor:not-allowed}@media(max-width:700px){.hccs-pages-bar{left:6px;right:6px;gap:5px;padding:6px}.hccs-pages-bar button{padding:8px}.hccs-context-actions{bottom:72px!important}}
/* Studio 4.14: clear workspace actions at every width. */
.hccs-v412.hccs-app{height:100vh;height:100dvh;min-width:320px}
.hccs-v412 [hidden]{display:none!important}
.hccs-v412 .hccs-topbar{display:flex;flex-wrap:wrap;flex-shrink:0;height:auto!important;min-height:80px;gap:10px;padding:12px 16px}
.hccs-v412 .hccs-brand-wrap{flex:0 0 145px;min-width:0}
.hccs-v412 .hccs-workspaces{position:static;transform:none;display:flex;flex:0 0 auto;order:0;width:auto;max-width:100%}
.hccs-v412 .hccs-top-actions{flex:1 1 500px;min-width:0;max-width:100%;display:flex;flex-wrap:wrap;justify-content:flex-end;overflow:visible;padding:0;gap:6px}
.hccs-v412 .hccs-top-actions button,.hccs-v412 .hccs-home{height:36px;min-height:36px;flex:0 0 auto}
.hccs-v412 .hccs-storyboard{bottom:0;background-color:#eaf0f6;background-image:radial-gradient(#bdcedc 1px,transparent 1px)}
.hccs-v412 .hccs-storyboard-toolbar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding:12px 16px;position:sticky;top:0;left:0;width:100%;min-height:62px;background:#10283e;border-bottom:1px solid #35516c;z-index:4}
.hccs-story-add,.hccs-story-keep{display:flex;flex-wrap:wrap;gap:6px}.hccs-story-keep{margin-left:auto}.hccs-v412 .hccs-storyboard-toolbar button{min-height:36px;padding:8px 11px;font-size:12px;white-space:nowrap}#hccs-story-summary{font-size:11px;color:#bdcede}
.hccs-v412 .hccs-storyboard-board{position:relative;min-width:100%;min-height:100%;width:auto;height:auto}
.hccs-v412 .hccs-story-card{width:280px;min-height:255px;padding:0;background:#fff;color:#17324d;box-shadow:0 4px 16px #17324d16;border:1px solid #b7cbdc;border-radius:12px;cursor:default;overflow:hidden}
.hccs-story-card header{background:#102b42;color:#fff;padding:0}.hccs-v412 .hccs-story-card [data-story-move]{display:block;width:100%;padding:12px 14px;color:#e6f2ff;background:transparent;text-align:left;cursor:grab;font-weight:600;font-size:12px;touch-action:none;user-select:none}.hccs-v412 .hccs-story-card [data-story-move]:active{cursor:grabbing}
.hccs-v412 .hccs-story-card label{display:block;padding:0 14px;font-size:11px;line-height:1.5;margin-top:12px;color:#536d83}
.hccs-v412 .hccs-story-card input,.hccs-v412 .hccs-story-card textarea{display:block;background:#f8fafc;color:#142c45;border:1px solid #c1d0de;font-size:13px;line-height:1.5;padding:8px;margin-top:4px;max-width:100%}.hccs-v412 .hccs-story-card textarea{height:84px;min-height:64px;max-height:180px;resize:vertical}.hccs-v412 .hccs-story-card .hccs-story-duration{display:flex;align-items:center;gap:10px}.hccs-v412 .hccs-story-duration input{width:76px;margin:0}.hccs-story-card footer{display:flex;gap:6px;margin-top:14px;padding:10px 14px;border-top:1px solid #dce5ed;background:#f4f7fb}.hccs-v412 .hccs-story-card footer button{font-size:11px;min-height:30px;padding:4px 9px;background:white;border:1px solid #c3d0dc;border-radius:6px;color:#233d56}
.hccs-story-empty{position:absolute;left:40px;top:48px;max-width:460px;padding:28px;color:#29445d}.hccs-story-empty small{font-size:10px;letter-spacing:1.5px}.hccs-story-empty h2{font-size:32px;line-height:1.15;letter-spacing:-1px;margin:14px 0}.hccs-story-empty p{font-size:14px;line-height:1.7}.hccs-story-empty button{margin-top:14px;padding:10px 16px;height:auto}
.hccs-v412.is-storyboard .hccs-main{grid-template-columns:80px 306px minmax(0,1fr)}.hccs-v412.is-storyboard .hccs-main:has(.hccs-panel.is-collapsed){grid-template-columns:80px 0 minmax(0,1fr)}
.hccs-style-row{border:1px solid #3c536c;border-radius:10px;padding:14px;margin:12px 0}.hccs-style-row>strong{display:block;font-size:13px;margin-bottom:10px;overflow-wrap:anywhere}
@media(max-width:1450px){.hccs-v412 .hccs-top-actions{flex-basis:100%;justify-content:flex-start}.hccs-v412 .hccs-workspaces{margin-left:auto}.hccs-v412 .hccs-topbar{padding:10px 14px}}
@media(max-width:820px){.hccs-v412 .hccs-brand-wrap{flex-basis:105px}.hccs-v412 .hccs-topbar{padding:8px;gap:7px}.hccs-v412 .hccs-top-actions button,.hccs-v412 .hccs-home{display:inline-flex;align-items:center;min-height:40px;height:auto;padding:8px;font-size:11px;width:auto}.hccs-v412 .hccs-home:after{content:none}.hccs-v412 .hccs-workspaces{gap:2px;flex-shrink:1}.hccs-v412 .hccs-workspaces button{padding:8px 5px;font-size:10px}.hccs-v412.is-storyboard .hccs-main,.hccs-v412.is-storyboard .hccs-main:has(.hccs-panel.is-collapsed){grid-template-columns:66px minmax(0,1fr)}.hccs-story-keep{margin-left:0}.hccs-v412 .hccs-storyboard-toolbar{padding:9px;gap:8px}.hccs-v412 .hccs-storyboard-toolbar button{min-height:40px}.hccs-story-empty{left:10px;max-width:290px;padding:22px}.hccs-story-empty h2{font-size:27px}}
/* Community preset library: bounded thumbnails, readable compatibility and accessible navigation. */
.hccs-lr-search{display:block;margin:14px 0;font-size:12px;color:#c4d5e6}.hccs-lr-search input,.hccs-lr-search select{display:block;box-sizing:border-box;width:100%;margin-top:7px;padding:10px 11px;border:1px solid #526a82;border-radius:8px;background:#fff;color:#19334f;min-height:42px}.hccs-lr-favourites{display:flex;align-items:center;gap:8px;font-size:12px;color:#cfdfec;margin:12px 0 18px}.hccs-lr-card-actions{display:flex;align-items:center;flex-wrap:wrap;gap:4px;border-top:1px solid #344b61;padding:8px}.hccs-lr-card-actions>span{width:100%;font-size:9px;color:#afc5d8;line-height:1.4;margin-bottom:4px}.hccs-v412 .hccs-lr-card-actions button{background:#274158;color:#e6f0fa;border:1px solid #4c6680;border-radius:6px;font-size:11px;min-height:30px;padding:4px 9px}.hccs-v412 .hccs-lr-tile .hccs-filter-card:disabled{opacity:.8;cursor:default}.hccs-lr-tile .hccs-look-caption strong{overflow-wrap:anywhere;line-height:1.4;font-size:11px}.hccs-lr-tile .hccs-look-caption small{font-size:9px}.hccs-lr-adobe{display:flex;flex-direction:column;align-items:center;justify-content:center;height:86px;background:#1f344b;color:#9db2c9;font-size:32px;font-weight:700}.hccs-lr-adobe small{font-size:11px;font-weight:400}.hccs-lr-pagination{display:flex;gap:8px;justify-content:space-between;align-items:center;margin:18px 0;font-size:10px;color:#b9cee1}.hccs-v412 .hccs-lr-pagination button,.hccs-v412 .hccs-lr-about{min-height:36px;padding:8px 11px;background:#243f56;border:1px solid #4b6680;border-radius:8px;color:#e2edf7;font-size:11px}.hccs-v412 .hccs-lr-about{width:100%;margin:8px 0}.hccs-lr-license{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;line-height:1.6;max-height:260px;overflow:auto;background:#f1f5f9;color:#17334c;padding:16px;border-radius:8px}.hccs-modal-card a{color:#96c7ff}.hccs-modal-card details summary{cursor:pointer;padding:10px 0}#hccs-lr-count{min-height:18px}
