:root{color:#172033;background:#e8edf2;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input,select{font:inherit}button{cursor:pointer}.app-shell{display:grid;grid-template-columns:minmax(280px,320px) minmax(360px,1fr) minmax(240px,280px);gap:14px;height:100vh;min-height:0;overflow:hidden;padding:14px}.mobile-h5-shell{display:none}.panel,.preview-shell{background:#ffffffd1;border:1px solid rgba(124,139,159,.28);border-radius:8px;box-shadow:0 18px 46px #202d4614}.controls,.plans{padding:16px;overflow:auto}.brand-block{position:relative;display:flex;align-items:center;gap:12px;padding-bottom:16px;border-bottom:1px solid #dbe2ea}.brand-copy{min-width:0;flex:1}.locale-menu{position:relative;flex:0 0 auto}.locale-menu-trigger{width:34px;height:34px;color:#475569}.locale-menu-popover{position:absolute;top:calc(100% + 8px);right:0;z-index:10;display:grid;gap:4px;min-width:132px;border:1px solid rgba(124,139,159,.32);border-radius:8px;background:#fff;box-shadow:0 14px 36px #0f172a24;padding:6px}.locale-menu-popover button{display:flex;align-items:center;justify-content:flex-start;min-height:32px;border:0;border-radius:6px;background:transparent;color:#27364a;padding:0 10px;font-size:13px;font-weight:800;text-align:left}.locale-menu-popover button:hover,.locale-menu-popover button.active{background:#111827;color:#fff}.mark{display:grid;place-items:center;width:42px;height:42px;border-radius:8px;background:#111827;color:#f8fafc;font-size:22px;font-weight:800}.eyebrow{margin:0 0 4px;color:#64748b;font-size:11px;font-weight:800;letter-spacing:0;text-transform:uppercase}h1,h2{margin:0;color:#121826;font-size:18px;line-height:1.25}h1{font-size:20px}.control-group{margin-top:18px}.control-group>label,.inline-label label{display:block;margin-bottom:8px;color:#334155;font-size:13px;font-weight:800}.inline-label{display:flex;align-items:center;justify-content:space-between;gap:10px}.fold-toggle,.text-toggle{border:1px solid #cbd5e1;border-radius:7px;background:#f8fafc;color:#27364a;font-size:13px;font-weight:800}.fold-toggle{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:38px;padding:0 10px}.fold-toggle b{color:#64748b;font-size:12px}.text-toggle{min-height:30px;padding:0 9px}.segmented,.option-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:6px}.option-grid{grid-template-columns:repeat(3,1fr)}.segmented button,.option-grid button,.export-actions button,.icon-text{min-height:38px;border:1px solid #cbd5e1;border-radius:7px;background:#f8fafc;color:#27364a;font-size:13px;font-weight:750}.segmented button.active,.option-grid button.active{border-color:#111827;background:#111827;color:#fff}.style-library{display:grid;gap:8px}.style-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;border-bottom:1px solid #dbe2ea}.style-tabs button{min-width:0;min-height:30px;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:#64748b;font-size:12px;font-weight:800;overflow-wrap:anywhere;padding:0 0 7px}.style-tabs button.active{color:#111827;border-bottom-color:#111827}.style-option-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.style-option-grid button{min-height:34px;padding:6px 4px;background:#fff;font-size:12px;line-height:1.15;overflow-wrap:anywhere}select,.number-input input{width:100%;min-height:38px;border:1px solid #cbd5e1;border-radius:7px;background:#fff;color:#172033;padding:0 10px}.control-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:16px}.unit-toggle{width:112px}.advanced-unit-toggle{margin-top:10px}.unit-toggle button{min-height:30px;text-transform:uppercase}.preset-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.preset-grid button{min-height:32px;border:1px solid #cbd5e1;border-radius:7px;background:#f8fafc;color:#27364a;font-size:12px;font-weight:800}.preset-grid button:hover{border-color:#111827}.preset-grid button.active{border-color:#111827;background:#111827;color:#fff}.preset-grid .more-size-button{border-style:dashed;color:#64748b}.mobile-size-toggle{display:none}.number-input span,.range-row span{display:block;margin-bottom:6px;color:#64748b;font-size:12px;font-weight:750}.number-input small{display:block;margin-top:5px;color:#94a3b8;font-size:11px;font-weight:700}.range-row{display:grid;grid-template-columns:78px 1fr 34px;align-items:center;gap:10px;margin-top:10px}.range-row span{margin:0}.range-row input{width:100%;accent-color:#111827}.range-row b{color:#334155;font-size:12px;text-align:right}.toggle-row{display:flex;align-items:center;gap:8px;margin-top:10px;color:#475569;font-size:12px;font-weight:800}.toggle-row input{width:16px;height:16px;accent-color:#111827}.color-row{display:grid;grid-template-columns:42px 1fr 34px;align-items:center;gap:8px;margin-top:9px}.color-row>span{color:#64748b;font-size:12px;font-weight:800}.swatches{display:flex;flex-wrap:nowrap;gap:4px;min-width:0}.swatches button{flex:0 0 auto;width:17px;height:17px;border:2px solid #ffffff;border-radius:999px;box-shadow:0 0 0 1px #cbd5e1}.swatches button.active{box-shadow:0 0 0 2px #111827}.color-row input[type=color]{width:34px;height:30px;border:1px solid #cbd5e1;border-radius:7px;background:#fff;padding:2px}.icon-text{display:inline-flex;align-items:center;gap:6px;min-height:30px;padding:0 9px}.main-column{display:grid;grid-template-rows:1fr auto;gap:14px;min-height:0;min-width:0}.preview-shell{display:grid;grid-template-rows:auto 1fr auto;min-height:0;overflow:hidden;padding:16px}.preview-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.preview-header>div:first-child{min-width:0}.preview-header-actions{display:flex;align-items:center;flex:0 0 auto;gap:8px}.preview-view-toggle{display:grid;grid-template-columns:repeat(2,1fr);gap:0;width:max-content;min-width:148px;overflow:hidden;border:1px solid #cbd5e1;border-radius:7px;background:#f8fafc}.preview-view-toggle button{min-width:0;min-height:32px;border:0;border-radius:0;background:transparent;font-size:12px;padding:0 12px;white-space:nowrap}.preview-view-switch{display:none}.board-stage{display:grid;place-items:center;position:relative;min-height:0;overflow:hidden;padding:8px 0}.board-stage svg{width:auto;height:100%;max-width:100%;max-height:100%;aspect-ratio:9 / 16;border-radius:8px;cursor:default;touch-action:pan-y;-webkit-user-select:none;user-select:none}.board-stage svg.dragging{cursor:grabbing}.deck-interactive-layer,.deck-hit-area{pointer-events:none}.deck-touch-target{cursor:grab;touch-action:none}.plans{display:flex;flex-direction:column;gap:14px}.panel-title{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.panel-title .icon-text{flex:0 0 auto}.plan-switcher{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.plan-adjustments{display:grid;gap:0;border-top:1px solid #dbe2ea;padding-top:14px}.plan-adjustments .control-group{margin-top:14px}.plan-switcher button{min-height:34px;padding:6px 4px;border:1px solid #cbd5e1;border-radius:7px;background:#f8fafc;color:#27364a;font-size:13px;font-weight:850;line-height:1.15;overflow-wrap:anywhere}.plan-switcher button.active{border-color:#111827;background:#111827;color:#fff}.selected-plan-summary{display:flex;flex-wrap:wrap;gap:6px}.selected-plan-summary span{border:1px solid #cbd5e1;border-radius:999px;background:#f8fafc;color:#475569;padding:4px 7px;font-size:11px;font-weight:800}.build-guide{display:grid;gap:10px;border-top:1px solid #dbe2ea;padding-top:14px}.guide-summary{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#64748b;font-size:12px;font-weight:800}.guide-summary span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.guide-summary b{flex:0 0 auto;border-radius:999px;background:#e2e8f0;color:#334155;padding:4px 8px;font-size:11px}.build-guide section{display:grid;gap:8px}.build-guide h3{margin:0;color:#334155;font-size:13px}.tool-list{display:flex;flex-wrap:wrap;gap:6px}.tool-list span{border-radius:999px;background:#e2e8f0;color:#27364a;padding:5px 8px;font-size:11px;font-weight:800}.build-guide ol,.build-guide ul{display:grid;gap:7px;margin:0;padding-left:18px;color:#475569;font-size:12px;line-height:1.45}.export-panel{display:flex;flex:0 0 auto;align-items:center;justify-content:flex-end;gap:12px;background:#ffffffd1;border:1px solid rgba(124,139,159,.28);border-radius:8px;box-shadow:0 18px 46px #202d4614;padding:14px}.export-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:20;display:flex;align-items:center;justify-content:center;background:#0f172a61;padding:18px}.export-modal{display:grid;gap:13px;width:min(560px,100%);max-height:calc(100vh - 36px);overflow:auto;border:1px solid rgba(124,139,159,.32);border-radius:10px;background:#fff;box-shadow:0 24px 70px #0f172a3d;padding:16px}.share-modal{width:min(460px,100%)}.export-modal-header,.export-modal-actions{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.export-modal-actions{align-items:center;justify-content:flex-end}.export-modal-actions button,.icon-only{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:34px;border:1px solid #cbd5e1;border-radius:7px;background:#f8fafc;color:#27364a;padding:0 12px;font-size:13px;font-weight:800}.icon-only{width:34px;padding:0}.export-modal-actions .primary{border-color:#111827;background:#111827;color:#fff}.export-mode{min-width:0}.check-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.check-item{display:grid;gap:4px;border:1px solid #d6dee8;border-radius:7px;background:#f8fafc;padding:9px}.check-item span{color:#64748b;font-size:11px;font-weight:800}.check-item strong{color:#172033;font-size:12px;line-height:1.25}.check-item em{color:#64748b;font-size:11px;font-style:normal;font-weight:750;line-height:1.2}.check-item.good{border-color:#86efac;background:#f0fdf4}.export-alerts{display:grid;gap:6px}.export-alert{border-radius:7px;background:#f1f5f9;color:#475569;padding:8px 10px;font-size:12px;font-weight:750}.export-alert.important{background:#ffedd5;color:#9a3412}.share-preview{display:grid;place-items:center;border:1px solid #d6dee8;border-radius:8px;background:#111827;padding:10px}.share-preview img{display:block;width:min(100%,320px);aspect-ratio:4 / 5;border-radius:6px;object-fit:cover}.share-preview-loading{display:grid;place-items:center;width:min(100%,320px);aspect-ratio:4 / 5;border-radius:6px;background:#f8fafc;color:#64748b;font-size:13px;font-weight:800}.share-save-hint{min-height:18px;margin:-4px 0 0;color:#64748b;font-size:12px;font-weight:750;line-height:1.4;text-align:center}.layer-toggles{display:flex;flex-wrap:wrap;gap:8px}.layer-toggles label{display:inline-flex;align-items:center;gap:6px;border:1px solid #cbd5e1;border-radius:999px;background:#f8fafc;color:#334155;padding:7px 9px;font-size:12px;font-weight:800}.layer-toggles input{width:14px;height:14px;accent-color:#111827}.export-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;width:100%}.export-actions button{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 12px}.export-actions .primary{border-color:#111827;background:#111827;color:#fff}@media(max-width:1100px){.app-shell{grid-template-columns:minmax(260px,320px) 1fr}.plans{grid-column:1 / -1}}@media(max-width:780px){:root,body,#root{background:#fff}body{font-size:15px}.desktop-shell{display:none}.mobile-h5-shell{display:grid;min-height:100dvh;background:#fff;padding:0 0 env(safe-area-inset-bottom)}.mobile-design-surface{display:grid;gap:0;min-height:100dvh;background:#fff}.mobile-h5-header{padding:12px 12px 10px}.mobile-h5-header .brand-block{border-bottom:0;padding-bottom:0}.mobile-h5-header .control-group{margin-top:12px}.mobile-h5-shell h1{font-size:21px}.mobile-h5-shell h2{font-size:19px}.mobile-h5-shell .eyebrow{font-size:12px}.mobile-h5-shell .control-group>label,.mobile-h5-shell .inline-label label{font-size:14px}.mobile-h5-shell .segmented button,.mobile-h5-shell .option-grid button,.mobile-h5-shell .export-actions button,.mobile-h5-shell .icon-text,.mobile-h5-shell .preset-grid button,.mobile-h5-shell select,.mobile-h5-shell .number-input input{min-height:42px;font-size:14px}.mobile-h5-shell .style-tabs button,.mobile-h5-shell .style-option-grid button,.mobile-h5-shell .number-input span,.mobile-h5-shell .range-row span,.mobile-h5-shell .color-row>span{font-size:13px}.mobile-h5-header .deck-size-control>label,.mobile-sheet-body .deck-size-control>label{display:none}.mobile-size-toggle{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:42px;border:1px solid #cbd5e1;border-radius:7px;background:#f8fafc;color:#27364a;padding:0 10px;font-size:14px;font-weight:800}.mobile-size-toggle span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-size-toggle b{flex:0 0 auto;color:#64748b;font-size:13px}.mobile-h5-header .deck-size-control .preset-grid,.mobile-h5-header .deck-size-control .advanced-size-fields,.mobile-sheet-body .deck-size-control .preset-grid,.mobile-sheet-body .deck-size-control .advanced-size-fields{display:none}.mobile-h5-header .deck-size-control.mobile-open .preset-grid,.mobile-sheet-body .deck-size-control.mobile-open .preset-grid{display:grid;margin-top:8px}.mobile-h5-header .deck-size-control.mobile-open .advanced-size-fields,.mobile-sheet-body .deck-size-control.mobile-open .advanced-size-fields{display:block}.mobile-preview-area{display:grid;gap:0;position:relative;min-height:0}.mobile-preview-area .preview-shell{height:min(700px,70dvh);min-height:520px;border-width:0;border-radius:0;background:transparent;box-shadow:none;padding:12px}.preview-header-actions{justify-content:space-between}.mobile-preview-area .preview-header>div:first-child{display:none}.mobile-preview-area .preview-view-toggle,.mobile-preview-area .preview-view-switch{display:none}.mobile-preview-expand-button{position:absolute;top:15px;right:12px;display:inline-flex;align-items:center;justify-content:center;width:34px;min-height:34px;border:0;border-radius:999px;background:transparent;color:#475569b8;padding:0}.board-stage svg{width:min(100%,430px);height:auto;max-height:62vh}.mobile-preview-area .board-stage svg{max-height:100%}.mobile-preview-tools{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;width:100%;overflow:hidden;border:0;border-radius:0;background:transparent;box-shadow:none}.mobile-preview-tools button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:44px;border:0;border-radius:0;background:transparent;color:#27364a;padding:0 8px;font-size:13px;font-weight:850}.mobile-preview-tools button+button{border-left:1px solid #dbe2ea}.mobile-preview-tools button:active{background:#111827;color:#fff}.mobile-preview-fullscreen{position:fixed;top:0;right:0;bottom:0;left:0;z-index:25;display:grid;grid-template-rows:minmax(0,1fr) auto;background:#fff;padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom)}.mobile-preview-fullscreen-header{position:absolute;top:calc(8px + env(safe-area-inset-top));right:12px;z-index:2}.mobile-preview-fullscreen-header button{display:inline-flex;align-items:center;justify-content:center;width:36px;min-height:36px;border:0;border-radius:999px;background:transparent;color:#475569b8;padding:0}.mobile-preview-fullscreen-stage{min-height:0}.mobile-preview-fullscreen .preview-shell{height:100%;min-height:0;border:0;border-radius:0;background:transparent;box-shadow:none;padding:8px 12px}.mobile-preview-fullscreen .preview-header{visibility:hidden}.mobile-preview-fullscreen .board-stage svg{max-height:100%}.mobile-preview-fullscreen .preview-header-actions{display:none}.mobile-export-flow{display:grid;gap:0;background:#fff}.mobile-export-flow .export-panel{border:0;border-radius:0;background:transparent;box-shadow:none;padding:12px}.mobile-export-flow .export-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.mobile-export-flow .export-actions .pdf-action{grid-column:1 / -1;grid-row:1;min-height:48px;font-size:15px}.mobile-export-flow .export-actions button:not(.pdf-action){min-height:44px}.mobile-guide-panel{padding:16px 12px 18px}.mobile-guide-panel .build-guide{border-top:0;gap:14px;padding-top:0}.mobile-guide-panel .build-guide>h2{font-size:17px}.mobile-guide-panel .build-guide section{gap:9px}.mobile-guide-panel .tool-list span{background:#f1f5f9}.mobile-sheet-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:30;display:flex;align-items:flex-end;justify-content:center;background:#0f172a61;padding:12px 10px calc(12px + env(safe-area-inset-bottom))}.export-modal-backdrop{align-items:flex-end;padding:12px 10px calc(12px + env(safe-area-inset-bottom))}.mobile-sheet,.export-modal{display:grid;grid-template-rows:auto auto minmax(0,1fr);gap:12px;width:min(520px,100%);max-height:min(78dvh,680px);overflow:hidden;border:1px solid rgba(124,139,159,.32);border-radius:10px;background:#fff;box-shadow:0 24px 70px #0f172a3d;padding:14px}.export-modal{max-height:min(84dvh,720px);overflow:auto;padding-bottom:calc(14px + env(safe-area-inset-bottom))}.export-modal-header{align-items:center;border-bottom:1px solid #e2e8f0;margin:0 -14px;padding:0 14px 12px}.export-modal .share-preview,.export-modal .export-mode,.export-modal .export-alerts,.export-modal .check-grid,.export-modal .layer-toggles,.export-modal .share-save-hint{min-height:0}.export-modal-actions{position:sticky;bottom:0;display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #e2e8f0;background:#fff;margin:0 -14px calc(-14px - env(safe-area-inset-bottom));padding:12px 14px calc(14px + env(safe-area-inset-bottom));z-index:1}.export-modal-actions button{min-height:44px}.mobile-sheet-handle{justify-self:center;width:42px;height:4px;border-radius:999px;background:#cbd5e1;margin-top:-2px}.mobile-sheet-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.mobile-sheet-body{min-height:0;overflow:auto;padding-bottom:2px}.mobile-sheet-body>.control-group:first-child,.mobile-sheet-body>.plan-adjustments:first-child{margin-top:0}.mobile-sheet-body>.control-group:first-child>label{display:block;margin-bottom:10px;color:#121826;font-size:15px}.mobile-sheet-body .plan-adjustments{border-top:0;padding-top:0}.mobile-sheet-body .plan-adjustments>div:first-child{display:none}.mobile-sheet-body .tuning-section{margin-top:0}.mobile-sheet-body .tuning-section+.tuning-section{border-top:1px solid #dbe2ea;margin-top:16px;padding-top:14px}.mobile-sheet-body .tuning-section>label,.mobile-sheet-body .tuning-section .inline-label label{margin-bottom:10px;color:#121826;font-size:15px}.mobile-sheet-body .tuning-section .inline-label{align-items:center}.mobile-sheet-body .tuning-section .inline-label .icon-text{min-height:32px;border-color:transparent;background:#f1f5f9;color:#334155;font-size:13px}.mobile-sheet-body .tuning-colors .color-row{grid-template-columns:46px minmax(0,1fr) 38px;gap:10px;margin-top:11px}.mobile-sheet-body .tuning-colors .swatches{gap:6px}.mobile-sheet-body .tuning-colors .swatches button{width:22px;height:22px}.mobile-sheet-body .tuning-colors input[type=color]{width:38px;height:34px}.mobile-sheet-section{display:grid;gap:12px;border-top:1px solid #dbe2ea;margin-top:16px;padding-top:14px}.mobile-sheet-section .plan-chooser{display:grid;gap:12px}.mobile-sheet-section .panel-title{align-items:center}.mobile-sheet-section .panel-title .eyebrow{display:none}.mobile-sheet-section .panel-title h2{font-size:15px}.mobile-sheet-section .panel-title .icon-text{min-height:32px;border-color:transparent;background:#f1f5f9;color:#334155;font-size:13px}.mobile-sheet-section .selected-plan-summary{order:2}.mobile-sheet-section .plan-switcher{order:3}.mobile-h5-shell .selected-plan-summary span,.mobile-h5-shell .tool-list span{font-size:12px}.mobile-h5-shell .build-guide h3{font-size:14px}.mobile-h5-shell .build-guide ol,.mobile-h5-shell .build-guide ul,.mobile-h5-shell .guide-summary,.mobile-h5-shell .share-save-hint,.mobile-h5-shell .export-alert{font-size:13px}.control-grid{grid-template-columns:1fr}.preset-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.export-actions{display:grid;grid-template-columns:1fr}.export-panel{display:grid;justify-content:stretch}.export-mode{min-width:0}.export-modal-actions{display:grid;grid-template-columns:1fr 1fr}.check-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:360px){.preview-header{display:grid}}
