@font-face{font-family:AmelieSans;src:url('/assets/fonts/amelie-1.ttf');font-display:swap}
@font-face{font-family:AmelieSans;src:url('/assets/fonts/amelie-2.ttf');font-weight:700;font-display:swap}
:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-size:14px;color:#252825;background:#fff;color-scheme:light;--ink:#252825;--muted:#737871;--line:#e4e6e1;--bg:#f5f6f2;--accent:#303d34;--pink:var(--accent);--rose:#eef1eb}
*{box-sizing:border-box}html{scrollbar-gutter:stable}body{margin:0}body:has(dialog[open]){overflow:hidden}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}
button,.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;border:1px solid #daddd6;border-radius:6px;padding:9px 14px;background:#fff;color:var(--ink);font-weight:500;line-height:1.3;text-decoration:none;transition:background .12s,border-color .12s}button:hover,.button:hover{background:#f3f4ef;border-color:#b7bcb2}button:disabled{opacity:.45;cursor:not-allowed}button.primary,.button.primary{background:var(--accent);border-color:var(--accent);color:#fff}button.primary:hover,.button.primary:hover{background:#202c24}button.small{min-height:34px;padding:6px 10px;font-size:12px}.flat{border-color:transparent;background:transparent}.flat:hover{border-color:transparent}.full{width:100%}.icon-button{width:40px;height:40px;min-width:40px;padding:9px;border-color:transparent;background:transparent}.icon{width:20px;height:20px;flex:0 0 20px;vertical-align:middle}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid #687d64;outline-offset:3px}a{color:var(--accent)}h1,h2,h3,p{margin:0}h1{font-size:28px;font-weight:600;line-height:1.2;letter-spacing:-.65px}h2{font-size:17px;font-weight:600;line-height:1.4}h3{font-size:14px;font-weight:600;line-height:1.4}p{line-height:1.5}.sub{font-size:14px;color:var(--muted);line-height:1.55;margin-top:7px;max-width:650px}.help,.tiny,.footnote{font-size:12px;color:var(--muted);line-height:1.5}.help{margin-top:8px}.muted{color:var(--muted)}.spacer{margin-top:22px}.row{display:flex;align-items:center;gap:12px}.between{justify-content:space-between}.wrap{flex-wrap:wrap}.inline-actions,.view-actions{display:flex;gap:8px;flex-wrap:wrap}.hidden,[hidden]{display:none!important}
input,select,textarea{width:100%;min-width:0;min-height:42px;padding:10px 11px;border:1px solid #d9ddd4;border-radius:6px;background:#fff;color:var(--ink)}input::placeholder,textarea::placeholder{color:#92988e}select{padding-right:28px;text-overflow:ellipsis}textarea{resize:vertical;min-height:100px;line-height:1.55}input[type=checkbox]{width:17px;height:17px;min-width:17px;min-height:0;margin:0;accent-color:var(--accent)}input[type=color]{padding:4px}input[type=file]{font-size:12px;border:0;padding:6px 0;overflow:hidden;text-overflow:ellipsis}input::file-selector-button{font:inherit;border:1px solid #d4d9cf;border-radius:5px;padding:9px 11px;background:#fff;color:var(--ink);margin-right:10px;cursor:pointer}.field{margin-bottom:19px;min-width:0}.field label,.label,.field-label{display:block;font-size:12px;font-weight:500;margin-bottom:8px;line-height:1.45}.field small{display:block;font-size:12px;color:var(--muted);margin-top:7px}.form-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px}.form-pair>*{min-width:0}.checkline{display:flex;align-items:flex-start;gap:9px;font-size:13px;line-height:1.45;margin:18px 0}.checkline input{margin-top:2px;flex-shrink:0}.error,.notice,.statusbar{font-size:13px;line-height:1.55;padding:12px 14px;border-radius:6px;margin:14px 0;overflow-wrap:anywhere}.error{background:#fcf0ec;color:#963d30}.error:empty{display:none}.notice,.statusbar{background:#f6f2e7;color:#745c25}.statusbar button{margin-left:10px}.empty{padding:38px 18px;color:var(--muted);text-align:center;font-size:14px}.boot-error{padding:40px}
.shell{min-height:100dvh}.sidebar{position:fixed;inset:0 auto 0 0;width:206px;background:#f3f4f0;border-right:1px solid var(--line);padding:26px 14px 18px;display:flex;flex-direction:column;z-index:30;overflow-y:auto}.wordmark{padding:2px 14px 33px;font-family:Georgia,"Times New Roman",serif;font-size:36px;font-style:italic;font-weight:400;line-height:1;color:#262c25;letter-spacing:-1.5px;text-decoration:none}.wordmark span{display:block;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-size:12px;font-style:normal;letter-spacing:0;color:#798071;margin-top:12px}.nav{display:grid;gap:4px}.nav button{justify-content:flex-start;gap:13px;width:100%;min-height:44px;padding:10px 13px;background:transparent;border:0;color:#666f60;font-weight:400;border-radius:5px}.nav button:hover{background:#e9ece4;color:#242d20}.nav button.active{background:#e1e6da;color:#2d3828;font-weight:600}.sidebar-bottom{margin-top:auto;padding:25px 12px 0}.sidebar-bottom strong{font-size:13px;font-weight:600}.sidebar-bottom .flat{margin:14px 0 0 -9px;color:var(--muted)}.avatar{display:grid;place-items:center;flex:0 0 34px;height:34px;width:34px;border-radius:7px;background:#e5e8df;color:#515a46;font-weight:600}.user-caption{font-size:11px;color:var(--muted);margin-top:3px}.main{margin-left:206px;min-width:0}.topbar{height:65px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:0 38px;background:#fff}.breadcrumb{font-size:12px;color:#61685d}.breadcrumb>span{margin:0 12px;color:#bcc1b6}.topbar .right{display:flex;align-items:center;gap:22px}.connection{display:inline-flex;align-items:center;gap:7px;font-size:12px;color:#687360}.connection i{display:inline-block;width:6px;height:6px;border-radius:50%;background:#768868}.content{max-width:1430px;padding:34px 38px 32px;margin:auto}.page-head{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:32px}.page-head .inline-actions{flex-shrink:0}.footnote{margin-top:32px;padding-top:16px;border-top:1px solid var(--line);color:#8b9185;font-size:11px}.mobile-brand,.mobile-nav{display:none}.panel{background:#fff;border:1px solid var(--line);border-radius:8px;padding:22px;min-width:0}.stack{display:grid;gap:18px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:18px}.section-heading>h2{font-size:17px}.section-heading .tiny{font-size:11px}
.seg,.choices{display:flex;gap:0;border:1px solid #d8ddd1;border-radius:6px;background:#fff;overflow:hidden}.seg button,.choices button{flex:1;min-width:0;border:0;border-radius:0;background:transparent;font-size:13px;padding:10px 9px;white-space:nowrap;font-weight:400}.seg button+button,.choices button+button{border-left:1px solid #e4e7de}.seg button.active,.choices button.active{background:#edf0e7;color:#293821;font-weight:600;box-shadow:inset 0 -2px #748263}.choices button:hover,.seg button:hover{background:#f1f3ec}.amount-choices{gap:8px;border:0;overflow:visible;background:none}.amount-choices button{border:1px solid #d8ddd1;border-radius:6px;font-size:17px;font-weight:500;padding:15px 4px;min-height:57px;letter-spacing:-.3px;font-variant-numeric:tabular-nums}.amount-choices button.active{background:#303d34;border-color:#303d34;color:#fff;box-shadow:none}
.sale-grid{display:grid;grid-template-columns:minmax(330px,.95fr) minmax(0,1.25fr);gap:clamp(28px,4vw,66px);align-items:start}.sale-entry{padding:5px 0 0}.sale-entry .field{margin-bottom:24px}.sale-expiry{display:flex;align-items:center;justify-content:space-between;font-size:12px;padding:0 0 20px;color:var(--muted)}.sale-expiry strong{font-weight:500;color:#555e4f}.sale-checkout{border-top:1px solid var(--line);padding-top:20px}.total{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:17px}.total>span{font-size:13px}.total strong{font-size:28px;letter-spacing:-.7px;font-weight:600;white-space:nowrap}.sale-checkout>.primary{height:47px;justify-content:space-between;padding:12px 16px}.sale-checkout .help{font-size:11px;margin-top:10px}.sale-preview{background:#f1f1ed;border-radius:10px;padding:22px;min-width:0}.preview-heading{display:flex;justify-content:space-between;font-size:11px;color:#7c8377;margin-bottom:18px}.preview-panel{padding:0;min-width:0}.preview-panel canvas{display:block;width:100%;height:auto;border-radius:4px;box-shadow:0 8px 20px #30382e0d}.preview-note{margin-top:20px}.preview-note strong{font-size:13px;font-weight:500}.preview-note p{font-size:12px;color:var(--muted);margin-top:4px}.recent{margin-top:40px}.recent .section-heading{margin-bottom:10px}
.tablewrap{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;padding-bottom:5px;scrollbar-width:thin;scrollbar-color:#bcc3b6 transparent}table{border-collapse:collapse;width:100%;text-align:left;font-size:13px;white-space:nowrap}th{font-size:11px;font-weight:500;color:#7a8273;padding:12px 14px;border-bottom:1px solid #dce1d5;text-align:left}td{padding:15px 14px;border-bottom:1px solid #eceee8;vertical-align:middle}th:first-child,td:first-child{padding-left:0}th:last-child,td:last-child{padding-right:0}tbody tr:hover{background:#fafbf8}tbody tr:last-child td{border-bottom:0}.code{font-variant-numeric:tabular-nums;letter-spacing:.2px;font-size:13px}.linkbutton{border:0!important;padding:0!important;min-height:28px;background:none!important;font-weight:500;text-align:left;justify-content:flex-start;color:#344630;box-shadow:none}.linkbutton:hover{text-decoration:underline}.format-label{display:block;color:#8a9082;font-size:11px;margin-top:4px}.pill{display:inline-flex;max-width:220px;font-size:11px;line-height:1.4;padding:4px 7px;border-radius:4px;background:#f0f1ec;color:#727967;white-space:normal}.pill.green{color:#4c6545;background:#edf2e9}.pill.amber{color:#8b702e;background:#f8f2df}.pill.gray{color:#7b7d76;background:#f0f1ed}.numeric{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.filters{display:flex;align-items:center;gap:8px;margin-bottom:22px;flex-wrap:wrap}.filters input{max-width:350px;margin-left:auto}.filters select{width:auto}.filters>button.primary{background:#edf0e7;color:var(--accent);border-color:#c8d1bf}
.report-toolbar{display:flex;align-items:center;gap:10px;margin-bottom:24px}.date-trigger{gap:12px;padding:11px 14px;min-height:46px}.date-trigger>span:last-child{margin-left:10px;color:var(--muted)}.date-trigger .icon{color:#626e58}.kpis{display:grid;grid-template-columns:1.1fr .65fr 1.1fr;margin-bottom:30px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.kpi{padding:24px 25px 23px;min-width:0;position:relative}.kpi:first-child{padding-left:0}.kpi+.kpi:before{content:"";width:1px;background:var(--line);position:absolute;left:0;top:25px;bottom:25px}.kpi label{display:block;font-size:12px;color:var(--muted)}.kpi .value{display:block;font-size:clamp(22px,2.5vw,32px);font-weight:500;letter-spacing:-.7px;margin-top:10px;font-variant-numeric:tabular-nums;white-space:nowrap}.kpi small{display:block;font-size:10px;color:#909687;margin-top:7px}.report-table{min-width:830px}.report-table tfoot th,.report-table tfoot td{background:#f4f6ef;border-top:1px solid #cfd8c4;border-bottom:0;font-weight:600;padding-top:17px;padding-bottom:17px}.report-table tfoot th:first-child{padding-left:12px}.report-section .help{font-size:11px}
.design-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.design-card{min-width:0;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:#fff}.design-thumb{aspect-ratio:2;display:grid;place-items:center;padding:16px;background:#f1f2ed;min-width:0}.design-thumb img{display:block;width:100%;height:100%;object-fit:contain;min-width:0}.design-card footer{padding:17px}.design-card .help{font-size:11px}.design-card h3{font-size:14px}.design-card .inline-actions{margin-top:16px;gap:6px}.design-card .inline-actions button{font-size:11px;padding:6px 8px;min-height:32px}.settings-list{max-width:980px;border-top:1px solid var(--line)}.settings-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:45px;align-items:center;padding:28px 0;border-bottom:1px solid var(--line)}.settings-row .sub{max-width:570px;font-size:13px}.settings-row h2{font-size:16px}.settings-connection{margin-top:15px}.settings-archive{padding:26px 0}.settings-archive summary{font-size:14px;color:#59624f}.settings-archive p{font-size:13px;max-width:650px}summary{cursor:pointer;line-height:1.5;font-weight:500;list-style-position:inside}summary::marker{color:#818c75}
dialog{border:1px solid #d8ddd2;background:#fff;color:var(--ink);border-radius:12px;padding:0;margin:auto;width:min(620px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 48px);overflow:hidden;box-shadow:0 22px 90px #20291c29}dialog[open]{display:flex;flex-direction:column}dialog::backdrop{background:#25302264;backdrop-filter:blur(2px)}.modal-head{flex:none;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 22px;border-bottom:1px solid var(--line);background:#fff}.modal-head h2{font-size:17px;line-height:1.4;overflow-wrap:anywhere;font-weight:600}.modal-head .icon-button{flex-shrink:0;color:#77816e}.modal-body{padding:22px;overflow:auto;overscroll-behavior:contain;min-height:0;scrollbar-width:thin;scrollbar-color:#bcc3b6 transparent;scrollbar-gutter:stable}.modal-body::-webkit-scrollbar{width:9px;height:9px}.modal-body::-webkit-scrollbar-thumb{background:#c1c7bb;border:3px solid #fff;border-radius:6px}.modal-body::-webkit-scrollbar-track{margin:12px 0}.modal-body>.error{margin-bottom:0}.detail-grid{margin-top:16px}.detail-stat{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:13px 0;border-bottom:1px solid #ebeee5;font-size:13px}.detail-stat>:first-child{color:var(--muted)}.detail-stat>:last-child{text-align:right;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.detail-stat .big-number{font-size:23px;font-weight:600}.view-actions>*{flex:1}.view-actions{margin-bottom:25px}.timeline{margin-top:12px}.event{padding:13px 0;border-bottom:1px solid #eef0e9;font-size:13px;line-height:1.5}.event:last-child{border:0}.event small{display:block;font-size:11px;color:var(--muted);margin-top:5px}.timeline pre{font:inherit;font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere}
.editor-dialog{width:min(1080px,calc(100vw - 40px))}.editor-dialog .modal-body{padding:24px}.editor-grid{display:grid;grid-template-columns:minmax(290px,.8fr) minmax(0,1.2fr);gap:34px;align-items:start}.editor-controls{min-width:0}.editor-preview{min-width:0;background:#f3f4ef;border-radius:8px;padding:18px;position:sticky;top:0}.editor-preview .section-heading{align-items:start;margin-bottom:16px}.editor-preview .section-heading .tiny{max-width:130px;text-align:right}.canvas-slot{position:relative;min-width:0}.canvas-slot+.canvas-slot{margin-top:18px}.canvas-slot canvas{display:block;max-width:100%;width:100%;height:auto;border-radius:4px;background:#fff;touch-action:none;border:1px solid #e4e8db}.canvas-slot #editorEmpty{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px;text-align:center;color:#7e8873;font-size:14px}.canvas-slot #editorEmpty span{font-size:12px;color:#a0a894}.upload-field{padding:15px;border:1px dashed #cbd2c2;border-radius:7px;background:#fafbf7}.upload-field>label{font-size:13px;font-weight:500}.upload-field .help{font-size:11px;margin-top:4px}.back-upload,.extra-fields{border-top:1px solid var(--line);padding-top:15px;margin-top:18px;font-size:12px}.back-upload>summary,.extra-fields>summary{font-size:13px}.field-editor{margin-top:12px;border:1px solid var(--line);padding:11px;border-radius:6px}.field-editor summary{font-size:12px}.field-editor .checkline{font-size:12px;margin:12px 0}.field-label{font-size:11px;font-weight:400}.field-label select{margin-top:6px}.editor-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}.editor-fields label{font-size:10px;color:var(--muted)}.editor-fields input{margin-top:6px;min-height:37px;height:37px}.editor-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid var(--line);margin-top:24px;padding-top:18px}.editor-footer p{font-size:12px;color:var(--muted)}.editor-footer .primary{flex-shrink:0}
.calendar-dialog{width:min(720px,calc(100vw - 32px))}.calendar-dialog .modal-body{padding:20px 24px}.calendar-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px}.calendar-toolbar .seg{width:230px}.calendar-arrows{display:flex;gap:5px}.calendar-arrows button{width:37px;min-height:37px;padding:6px;font-size:18px}.calendar-presets{display:flex;gap:5px;padding:14px 0 0;flex-wrap:wrap}.calendar-presets button{color:#657358;background:#f4f6ef;min-height:30px}.calendar-instruction{font-size:11px;margin:15px 0 0}.calendar-months{display:grid;grid-template-columns:1fr 1fr;gap:30px;margin:18px 0}.calendar-month h3{text-transform:capitalize;font-size:14px;margin-bottom:17px;text-align:center}.calendar-week,.calendar-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.calendar-week{margin-bottom:9px}.calendar-week span{text-align:center;font-size:10px;color:#8e9784}.calendar-days{row-gap:4px}.calendar-day{width:100%;min-height:35px;aspect-ratio:1.1;border:0;border-radius:5px;padding:4px;font-size:12px;background:transparent;position:relative;font-weight:400}.calendar-day:hover{background:#e8eedf}.calendar-day.selected{color:#fff;background:#34452e;font-weight:600}.calendar-day.in-range{border-radius:0;background:#edf1e6;color:#3c502f}.calendar-day.today:after{content:"";position:absolute;width:3px;height:3px;border-radius:50%;bottom:3px;left:calc(50% - 1.5px);background:currentColor}.calendar-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;border-top:1px solid var(--line);padding-top:18px;margin-top:8px}.calendar-footer>span{font-size:12px;line-height:1.5;color:var(--muted)}.calendar-footer button{flex-shrink:0}.more-menu{display:grid;gap:4px}.more-menu button{border:0;justify-content:flex-start;gap:12px;font-size:15px;min-height:54px}.more-menu button>span{margin-left:auto;color:#9ca58f}.menu-dialog{width:min(410px,calc(100vw - 24px))}
.auth-panel{width:min(430px,calc(100% - 32px));margin:8vh auto;padding:30px;border-radius:10px}.auth-panel img{display:block;width:125px;margin-bottom:28px}.auth-panel h1{font-size:25px}.auth-panel form{margin-top:25px}.auth-panel label{display:block;margin:15px 0 8px;font-size:12px}.auth-panel .primary{width:100%;margin-top:22px}.auth-panel .login-meta{margin-top:20px}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);padding:13px 18px;background:#2f382b;color:#fff;border-radius:7px;font-size:13px;line-height:1.45;box-shadow:0 8px 25px #27312022;z-index:1000;max-width:min(580px,calc(100vw - 32px));width:max-content;pointer-events:none}.toast:empty{display:none}
@media(min-width:1550px){.content{padding-top:44px}.sale-grid{gap:66px}.sale-preview{padding:25px}.sale-entry{padding-top:10px}}
@media(max-width:1150px){.sidebar{width:184px;padding-left:10px;padding-right:10px}.main{margin-left:184px}.content{padding:28px}.topbar{padding:0 28px}.sale-grid{grid-template-columns:minmax(315px,1fr) minmax(0,1fr);gap:26px}.sale-preview{padding:16px}.form-pair{gap:10px}.design-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.page-head{align-items:flex-start}.page-head .inline-actions{flex-shrink:1}.kpi{padding:24px 16px}.settings-row{gap:25px}}
@media(max-width:930px) and (min-width:721px){.sale-grid{grid-template-columns:1fr}.sale-preview{max-width:600px}.sale-entry{max-width:600px}.page-head{flex-wrap:wrap}.editor-grid{grid-template-columns:1fr 1fr;gap:22px}.editor-dialog .modal-body{padding:18px}.editor-preview{padding:12px}}
@media(max-width:720px){html{scrollbar-gutter:auto}.sidebar{display:none}.main{margin-left:0}.topbar{height:58px;padding:0 20px}.breadcrumb{display:none}.mobile-brand{display:block;font-family:Georgia,"Times New Roman",serif;font-size:28px;font-style:italic;letter-spacing:-1px}.topbar .connection{font-size:10px}.topbar .right{gap:15px}.content{padding:26px 20px calc(94px + env(safe-area-inset-bottom))}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;background:#fffffff5;backdrop-filter:blur(10px);border-top:1px solid #dfe4d7;padding:5px 8px calc(5px + env(safe-area-inset-bottom));z-index:40}.mobile-nav button{flex:1;min-width:0;border:0;flex-direction:column;gap:4px;min-height:55px;font-size:10px;color:#879078;background:transparent;padding:6px;border-radius:5px;font-weight:400}.mobile-nav button.active{color:#2b4125;background:#edf1e7;font-weight:600}.mobile-nav .icon{width:20px;height:20px}.page-head{margin-bottom:25px;flex-wrap:wrap;gap:18px}.page-head .inline-actions{gap:8px}.page-head .sub{font-size:13px;max-width:95%}h1{font-size:25px}.sale-grid{grid-template-columns:1fr;gap:26px}.sale-entry{padding:0}.sale-entry .field{margin-bottom:21px}.sale-preview{padding:17px}.sale-preview canvas{max-width:550px;margin:auto}.preview-note{margin-top:15px}.preview-note strong{font-size:12px}.preview-note p{font-size:11px}.recent{margin-top:32px}.section-heading>h2{font-size:16px}.panel{padding:18px;border-radius:7px}.tablewrap{margin-bottom:2px}table{font-size:12px}th{font-size:10px}td{padding:14px 12px}th:first-child,td:first-child{padding-left:0}.filters{gap:6px}.filters input{order:3;width:100%;max-width:none;margin:8px 0 0}.design-grid{gap:16px}.design-card footer{padding:14px}.design-thumb{padding:12px}.design-card .inline-actions button{font-size:10px;flex:1;padding:5px}.settings-row{grid-template-columns:1fr;gap:17px;padding:25px 0}.settings-row .sub{font-size:13px}.settings-list{margin-top:6px}.report-toolbar{gap:5px;flex-wrap:wrap;margin-bottom:21px}.date-trigger{max-width:100%;gap:9px;font-size:12px}.date-trigger span{min-width:0;white-space:normal;text-align:left}.date-trigger>span:last-child{margin-left:0}.date-trigger .icon{width:18px;flex-basis:18px}.report-toolbar .flat{font-size:12px}.kpis{grid-template-columns:1fr 1fr;margin-bottom:24px}.kpi{padding:20px 0 20px 18px}.kpi .value{font-size:25px;margin-top:8px}.kpi:nth-child(3){grid-column:1/-1;border-top:1px solid var(--line);padding:17px 0;display:grid;grid-template-columns:1fr auto;align-items:center;column-gap:12px}.kpi:nth-child(3):before{display:none}.kpi:nth-child(3) .value{margin:0;font-size:22px;grid-column:2;grid-row:1/3}.kpi:nth-child(3) small{grid-column:1}.kpi label{font-size:11px}.report-table{min-width:780px}.footnote{margin-top:25px;font-size:10px}.toast{bottom:calc(84px + env(safe-area-inset-bottom));font-size:12px}.statusbar button{margin:8px 0 0}.auth-panel{margin:24px auto;padding:24px}
dialog{width:calc(100vw - 24px);max-height:calc(100dvh - 24px);border-radius:10px}.modal-head{padding:13px 15px}.modal-head h2{font-size:16px}.modal-body{padding:17px;scrollbar-gutter:auto}.editor-dialog{width:calc(100vw - 20px)}.editor-dialog .modal-body{padding:17px}.editor-grid{grid-template-columns:1fr;gap:22px}.editor-preview{position:static;order:-1;padding:14px}.editor-preview .canvas-slot{max-width:420px;margin-left:auto;margin-right:auto}.editor-preview .canvas-slot+.canvas-slot{margin-top:12px}.editor-preview .help{display:none}.editor-preview:has(#editorEmpty:not([hidden])){display:none}.editor-preview .section-heading .tiny{font-size:10px;max-width:none}.editor-controls .field{margin-bottom:17px}.editor-footer{align-items:stretch;flex-direction:column;gap:12px;margin-top:21px;padding-top:16px}.editor-footer p{font-size:11px}.editor-footer .primary{min-height:46px}.extra-fields summary{font-size:13px}.detail-stat{font-size:12px;gap:15px}.detail-stat>*{max-width:60%}.detail-stat .big-number{font-size:23px}.view-actions>*{min-height:44px}.calendar-dialog{width:calc(100vw - 24px)}.calendar-dialog .modal-body{padding:16px}.calendar-toolbar{gap:12px}.calendar-toolbar .seg{width:auto;flex:1}.calendar-toolbar .seg button{font-size:12px;padding:9px 10px}.calendar-arrows{gap:3px}.calendar-arrows button{width:32px;min-height:36px}.calendar-months{grid-template-columns:1fr;gap:20px;margin-top:18px}.calendar-month:nth-child(2){display:none}.calendar-month h3{margin-bottom:14px}.calendar-week span{font-size:11px}.calendar-day{min-height:40px;aspect-ratio:1.12;font-size:14px}.calendar-footer{align-items:stretch;flex-direction:column;gap:14px}.calendar-footer>span{font-size:12px}.calendar-footer button{width:100%;min-height:44px}.calendar-presets{gap:4px;padding-top:12px}.calendar-presets button{font-size:11px;padding:6px 9px}.calendar-instruction{margin-top:12px}.calendar-days{row-gap:3px}}
@media(max-width:400px){.content{padding-left:16px;padding-right:16px}.topbar{padding:0 16px}.amount-choices{gap:6px}.amount-choices button{font-size:15px;min-height:53px}.form-pair{gap:10px}.form-pair .choices button{font-size:12px;padding:10px 5px}.design-grid{grid-template-columns:1fr}.design-thumb{padding:18px}.design-card .inline-actions button{font-size:12px}.sale-preview{padding:14px}.page-head .inline-actions{width:100%}.page-head .inline-actions>*{flex:1;font-size:12px}.calendar-toolbar .seg button{padding:8px 6px;font-size:11px}.calendar-arrows button{width:30px}.calendar-presets{gap:2px}.calendar-presets button{padding:6px 7px}.calendar-day{min-height:37px}.modal-body{padding:15px}.topbar .connection{display:none}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.preview-panel canvas{width:auto;max-width:100%;max-height:440px;margin:auto;object-fit:contain}.seg button:focus-visible,.choices button:focus-visible{outline-offset:-3px}@media(max-width:720px){.preview-panel canvas{max-height:390px}}
.editor-preview .canvas-slot canvas{width:auto;max-width:100%;max-height:200px;object-fit:contain;margin:auto}.editor-preview .canvas-slot{max-width:100%}@media(max-width:720px){.editor-preview{order:0}.editor-preview .canvas-slot canvas{max-height:180px}}
