:root{--cream:oklch(98% .018 88);--paper:oklch(99% .006 88);--ink:oklch(28% .035 15);--muted:oklch(47% .025 15);--burgundy:oklch(42% .12 15);--burgundy-dark:oklch(34% .10 15);--yellow:oklch(91% .11 88);--line:oklch(87% .025 55);--rose:oklch(93% .025 15);--green:oklch(44% .075 125);--lilac:oklch(93% .035 310);--serif:Georgia,'Times New Roman',serif;--sans:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;--display:'Arial Rounded MT Bold','Trebuchet MS',var(--sans)}
*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);font-family:var(--sans);font-size:14px;line-height:1.5}button,input,textarea,select{font:inherit}button,a,input,select,textarea,summary{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}a{color:inherit;text-decoration:none}button{color:inherit}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid var(--burgundy);outline-offset:4px}input:focus,textarea:focus,select:focus{outline:2px solid #ad6374;outline-offset:1px}h1,h2,h3,p{margin-top:0}h2{font-size:16px;font-weight:650;letter-spacing:-.25px}svg.icon{width:19px;height:19px;display:inline-block;vertical-align:middle;flex:none;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.skip-link{position:fixed;top:-60px;left:20px;background:var(--burgundy);color:white;padding:12px;z-index:100}.skip-link:focus{top:12px}
.sidebar{position:fixed;inset:0 auto 0 0;width:218px;background:#f4f0e6;border-right:1px solid var(--line);padding:35px 20px 24px;display:flex;flex-direction:column;z-index:10}.brand-logo{font:900 italic 62px/1 var(--serif);letter-spacing:-5px;color:var(--burgundy);margin-left:13px;width:max-content}.brand-logo span{color:var(--burgundy)}.studio-label{font-size:8px;font-weight:700;letter-spacing:1.65px;color:var(--muted);margin:15px 0 0 15px}.sidebar nav{display:grid;gap:6px;margin-top:48px}.nav-item{display:flex;align-items:center;gap:11px;padding:12px;border-radius:8px;font-size:13px;font-weight:500;color:#6e615b;min-height:44px}.nav-item:hover{background:#ebe4d8}.nav-item.active{color:var(--burgundy);background:#ede0dc;font-weight:650}.nav-count{font-size:10px;background:#e5dbcd;min-width:20px;text-align:center;border-radius:5px;line-height:20px;margin-left:auto}.sidebar-note{margin:60px 10px 38px;padding-top:22px;border-top:1px solid #dfd5c8}.little-star{font-size:44px;line-height:1;color:var(--burgundy)}.sidebar-note p{font:italic 26px/1.25 var(--serif);color:var(--burgundy);margin:20px 0 9px}.sidebar-note>span:last-child{font-size:10px;color:var(--muted)}.local-status{font-size:11px;color:#625c51;margin-top:auto;margin-left:12px}.local-status small{display:block;font-size:10px;color:var(--muted);margin:4px 0 0 15px}.status-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--green);margin-right:5px}.workspace{margin-left:218px}.topbar{height:76px;display:flex;align-items:center;justify-content:space-between;padding:0 40px;border-bottom:1px solid var(--line);font-size:12px;color:#77685e}.tiny-wordmark{font-family:var(--serif);font-weight:bold;font-size:17px;color:var(--burgundy)}.topbar-divider{margin:0 14px;color:#c7b8a7}.topbar-right{display:flex;align-items:center;gap:23px}.avatar{border:1px solid #e0c6c6;background:#f0e0da;border-radius:50%;height:32px;width:32px;color:var(--burgundy);font:italic bold 18px var(--serif)}#save-status{font-size:10px;color:#746c60}main{max-width:1500px;padding:36px 40px 30px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:31px}.eyebrow{font-size:9px;font-weight:700;letter-spacing:1.8px;color:var(--muted)}h1{font-family:var(--serif);font-weight:500;font-size:39px;line-height:1.15;letter-spacing:-1.4px;margin:10px 0 11px}h1 em{color:var(--burgundy);font-weight:400}.page-heading p{color:var(--muted);font-size:12px;margin:0}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;border-radius:7px;min-height:43px;padding:10px 17px;font-weight:600;font-size:12px;transition:background .15s,transform .15s;white-space:nowrap}.button:active{transform:translateY(1px)}.button.primary{background:var(--burgundy);color:#fff8e8}.button.primary:hover{background:var(--burgundy-dark)}.button.secondary{background:var(--paper);border-color:#d9cfc1;color:#685049}.button.secondary:hover{background:#f3ebdf}.button.full{width:100%}.button.small{min-height:34px;padding:7px 10px;font-size:11px}.button .icon{width:16px;height:16px}.button-note{font-size:10px;text-align:center;color:var(--muted);margin:9px 0 0}.text-link,.text-button{color:var(--burgundy);font-size:11px;font-weight:600}.text-link:hover,.text-button:hover{text-decoration:underline}.text-button{border:0;background:none;padding:6px 0;display:inline-flex;align-items:center;gap:6px}.text-button .icon{width:14px;height:14px}.icon-button{border:0;background:transparent;width:36px;height:36px;border-radius:50%}
.editor-layout{display:grid;grid-template-columns:332px minmax(0,1fr);gap:28px;align-items:start}.controls-panel{border:1px solid var(--line);background:var(--paper);border-radius:12px;overflow:hidden}.control-section{padding:23px 23px 22px;border-bottom:1px solid var(--line)}.control-section:last-child{border:0}.section-heading{display:flex;align-items:center;gap:9px;margin-bottom:21px}.section-heading h2{font-size:13px;margin:0}.step{color:var(--burgundy);background:#f3e8df;border:1px solid #eaded1;width:23px;height:23px;border-radius:50%;font-size:9px;font-weight:700;display:grid;place-items:center}.field-label{display:block;font-size:10px;font-weight:650;margin:16px 0 7px;color:#62534d}.platforms{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.platforms button{border:1px solid var(--line);border-radius:7px;background:transparent;min-height:58px;padding:8px 0 5px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;font-size:8px;font-weight:500;transition:background .15s}.platforms button .icon{width:17px;height:17px}.platforms button[aria-pressed=true]{border-color:var(--burgundy);background:#f9eeee;color:var(--burgundy);box-shadow:0 0 0 1px var(--burgundy)}.platforms button:hover{background:#f4ebdf}select,input:not([type=checkbox]):not([type=range]):not([type=file]),textarea{width:100%;border:1px solid #dfd6c9;border-radius:6px;background:var(--paper);color:var(--ink);padding:10px 12px;line-height:1.5;font-size:12px}select{height:40px;padding-right:24px}textarea{resize:vertical;display:block}textarea::placeholder,input::placeholder{color:#a09487}input[type=range]{width:100%;accent-color:var(--burgundy);margin:4px 0 10px}input[type=checkbox]{accent-color:var(--burgundy)}.segmented{display:flex;background:#f3efe6;border-radius:6px;padding:3px;gap:2px}.segmented button{border:0;border-radius:4px;background:transparent;font-size:10px;flex:1;min-height:31px;white-space:nowrap;padding:4px}.segmented button[aria-pressed=true]{background:var(--paper);color:var(--burgundy);box-shadow:0 1px 3px #4e34211b;font-weight:650}.segmented button span{font-size:8px;margin-left:2px;color:var(--muted)}.label-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:9px}.label-row .field-label{margin:0}.photo-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-bottom:10px}.photo-choice{position:relative;border:2px solid transparent;background:#efe5d4;padding:0;border-radius:7px;overflow:hidden;aspect-ratio:1;display:block}.photo-choice img{width:100%;height:100%;object-fit:cover;display:block}.photo-choice[aria-pressed=true]{border-color:var(--burgundy);box-shadow:0 0 0 2px var(--paper),0 0 0 3px var(--burgundy)}.photo-choice[aria-pressed=true]:after{content:'✓';position:absolute;right:3px;bottom:3px;background:var(--burgundy);color:white;border-radius:50%;width:16px;height:16px;font-size:10px;display:grid;place-items:center}.upload-button{display:flex;width:100%;align-items:center;gap:7px;border:1px dashed #cdbbaa;border-radius:6px;min-height:42px;padding:10px;background:#fbf6ec;color:#766454;font-size:10px}.upload-button small{margin-left:auto;font-size:8px;color:var(--muted)}.upload-button:hover{background:#f5eddd}.upload-button .icon{width:15px;height:15px}.detail-control{border-top:1px solid #eee5d8;margin-top:18px;padding-top:11px;font-size:11px}.detail-control summary{display:flex;align-items:center;justify-content:space-between;cursor:pointer;min-height:28px;list-style:none;font-weight:550;gap:7px}.detail-control summary::-webkit-details-marker{display:none}.detail-control summary .icon{height:14px;width:14px;margin-right:3px}.detail-control summary>span:last-child{color:#a59280;font-size:16px}.details-content{padding:11px 0 1px}.details-content label,.posting-tip label{display:block;font-size:10px;font-weight:600;margin:12px 0 6px}.details-content output{float:right;color:var(--muted)}.helper{font-size:10px;color:var(--muted);line-height:1.6;margin:9px 0}.optional{font-size:9px;color:var(--muted);font-weight:400;float:right}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}.two-fields .field-label{margin-top:0}.directions{display:grid;gap:6px}.direction{display:flex;align-items:center;text-align:left;gap:10px;padding:10px;border:1px solid var(--line);border-radius:7px;background:var(--paper)}.direction[aria-pressed=true]{border-color:var(--burgundy);background:#fbf3ed}.direction-swatch{width:28px;height:28px;display:grid;place-items:center;border-radius:50%;font-size:18px;flex:none}.direction strong{font-size:10px;display:block}.direction small{font-size:9px;display:block;color:var(--muted)}#generate-image{margin-top:15px}
.preview-panel{min-width:0;padding:0 0 12px}.preview-heading{display:flex;justify-content:space-between;align-items:center;margin:2px 0 16px}.preview-heading h2{font:500 23px var(--serif);margin:6px 0 0;letter-spacing:-.5px}.pill{border:1px solid #e5dac9;background:#f5f0e6;padding:5px 9px;border-radius:5px;font-size:9px;font-variant-numeric:tabular-nums;color:#897768}.preview-stage{background:#ece5d8;background-image:radial-gradient(#cbbfac 0.5px,transparent 0.5px);background-size:9px 9px;border:1px solid #e4dacb;border-radius:10px;padding:24px 28px;display:flex;justify-content:center;min-width:0}.preview-card{width:100%;max-width:385px;background:white;border-radius:7px;overflow:hidden;box-shadow:0 7px 20px #51391816}.preview-account{height:52px;display:flex;align-items:center;gap:9px;padding:9px 13px}.mini-logo{width:29px;height:29px;border-radius:50%;display:grid;place-items:center;background:#f7e9cf;color:var(--burgundy);font:italic bold 20px var(--serif)}.preview-account strong{font-size:10px;display:block}.preview-account small{font-size:8px;color:#8f867e;display:block;margin-top:1px}.preview-ellipsis{margin-left:auto;letter-spacing:2px;font-size:10px}#canvas-wrap{position:relative}#post-canvas{display:block;width:100%;height:auto}#empty-preview{position:absolute;inset:0;background:#fbf1d7;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:30px}#empty-preview strong{font:30px var(--serif);color:var(--burgundy)}#empty-preview p{font-size:12px;margin:16px 0}.preview-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px;font-size:9px;color:var(--muted)}.check-label{display:flex;align-items:center;gap:4px;font-size:9px;cursor:pointer}.check-label input{width:12px;height:12px}.caption-panel{border:1px solid var(--line);border-radius:9px;padding:19px 20px 11px;background:var(--paper);margin-top:20px}.caption-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.caption-heading h2{font-size:12px;margin:0}.caption-heading .text-button{font-size:9px}.caption-tabs{display:flex;gap:17px;border-bottom:1px solid var(--line);margin-top:10px}.caption-tabs button{border:0;background:none;font-size:10px;padding:10px 0 9px;color:var(--muted);border-bottom:2px solid transparent}.caption-tabs button[aria-pressed=true]{color:var(--burgundy);border-bottom-color:var(--burgundy);font-weight:650}.caption-tabs small{font-size:8px;margin-left:2px}#caption{border:0;padding:15px 0 7px;min-height:150px;font-size:12px;line-height:1.65;background:transparent}#caption:focus{outline-offset:4px}.caption-bottom{display:flex;justify-content:space-between;align-items:center;font-size:9px;color:var(--muted);border-top:1px solid #f0e7db;padding-top:6px}.caption-bottom .text-button{font-size:10px}.warning{font-size:11px;color:#9c3a21;background:#fff1dd;border-radius:5px;padding:9px;margin:8px 0}.posting-tip{padding:16px 1px;color:var(--muted);font-size:11px}.posting-tip summary{cursor:pointer;color:#716153;font-size:10px;list-style:none}.posting-tip summary .icon{width:13px;height:13px;margin-right:5px}.posting-tip p{margin:10px 0;font-size:11px}.export-row{display:flex;gap:10px}.export-row .button:first-child{flex:1}.export-row .button:last-child{flex:.65}.footer{border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:18px 40px;color:#a29383;font-size:9px}.footer>span:first-child{font:italic 15px var(--serif);color:var(--burgundy)}
.filter-row{display:flex;gap:7px;margin-bottom:26px}.filter-row button{padding:8px 14px;border-radius:6px;border:1px solid var(--line);background:var(--paper);font-size:11px}.filter-row button[aria-pressed=true]{background:var(--burgundy);color:var(--paper);border-color:var(--burgundy)}.photo-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.library-card{border:1px solid var(--line);border-radius:10px;background:var(--paper);overflow:hidden}.library-image{width:100%;aspect-ratio:4/5;object-fit:cover;display:block}.library-info{padding:12px}.library-info strong{display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.library-info small{font-size:9px;color:var(--muted)}.library-info .button{width:100%;margin-top:12px;min-height:35px;font-size:10px;padding:7px}.original-link{font-size:10px;color:var(--burgundy);display:block;margin-top:9px;text-decoration:underline}.draft-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.draft-card{border:1px solid var(--line);background:var(--paper);border-radius:10px;overflow:hidden}.draft-card canvas{width:100%;display:block;max-height:330px;object-fit:contain;background:#ede5d8}.draft-info{padding:17px}.draft-info strong{font-size:13px;display:block}.draft-info small{display:block;color:var(--muted);font-size:10px;margin-top:5px}.draft-info p{margin:12px 0;font-size:12px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.empty-state{padding:70px 25px;text-align:center;border:1px dashed #cebdab;border-radius:10px;grid-column:1/-1}.empty-state h2{font:28px var(--serif);color:var(--burgundy)}.empty-state p{color:var(--muted);font-size:12px}.brand-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:25px;align-items:start}.settings-card{background:var(--paper);border:1px solid var(--line);border-radius:11px;padding:27px}.settings-card label{display:block;font-size:11px;font-weight:600;margin:18px 0 7px}.settings-card .button{margin-top:20px}.settings-card h2{font:25px var(--serif);margin-bottom:20px}.settings-card .two-fields{gap:15px}.provider-card{background:#f5eadb}.provider-card h2{margin-top:22px;color:var(--burgundy)}.provider-card p{font-size:12px;line-height:1.8;color:#7a695b}.provider-card .helper{font-size:10px}.provider-card .text-link{display:block;margin-top:15px}.provider-card .text-button{margin-left:14px}.connection-status{font-size:11px;font-weight:600;background:#efe0ce;color:#7c5844;padding:10px 12px;border-radius:6px}.connection-status.connected{background:#e3eadc;color:#426346}
.error-banner{display:flex;flex-wrap:wrap;gap:10px;align-items:center;border:1px solid #d79973;background:#fff0da;color:#8e3c1d;border-radius:8px;padding:14px;margin-bottom:22px;font-size:12px}.error-banner p{margin:0;flex-basis:100%}#toast{position:fixed;bottom:28px;left:calc(50% + 80px);transform:translateX(-50%);z-index:80;background:#493930;color:#fff9eb;padding:13px 20px;border-radius:8px;font-size:12px;max-width:min(90vw,600px);box-shadow:0 5px 15px #0002}dialog{max-width:620px;width:calc(100% - 32px);border:1px solid var(--line);border-radius:14px;padding:25px;background:var(--paper);color:var(--ink);box-shadow:0 30px 100px #2315153a;max-height:85vh;overflow:auto}dialog::backdrop{background:#35262175;backdrop-filter:blur(3px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.dialog-heading h2{font:28px var(--serif);margin:0}.quote-model{background:var(--rose);border-radius:7px;padding:10px 12px;font-size:12px;font-weight:650}.quote-disclosure{font-size:12px;line-height:1.75;margin:15px 0}.quote-rates{background:#f5eedc;padding:12px;border-radius:7px;font-size:11px;line-height:1.7}.quote-prompt{white-space:pre-wrap;overflow-wrap:anywhere;font-size:10px;border:1px solid var(--line);padding:12px;border-radius:5px;max-height:200px;overflow:auto;background:#fcfaf4}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:23px}#generation-progress{text-align:center;padding:25px 15px}#generation-progress strong{display:block;font:24px var(--serif);margin-top:20px}#generation-progress p{font-size:12px;color:var(--muted);margin-top:15px}.spinner{display:inline-block;width:32px;height:32px;border:3px solid #ead4ca;border-top-color:var(--burgundy);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.drop-active{outline:3px dashed var(--burgundy);outline-offset:-10px;background:#f3e8d8}
@media(min-width:1600px){.editor-layout{grid-template-columns:370px minmax(0,1fr);gap:36px}.preview-card{max-width:420px}.control-section{padding:25px 27px}.photo-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:1180px){.sidebar{width:185px;padding:30px 13px}.brand-logo{font-size:57px}.studio-label{font-size:7px;letter-spacing:1px}.workspace{margin-left:185px}main{padding:28px 24px}.topbar{padding:0 24px}.editor-layout{grid-template-columns:295px minmax(0,1fr);gap:20px}.control-section{padding:20px 17px}.preview-stage{padding:20px}.preview-heading h2{font-size:20px}.preview-heading{gap:9px}.pill{font-size:8px;padding:4px 6px}h1{font-size:32px}.caption-heading{align-items:start}.photo-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.nav-item{padding:11px 9px;font-size:12px}.sidebar-note{margin:50px 9px 25px}.nav-count{font-size:9px;min-width:16px}}
@media(max-width:950px){.sidebar{width:76px;align-items:center;padding:25px 8px}.brand-logo{font-size:31px;letter-spacing:-3px;margin:0}.studio-label,.sidebar-note,.local-status,.nav-count{display:none}.sidebar nav{margin-top:33px;width:100%}.nav-item{font-size:0;justify-content:center;padding:14px;gap:0}.nav-item .icon{width:21px;height:21px}.workspace{margin-left:76px}.topbar{height:62px}.brand-layout{grid-template-columns:1fr}.draft-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.page-heading{margin-bottom:25px}#toast{left:50%}}
@media(max-width:720px){.sidebar{position:sticky;top:0;width:100%;height:63px;flex-direction:row;justify-content:space-between;padding:10px 18px;border-right:0;border-bottom:1px solid var(--line)}.brand-logo{font-size:37px}.sidebar nav{display:flex;gap:6px;width:auto;margin:0}.nav-item{padding:11px;min-height:40px}.workspace{margin-left:0}.topbar{height:48px;padding:0 20px}.tiny-wordmark,.topbar-divider{display:none}.topbar-right{gap:12px}.avatar{width:27px;height:27px;font-size:16px}main{padding:27px 18px 23px}.page-heading{align-items:flex-start;gap:12px}.page-heading h1{font-size:31px;line-height:1.13}.page-heading h1 em{display:block}.page-heading p{font-size:11px;max-width:260px}.eyebrow{font-size:8px;letter-spacing:1.4px}.page-heading .button{font-size:10px;min-height:37px;padding:8px 10px;margin-top:20px}.page-heading .button .icon{width:14px}.editor-layout{grid-template-columns:1fr;gap:29px}.controls-panel{width:100%}.control-section{padding:20px}.platforms button{font-size:9px;height:59px}.segmented button{font-size:11px;min-height:33px}.field-label{font-size:11px}.preview-heading h2{font-size:25px}.preview-stage{padding:21px 20px}.preview-card{max-width:360px}.preview-meta{font-size:9px}.caption-heading h2{font-size:13px}.caption-heading .text-button{font-size:10px}.photo-strip{grid-template-columns:repeat(4,1fr)}.photo-choice{max-height:100px}.footer{padding:20px 18px}.footer>span:last-child{font-size:8px}.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.draft-grid{grid-template-columns:1fr}.brand-layout{gap:20px}.settings-card{padding:22px}.settings-card .two-fields{grid-template-columns:1fr}.two-fields select{font-size:11px}#toast{font-size:11px;width:max-content;max-width:90vw;bottom:20px}.dialog-actions{flex-wrap:wrap}.dialog-actions .button{flex:1}.upload-button{font-size:11px}.upload-button small{font-size:9px}.preview-account{height:48px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
.install-banner{position:fixed;right:25px;bottom:25px;z-index:35;border:1px solid #d8c2ab;border-radius:10px;background:#f9edcf;box-shadow:0 6px 25px #49302220;padding:14px;display:flex;gap:14px;align-items:center}.install-banner strong{font-size:12px;display:block}.install-banner small{display:block;font-size:10px;color:var(--muted);margin-top:3px}.install-banner .button{background:var(--burgundy);color:var(--paper)}
.install-card{grid-column:1/-1}.install-card p{font-size:13px}.install-card .helper{font-size:11px}
@media(max-width:720px){
  body{padding-bottom:calc(76px + env(safe-area-inset-bottom));font-size:15px}
  .sidebar{height:66px;padding:12px 20px;background:var(--cream);position:relative}
  .brand-logo{font-size:42px}
  .sidebar nav{position:fixed;inset:auto 0 0;z-index:40;display:grid;grid-template-columns:repeat(4,1fr);height:calc(69px + env(safe-area-inset-bottom));padding:7px 8px calc(6px + env(safe-area-inset-bottom));background:#fffdf8f7;border-top:1px solid var(--line);backdrop-filter:blur(15px);gap:3px}
  .nav-item{font-size:9px;display:flex;flex-direction:column;gap:4px;padding:5px 2px;border-radius:8px;min-height:48px}.nav-item .icon{width:20px;height:20px}.nav-item.active{background:var(--rose)}
  .topbar{position:absolute;top:15px;right:18px;height:36px;padding:0;border:0;z-index:12}.topbar>span{display:none}.avatar{width:34px;height:34px;font-size:19px}#save-status{font-size:12px;max-width:115px;line-height:1.3;text-align:right}
  main{padding:20px 16px 94px}.page-heading{margin-bottom:22px}.page-heading h1{font-size:32px;letter-spacing:-1.1px;margin:8px 0}.page-heading h1 em{display:inline}.page-heading p{font-size:12px;max-width:315px;line-height:1.6}.page-heading .eyebrow{font-size:8px}.page-heading #save-draft{display:none}
  .editor-layout{display:flex;flex-direction:column;gap:0}.controls-panel,.preview-panel{display:contents}.control-section{width:100%;background:var(--paper);border:1px solid var(--line)!important;border-radius:12px;margin-top:19px;padding:20px;order:4}.control-section .section-heading{margin-bottom:18px}.section-heading h2{font-size:14px}.field-label{font-size:12px}.platforms button{font-size:10px;min-height:64px}.platforms button .icon{width:21px;height:21px}.segmented button{font-size:12px;min-height:38px}.detail-control{font-size:12px}.detail-control summary{min-height:38px}.details-content label{font-size:12px}.upload-button{min-height:47px;font-size:12px}.photo-choice{min-height:62px}.button{min-height:47px;font-size:13px}.helper{font-size:11px}.text-button,.text-link{font-size:12px}select,input:not([type=checkbox]):not([type=range]):not([type=file]),textarea{font-size:16px;min-height:45px}select{padding:9px}.two-fields select{font-size:13px}.optional{font-size:10px}.button-note{font-size:11px}
  .preview-heading{order:0;width:100%;margin:0 0 12px}.preview-heading .eyebrow{display:none}.preview-heading h2{font-size:21px;margin:0}.preview-heading .pill{font-size:9px;padding:4px 8px}
  .preview-stage{order:1;width:100%;padding:16px;background-size:8px 8px;border-radius:13px}.preview-card{max-width:242px}.preview-account{height:40px;padding:7px 10px}.mini-logo{height:25px;width:25px;font-size:18px}.preview-account small{font-size:8px}.preview-account strong{font-size:10px}
  .preview-meta{order:2;width:100%;margin-top:10px;font-size:10px}.preview-meta .check-label{font-size:9px}.preview-meta input{width:16px;height:16px}#resolution-note{order:3;margin-bottom:0;font-size:10px}
  .caption-panel{order:5;width:100%;padding:17px;margin:20px 0 0}.caption-heading{align-items:center}.caption-heading h2{font-size:13px}.caption-heading .text-button{font-size:10px}.caption-tabs button{font-size:13px;min-height:44px}#caption{font-size:16px;min-height:235px;line-height:1.65}.caption-bottom{font-size:10px;gap:5px}.caption-bottom .text-button{font-size:12px;min-height:40px}.posting-tip{order:6;width:100%;padding:17px 0}.posting-tip summary{font-size:12px}.posting-tip p,.posting-tip label{font-size:12px}.export-row{order:7;width:100%;display:grid;grid-template-columns:1fr 1fr;gap:9px}.export-row .button{font-size:11px;padding:10px 8px}.export-row~.button-note{order:9;width:100%}.mobile-final-actions{display:grid;grid-template-columns:1fr;gap:10px;order:8;width:100%;margin-top:11px}
  body:not([data-page=brand]) .install-banner{display:none}
  .footer{display:none}.install-banner{right:12px;left:12px;bottom:calc(150px + env(safe-area-inset-bottom));padding:11px;gap:9px}.install-banner strong{font-size:11px}.install-banner small{font-size:9px}.install-banner .button{min-height:38px}.install-banner .icon-button{width:28px;flex:none}
  .settings-card label{font-size:12px}.settings-card p{font-size:13px}.settings-card .helper{font-size:11px}.filter-row button{min-height:44px;font-size:12px;padding:8px 11px}.library-info .button{min-height:43px;font-size:12px}.library-info strong{font-size:12px}.library-info small,.original-link{font-size:11px}.original-link{min-height:30px;padding-top:5px}.draft-info strong{font-size:15px}.draft-info p{font-size:14px}
}

.welcome-page{min-height:100svh;display:grid;place-items:center;padding:32px 24px;background:var(--lilac)}.welcome-card{max-width:430px;width:100%;padding:8px 0;margin:0}.welcome-card .brand-logo{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:16px;font:inherit;margin:0 0 32px}.welcome-card h1{font-size:40px;margin:10px 0 20px}.welcome-card>p{line-height:1.6}.welcome-card>p:not(.helper):not(.eyebrow){font-size:16px;max-width:32ch}.welcome-card form{margin-top:24px}.welcome-card input{margin:8px 0 16px}.welcome-card .button{min-height:52px;margin:0}.welcome-card .helper{font-size:14px;color:var(--muted)}#welcome-status{color:var(--burgundy);font-size:14px;line-height:1.5;margin:12px 0}#welcome-status:empty{display:none}.welcome-card form~.helper{margin:20px 0 0}#studio-links .button{margin-top:10px}

.copy-actions{display:flex;flex-wrap:wrap;gap:6px;margin:14px 0}.copy-actions button{border:1px solid var(--line);background:var(--paper);color:var(--burgundy);padding:8px 10px;border-radius:6px;font-size:11px;min-height:38px}.copy-actions button[aria-pressed=true]{background:var(--rose);border-color:var(--burgundy)}.copy-options{display:grid;gap:12px;margin-top:15px}.copy-choice{padding:18px;border:1px solid #dbc8b6;border-radius:10px;background:#fcf7e9}.copy-choice h3{font:26px/1.12 var(--serif);color:var(--burgundy);margin:12px 0}.copy-choice p{font-size:12px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}.copy-choice .button{margin-top:12px}#rewrite-copy-ai{margin-top:10px}#undo-copy{min-height:40px}#photo-strip{display:flex;overflow-x:auto;padding:3px 2px 10px}#photo-strip .photo-choice{flex:0 0 94px;height:112px}.directions{grid-template-columns:1fr}.direction{min-height:52px}#provider-form[hidden]{display:none}button:disabled{cursor:default;opacity:.55}@media(max-width:720px){.copy-choice p{font-size:14px}.copy-actions button{font-size:12px;min-height:44px}.copy-choice h3{font-size:29px}.photo-choice img{object-fit:cover}#photo-source .detail-control{margin-top:14px}}
.photo-review-open{display:block;width:100%;border:0;padding:0;background:transparent;cursor:zoom-in}#photo-review-dialog{max-width:1100px}#photo-review-dialog .dialog-heading h2{font-size:25px;overflow-wrap:anywhere}#photo-review-tabs{display:none;margin:16px 0}#photo-review-images{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:18px}#photo-review-images figure{margin:0;min-width:0}#photo-review-images figure:only-child{grid-column:1/-1}#photo-review-images figcaption{font-size:13px;font-weight:600;margin-bottom:8px}#photo-review-images img{width:100%;max-height:62vh;object-fit:contain;display:block;background:#ece5d8;border-radius:8px}.photo-review-navigation{display:flex;justify-content:space-between;gap:12px;margin-top:18px}#photo-review-dialog .helper{line-height:1.6}#photo-review-dialog .dialog-heading{align-items:flex-start}#photo-review-dialog .icon-button{flex-shrink:0;min-width:44px;min-height:44px}.library-info>.text-button{display:block;min-height:44px}#photo-review-title{margin-top:8px}@media(max-width:720px){#photo-review-dialog{padding:18px;max-height:92dvh}#photo-review-tabs:not([hidden]){display:flex}#photo-review-images{display:block}#photo-review-images[data-view=version] [data-photo-side=original],#photo-review-images[data-view=original] [data-photo-side=version]{display:none}#photo-review-images img{max-height:58dvh}.filter-row{flex-wrap:wrap}}

/* A clearer, warmer studio for the people building Loaf. */
h1{font-family:var(--display);font-weight:800;font-size:40px;letter-spacing:-1.6px;line-height:1.08}h1 em{font-style:normal;font-weight:800}.eyebrow{color:var(--burgundy);letter-spacing:1.4px}.page-heading p{font-size:13px;line-height:1.6;max-width:58ch}.sidebar{background:var(--lilac)}.sidebar-note{border:0;margin-top:40px}.sidebar-note p{font:500 15px/1.6 var(--sans);color:var(--muted)}.nav-item.active{background:var(--burgundy);color:var(--paper)}.nav-item.active .nav-count{background:var(--paper);color:var(--burgundy)}.button{border-radius:10px}.button.secondary{border-color:var(--line);color:var(--burgundy)}.preview-stage{background:var(--lilac);border:0}.preview-heading h2{font:700 22px var(--display)}.copy-choice{background:var(--paper);border-color:var(--line);padding:20px}.copy-choice h3{font:700 28px/1.1 var(--display);letter-spacing:-.7px}.copy-choice .eyebrow{font-size:10px;letter-spacing:.7px}.copy-actions button[aria-pressed=true]{background:var(--lilac)}.field-label{color:var(--ink)}
#photo-strip{gap:12px;padding:5px 3px 12px;scroll-snap-type:x proximity}#photo-strip .photo-choice{flex:0 0 138px;height:205px;max-height:none;aspect-ratio:auto;border-radius:10px;display:flex;flex-direction:column;background:var(--paper);scroll-snap-align:start}#photo-strip .photo-choice img{height:159px;flex-shrink:0}.photo-choice-name{display:flex;align-items:center;justify-content:center;flex:1;width:100%;padding:5px 6px;color:var(--ink);font-size:11px;font-weight:650;line-height:1.25}#photo-strip .photo-choice[aria-pressed=true]:after{top:8px;bottom:auto;right:8px;width:22px;height:22px}.library-info strong{font-size:13px}.library-info small{display:block;margin-top:4px}.library-info .button{min-height:44px}.photo-review-navigation .button{min-height:44px}

@media(max-width:720px){h1,.page-heading h1{font-size:35px;letter-spacing:-1.3px}.page-heading h1 em{display:block}.page-heading{align-items:flex-start}.page-heading p{font-size:13px}.page-heading .eyebrow{font-size:9px}.sidebar{background:var(--cream)}.sidebar nav{background:var(--paper);backdrop-filter:none}.nav-item.active{background:var(--burgundy);color:var(--paper)}.preview-stage{padding:17px}.preview-heading h2{font-size:22px}.welcome-card h1{font-size:36px}.welcome-page{padding:24px}.photo-choice-name{font-size:12px}.library-info strong{white-space:normal;font-size:13px;line-height:1.35}.button-note{line-height:1.6}}


/* One visual system for creating posts and running the business. */
body{font-size:14px}.page-heading p,.helper,.button-note{font-size:14px;line-height:1.6}.nav-item{font-size:14px;color:var(--muted)}.sidebar nav{margin-top:32px}.sidebar-note{margin-bottom:24px}.button,.text-button,.text-link{font-size:14px}.button,.text-button,.icon-button{min-height:44px}.icon-button{min-width:44px}.button.small{min-height:44px;font-size:13px}.field-label,.details-content label,.settings-card label{font-size:14px}.section-heading h2{font-size:16px}.caption-heading h2{font-size:16px}.caption-heading{gap:12px;flex-wrap:wrap}.button-note{max-width:65ch;margin-inline:auto}.optional{font-size:12px}.collection-tabs{display:flex;gap:24px;margin:0 0 24px;border-bottom:1px solid var(--line)}.collection-tabs a{padding:12px 0;min-height:48px;font-weight:600;color:var(--muted)}.collection-tabs [aria-current=page]{color:var(--burgundy);border-bottom:2px solid var(--burgundy)}.library-info{padding:18px}.library-info strong{font-size:17px}.library-info small{font-size:14px;line-height:1.5;min-height:42px;color:var(--muted)}.library-info .button{margin:14px 0 4px}.original-link{font-size:14px;display:inline-flex;align-items:center;min-height:44px}.photo-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.library-image{aspect-ratio:3/4;object-fit:cover}.photo-choice-name{font-size:13px}#photo-review-dialog{max-width:760px}#photo-review-images{display:block}#photo-review-images img{max-height:64dvh;background:var(--paper)}#photo-review-title{font-family:var(--display);font-weight:700}.provider-card>.little-star{display:none}.quote-model{font-size:18px;font-weight:700}.quote-rates{font-size:14px}.studio-label{letter-spacing:1px;font-size:9px}.local-status small{font-size:12px}
.sales-heading{margin-bottom:24px}.sales-heading h1{font-size:36px}.sales-actions,.sales-tools,.customer-contact-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.sales-summary{display:flex;gap:28px;flex-wrap:wrap;border-block:1px solid var(--line);padding:18px 0;margin:0 0 26px;color:var(--muted)}.sales-summary strong{color:var(--ink);font-size:17px;margin-right:5px;font-variant-numeric:tabular-nums}.sales-toolbar{display:flex;gap:12px;align-items:center;margin:0 0 20px}.sales-search{flex:1;min-width:0}.sales-toolbar input,.sales-toolbar select{margin:0;min-height:46px}.sales-toolbar>label:not(.sales-search){flex:none;max-width:45%}.sales-list{border-top:1px solid var(--line)}.order-row{display:flex;align-items:center;gap:18px;padding:22px 4px;border-bottom:1px solid var(--line);transition:background .18s ease-out}.order-row:hover{background:var(--paper)}.customer-initial{display:grid;place-items:center;flex:0 0 44px;height:44px;background:var(--lilac);color:var(--burgundy);border-radius:50%;font-size:19px;font-weight:650}.order-main{min-width:0;flex:1}.order-main>strong{display:block;font-size:17px;overflow-wrap:anywhere}.order-main>small{display:block;margin-top:4px;color:var(--muted);font-size:14px;overflow-wrap:anywhere}.order-tags{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:10px}.order-tags small{font-size:13px;color:var(--muted)}.sales-badge{display:inline-flex;align-items:center;min-height:28px;padding:3px 9px;border-radius:6px;font-size:12px;font-weight:600;background:var(--yellow);color:var(--ink)}.sales-badge.delivered,.sales-badge.paid{background:var(--lilac);color:var(--green)}.sales-badge.cancelled{background:var(--rose);color:var(--burgundy)}.order-amount{flex:0 0 155px;display:flex;flex-direction:column;text-align:right;font-variant-numeric:tabular-nums}.order-amount strong{font-size:17px}.order-amount small{font-size:13px;color:var(--muted);margin-top:4px}.order-amount>span{color:var(--burgundy);margin-top:7px}.sales-tools{margin-top:24px;gap:24px}.sales-empty{padding:42px 24px;background:var(--paper)}.sales-empty h2{font-size:23px;max-width:35ch}.sales-empty p{color:var(--muted);max-width:55ch}.sales-loading{min-height:220px;display:flex;align-items:center;color:var(--muted)}.back-link{display:inline-flex;align-items:center;min-height:44px;margin:0 0 16px;color:var(--burgundy);font-weight:600}.sales-form{max-width:780px}.sales-form fieldset{border:0;border-top:1px solid var(--line);padding:22px 0 30px;margin:22px 0 0;min-width:0}.sales-form legend{font-size:19px;font-weight:650;padding:0 12px 0 0}.sales-form label{display:block;font-size:14px;margin:0 0 18px;color:var(--ink);font-weight:550}.sales-form label>input,.sales-form label>select,.sales-form label>textarea{margin-top:8px;width:100%;font-size:16px;min-height:46px}.sales-form label>textarea{line-height:1.6;resize:vertical}.sales-form .two-fields{gap:20px}.sales-form .check-label{display:flex;align-items:center;gap:10px;line-height:1.5;min-height:44px}.sales-form .check-label input{width:20px;height:20px;min-height:20px;margin:0;flex:none;accent-color:var(--burgundy)}.sales-form-actions{display:flex;gap:12px;flex-wrap:wrap;margin:12px 0 24px}.order-total{display:flex;justify-content:space-between;align-items:center;gap:16px;background:var(--lilac);padding:20px;border-radius:10px;margin:0 0 24px;font-weight:600}.order-total output{font-size:24px;font-variant-numeric:tabular-nums;color:var(--burgundy)}.sales-error{background:var(--rose);border:1px solid var(--line);border-radius:10px;padding:18px;margin:18px 0}.sales-error p{margin:0;color:var(--burgundy)}.customer-history{max-width:900px;margin-top:30px}.customer-history h2{font-size:22px}.customer-contact-actions{margin-bottom:24px}.import-panel{max-width:720px;background:var(--lilac);padding:24px;border-radius:12px;margin-top:24px}.import-panel p{max-width:60ch}.import-panel label{display:block;font-weight:600}.import-panel input{display:block;margin:12px 0;max-width:100%}.import-panel input::file-selector-button{min-height:44px;border:1px solid var(--line);border-radius:8px;background:var(--paper);padding:8px 14px;color:var(--burgundy)}
@media(max-width:1000px){.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sales-toolbar{flex-wrap:wrap}.sales-search{flex-basis:60%}.sales-summary{gap:16px 24px}.order-amount{flex-basis:135px}}
@media(max-width:720px){.sidebar nav{grid-template-columns:repeat(5,minmax(0,1fr));margin-top:0}.sidebar .nav-item{font-size:12px;gap:4px;padding:8px 3px;min-width:0}.sidebar .nav-item[data-page=saved]{display:none}body[data-page=saved] .nav-item[data-page=library]{background:var(--burgundy);color:var(--paper)}.photo-grid{gap:14px}.library-info{padding:14px}.library-info strong{font-size:16px}.library-info small{font-size:13px}.library-info .button{white-space:normal;padding:10px;font-size:13px}.library-info .original-link{font-size:13px}.page-heading{flex-wrap:wrap}.page-heading p{font-size:14px}.page-heading .button{margin-top:4px}.helper,.button-note,.settings-card .helper{font-size:13px}.text-button,.text-link{font-size:14px}.details-content label,.field-label{font-size:14px}.section-heading h2{font-size:16px}.segmented button{min-height:44px}.caption-heading h2{font-size:16px}.caption-heading .text-button{font-size:13px}.sales-heading h1{font-size:32px}.sales-actions{width:100%;margin-top:8px}.sales-summary{gap:12px;font-size:13px;justify-content:space-between}.sales-summary span{flex-basis:100%}.sales-summary strong{font-size:16px}.sales-toolbar{gap:10px}.sales-search{flex-basis:100%}.sales-toolbar>label:not(.sales-search){max-width:100%}.order-row{gap:12px;padding:20px 0;align-items:flex-start}.customer-initial{display:none}.order-main>strong{font-size:16px}.order-main>small{font-size:13px}.order-amount{flex:0 0 115px}.order-amount strong{font-size:16px}.order-amount small{font-size:12px}.sales-badge{font-size:12px;min-height:28px}.sales-form .two-fields{grid-template-columns:1fr;gap:0}.sales-form legend{font-size:18px}.sales-form-actions{position:sticky;bottom:calc(78px + env(safe-area-inset-bottom));background:var(--cream);padding:12px 0;z-index:5}.sales-form-actions .button{flex:1;font-size:13px;white-space:normal}.sales-tools{gap:12px 20px}.import-panel{padding:20px}.sales-empty{padding:28px 18px}.collection-tabs{gap:24px}.customer-contact-actions .button{font-size:13px}.sales-form .helper{font-size:14px}}

/* The photographed Loaf sticker is the single brand mark, including small app surfaces. */
.brand-logo{display:flex;align-items:center;justify-content:center;flex-direction:column;font:inherit;letter-spacing:normal;margin:0;line-height:1}.brand-logo img{display:block;width:112px;height:112px;object-fit:contain}.brand-app-name{font:650 11px/1 var(--sans);letter-spacing:2.7px;color:var(--burgundy);margin-top:-5px}.tiny-wordmark{font:650 14px var(--sans)}.avatar{width:44px;height:44px;display:grid;place-items:center;background:transparent;border:0}.avatar img{width:44px;height:44px}.mini-logo{background:transparent}.mini-logo img{width:100%;height:100%;object-fit:contain}.welcome-card .brand-logo img{width:88px;height:88px}.welcome-card .brand-app-name{margin:0;font-size:13px;letter-spacing:3px}#replay-welcome{margin-bottom:20px}
#welcome-tour{width:min(480px,calc(100% - 32px));max-height:calc(100dvh - 32px);padding:20px 30px 22px;background:var(--cream);border:1px solid var(--line);border-radius:22px;box-shadow:0 18px 70px oklch(25% .03 15 / .2);text-align:center}#welcome-tour::backdrop{background:oklch(25% .03 15 / .48)}.tour-top{display:flex;align-items:center;justify-content:space-between;gap:16px}.tour-logo{width:112px;height:112px;object-fit:contain;margin:0 auto 12px;display:block}#tour-kicker{line-height:1.6;font-size:11px;letter-spacing:1.1px;margin:0 0 12px}#tour-title{font:800 32px/1.08 var(--display);letter-spacing:-1px;margin:0 auto 18px;max-width:14ch;color:var(--burgundy)}#tour-title:focus{outline:none}#tour-description{font-size:16px;line-height:1.65;margin:0 auto;max-width:37ch}#tour-hint{font-size:13px;line-height:1.6;color:var(--muted);padding:12px 14px;background:var(--lilac);border-radius:10px;margin:20px 0}.tour-progress{display:flex;align-items:center;gap:14px;margin:22px 0 16px;text-align:left;font-size:12px;color:var(--muted)}.tour-progress progress{height:5px;flex:1;border:0;border-radius:5px;overflow:hidden;accent-color:var(--burgundy)}.tour-progress progress::-webkit-progress-bar{background:var(--line)}.tour-progress progress::-webkit-progress-value{background:var(--burgundy)}.tour-actions{display:flex;gap:10px}.tour-actions .button{flex:1;min-height:48px}#tour-skip{margin-top:6px;color:var(--muted)}
@media(min-width:721px) and (max-width:950px){.brand-logo img{width:64px;height:64px}.brand-app-name{font-size:9px;letter-spacing:1.4px}.sidebar .brand-logo{width:64px}}
@media(max-width:720px){.sidebar .brand-logo{flex-direction:row;gap:2px;min-height:54px}.sidebar .brand-logo img{width:62px;height:62px}.sidebar .brand-app-name{margin:0;font-size:10px;letter-spacing:1.4px}.mini-logo img{min-width:32px;min-height:32px}.avatar img{width:44px;height:44px}#welcome-tour{padding:14px 22px 16px}.tour-logo{width:92px;height:92px;margin-bottom:10px}#tour-title{font-size:30px}#tour-description{font-size:15px}.tour-progress{margin-top:16px}}
@media(prefers-reduced-motion:no-preference){#welcome-tour[open]{animation:tour-in .18s ease-out}@keyframes tour-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}}

/* Frame the existing sticker itself, without its square image background. */
img[src="/loaf-mark.webp"]{clip-path:circle(35.5% at 50% 49%);transform:scale(1.4)}

#canvas-wrap{touch-action:pan-y pinch-zoom}#canvas-wrap:focus-visible{outline:3px solid var(--burgundy);outline-offset:3px}

/* One editor on every screen. The preview, headline and destination stay together. */
#page-create .page-heading{margin-bottom:16px;gap:12px}
#page-create .page-heading h1{font-size:28px;margin:0;letter-spacing:-.8px}
#page-create .editor-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,.85fr);gap:20px 36px;align-items:start}
.editor-target{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:20px;padding-bottom:16px;border-bottom:1px solid var(--line)}
.editor-target .platforms{gap:8px}.editor-target .platforms button{flex-direction:row;gap:6px;min-height:44px;font-size:13px;padding:8px}
.target-format select{height:44px;font-size:14px;min-height:44px}
.export-languages{font-size:14px;gap:8px;min-height:44px;margin-bottom:12px}.export-languages input{width:18px;height:18px}

#page-create .preview-panel{grid-column:1;grid-row:2 / span 5;position:sticky;top:20px;display:block;padding:0;min-width:0}
#page-create .preview-heading{display:flex;margin:0 0 10px;width:100%;gap:16px;align-items:center}
#page-create .caption-tabs{border:0;margin:0 0 0 auto;gap:14px;min-height:36px}
#page-create .caption-tabs button{font-size:13px;min-height:36px;padding:5px 0}
#page-create .pill{font-size:12px;border:0;padding:0;background:none;color:var(--muted)}
#page-create .preview-stage{padding:0;background:var(--lilac);border-radius:10px;overflow:hidden;min-height:120px;width:100%}
#page-create #canvas-wrap{width:min(100%,calc(min(55svh,480px) * var(--post-ratio,.8)));margin:auto;aspect-ratio:var(--post-ratio,.8);overflow:hidden}
#preview-loading{position:absolute;inset:auto 8px 8px;background:var(--paper);color:var(--muted);padding:6px 10px;border-radius:6px;font-size:12px;text-align:center;pointer-events:none}
.headline-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:44px;margin-top:6px}
.headline-heading h2{font-size:16px;margin:0}.headline-heading .check-label{font-size:13px;min-height:44px;gap:8px}.headline-heading input{width:18px;height:18px}
.headline-editor textarea{font-size:17px;line-height:1.4;min-height:68px;padding:10px 12px;resize:vertical}.headline-editor textarea:disabled{color:var(--muted);background:var(--cream)}
#page-create .slogan-picker{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:6px}
#page-create #slogan-position{font-size:12px;font-weight:400;color:var(--muted);margin-left:8px}
#page-create .slogan-picker .icon-button{width:44px;min-height:44px;font-size:23px;border:0;border-radius:6px;background:transparent;color:var(--burgundy)}
#page-create .detail-control{margin:0;padding:0;border-top:1px solid var(--line);font-size:14px}
#page-create .detail-control>summary{min-height:48px;font-size:14px;font-weight:600}
#page-create .details-content{padding:0 0 16px}
#page-create .details-content label{font-size:14px}.details-content .check-label{display:flex;gap:8px;min-height:44px}.details-content .check-label input{width:18px;height:18px}
#page-create .editor-section,#page-create #ai-image-details{grid-column:2;min-width:0;width:100%;background:none;border:0;border-radius:0;margin:0;padding:0}
#page-create .editor-section h2{font:650 16px var(--sans);margin:0}#page-create #photo-source .label-row{margin:0 0 10px;min-height:32px}
#page-create #photo-strip{gap:10px;margin:0;padding:3px 3px 6px}
#page-create #photo-strip .photo-choice{flex:0 0 86px;height:108px;min-height:0;aspect-ratio:auto}
#page-create #photo-strip .photo-choice img{height:72px;width:100%;object-fit:cover}
#page-create .photo-choice-name{font-size:11px;min-height:32px;padding:4px;line-height:1.25}
#page-create #asset-source{margin:4px 0 0;font-size:12px}
#page-create .caption-panel{border-block:1px solid var(--line);padding:16px 0}
#page-create .caption-heading .text-button{font-size:14px;min-height:44px}
#page-create .caption-panel .helper{margin:0 0 8px;font-size:13px}
#page-create #caption{border:1px solid var(--line);border-radius:8px;min-height:170px;font-size:16px;line-height:1.5;padding:12px;background:var(--paper)}
#page-create .caption-bottom{border:0;padding:0;font-size:12px}
#page-create #copy-tools,#page-create #ai-image-details{border-bottom:1px solid var(--line)}
#page-create #export-options{padding-top:10px}#page-create #export-options>h2{margin-bottom:14px}
#page-create .export-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}#page-create .export-row .button{font-size:13px;padding:10px;white-space:normal}
.save-actions{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:8px}#page-create .save-actions #save-draft{display:inline-flex}
#page-create #export-options .helper{font-size:12px;margin:4px 0}#share-status:empty{display:none}
#page-create .posting-tip{padding:16px 0}#page-create .posting-tip summary{font-size:13px;min-height:44px;display:flex;align-items:center}
.library-image{height:auto}#page-create textarea,#page-create select{font-size:16px}#export-options,#ai-image-details{scroll-margin-top:16px}
@media(max-width:1100px){.editor-target{grid-template-columns:1fr;gap:10px}#page-create .editor-layout{gap:20px;grid-template-columns:minmax(0,1fr) minmax(290px,1fr)}}
@media(max-width:720px){
  body[data-page=create] main{padding:10px 16px 100px}
  #page-create .page-heading{margin:0 0 10px;flex-wrap:nowrap;min-height:40px}#page-create .page-heading h1{font-size:24px}#export-shortcut{font-size:13px;min-height:44px;white-space:nowrap}
  #page-create .editor-layout{display:flex;flex-direction:column;gap:10px}
  .editor-target{width:100%;padding-bottom:0;border:0;gap:8px;grid-template-columns:176px minmax(0,1fr)}
  .editor-target .platforms{gap:0;grid-template-columns:repeat(4,44px)}.platform-name{display:none}.editor-target .platforms button{height:44px;font-size:11px;padding:6px 2px;gap:4px}.editor-target .platforms button .icon{width:19px;height:19px}
  #page-create .target-format select{font-size:14px;padding:8px}
  #page-create .preview-panel{width:100%;position:static;order:0}
  #page-create .preview-heading{margin-bottom:6px;min-height:30px}#page-create .caption-tabs{min-height:30px}#page-create .caption-tabs button{min-height:44px;font-size:12px}
  #page-create #canvas-wrap{width:min(100%,calc(clamp(160px,100svh - 440px,360px) * var(--post-ratio,.8)))}
  .headline-editor textarea{min-height:60px;font-size:16px;line-height:1.35;padding:8px 10px}
  .headline-heading{margin-top:4px;min-height:40px}.headline-heading .check-label{min-height:44px}
  #page-create .editor-section,#page-create #ai-image-details{order:0}
  #page-create .caption-panel{padding:14px 0}#page-create #photo-source{margin-top:2px}
  #page-create #photo-adjustments{margin-top:2px}#page-create #export-options{padding-top:0}
}
