:root{--ink:#1d2430;--quiet:#657080;--line:#e3e6eb;--accent:#2858df;--soft:#fafbfc}body{font-family:'Studio Sans','Noto Sans KR',Arial,sans-serif;background:#f5f6f8;color:var(--ink);font-size:14px}.brand{border:0;background:none;padding:0;letter-spacing:0;gap:10px}.brand b{font-family:inherit;font-size:17px;font-weight:600;letter-spacing:-.4px}.brand-mark{display:block;width:20px;height:22px;background:#2858df;clip-path:polygon(0 0,100% 0,100% 27%,28% 27%,28% 43%,100% 43%,100% 100%,0 100%,0 73%,72% 73%,72% 60%,0 60%)}header{height:76px;padding:0 28px;gap:27px}.project{padding-left:26px;font-size:13px;max-width:310px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project small{font-size:11px;color:#758093}.header-actions button{font-size:12px;padding:10px 13px}.primary{background:#2558df;border-color:#2558df;color:white;font-weight:500}.primary:hover{background:#1d46b7;color:white;border-color:#1d46b7}button{border-radius:6px}button:hover{border-color:#a4afbf;background:#f5f7fb}button:focus-visible,a:focus-visible{outline-color:#4978eb}.primary:hover{background:#204ec8}.workspace{height:calc(100dvh - 76px);grid-template-columns:284px minmax(390px,1fr) 320px}.library{padding:23px 18px}.library-title{display:flex;justify-content:space-between;align-items:center}.library-title h1{font-size:17px;line-height:1.5;letter-spacing:-.5px;margin:0;font-weight:500}.library-title button{font-size:11px;border:0;padding:8px 0;color:#6a7483}.tabs{margin-top:16px}.tabs button{font-size:13px;padding:13px 0}.tabs button.active{color:#234fb5;border-bottom-color:#2858df}.tabs span{font-size:11px}#search{font-size:13px}#categories button{font-size:11px;padding:7px 9px;background:#f4f6f9}#categories button.active{background:#234db2}#cards{gap:18px 10px}.library-meta{font-size:11px;margin-top:21px}.outline-row{padding:10px 2px;align-items:flex-start}.outline-row>span{font-size:11px;padding-top:7px;color:#929baa}.outline-row.active{background:#f1f5fd}.outline-row .choose{font-size:12px;line-height:1.6;min-width:0}.outline-row .choose b{display:block;font-weight:500;word-break:keep-all;overflow-wrap:anywhere}.outline-row .choose small{display:block;margin-top:4px;font-size:10px;color:#8a95a5}.outline-row button{font-size:13px;padding:6px}.card b{font-size:11px}.card small{font-size:10px}.mini-preview{height:165px}.mini-document{transform:scale(.315)}.canvasbar{height:59px;background:#fafbfc;border-bottom-color:#e3e6eb;padding:0 22px;color:#5c687a;font-size:12px}.canvas-context{color:#929baa}.dot{background:#5279ca}.devices{background:#edf0f5}.devices button{font-size:11px;color:#8b95a6;min-width:41px}.devices button.active{color:#324e80}.canvas{padding-top:22px}.ruler{font-size:10px;color:#8e98a8;letter-spacing:1px}#page{box-shadow:0 4px 25px #1c2b4110}.section-wrap.selected{outline-color:#587cc8}.section-wrap:hover{outline-color:#587cc8}.section-tag{background:#587cc8;font-size:10px}.section-wrap figure{cursor:pointer}.section-wrap figure:focus-visible{outline:2px solid #2858df;outline-offset:-2px}.add-bottom{font-size:13px;color:#7a879b;padding:14px}.canvas-foot{font-size:10px;letter-spacing:0;color:#8e99ab;max-width:375px;text-align:center;line-height:1.8}.editor{padding:0 22px 28px}.editor-heading{height:59px;font-size:13px}.editor-heading button{border:0;font-size:13px;padding:8px;color:#8d96a4}.inspector-tabs{display:flex;border-bottom:1px solid var(--line);padding-top:10px;gap:18px}.inspector-tabs button{border:0;padding:10px 0;font-size:12px;color:#8c95a4;background:none}.inspector-tabs button.active{border-bottom:2px solid #2858df;color:#2858df}.edit-type{font-size:11px;letter-spacing:0;color:#818c9d}.editor h2{font-size:18px;font-weight:500}.editor label{font-size:12px;margin:19px 0 8px}.editor input,.editor textarea,.editor select{font-size:13px;line-height:1.8;border-color:#dfe4ec;border-radius:6px;padding:10px}.editor textarea{min-height:100px}.editor .hint{font-size:11px;color:#7b8798}.editor-section{margin-top:22px;border-top-color:#e5e8ee}.panel-caption{font-size:10px;letter-spacing:.8px;color:#8190a3}.editor input[type=color]{height:35px;width:50px;padding:4px}.editor input[type=file]{font-size:11px;background:#fafbfc}.wide-button{display:block;width:100%;margin-top:14px;padding:12px;font-size:12px}.row-actions button{font-size:12px;padding:10px 3px}.item-row{display:flex;gap:7px;align-items:flex-start;padding:11px 0;border-bottom:1px solid #edf0f4}.item-row>span{font-size:12px;color:#929bac;padding-top:11px}.item-row>div{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px}.item-row>button{border:0;color:#a1a8b4;padding:9px 1px;font-size:11px}.inspector-image{height:155px;overflow:hidden;background:#f3f4f6}.inspector-image .visual{height:100%;width:100%;aspect-ratio:auto!important;margin:0}.inspector-image img{height:100%;width:100%;object-fit:contain}.upload-toolbar{grid-template-columns:1fr}.upload-toolbar button{font-size:11px}.asset-item{border-bottom-color:#e7ebf1}.asset-number{font-size:11px;color:#8d98a9}.asset-inputs input{font-size:11px}.editor .asset-upload{font-size:11px;background:#f0f4fb;padding:9px}.asset-inputs button{font-size:11px}.bulk-upload{border:1px solid var(--line);padding:14px;display:block;font-size:13px;background:#fafbfc}.bulk-upload input{display:block;margin-top:12px}.asset-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin-top:20px}.asset-grid button{padding:8px;min-width:0}.asset-grid img{display:block;width:100%;height:140px;object-fit:contain;background:#f5f6f8}.asset-grid small,.asset-grid span{display:block;font-size:11px;margin-top:7px;color:#7a8799}.hint{font-size:12px;color:#727f91;line-height:1.9}dialog{padding:26px;width:620px;border-color:#dfe4ec;border-radius:6px}.modal-head h2{font-size:20px;font-weight:500}.modal-head{border-bottom-color:#e5e8ee}.modal-head button{font-size:16px}dialog label{font-size:13px}dialog input,dialog textarea,dialog select{font-size:14px;padding:12px;border-color:#dce2eb}dialog textarea{line-height:1.8;min-height:130px}.code-area{min-height:250px!important;font:12px/1.8 ui-monospace,monospace!important;white-space:pre;overflow:auto;resize:vertical;margin-top:15px}dialog .checkbox{display:flex;align-items:center;gap:8px;font-size:12px;line-height:1.8}.checkbox input{width:auto;flex-shrink:0}.form-error{font-size:12px;color:#a13232}.export-options b{font-size:14px}.export-options small{font-size:12px;line-height:1.7;color:#818b9b}.empty-page{padding:60px 25px}.empty-page h2{font-size:24px;font-weight:500}.empty-page p{font-size:15px;line-height:1.9;color:#737e90}.review-score{display:flex;align-items:baseline;gap:15px;margin:20px 0}.review-score strong{font-size:40px;font-weight:500;color:#2858df}.review-score span{font-size:12px;color:#8c97a6}.review-weights>div{display:flex;justify-content:space-between;padding:12px 0;border-bottom:1px solid #e5e9f0;font-size:13px}.review-weights dd{margin:0}.audit-review-list{list-style:none;padding:0}.audit-review-list li{padding:17px 0;border-bottom:1px solid #e3e8ef}.audit-review-list b{font-size:13px;font-weight:500}.audit-review-list p{font-size:13px;line-height:1.8;color:#768194}.audit-review-list button{font-size:11px}.output-tabs,.output-widths{display:flex;gap:6px;margin:20px 0 15px}.output-tabs button,.output-widths button{flex:1;font-size:12px;padding:12px 6px}.output-tabs .active,.output-widths .active{border-color:#2858df;background:#f3f6fd;color:#2858df}.output-actions{display:flex;gap:8px;margin:15px 0}.output-actions button{flex:1;font-size:12px}.export-progress{font-size:13px;color:#4d6ba7;line-height:1.8;padding:15px;background:#f5f7fc;margin-top:16px}.export-results{display:flex;flex-direction:column;gap:20px;margin-top:20px}.export-result img{display:block;width:100%;max-height:300px;object-fit:contain;object-position:top;background:#f6f7f9;border:1px solid #e3e8ef}.export-result h3{font-size:14px;font-weight:500}.export-result p{font-size:12px;color:#7d899a}.export-result button{font-size:12px}.html-preview{width:100%;height:400px;border:1px solid #e0e5ed;background:white}.export-warning{font-size:12px;color:#7b6541;line-height:1.9;margin-top:14px}#toast{background:#223d75;font-size:13px;border-radius:6px}.selection-intro{display:flex;justify-content:space-between;gap:50px;align-items:flex-end;margin:0 0 58px}.selection-intro .section-label{font-size:13px;color:#758092;margin:0 0 22px}.selection-intro h1{font-size:44px;font-weight:500;letter-spacing:-1.6px;line-height:1.45;margin:0}.selection-intro h1>span{color:#737d8c}.selection-intro>p{font-size:15px;line-height:1.9;color:#758092;margin:0 0 7px;max-width:340px}#styleScreen{max-width:1240px;margin:auto;padding:68px 46px 0;background:white}.selection-meta{display:flex;justify-content:space-between;gap:20px;align-items:center;border-top:1px solid #dfe4ec;padding:23px 0}.selection-meta h2{font-size:16px;font-weight:500;margin:0}.selection-meta>span{font-size:12px;color:#8a95a4}#styleCards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:40px 30px}.style-card{display:block;position:relative;text-align:left;background:#fff;border:1px solid #e2e6ed;padding:0;min-width:0;overflow:hidden}.style-card:hover{background:white;border-color:#8faddd}.style-card.selected{border-color:#2858df;outline:1px solid #2858df;outline-offset:-1px}.style-card-head{display:flex;align-items:center;gap:13px;padding:20px 23px;border-bottom:1px solid #edf0f5}.style-card-head>span:first-child{font-size:11px;color:#93a0b4}.style-card h3{font-size:17px;font-weight:500;margin:0}.style-selection{margin-left:auto;font-size:11px;color:#8996aa}.selected .style-selection{color:#2858df}.style-preview{height:475px;position:relative;overflow:hidden;background:#f5f6f8;padding-top:18px}.style-preview-document{width:375px;position:absolute;top:18px;left:50%;transform:translateX(-50%) scale(.92);transform-origin:top center;box-shadow:0 2px 12px #25344e08}.style-card>p{font-size:13px;line-height:1.8;padding:20px 23px 0;margin:0;color:#69768a;min-height:68px}.style-en{display:block;font-size:11px;letter-spacing:.2px;padding:6px 23px 22px;color:#9ba6b5}.selection-footer{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:32px 0 45px;margin-top:45px;border-top:1px solid #e0e5ed}.selection-footer p{font-size:14px;line-height:1.9;color:#7b8799;margin:0}.selection-footer>button{font-size:14px;padding:17px 24px;min-width:260px;display:flex;gap:25px;justify-content:space-between}.selection-footer>button>span{margin-left:auto}#styleScreen footer{display:flex;justify-content:space-between;padding:28px 0;border-top:1px solid #e4e8ee;color:#8d98a8;font-size:11px}.resume-button{display:flex;justify-content:space-between;align-items:center;padding:20px;width:100%;margin-bottom:35px;background:#f8faff;border:1px solid #e0e7f4;text-align:left}.resume-button b{display:block;font-size:14px;font-weight:500}.resume-button small{display:block;font-size:11px;color:#8b98ad;margin-top:6px}.resume-button>span:last-child{font-size:12px;color:#2858df}body[data-screen=styles]{background:white}body[data-screen=styles] .workspace,body[data-screen=styles] .bottom{display:none}body[data-screen=editor] #styleScreen{display:none}body[data-screen=styles] header{max-width:1440px;margin:auto;padding-left:46px;padding-right:46px}body[data-screen=styles] .project,body[data-screen=styles] #styleSwitch,body[data-screen=styles] #reviewTop,body[data-screen=styles] #export{display:none}.full-preview .editor{display:none!important}
@media(min-width:1600px){.workspace{grid-template-columns:310px 1fr 340px}.mini-document{transform:scale(.35)}.mini-preview{height:180px}}
@media(max-width:1120px){.workspace{grid-template-columns:245px minmax(340px,1fr)}.editor{display:none}.workspace.editing{grid-template-columns:minmax(340px,1fr) 310px}.workspace.editing .library{display:none}.workspace.editing .editor{display:block}.project{max-width:200px}.mini-document{transform:scale(.265)}.mini-preview{height:140px}}
@media(max-width:700px){header,body[data-screen=styles] header{height:64px;padding:0 18px;gap:10px}.brand b{font-size:14px}.brand-mark{width:17px;height:19px}.project{display:none}.header-actions{gap:5px}.header-actions button{padding:8px;font-size:11px}#styleSwitch{max-width:100px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}#reviewTop{display:none}#projectMenu{font-size:0;padding:9px}#projectMenu::after{content:'메뉴';font-size:11px}.header-actions #export{font-size:11px;padding:10px}.workspace,.workspace.editing{display:block;height:calc(100dvh - 127px)}.library,.workspace.editing .library{display:none;padding:22px 18px}.editor,.workspace.editing .editor{display:none}body[data-view=library] .library,body[data-view=library] .workspace.editing .library{display:block}body[data-view=canvas] main{display:block}body[data-view=editor] main{display:block}body[data-view=editor] .editor,body[data-view=editor] .workspace.editing .editor{display:block;position:fixed;left:0;bottom:63px;width:100%;height:55dvh;z-index:8;background:white;border-top:1px solid #cbd5e5;border-left:0;box-shadow:0 -12px 35px #243b5d0b;padding:0 22px 25px}.editor-heading{height:48px;position:sticky;top:0;background:white;z-index:2}.inspector-tabs{background:white;position:sticky;top:48px;z-index:2;padding-top:0}.canvasbar{height:49px;padding:0 12px;font-size:11px}.canvas-context{display:none}.devices button{font-size:10px;min-width:34px;padding:6px}.canvas{padding:14px 7px 35px}.ruler{font-size:9px}.canvas-foot{font-size:10px}.bottom{height:63px;background:white}.bottom button{font-size:13px;color:#7e8c9f}.bottom button.active{background:#f1f5fd;color:#2858df}.card b{font-size:12px}.mini-document{transform:scale(.43)}.mini-preview{height:210px}.library-meta{font-size:12px}.outline-row .choose{font-size:14px}.outline-row .choose small{font-size:11px}.outline-row{padding:13px 3px}.library-title h1{font-size:20px}.library-title button{font-size:12px}dialog{padding:21px;max-width:96vw;max-height:90dvh}.modal-head h2{font-size:18px}#styleScreen{padding:38px 20px 0}.selection-intro{display:block;margin-bottom:38px}.selection-intro .section-label{font-size:12px;margin-bottom:17px}.selection-intro h1{font-size:30px;letter-spacing:-1px}.selection-intro>p{font-size:14px;line-height:1.9;margin-top:23px}.selection-meta{display:block;padding:22px 0}.selection-meta h2{font-size:16px;margin-bottom:8px}.selection-meta>span{font-size:12px}#styleCards{grid-template-columns:1fr;gap:25px}.style-card-head{padding:16px 18px}.style-card h3{font-size:17px}.style-preview{height:450px}.style-preview-document{transform:translateX(-50%) scale(.82)}.style-card>p{font-size:13px;padding:17px 18px 0;min-height:0}.style-en{padding:8px 18px 19px}.selection-footer{display:block;margin-top:30px;padding:25px 0 30px;position:sticky;bottom:0;background:#ffffffed;backdrop-filter:blur(7px);z-index:4}.selection-footer p{font-size:12px;margin-bottom:15px}.selection-footer>button{width:100%;font-size:14px;padding:15px 18px}#styleScreen footer{font-size:11px;gap:20px;line-height:1.8}#styleScreen footer span{text-align:right;max-width:170px}.resume-button{padding:17px;gap:15px}.resume-button>span:last-child{font-size:11px;max-width:80px;line-height:1.8}.output-widths{flex-wrap:wrap}.output-widths button{flex:1 1 28%}.output-actions{flex-wrap:wrap}.output-actions button{min-width:43%}.asset-grid img{height:120px}.full-preview main{display:block}.full-preview .editor{display:none!important}#toast{font-size:12px;bottom:77px}}
@media(max-width:360px){.brand b{font-size:12px}.header-actions button{font-size:10px;padding:7px}.header-actions #export{font-size:10px}.style-preview-document{transform:translateX(-50%) scale(.72)}.style-preview{height:400px}.selection-intro h1{font-size:27px}.mini-document{transform:scale(.36)}.mini-preview{height:180px}.asset-grid{grid-template-columns:1fr}}
[hidden]{display:none!important}
@media(max-width:390px){header{padding-left:12px;padding-right:12px;gap:8px}.brand b{font-size:13px}.header-actions{gap:4px}.header-actions button{padding:8px 6px}}
@media(max-width:360px){body[data-screen=editor] .brand b{display:none}}
/* Fast internal workflow. Product typography lives in product.css. */
body,button,input,textarea,select{font-family:'Wanted Sans',sans-serif}body[data-screen=quick]{background:#fff}body[data-screen=quick] .workspace,body[data-screen=quick] .bottom,body[data-screen=quick] #styleScreen,body[data-screen=styles] #quickScreen,body[data-screen=editor] #quickScreen{display:none}body[data-screen=quick] .project,body[data-screen=quick] #reviewTop,body[data-screen=quick] #export,body[data-screen=quick] #styleSwitch{display:none}body[data-screen=quick] header{max-width:1440px;margin:auto;padding-left:46px;padding-right:46px}#quickScreen{max-width:1190px;margin:auto;padding:52px 38px 32px}.quick-intro{margin-bottom:40px}.quick-intro>.section-label{font-size:13px;color:#788597;margin-bottom:18px}.quick-intro h1{font-size:42px;line-height:1.4;font-weight:550;letter-spacing:-1.5px;margin:0}.quick-intro h1 span{color:#768091}.quick-intro>p:last-child{font-size:15px;line-height:1.9;color:#788496;margin-top:20px}.quick-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:50px}.quick-grid label{display:block;font-size:13px;font-weight:500;margin:22px 0 9px}.quick-grid input,.quick-grid textarea,.quick-grid select{font-size:14px;line-height:1.8;padding:12px 13px;border-color:#dfe5ee}.quick-grid textarea{min-height:115px}.quick-grid #quickCopy{min-height:160px}.quick-settings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.quick-settings select{font-size:13px}.quiet-button{border:0;padding:9px 0;font-size:12px;color:#718299;background:none}.upload-drop{margin-top:22px;background:#f8faff;border:1px dashed #cbd7eb;padding:38px 28px;text-align:center}.upload-drop h2{font-size:20px;font-weight:500;letter-spacing:-.5px;margin:0}.upload-drop p{font-size:14px;line-height:1.85;color:#7b899e;margin:15px 0}.quick-grid .file-button{display:inline-flex;background:#2858df;color:#fff;padding:12px 21px;font-size:13px;font-weight:500;cursor:pointer;margin:7px 0 16px}.file-button input{display:none}.upload-drop small{display:block;font-size:11px;color:#8a97aa}.quick-photo{display:flex;gap:16px;padding:18px 0;border-bottom:1px solid #e7edf5;align-items:flex-start}.quick-photo>img{width:90px;height:95px;object-fit:contain;background:#f5f7fa;flex-shrink:0}.quick-photo>div{min-width:0;flex:1}.quick-photo b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:500;margin-bottom:8px}.quick-photo select{font-size:12px;padding:7px 9px}.photo-reorder{display:flex;gap:12px;margin-top:8px}.photo-reorder button{font-size:11px;padding:5px 0;border:0;background:none;color:#7f8da2}.photo-reorder button:last-child{margin-left:auto}.quick-bottom{display:flex;justify-content:space-between;gap:25px;align-items:center;border-top:1px solid #e1e7ef;margin-top:35px;padding:28px 0}.quick-bottom p{font-size:14px;margin:0 0 6px}.quick-bottom small{font-size:12px;color:#8792a3;line-height:1.8}.quick-bottom>.primary{font-size:15px;padding:16px 28px;min-width:240px}.quick-secondary{display:flex;gap:25px;border-top:1px solid #e6ebf2;padding-top:20px}.quick-secondary button{border:0;padding:9px 0;font-size:12px;color:#7d8ba0}#quickProgress{font-size:13px;color:#5877aa;line-height:1.8}.advanced-controls{border-top:1px solid #e5eaf1;margin-top:22px;padding-top:14px}.advanced-controls>summary{cursor:pointer;font-size:12px;color:#7c8aa1;line-height:1.8;padding:5px 0;list-style:none}.advanced-controls>summary::after{content:'＋';float:right}.advanced-controls[open]>summary::after{content:'−'}.font-note{font-size:12px;color:#7d899b;margin:20px 0}.emphasis-toolbar{display:flex;gap:5px;margin-top:7px}.emphasis-toolbar button{flex:1;padding:8px 3px;font-size:11px;border-color:#e4e9f1;color:#7b89a0}.emphasis-toolbar button:hover{color:#2858df;border-color:#96afe1}.floating-text-toolbar{display:flex;align-items:center;gap:3px;position:fixed;z-index:30;background:#fff;padding:5px;border:1px solid #d5dfef;box-shadow:0 5px 20px #1f3a6814;border-radius:6px;max-width:calc(100vw - 16px)}.floating-text-toolbar button{font-size:12px;padding:9px 11px;border:0;color:#425e8e}.editor h2{margin-bottom:20px}.extra-image-preview{height:90px;background:#f5f7fb;display:flex;align-items:center;justify-content:center;font-size:11px;color:#96a0b0;margin:4px 0 9px}.extra-image-preview img{height:100%;width:100%;object-fit:contain}.asset-inputs>div:has(.asset-upload){flex-wrap:wrap;gap:4px}.asset-inputs .row-actions{display:flex;justify-content:flex-start}.asset-inputs .row-actions button{padding:8px 10px;font-size:11px}.image-mode-actions button{display:block;width:100%;font-size:12px;margin-top:10px}.image-settings-preview{max-height:290px;overflow:auto;background:#f4f6f9;margin-top:20px}.image-settings-preview .editorial-section{padding:0;--bg:#fff}.image-settings-preview .editorial-section .visual{border-radius:0}.canvas-foot{max-width:430px;font-size:11px}.inspector-tabs{gap:24px}.mini-document .editorial-section{min-height:430px}.mini-document .block-visual{min-height:0}.mini-preview{background:#fff}.card small{line-height:1.6}.library #cards:has(.card){grid-template-columns:repeat(2,minmax(0,1fr))}.card b{font-size:12px}.section-wrap [data-copy-field]{cursor:text}.section-wrap.selected:hover .section-tag{opacity:.85}
@media(max-width:700px){body[data-screen=quick] header{padding:0 18px}#quickScreen{padding:32px 20px}.quick-intro{margin-bottom:27px}.quick-intro h1{font-size:30px;letter-spacing:-1px}.quick-intro>p:last-child{font-size:14px}.quick-grid{grid-template-columns:1fr;gap:8px}.quick-grid label{font-size:13px;margin-top:19px}.quick-grid input,.quick-grid textarea,.quick-grid select{font-size:15px}.upload-drop{padding:28px 20px;margin-top:16px}.upload-drop h2{font-size:19px}.upload-drop p{font-size:14px}.quick-bottom{display:block;padding:22px 0;margin-top:25px}.quick-bottom>.primary{width:100%;margin-top:18px;font-size:14px;padding:15px}.quick-bottom small{font-size:11px}.quick-secondary{gap:10px;flex-direction:column}.quick-secondary button{text-align:left;font-size:13px}.quick-photo>img{width:78px;height:90px}.emphasis-toolbar button{font-size:12px;padding:9px 3px}.floating-text-toolbar button{font-size:12px;padding:10px}.quick-settings{gap:10px}.quick-settings select{font-size:13px}.advanced-controls>summary{font-size:13px}.image-settings-preview{max-height:260px}}
/* Main navigation and project archive */
header{height:64px!important;border-bottom:0!important}.workspace{height:calc(100dvh - 64px)}.brand-logo{display:block;width:34px;height:34px;object-fit:contain}.brand:hover,.brand:focus,.brand:active,.brand:focus-visible{background:transparent;border-color:transparent;box-shadow:none;outline:none}.brand b{font-size:17px;white-space:nowrap}.project{border-left:0}.header-actions #projectsNav{margin-left:4px}body[data-screen=quick] #projectMenu,body[data-screen=styles] #projectMenu,body[data-screen=projects] #projectMenu{display:none}body[data-screen=projects]{background:white}body[data-screen=projects] .workspace,body[data-screen=projects] .bottom,body[data-screen=projects] #styleScreen,body[data-screen=projects] #quickScreen,body:not([data-screen=projects]) #projectsScreen{display:none}body[data-screen=projects] .project,body[data-screen=projects] #styleSwitch,body[data-screen=projects] #reviewTop,body[data-screen=projects] #export{display:none}body[data-screen=projects] header{max-width:1440px;margin:auto;padding:0 46px}#quickScreen{padding-top:22px}.resume-button{border-radius:6px}.resume-button:hover{border-radius:6px}#projectsScreen{max-width:1190px;margin:auto;padding:30px 38px 60px}.projects-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.projects-heading h1{font-size:27px;font-weight:600;margin:0;letter-spacing:-.8px}.projects-note{color:#788496;font-size:13px;line-height:1.8;margin:14px 0 28px}.project-tools{display:flex;align-items:center;gap:20px;margin-bottom:24px}.project-tools input{max-width:380px;font-size:14px;border-radius:6px}.project-tools span{margin-left:auto;white-space:nowrap;color:#7c8796;font-size:12px}#projectList{display:flex;flex-direction:column;gap:14px}.project-row{display:flex;gap:22px;align-items:center;padding:20px;border:1px solid #e7ebf1;border-radius:6px;background:white}.project-thumb{width:92px;height:92px;flex-shrink:0;background:#f5f7fa;border-radius:6px;overflow:hidden;display:grid;place-items:center}.project-thumb img{width:100%;height:100%;object-fit:contain}.project-thumb span{font-size:11px;color:#8c97a7}.project-summary{min-width:0;flex:1}.project-summary h2{font-size:17px;font-weight:550;margin:0 0 9px;overflow-wrap:anywhere}.project-summary p{font-size:12px;color:#718096;margin:0 0 8px}.project-summary time{font-size:11px;color:#8994a4}.project-row-actions{display:flex;gap:8px}.project-row-actions button{font-size:12px;border-radius:6px;padding:10px 14px}.project-row-actions button:first-child{color:#2558df;border-color:#c9d7f6}.projects-empty{text-align:center;padding:60px 20px;color:#7d8999}.projects-empty h2{font-size:18px;color:#43516a;font-weight:500}.projects-empty p{font-size:14px;line-height:1.8}
@media(max-width:700px){header{height:64px!important}.brand b{font-size:14px}.brand-logo{width:29px;height:29px}.brand{gap:8px}body[data-screen=projects] header{padding:0 18px}#quickScreen{padding-top:14px}#projectsScreen{padding:24px 20px 40px}.projects-heading h1{font-size:23px}.projects-heading button{font-size:12px}.projects-note{font-size:12px;margin-bottom:20px}.project-row{flex-wrap:wrap;padding:15px;gap:15px}.project-thumb{width:72px;height:78px}.project-summary h2{font-size:16px}.project-row-actions{width:100%;display:grid;grid-template-columns:1fr 1fr}.project-row-actions button:last-child{grid-column:1 / -1}.project-tools{gap:12px}.project-tools input{min-width:0}.header-actions #projectsNav{font-size:12px;padding:9px 11px}body[data-screen=editor] .brand b{font-size:12px}body[data-screen=editor] .brand-logo{width:23px;height:23px}body[data-screen=editor] .header-actions{gap:3px}body[data-screen=editor] .header-actions button{padding:8px 5px;font-size:10px}}
.quick-design{min-width:0;margin-top:25px}.quick-design h2{font-size:13px;font-weight:500;margin:0 0 12px}.design-thumbnails{display:flex;gap:12px;overflow-x:auto;padding:3px 2px 12px;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#c5cfdd transparent}.design-thumbnail{flex:0 0 145px;min-width:0;overflow:hidden;padding:0 0 12px;border:1px solid #e0e5ed;border-radius:6px;text-align:left;scroll-snap-align:start;background:#fff}.design-thumbnail:hover{background:#fff;border-color:#9baeca}.design-thumbnail.selected{border-color:#2858df;box-shadow:0 0 0 1px #2858df}.design-thumbnail-frame{height:185px;overflow:hidden;position:relative;background:#f4f6f9;border-radius:6px 6px 0 0;pointer-events:none}.design-thumbnail-document{width:375px;position:absolute;top:0;left:0;transform:scale(.3867);transform-origin:top left;pointer-events:none}.design-thumbnail>span{display:block;font-size:12px;font-weight:550;margin:12px 10px 5px;white-space:normal;line-height:1.5}.design-thumbnail>small{display:block;font-size:10px;color:#8c96a6;margin:0 10px}.design-thumbnail.selected>small{color:#2858df}.upload-drop{border-radius:6px;transition:background .15s,border-color .15s}.upload-drop.drag-over{background:#edf3ff;border:2px dashed #2858df;box-shadow:inset 0 0 0 3px #fff}.style-preview-modal{width:min(720px,calc(100vw - 32px));max-width:720px}.quick-style-preview{background:#f1f3f7;padding:24px 12px;max-height:60dvh;overflow:auto;border-radius:6px}.quick-style-preview-document{max-width:430px;margin:0 auto;background:white;pointer-events:none}.quick-style-footer{padding-top:20px;display:flex;align-items:center;justify-content:space-between;gap:20px}.quick-style-footer p{font-size:13px;line-height:1.8;color:#58677d;margin:0}.quick-style-footer small{display:block;color:#8a95a5;font-size:11px;margin-top:7px}.quick-style-footer button{flex-shrink:0;font-size:13px;padding:13px 18px}
@media(max-width:700px){.design-thumbnail{flex-basis:calc((100% - 16px)/2)}.design-thumbnail-frame{height:190px}.design-thumbnail-document{transform:scale(.40)}.quick-style-preview{padding:12px 0;max-height:55dvh}.quick-style-footer{display:block}.quick-style-footer button{width:100%;margin-top:15px}.style-preview-modal{padding:18px}.quick-style-footer p{font-size:12px}.design-thumbnails{gap:12px}.quick-design{margin-top:24px}}
@media(max-width:360px){.design-thumbnail-frame{height:165px}.design-thumbnail-document{transform:scale(.35)}}
/* One shell geometry for every route; reserve scrollbar space before navigation. */
html{min-width:360px;scrollbar-gutter:stable}body{min-width:360px}body header,body[data-screen] header{height:64px!important;max-width:none!important;width:100%!important;margin:0!important;padding:0 clamp(20px,4.7vw,60px)!important;gap:24px;border:0!important}.brand-logo,body[data-screen=editor] .brand-logo{width:44px;height:44px;flex-shrink:0}.brand b,body[data-screen=editor] .brand b{font-size:20px;font-weight:600;letter-spacing:-.6px}.brand{gap:12px;flex-shrink:0}.header-actions{margin-left:auto;gap:10px}.header-actions #projectsNav{order:8}.header-actions #createDetail{order:9;white-space:nowrap;font-size:13px;padding:11px 16px;border-radius:6px}.header-actions #projectMenu{font-size:12px}.header-actions #styleSwitch{display:none!important}.project{display:none!important}body[data-screen=projects] #projectsNav{display:none}#projectsScreen{max-width:none;padding:34px clamp(20px,4.7vw,60px) 0;min-height:calc(100dvh - 64px);display:flex;flex-direction:column}.projects-heading h1{font-size:24px}.project-tools{margin-bottom:25px}.site-footer{margin-top:auto;padding-top:70px}.site-footer>div{display:flex;align-items:center;justify-content:space-between;gap:24px;border-top:1px solid #e0e3e8;padding:40px 0 44px;color:#758092;font-size:16px}.site-footer button{border:0;background:none;color:#758092;padding:8px 0;font-size:16px;display:flex;align-items:center;gap:20px}.site-footer button:hover{color:#1c2736;background:none}.site-footer button span{font-size:24px}.image-copy-fields{margin-top:23px;padding-top:18px;border-top:1px solid #e3e8ee}.image-copy-fields>b{font-size:13px;font-weight:600}.image-copy-fields textarea{min-height:80px}body[data-screen=quick] #createDetail{display:block}body[data-screen=projects] #quickScreen{display:none}body[data-screen=quick] .site-footer{display:none}.mini-document .editorial-section{min-height:0}.mini-document .image-placeholder{min-height:120px}.mini-preview{height:190px}.mini-document{transform:scale(.315);width:375px}.inspector-image{container-type:inline-size}.inspector-image .visual{margin:0}.editorial-section.block-points .visual img{height:auto}.canvas-context{font-size:11px}
@media(max-width:1050px){body[data-screen=editor] .brand b{font-size:17px}.header-actions #reviewTop{display:none}.header-actions #projectMenu{font-size:11px}}
@media(max-width:700px){body header,body[data-screen] header{padding:0 20px!important;gap:10px}.brand-logo,body[data-screen=editor] .brand-logo{width:32px;height:32px}.brand b,body[data-screen=editor] .brand b{font-size:15px;letter-spacing:-.5px}.brand{gap:8px}.header-actions,body[data-screen=editor] .header-actions{gap:5px}.header-actions #createDetail,body[data-screen=editor] .header-actions #createDetail{font-size:11px;padding:10px 11px}.header-actions #projectsNav{display:none}.header-actions #projectMenu,.header-actions #export{display:none}#projectsScreen{padding:22px 20px 0}.site-footer{padding-top:50px}.site-footer>div{align-items:flex-start;padding:25px 0 28px;gap:24px;flex-direction:column;font-size:13px}.site-footer button{font-size:13px;gap:14px;padding:0}.site-footer button span{font-size:20px}.mini-preview{height:200px}.mini-document{transform:scale(.36)}body[data-screen=editor] .canvasbar{height:54px}body[data-screen=editor] .workspace{height:calc(100dvh - 64px - 61px)}}
#canvasMenu{display:none;border:0;background:transparent;font-size:11px;color:#65768c;padding:8px 0}.asset-inputs>input[data-extra-image]{font-size:11px}.editor .inspector-image .visual img{height:100%!important;object-fit:contain!important}.projects-empty{padding-bottom:45px}.site-footer>div{font-weight:400}
@media(max-width:700px){#canvasMenu{display:block}.canvasbar .canvas-context{display:none}.canvasbar .dot{display:none}.canvasbar{gap:8px;padding-left:16px;padding-right:16px}.canvasbar>div:first-child{font-size:10px}.devices button{min-width:32px}.header-actions #createDetail{max-width:none}.header-actions #createDetail{font-weight:500}}
@media(min-width:701px){body[data-screen=editor] .brand b{font-size:20px}}@media(min-width:701px) and (max-width:1150px){body[data-screen=editor] #reviewTop{display:none}.header-actions #projectsNav{display:none}.header-actions button{font-size:11px;padding:9px}.header-actions #createDetail{font-size:12px;padding:10px 12px}}
body[data-screen] header .brand b{display:block!important}
/* Compact branding and quiet creation action, shared by every screen. */
body[data-screen] header .brand-logo{width:32px;height:32px}body[data-screen] header .brand{gap:8px}body[data-screen] header .brand b{font-size:17px;letter-spacing:-.45px;font-weight:600}body[data-screen] header #createDetail{display:inline-flex;align-items:center;justify-content:center;height:36px;min-width:76px;padding:0 18px;border:1px solid #dce1e6;border-radius:6px;background:#f5f6f7;color:#35414d;font-size:13px;font-weight:500;line-height:1;box-shadow:none;transition:background-color .15s,border-color .15s}body[data-screen] header #createDetail:hover{background:#eceff2;border-color:#c7cfd7;color:#24313e}body[data-screen] header #createDetail:active{background:#e5e9ed}body[data-screen] header #createDetail:focus-visible{outline:2px solid #c5d0dd;outline-offset:3px}
@media(max-width:700px){body[data-screen] header .brand-logo{width:28px;height:28px}body[data-screen] header .brand b{font-size:15px}body[data-screen] header #createDetail{height:34px;min-width:64px;padding:0 14px;font-size:12px}}
/* Measured reference: logo height31.25px; footer12px / vertical padding18px. */
body[data-screen] header .brand-logo{width:31.25px;height:31.25px}body[data-screen] header #createDetail{font-size:13px!important}.site-footer>div{padding:18px 0;min-height:81px;font-size:12px;color:#707889}.site-footer button{font-size:12px;color:#707889;gap:14px}.site-footer button span{font-size:18px}.project-tools{margin-top:24px}.cloud-status{font-size:11px;color:#707889;margin-top:20px}.cloud-error{padding:30px 0;color:#707889;line-height:1.8}.cloud-error button{margin-top:12px}
:root{--focus-blue:#315de3}body :is(button,a,input,textarea,select,summary,[tabindex]):focus-visible{outline:2px solid var(--focus-blue);outline-offset:3px}body input[type=checkbox],body input[type=radio]{accent-color:var(--focus-blue)}body header .brand:focus-visible{outline:none;box-shadow:none}body header #createDetail:focus-visible{outline:2px solid var(--focus-blue)}
@media(max-width:700px){body[data-screen] header #createDetail{font-size:12px!important}.site-footer>div{flex-direction:row;align-items:center;gap:12px;min-height:81px;padding:18px 0}.site-footer>div>span{max-width:220px;line-height:1.6}.site-footer button{white-space:nowrap;font-size:12px;gap:8px}.site-footer button span{font-size:16px}.project-row-actions button:last-child{grid-column:auto}.project-row-actions{grid-template-columns:1fr 1fr}.project-row-actions button:last-child{grid-column:1 / -1}}
.projects-loading{font-size:13px;color:#707889;padding:24px 0;margin:0}
.site-footer>div{line-height:1.6}
.project-open-main{display:flex;align-items:center;gap:22px;flex:1;min-width:0;border:0;padding:0;background:transparent;text-align:left}.project-open-main:hover{background:transparent}.project-open-main .project-summary{display:block;min-width:0}.project-title{display:block;font-size:17px;font-weight:550;line-height:1.5;margin-bottom:9px;overflow-wrap:anywhere}.project-open-main:hover .project-title{color:#315de3}.project-open-main .project-thumb{display:grid}#projectOpenError{font-size:13px;line-height:1.8;color:#9d3b37;margin:0 0 15px}
@media(max-width:700px){.project-open-main{gap:15px;width:100%;flex-basis:100%}.project-title{font-size:16px}}
/* Full-width shell: one 20px alignment for every page. */
body header,body[data-screen] header{padding-left:20px!important;padding-right:20px!important}#projectsScreen{padding-left:20px;padding-right:20px;max-width:none}#quickScreen{max-width:none;padding-left:20px;padding-right:20px}body[data-screen=editor] header .header-actions>button:not(#export):not(#saveVersion):not(#editorHistory){display:none!important}body[data-screen=editor] header #export{display:inline-flex!important;align-items:center;justify-content:center;min-width:76px;height:36px;padding:0 18px;border:1px solid #dce1e6;border-radius:6px;background:#f5f6f7;color:#35414d;font-size:13px;font-weight:500;line-height:1;box-shadow:none}body[data-screen=editor] header #export:hover{background:#eceff2;border-color:#c7cfd7;color:#24313e}.primary{background:#f5f6f7;color:#35414d;border-color:#dce1e6;box-shadow:none}.primary:hover{background:#eceff2!important;color:#24313e!important;border-color:#c7cfd7!important}
/* Three clear areas on wide screens; one task at a time on small screens. */
body[data-screen=editor] .workspace{display:grid;grid-template-columns:220px minmax(0,1fr) 350px;height:calc(100dvh - 64px);width:100%;gap:0}body[data-screen=editor] .workspace .library{padding:0 14px 24px 20px;position:static;width:auto;height:100%;display:block;min-width:0}body[data-screen=editor] .workspace main{display:block;width:auto;height:100%;min-width:0;background:#f3f5f7}body[data-screen=editor] .workspace .editor{display:block;position:static;top:auto;left:auto;right:auto;bottom:auto;max-width:none;width:auto;height:100%;padding:0 20px 28px;border-top:0;border-left:1px solid #e4e8ed;box-shadow:none;background:#fff;min-width:0}.canvas{padding:24px 20px 35px}.canvasbar,.ruler,.inspector-tabs,.library-title{display:none!important}#page{width:430px;max-width:100%;margin:auto}.canvas-foot{display:none}.library .tabs{position:sticky;top:0;background:white;z-index:4;margin:0 0 16px;padding:0;height:53px;gap:12px}.library .tabs button{font-size:13px;white-space:nowrap;padding:13px 0}.library .library-meta{display:block;margin:0 0 14px;font-size:11px;line-height:1.8}.library .library-meta b{display:none}.library .library-meta span{color:#8190a3}.library #search{font-size:13px;margin-bottom:14px}.library #categories{display:none}.library #cards[data-mode=outline]{display:flex;flex-direction:column;gap:8px}.library #cards[data-mode=library]{display:grid;grid-template-columns:1fr;gap:18px}.outline-row{display:flex;align-items:center;gap:6px;padding:10px 7px;border:0!important;border-radius:6px;position:relative;min-height:70px}.outline-row.active{background:#f0f4fc}.outline-row .choose{display:flex;align-items:flex-start;gap:7px;flex:1;min-width:0;border:0;background:transparent;padding:3px 0;text-align:left;font-size:12px;line-height:1.7}.outline-row .choose b{font-size:12px;line-height:1.7;font-weight:550}.outline-row .choose small{font-size:10px;color:#8b97a8;margin-top:4px}.outline-number{color:#8b97a8;font-size:11px;flex-shrink:0}.section-drag-handle{display:grid;place-items:center;flex-shrink:0;width:18px;height:36px;font-size:20px;line-height:1;color:#a2adbb;cursor:grab;touch-action:none;user-select:none}.section-drag-handle:active{cursor:grabbing}.outline-row.dragging{opacity:.45}.outline-empty{font-size:13px;color:#8190a3;padding:25px 0;line-height:1.8}.library-utilities{display:flex;gap:20px;margin-top:25px;padding-top:15px}.library-utilities button{font-size:11px;border:0;padding:7px 0;color:#7b8798;background:none}.section-choice{display:block;width:100%;padding:0;border:0;background:transparent;text-align:left;min-width:0;border-radius:6px}.section-choice:hover{background:transparent}.choice-preview{position:relative;overflow:hidden;height:180px;background:#f5f6f7;border:1px solid #e1e6ed;border-radius:6px;pointer-events:none}.choice-document{position:absolute;top:0;left:0;width:375px;transform:scale(.485);transform-origin:top left;container-type:inline-size;pointer-events:none}.section-choice:hover .choice-preview{border-color:#315de3}.section-choice>b{display:block;font-size:13px;font-weight:550;margin-top:9px}.section-choice>span{display:block;font-size:11px;color:#8490a1;line-height:1.65;margin-top:4px}.section-picker-modal{width:min(700px,calc(100vw - 32px));max-width:700px}.section-picker-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 18px;margin-top:20px}.section-picker-grid .choice-preview{height:240px}.section-picker-grid .choice-document{transform:scale(.75)}.editor-heading{position:sticky;top:0;z-index:4;background:white;height:53px;font-size:14px;font-weight:550;border-bottom:0}.form-intro{font-size:12px;line-height:1.8;color:#8190a3;margin:0 0 20px}.editor .copy-field{margin-top:22px}.editor .copy-field label,.editor .photo-copy-item label{display:block;font-size:13px;margin:0 0 8px}.editor label small{font-size:11px;font-weight:400;color:#8d98a7;margin-left:7px}.editor textarea,.editor input,.editor select{font-size:14px;line-height:1.75;padding:11px 12px;border-radius:6px}.editor textarea{min-height:85px}.editor #field-body{min-height:90px}.editor #field-title{min-height:84px}.emphasis-toolbar{gap:6px}.emphasis-toolbar button{font-size:11px;padding:7px;border-radius:6px;background:transparent}.photo-input{margin:0 0 18px;border-radius:6px;position:relative}.photo-drop-target{display:flex!important;align-items:center;justify-content:center;flex-direction:column;gap:9px;min-height:155px;padding:22px 12px!important;margin:0!important;border:1px dashed #cbd4df;background:#f8f9fb;border-radius:6px;cursor:pointer;overflow:hidden;position:relative}.photo-drop-target:has(img){padding:0!important;background:#f4f6f8;border-style:solid;min-height:0}.photo-drop-target img{display:block;width:100%;height:165px;object-fit:contain}.photo-drop-target b{font-size:13px;font-weight:500}.photo-drop-target small{font-size:11px;color:#8490a1;line-height:1.7}.photo-plus{font-size:23px;color:#8090a6;font-weight:400}.photo-drop-target input{position:absolute;width:1px;height:1px;opacity:0;padding:0;overflow:hidden}.photo-drop-target:focus-within{outline:2px solid #315de3;outline-offset:3px}.photo-input.drag-over .photo-drop-target{background:#eef3ff;border-color:#315de3}.photo-tools{display:flex;align-items:center;gap:13px;padding-top:7px;font-size:11px;color:#8894a4;line-height:1.7}.photo-tools>span{flex:1;min-width:0}.photo-tools button{font-size:11px;padding:3px 0;border:0;background:none;color:#71829a}.photo-upload-status{font-size:11px;color:#315de3}.photo-copy-item,.content-item{padding:18px 0;margin:8px 0 18px}.item-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.item-heading b{font-size:13px;font-weight:550}.item-heading button{font-size:11px;border:0;padding:3px 0;color:#8894a4;background:none}.photo-copy-item label{margin-top:15px!important}.editor .photo-copy-item label input,.editor .photo-copy-item label textarea{margin-top:8px}.column-picker{margin:22px 0 8px;padding:0;border:0;display:flex;gap:7px}.column-picker legend{float:left;font-size:12px;margin:8px 15px 0 0}.column-picker button{font-size:12px;padding:7px 12px;border-radius:6px}.column-picker button[aria-pressed=true]{border-color:#315de3;color:#315de3;background:#f2f5ff}.content-items{margin-top:22px}.item-fields{display:flex;flex-direction:column;gap:13px}.item-fields>label{margin:0;font-size:12px}.item-fields input,.item-fields textarea,.item-fields select{margin-top:7px}.compare-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.compare-fields label:first-child{grid-column:1/-1}.comparison-inputs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.comparison-inputs>div{min-width:0}.comparison-inputs .photo-drop-target{min-height:110px;padding:12px 8px!important}.comparison-inputs .photo-drop-target small{display:none}.comparison-inputs .photo-drop-target img{height:110px}.comparison-inputs label{font-size:12px}.comparison-inputs input{margin-top:8px}.comparison-inputs .photo-tools{gap:8px;flex-wrap:wrap}.comparison-inputs .photo-tools>span{flex-basis:100%}.form-options{margin-top:24px;border:0}.form-options>summary{font-size:12px;color:#78879b;padding:8px 0;cursor:pointer}.form-options>label{font-size:12px;margin:18px 0 10px}.form-section-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:28px}.form-section-actions button{font-size:12px;padding:10px;border-radius:6px}.form-preview-button{display:none}.wide-button{font-size:12px;border-radius:6px;padding:12px}.form-empty{padding:25px 0}.form-empty h2{font-size:19px;line-height:1.6}.form-empty p{font-size:13px;line-height:1.8;color:#8190a3;margin-bottom:20px}.section-menu-trigger{position:absolute;right:8px;top:8px;z-index:3;display:flex;align-items:center;justify-content:center;width:30px;height:26px;padding:0;border:1px solid #dce2e9;border-radius:6px;background:#fffffff0;font-size:19px;color:#74829a;opacity:0}.section-wrap.selected>.section-menu-trigger,.section-wrap:hover>.section-menu-trigger{opacity:1}#sectionContextMenu{position:fixed;z-index:60;min-width:145px;padding:5px;background:#fff;border:1px solid #dce2e9;border-radius:6px;box-shadow:0 6px 20px #20304918}#sectionContextMenu button{display:block;width:100%;text-align:left;border:0;border-radius:6px;padding:11px 13px;font-size:13px;color:#a7443e;background:white}#sectionContextMenu button:hover{background:#fff4f2}#toast{display:none;align-items:center;gap:15px}#toast:empty{display:none!important}#toast button{font-size:12px;border:0;padding:0;color:white;background:none;text-decoration:underline;text-underline-offset:3px}
/* Photo-first project gallery. */
#projectList{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:30px 24px;align-items:start}#projectList>.projects-loading,#projectList>.projects-empty,#projectList>.cloud-error,#projectOpenError{grid-column:1/-1}.project-row{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:0;border:0;border-radius:0;background:none;min-width:0}.project-row .project-open-main{display:block;width:100%;padding:0;text-align:left;border-radius:0}.project-row .project-thumb{width:100%;height:auto;aspect-ratio:1/1;border-radius:6px;border:1px solid #e7ebf0;background:#f6f7f9;overflow:hidden}.project-row .project-thumb img{width:100%;height:100%;object-fit:contain}.project-row .project-summary{display:block;margin-top:14px}.project-row .project-title{font-size:16px;line-height:1.55;min-height:25px;margin-bottom:8px}.project-row .project-summary p{font-size:12px;margin-bottom:7px}.project-row .project-summary time{display:block;font-size:11px;color:#8b97a8}.project-row-actions{display:flex;gap:20px;margin-top:12px;justify-content:flex-start}.project-row-actions button{padding:5px 0;border:0;background:none;color:#78869a;font-size:12px}.project-row-actions button[data-project-edit]{display:none}.project-open-main:hover .project-thumb{border-color:#b3c2db}.project-open-main:hover .project-title{color:#315de3}
@media(min-width:1600px){body[data-screen=editor] .workspace{grid-template-columns:220px minmax(0,1fr) 370px}}
@media(max-width:1439px){#projectList{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1100px){body[data-screen=editor] .workspace{display:block;height:calc(100dvh - 64px - 62px)}body[data-screen=editor] .workspace .library,body[data-screen=editor] .workspace main,body[data-screen=editor] .workspace .editor{display:none!important;position:static!important;inset:auto!important;width:100%!important;max-width:none!important;height:100%!important;border:0!important;box-shadow:none!important;padding:0 20px 28px}body[data-screen=editor][data-view=library] .workspace .library{display:block!important}body[data-screen=editor][data-view=canvas] .workspace main{display:block!important;padding:0}body[data-screen=editor][data-view=editor] .workspace .editor{display:block!important}.bottom{display:flex;height:62px;position:fixed;bottom:0;left:0;width:100%;min-width:360px;z-index:12;background:#fff;border-top:1px solid #e3e8ee;padding-bottom:env(safe-area-inset-bottom)}.bottom button{flex:1;font-size:13px}.form-preview-button{display:block;width:100%;margin:20px 0 10px;border-radius:6px;font-size:14px;padding:13px;background:#f5f6f7;border-color:#dce1e6}.library #cards[data-mode=library]{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 16px}.library .choice-preview{height:230px}.library .choice-document{transform:scale(.75)}.library .outline-row{padding:12px 8px;min-height:76px}.library .outline-row .choose b{font-size:14px}.library .outline-row .choose small{font-size:11px}.library .section-drag-handle{width:28px;height:44px;font-size:24px}.editor-heading{height:53px}.form-intro{margin-bottom:18px}.editor .photo-drop-target img{height:200px}.editor .copy-field textarea{font-size:16px}.photo-copy-item .photo-drop-target img{height:180px}#projectList{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1101px){body[data-screen=editor] .bottom{display:none!important}body[data-screen=editor] .workspace.editing main,body[data-screen=editor] .workspace.editing .library,body[data-screen=editor] .workspace.editing .editor{display:block!important;position:static!important;width:auto!important;height:100%!important}}
@media(max-width:700px){body[data-screen=editor] header #export{height:34px;padding:0 14px;min-width:76px;font-size:12px!important}.section-picker-modal{padding:20px}.section-picker-grid{gap:22px 12px}.section-picker-grid .choice-preview{height:170px}.section-picker-grid .choice-document,.library .choice-document{transform:scale(.405)}.library .choice-preview{height:180px}.canvas{padding:18px 12px 28px}.editor .emphasis-toolbar button{font-size:12px;padding:8px}.form-intro{font-size:12px}.project-row-actions{display:flex}.project-row-actions button:last-child{grid-column:auto}}
@media(max-width:599px){#projectList{grid-template-columns:1fr;gap:30px}.project-row .project-thumb{aspect-ratio:4/3}.project-row .project-title{font-size:17px}.project-row .project-summary time{font-size:12px}}
/* Scroll naturally without visible scrollbar tracks. */
html{scrollbar-width:none;scrollbar-gutter:auto}html::-webkit-scrollbar{display:none;width:0;height:0}.workspace :is(.library,main,.editor),dialog,.quick-style-preview,textarea{scrollbar-width:none;-ms-overflow-style:none}.workspace :is(.library,main,.editor)::-webkit-scrollbar,dialog::-webkit-scrollbar,textarea::-webkit-scrollbar{display:none;width:0;height:0}body[data-screen=editor]{overflow-y:hidden}
.project-open-main .project-thumb{position:relative}.project-open-main[aria-busy=true] .project-thumb::after{content:'여는 중…';position:absolute;inset:0;display:grid;place-items:center;background:#ffffffe6;font-size:14px;color:#52647c}.project-open-main[aria-busy=true]{opacity:1!important}
.project-row .project-thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}

/* Project collection: six across, then five/four/three, then compact rows. */
#projectList{grid-template-columns:repeat(6,minmax(0,1fr))}
@media(max-width:1599px){#projectList{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:1319px){#projectList{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1039px){#projectList{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:759px){
 #projectList{grid-template-columns:minmax(0,1fr);gap:24px}
 .project-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px;align-items:center;min-height:112px}
 .project-row .project-open-main{display:grid;grid-template-columns:112px minmax(0,1fr);gap:18px;align-items:center;min-width:0}
 .project-row .project-thumb{width:112px;height:112px;aspect-ratio:1}
 .project-row .project-summary{margin:0;padding:0;min-width:0}
 .project-row .project-title{font-size:15px;min-height:0;margin-bottom:6px;overflow-wrap:anywhere}
 .project-row .project-summary p{margin-bottom:4px}
 .project-row .project-summary time{font-size:11px;line-height:1.6}
 .project-row .project-row-actions{display:flex;position:static;width:auto;min-width:0;margin:0;gap:18px;justify-content:flex-end;align-self:center}
 .project-row .project-row-actions button{white-space:nowrap;padding:10px 0}
 .project-tools,.project-tools #projectSearch{width:100%;max-width:none}
}
@media(max-width:479px){
 .project-row{grid-template-columns:minmax(0,1fr);gap:4px}
 .project-row .project-open-main{grid-template-columns:92px minmax(0,1fr);gap:14px}
 .project-row .project-thumb{width:92px;height:100px}
 .project-row .project-row-actions{justify-self:end;margin:0}
}
/* Mouse/trackpad editors retain the complete desktop workspace. */
@media(hover:hover) and (pointer:fine){
 body[data-screen=editor]{min-width:760px;overflow-x:auto}
 body[data-screen=editor] header{min-width:760px}
 body[data-screen=editor] .workspace,body[data-screen=editor] .workspace.editing{display:grid!important;position:relative;grid-template-columns:var(--outline-width,290px) minmax(0,1fr) var(--inspector-width,350px)!important;min-width:760px;height:calc(100dvh - 64px)!important}
 body[data-screen=editor] .workspace .library,body[data-screen=editor] .workspace main,body[data-screen=editor] .workspace .editor{display:block!important;position:static!important;inset:auto!important;width:auto!important;max-width:none!important;height:100%!important;min-width:0;box-shadow:none!important}
 body[data-screen=editor] .workspace .library{padding:0 18px 24px 20px!important;border-right:1px solid #e4e8ed!important}
 body[data-screen=editor] .workspace main{padding:0!important}
 body[data-screen=editor] .workspace .editor{padding:0 20px 28px!important;border-left:1px solid #e4e8ed!important}
 body[data-screen=editor] .bottom,body[data-screen=editor] .form-preview-button{display:none!important}
 body[data-screen=editor] .library #cards[data-mode=library]{grid-template-columns:1fr}
 body[data-screen=editor] .library .outline-row .choose b{font-size:13px}
 body[data-screen=editor] .library .outline-row .choose small{font-size:11px}
 body[data-screen=editor] .library .section-drag-handle{width:20px}
}
@media(max-width:759px){.project-row .project-row-actions{width:auto;min-width:0}}

/* A quiet divider separates the editor tools from its workspace. */
body[data-screen=editor] header{border-bottom:1px solid #e9ecf0!important}

.library .library-meta[hidden]{display:none!important}
/* Match the section search to the current studio inputs. */
.library #search{height:44px;padding:11px 12px;border:1px solid #dfe4ec;border-radius:6px;background:#fff;color:#1d2430;font-family:inherit;font-size:14px;line-height:1.5;box-shadow:none}
.library #search::placeholder{color:#8994a3}
.library #search:hover{border-color:#b8c2d0}
.library #search:focus{outline:2px solid #315de3;outline-offset:2px;border-color:#315de3;background:#fff}
/* Draw selection above photographs without intercepting editing gestures. */
body[data-screen=editor] .section-wrap.selected,body[data-screen=editor] .section-wrap:hover{outline:0}
body[data-screen=editor] .section-wrap.selected::after,body[data-screen=editor] .section-wrap:hover::after{content:"";position:absolute;inset:0;border:1px solid #587cc8;z-index:10;pointer-events:none}
body[data-screen=editor].full-preview .section-wrap::after{display:none}
/* Compact outline and quiet blue export action. */
.outline-row .choose{cursor:grab;touch-action:none}
.outline-row .choose:active{cursor:grabbing}
body[data-screen=editor] #edit{padding-top:20px}
body[data-screen=editor] header #export{background:#fff;border-color:#dfe4ec;color:#526174}
body[data-screen=editor] header #export:hover{background:#f5f7fa;border-color:#bdc9d9}
body[data-screen=editor] header #export:active{background:#eceff4}

#sectionDropLine{position:fixed;height:2px;background:#315de3;z-index:50;pointer-events:none;border:0;border-radius:0;transform:translateY(-1px)}
/* Tab selection changes paint, never button dimensions. */
.library .tabs button,.library .tabs button.active{position:relative;height:100%;box-sizing:border-box;border:0!important;margin:0;padding:13px 0;transform:none;box-shadow:none;transition:color .12s,background-color .12s}
.library .tabs button::after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:#315de3;opacity:0;pointer-events:none}
.library .tabs button.active::after{opacity:1}
/* A spacious gallery replaces the narrow sidebar template browser. */
dialog.section-picker-modal{width:calc(100vw - 48px);height:calc(100dvh - 48px);max-width:1440px;max-height:none;padding:0;border:1px solid #e1e6ed;border-radius:6px;overflow:hidden}
dialog.section-picker-modal[open]{display:flex;flex-direction:column}



.picker-search{position:sticky;top:0;z-index:2;display:flex;align-items:center;gap:20px;padding:20px 0;background:#fff}
.picker-search input{width:min(420px,100%);height:44px;padding:11px 13px;background:#fff;border:1px solid #dfe4ec;border-radius:6px;font-size:14px}
.picker-search span{margin-left:auto;white-space:nowrap;font-size:12px;color:#8491a3}
.section-picker-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:28px 24px;margin:0}
.section-picker-grid .choice-preview{height:300px;background:#f5f6f8}
.section-picker-grid .choice-document{transform:scale(.8)}
.section-picker-grid .section-choice{min-width:0}
.section-picker-grid .section-choice[hidden],.picker-empty[hidden]{display:none!important}
.picker-empty{font-size:14px;color:#7b8899;text-align:center;padding:60px 0}
@media(max-width:1150px){.section-picker-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:850px){.section-picker-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 18px}}
@media(max-width:600px){dialog.section-picker-modal{width:100vw;height:100dvh;max-width:none;border:0;border-radius:0;margin:0}.section-picker-grid{gap:24px 14px}.section-picker-grid .choice-preview{height:220px}.picker-search{gap:12px;padding:16px 0}.picker-search input{min-width:0}.section-picker-grid .section-choice b{font-size:13px}.section-picker-grid .section-choice>span{font-size:11px;line-height:1.6}}
body[data-screen] header #createDetail{background:#edf3ff;border-color:#d6e3fb;color:#315caa}
body[data-screen] header #createDetail:hover{background:#e2ecff;border-color:#c1d4f6;color:#264e98}
body[data-screen] header #createDetail:active{background:#d8e5fc}
body[data-screen=projects] header{position:sticky;top:0;z-index:20;background:#fff}
/* Page context on the left; a separate add action on the right. */
.library .tabs{align-items:center;justify-content:space-between;gap:16px}
.library .tabs button[data-mode=outline]{flex:0 1 auto;min-width:120px}
.library .tabs button.add-section-action{flex:0 0 auto;height:32px;margin-left:auto;padding:0 11px;border:1px solid #dce6f8!important;border-radius:6px;background:#f1f5fd;color:#3d62a3;font-size:12px;line-height:30px;font-weight:500;white-space:nowrap}
.library .tabs button.add-section-action::after{display:none}
.library .tabs button.add-section-action span{margin:0 3px 0 0;font-size:14px;color:inherit}
.library .tabs button.add-section-action:hover{background:#e6eefc;border-color:#c6d7f3!important;color:#3159a0}
.library .tabs button.add-section-action:active{background:#dce8fa}
.draft-status,#planningTotals { font-size:12px; color:#8994a4; }
.draft-status{display:none;white-space:nowrap;min-width:135px}
body[data-screen=editor] .draft-status{display:block}
.draft-status[data-status=error]{color:#b34c45}
body[data-screen=editor] header .header-actions>#saveVersion{display:inline-flex!important;align-items:center;justify-content:center;height:36px;padding:0 16px;border:1px solid #d6e3fb;border-radius:6px;background:#edf3ff;color:#315caa;font-size:13px;font-weight:500;white-space:nowrap}
body[data-screen=editor] header #saveVersion:hover{background:#e2ecff;border-color:#c1d4f6;color:#264e98}
body[data-screen=editor] header #saveVersion:active{background:#d8e5fc}
body:not([data-screen=editor]) #saveVersion{display:none!important}
.history-latest{display:flex;width:100%;align-items:center;justify-content:space-between;text-align:left;padding:16px 18px;margin:5px 0 16px;border:1px solid #d6e3fb;background:#f1f5fe;border-radius:6px;color:#315caa}
.history-latest small,.saved-version-row small{display:block;margin-top:6px;font-size:12px;font-weight:400;color:#8290a3;line-height:1.6}
.saved-version-row{display:flex;align-items:center;gap:16px;border-bottom:1px solid #edf0f4;padding:8px 0}
.saved-version-row>button:first-child{flex:1;min-width:0;border:0;background:none;text-align:left;padding:10px 0;font-size:14px}
.saved-version-row .delete-saved-version{flex-shrink:0;padding:8px 10px;font-size:12px;border:0;background:none;color:#a3635b}
.saved-version-row .delete-saved-version:hover{background:#fff4f2}
.history-empty{padding:24px 0;color:#8793a4;font-size:13px}
.legacy-history{margin-top:22px;font-size:12px;color:#7c899c}
.legacy-history summary{cursor:pointer;padding:8px 0}
@media(hover:none) and (max-width:600px){
 body[data-screen=editor] header{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:29px 16px;align-content:center;column-gap:10px!important;row-gap:0!important}
 body[data-screen=editor] header .brand{grid-column:1;grid-row:1;min-width:0;justify-self:start;max-width:100%}
 body[data-screen=editor] header .brand b{font-size:12px;overflow:hidden;text-overflow:ellipsis}
 body[data-screen=editor] header .brand-logo{width:26px;height:26px}
 body[data-screen=editor] header .draft-status{grid-column:1;grid-row:2;min-width:0;font-size:10px;padding-left:34px;overflow:hidden;text-overflow:ellipsis}
 body[data-screen=editor] header .header-actions{grid-column:2;grid-row:1/3;margin:0;gap:6px}
 body[data-screen=editor] header .header-actions>#saveVersion{height:34px;padding:0 10px;font-size:12px}
}
.edit-view-tabs{display:flex;gap:24px;position:sticky;top:0;z-index:5;background:#fff;border-bottom:1px solid #e6eaf0;margin:-20px 0 22px;padding-top:4px}
.edit-view-tabs button{position:relative;border:0;background:none;padding:16px 0;font-size:13px;color:#8b97a8;border-radius:0}
.edit-view-tabs button[aria-pressed=true]{color:#315de3}
.edit-view-tabs button[aria-pressed=true]::after{content:"";position:absolute;bottom:0;left:0;right:0;height:2px;background:#315de3}
.editor-content-view[hidden],.editor-photo-view[hidden]{display:none!important}
#page [data-inline-edit]{cursor:text;min-height:1em;outline:0;white-space:pre-wrap;overflow-wrap:anywhere}
#page [data-inline-edit]:hover{box-shadow:inset 0 -1px #315de34d}
#page [data-inline-edit]:focus{outline:1px solid #315de373;outline-offset:4px;box-shadow:none}
#page [data-inline-edit]:empty::before{content:attr(data-inline-placeholder);color:#99a4b2;pointer-events:none}
.library .tabs{border-bottom:0}
.page-list-label{display:flex;align-items:center;gap:8px;height:100%;padding:0 6px;font-size:13px;font-weight:500;color:#667283;user-select:none;pointer-events:none;white-space:nowrap}
.page-list-label #count{font-size:12px;font-weight:400;color:#8a95a4}
/* Project actions live in a small contextual popover, never a card footer. */
.project-row{position:relative}
.project-row .project-menu-trigger{position:absolute;top:8px;right:8px;display:grid;place-items:center;width:30px;height:30px;padding:0;border:1px solid #e0e6ee;border-radius:6px;background:#fffffff2;color:#75859a;font-size:20px;line-height:1;opacity:0;transition:opacity .12s}
.project-row:hover .project-menu-trigger,.project-row:focus-within .project-menu-trigger{opacity:1}
.project-row .project-menu-trigger:hover{background:#f0f5ff;border-color:#c4d6f4;color:#315caa}
#projectContextMenu{position:fixed;z-index:50;width:160px;padding:5px;background:#fff;border:1px solid #dfe5ed;border-radius:6px;box-shadow:0 6px 24px #24374d18}
#projectContextMenu button{display:block;width:100%;padding:10px 13px;border:0;border-radius:6px;text-align:left;font-size:13px;line-height:1.5;background:#fff;color:#435268}
#projectContextMenu button:hover,#projectContextMenu button:focus-visible{background:#f1f5fc;outline:0}
#projectContextMenu button.danger{color:#ae5a52}
#projectContextMenu button.danger:hover{background:#fff4f2}



.delete-project-message{font-size:14px;line-height:1.8;color:#667386}
body #projectsScreen #projectSearch:focus,body #projectsScreen #projectSearch:focus-visible{outline:none!important;outline-offset:0;box-shadow:none!important;border-color:#315de3}
@media(hover:none){.project-row .project-menu-trigger{opacity:1}}
@media(max-width:759px){.project-row .project-summary{padding-right:36px}.project-row .project-menu-trigger{top:0;right:0}}
body[data-screen=editor] .draft-status{min-width:225px}
body[data-screen=editor] header .header-actions>#saveVersion{width:64px;min-width:64px;max-width:64px;height:36px;padding:0;flex:0 0 64px;overflow:hidden;text-align:center}
body[data-screen=editor] header .header-actions>#editorHistory{display:inline-flex!important;align-items:center;justify-content:center;width:36px;min-width:36px;height:36px;flex:0 0 36px;padding:0;border:1px solid transparent;border-radius:6px;background:transparent;color:#7a899d}
body[data-screen=editor] header #editorHistory:hover{background:#f1f5fc;color:#315caa}
body:not([data-screen=editor]) #editorHistory{display:none!important}
@media(hover:none) and (max-width:600px){body[data-screen=editor] header{grid-template-rows:32px 14px}body[data-screen=editor] header .header-actions{grid-row:1}body[data-screen=editor] header .draft-status{grid-column:1/-1;grid-row:2;min-width:0;overflow:visible;font-size:10px}body[data-screen=editor] header .header-actions>#saveVersion{height:34px}body[data-screen=editor] header .header-actions>#editorHistory{width:30px;min-width:30px;flex-basis:30px;height:34px}body[data-screen=editor] header #export{min-width:58px;padding:0 12px}}
body[data-screen=editor] header .header-actions>#export{width:64px;min-width:64px;max-width:64px;flex:0 0 64px;padding-left:0;padding-right:0}
/* Count and search share one balanced collection header. */
#projectsScreen .projects-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:28px}
#projectsScreen .projects-heading h1{flex:0 0 auto;margin:0;white-space:nowrap}
#projectsScreen .projects-heading .project-tools{flex:0 1 320px;width:320px;min-width:0;margin:0;display:block}
#projectsScreen .projects-heading #projectSearch{display:block;width:100%;max-width:none;height:40px;padding:9px 12px;font-size:13px;line-height:20px;border-radius:6px}
@media(max-width:600px){#projectsScreen .projects-heading{gap:16px;margin-bottom:24px}#projectsScreen .projects-heading .project-tools{flex-basis:190px;width:190px}#projectsScreen .projects-heading #projectSearch{height:38px;font-size:12px;padding:8px 10px}}
@media(max-width:759px){#projectsScreen .projects-heading{flex-direction:column;align-items:stretch;gap:20px;margin-bottom:24px}#projectsScreen .projects-heading .project-tools{flex:0 0 auto;width:100%}#projectsScreen .projects-heading #projectSearch{height:44px;font-size:14px;padding:11px 12px}}
body[data-screen=editor] header .header-actions>.draft-status{margin:0 10px 0 0;padding:0;min-width:0;text-align:right}
@media(hover:none) and (max-width:600px){body[data-screen=editor] header .brand{grid-row:1/3}body[data-screen=editor] header .header-actions{display:grid;grid-row:1/3;grid-template-columns:30px 64px 64px;grid-template-rows:32px 14px;gap:0 6px}body[data-screen=editor] header .header-actions>#editorHistory{grid-column:1;grid-row:1}body[data-screen=editor] header .header-actions>#saveVersion{grid-column:3;grid-row:1}body[data-screen=editor] header .header-actions>#export{grid-column:2;grid-row:1}body[data-screen=editor] header .header-actions>.draft-status{grid-column:1/-1;grid-row:2;margin:0;padding:0;font-size:9px;min-width:0;white-space:nowrap}}
/* Compact section rows, with canvas actions visible only on selection. */
body[data-screen=editor] .library #cards[data-mode=outline]{gap:5px}
body[data-screen=editor] .library .outline-row{min-height:56px;padding:7px 8px;align-items:center}
body[data-screen=editor] .library .outline-row .choose{padding:0;line-height:1.55}
body[data-screen=editor] .library .outline-row .choose b{line-height:1.55}
body[data-screen=editor] .library .outline-row .choose small{margin-top:3px;line-height:1.5}
#page .section-wrap>.section-menu-trigger{display:none;z-index:12}
#page .section-wrap.selected>.section-menu-trigger{display:flex;opacity:1}
html[data-initial-screen=editor] body:not([data-ready]) #projectsScreen,html[data-initial-screen=editor] body:not([data-ready]) .header-actions{visibility:hidden}
.editor-route-message{padding:48px 24px;background:#fff;font-size:14px;line-height:1.8;color:#7b899d;text-align:center}
.editor-route-message button{margin:16px 5px 0;padding:10px 15px;font-size:13px;border-radius:6px}
#page .section-wrap>.section-menu-trigger{right:-42px;top:0;width:30px;height:28px;border-radius:6px;background:#fff;color:#7b899c;box-shadow:0 2px 6px #20334b08}
#page .section-wrap>.section-menu-trigger:hover{background:#f1f5fe;border-color:#c4d6f4;color:#315caa}
#sectionContextMenu button[data-section-action=duplicate]{color:#52647b}
#sectionContextMenu button[data-section-action=duplicate]:hover{background:#f1f5fc}





.alignment-toolbar{display:flex;gap:5px;margin-top:5px}.alignment-toolbar button{flex:1;padding:8px 3px;font-size:11px;border-color:#e4e9f1;color:#7b89a0}.alignment-toolbar button[aria-pressed="true"]{background:#edf3ff;border-color:#ccdcff;color:#315eb2}

@media (hover:hover) and (pointer:fine){body[data-screen=editor] .workspace main .canvas{padding-left:8px;padding-right:8px}}

.library .tabs button.common-settings-action,.library .tabs button.add-section-action{flex:0 0 auto;height:30px;padding:0 9px;line-height:28px;font-size:12px;border-radius:6px;margin-left:0}.library .tabs button.common-settings-action{margin-left:auto;border:1px solid #e1e6ee;background:white;color:#68768a}.library .tabs button.common-settings-action::after{display:none}.library .tabs button.add-section-action{margin-left:6px}.common-group{padding:16px 0}.common-group h3{font-size:14px;margin:0 0 12px}.common-fonts{display:grid;grid-template-columns:1fr 1fr;gap:12px 20px}.common-fonts label{margin:0;font-size:12px}.common-fonts label>span{display:flex;align-items:center;gap:8px;color:#8692a3;margin-top:7px}.common-fonts input{width:100%;min-width:0;padding:8px 10px}.common-color{border:0;padding:0;margin:10px 0 16px}.common-color legend{font-size:12px;margin-bottom:9px}.common-color-inputs{display:flex;gap:8px;align-items:center}.common-color-inputs input[type=color]{width:40px;height:36px;padding:3px;border-radius:6px;flex:none}.common-color-inputs input:not([type=color]){width:120px;min-width:0;padding:7px 10px;font-family:monospace}.common-color-inputs button{font-size:12px;white-space:nowrap;padding:9px}.common-swatches{display:flex;gap:9px;margin-top:12px}.common-swatches button{width:24px;height:24px;padding:0;border-radius:6px;background:var(--swatch);border:2px solid white;box-shadow:0 0 0 1px #e0e5ed}.common-thumbnail{display:flex;gap:16px;align-items:center}.common-thumbnail img{width:88px;height:88px;object-fit:cover;background:#f3f5f8;border-radius:6px}.common-upload{display:inline-block!important;margin:0 8px 0 0!important;padding:9px 12px;border:1px solid #dce4ee;border-radius:6px;cursor:pointer;font-size:12px}.common-upload input{display:none}.common-thumbnail button{font-size:12px;padding:9px 12px}#commonStylePreview{padding:22px;background:#f5f7fb;border:1px solid #e5eaf2;border-radius:6px;overflow-wrap:anywhere}#commonStylePreview p{margin-bottom:0;line-height:1.8}.common-preview-title{font-weight:700}.common-preview-underline{text-decoration:underline}#commonError{color:#b44545;font-size:12px}.common-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:20px}.common-actions button{min-width:72px;padding:10px 18px}

.floating-text-toolbar{flex-direction:column;align-items:stretch;width:168px;padding:6px;border-radius:6px;max-height:calc(100dvh - 16px);overflow:auto}.floating-text-toolbar button{text-align:left;padding:10px 13px;border-radius:6px}.floating-text-toolbar button:hover{background:#f1f5fc}

.library .tabs{gap:6px}.library .tabs button.common-settings-action{border:1px solid #e1e6ee!important}.library .tabs button.add-section-action{margin-left:0}

/* Keep the current context and commit actions within reach in long settings. */
#modal.common-settings-modal{padding:0;max-height:min(88dvh,920px);display:flex;flex-direction:column;overflow:hidden}#modal.common-settings-modal:not([open]){display:none}#commonForm .common-actions{position:sticky;bottom:0;background:#fff;z-index:2;align-items:center;padding:14px 0;margin:16px 0 0;border-top:1px solid #edf0f5;min-height:66px}#commonForm .common-actions #commonError{flex:1;margin:0;line-height:1.5}#commonForm .common-actions button{flex:none}#commonForm .common-actions button:disabled{opacity:.55;cursor:wait}.common-fonts label{color:#526174}.common-color-inputs input:not([type=color]){text-transform:uppercase}#cancelExport[hidden]{display:none}.floating-text-toolbar button:focus-visible{outline:2px solid #315de3;outline-offset:-2px;background:#eef3ff}
@media(max-width:520px){.common-actions{flex-wrap:wrap}.common-actions #commonError:not(:empty){flex-basis:100%}}

.common-template-panel{padding:16px;background:#f6f8ff;border:1px solid #e0e7fa;border-radius:6px;margin:6px 0 10px}.common-template-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.common-template-heading h3{font-size:14px;margin:0}.common-template-brand{font-size:10px;letter-spacing:.14em;color:#2455f5;font-weight:650}.common-template-load,.common-template-save{display:flex;gap:8px}.common-template-load select,.common-template-save input{flex:1;min-width:0;padding:8px 10px;font-size:12px}.common-template-load button,.common-template-save button{flex:none;white-space:nowrap;font-size:12px;padding:8px 12px;border-radius:6px}.common-template-save button{background:#edf2ff;color:#2455f5;border-color:#d7e1ff}.common-template-description{font-size:11px;color:#69778d;line-height:1.7;margin:9px 0 12px}.common-template-feedback{font-size:11px;color:#536b99;line-height:1.6}.common-template-feedback p{margin:8px 0 0;min-height:1em}.common-template-feedback button{font-size:11px;padding:5px 8px;margin-top:7px}.common-weight{font-size:12px;margin-top:16px}.common-weight select{margin-top:7px;width:100%;padding:8px 10px}.common-swatches{flex-wrap:wrap}
@media(max-width:420px){.common-template-panel{padding:12px}.common-template-save{flex-wrap:wrap}.common-template-save input{flex-basis:100%}.common-template-save button{margin-left:auto}}

:is(.editor,#floatingTextToolbar) .emphasis-toolbar{display:inline-flex;width:auto;max-width:100%;align-items:center;gap:2px;padding:3px;border:1px solid #e3e8f0;border-radius:6px;background:#fff}:is(.editor,#floatingTextToolbar) .emphasis-toolbar button{display:grid;place-items:center;flex:0 0 32px;width:32px;height:30px;padding:0;border:1px solid transparent;border-radius:6px;color:#637189}:is(.editor,#floatingTextToolbar) .emphasis-toolbar button:hover{background:#f2f5fb;color:#315de3;border-color:transparent}:is(.editor,#floatingTextToolbar) .emphasis-toolbar button[aria-pressed="true"]{background:#eaf0ff;color:#2455f5;border-color:#dce5ff}:is(.editor,#floatingTextToolbar) .emphasis-toolbar button[data-emphasis=color]{margin-left:5px}.common-color-inputs button[data-eyedropper]{display:grid;place-items:center;flex:none;width:36px;height:36px;padding:0;border-radius:6px;color:#637189}.common-color-inputs button[data-eyedropper]:hover{background:#edf2ff;color:#2455f5}.lucide{display:block;flex:none}

/* Focus changes the existing control border; no outer ring or geometry change. */
body :is(button,a,input,textarea,select,summary,[tabindex],[contenteditable]):focus,body :is(button,a,input,textarea,select,summary,[tabindex],[contenteditable]):focus-visible{outline:none!important;outline-offset:0!important;box-shadow:none!important;border-color:#315de3!important}.photo-drop-target:focus-within{outline:none!important;box-shadow:none!important;border-color:#315de3!important}#page [data-inline-edit]{border:1px solid transparent;box-sizing:border-box}#page [data-inline-edit]:focus{border-color:#315de3!important;outline:none!important;box-shadow:none!important}.editor .emphasis-toolbar button:focus-visible,.floating-text-toolbar button:focus-visible,.common-color-inputs button:focus-visible{background:#edf2ff;color:#2455f5}.library .outline-row:focus-within{background:#f1f5fd}.section-wrap figure:focus-visible{outline:none!important;box-shadow:none!important;background:#edf2ff}.photo-drop-target:focus-within img{opacity:.94}

.picker-controls{position:sticky;top:0;z-index:3;background:#fff;padding-top:8px}.picker-controls .picker-search{position:static;padding-top:14px}.picker-group-tabs{display:flex;gap:8px;align-items:center;overflow-x:auto;padding:3px 0 1px;scrollbar-width:none;border:0}.picker-group-tabs button{flex:none;padding:8px 15px;border:1px solid transparent;border-radius:6px;color:#748196;background:transparent;font-size:13px;font-weight:500;white-space:nowrap}.picker-group-tabs button[aria-selected=true]{color:#2455f5;background:#edf2ff;border-color:#dce5ff}.section-picker-modal .section-picker-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:24px 18px}.section-picker-modal .choice-preview{height:240px}.section-picker-modal .picker-search{border-bottom:0}
@media(max-width:1199px){.section-picker-modal .section-picker-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:899px){.section-picker-modal .section-picker-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.section-picker-modal .choice-preview{height:220px}}
@media(max-width:599px){.section-picker-modal .section-picker-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 14px}.picker-group-tabs button{padding:8px 12px}.section-picker-modal .choice-preview{height:200px}}
:is(.editor,#floatingTextToolbar) .emphasis-toolbar .alignment-trigger{display:flex;justify-content:center;flex:0 0 auto;width:52px;margin-left:6px;border-left:1px solid #e3e8f0;border-radius:0 3px 3px 0;font-size:12px;font-weight:500}.alignment-popover{position:fixed;inset:auto;margin:0;padding:12px;width:238px;max-width:calc(100vw - 16px);border:1px solid #e0e6ef;border-radius:6px;background:#fff;color:#283449;box-shadow:0 10px 35px #2030491a;z-index:80}.alignment-options{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}:is(.editor,#floatingTextToolbar) .emphasis-toolbar .alignment-options button{display:flex;flex-direction:column;gap:7px;justify-content:center;align-items:center;width:100%;height:38px;padding:6px 2px;font-size:11px;border:1px solid transparent;border-radius:6px}.alignment-popover::backdrop{background:transparent}

#floatingTextToolbar{display:block;width:auto;min-width:0;padding:0;border:0;border-radius:6px;background:#fff;box-shadow:0 8px 28px #20304920}#floatingTextToolbar .emphasis-toolbar{margin:0}#floatingTextToolbar .emphasis-toolbar>button{height:30px;padding:0;text-align:center}#floatingTextToolbar .emphasis-toolbar>button:hover{background:#f2f5fb}#floatingTextToolbar .alignment-trigger{font-size:12px}
.common-template-panel{padding:6px 0 12px;background:transparent;border:0;border-radius:0;margin:6px 0 10px}.common-template-panel>h3{font-size:14px;margin:0 0 14px}.common-template-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}.common-template-grid button{display:flex;justify-content:center;align-items:center;gap:7px;min-width:0;min-height:46px;padding:10px 8px;border:1px solid #e0e6ef;border-radius:6px;background:#fff;color:#59677b;font-size:13px;line-height:1.5;overflow-wrap:anywhere}.common-template-grid button:hover{background:#f6f8fc}.common-template-grid button[aria-pressed=true]{border-color:#b8cbff;background:#edf2ff;color:#2455f5}.template-color-dot{display:block;width:7px;height:7px;flex:none;border-radius:6px;background:var(--template-accent)}#commonForm .common-actions #saveCommonTemplate{margin-right:auto;font-size:12px;padding:10px 12px;min-width:0;color:#355b9a;background:#f3f6ff;border-color:#dce5fb}#commonForm .common-actions #commonError:empty{display:none}.template-name-popover{position:fixed;inset:0;margin:auto;width:320px;max-width:calc(100vw - 32px);padding:20px;border:1px solid #dfe6ef;border-radius:6px;background:#fff;box-shadow:0 14px 60px #162b4933}.template-name-popover::backdrop{background:#14243d24}.template-name-popover label{font-size:14px;margin:0 0 10px;display:block}.template-name-popover input{width:100%;font-size:14px;padding:10px 12px}.template-name-popover>div{display:flex;justify-content:flex-end;gap:8px;margin-top:14px}.template-name-popover button{padding:8px 14px;font-size:12px}.template-name-error{font-size:12px;color:#b44545;margin:8px 0 0}.template-name-error:empty{display:none}@media(max-width:600px){.common-template-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:360px){.common-template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

.common-template-feedback p:empty{display:none}

.modal-head{border-bottom:0!important;box-shadow:none!important}.template-name-popover h3{font-size:16px;margin:0 0 18px}.template-name-popover [data-template-delete]{margin-right:auto;color:#bd4c43}.template-name-popover [hidden]{display:none!important}

#projectTrash{display:none;width:36px;height:36px;padding:0;border:1px solid transparent;border-radius:6px;background:transparent;color:#77869a;align-items:center;justify-content:center}body[data-screen=projects] #projectTrash{display:flex}#projectTrash:hover{background:#f3f6fb;border-color:#dfe6ef}.trash-project{display:flex;gap:20px;align-items:center;justify-content:space-between;padding:17px 0;border-bottom:1px solid #eef1f6}.trash-project>div{min-width:0}.trash-project b{font-size:14px;overflow-wrap:anywhere}.trash-project p{font-size:12px;color:#8190a3;margin:7px 0 0}.trash-project button{flex:none;font-size:12px;padding:8px 14px;color:#2455f5;border-color:#d7e3ff;background:#f2f6ff}
.editor .emphasis-toolbar{box-sizing:border-box;flex-wrap:wrap;vertical-align:top;max-width:100%}.item-fields>label,.comparison-inputs>div,.photo-copy-item label{min-width:0}.compare-fields .emphasis-toolbar,.comparison-inputs .emphasis-toolbar{display:flex;width:100%}.editor .emphasis-toolbar .alignment-trigger{max-width:100%}

.section-picker-modal #sectionStyleChoose{font-size:13px;padding:7px 12px;border:1px solid #dbe5ff;background:#f0f4ff;color:#315bd2;border-radius:6px}.section-picker-modal #pickerCount{font-size:12px;color:#8793a5;white-space:nowrap}.section-style-dialog{width:min(760px,calc(100vw - 32px));padding:24px;border-radius:6px;max-height:90dvh;overflow:auto}.section-style-dialog .modal-head h2{font-size:18px}.section-style-dialog .modal-head button{font-size:12px}.section-style-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:20px}.section-style-options>button{min-width:0;padding:10px;border:1px solid #e1e6ee;border-radius:6px;text-align:left;background:white}.section-style-options>button[aria-pressed=true]{border-color:#9cb9ff;background:#f2f6ff}.section-style-options b{display:block;font-size:14px;margin-top:12px}.section-style-options span{display:block;font-size:12px;line-height:1.6;color:#7d899a;margin-top:5px}.section-style-sample{height:145px;overflow:hidden;border-radius:6px;background:#f5f6f8}.section-style-sample>div{width:375px;transform:scale(.5);transform-origin:top left}@media(max-width:600px){.section-style-options{grid-template-columns:1fr}.section-style-sample{height:140px}.section-picker-modal #pickerCount{font-size:11px}}
.choice-document,.section-style-sample>div{container-type:inline-size}.section-style-sample>div{width:200%;transform:scale(.5)}.section-style-sample .editorial-section.block-hero{padding-top:30px}.section-style-sample .block-hero h2{font-size:30px;line-height:1.3}.section-style-sample .block-hero .section-label{font-size:12px;margin-bottom:10px}.section-style-sample .block-hero .section-description{font-size:14px;margin-top:12px}.section-style-sample .section-intro{margin-bottom:20px}
/* Shared radius for all dialogs, popovers and contextual menus. */
dialog,[popover],[role=dialog],#sectionContextMenu,#projectContextMenu,#floatingTextToolbar{border-radius:6px!important}

/* Studio controls use 3px; surfaces and dialogs use 6px. Product CSS is independent. */
body button:not(.editorial-section *){border-radius:3px!important}

.form-options:empty{display:none}.editor-photo-view>.photo-input+label[for="field-caption"]{display:block;margin-bottom:24px}\n:is(.editor,#floatingTextToolbar) .emphasis-toolbar .alignment-trigger{width:32px;flex:0 0 32px;margin-left:0;border-left:0;border-radius:3px!important}:is(.editor,#floatingTextToolbar) .emphasis-toolbar .text-color-trigger{margin-left:5px;color:var(--text-color,#17232d)}.text-color-popover{position:fixed;inset:auto;margin:0;padding:12px;width:230px;border:1px solid #e0e6ef;background:white;box-shadow:0 8px 28px #20304920}.text-color-swatches{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:5px;margin-bottom:12px}:is(.editor,#floatingTextToolbar) .emphasis-toolbar .text-color-swatches button{width:21px;height:21px;min-width:0;flex:none;border:1px solid #dce2ed;padding:0}.text-color-inputs{display:flex;gap:7px;align-items:center}.text-color-inputs input[type=color]{width:34px;height:32px;padding:3px;flex:none}.text-color-inputs input[data-font-hex]{min-width:0;width:100%;font:12px monospace;padding:7px}.text-color-popover .text-color-inputs button{width:30px!important;flex:none}.text-color-error{font-size:11px;color:#b44545;margin:7px 0}.text-color-error:empty{display:none}:is(.editor,#floatingTextToolbar) .emphasis-toolbar .text-color-popover>[data-font-apply]{width:100%;height:30px;margin-top:10px;font-size:12px}.text-color-popover .primary{background:#edf2ff;color:#2455f5;border-color:#d7e2ff}
#floatingTextToolbar{margin:0;overflow:visible;padding:5px;background:#fff;border:1px solid #e0e6ef;border-radius:6px!important}#floatingTextToolbar .emphasis-toolbar{border:0;padding:0;max-width:none;display:flex;flex-wrap:nowrap}#floatingTextToolbar .floating-alignment-panel{display:block;padding-top:5px;margin-top:5px;border-top:1px solid #edf0f6;background:white}#floatingTextToolbar .floating-alignment-panel .alignment-options{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px}#floatingTextToolbar .floating-alignment-panel button{display:grid;place-items:center;min-width:0;width:auto;height:30px;padding:0;border:1px solid transparent;background:white;color:#637189}#floatingTextToolbar .floating-alignment-panel button[aria-pressed=true]{background:#eaf0ff;color:#2455f5;border-color:#dce5ff}

/* Editable outlines are painted inside the field without changing export geometry. */
#page [data-inline-edit]{position:relative;border:0!important}#page [data-inline-edit]:focus::after{content:"";position:absolute;inset:0;border:1px solid #315de3;border-radius:3px;pointer-events:none}

body[data-screen=editor] .canvas> :is(#page,#addBottom){width:430px;max-width:100%} .template-name-popover #templateEditTitle{margin-right:28px}.template-name-popover [data-name-close]{position:absolute;right:12px;top:12px;width:28px;height:28px;padding:4px;border:0;background:transparent;color:#8995a7;display:grid;place-items:center}.modal-head #close,.modal-head [data-style-close]{display:grid;place-items:center;width:30px;height:30px;padding:5px}
#floatingTextToolbar{inset:auto;width:max-content;max-width:calc(100vw - 16px);box-sizing:border-box}
.common-template-grid .template-loading{grid-column:1/-1;margin:0;padding:15px 0;font-size:12px;color:#8592a6}
.section-background-picker{position:fixed;inset:auto;margin:0;padding:12px;width:236px;border:1px solid #dfe6ef;background:#fff;box-shadow:0 8px 28px #20304920}.background-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.background-heading b{font-size:13px}.background-heading button{display:grid;place-items:center;padding:3px;width:24px;height:24px;border:0;background:none;color:#8a96a7}.background-swatches{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:5px;margin-bottom:12px}.background-swatches button{height:21px;padding:0;border:1px solid #dce3eb}.background-inputs{display:flex;align-items:center;gap:7px}.background-inputs input[type=color]{width:34px;height:32px;padding:3px;flex:none}.background-inputs input[data-bg-hex]{width:100%;min-width:0;font:12px monospace;padding:7px}.background-inputs button{display:grid;place-items:center;width:30px;height:30px;flex:none;padding:0}.background-actions{display:flex;justify-content:space-between;gap:8px;margin-top:12px}.background-actions button{font-size:12px;padding:7px 14px}.section-background-picker [role=alert]{font-size:11px;color:#b44545;margin:7px 0}.section-background-picker [role=alert]:empty{display:none}
.text-color-sample{display:block;width:15px;height:15px;background:var(--text-color,#17232d);border:1px solid #c9d2df;border-radius:3px}
#commonForm .common-actions #chooseCommonTemplate{max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;padding:10px 12px;color:#315bd2;background:#f2f6ff;border-color:#dbe5ff}.common-template-dialog,.template-trash-dialog{width:min(640px,calc(100vw - 32px));padding:24px;max-height:85dvh;overflow:auto}.common-template-dialog .common-template-grid{margin-top:20px}.template-library-actions{display:flex;gap:8px}.template-library-actions button,.template-trash-dialog [data-trash-close]{display:grid;place-items:center;width:30px;height:30px;padding:5px;border:0;background:none;color:#8592a5}.common-template-dialog .modal-head h2,.template-trash-dialog .modal-head h2{font-size:18px}.template-trash-list{margin-top:10px}
.design-output-tabs{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}.design-output-tabs button{padding:10px 4px;min-width:0}.design-export-note{line-height:1.7}.design-result{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0;border-bottom:1px solid var(--line,#e3e8ef)}.design-result b{font-size:14px}.design-result .hint{margin:6px 0 0}.design-result button{flex-shrink:0}@media(max-width:520px){.design-result{align-items:flex-start;flex-direction:column;gap:8px}}
.template-name-popover{inset:auto;margin:0;width:270px;max-width:calc(100vw - 24px);padding:12px;box-shadow:0 10px 32px #162b4924}.template-name-popover::backdrop{background:transparent;backdrop-filter:none}.template-name-popover>div{margin-top:10px;justify-content:space-between}.template-name-popover input{font-size:13px;padding:9px 10px}.template-name-popover button{padding:7px 12px;min-width:0}.template-name-popover [data-template-delete][hidden]{display:none}.template-name-popover [data-name-confirm]{margin-left:auto}#commonForm .common-actions #saveCommonTemplate{width:auto;flex:0 0 auto;padding:9px 12px;white-space:nowrap}.common-template-dialog{box-sizing:border-box;max-width:calc(100vw - 32px)}
.template-trash-dialog{box-sizing:border-box;max-width:calc(100vw - 32px)}

.design-mode-options{grid-template-columns:repeat(2,minmax(0,1fr));margin:10px 0}
/* A stable export shell; format settings and generated results scroll inside it. */
#modal.export-modal{box-sizing:border-box;width:min(620px,calc(100vw - 32px));height:min(740px,calc(100dvh - 32px));max-width:none;max-height:none;padding:0;overflow:hidden}
#modal.export-modal[open]{display:flex;flex-direction:column}



.spacer-background-button{display:flex;align-items:center;gap:10px;padding:10px 12px;width:100%;text-align:left}.spacer-background-button>span{width:22px;height:22px;border:1px solid #dbe1eb;border-radius:3px}.spacer-background-button>b{font-size:13px;font-weight:400}.spacer-line-option{display:flex!important;align-items:center;gap:8px;margin-top:24px!important}.spacer-line-option input{width:16px;height:16px;margin:0}.section-picker-grid{align-items:start}.section-picker-grid>.section-choice{display:flex;flex-direction:column;align-items:stretch}.section-picker-grid>.section-choice>span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;line-height:1.6;height:1.6em}
.spacer-media-controls{display:flex;gap:8px;align-items:center}.spacer-media-upload{margin:0!important;position:relative;flex:1;display:block!important;text-align:center;padding:10px 12px;border:1px solid #dfe5ef;border-radius:3px;background:#fff;cursor:pointer}.spacer-media-upload input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.spacer-media-modes{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}.spacer-media-modes [aria-pressed=true]{background:#edf2ff;color:#2858df;border-color:#b8caff}
#sectionContextMenu[data-canvas-menu] button:not(.danger){color:#526174}#sectionContextMenu[data-canvas-menu] button:not(.danger):hover{background:#f4f6fa}.spacer-media-upload:focus-within{border-color:#315de3}

.photo-input .photo-tools{display:grid;grid-template-columns:minmax(0,1fr) 36px 36px;gap:6px;padding-top:8px}
.photo-input .photo-tools button{min-width:0;height:36px;border:1px solid #dbe2eb;border-radius:3px;background:#fff;color:#536379;padding:0 8px}
.photo-input .photo-tools .photo-select{font-size:13px;font-weight:500;color:var(--ink)}
.photo-input .photo-tools .photo-tool-icon{display:grid;place-items:center;padding:0}
.photo-input .photo-tools button:hover:not(:disabled){background:#f2f6ff;border-color:#b5c8ee}
.photo-input .photo-tools button:focus-visible{outline:none;border-color:#315de3}
.photo-input .photo-tools button:disabled{opacity:.4}

.library-upload{position:relative;display:grid;gap:6px;padding:20px;text-align:center;cursor:pointer;border:1px dashed #bac7da;border-radius:6px;background:#f7f9fc}
.library-upload span{color:#65758c;font-size:12px}
.library-upload input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.library-upload:is(:focus-within,.drag-over),.spacer-media-upload.drag-over{border-color:#315de3;background:#edf2ff}
#libraryUploadStatus:empty{display:none}

/* An inset outline avoids an extra line box at the end of editable values. */
#page .block-list dd[data-inline-edit]:focus::after{content:none}
#page .block-list dd[data-inline-edit]:focus{border-radius:3px;box-shadow:inset 0 0 0 1px #315de3!important}
/* Keep the eight inspector controls together even in narrow item fields. */
body[data-screen=editor] #inspectorPanel .emphasis-toolbar {
  display: inline-flex;
  width: min(100%, 280px);
  max-width: 100%;
  flex-wrap: nowrap;
  gap: 1px;
}
body[data-screen=editor] #inspectorPanel .emphasis-toolbar > button,
body[data-screen=editor] #inspectorPanel .emphasis-toolbar > .alignment-trigger {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  margin-inline: 0;
  padding-inline: 0;
}
body[data-screen=editor] #inspectorPanel .emphasis-toolbar > button svg {
  max-width: 85%;
}
.emphasis-toolbar .copy-size-trigger {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.emphasis-toolbar .copy-size-popover {
  width: min(164px, calc(100vw - 16px));
  padding: 9px;
}
.copy-size-popover .copy-size-presets {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 2px;
  margin-bottom: 8px;
}
:is(.editor,#floatingTextToolbar) .emphasis-toolbar .copy-size-presets button {
  width: 100%;
  height: 26px;
  font-size: 12px;
}
.copy-size-popover input {
  width: 100%;
  height: 32px;
}
.copy-size-popover input[aria-invalid="true"]{border-color:#c33f42!important;outline:none;box-shadow:none}
.copy-size-popover .copy-size-entry{grid-column:1/-1;display:grid;grid-template-columns:subgrid;align-items:center;margin-top:6px}
.copy-size-entry .copy-size-stepper{grid-column:span 2}
:is(.editor,#floatingTextToolbar) .emphasis-toolbar .copy-size-entry > button{padding-inline:0;white-space:nowrap}

#floatingTextToolbar .emphasis-toolbar {
  display: flex;
  width: min(256px, calc(100vw - 28px));
  gap: 1px;
}
#floatingTextToolbar .emphasis-toolbar > button {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  margin-inline: 0;
  padding-inline: 0;
}

.spacer-height-controls{display:grid;grid-template-columns:minmax(0,1fr) 64px auto;gap:8px;align-items:center}
.editor .spacer-height-controls input[type=range]{padding:0;accent-color:#2858df}
.spacer-rule-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr)) auto;gap:8px;align-items:end}
.copy-size-stepper{position:relative;min-width:0}
.copy-size-stepper input{appearance:textfield;padding-right:27px!important}
.copy-size-stepper input::-webkit-inner-spin-button{appearance:none}
.copy-size-step-buttons{position:absolute;inset:2px 2px 2px auto;display:grid;grid-template-rows:repeat(2,minmax(0,1fr))}
:is(.editor,#floatingTextToolbar) .emphasis-toolbar .copy-size-step-buttons button{min-width:23px;height:100%;min-height:0;padding:0;display:grid;place-items:center}

.product-editor-nav{display:none}
body[data-screen=editor] header{position:relative}
body[data-screen=editor] .product-editor-nav{
 display:grid;grid-template-columns:repeat(3,minmax(0,1fr));position:absolute;left:50%;top:50%;
 transform:translate(-50%,-50%);isolation:isolate;padding:3px;
 border:1px solid #e1e7f0;border-radius:8px;background:#fff;
}
.product-editor-nav::before {
 content:"";position:absolute;inset:3px auto 3px 3px;width:calc((100% - 6px) / 3);
 border:1px solid #d8e3ff;box-sizing:border-box;border-radius:5px;background:#e8efff;
 transform:translateX(100%);transition:transform 150ms cubic-bezier(.2,.75,.25,1);z-index:-1;
}
.product-editor-nav:has([data-product-view=info][aria-pressed=true])::before { transform:translateX(0); }
.product-editor-nav:has([data-product-view=plan][aria-pressed=true])::before { transform:translateX(200%); }
.product-editor-nav button{padding:6px 10px;border-color:transparent;background:transparent;white-space:nowrap;color:#65748a}
.product-editor-nav button:hover{background:transparent;color:#315caa}
.product-editor-nav button[aria-pressed=true]{background:transparent;border-color:transparent;color:#2858df}
.product-editor-nav button:focus:not(:focus-visible){border-color:transparent!important}
@media (prefers-reduced-motion:reduce) { .product-editor-nav::before { transition:none; } }
.studio-heading { display:contents; }
#planningTotals { display:none; white-space:nowrap; }
body[data-screen=editor][data-product-view=plan] .studio-heading {
 display:flex; align-items:center; gap:18px; min-width:0;
}
body[data-screen=editor][data-product-view=plan] #planningTotals:not(:empty) { display:block; }
@media (hover:none) and (max-width:600px) {
 body[data-screen=editor][data-product-view=plan] .studio-heading { grid-column:1; grid-row:1/3; gap:10px; }
 body[data-screen=editor][data-product-view=plan] .studio-heading .brand { flex-shrink:1; }
 #planningTotals { font-size:9px; }
}
body[data-screen=editor]:is([data-product-view=info],[data-product-view=plan]) :is(.workspace,.bottom){display:none!important}
body[data-screen=editor]:is([data-product-view=info],[data-product-view=plan]) header #export{display:none!important}
.product-name-form { display:grid; gap:12px; max-width:480px; margin-inline:auto; padding:32px 20px; }
.product-name-form button { justify-self:end; }
:is(#productInfoScreen,#productPlanScreen){min-height:calc(100dvh - 64px);background:#fff}
@media(hover:none) and (max-width:600px){
 body[data-screen=editor] header{height:104px!important;grid-template-rows:32px 14px 34px}
 body[data-screen=editor]:is([data-product-view=info],[data-product-view=plan]) header .header-actions{grid-template-columns:30px 64px}
 body[data-screen=editor]:is([data-product-view=info],[data-product-view=plan]) header .header-actions>#saveVersion{grid-column:2}
 body[data-screen=editor] .product-editor-nav{top:auto;bottom:6px;transform:translateX(-50%)}
 body[data-screen=editor] .workspace{height:calc(100dvh - 104px - 62px)}
 :is(#productInfoScreen,#productPlanScreen){min-height:calc(100dvh - 104px)}
}

.section-style-options:has([data-section-style=bodyluv]){grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr))}

.entry-list{display:grid;gap:10px}
.entry-card{border:1px solid #dfe5ef;border-radius:6px;padding:10px;min-width:0}
.entry-heading,.entry-heading>div,.entry-add{display:flex;align-items:center;gap:5px}
.entry-heading{justify-content:space-between}
.entry-heading button{display:inline-grid;place-items:center;padding:5px}
.entry-add{margin-top:12px;flex-wrap:wrap}
.editor .entry-upload{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;position:relative;min-height:46px;border:1px dashed #d5deef;border-radius:3px;padding:8px;margin:9px 0 0;cursor:pointer}
.entry-upload input{position:absolute;inset:0;opacity:0;cursor:pointer}
.entry-upload:focus-within,.entry-upload.drag-over{border-color:#315de3}
.entry-upload img{display:block;width:100%;height:76px;object-fit:contain}
.entry-clear{margin-top:7px}
.editor .entry-card input[aria-invalid=true]{border-color:#c33f42}
.pair-heading-inputs,.pair-upload-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.pair-heading-inputs{margin-bottom:15px}
.entry-upload .native-media-crop{height:auto;max-width:84px}
.entry-upload .native-media-crop>img{height:auto}
.layout-repeat-group{display:grid;gap:8px}
.layout-repeat-row{background:#f8fafd}
#page :is([data-layout-photo],[data-entry-photo]){cursor:pointer}
#page .salinity-data [data-layout-copy]{pointer-events:none}


#page [data-layout-block]{display:block;min-width:0}
#page span[data-layout-copy][data-inline-edit]:not([data-layout-block]):not([style*="display:block"]){
 -webkit-box-decoration-break:clone;box-decoration-break:clone;
}
#page span[data-layout-copy][data-inline-edit]:not([data-layout-block]):not([style*="display:block"]):focus{
 box-shadow:inset 0 0 0 1px #315de3!important;border-radius:3px;
}
#page span[data-layout-copy][data-inline-edit]:not([data-layout-block]):not([style*="display:block"]):focus::after{content:none}
.shared-appearance{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:18px}
.shared-appearance label{display:flex;align-items:center;gap:6px;margin:0}
.shared-appearance input[type=color]{width:32px;height:32px;padding:3px}

.workspace-splitter { display:none; }
@media (hover:hover) and (pointer:fine) {
 .workspace-splitter {
  position:absolute; display:block; inset-block:0; width:12px;
  z-index:5; cursor:col-resize; touch-action:none;
 }
 .workspace-splitter[data-side=outline] { left:calc(var(--outline-width,290px) - 6px); }
 .workspace-splitter[data-side=inspector] { right:calc(var(--inspector-width,350px) - 6px); }
 .workspace-splitter:is(:hover,:focus-visible,[data-dragging])::after {
  content:""; position:absolute; inset:0 5px; background:#6f94f5;
 }
 .panel-resizing, .panel-resizing * { cursor:col-resize!important; user-select:none!important; }
}

.section-picker-empty { grid-column:1/-1; text-align:center; padding:24px 0; color:var(--quiet); }

#page [data-layout-copy][aria-multiline=false] { white-space:normal; }

.product-cutout-preview { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(180px,100%),1fr)); gap:12px; margin-bottom:16px; }
.product-cutout-preview figure { margin:0; text-align:center; }
.product-cutout-preview img { width:100%; height:min(32vh,240px); object-fit:contain; border:1px solid #dce3ef; border-radius:6px; background:repeating-conic-gradient(#edf1f7 0% 25%,#fff 0% 50%) 0 0/16px 16px; }
.product-cutout-preview figcaption { margin-top:5px; color:var(--quiet); }

.puresome-image-controls { position:absolute; inset:0; z-index:4; outline:1px solid #315de3; pointer-events:none; }
.puresome-image-controls > button {
 position:absolute; pointer-events:auto; touch-action:none; width:10px; height:10px; min-width:0;
 padding:0; border:1px solid #315de3; border-radius:2px; background:#fff; transform:translate(-50%,-50%);
}
.puresome-image-controls [data-corner=nw] { left:0; top:0; cursor:nwse-resize; }
.puresome-image-controls [data-corner=ne] { left:100%; top:0; cursor:nesw-resize; }
.puresome-image-controls [data-corner=sw] { left:0; top:100%; cursor:nesw-resize; }
.puresome-image-controls [data-corner=se] { left:100%; top:100%; cursor:nwse-resize; }
.puresome-image-size-label {
 position:absolute; top:calc(100% + 8px); left:50%; transform:translateX(-50%);
 padding:3px 7px; border-radius:4px; background:#263e78; color:#fff;
 font-size:11px; line-height:1.4; white-space:nowrap;
}


.shared-appearance [data-shared-fg] { display:inline-flex; align-items:center; gap:7px; }
.shared-ink-swatch { width:16px; height:16px; border:1px solid #d6deea; border-radius:3px; }

/* Compact secondary actions in the section inspector. */
.editor .shared-appearance > button,
.editor [data-layout-photo-input] > :is(.entry-clear,[data-puresome-size-reset],[data-restore-cutout]) {
 font-size:12px; line-height:1.25; min-height:30px; padding:5px 9px;
}
.editor .shared-appearance { gap:6px; margin-bottom:14px; flex-wrap:nowrap; }
.editor .shared-appearance > button { flex:0 0 auto; white-space:nowrap; }
.editor .shared-ink-swatch { width:13px; height:13px; }


/* A focus ring should add no generated content inside a text editor. */
#page :is(.puresome-keyword,.puresome-checkpoint-head,.puresome-detail-heading,.puresome-pressure-copy) [data-layout-copy][data-inline-edit]:focus {
 box-shadow:inset 0 0 0 1px #315de3!important;
 border-radius:3px;
}
#page :is(.puresome-keyword,.puresome-checkpoint-head,.puresome-detail-heading,.puresome-pressure-copy) [data-layout-copy][data-inline-edit]:focus::after { content:none; }

.editor .layout-card-columns { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.editor .layout-card-columns select { width:auto; min-width:72px; padding:5px 8px; }

#page .puresome-keyword [data-inline-edit]:empty::before { content:none; }

.puresome-keyword-icon .puresome-image-size-label { top:auto; bottom:7px; }

:is(.editor,#floatingTextToolbar) .copy-size-stepper input { font-size:12px; padding-left:9px; font-variant-numeric:tabular-nums; }

.outline-row .outline-copy:has(.outline-ellipsis){min-width:0}
.outline-row .choose .outline-ellipsis{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

#edit [data-canvas-inspector-target] {
 outline:2px solid #315de3;
 outline-offset:3px;
 border-radius:3px;
 scroll-margin-block:8px;
}

.editor .image-shadow-option { display:inline-flex; position:relative; align-items:center; margin:0 0 0 4px; }
.editor .image-shadow-option input {
 appearance:none; position:relative; flex:none; width:34px; height:20px; margin:0;
 border:0; border-radius:999px; background:#78869c; cursor:pointer;
}
.editor .image-shadow-option input:checked { background:#315de3; }
.editor .image-shadow-option input::after {
 content:""; position:absolute; top:50%; left:3px; width:14px; height:14px; transform:translateY(-50%);
 border-radius:50%; background:white;
}
.editor .image-shadow-option input:checked::after { left:17px; }
.editor .image-shadow-option input:focus-visible { outline:2px solid #315de3; outline-offset:2px; }

.editor .image-shadow-tip {
 display:none; position:absolute; left:0; bottom:calc(100% + 7px);
 padding:5px 8px; border-radius:5px; color:#fff; background:#243651;
 white-space:nowrap; font-size:11px; line-height:1.3; z-index:2; pointer-events:none;
}
.editor .image-shadow-tip::after {
 content:""; position:absolute; top:100%; left:12px;
 border:4px solid transparent; border-top-color:#243651;
}
.editor .image-shadow-option:is(:hover,:focus-within) .image-shadow-tip { display:block; }

.editor .layout-image-field { min-width:0; margin:19px 0 8px; }
.editor .layout-image-label { display:block; font-size:12px; font-weight:400; }
.editor .layout-image-field .entry-upload { margin:0; border-style:solid; border-radius:6px; }

.editor .layout-image-actions:not(:empty) { display:flex; align-items:center; gap:4px; flex-wrap:wrap; }
.editor .layout-image-actions:has(> *) { margin-top:6px; }
.editor .layout-image-actions > .entry-clear { margin-top:0; }


#page [data-layout-id="puresome-point-intro"][style*="--point-intro-bottom-space:0px"] .puresome-image-size-label {
 top:auto; bottom:8px;
}

.editor .layout-image-settings {
 position:fixed; inset:auto; margin:0; width:166px; padding:7px 10px;
 border:1px solid #dfe5ef; border-radius:8px; background:#fff; color:#1d2430;
 box-shadow:0 6px 20px #24365124;
}
.editor .layout-image-settings .image-shadow-option {
 display:flex; justify-content:space-between; gap:8px; margin:0; padding:6px 0;
}

.editor .layout-image-actions > button,.editor button[data-image-settings] {
 font-size:11px; line-height:1.3; min-height:28px; padding:4px 8px; white-space:nowrap;
}

.editor [data-format-field]:has(+ .emphasis-toolbar) {
 display:block; margin-block:4px 0;
}
.editor [data-format-field] + .emphasis-toolbar { margin-top:4px; }

#page .puresome-detail-table :is(th,td) { position:relative; }
#page .detail-table-resize {
 position:absolute; z-index:2; border:0; padding:0; background:transparent; border-radius:0; touch-action:none;
}
#page .detail-table-resize[data-axis="column"] { inset:-1px -4px 4px auto; width:8px; cursor:col-resize; }
#page .detail-table-resize[data-axis="row"] { inset:auto 4px -4px -1px; height:8px; cursor:row-resize; }
#page .detail-table-resize:is(:hover,:focus-visible,:active) { background:#315de380; }
.full-preview #page .detail-table-resize { display:none; }
#page .detail-table-cell-selected { box-shadow:inset 0 0 0 2px #315de3,inset 0 0 0 200vmax #315de31f; }
.full-preview #page .detail-table-cell-selected { box-shadow:none; }

.editor .qa-card-controls { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:end; gap:8px; margin-bottom:10px; }
.editor .qa-card-controls label { margin:0; }

.editor .qa-card-controls :is(input,button) { box-sizing:border-box; width:100%; height:40px; padding:0 8px; }
#page [data-qa-badge-canvas][data-inline-edit] { position:absolute; }
#page .puresome-qa-badge[data-qa-badge-canvas]:empty { display:grid!important; }
#page .puresome-qa-badge[data-qa-badge-canvas]:focus::after { content:none; }
#page .puresome-qa-badge[data-qa-badge-canvas]:focus { outline:2px solid #6292ff; outline-offset:2px; }


.planning-workspace { display:flex; flex-direction:column; height:calc(100dvh - 64px); min-height:240px; }
.planning-board {
 flex:1; min-height:0; display:grid; grid-auto-flow:column; grid-auto-columns:var(--planning-column-width);
 --planning-gap:8px; --planning-divider-thickness:2px; --planning-heading-space:20px;
 gap:var(--planning-gap); overflow:auto; align-items:stretch; padding:0 26px 28px; background:#f7f8fb;
}
.planning-column {
 position:relative; display:grid; align-content:start; min-width:0; gap:var(--planning-gap);
 padding-block:var(--planning-heading-space) 8px;
}
.planning-column h2 {
 position:sticky; top:0; z-index:2; margin:0; padding:6px 4px 8px;
 background:#f7f8fb; color:#26354b; font-size:14px; font-weight:700;
}
.planning-board[data-headings-stuck] .planning-column h2 { box-shadow:0 7px 12px -9px #26354b45; }
.planning-content {
 display:grid; text-align:left; gap:5px; min-height:96px; padding:10px; width:100%; background:#fff;
 border:1px solid #e0e6f0; border-radius:8px; color:#1d2430; overflow-wrap:anywhere;
}
.planning-content:hover { border-color:#aebfe4; background:#fff; }
.planning-content strong { font-size:14px; }
.planning-copy { white-space:pre-wrap; font-size:13px; line-height:1.5; }
.planning-placeholder { color:#65748a; }
.planning-gallery:not(:empty) { position:relative; display:flex; flex-wrap:wrap; gap:8px; }
.planning-gallery .planning-thumbnail { flex:none; width:72px; height:72px; padding:0; border:0; border-radius:6px; cursor:zoom-in; }
.planning-content .planning-gallery { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); }
.planning-content .planning-thumbnail { width:100%; height:auto; aspect-ratio:1; min-width:0; }
.planning-thumbnail img { display:block; width:100%; height:100%; object-fit:cover; border-radius:inherit; }
.planning-thumbnail { transition:transform 140ms ease-out; }
.planning-thumbnail.planning-image-dragging { opacity:.3; }
.planning-image-drop-line { position:absolute; z-index:1; background:#6285d9; pointer-events:none; }
@media (prefers-reduced-motion:reduce) { .planning-thumbnail { transition:none; } }

.planning-image-preview { max-width:calc(100vw - 24px); max-height:calc(100dvh - 24px); }

.planning-image-preview .modal-head h2 { outline:none; }

.planning-image-preview img { display:block; align-self:center; max-width:calc(100% - 2 * var(--dialog-gutter)); max-height:calc(100dvh - 108px); object-fit:contain; margin:0 var(--dialog-gutter) var(--dialog-gutter); }
.planning-column .planning-add-card {
 border:1px solid transparent; background:transparent; color:#42679f; padding:6px 8px; font-size:12px; text-align:center;
}
.planning-column .planning-add-card:hover,
.planning-column .planning-card-image:hover { background:#e6eefc; border-color:#b8c9e6; }




.planning-form textarea {
 width:100%; min-height:100px; field-sizing:content; resize:none;
 white-space:pre-wrap; overflow-wrap:anywhere;
}
.planning-form #planStageContent { min-height:calc(6lh + 24px); }
.planning-form-gallery:not(:empty) { margin-top:12px; }
.planning-form-gallery .planning-thumbnail { width:112px; height:112px; }
@media(hover:none) and (max-width:600px) {
 .planning-workspace { height:calc(100dvh - 104px); }
 .planning-board { --planning-heading-space:16px; padding:0 10px 20px; }
}

.planning-column .planning-divider {
 position:absolute; z-index:1; inset-block:0; right:calc(-1 * var(--planning-gap)); width:var(--planning-gap);
 padding:0; border:0; background:transparent; cursor:col-resize; touch-action:none;
}
.planning-divider::before { content:""; position:absolute; inset:0 calc((var(--planning-gap) - var(--planning-divider-thickness)) / 2); border-radius:2px; }
.planning-divider:is(:hover,:focus-visible,:active)::before { background:#6285d9; }

.planning-content :is(.planning-title,.planning-copy) {
 display:block; width:100%; min-width:0; padding:4px 5px; margin:0;
 background:transparent; border:1px solid transparent; border-radius:4px; color:#1d2430;
}
.planning-content .planning-title { font-size:14px; font-weight:700; min-height:27px; }
.planning-content .planning-copy { min-height:38px; }
.planning-content :is(.planning-title,.planning-copy) {
 field-sizing:content; resize:none; overflow-wrap:anywhere; white-space:pre-wrap;
}
.planning-content :is(.planning-title,.planning-copy):hover { border-color:#e3e9f2; }
.planning-content :is(.planning-title,.planning-copy):focus { border-color:#7192e0; outline:none; }
.planning-card-image {
 position:relative; display:grid; place-items:center; min-width:0; aspect-ratio:1; margin:0;
 border:1px dashed #c1cee2; border-radius:6px; background:#f7f9fd; color:#42679f; cursor:pointer;
}
.planning-card-image input { position:absolute; inset:0; width:100%; height:100%; opacity:0; cursor:pointer; }
.planning-card-image:focus-within { outline:2px solid #7192e0; outline-offset:2px; }




.planning-content { position:relative; touch-action:none; }
.planning-content :is(textarea,label) { touch-action:auto; }
.planning-card-gap {
 position:absolute; z-index:1; left:0; right:0; bottom:calc(-1px - var(--planning-gap)); height:var(--planning-gap);
 padding:0; border:0; background:transparent;
}
.planning-card-gap:is(:hover,:focus-visible) { background:transparent; }
.planning-card-gap:is(:hover,:focus-visible)::before {
 content:""; position:absolute; inset:calc((var(--planning-gap) - var(--planning-divider-thickness)) / 2) 0;
 border-radius:2px; background:#6285d9;
}
.planning-dragging { cursor:grabbing; user-select:none; }
.planning-card-dragging { opacity:.3; }
.planning-card-preview {
 position:fixed; inset:0 auto auto 0; z-index:20; pointer-events:none;
 box-shadow:0 12px 28px #26354b33; border-color:#aebfe4;
}
.planning-drop-shift { animation:planning-drop-nudge 180ms ease-out; }
@keyframes planning-drop-nudge {
 0%,100% { transform:translateY(0); }
 40% { transform:translateY(6px); }
}
.planning-drop-line {
 position:absolute; inset-inline:0; z-index:1; height:2px; transform:translateY(-50%);
 background:#6285d9; pointer-events:none;
}
@media (prefers-reduced-motion:reduce) {
 .planning-drop-shift { animation:none; }
}


/* Common modal header, scrolling body, and action hierarchy. */
dialog:has(> .modal-head) {
 --dialog-gutter:24px;
 --dialog-primary:#315de3;
 --dialog-danger:#b63d35;
 padding:0;
 overflow:hidden;
}
dialog[open]:has(> .modal-head) { display:flex; flex-direction:column; }
dialog > .modal-head {
 display:flex; flex:0 0 auto; align-items:center; justify-content:flex-start;
 gap:10px; min-height:64px; padding:12px var(--dialog-gutter); margin:0; background:#fff;
}
dialog > .modal-head h2 {
 min-width:0; margin:0 auto 0 0; font-size:18px; font-weight:650; line-height:1.35;
}
dialog > .modal-head :is(#close,button[aria-label="창 닫기"]) {
 display:grid; place-items:center; flex:none; width:32px; height:32px; padding:0;
 border:1px solid transparent; border-radius:6px; background:transparent; color:#637086;
}
dialog > .modal-head :is(#close,button[aria-label="창 닫기"]):hover { background:#f0f3f8; color:#26354b; }
dialog > :is(#modalBody,.section-style-options,.common-template-grid,.template-trash-list) {
 min-height:0; overflow-y:auto; margin:0; padding:0 var(--dialog-gutter) var(--dialog-gutter);
}
#modal.section-picker-modal > #modalBody { flex:1; }
#modal.export-modal > #modalBody { flex:1; scrollbar-gutter:stable; }
#modal.common-settings-modal > #modalBody { padding-bottom:0; }

.dialog-actions {
 display:flex; align-items:center; justify-content:flex-end; flex-wrap:wrap; gap:8px; margin-top:16px;
}
.dialog-actions > [data-dialog-leading] { margin-inline-end:auto; }
.dialog-actions > button:not([hidden]) {
 display:inline-flex; align-items:center; justify-content:center; min-height:36px;
 padding:7px 14px; border-radius:6px; font-size:13px; font-weight:500;
}
:is(dialog,.template-name-popover) button[data-dialog-confirm] {
 background:var(--dialog-primary,#315de3); border-color:var(--dialog-primary,#315de3); color:#fff;
}
:is(dialog,.template-name-popover) button[data-dialog-confirm]:hover:not(:disabled) { background:#244fcf; border-color:#244fcf; }
:is(dialog,.template-name-popover) button.danger { color:var(--dialog-danger,#b63d35); }
:is(dialog,.template-name-popover) button[data-dialog-confirm].danger {
 background:var(--dialog-danger,#b63d35); border-color:var(--dialog-danger,#b63d35); color:#fff;
}
:is(dialog,.template-name-popover) button[data-dialog-confirm].danger:hover:not(:disabled) { background:#9c332c; border-color:#9c332c; }
@media(max-width:520px) {
 dialog:has(> .modal-head) { --dialog-gutter:18px; }
 dialog > .modal-head { min-height:56px; }
}

.editor .layout-note-style {
 position:fixed; inset:auto; margin:0; padding:5px; width:134px;
 border:1px solid #dfe5ef; border-radius:8px; background:#fff; color:#1d2430;
 box-shadow:0 6px 20px #24365124;
}
.editor .layout-note-style:popover-open { display:flex; gap:4px; }
.editor .layout-note-style button { flex:1; min-width:0; padding:5px; white-space:nowrap; }
.editor .layout-note-style button[aria-pressed="true"] { background:#e8f0ff; color:#2056a8; }
