@import"https://fonts.googleapis.com/css2?family=Abril+Fatface&family=Alice&family=Amatic+SC:wght@400;700&family=Bebas+Neue&family=Bellefair&family=Berkshire+Swash&family=Bungee&family=Cinzel:wght@400;700;900&family=Cinzel+Decorative:wght@400;700;900&family=Comic+Neue:wght@400;700&family=Cormorant+Garamond:wght@400;700&family=Cormorant+Infant:wght@400;700&family=Cormorant+SC:wght@400;700&family=Crimson+Text:wght@400;700&family=DM+Serif+Display&family=Eczar:wght@400;700;800&family=Elsie+Swash+Caps:wght@400;900&family=Fascinate+Inline&family=Fredericka+the+Great&family=Grenze+Gotisch:wght@400;700;900&family=IM+Fell+English+SC&family=Josefin+Slab:wght@400;700&family=Lexend:wght@400;700;900&family=Libre+Baskerville:wght@400;700&family=Literata:wght@400;700;900&family=Lora:wght@400;700&family=Luckiest+Guy&family=Marcellus&family=Merriweather:wght@400;700;900&family=Miltonian+Tattoo&family=Neuton:wght@400;700;800&family=Nunito:wght@400;700;900&family=Playfair+Display:wght@400;700;900&family=Prata&family=Rakkas&family=Ribeye+Marrow&family=Rye&family=Sancreek&family=Special+Elite&family=Spectral:wght@400;700;800&family=Uncial+Antiqua&family=Vollkorn:wght@400;700;900&family=Yeseva+One&family=Young+Serif&display=swap";@layer properties,theme,base,components,utilities;@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer utilities{.visible{visibility:visible}.fixed{position:fixed}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.order-100{order:100}.grid{display:grid}.hidden{display:none}.table{display:table}.resize{resize:both}.lowercase{text-transform:lowercase}.italic{font-style:italic}.underline{text-decoration-line:underline}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}:root{--template-editor-min-width:1180px;color:#f5f0e8;font-synthesis:none;text-rendering:geometricprecision;background:#080808;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{background-color:#080808;background-image:linear-gradient(90deg,#ffd1180a 1px,#0000 1px),linear-gradient(#ffd11809 1px,#0000 1px),none;background-position:0 0,0 0,0 0;background-repeat:repeat,repeat,repeat;background-size:42px 42px;background-attachment:scroll,scroll,scroll;background-origin:padding-box,padding-box,padding-box;background-clip:border-box,border-box,border-box;min-width:320px;min-height:100vh;margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}.studio-app{grid-template-columns:260px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{background:linear-gradient(#0b0b0d,#090909 58%,#11100f);border-right:1px solid #34312f;flex-direction:column;height:100vh;padding:24px 18px 18px;display:flex;position:sticky;top:0;overflow-y:auto}.brand,.auth-brand{color:#f6f2ea;align-items:center;gap:12px;font-size:25px;font-weight:800;text-decoration:none;display:flex}.auth-brand{color:#ffd60d;font-size:24px}.brand-mark,.avatar{color:#ffd60d;border:2px solid #ffd60d;border-radius:50%;place-items:center;width:42px;height:42px;font-weight:900;display:grid}.side-nav{flex-direction:column;flex:1;gap:8px;margin-top:34px;display:flex}.side-link{color:#d7d1ca;border-radius:7px;align-items:center;gap:14px;padding:13px 14px;text-decoration:none;transition:background .16s,color .16s,border-color .16s;display:flex}.side-link.active,.side-link:hover{color:#fff;background:linear-gradient(90deg,#381823,#25191b 70%,#0000);border-left:3px solid #ffd60d}.icon{stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8px;width:21px;height:21px}.sidebar-user{border-top:1px solid #292625;align-items:center;gap:12px;padding-top:18px;display:flex}.account-scope-panel{background:#131112db;border:1px solid #342a2a;border-radius:8px;gap:10px;margin-bottom:16px;padding:13px;display:grid}.workspace-header .account-scope-panel{grid-template-columns:repeat(3,minmax(0,1fr));width:min(100%,700px);margin-bottom:0}.scope-heading{color:#ffd60d;text-transform:uppercase;justify-content:space-between;align-items:center;font-size:13px;font-weight:800;display:flex}.workspace-header .scope-heading,.workspace-header .scope-message{grid-column:1/-1}.scope-heading small,.scope-message{color:#a9a19b;text-transform:none;font-size:12px;font-weight:600}.scope-message{margin:0}.sidebar-user strong,.sidebar-user small{display:block}.sidebar-user small,.subtle,.muted-text{color:#a9a19b}.main-shell{min-width:0}.workspace{min-height:100vh;padding:22px 24px}.workspace-header{justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:18px;display:flex}.product-workspace-header{align-items:center}.product-workspace-action{flex:none;min-width:0}.orders-grid .workspace-header{grid-template-columns:1fr;gap:14px;display:grid}h1,h2,h3,p{margin-top:0}h1{margin-bottom:4px;font-size:32px;line-height:1.1}h2{font-size:18px}h3{font-size:16px}.orders-grid{grid-template-columns:minmax(0,1fr) 330px;min-height:100vh;display:grid}.account-switcher{grid-template-columns:repeat(2,minmax(210px,1fr));gap:14px;display:grid}label{color:#d9d2ca;gap:7px;font-size:13px;display:grid}input,select,textarea{color:#f8f0e8;background:#171719;border:1px solid #403737;border-radius:6px;outline:none;width:100%;padding:12px 13px}input:focus,select:focus,textarea:focus{border-color:#ffd60d;box-shadow:0 0 0 2px #ffd60d2e}textarea{resize:vertical;min-height:96px}.toolbar{gap:18px;margin-bottom:16px;display:flex}.toolbar select{color:#ffd60d;border-color:#ffd60d;max-width:148px}.toolbar input{max-width:285px}.kanban{grid-template-columns:repeat(6,minmax(166px,1fr));gap:8px;min-height:calc(100vh - 210px);display:grid;overflow-x:auto}.board-column{background:linear-gradient(#19191b,#111113);border:1px solid #282626;border-radius:7px;flex-direction:column;min-width:166px;display:flex}.board-column header{align-items:center;gap:8px;padding:14px 12px;display:flex}.board-column h2{margin:0;font-size:14px}.board-column header span{color:#d8d0c8;background:#333030;border-radius:8px;padding:2px 7px}.order-list{flex-direction:column;gap:8px;padding:0 7px 10px;display:flex}.order-card{color:#cfc6be;text-align:left;background:linear-gradient(135deg,#521c249e,#1d1919f0);border:1px solid #5b2a32;border-radius:7px;gap:8px;width:100%;min-width:0;padding:12px;display:grid}.order-card.ready-for-review{border-color:#b89619}.order-card.approved{background:linear-gradient(135deg,#22412a9e,#191d1af0);border-color:#31583e}.order-card.failed{border-color:#8e2c31}.order-card.selected{border-color:#ffd60d;box-shadow:inset 0 0 0 1px #ffd60d}.order-row{color:#fff8ef;justify-content:space-between;gap:10px;min-width:0;display:flex}.order-row strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.order-row small{flex:none}.order-card span{min-width:0;font-size:13px}.order-email{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.order-price{color:#f4e8d5;justify-self:end;font-weight:700}.progress-row{align-items:center;gap:10px;display:flex}.radial{background:radial-gradient(circle at center,#231d20 56%,transparent 58%),conic-gradient(#ffd60d var(--progress),#4c2731 0);color:#f7ebde;border-radius:50%;place-items:center;width:46px;height:46px;font-size:12px;display:grid}.board-footer{color:#b8afa6;border:1px solid #282626;border-radius:7px;justify-content:space-between;margin-top:12px;padding:13px 16px;display:flex}.preview-panel,.share-panel{background:linear-gradient(#111113,#171013);border-left:1px solid #433739;min-height:100vh;padding:22px 20px}.preview-panel header,.share-panel header,.detail-panel header{justify-content:space-between;align-items:center;gap:16px;display:flex}.preview-panel header button,.share-panel header button{color:#f8f0e8;background:0 0;border:0;font-size:28px}.preview-tabs,.tabs{border-bottom:1px solid #403735;gap:18px;display:flex}.preview-tabs button,.tabs button{color:#c8c0b9;background:0 0;border:0;border-bottom:2px solid #0000;padding:13px 0}.preview-tabs button.active,.tabs button.active{color:#ffd60d;border-color:#ffd60d}.preview-controls{align-items:center;gap:10px;margin:14px 0;display:flex}.preview-controls span,.preview-controls button{color:#eee5dc;background:#171719;border:1px solid #403737;border-radius:6px;padding:8px 12px}.book-preview{color:#161616;text-align:center;background:#f0ede5;border:10px solid #303033;place-items:center;min-height:385px;padding:28px 20px;display:grid}.book-preview span{letter-spacing:0;font-family:Georgia,serif;font-size:28px;line-height:1.1}.mountain-art{clip-path:polygon(0 100%,12% 76%,22% 83%,36% 43%,50% 72%,68% 20%,82% 64%,100% 39%,100% 100%);filter:grayscale();background:linear-gradient(145deg,#0000 44%,#727272 45% 50%,#0000 51%),linear-gradient(30deg,#0000 45%,#a4a4a4 46% 54%,#0000 55%),linear-gradient(#0000 30%,#bdbdbd 31% 34%,#0000 35%),linear-gradient(#e2e0d8,#d2d0c8);width:min(190px,78%);height:150px}.metadata-list,.summary-list{gap:12px;margin:20px 0;display:grid}.metadata-list div,.summary-list div{justify-content:space-between;gap:18px;display:flex}dt{color:#aaa19a}dd{text-align:right;margin:0}.primary-button,.outline-button,.danger-button,.text-button{border-radius:6px;justify-content:center;align-items:center;min-height:42px;padding:0 16px;font-weight:800;display:inline-flex}.compact-button{width:auto;min-height:36px}.primary-button{color:#090909;background:linear-gradient(#ffe66a,#ffd10c);border:1px solid #ffd60d;width:100%}.outline-button{color:#f5ece3;background:#151517;border:1px solid #4f4847}.danger-button{color:#ff8f93;background:#8e2c3129;border:1px solid #8e2c31}.text-button{color:#ffd60d;background:0 0;border:0}.danger-text{color:#ff5b5f}.field-hint{color:#9f9690;font-size:12px;line-height:1.35}.error-text{color:#ff8f5b}.success-text{color:#55d86f}.status-banner{border-radius:8px;padding:10px 12px;font-size:13px;line-height:1.4}.status-banner.success{color:#7ae08d;background:#224d2a4d;border:1px solid #55d86f57}.status-banner.warning{color:#ffe37c;background:#6e540a3d;border:1px solid #ffd60d57}.status-banner.error{color:#ffb18a;background:#682a1647;border:1px solid #ff8f5b57}.accounts-layout{grid-template-columns:minmax(0,1fr) 360px;min-height:100vh;display:grid}.shops-page{align-content:start;display:grid}.shop-layout{grid-template-columns:minmax(320px,.75fr) minmax(420px,1.25fr);align-items:start;gap:14px;display:grid}.state-page{place-items:center;min-height:100vh;padding:28px;display:grid}.state-page .detail-panel{width:min(100%,480px)}.split-panel{grid-template-columns:minmax(320px,.9fr) minmax(400px,1.1fr);gap:14px;display:grid}.list-panel,.detail-panel,.settings-panel,.monitor-card,.stat-card{background:linear-gradient(135deg,#3e191fbd,#121112f2);border:1px solid #543437;border-radius:8px}.list-panel,.detail-panel{padding:16px}.empty-state,.empty-preview{align-content:center;justify-items:start;gap:14px;display:grid}.empty-state{min-height:360px}.empty-state p,.empty-preview p{color:#b8afa6;max-width:420px;margin:0}.empty-preview{text-align:center;justify-items:center}.account-tree{border:1px solid #3b3231;border-radius:7px;gap:0;margin:16px 0;display:grid;overflow:hidden}.shop-list{margin-top:14px}.account-row{color:#f6eee4;text-align:left;background:#141213d6;border:0;border-bottom:1px solid #3b3231;grid-template-columns:32px 1fr auto auto;align-items:center;gap:10px;padding:12px 14px;display:grid}.account-row.active{background:#401f22e0;border-left:3px solid #ffd60d}.shop-row{color:#d8d0c8;grid-column:2/-1;padding:4px 0 4px 26px}.provider-badge{color:#fff;background:linear-gradient(135deg,#ff8a1c,#f04f13);border-radius:6px;place-items:center;width:30px;height:30px;font-family:Georgia,serif;font-size:24px;display:inline-grid}.provider-badge.large{width:45px;height:45px;font-size:34px}.pill{color:#fff8ef;background:#50494c;border-radius:999px;padding:4px 9px;font-size:12px;font-weight:800}.pill.yellow{color:#111;background:#ffd60d}.credential-panel,.connected-shops{border:1px solid #4b3839;border-radius:7px;margin-top:14px;padding:14px}.credential-panel h3{justify-content:space-between;display:flex}.credential-panel h3 span{color:#5ee06c;font-size:13px}.credential-panel div{justify-content:space-between;padding:8px 0;display:flex}.connected-shops{flex-wrap:wrap;gap:8px;display:flex}.connected-shops h3{width:100%}.connected-shops span{border:1px solid #514646;border-radius:6px;padding:7px 10px}.settings-form{border-top:1px solid #4b3839;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;width:100%;margin-top:14px;padding-top:14px;display:grid}.settings-form h3,.settings-form .primary-button,.settings-form .error-text,.settings-form .activity-list,.settings-form .profile-sync-set,.settings-form .advanced-settings{grid-column:1/-1}.settings-form label,.profile-sync-set{color:#aaa19a;gap:6px;font-size:14px;font-weight:800;display:grid}.settings-form input,.settings-form select,.profile-sync-set input{color:#fff8ef;min-height:42px;font:inherit;background:#151517;border:1px solid #3c3838;border-radius:6px;padding:0 12px}.profile-sync-set{border:1px solid #4b3839;border-radius:7px;grid-template-columns:minmax(180px,.7fr) minmax(0,1.3fr);padding:12px}.profile-sync-set legend{color:#fff8ef;padding:0 6px}.profile-sync-set .setup-note{grid-column:1/-1}.profile-sync-set .checkbox-row{color:#fff8ef;align-items:center;display:flex}.profile-sync-set .checkbox-row input{width:18px;min-height:18px;padding:0}.preset-actions{align-items:end;gap:8px;display:flex}.preset-actions .compact-button{flex:1}.advanced-settings{border:1px solid #4b3839;border-radius:7px;padding:12px}.advanced-settings summary{cursor:pointer;color:#fff8ef;font-size:15px;font-weight:900}.advanced-settings-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px;display:grid}.setup-note{color:#c7bcb5;margin:0;font-size:13px;font-weight:600;line-height:1.5}.setup-note a{color:#ffe24a;margin-left:8px;font-weight:800}.activity-list{gap:8px;margin:0;padding:0;list-style:none;display:grid}.activity-list li{border:1px solid #514646;border-radius:6px;gap:4px;padding:10px;display:grid}.activity-list span{color:#aaa19a;border:0;padding:0}.form-stack{gap:14px;display:grid}.account-form-panel{align-self:start}.account-form-panel header{border-bottom:1px solid #4b3839;justify-content:start;margin-bottom:18px;padding-bottom:18px}.account-form-panel header h2,.account-form-panel header p{margin:0}.form-actions{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;display:grid}.access-options{grid-template-columns:1fr 1fr;gap:14px;display:grid}.access-card{border:1px solid #514646;border-radius:7px;padding:14px}.access-card.selected{border-color:#ffd60d;box-shadow:inset 0 0 0 1px #ffd60d4d}.access-card input{width:auto}.grant-row{border-top:1px solid #3d3433;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:13px 0;display:grid}.grant-row button{color:#ff5b5f;background:0 0;border:1px solid #ff5b5f;border-radius:6px;padding:7px 10px}.profile-grid,.settings-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.profile-page{align-content:start;gap:20px;display:grid}.profile-grid{grid-template-columns:minmax(360px,.95fr) minmax(340px,.8fr);align-items:start}.profile-card,.password-card{padding:20px;position:relative;overflow:hidden}.profile-card:before,.password-card:before{pointer-events:none;content:"";position:absolute;inset:0}.profile-card:before{background:radial-gradient(circle at 11% 14%,#ffd60d1f,#0000 26%),linear-gradient(90deg,#ffd60d0f,#0000 42%)}.password-card:before{background:radial-gradient(circle at 88% 12%,#ffd60d1a,#0000 22%)}.profile-card>*,.password-card>*{position:relative}.profile-card-header{border-bottom:1px solid #4b3839;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;padding-bottom:18px;display:grid}.profile-card-header h2{margin:0 0 4px;font-size:22px}.profile-card-header p,.password-card header p{color:#b8afa6;margin:0}.profile-avatar,.security-mark{color:#ffd60d;border:2px solid #ffd60d;border-radius:50%;place-items:center;font-weight:900;display:grid}.profile-avatar{background:#17110e;width:58px;height:58px;font-size:18px}.security-mark{background:#ffd60d14;width:42px;height:42px}.profile-card .summary-list{background:#08080847;border:1px solid #4b3839;border-radius:7px;margin:18px 0;padding:2px 14px}.profile-card .summary-list div{border-bottom:1px solid #342c2d;padding:12px 0}.profile-card .summary-list div:last-child{border-bottom:0}.profile-card .summary-list dd{color:#fff8ef;text-overflow:ellipsis;white-space:nowrap;max-width:60%;font-weight:700;overflow:hidden}.profile-highlights{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.profile-highlights article{background:#0a0a0a52;border:1px solid #4b3839;border-radius:7px;padding:14px}.profile-highlights span,.profile-card-footer span{color:#b8afa6;font-size:13px;display:block}.profile-highlights strong{color:#ffd60d;margin:6px 0;font-size:22px;display:block}.profile-highlights small{color:#d2c7bd}.profile-card-footer{border-top:1px solid #4b3839;justify-content:space-between;gap:18px;margin-top:18px;padding-top:16px;display:flex}.profile-card-footer strong{color:#fff8ef}.password-card header{border-bottom:1px solid #4b3839;margin-bottom:18px;padding-bottom:18px}.settings-page{align-content:start;gap:10px;display:grid}.settings-page .settings-grid{grid-template-columns:minmax(0,1fr)}.tabs.full{border:1px solid #383433;border-radius:7px;padding:0 14px}.settings-panel{padding:12px}.provider-endpoint-list{gap:10px;display:grid}.provider-endpoint-card{background:#0a0a0a47;border:1px solid #4b3839;border-radius:7px;gap:10px;padding:12px;display:grid}.provider-endpoint-card header,.provider-endpoint-card footer{justify-content:space-between;align-items:center;gap:14px;display:flex}.provider-endpoint-card header strong{color:#fff8ef;display:block}.provider-endpoint-card header span,.provider-endpoint-card footer span{color:#b8afa6;font-size:13px}.provider-endpoint-card footer{border-top:1px solid #342c2d;padding-top:10px}.provider-endpoint-card footer.editor-footer{flex-wrap:wrap;align-items:flex-start}.editor-actions{flex-wrap:wrap;flex:520px;justify-content:flex-end;gap:10px;display:flex}.editor-actions .outline-button{flex:0 180px}.editor-actions .primary-button{flex:0 200px}.provider-endpoint-card .compact-button{white-space:nowrap;min-width:132px}.cover-builder-card{margin-top:10px}.cover-preview-box{color:#918781;background:#151515;border:1px solid #3f3838;border-radius:7px;place-items:center;min-height:220px;display:grid;overflow:hidden}.cover-preview-box img{object-fit:cover;width:100%;height:100%}.product-draft-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px;display:grid}.product-catalog-toolbar{margin-bottom:12px}.product-catalog-summary{margin-bottom:10px}.product-editor-shell{gap:10px;display:grid}.template-catalog-page{box-sizing:border-box;gap:18px;width:min(100%,1228px);padding:22px 24px;display:grid}.template-catalog-header{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.template-catalog-header h1,.template-catalog-panel h2{margin:0}.template-catalog-header p,.template-catalog-panel p{color:#a9a19b;margin:4px 0 0}.template-catalog-header p{max-width:520px}.template-catalog-action{white-space:nowrap;flex:none;width:auto;min-width:156px;box-shadow:0 10px 24px #ffd60d1f}.template-catalog-panel{background:linear-gradient(#151517f5,#0e0e10fa);border-color:#342f2f;gap:12px;display:grid}.template-catalog-panel header{justify-content:space-between;align-items:center}.template-catalog-filters{background:#111113;border:1px solid #302c2b;border-radius:8px;flex-wrap:wrap;align-items:end;gap:10px;padding:10px;display:flex}.template-catalog-filters label{color:#d8d0c9;gap:5px;min-width:180px;font-size:12px;font-weight:800;display:grid}.template-catalog-filters select,.template-category-select,.template-status-select{color:#fff8ef;background:#151517;border:1px solid #3a3434;border-radius:7px;min-height:34px;padding:6px 10px}.template-catalog-empty,.template-catalog-card{background:#151517;border:1px solid #302c2b;border-radius:8px}.template-catalog-empty{justify-items:start;gap:10px;min-height:150px;padding:22px;display:grid}.template-catalog-empty span{color:#a9a19b}.template-catalog-list{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:10px;display:grid}.template-catalog-card{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:14px;display:grid}.template-catalog-card-main{grid-template-columns:86px minmax(0,1fr);align-items:center;gap:14px;min-width:0;display:grid}.template-catalog-thumbnail{aspect-ratio:1;color:#746e68;text-align:center;background:linear-gradient(145deg,#211f20,#0f0f11);border:1px solid #3a3434;border-radius:8px;place-items:center;width:86px;font-size:11px;font-weight:800;line-height:1.2;display:grid;overflow:hidden}.template-catalog-thumbnail img{object-fit:cover;width:100%;height:100%}.template-catalog-card-copy{min-width:0}.template-catalog-title-row{flex-wrap:wrap;align-items:center;gap:8px;min-width:0;display:flex}.template-status-badge{color:#fff8ef;text-transform:uppercase;border:1px solid #4a4034;border-radius:999px;align-items:center;min-height:24px;padding:3px 9px;font-size:12px;font-weight:900;line-height:1;display:inline-flex}.template-status-badge.draft{color:#ffe15a;background:#ffd60d1a;border-color:#ffd60d75}.template-status-badge.ready{color:#83ee9c;background:#5ddc871a;border-color:#5ddc8775}.template-status-badge.connected{color:#9cc8ff;background:#60a5fa1f;border-color:#60a5fa80}.template-catalog-card-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.template-catalog-card-copy strong,.template-catalog-card-copy>span,.template-catalog-card-copy code,.template-catalog-card-copy small{display:block}.template-catalog-card-copy strong{color:#fff8ef;font-size:16px}.template-catalog-card-copy>span,.template-catalog-card-copy small{color:#a9a19b}.template-catalog-card-copy code{color:#f5c047;text-overflow:ellipsis;white-space:nowrap;font-size:.78rem;overflow:hidden}@media(max-width:840px){.template-catalog-page{padding:18px 16px}.template-catalog-header{display:grid}.template-catalog-action{justify-self:start}.template-catalog-card{grid-template-columns:1fr}.template-catalog-card-main{grid-template-columns:72px minmax(0,1fr)}.template-catalog-thumbnail{width:72px}.template-catalog-card-actions{justify-content:flex-start}}.template-workspace{min-width:var(--template-editor-min-width);height:calc(100vh - 28px);min-height:620px;display:grid;position:relative;overflow-x:auto}.template-loading-backdrop{z-index:80;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#050507ad;place-items:center;display:grid;position:fixed;inset:0}.template-loading-popup{color:#fff8ef;background:linear-gradient(#171514fa,#0b0b0dfa);border:1px solid #ffd60d4d;border-radius:10px;grid-template-columns:auto minmax(0,1fr);gap:14px;width:min(440px,100vw - 36px);padding:18px;display:grid;box-shadow:0 24px 70px #00000080}.template-loading-popup strong{font-size:17px;line-height:1.2;display:block}.template-loading-popup p{color:#b7aea7;margin:5px 0 0;font-size:13px;line-height:1.4}.template-loading-spinner{border:3px solid #ffd60d33;border-top-color:#ffd60d;border-radius:999px;width:34px;height:34px;animation:.9s linear infinite template-loading-spin}.template-loading-steps{grid-column:1/-1;gap:8px;margin:4px 0 0;padding:0;list-style:none;display:grid}.template-loading-steps li{color:#8f8782;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:9px;font-size:13px;display:grid}.template-loading-steps span{color:#8f8782;background:#151517;border:1px solid #3a3432;border-radius:999px;place-items:center;width:22px;height:22px;font-size:12px;font-weight:900;display:grid}.template-loading-steps li.active{color:#fff8ef}.template-loading-steps li.active span{color:#ffd60d;border-color:#ffd60d}.template-loading-steps li.complete{color:#75d783}.template-loading-steps li.complete span{color:#75d783;background:#2a613247;border-color:#75d78380}@keyframes template-loading-spin{to{transform:rotate(360deg)}}.template-editor-app{min-width:var(--template-editor-min-width);background:#0d0d0f;border:1px solid #302c2b;border-radius:8px;grid-template-rows:auto minmax(0,1fr) auto auto;min-height:0;display:grid;overflow:hidden;box-shadow:0 22px 60px #00000061}.template-topbar{background:#0e0e10f5;border-bottom:1px solid #2b2726;grid-template-columns:minmax(250px,1fr) auto;align-items:center;gap:10px;min-height:56px;padding:8px 12px;display:grid}.template-brand-block,.template-menu-bar,.template-tool-row,.template-canvas-footer,.template-toggle-row{align-items:center;gap:8px;display:flex}.template-brand-block,.template-brand-block>div{min-width:0}.template-menu-bar{white-space:nowrap;justify-content:flex-end;gap:6px;min-width:0}.template-menu-divider{background:#302c2b;width:1px;height:26px}.template-mark{color:#ffd60d;background:linear-gradient(145deg,#301820,#151517);border:1px solid #5b4435;border-radius:8px;place-items:center;width:38px;height:38px;font-weight:900;display:grid}.template-title-input{color:#fff8ef;background:0 0;border:0;width:min(100%,320px);min-height:24px;padding:0;font-size:17px;font-weight:900}.template-key-input{color:#f5c047;background:0 0;border:0;width:min(100%,300px);min-height:20px;padding:0;font-family:ui-monospace,SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:12px}.template-key-input::placeholder{color:#f5c04785}.template-category-select{width:210px;font-size:12px}.template-status-select{border-color:#ffd60d52;width:120px;font-size:12px;font-weight:900}.template-status-select.ready{color:#83ee9c;border-color:#5ddc8780}.template-status-select.connected{color:#9cc8ff;border-color:#60a5fa80}.template-brand-block span:not(.template-mark){color:#a9a19b;font-size:11px}.template-topbar button,.template-topbar select,.template-tool-row button,.template-tool-row select,.template-canvas-footer button{color:#fff8ef;background:#151517;border:1px solid #3a3434;border-radius:7px;min-height:34px;padding:6px 10px}.template-topbar .primary-button{white-space:nowrap;width:auto;min-width:148px}.template-topbar select{min-width:0;height:34px;padding-right:28px}.template-zoom-select{width:92px}.template-icon-button,.template-save-button{color:#fff8ef;background:#151517;border:1px solid #3a3434;border-radius:7px;justify-content:center;align-items:center;gap:7px;min-height:34px;padding:6px 9px;display:inline-flex}.template-icon-button{width:36px;padding:0}.template-icon-button:disabled{cursor:not-allowed;opacity:.45}.template-icon-button:not(:disabled):hover,.template-save-button:not(:disabled):hover{border-color:#ffd60d}.template-save-button{color:#160f08;background:linear-gradient(#ffe05d,#e5b913);border-color:#ffd60d80;font-weight:900}.template-save-button:disabled{opacity:.55}.template-save-button .template-tool-icon{width:16px;height:16px}.template-editor-grid{grid-template-columns:244px minmax(420px,1fr) minmax(330px,380px);min-height:0;display:grid}.template-left-rail,.template-inspector{background:#111113;border-right:1px solid #2b2726;align-content:start;gap:12px;min-height:0;padding:12px;display:grid;overflow-y:auto}.template-inspector{z-index:2;border-left:1px solid #2b2726;border-right:0;position:relative}.template-left-rail section,.template-inspector section{gap:10px;display:grid}.template-left-rail header{color:#fff8ef;justify-content:space-between;display:flex}.template-page-list,.template-layer-list,.template-properties-panel,.template-personalization-panel{gap:8px;display:grid}.template-page-item,.template-layer-row{color:#fff8ef;text-align:left;background:#151517;border:1px solid #2d2a29;border-radius:8px;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:10px;padding:8px;display:grid}.template-layer-row{grid-template-columns:28px minmax(0,1fr) auto}.template-page-item.active,.template-layer-row.active,.template-toggle-row button.active{background:linear-gradient(#ffd60d1c,#ffd60d08);border-color:#ffd60d}.template-page-thumb{color:#ffd60d;background:#1f1f22;border:1px solid #403b39;border-radius:6px;place-items:center;width:46px;height:58px;font-size:12px;font-weight:900;display:grid;overflow:hidden}.template-page-thumb img{object-fit:cover;width:100%;height:100%;display:block}.template-page-item strong,.template-layer-row strong{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.template-page-item small,.template-layer-row small{color:#a9a19b;font-size:11px}.template-page-item em{color:#d8d0c9;background:#2b2726;border-radius:999px;place-items:center;min-width:22px;height:22px;font-size:12px;font-style:normal;display:grid}.full-button{text-align:center;justify-content:center;width:100%}.template-left-rail input[type=file]{display:none}.template-asset-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:112px;align-content:start;gap:8px;min-height:0;max-height:min(46vh,460px);padding-right:2px;display:grid;overflow:hidden auto}.template-asset-tile{color:#a9a19b;background:#09090a;border:1px solid #3a3434;border-radius:8px;width:100%;min-width:0;height:112px;padding:0;line-height:0;transition:border-color .16s,box-shadow .16s,transform .16s;display:block;position:relative;overflow:hidden}.template-asset-tile img{object-fit:contain;width:100%;height:100%;display:block}.template-asset-tile span{overflow-wrap:anywhere;text-align:center;place-items:center;width:100%;height:100%;padding:8px;line-height:1.25;display:grid}.template-asset-tile:hover,.template-asset-tile:focus-visible,.template-asset-tile.active{border-color:#ffd60d;box-shadow:0 0 0 1px #ffd60d52}.template-asset-tile:focus-visible{outline-offset:2px;outline:2px solid #ffd60d}.template-asset-tile:active{transform:translateY(1px)}.template-canvas-column{background:radial-gradient(circle at top,#ffd60d0d,#0000 26%),#0f0f10;grid-template-rows:auto minmax(0,1fr) auto;min-width:0;min-height:0;display:grid;overflow:hidden}.template-tool-row{background:#111113;border-bottom:1px solid #2b2726;flex-wrap:wrap;align-content:start;gap:6px;padding:7px 8px;overflow:visible}.template-tool-row button,.template-tool-label-button,.template-tool-select{color:#fff8ef;background:#151517;border:1px solid #3a3434;border-radius:7px;flex:0 auto;align-items:center;gap:6px;max-width:100%;min-height:32px;padding:5px 8px;font-size:13px;font-weight:800}.template-tool-row button,.template-tool-label-button{justify-content:center;min-width:0;display:inline-flex}.template-hidden-input{display:none}.template-tool-label-button{cursor:pointer}.template-tool-row .template-tool-icon-button{flex:0 0 32px;width:32px;padding:0}.template-tool-row button.active{background:linear-gradient(#ffd60d24,#ffd60d0a);border-color:#ffd60d}.template-tool-select{display:inline-flex}.template-tool-row button span{white-space:normal;min-width:0}.template-tool-row select{background:0 0;border:0;width:auto;min-width:104px;min-height:0;padding:0 18px 0 0}.template-tool-icon{stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8px;flex:0 0 15px;width:15px;height:15px}.template-tool-row button:disabled .template-tool-icon,.template-tool-select:has(select:disabled) .template-tool-icon{opacity:.42}.template-canvas-shell{min-width:0;min-height:0;position:relative;overflow:hidden}.template-canvas-scroll{height:100%;padding:28px;scroll-padding:28px;display:block;overflow:auto}.template-stage-frame{background:#151517;border:1px solid #3a3434;border-radius:7px;margin:0 auto;position:relative;overflow:hidden;box-shadow:0 14px 34px #00000057}.template-guide{pointer-events:none;border:1px dashed #ffd60d5c;position:absolute}.template-guide.trim{border-color:#ffd60d80}.template-guide.safe{border-color:#55d86fbf}.template-guide-label{z-index:3;color:#55d86f;font-size:12px;font-weight:900;position:absolute}.template-guide-label.safe{top:18px;left:24px}.template-guide-label.bleed{color:#4e8cff;bottom:18px;left:24px}.template-center-guide{z-index:6;pointer-events:none;position:absolute;inset:0}.template-center-guide-line{pointer-events:none;position:absolute}.template-center-guide-line.vertical{border-left:1px dashed #fff59ee6;width:0;top:0;bottom:0}.template-center-guide-line.horizontal{border-top:1px dashed #fff59ee6;height:0;left:0;right:0}.template-center-guide-line.layer.vertical{border-left-color:#53bafff2}.template-center-guide-line.layer.horizontal{border-top-color:#53bafff2}.template-center-guide-dot{border-radius:999px;width:9px;height:9px;position:absolute;transform:translate(-50%,-50%);box-shadow:0 0 0 2px #080808d9,0 0 16px #fff59eb3}.template-center-guide-dot.page{background:#fff59e}.template-center-guide-dot.layer{background:#53baff;box-shadow:0 0 0 2px #080808d9,0 0 16px #53baffbf}.template-canvas-page-count{color:#918781;font-size:12px;position:absolute;bottom:18px;right:20px}.template-canvas-footer{background:#111113;border-top:1px solid #2b2726;justify-content:center;padding:10px}.template-canvas-footer input{width:min(320px,40vw)}.template-inspector-tabs{border-bottom:1px solid #2b2726;grid-template-columns:repeat(3,minmax(0,1fr));margin:-12px -12px 0;display:grid}.template-inspector-tabs button{color:#d8d0c9;text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;border-bottom:2px solid #0000;min-height:44px;padding:0 4px;font-size:clamp(12px,1.1vw,16px);font-weight:800;overflow:hidden}.template-inspector-tabs button.active{color:#ffd60d;border-color:#ffd60d}.template-properties-panel label,.template-personalization-panel label{gap:6px;display:grid}.template-panel-heading{gap:4px;display:grid}.template-panel-heading span{color:#a9a19b;font-size:12px}.template-variable-row,.template-variable-form{background:#151517;border:1px solid #302c2b;border-radius:8px;gap:8px;padding:10px;display:grid}.template-variable-row code{color:#ffd60d}.template-variable-row button,.template-variable-form button{justify-self:start}.template-properties-panel textarea{resize:vertical}.template-color-field{align-content:start}.template-color-control{background:#171719;border:1px solid #403737;border-radius:7px;grid-template-columns:40px minmax(0,1fr);align-items:center;gap:8px;min-height:42px;padding:5px 8px 5px 5px;display:grid}.template-color-control:focus-within{border-color:#ffd60d;box-shadow:0 0 0 2px #ffd60d2e}.template-color-control input[type=color]{color:#0000;background:0 0;border:1px solid #5a504d;border-radius:6px;width:32px;height:32px;min-height:0;padding:0}.template-color-control input[type=color]::-webkit-color-swatch-wrapper{padding:0}.template-color-control input[type=color]::-webkit-color-swatch{border:0;border-radius:5px}.template-color-control input[type=color]::-moz-color-swatch{border:0;border-radius:5px}.template-color-control span{color:#fff8ef;text-overflow:ellipsis;white-space:nowrap;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:12px;font-weight:800;overflow:hidden}.template-font-picker{gap:6px;display:grid;position:relative}.template-font-picker>span{color:#d8d0c9}.template-font-trigger{color:#fff8ef;text-align:left;background:#151517;border:1px solid #3a3434;border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-height:48px;padding:8px 10px;display:grid}.template-font-trigger span{text-overflow:ellipsis;white-space:nowrap;font-size:22px;overflow:hidden}.template-font-trigger small{color:#918781;font-size:11px}.template-font-popover{z-index:8;background:#101012;border:1px solid #4a403d;border-radius:10px;gap:8px;padding:10px;display:grid;position:absolute;top:calc(100% + 8px);left:0;right:0;overflow:hidden;box-shadow:0 22px 60px #0000009e}.template-font-popover input{min-height:38px}.template-font-list{max-height:min(420px,58vh);padding-right:2px;display:grid;overflow-y:auto}.template-font-option{color:#fff8ef;text-align:left;background:0 0;border:0;border-radius:7px;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:8px;min-height:52px;padding:6px 8px;display:grid}.template-font-option:hover,.template-font-option.active{background:#ffd60d1f}.template-font-option span:last-child{text-overflow:ellipsis;white-space:nowrap;font-size:28px;line-height:1.1;overflow:hidden}.template-font-check{color:#ffd60d;font-size:18px;font-weight:900}.template-field-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.template-toggle-row{flex-wrap:wrap}.template-toggle-row button{color:#fff8ef;background:#151517;border:1px solid #3a3434;border-radius:7px;min-height:34px;padding:6px 10px}.template-preview-overlay{z-index:20;background:#000000b8;place-items:center;padding:30px;display:grid;position:fixed;inset:0}.template-preview-dialog{background:#111113;border:1px solid #403b39;border-radius:8px;grid-template-rows:auto minmax(0,1fr);width:min(1440px,96vw);height:min(92vh,1100px);max-height:92vh;display:grid;overflow:hidden;box-shadow:0 28px 80px #0000008c}.template-preview-dialog header{border-bottom:1px solid #2b2726;justify-content:space-between;padding:12px;display:flex}.template-preview-dialog header div{gap:2px;display:grid}.template-preview-dialog header span{color:#918781;font-size:12px}.template-preview-pages{grid-template-columns:repeat(auto-fit,minmax(min(420px,100%),1fr));align-items:start;gap:16px;min-height:0;padding:16px;display:grid;overflow-y:auto}.template-preview-pages article{background:#151517;border:1px solid #302c2b;border-radius:8px;gap:8px;padding:10px;display:grid}.template-preview-pages article header{border:0;justify-content:space-between;align-items:baseline;padding:0;display:flex}.template-preview-pages img,.template-preview-page-surface{aspect-ratio:1;object-fit:contain;background:#080808;border-radius:6px;width:100%;height:auto;max-height:72vh}.template-preview-page-surface{background-position:50%;background-repeat:no-repeat;background-size:100% 100%;display:block;position:relative;overflow:hidden;container-type:inline-size}.template-preview-layer{overflow-wrap:anywhere;white-space:pre-wrap;align-content:start;line-height:1.08;display:grid;position:absolute;overflow:hidden}.template-preview-image-layer{object-fit:contain;pointer-events:none;position:absolute}.product-editor-intro{justify-content:flex-end;align-items:center;gap:12px;display:flex}.product-editor-tabs{background:#0a0a0a6b;padding:0 14px}.product-editor-tabs button{padding:9px 0}.product-tab-panel{padding:14px}.konva-template-stage{z-index:1;position:relative}.template-page-editor{grid-template-columns:260px minmax(0,1fr) 320px;align-items:start;gap:10px;display:grid}.template-editor-left,.template-editor-right{align-items:start;gap:10px;display:grid;position:sticky;top:86px}.template-editor-center{gap:10px;min-width:0;display:grid}.template-editor-page-tabs,.template-editor-toolbar{background:#0b0b0bd6;border:1px solid #302c2b;border-radius:8px;flex-wrap:wrap;align-items:center;gap:8px;padding:8px;display:flex}.template-editor-page-tabs span{color:#d8d0c9;font-size:12px;font-weight:800}.template-editor-page-tabs button{color:#f7eee6;background:#151517;border:1px solid #3a3434;border-radius:7px;min-height:34px;padding:6px 14px}.template-editor-page-tabs button.active{background:linear-gradient(#5a42b8,#34266f);border-color:#7d5cff}.template-editor-toolbar select{color:#f7eee6;background:#151517;border:1px solid #3a3434;border-radius:7px;min-height:34px;padding:6px 10px}.toolbar-toggle{margin-left:auto}.compact-page-list{max-height:360px}.asset-strip{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;display:grid}.asset-strip-item{aspect-ratio:1.25;background:#151517;border:1px solid #393332;border-radius:6px;padding:0;display:block;overflow:hidden}.asset-strip-item img{object-fit:cover;width:100%;height:100%}.cover-logo-upload{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.cover-logo-upload input{display:none}.cover-logo-upload span{color:#a9a19b;font-size:12px}.placeholder-list{background:#101010a3;border:1px solid #302c2b;border-radius:8px;gap:8px;padding:10px;display:grid}.placeholder-list strong{color:#fff8ef}.placeholder-list code{color:#d8d0c9;font-size:12px}.layer-toolbar{flex-wrap:wrap;gap:8px;display:flex}.text-layer-list{gap:6px;max-height:280px;margin-bottom:12px;padding-right:2px;display:grid;overflow-y:auto}.text-layer-card{color:#fff8ef;text-align:left;background:#121212;border:1px solid #2d2a29;border-radius:8px;padding:9px 10px;display:block}.text-layer-card.active{background:linear-gradient(#ffd60d17,#ffd60d06);border-color:#ffd60d}.text-layer-card strong,.text-layer-card small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.text-layer-card strong{color:#fff8ef;font-size:13px}.text-layer-card small{color:#a9a19b;margin-top:3px;font-size:12px}.template-style-panel{gap:9px;display:grid}.template-style-panel input[type=color]{min-height:42px;padding:4px}.product-publishing-grid,.readiness-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.readiness-grid div{background:#0f0f0f57;border:1px solid #322d2c;border-radius:8px;padding:10px}.readiness-grid span,.asset-card-copy span,.structure-copy small,.book-structure-panel header span,.canvas-workspace-header span,.inspector-panel header span,.inspector-section header span{color:#a9a19b;font-size:13px}.readiness-grid strong{color:#fff8ef;margin-top:6px;font-size:22px;display:block}.book-editor,.book-preview-reader{gap:10px;display:grid}.book-preview-toolbar{z-index:4;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#080808f0;border:1px solid #322d2c;border-radius:8px;justify-content:space-between;align-items:center;gap:10px;padding:12px 14px;display:flex;position:sticky;top:0}.book-preview-toolbar-copy strong,.book-preview-surface header strong,.preview-page-empty strong{color:#fff8ef;display:block}.book-preview-toolbar-copy span,.book-preview-surface header span,.preview-page-empty span{color:#a9a19b;font-size:13px}.book-preview-stack{gap:12px;margin:0;padding:0;list-style:none;display:grid}.book-preview-surface{background:#0b0b0bd6;border:1px solid #302c2b;border-radius:8px;gap:10px;padding:12px;display:grid}.book-preview-surface header{justify-content:space-between;align-items:center;gap:12px;display:flex}.preview-page-canvas{justify-self:center;width:min(100%,240px)}.preview-page-empty{text-align:center;gap:8px;padding:18px}.page-preview-text.static{cursor:default}.book-editor-toolbar{z-index:4;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#080808f0;border:1px solid #322d2c;border-radius:8px;justify-content:space-between;align-items:center;gap:10px;padding:12px 14px;display:flex;position:sticky;top:0}.book-editor-toolbar-copy strong,.book-structure-panel header strong,.canvas-workspace-header strong,.inspector-panel header strong,.inspector-section header strong{color:#fff8ef;display:block}.book-editor-toolbar-copy span{color:#8ecf88;font-size:13px}.book-editor-layout{grid-template-columns:260px minmax(0,1fr);align-items:start;gap:12px;display:grid}.book-editor-layout.universal-editor-layout{grid-template-columns:minmax(0,1fr)}.book-structure-panel,.canvas-workspace,.inspector-panel{background:#0b0b0bd6;border:1px solid #302c2b;border-radius:8px;gap:10px;padding:12px;display:grid}.book-structure-panel{position:sticky;top:86px}.book-editor-main,.page-editor-layout,.page-editor-top-row,.page-editor-bottom-row,.page-editor-content{gap:10px;display:grid}.page-editor-content{grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);align-items:start}.book-structure-panel header,.canvas-workspace-header,.inspector-panel header,.inspector-section header{justify-content:space-between;gap:10px;display:flex}.inspector-action-stack{flex-wrap:wrap;gap:8px;display:flex}.book-import-panel{background:#1212129e;border:1px solid #2f2b29;border-radius:8px;gap:6px;padding:10px;display:grid}.book-import-panel strong{color:#fff8ef;display:block}.book-import-panel span{color:#a9a19b;font-size:12px}.book-import-actions{flex-wrap:wrap;gap:6px;display:flex}.book-import-actions input{display:none}.book-import-button{min-height:32px}.book-structure-list{gap:8px;max-height:calc(100vh - 260px);padding-right:2px;display:grid;overflow-y:auto}.structure-item{color:#fff8ef;text-align:left;background:#131313;border:1px solid #2d2a29;border-radius:8px;grid-template-columns:52px minmax(0,1fr);align-items:center;gap:10px;padding:8px;display:grid}.structure-item.active{background:linear-gradient(#ffd60d14,#ffd60d05);border-color:#ffd60d}.structure-thumb{color:#a9a19b;background:#1b1b1b;border:1px solid #3c3837;border-radius:6px;place-items:center;width:52px;height:68px;font-size:11px;font-weight:800;display:grid;overflow:hidden}.structure-thumb img{object-fit:cover;width:100%;height:100%}.structure-copy{min-width:0}.structure-copy strong{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.structure-footer{margin:0}.canvas-stage{background:radial-gradient(circle at top,#ffd60d0f,#0000 28%),#0f0f10;border-radius:8px;place-items:center;min-height:660px;padding:22px;display:grid}.canvas-viewport{width:min(100%,600px);display:grid}.page-preview-canvas{aspect-ratio:1;background:#121212;border:1px solid #4d4746;border-radius:8px;width:100%;max-width:none;position:relative;overflow:hidden;box-shadow:0 24px 50px #00000057;container-type:inline-size}.page-preview-canvas img{object-fit:cover;width:100%;height:100%;position:absolute;inset:0}.page-preview-canvas canvas{width:100%;height:100%;position:absolute;inset:0}.page-preview-empty{color:#918781;place-items:center;height:100%;display:grid}.page-preview-text{cursor:grab;-webkit-user-select:none;user-select:none;overflow-wrap:anywhere;white-space:pre-wrap;align-items:center;padding:14px;font-weight:700;line-height:1;display:grid;position:absolute}.page-preview-text.framed{background:#10101024;border:1px dashed #ffd60db8}.page-preview-text.interactive:active{cursor:grabbing}.page-preview-text span{display:block}.rendered-book-preview .preview-page-empty{position:absolute;inset:0}.page-preview-resize{cursor:nwse-resize;background:#ffd60d;border:0;border-radius:999px;width:18px;height:18px;padding:0;position:absolute;bottom:-8px;right:-8px;box-shadow:0 0 0 2px #111}.canvas-safe-line,.canvas-guide{pointer-events:none;position:absolute}.canvas-safe-line{border:1px dashed #ffd60d42;inset:18px}.canvas-safe-line.trim{border-color:#ffd60d66;inset:38px}.canvas-safe-line.safe{border-color:#ffd60dad;inset:72px}.canvas-guide.vertical{background:#ffd60de6;width:1px;top:0;bottom:0;left:50%;transform:translate(-.5px)}.canvas-guide.horizontal{background:#ffd60de6;height:1px;top:50%;left:0;right:0;transform:translateY(-.5px)}.canvas-workspace-footer{justify-content:space-between;align-items:center;gap:10px;display:flex}.canvas-workspace-header-page{grid-template-columns:minmax(120px,1fr) auto minmax(90px,1fr);align-items:center;display:grid}.canvas-workspace-heading{min-width:0}.canvas-workspace-tools{flex-wrap:wrap;justify-content:flex-end;align-items:flex-end;gap:8px;display:flex}.canvas-workspace-header-page .canvas-workspace-tools{justify-self:end}.canvas-image-tools{background:#101010b8;border:1px solid #302c2b;border-radius:10px;align-items:center;gap:6px;padding:5px 6px;display:flex}.canvas-image-tools input{display:none}.canvas-position-tools{flex-wrap:nowrap;justify-content:center;align-items:flex-end;gap:6px;display:flex}.canvas-workspace-header-page .canvas-position-tools{justify-self:center}.canvas-position-field{color:#cfc6be;letter-spacing:.04em;gap:3px;font-size:10px;display:grid}.canvas-position-field input{width:54px;min-height:28px;padding:3px 6px;font-size:12px}.canvas-reset-button{min-width:0}.safe-zone-toggle,.preview-name-field{gap:6px;display:grid}.safe-zone-toggle{grid-auto-flow:column;align-items:center}.safe-zone-toggle span{color:#d4ccc4}.inspector-panel{align-content:start;position:sticky;top:86px}.inspector-panel.below,.inspector-panel.inline-panel{position:static;top:auto}.inspector-panel-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.inspector-panel-grid.single-section{grid-template-columns:minmax(0,1fr)}.cover-panel-grid{grid-template-columns:minmax(280px,.8fr) minmax(360px,1.2fr);align-items:start}.cover-panel-grid .inspector-section:nth-child(2){grid-row:span 2}.inspector-section{background:#1212129e;border:1px solid #2f2b29;border-radius:8px;gap:10px;padding:12px;display:grid}.inspector-section.full-width{grid-column:1/-1}.inspector-section-body,.compact-grid{gap:10px;display:grid}.compact-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.section-toggle{color:#ffd60d;align-self:flex-start}.asset-card{background:#0e0e0e80;border:1px solid #2f2c2a;border-radius:8px;grid-template-columns:88px minmax(0,1fr);align-items:center;gap:10px;padding:10px;display:grid}.asset-card-toolbar{grid-column:1/-1;justify-content:flex-end;gap:8px;display:flex}.asset-card-preview{color:#918781;background:#171717;border-radius:6px;place-items:center;width:88px;height:88px;font-size:12px;display:grid;overflow:hidden}.asset-card-preview img{object-fit:cover;width:100%;height:100%}.asset-card-copy strong{display:block}.asset-card-toolbar input{display:none}.asset-card-icon-button{color:#fff8ef;cursor:pointer;background:#171615;border:1px solid #4a433d;border-radius:8px;place-items:center;width:30px;height:30px;font-size:18px;font-weight:700;line-height:1;display:inline-grid}.editor-toolbar-panel{gap:8px;display:grid}.text-style-toolbar{grid-template-columns:minmax(110px,1fr) repeat(3,minmax(58px,.6fr)) minmax(90px,.72fr);align-items:end;gap:5px;display:grid}.position-toolbar{grid-template-columns:repeat(4,minmax(90px,110px)) max-content;align-items:end;gap:8px;display:grid}.toolbar-field{color:#cfc6be;gap:3px;font-size:11px;display:grid}.toolbar-field-font{min-width:0}.toolbar-field select,.toolbar-field input{min-height:28px;padding:4px 7px;font-size:11px}.toolbar-field-size input,.toolbar-field-line-height input,.toolbar-field-position input{min-width:0}.toolbar-reset-button{align-self:end}.secondary-action-button{min-height:30px;padding:0 10px;font-size:12px;font-weight:700}.generated-preview-box{min-height:180px}.product-scope-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:10px 0 0;display:grid}.product-scope-list div{background:#0f0f0f59;border:1px solid #3f3838;border-radius:7px;padding:10px}.product-scope-list dt{color:#aaa19a;margin:0 0 4px;font-size:12px}.product-scope-list dd{color:#fff8ef;margin:0;font-weight:800}.project-storage-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:10px;display:grid}.project-storage-summary div{background:#0f0f0f6b;border:1px solid #3a3432;border-radius:8px;padding:10px}.project-storage-summary strong{color:#fff8ef;margin-bottom:6px;display:block}.project-storage-summary span{color:#b7afa8;font-size:13px}.compact-project-status-list{margin-top:12px}.color-input-row{grid-template-columns:40px minmax(0,88px);align-items:center;gap:6px;display:grid}.color-input-row input[type=color]{min-height:34px;padding:3px}.inline-actions{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.endpoint-form-grid{grid-template-columns:minmax(220px,1.15fr) minmax(220px,1fr);gap:12px;display:grid}.model-field{grid-column:1/-1}.toggle-field{color:#ffd60d;grid-template-columns:auto auto;align-items:center;width:max-content;font-weight:800}.toggle-field input{accent-color:#ffd60d;width:18px;height:18px}table{border-collapse:collapse;width:100%}th,td{color:#d7cec7;text-align:left;border-top:1px solid #403737;padding:12px 10px}th{color:#aca49c;font-size:12px;font-weight:600}.monitor-row{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.monitor-card,.stat-card{padding:16px}.monitor-card strong,.stat-card strong{font-size:24px;display:block}.sparkline{background:linear-gradient(145deg,#0000 45%,#55d86f 46% 50%,#0000 51%);height:42px;margin-top:10px}.stats-row{grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;display:grid}.stat-card strong{color:#fff}.chart-grid{grid-template-columns:1fr .9fr;gap:14px;display:grid}.line-chart,.donut-chart{background:linear-gradient(135deg,#3e191fad,#121112f2);border:1px solid #543437;border-radius:8px;min-height:160px;position:relative;overflow:hidden}.donut-chart{background:radial-gradient(circle at center,#151313 0 52px,transparent 53px),conic-gradient(from -35deg,#ff8a1c 0 50%,#ff6298 0 83%,#55d86f 0 94%,#4e8cff 0),#151313;background-position:50%;background-repeat:no-repeat;background-size:156px 156px,156px 156px,auto;place-items:center;display:grid}.donut-chart span{text-align:center;position:relative}.chart-line{transform-origin:0;border-radius:999px;height:3px;position:absolute;left:24px;right:24px}.chart-line.blue{background:#4e8cff;bottom:48px;transform:rotate(-3deg)}.chart-line.green{background:#55d86f;bottom:42px;transform:rotate(-11deg)}.chart-line.red{background:#ff5b5f;bottom:38px;transform:rotate(4deg)}.auth-stage{place-items:center;min-height:100vh;padding:28px;display:grid}.auth-card{text-align:center;background:linear-gradient(145deg,#43181fdb,#1f1517f7);border:1px solid #5b2f35;border-radius:9px;width:min(420px,100vw - 48px);padding:28px}.auth-card .auth-brand{justify-content:center;margin-bottom:22px}.auth-card h1{font-size:24px}.auth-card label{text-align:left}.auth-footer{gap:10px;display:grid}.password-meter{text-align:left;gap:7px;display:grid}.meter-bars{grid-template-columns:repeat(4,1fr);gap:5px;display:grid}.meter-bars span{background:#736869;border-radius:999px;height:4px}.meter-bars span.active{background:#ffd60d}.verify-block{gap:18px;display:grid}.mail-circle{border:1px solid #8b7d7d;border-radius:50%;place-self:center;place-items:center;width:70px;height:70px;font-size:34px;display:grid}.placeholder-page{text-align:center;place-content:center;display:grid}@media(max-width:1180px){.studio-app,.orders-grid,.accounts-layout,.split-panel{grid-template-columns:1fr}.sidebar{height:auto;position:static}.side-nav{grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.preview-panel,.share-panel{border-top:1px solid #433739;border-left:0;min-height:auto}.product-publishing-grid,.readiness-grid,.inspector-panel-grid,.cover-panel-grid,.template-page-editor{grid-template-columns:1fr}.book-structure-panel,.template-editor-left,.template-editor-right,.inspector-panel{position:static}.book-preview-surface header{display:grid}.canvas-stage{min-height:560px}.monitor-row,.stats-row{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.workspace{padding:20px 14px}.workspace-header,.orders-grid .workspace-header,.toolbar,.account-switcher,.profile-grid,.settings-grid,.chart-grid,.auth-stage{grid-template-columns:1fr}.workspace-header,.toolbar{display:grid}.product-editor-intro,.book-editor-toolbar,.book-preview-toolbar,.canvas-workspace-footer,.asset-card,.text-style-toolbar,.position-toolbar{grid-template-columns:1fr}.product-editor-intro,.book-editor-toolbar,.book-preview-toolbar,.canvas-workspace-footer{display:grid}.canvas-stage{padding:18px}.canvas-workspace-tools,.canvas-image-tools{justify-content:stretch}.canvas-viewport{width:100%!important}.endpoint-form-grid,.compact-grid,.product-scope-list,.project-storage-summary,.page-editor-top-row,.page-editor-bottom-row,.page-editor-content,.readiness-grid,.inspector-panel-grid,.cover-panel-grid,.template-page-editor{grid-template-columns:1fr}.book-import-actions,.inspector-action-stack,.editor-actions{flex-direction:column}.auth-stage{min-height:100svh;padding:18px}.side-nav,.access-options,.profile-highlights,.monitor-row,.stats-row{grid-template-columns:1fr}.kanban{grid-template-columns:repeat(6,230px)}}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}
