@font-face{font-family:SF Pro Text;src:url(/fonts/SF-Pro-Text-Regular.otf) format("opentype");font-weight:400;font-display:swap}@font-face{font-family:SF Pro Display;src:url(/fonts/SF-Pro-Display-Semibold.otf) format("opentype");font-weight:600;font-display:swap}:root{font-family:SF Pro Text,-apple-system,BlinkMacSystemFont,sans-serif;font-synthesis:none;color-scheme:dark;color:var(--text);background:var(--background);--background:#080808;--surface:#111111;--border:#252525;--text:#f2f2f2;--muted:#969696;--white:#f1f1f1;--raised:#292929}*{box-sizing:border-box}html,body,#root{height:100%;overflow:hidden}body{margin:0}button,input,textarea{font:inherit}button,a,input,textarea{-webkit-tap-highlight-color:transparent;touch-action:manipulation}button{border:0;background:none;color:inherit;cursor:pointer;transition:background-color .16s,color .16s}button:disabled{opacity:.5;cursor:wait}button:focus,button:focus-visible,a:focus,a:focus-visible{outline:none}input:focus-visible,textarea:focus-visible{outline:1px solid var(--muted);outline-offset:0}a{color:inherit;text-decoration:none}svg{flex-shrink:0}h1,h2,strong,.button{font-family:SF Pro Display,-apple-system,sans-serif;font-weight:600}.app-shell{max-width:808px;height:100dvh;margin:auto;padding:var(--tg-safe-top,0px) 24px 0;display:flex;flex-direction:column;overflow:hidden}.app-shell>main{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;padding:0 0 24px;overscroll-behavior-y:contain;scrollbar-width:thin}.topbar{height:calc(52px + var(--tg-safe-top,0px));padding-top:var(--tg-safe-top,0px);display:flex;align-items:center;justify-content:center;position:relative;flex-shrink:0}.brand{font-family:SF Pro Display,sans-serif;font-size:15px;line-height:18px;font-weight:600}.icon-button{min-height:36px;min-width:36px;display:inline-flex;align-items:center;justify-content:center;color:var(--muted);border-radius:10px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:24px 0 28px}h1{font-size:30px;line-height:36px;letter-spacing:-.65px;display:flex;align-items:center;gap:12px;margin:0}.heading-count{font-family:SF Pro Text,sans-serif;font-size:12px;line-height:16px;font-weight:400;letter-spacing:0;color:var(--muted)}.button{min-height:48px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:16px;font-size:14px;line-height:17px;padding:0 18px;white-space:nowrap}.primary{background:var(--white);color:var(--background)}.primary:hover{background:#dcdcdc}.secondary{background:transparent;border:1px solid var(--border);color:var(--text)}.secondary:hover{background:var(--surface)}.full{width:100%}.new-order{min-height:42px;font-size:12px;padding:0 14px;border-radius:14px}.overview{display:grid;grid-template-columns:1.7fr 1fr 1fr;gap:28px;align-items:start;padding:4px 0 28px;margin-bottom:24px;border-bottom:1px solid var(--border)}.overview>div{min-width:0;display:flex;flex-direction:column;gap:7px}.metric-label{display:flex;align-items:center;gap:8px;min-height:24px;font-size:12px;line-height:16px;color:var(--muted)}.overview strong{font-size:44px;line-height:1.2;letter-spacing:-1.5px;overflow-wrap:anywhere}.overview-count{padding-top:24px}.overview-count strong{font-size:30px;line-height:36px;letter-spacing:0;order:-1}.metric-foot{font-size:11px;line-height:1.5;color:var(--muted)}.currency{position:relative;display:inline-block;flex-shrink:0}.currency-trigger{min-width:40px;min-height:32px;border-radius:10px;padding:4px 7px;display:flex;align-items:center;justify-content:center;gap:6px;font-size:12px;color:var(--muted)}.currency-trigger:hover{color:var(--text)}.metric-label>.currency{margin-left:auto}.currency-menu{position:absolute;right:0;top:calc(100% + 6px);min-width:138px;border:1px solid var(--border);border-radius:14px;background:var(--surface);padding:5px;z-index:40}.currency-menu button{display:flex;align-items:center;gap:12px;min-height:44px;width:100%;padding:10px;border-radius:9px;text-align:left;font-size:13px}.currency-menu button>span{flex:1}.list-tools{display:flex;flex-direction:column;gap:14px;margin-bottom:12px}.filters{display:flex;gap:5px;align-items:center;overflow:auto;scrollbar-width:none}.filters button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:36px;padding:0 13px;border-radius:18px;color:var(--muted);white-space:nowrap;font-size:11px}.filters button.active{background:var(--white);color:var(--background)}.filters button span{font-size:10px;opacity:.6}.search{display:flex;align-items:center;gap:10px;min-height:44px;border-bottom:1px solid var(--border);color:var(--muted)}.search input:not([type=file]){border:0;background:transparent;padding:10px 0;font-size:13px;border-radius:0;outline:none}.search:focus-within{border-color:var(--muted)}.orders-list{border:0}.table-header,.order-row{display:grid;grid-template-columns:minmax(0,1fr) 155px 125px 18px;gap:18px;align-items:center}.table-header{padding:16px 0;font-size:11px;color:var(--muted);border-bottom:1px solid var(--border)}.table-header>span:nth-child(3){text-align:right}.order-row{width:100%;padding:20px 0;border-bottom:1px solid var(--border);text-align:left}.client-cell{display:flex;align-items:center;gap:12px;min-width:0}.client-avatar{height:38px;width:38px;display:grid;place-items:center;background:var(--surface);border-radius:50%;font-size:11px;color:var(--muted);flex-shrink:0}.client-text{min-width:0;display:flex;flex-direction:column;gap:6px}.client-text strong{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.client-text>span{display:flex;align-items:center;gap:6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;color:var(--muted)}.status-badge{display:inline-flex;align-items:center;gap:6px;justify-self:start;color:var(--muted);font-size:11px;line-height:16px;white-space:nowrap}.order-money{text-align:right;display:flex;flex-direction:column;gap:7px;font-size:14px;line-height:17px;white-space:nowrap}.order-money>span{color:var(--muted);font-size:10px}.row-chevron{color:var(--muted)}.empty{display:flex;flex-direction:column;align-items:center;text-align:center;padding:50px 0 40px}.empty-icon{color:var(--muted);margin-bottom:20px}.empty h2{font-size:19px;line-height:24px;letter-spacing:-.3px;margin:0 0 10px}.empty p{max-width:300px;font-size:12px;line-height:1.7;color:var(--muted);margin:0 0 24px;white-space:pre-line}.empty .button{min-height:44px;font-size:13px}.list-footer{display:flex;justify-content:space-between;gap:12px;padding:18px 0;font-size:10px;line-height:1.5;color:var(--muted)}.list-footer>span:last-child{display:flex;align-items:center;gap:5px}.tiny-dot{display:inline-block;height:4px;width:4px;border-radius:50%;background:var(--muted)}.bottom-nav{position:relative;flex-shrink:0;width:100%;max-width:342px;min-height:calc(64px + max(env(safe-area-inset-bottom,0px),var(--tg-safe-bottom,0px)));margin:0 auto;display:flex;align-items:center;justify-content:space-between;padding:5px 5px calc(5px + max(env(safe-area-inset-bottom,0px),var(--tg-safe-bottom,0px)));background:var(--background);z-index:30}.bottom-nav button{position:relative;width:98px;height:54px;border-radius:20px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;color:var(--muted);font-size:10px;line-height:12px;isolation:isolate}.bottom-nav button[aria-current]{color:var(--text)}.bottom-nav svg{width:22px;height:22px}.nav-pill{position:absolute;inset:0;z-index:-1;border-radius:20px;background:var(--raised)}.avatar{display:flex;align-items:center;justify-content:center;flex-shrink:0;border-radius:50%;background:var(--raised);overflow:hidden}.avatar img{height:100%;width:100%;object-fit:cover}.profile-page{max-width:342px;margin:0 auto;display:flex;flex-direction:column;gap:14px;padding-top:18px}.profile-heading{padding:0;min-height:42px}.profile-avatar{width:42px;height:42px;font-family:SF Pro Display,sans-serif;font-size:13px}.profile-identity{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:19px}.profile-identity strong{font-size:16px;line-height:19px;overflow-wrap:anywhere}.profile-identity>span{font-size:13px;line-height:16px;color:var(--muted);flex-shrink:0}.agreement-ring{height:200px;position:relative;width:100%;margin:0;display:grid;place-items:center}.agreement-ring svg{height:190px;width:190px;overflow:visible}.agreement-ring circle{fill:none;stroke-width:12}.ring-track{stroke:var(--border)}.ring-progress{stroke:var(--text);transform:rotate(-90deg);transform-origin:95px 95px}.ring-caption{position:absolute;display:flex;flex-direction:column;align-items:center;gap:2px}.ring-caption strong{font-size:44px;line-height:53px;letter-spacing:-1.5px}.ring-caption span{font-size:12px;line-height:14px;color:var(--muted)}.profile-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding-bottom:14px;border-bottom:1px solid var(--border)}.profile-stats>div{display:flex;flex-direction:column;gap:7px;min-width:0}.profile-stats strong{font-size:30px;line-height:36px}.profile-stats span{font-size:12px;line-height:14px;color:var(--muted)}.profile-income{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:35px}.profile-income>div:first-child{min-width:0;max-width:160px}.profile-income>div>span{font-size:13px;line-height:16px;color:var(--muted)}.profile-income p{font-size:11px;line-height:1.4;margin:6px 0 0;color:var(--muted)}.profile-income-value{min-width:0;display:flex;align-items:center;justify-content:flex-end;gap:2px;flex-wrap:wrap}.profile-income-value strong{font-size:27px;line-height:32px;letter-spacing:-.5px;overflow-wrap:anywhere;text-align:right}.profile-income-value .currency-trigger{min-width:40px;min-height:40px;padding:0;gap:6px;font-family:SF Pro Display,sans-serif;font-size:27px;font-weight:600;line-height:32px;letter-spacing:-.5px;color:var(--text)}.profile-income-value .currency-trigger svg{width:13px}.profile-total{display:flex;flex-direction:column;gap:7px}.profile-total strong{font-size:16px;line-height:19px}.profile-total p{font-size:12px;line-height:14px;color:var(--muted);margin:0}.profile-page>.button{flex-shrink:0}.settings-section{margin-bottom:28px}.settings-section h2{font-family:SF Pro Text,sans-serif;font-size:12px;font-weight:400;color:var(--muted);margin:0;padding:0 0 5px}.settings-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 0;border-bottom:1px solid var(--border)}.settings-row strong{font-family:SF Pro Text,sans-serif;font-size:14px;font-weight:400;line-height:1.5}.settings-row p{font-size:12px;line-height:1.5;color:var(--muted);margin:6px 0 0}.settings-row .currency-trigger{min-width:62px;min-height:42px;background:var(--surface);border-radius:14px;color:var(--text)}.name-row input{max-width:220px}.settings-row .button{min-width:46px;font-size:12px;min-height:42px;padding:0 14px;border-radius:14px}.dialog{padding:0;width:520px;max-width:calc(100% - 24px);max-height:calc(100dvh - 32px);border:1px solid var(--border);border-radius:24px;background:var(--background);color:var(--text);overflow:auto}.dialog::backdrop{background:#000b;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);opacity:1;transition:opacity .18s ease}.dialog[data-closing=true]::backdrop{opacity:0}@starting-style{.dialog::backdrop{opacity:0}}.dialog-content{padding:26px}.dialog-header{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:26px}.dialog h2{font-size:25px;line-height:30px;letter-spacing:-.6px;margin:0;overflow-wrap:anywhere}.order-form{display:flex;flex-direction:column;gap:20px}label{font-size:12px;line-height:17px;color:var(--muted)}input:not([type=file]),textarea{display:block;width:100%;min-width:0;padding:13px 14px;border:1px solid var(--border);border-radius:12px;background:var(--surface);font-size:14px;line-height:20px;color:var(--text)}label>input,label>textarea{margin-top:9px}input::placeholder,textarea::placeholder{color:#848484}textarea{resize:none}.required{font-size:11px}.field-pair{display:grid;grid-template-columns:1fr 1fr;gap:14px}.order-form fieldset{border:0;padding:0;margin:0;min-width:0}.order-form legend{padding:0;margin-bottom:10px;font-size:12px;color:var(--muted)}.status-options{display:flex;flex-wrap:wrap;gap:7px}.status-options button{display:flex;align-items:center;justify-content:center;gap:6px;min-height:38px;padding:8px 11px;border-radius:19px;font-size:11px;color:var(--muted);border:1px solid var(--border)}.status-options .chosen{background:var(--white);color:var(--background);border-color:var(--white)}.amount-input{display:flex;align-items:center;border:1px solid var(--border);border-radius:12px;margin-top:9px;background:var(--surface);padding-right:8px}.amount-input input{background:transparent;border:0}.amount-input:focus-within{outline:1px solid var(--muted)}.amount-input input:focus-visible{outline:none}.attachment-label{display:flex;justify-content:space-between;gap:12px;font-size:12px;line-height:17px;color:var(--muted)}.attachment-label>span:last-child{font-size:11px}.upload-zone{display:flex;align-items:center;gap:13px;text-align:left;border:1px dashed var(--border);border-radius:14px;padding:16px;color:var(--muted);margin-top:-10px}.upload-zone>span{flex:1;font-size:13px;line-height:17px;color:var(--text)}.upload-hint{display:block;font-size:11px;line-height:16px;color:var(--muted);margin-top:5px}.attached{display:flex;align-items:center;gap:10px;border-bottom:1px solid var(--border);padding:5px 0 12px;margin-top:-8px;color:var(--muted)}.attached>span{flex:1;overflow:hidden;text-overflow:ellipsis;font-size:12px}.form-error{font-size:12px;line-height:1.6;color:#dfadad;margin:0}.error-banner{display:flex;align-items:center;gap:10px;padding:12px 14px;border:1px solid #554040;border-radius:12px;color:#dfbebe;font-size:12px;line-height:1.6;margin-top:18px}.error-banner .icon-button{margin-left:auto}.detail-project{display:flex;align-items:center;justify-content:space-between;gap:14px;color:var(--muted);font-size:13px;line-height:20px}.detail-amount{font-family:SF Pro Display,sans-serif;font-size:46px;line-height:1.2;letter-spacing:-1.5px;margin:24px 0;overflow-wrap:anywhere}.site-link{display:flex;align-items:center;gap:9px;color:var(--muted);font-size:13px;line-height:1.7;word-break:break-all}.detail-notes{font-size:13px;line-height:1.8;color:var(--muted);white-space:pre-wrap;overflow-wrap:anywhere;border-top:1px solid var(--border);padding-top:18px;margin-top:20px}.detail-date{font-size:11px;line-height:17px;color:var(--muted);margin:24px 0}.html-actions{display:flex;align-items:center;gap:9px;padding:14px 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border);margin:20px 0}.html-actions>span{font-size:12px;min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.html-actions .button{min-height:38px;font-size:11px;padding:0 12px;border-radius:12px}.delete-button{width:100%;min-height:42px;display:flex;align-items:center;justify-content:center;gap:7px;margin-top:12px;border-radius:14px;font-size:12px;color:var(--muted)}.confirm-dialog{width:360px;border-radius:28px;border-color:#ffffff1f;background:var(--background);box-shadow:0 16px 64px #0005}.confirm-dialog::backdrop{background:#0006;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}.confirm-dialog .dialog-content{padding:28px 24px 24px}.confirm-dialog .dialog-header{margin-bottom:24px}.confirm-dialog h2{font-size:23px;line-height:29px;letter-spacing:-.4px}.confirm-actions{display:flex;flex-direction:column;gap:10px}.confirm-actions .button{min-height:50px;font-size:14px;border-radius:25px}.confirm-actions .secondary{border-color:#ffffff29}.danger{color:#dfadad}.wide{width:1100px}.wide iframe{display:block;width:100%;height:65dvh;border:1px solid var(--border);border-radius:12px;background:#fff}.preview-toolbar{display:flex;justify-content:flex-end;align-items:center;gap:12px;font-size:12px;color:var(--muted);margin-bottom:14px}.preview-toolbar .button{min-height:40px;padding:0 12px;font-size:12px;border-radius:12px}.toast{position:fixed;left:50%;bottom:calc(76px + max(env(safe-area-inset-bottom,0px),var(--tg-safe-bottom,0px)));transform:translate(-50%)!important;display:flex;align-items:center;gap:9px;padding:13px 17px;border:1px solid var(--border);border-radius:14px;background:var(--surface);font-size:12px;line-height:17px;white-space:nowrap;z-index:100}@media(min-width:720px){.topbar{height:68px}.list-tools{flex-direction:row;align-items:center;justify-content:space-between;gap:20px}.search{order:2;max-width:190px}.filters{flex:1}.filters button{padding:0 10px}.profile-page{padding-top:24px;min-height:650px}.settings-section{max-width:590px;margin-left:auto;margin-right:auto}}@media(max-width:600px){.page-heading{padding-top:18px;padding-bottom:24px}.new-order{font-size:11px;min-height:38px;padding:0 12px;gap:5px}.new-order svg{width:15px}.overview{grid-template-columns:1fr 1fr;column-gap:24px;row-gap:20px;padding-bottom:22px}.overview>.income{grid-column:1/-1}.overview-count{padding-top:0}.overview-count .metric-label{min-height:16px}.overview strong{font-size:44px}.overview-count strong{font-size:30px}.filters{margin-right:-24px;padding-right:24px}.table-header{display:none}.order-row{grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:18px 0}.client-avatar{width:34px;height:34px;font-size:10px}.client-cell{gap:10px}.client-text strong{font-size:13px}.client-text>span{font-size:11px}.order-row .status-badge{grid-row:2;grid-column:1;margin-left:44px;font-size:10px}.order-money{grid-row:1/3;grid-column:2;font-size:13px}.row-chevron{display:none}.list-footer{font-size:9px;gap:8px}.empty{padding-top:42px}.profile-heading{padding:0}.settings-row{gap:14px}.settings-row strong{font-size:13px}.settings-row p{font-size:11px;max-width:240px}.name-row{flex-wrap:wrap}.name-row input{max-width:none}.settings-row .button{min-width:44px;padding:0 12px}.desktop-only{display:none}.field-pair{grid-template-columns:1fr}.dialog{max-height:calc(100dvh - 24px)}.dialog-content{padding:24px 20px}.dialog h2{font-size:24px}.order-form input,.order-form textarea,.name-row input{font-size:16px}.status-options button{font-size:10px;padding:8px 10px}.detail-project{flex-wrap:wrap}.detail-amount{font-size:40px}.html-actions{flex-wrap:wrap}.preview-toolbar>span{font-size:10px}.preview-toolbar .button{font-size:11px}.profile-income>div:first-child{max-width:145px}}@media(max-width:359px){.app-shell{padding-left:20px;padding-right:20px}.profile-identity strong{font-size:14px}.profile-identity>span{font-size:11px}.profile-stats span{font-size:11px}.profile-income-value strong{font-size:24px}.bottom-nav button{width:88px}.profile-income{flex-wrap:wrap}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}.stage-page{max-width:580px;margin:0 auto}.stage-page .page-heading{padding:18px 0 14px;min-height:74px}.stage-create{width:42px;min-height:42px;padding:0;border-radius:14px;flex-shrink:0}.stage-search{display:flex;align-items:center;gap:10px;min-height:42px;margin-bottom:9px;color:var(--muted);border-radius:12px}.stage-search input:not([type=file]){border:0;background:transparent;padding:10px 0;outline:none;font-size:13px;line-height:20px;border-radius:0}.stage-search:focus-within{outline:1px solid var(--border);outline-offset:5px}.stage-filters{display:flex;gap:7px;overflow:auto;scrollbar-width:none;padding:5px 0;margin-bottom:14px}.stage-filters button{position:relative;display:flex;align-items:center;justify-content:center;gap:6px;min-height:34px;border-radius:17px;padding:0 12px;font-size:11px;color:var(--muted);background:var(--surface);white-space:nowrap;flex-shrink:0}.stage-filters button:after{content:"";position:absolute;inset:-5px 0}.stage-filters button.active{background:var(--white);color:var(--background)}.stage-filters button>span{font-size:10px;opacity:.75}.stage-groups{display:flex;flex-direction:column;gap:22px}.stage-group-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:7px}.stage-group-heading h2{font-size:17px;line-height:20px;margin:0}.stage-group-heading>span{font-size:12px;line-height:16px;color:var(--muted)}.stage-order{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:68px;width:100%;padding:12px 0;border-bottom:1px solid var(--border);text-align:left}.stage-order:last-child{border-bottom:0}.stage-order .client-avatar{height:34px;width:34px;font-size:11px}.stage-order .client-text strong{font-size:14px;line-height:17px}.stage-order .client-text>span{font-size:11px;line-height:13px}.stage-order .client-cell{flex:1}.stage-amount{display:flex;flex-direction:column;gap:6px;align-items:flex-end;flex-shrink:0;min-width:96px;max-width:45%;text-align:right}.stage-amount strong{font-size:14px;line-height:17px;overflow-wrap:anywhere;max-width:100%}.stage-amount>span{font-size:10px;line-height:12px;color:var(--muted)}.settings-page{max-width:342px;margin:0 auto;display:flex;flex-direction:column;gap:14px;padding-top:18px}.settings-page .page-heading{padding:0}.settings-identity{display:flex;align-items:center;gap:12px;min-height:48px}.settings-identity .avatar{width:48px;height:48px;font-size:14px;font-family:SF Pro Display,sans-serif}.settings-identity>div:last-child{display:flex;flex-direction:column;gap:4px;min-width:0}.settings-identity strong{font-size:20px;line-height:24px;overflow-wrap:anywhere}.settings-identity>div>span{font-size:13px;line-height:16px;color:var(--muted)}.settings-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;padding:5px 0}.settings-tabs button{position:relative;min-height:34px;padding:0 8px;border-radius:17px;background:var(--surface);color:var(--muted);font-size:12px;line-height:14px}.settings-tabs button:after{content:"";position:absolute;inset:-5px 0}.settings-tabs button[aria-selected=true]{background:var(--white);color:var(--background)}.settings-panel{display:flex;flex-direction:column;gap:14px;min-width:0}.settings-section-title h2{font-size:28px;line-height:34px;letter-spacing:-.5px;margin:0}.settings-section-title p{font-size:12px;line-height:16px;color:var(--muted);margin:8px 0 0}.backup-card{display:flex;flex-direction:column;gap:14px;padding:20px;background:var(--surface);border-radius:24px}.backup-card h3{display:flex;align-items:center;gap:12px;font-family:SF Pro Display,sans-serif;font-size:18px;font-weight:600;line-height:22px;margin:0}.backup-card p{font-size:12px;line-height:16px;color:var(--muted);margin:0}.backup-card .button{min-height:48px;border-radius:16px}.settings-panel .settings-row{padding:16px 0}.settings-panel .settings-row:last-child,.currency-option:last-child{border-bottom:0}.settings-panel .settings-row>span{font-size:12px;color:var(--muted)}.settings-panel .name-row{flex-wrap:wrap}.settings-panel .name-row input{max-width:none;margin-top:0;font-size:16px}.currency-options{display:flex;flex-direction:column}.currency-option{display:flex;align-items:center;gap:12px;min-height:68px;padding:12px 0;width:100%;text-align:left;border-bottom:1px solid var(--border)}.currency-symbol{width:32px;font-size:25px;line-height:30px;color:var(--text);text-align:center}.currency-option-name{flex:1;font-size:13px;line-height:17px}.currency-code{font-size:11px;color:var(--muted)}.currency-check{position:relative;width:19px;height:19px;border:1px solid var(--border);border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0}.currency-check-fill{position:absolute;inset:-1px;border-radius:inherit;background:var(--white);opacity:0;transition:opacity .14s ease-out}.currency-check svg{position:relative;color:var(--background);opacity:0;transition:opacity .12s ease-out}.currency-check.checked .currency-check-fill,.currency-check.checked svg{opacity:1}.currency-note{font-size:11px;line-height:1.7;color:var(--muted);margin:0}.editor-dialog{width:440px;height:min(844px,calc(100dvh - 32px));overflow:hidden}.editor-dialog .dialog-content{height:100%;display:flex;flex-direction:column;padding:0}.editor-brand{height:48px;flex-shrink:0;display:flex;align-items:center;justify-content:center;font-family:SF Pro Display,sans-serif;font-size:15px}.editor-dialog .dialog-header{min-height:48px;flex-shrink:0;margin:calc(12px + var(--tg-safe-top,0px)) 24px 20px}.editor-dialog h2{font-size:28px;line-height:35px;letter-spacing:-.5px}.order-editor{display:flex;flex-direction:column;flex:1;min-height:0}.editor-scroll{display:flex;flex-direction:column;gap:20px;min-height:0;flex:1;overflow-y:auto;overflow-x:hidden;padding:0 24px 24px;scrollbar-width:thin;overscroll-behavior:contain}.editor-section{border:1px solid var(--border);border-radius:20px;padding:20px;flex-shrink:0;min-width:0}.editor-section.filled:not(.expanded){background:var(--surface);border-color:transparent}.editor-section h3{margin:0;font-size:20px;line-height:25px;font-family:SF Pro Display,sans-serif;font-weight:600}.editor-section h3>button{display:flex;align-items:center;gap:12px;width:100%;min-height:25px;padding:0;text-align:left}.editor-section h3 svg{margin-left:auto;color:var(--muted)}.turned{transform:rotate(180deg)}.section-number{font-family:SF Pro Text,sans-serif;font-size:12px;font-weight:400;color:var(--muted)}.section-summary{margin:12px 0 0;font-size:14px;line-height:18px;color:var(--muted);overflow-wrap:anywhere}.editor-section-body{display:flex;flex-direction:column;gap:16px;padding-top:16px;min-width:0}.capsule-field{display:flex;flex-direction:column;gap:8px;min-width:0;width:100%}.capsule-field>label{font-size:11px;line-height:14px;color:var(--muted)}.capsule-control{display:flex;align-items:center;gap:12px;position:relative;min-height:56px;padding:0 20px;border:1px solid var(--border);border-radius:28px;background:transparent;transition:background-color .14s,border-color .14s}.capsule-control:focus-within{border-color:var(--text);background:var(--surface)}.capsule-control input:not([type=file]),.capsule-control textarea{background:none;border:0;border-radius:0;padding:16px 0;margin:0;outline:none;font-size:16px;line-height:22px;min-width:0;flex:1}.capsule-control input::placeholder,.capsule-control textarea::placeholder{color:var(--muted)}.capsule-control input:focus-visible,.capsule-control textarea:focus-visible{outline:none}.capsule-mark{position:relative;display:block;flex-shrink:0;width:24px;height:28px;color:var(--muted)}.capsule-mark>svg,.capsule-mark>button{position:absolute;inset:0;margin:auto;opacity:0;transition:opacity .14s;pointer-events:none}.capsule-mark>button{width:36px;height:36px;inset:-4px -6px;padding:0;display:flex;align-items:center;justify-content:center;color:var(--muted);border-radius:50%;visibility:hidden}.capsule-mark>.visible{opacity:1;pointer-events:auto;visibility:visible}.capsule-field.multiline .capsule-control{align-items:flex-start}.capsule-field.multiline .capsule-mark{margin-top:14px}.capsule-field.multiline textarea{resize:none;min-height:100px}.capsule-control .currency-trigger{font-size:14px}.editor-upload,.editor-file{display:flex;align-items:center;gap:12px;min-height:56px;border:1px solid var(--border);border-radius:28px;padding:12px 16px;min-width:0}.editor-upload>span,.editor-file>span{flex:1;min-width:0;font-size:14px;line-height:20px;text-align:left;overflow-wrap:anywhere}.editor-file{padding:8px 12px}.editor-file>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.editor-status,.editor-notes{flex-shrink:0;min-width:0}.editor-status-trigger,.editor-notes-trigger{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:44px;width:100%;padding:0;font-size:14px;text-align:left}.editor-status-trigger>span:first-child,.editor-notes-trigger{color:var(--muted)}.editor-status-trigger>span:last-child{display:flex;align-items:center;gap:8px}.turned-note{transform:rotate(45deg)}.editor-status-options{display:flex;flex-direction:column;padding:8px 0}.editor-status-options>button{display:flex;align-items:center;gap:12px;min-height:44px;padding:0;font-size:14px;text-align:left}.editor-notes .capsule-field{padding-top:8px}.editor-actions{flex-shrink:0;padding:12px 24px max(24px,env(safe-area-inset-bottom,0px),var(--tg-safe-bottom,0px));background:var(--background);display:flex;flex-direction:column;gap:12px}.editor-actions .button{min-height:52px;border-radius:18px;font-size:16px;line-height:20px;justify-content:space-between;padding:0 16px}.stage-search{min-height:56px;border:1px solid var(--border);border-radius:28px;padding:0 20px}.stage-search input:not([type=file]){font-size:16px}.stage-search:focus-within{outline:none;border-color:var(--text);background:var(--surface)}.stage-search .icon-button{margin-right:-6px}.cover-editor{position:relative;height:128px;border-radius:20px;overflow:hidden;background:var(--surface)}.cover-editor>img{width:100%;height:100%;object-fit:cover}.cover-editor-actions{position:absolute;inset:auto 10px 10px;display:flex;gap:8px;justify-content:flex-end}.cover-editor-actions button{display:flex;align-items:center;justify-content:center;min-height:36px;padding:0 12px;border-radius:18px;background:#080808d9;font-size:12px}.stage-order.with-cover{position:relative;isolation:isolate;overflow:hidden;min-height:224px;padding:128px 16px 24px;align-items:flex-end;background:var(--background);border:1px solid var(--border);border-radius:20px;margin-bottom:12px}.order-cover{position:absolute;inset:0 0 auto;height:50%;z-index:-1}.order-cover>img{width:100%;height:100%;object-fit:cover}.order-cover:after,.detail-cover:after{content:"";position:absolute;inset:0;background:linear-gradient(to bottom,transparent 15%,#08080860 48%,var(--background) 96%)}.order-cover:after{background:radial-gradient(ellipse at 50% 0%,transparent 30%,#08080880 100%),linear-gradient(to bottom,#08080810,#08080840 35%,#08080888);border-bottom:1px solid var(--border)}.with-cover .client-cell{min-width:0}.covered-dialog .dialog-content{padding-top:0}.detail-cover{position:relative;height:160px;max-height:25dvh;margin:0 -26px 16px;pointer-events:none}.detail-cover>img{width:100%;height:100%;object-fit:cover}.covered-dialog .dialog-header{position:relative;z-index:1}@media(max-width:600px){.detail-cover{margin-left:-20px;margin-right:-20px}}.cover-crop-dialog{width:520px}.cover-crop-dialog .dialog-header{margin-bottom:20px}.cover-crop-frame{position:relative;width:100%;aspect-ratio:2/1;overflow:hidden;border-radius:16px;background:var(--surface);cursor:grab;touch-action:none;outline:none;-webkit-user-select:none;user-select:none}.cover-crop-frame:active{cursor:grabbing}.cover-crop-frame>img{position:absolute;max-width:none;pointer-events:none}.crop-grid{position:absolute;inset:0;border:1px solid #ffffff80;border-radius:inherit;pointer-events:none;box-shadow:inset 0 0 0 1px #0003}.crop-grid:before,.crop-grid:after{content:"";position:absolute;pointer-events:none;border-color:#ffffff40;border-style:solid}.crop-grid:before{inset:0 33.333%;border-width:0 1px}.crop-grid:after{inset:33.333% 0;border-width:1px 0}.cover-crop-actions{display:flex;justify-content:space-between;align-items:center;gap:16px}.cover-reset{min-height:44px;padding:0;color:var(--muted);font-size:13px}.cover-crop-actions .primary{min-width:140px;border-radius:24px}.detail-flex{margin-top:10px}.settings-flex{margin:10px 0 20px}.flex-dialog{width:600px}.flex-dialog .dialog-content{padding:0}.flex-dialog .dialog-header{position:sticky;top:0;z-index:2;margin:0;padding:20px 24px;background:var(--background)}.flex-preview{position:relative;margin:0 24px;border:1px solid var(--border);border-radius:20px;overflow:hidden;min-height:120px;background:var(--surface)}.flex-preview canvas{display:block;width:100%;height:auto}.flex-preview[aria-busy=true] canvas{opacity:.3}.flex-preview-error{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:24px;margin:0;font-size:13px;line-height:20px;background:#080808e6;text-align:center}.flex-controls{display:flex;flex-direction:column;gap:24px;padding:24px}.flex-control-section{display:flex;flex-direction:column;gap:12px;min-width:0}.flex-control-section h3{margin:0;font-family:SF Pro Display,sans-serif;font-size:17px;line-height:22px}.flex-choices{display:flex;flex-wrap:wrap;gap:8px}.flex-choices button{display:flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--border);border-radius:22px;min-height:44px;padding:0 14px;font-size:12px;color:var(--muted)}.flex-choices button[aria-pressed=true]{border-color:var(--white);background:var(--white);color:var(--background)}.flex-date-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.flex-date-pair .capsule-control{padding:0 12px;gap:4px}.flex-date-pair .capsule-control input{font-size:13px}.flex-date-pair .capsule-mark{width:18px}.flex-note{font-size:11px;line-height:17px;color:var(--muted);margin:0}.flex-currency{display:flex;align-items:center;justify-content:space-between;min-height:44px;font-size:13px;color:var(--muted)}.flex-toggle{display:flex;align-items:center;justify-content:space-between;min-height:44px;gap:16px;padding:0;text-align:left;font-size:14px}.flex-colors{display:flex;gap:12px}.flex-colors button{position:relative;display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;border:1px solid var(--border)}.flex-colors button>span{width:26px;height:26px;border-radius:50%}.flex-colors button>svg{position:absolute;color:var(--background)}.flex-export{position:sticky;bottom:0;z-index:1;display:flex;flex-direction:column;gap:10px;padding:16px 24px max(20px,env(safe-area-inset-bottom,0px),var(--tg-safe-bottom,0px));background:var(--background);border-top:1px solid var(--border)}.flex-export .button{min-height:48px;border-radius:24px}.cover-crop-controls{margin:24px 0}.m3-slider-field{display:flex;flex-direction:column;gap:8px;min-width:0;width:100%}.m3-slider-field>label{font-size:12px;line-height:17px;color:var(--muted)}.m3-slider{position:relative;height:48px;width:100%;isolation:isolate}.m3-slider-active,.m3-slider-inactive{position:absolute;top:16px;height:16px;pointer-events:none}.m3-slider-active{left:0;width:max(0px,calc(var(--slider-position) - 8px));background:var(--white);border-radius:8px 2px 2px 8px}.m3-slider-inactive{left:min(100%,calc(var(--slider-position) + 8px));right:0;background:var(--raised);border-radius:2px 8px 8px 2px}.m3-slider-handle{position:absolute;left:var(--slider-position);top:2px;width:4px;height:44px;border-radius:2px;background:var(--white);transform:translate(-50%);pointer-events:none}.m3-slider-stop{position:absolute;right:6px;top:22px;width:4px;height:4px;border-radius:50%;background:var(--muted);pointer-events:none}.m3-slider-value{position:absolute;bottom:calc(100% + 4px);left:clamp(28px,var(--slider-position),calc(100% - 28px));transform:translate(-50%);min-width:48px;min-height:36px;display:flex;align-items:center;justify-content:center;padding:0 12px;border-radius:18px;background:var(--white);color:var(--background);font-size:12px;line-height:16px;opacity:0;pointer-events:none;transition:opacity .12s;z-index:2;white-space:nowrap}.m3-slider:focus-within .m3-slider-value,.m3-slider:active .m3-slider-value{opacity:1}.m3-slider input[type=range]{position:absolute;inset:0;display:block;appearance:none;-webkit-appearance:none;margin:0;padding:0;width:100%;height:48px;min-height:48px;border:0;border-radius:0;background:transparent;opacity:0;cursor:pointer;outline:none;z-index:1}.m3-slider input[type=range]:focus-visible{outline:none}.m3-slider input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:4px;height:44px;border:0;background:transparent}.m3-slider input[type=range]::-moz-range-thumb{width:4px;height:44px;border:0;background:transparent}@media(max-width:600px){.flex-dialog{width:100%;max-width:100%;max-height:100dvh;height:100dvh;margin:0;border:0;border-radius:0}.flex-dialog .dialog-header{padding-top:calc(16px + var(--tg-safe-top,0px))}}@media(max-width:600px){.editor-dialog{width:100%;max-width:100%;height:100dvh;max-height:100dvh;margin:0;border:0;border-radius:0}.editor-brand{height:calc(48px + var(--tg-safe-top,0px));padding-top:var(--tg-safe-top,0px)}}@media(max-width:359px){.stage-filters button{padding:0 10px;font-size:10px}.stage-amount{min-width:88px}.stage-order .client-text strong{font-size:13px}.stage-order .client-cell{gap:9px}.backup-card{padding:18px}.backup-card h3{font-size:16px}.settings-identity strong{font-size:18px}.currency-option-name{font-size:12px}}
