/* Inter owns Latin/numbers; Korean glyphs fall back to Pretendard. */
@font-face{font-family:Inter;src:url('InterVariable.woff2') format('woff2');font-style:normal;font-weight:100 900;font-display:swap;unicode-range:U+0000-024F,U+1E00-1EFF,U+2000-206F,U+20A0-20CF}
@font-face{font-family:Pretendard;src:url('PretendardVariable.woff2') format('woff2');font-style:normal;font-weight:100 900;font-display:swap}
:root{--ink:#202124;--muted:#72757c;--line:#e9eaed;--bg:#f5f6f8;--primary:#ffec01;--mint:#ffec01;--mint-dark:#202124;--mint-pale:#fffbdc;--coral:#c34443;--gold:#756300;font-family:Inter,Pretendard,sans-serif;font-synthesis:none;letter-spacing:0;color:var(--ink);background:#e9ebee;-webkit-font-smoothing:antialiased}
*{box-sizing:border-box}body{margin:0 auto;max-width:480px;min-height:100dvh;background:var(--bg);font-size:16px;line-height:1.55}button,input,select,textarea{font:inherit;letter-spacing:0;-webkit-tap-highlight-color:transparent}button{border:0;background:none;color:inherit;cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}button,a{touch-action:manipulation}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible{outline:3px solid #4c70aa;outline-offset:3px}h1,h2,h3,p,dl{margin:0}h1{font-size:28px;line-height:1.3;font-weight:700}h2{font-size:21px;line-height:1.4;font-weight:700}h3{font-size:18px;line-height:1.5;font-weight:600}small,.muted{color:var(--muted)}.muted{font-size:13px}svg{width:22px;height:22px;flex:none;stroke-width:1.8}
.primary,.secondary,.danger{min-height:52px;display:inline-flex;justify-content:center;align-items:center;gap:8px;padding:14px 20px;border-radius:12px;font-size:16px;font-weight:600;line-height:1.4}.primary{background:var(--primary)}.primary:hover{background:#f4e201}.secondary{background:#eef0f3;color:#454950}.secondary:hover{background:#e6e8ed}.danger{background:#fff0ee;color:#bb4141}.wide{width:100%}.primary svg,.secondary svg,.danger svg{width:20px;height:20px}.icon-btn{display:inline-flex;align-items:center;justify-content:center;flex:none;width:44px;height:44px;border-radius:12px}.icon-btn:hover{background:#eef0f3}
.brand{display:flex;align-items:center}.brand img{display:block;width:132px;height:48px;object-fit:contain}.desktop-nav,.topbar-title,.topbar .avatar,.user-name,.sync{display:none}.topbar{height:76px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 24px;background:#fff}.topbar-actions{display:flex;align-items:center}
.topbar,.login-header{background:var(--primary);color:#fff}
.topbar .brand img,.login-header .brand img{filter:brightness(0) invert(1)}
.topbar .icon-btn,.login-header>span{color:#fff}
.topbar .icon-btn:hover{background:#0000000a}
.topbar .icon-btn:focus-visible{outline-color:#24272c}
.mobile-welcome>div{min-width:0;flex:1}
.mobile-welcome h1{overflow-wrap:anywhere}
.daily-greeting{display:flex;align-items:center;gap:8px;margin-top:12px}
.daily-greeting p{font-size:14px;line-height:1.7;color:#626a75;overflow-wrap:anywhere}
.daily-greeting .greeting-play{flex:none;width:40px;height:40px;color:#646b75;background:#fff;border-radius:50%}
.daily-greeting .greeting-play svg{width:18px;height:18px}
.voice-setting{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0}
.voice-setting strong{font-size:16px;font-weight:600}
.voice-setting small{display:block;font-size:13px;font-weight:400;color:var(--muted);margin-top:6px}
.voice-setting input[type=checkbox]{appearance:none;position:relative;width:46px;min-height:26px;height:26px;flex:none;margin:0;padding:0;border:0;border-radius:13px;background:#d6dae0;cursor:pointer}
.voice-setting input:checked{background:var(--primary)}
.voice-setting input:before{content:'';position:absolute;width:20px;height:20px;border-radius:50%;background:#fff;top:3px;left:3px;box-shadow:0 1px 3px #20212425;transition:transform .15s}
.voice-setting input:checked:before{transform:translateX(20px)}.workspace>main{padding:28px 24px calc(230px + env(safe-area-inset-bottom));width:100%;margin:auto;min-height:calc(100dvh - 76px)}
.page-head{display:flex;align-items:center;gap:12px;position:relative;margin-bottom:28px;min-height:80px}.page-head>div,.page-head>h1{flex:1;min-width:0}.page-head h1{font-size:28px;overflow-wrap:anywhere}.page-head p{font-size:14px;color:var(--muted);margin-top:8px}.eyebrow{font-size:12px;font-weight:500;color:var(--muted);margin-bottom:8px}.page-head .eyebrow{display:none}.page-head>.primary{width:48px;min-height:48px;padding:0;gap:0;font-size:0;border-radius:14px;flex:none;order:2}.page-head>.primary svg{width:24px;height:24px}.page-mascot{width:64px;height:72px;object-fit:contain;flex:none;order:1}
.mobile-welcome{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px;min-height:94px}.mobile-welcome h1{font-size:24px;line-height:1.45}.mobile-welcome .eyebrow{font-size:13px;margin-bottom:8px}.mobile-welcome img{width:82px;height:92px;object-fit:contain;flex:none}.home-overview{margin:0 -24px;background:#fff;padding:28px 24px 30px;display:grid;gap:30px}.home-contracts .section-head{margin-bottom:22px}.contract-phase-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.contract-phase{display:flex;flex-direction:column;align-items:center;gap:8px;padding:8px 0;text-align:center;border-radius:8px;min-width:0}.contract-phase:hover{background:var(--bg)}.contract-phase>span{font-size:14px;color:var(--muted)}.contract-phase>strong{font-size:28px;line-height:1.3;font-weight:700;max-width:100%;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.contract-phase small{font-size:12px;font-weight:400;margin-left:4px;color:var(--muted)}.contract-phase.phase-1>span:before{content:'';display:inline-block;width:6px;height:6px;background:#c6b800;border-radius:50%;margin:0 5px 2px 0}
.home-cycle-sales{padding-top:24px;border-top:1px solid var(--line)}.home-cycle-sales .section-head{margin-bottom:12px}.home-cycle-sales h2{font-size:16px;font-weight:500;color:#53585f}.cycle-basis{font-size:12px;color:var(--muted);background:var(--bg);padding:4px 8px;border-radius:4px}.cycle-sales-amount{font-size:32px;line-height:1.4;font-weight:700;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.home-cycle-sales>p{font-size:13px;margin-top:8px;color:var(--muted)}.home-section{padding-top:32px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.section-head h2{font-size:21px}.section-head h3{font-size:18px}.section-head button{display:inline-flex;align-items:center;justify-content:center;gap:2px;min-height:44px;font-size:13px;color:#60656d;flex:none}.section-head button svg{width:16px;height:16px}
.record-list{display:grid;gap:10px}.record{display:grid;grid-template-columns:40px minmax(0,1fr) 16px;align-items:center;gap:12px;width:100%;padding:20px 16px;background:#fff;border-radius:8px;text-align:left;min-height:104px}.record:hover{background:#fafbfc;box-shadow:inset 0 0 0 1px #dce0e5}.record-body{min-width:0;grid-column:2;grid-row:1}.record-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:6px}.record-title strong{font-size:16px;line-height:1.5;font-weight:600;overflow-wrap:anywhere}.record-sub,.record p{display:block;color:var(--muted);font-size:13px;line-height:1.65;overflow-wrap:anywhere}.record-right{grid-column:2;grid-row:2;display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:4px 12px;min-width:0}.record-right strong{display:block;font-size:17px;font-weight:600;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.record-right small{font-size:12px;color:var(--muted);overflow-wrap:anywhere}.record>svg:last-child{grid-column:3;grid-row:1 / span 2;width:16px;color:#8e949c}.record>.tile,.record>.time-tile{grid-column:1;grid-row:1;align-self:start}.tile{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:8px;background:#f2f3f6;color:#51565e;font-weight:600;flex:none}.tile svg{width:21px;height:21px}.time-tile{display:flex;flex-direction:column;align-items:center;gap:5px;width:40px}.time-tile b{font-size:14px;font-weight:600}.time-tile small{font-size:12px}.record-schedules{border-left:3px solid #e0e3e8}.record-schedules:first-child{border-left-color:#e0ce00}
.badge{display:inline-flex;align-items:center;white-space:nowrap;padding:4px 8px;border-radius:4px;background:#eef1f4;color:#59616b;font-size:12px;font-weight:500;line-height:1.5}.badge.gold{background:#fff8ca;color:#6d6217}.badge.coral{background:#ffefed;color:#ad4140}.badge.gray{background:#eef0f3;color:#777d86}.badge.purple{background:#edf2fa;color:#426592}.toolbar{display:flex;align-items:center;gap:8px;margin-bottom:16px}.search{position:relative;flex:1;min-width:0}.search svg{position:absolute;left:16px;top:17px;width:20px;height:20px;color:#9197a0;pointer-events:none}.search input{height:54px;padding-left:46px;background:#fff;margin-top:0}.toolbar .icon-btn{background:#fff;width:48px;height:54px}.chips{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 20px}.chip{min-height:40px;padding:9px 13px;border-radius:8px;font-size:14px;background:#eaecf0;color:#747b84;font-weight:500}.chip.active{background:#272a30;color:#fff}.summary-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 -24px 24px;padding:24px;background:#fff}.summary-strip>div{min-width:0}.summary-strip span{display:block;color:var(--muted);font-size:13px;margin-bottom:8px}.summary-strip b{display:block;font-size:18px;font-weight:600;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.empty{text-align:center;padding:32px 16px;color:var(--muted)}.empty p{font-size:15px;line-height:1.7}.empty .empty-mascot{display:block;width:88px;height:98px;object-fit:contain;margin:0 auto 16px}.empty>svg{width:32px;height:32px;margin-bottom:16px}.empty button{margin-top:20px}
.bottom-nav{position:fixed;left:50%;bottom:0;transform:translateX(-50%);width:100%;max-width:480px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:center;background:#fff;padding:8px 8px calc(8px + env(safe-area-inset-bottom));z-index:20;box-shadow:0 -5px 24px #25293306}
.bottom-nav>button{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;height:66px;gap:4px;color:#949aa3;font-size:11px;font-weight:500;white-space:nowrap}
.bottom-nav>button.active{color:#24272c}
.bottom-nav>button.active svg{stroke-width:2.2}
.bottom-nav .nav-symbol{width:44px;height:44px;display:grid;place-items:center;flex:none}
.bottom-nav svg{width:22px;height:22px}
.quick-contract{position:fixed;right:max(16px,calc((100vw - 480px)/2 + 16px));bottom:calc(98px + env(safe-area-inset-bottom));z-index:21;width:88px;height:112px;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:4px;color:var(--ink);background:transparent;border:0;padding:0}
.quick-contract img{display:block;width:72px;height:78px;object-fit:contain;filter:drop-shadow(0 3px 3px #20212415);transform-origin:50% 90%;animation:contract-float 3.2s ease-in-out infinite}
.quick-contract>span{width:88px;height:30px;display:flex;align-items:center;justify-content:center;gap:3px;background:var(--primary);border-radius:8px;box-shadow:0 3px 12px #20212420;font-size:13px;font-weight:600;white-space:nowrap}
.quick-contract svg{width:15px;height:15px}
.quick-contract:hover img,.quick-contract:focus-visible img{animation-play-state:paused}
body:has(dialog[open]) .quick-contract{visibility:hidden}
@keyframes contract-float{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-4px) rotate(-2deg)}}
@media(min-width:800px){.quick-contract{right:max(16px,calc((100vw - 640px)/2 + 16px))}}
@media(prefers-reduced-motion:reduce){.quick-contract img{animation:none}}

.schedule-bundle{min-width:0;background:#fff;border-radius:8px;border-left:3px solid #dfcc00;overflow:hidden}
.schedule-bundle>summary{display:flex;align-items:center;gap:12px;min-height:112px;padding:16px;list-style:none;cursor:pointer}
.schedule-bundle>summary::-webkit-details-marker{display:none}
.bundle-heading{flex:1;min-width:0}
.bundle-labels{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.bundle-title{display:block;font-size:16px;font-weight:600;line-height:1.5;overflow-wrap:anywhere;margin-top:8px}
.bundle-overview{display:block;font-size:13px;line-height:1.65;color:var(--muted);overflow-wrap:anywhere;margin-top:6px;font-variant-numeric:tabular-nums}
.schedule-bundle>summary>svg{width:20px;height:20px;flex:none;color:#757d87;transition:transform .18s}
.schedule-bundle[open]>summary>svg{transform:rotate(180deg)}
.schedule-bundle>summary:hover{background:#fafbfc}
.schedule-bundle>summary:focus-visible{outline:2px solid #727980;outline-offset:-3px;border-radius:6px}
.upcoming-more{margin-top:14px;min-height:48px;gap:6px}
.upcoming-more svg{width:18px;height:18px}
.same-day-label{font-size:12px;font-weight:600;color:#696015;background:#fff9ce;border-radius:4px;padding:4px 7px}
.bundle-date{font-size:12px;color:var(--muted)}
.schedule-step{width:100%;display:grid;grid-template-columns:42px minmax(0,1fr) auto 12px;align-items:center;gap:8px;text-align:left;padding:16px;min-height:92px;border-top:1px solid var(--line)}
.schedule-step:hover{background:#fafbfc}
.step-kind{font-size:13px;font-weight:600;border-radius:4px;padding:5px 7px;text-align:center}
.step-kind.setup{background:#eaf6f0;color:#297454}.step-kind.teardown{background:#edf2fa;color:#45689b}
.step-time{font-size:18px;font-weight:700;line-height:1.3;font-variant-numeric:tabular-nums}
.step-time small{display:block;font-size:12px;font-weight:400;color:var(--muted);margin-top:3px}
.step-info{grid-column:1 / 4;grid-row:2;min-width:0}
.step-info strong{display:block;font-size:13px;line-height:1.6;font-weight:500;overflow-wrap:anywhere}
.step-info>span{display:block;font-size:12px;color:var(--muted);line-height:1.65;overflow-wrap:anywhere;margin-top:3px}
.schedule-step>svg{grid-column:4;grid-row:1 / span 2;width:12px;height:16px;color:#8e949c}
/* The phone editor is a full page; desktop uses one focused tool surface. */
dialog{border:0;padding:0;width:640px;max-width:100%;max-height:92dvh;background:#fff;color:var(--ink);border-radius:8px;box-shadow:0 24px 80px #20212426;overflow:hidden}dialog::backdrop{background:#20212466}dialog[open]{display:flex;flex-direction:column}dialog>form{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden;margin:0}.modal-head{display:flex;align-items:center;gap:8px;padding:18px 24px;min-height:80px;background:#fff;flex:none}.modal-head h2{font-size:24px;font-weight:700;line-height:1.35;overflow-wrap:anywhere}.modal-head .icon-btn{margin-left:-8px}.modal-content{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scroll-padding:24px;padding:12px 28px 32px;counter-reset:form-group}.modal-actions{display:flex;align-items:stretch;gap:10px;padding:16px 28px 24px;background:#fff;flex:none;box-shadow:0 -8px 20px #fff}.modal-actions .primary{flex:1;min-width:0}.modal-actions .secondary{min-width:76px}.modal-actions .danger{min-width:52px;margin-right:auto;padding-inline:14px}
label{display:block;font-size:14px;color:#555c65;font-weight:500;line-height:1.5;margin:0 0 24px}.field-caption{display:block;margin-bottom:9px}input,select,textarea{display:block;width:100%;min-width:0;min-height:56px;padding:16px;background:#f3f4f6;border:1px solid transparent;border-radius:12px;color:#24282e;font-size:16px;line-height:1.4;outline:none;font-weight:400;margin-top:9px;transition:background .15s,border-color .15s,box-shadow .15s}input::placeholder,textarea::placeholder{color:#9ba1aa;opacity:1}input:focus,select:focus,textarea:focus{background:#fff;border-color:#7b818a;box-shadow:0 0 0 3px #2f394b0b}input:disabled,select:disabled,textarea:disabled{background:#eceef1;color:#a1a6ae;cursor:not-allowed}input:user-invalid,select:user-invalid,textarea:user-invalid,[aria-invalid=true]{border-color:#d7605b;background:#fff7f5;box-shadow:0 0 0 2px #d7605b10}input[data-validated=true]:valid{border-color:#6a9b84;background:#f5fbf8}.form-error{font-size:13px;line-height:1.65;color:#bc4140;margin:12px 0;white-space:pre-wrap}.form-error:not(:empty){padding:14px 16px;background:#fff0ee;border-radius:8px}.form-error:empty{display:none}.form-hint{font-size:13px;font-weight:400;color:var(--muted);line-height:1.7;margin:0 0 20px}.input-shell{display:block;position:relative}.input-shell input,.input-shell select{margin:0}.input-shell.select-shell>svg{position:absolute;right:16px;top:18px;width:20px;height:20px;color:#727983;pointer-events:none}.select-shell select{appearance:none;padding-right:46px;background:#edf0f4;font-weight:500}.input-unit{position:absolute;right:18px;top:17px;font-size:16px;color:#555c65;pointer-events:none}.input-shell input[data-money]{padding-right:44px;text-align:right;font-variant-numeric:tabular-nums;font-size:20px;font-weight:600}
.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px}.span-2{grid-column:1 / -1;min-width:0}.form-section{padding:26px 0 8px;margin:0 0 14px;border:0}.form-section+ .form-section{border-top:6px solid var(--bg);margin-inline:-28px;padding-inline:28px}.form-section h3{font-size:20px;font-weight:700;margin-bottom:26px;display:flex;align-items:center;gap:12px;counter-increment:form-group}.form-section h3:before{content:counter(form-group,decimal-leading-zero);font-family:Inter,sans-serif;font-size:12px;font-weight:600;color:#989fa8}.form-section:first-child{padding-top:16px}textarea{min-height:128px;resize:vertical;line-height:1.75}input[type=hidden]{display:none}input[type=checkbox],input[type=radio]{appearance:auto;display:inline-block;width:22px;height:22px;min-height:22px;margin:0;padding:0;accent-color:#363a41;flex:none}.check-row{display:flex;gap:12px;align-items:flex-start;font-size:15px;color:#454d57;line-height:1.6;margin-top:24px}.check-row input{margin-top:2px}.switch{display:block;position:relative;width:46px;height:28px;flex:0 0 46px;margin:0}.switch input{position:absolute;inset:0;opacity:0;width:46px;height:28px;min-height:0;cursor:pointer}.switch span{display:block;width:46px;height:28px;background:#d9dde3;border-radius:20px;pointer-events:none}.switch span:before{content:'';position:absolute;left:3px;top:3px;width:22px;height:22px;background:#fff;border-radius:50%;transition:transform .15s;box-shadow:0 1px 4px #0001}.switch input:checked+span{background:#f0df00}.switch input:checked+span:before{transform:translateX(18px);background:#24282e}.switch input:focus-visible+span{outline:3px solid #4c70aa;outline-offset:3px}
.detail-title{padding:20px 0 28px;display:flex;gap:14px;align-items:center}.detail-title h2{font-size:24px;overflow-wrap:anywhere}.detail-title p{margin-top:10px}.detail-title .tile{width:48px;height:48px}.detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 20px;padding:24px 0;margin-bottom:24px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.detail-grid>div{min-width:0}.detail-grid dt{font-size:13px;color:var(--muted);margin-bottom:7px}.detail-grid dd{font-size:16px;font-weight:500;line-height:1.6;overflow-wrap:anywhere;white-space:pre-wrap;margin:0}.detail-grid a{color:#466999;text-decoration:underline;text-underline-offset:4px}.detail-grid .detail-money{grid-column:1 / -1;display:flex;align-items:center;justify-content:space-between;gap:12px}.detail-money dt{margin:0}.detail-money dd{font-size:24px;font-weight:700;font-variant-numeric:tabular-nums;text-align:right}.detail-section{margin:28px -28px 0;padding:28px;background:var(--bg)}.detail-section .detail-section{margin:0;padding:0}.detail-section .section-head{margin-bottom:16px}.detail-section>h3{margin-bottom:16px}.detail-section .record{margin-bottom:8px}.detail-note{font-size:15px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;color:#5e6570;padding:18px;background:#f4f5f7;border-radius:8px}.sub-heading{margin:28px 0 14px;font-size:17px;font-weight:600}.detail-amount{font-size:32px;font-weight:700;line-height:1.4;margin:16px 0 24px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.calendar-layout{display:grid;gap:28px}.calendar{background:#fff;margin:0 -24px;padding:24px;min-width:0}.month-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:20px}.month-head h2{font-size:20px;white-space:nowrap}.month-head>div{display:flex;align-items:center}.month-head .secondary{min-height:40px;padding:8px 10px;border-radius:8px;font-size:13px}.month-head .icon-btn{width:34px}.weekdays,.days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}.weekdays span{text-align:center;font-size:13px;color:#8a929d;padding:8px 0}.day{position:relative;display:flex;align-items:center;justify-content:center;height:46px;border-radius:12px;font-size:15px;font-weight:500}.day.other{color:#c4c8cf}.day.today{font-weight:700;color:#34383f}.day.selected{background:var(--primary);color:#202124}.day .dot{position:absolute;bottom:5px;width:4px;height:4px;background:#727780;border-radius:50%}.calendar-note{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;color:var(--muted);font-size:12px;margin-top:20px}
.segment{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:4px;gap:3px;background:#e9ecf0;border-radius:12px;margin-bottom:28px}.segment button{min-width:0;min-height:44px;border-radius:9px;font-size:15px;font-weight:500;color:#808792}.segment button[aria-selected=true]{background:#fff;color:#242930;font-weight:600;box-shadow:0 2px 6px #252a3210}.ledger-total{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 16px;align-items:center;margin:0 -24px 24px;padding:24px;background:#fff}.ledger-total>span{grid-column:1;font-size:14px;color:var(--muted)}.ledger-total>strong{grid-column:1;min-width:0;font-size:28px;font-weight:700;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.ledger-total>.primary{grid-column:2;grid-row:1 / span 2;width:48px;min-height:48px;padding:0;font-size:0;border-radius:14px}.settlement-summary{padding:8px 0 24px}.settlement-summary>h2{font-size:32px;margin:12px 0 0;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.amount-list{margin:24px 0}.amount-list>div{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:10px 0}.amount-list dt{font-size:14px;color:var(--muted);flex-shrink:0}.amount-list dd{font-size:16px;font-weight:500;margin:0;text-align:right;overflow-wrap:anywhere;min-width:0;font-variant-numeric:tabular-nums}.amount-list .total{border-top:1px solid var(--line);margin-top:14px;padding-top:20px}.amount-list .total dd{font-size:20px;font-weight:700}.payout-list{display:grid;gap:16px}.payout-list>section{background:#f4f5f7;border-radius:8px;padding:20px}.payout-list h3{display:flex;justify-content:space-between;font-size:18px}.payout-list h3 small{font-size:13px;font-weight:400}.payout-list .amount-list{margin:12px 0 0}.legacy-payment,.settled-sources>div{display:flex;justify-content:space-between;gap:16px;padding:16px 0;font-size:14px}.settled-sources>div>span{overflow-wrap:anywhere;min-width:0}.settled-sources b{white-space:nowrap;font-size:14px}.legacy-payment{color:var(--muted)}
.menu-list{display:grid;gap:10px}.menu-list>button{display:flex;align-items:center;gap:16px;width:100%;min-height:88px;padding:20px;background:#fff;border-radius:8px;text-align:left}.menu-list strong{font-size:17px;font-weight:600;flex:1}.menu-list>button>svg:first-child{width:24px;height:24px;color:#5e6670}.menu-list>button>svg:last-child{width:18px;color:#939aa4}.people-band{margin:32px 0}.people-band h2{font-size:21px}.people-band>div:not(.section-head){display:flex;align-items:center;gap:12px;padding:20px 0}.people-band .muted{margin-left:auto}.person-dot,.avatar{width:36px;height:36px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#e7eaef;color:#616976;font-weight:600;font-size:14px;flex:none}.people-band strong{font-size:16px;font-weight:500}.settings-section{margin:0 -24px 16px;padding:24px;background:#fff}.settings-section h2{font-size:21px;margin-bottom:12px}.settings-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 0}.settings-row>div{min-width:0}.settings-row p{font-size:13px;color:var(--muted);margin-top:7px;overflow-wrap:anywhere}.settings-row strong{font-size:16px;font-weight:600}.settings-row .secondary{font-size:13px;min-height:42px;padding:10px 12px;white-space:nowrap}.settings-section .section-head button{font-size:13px}
.document-row{display:flex;align-items:center;gap:10px;padding:18px 0}.document-row>div{flex:1;min-width:0}.document-row strong{display:block;font-size:15px;font-weight:500;overflow-wrap:anywhere}.document-row small{display:block;font-size:12px;margin-top:5px}.document-row .icon-btn{width:40px}.document-row .tile{width:32px;flex-basis:32px}.document-picker{display:flex;flex-direction:column;gap:16px;background:#f4f5f7;border-radius:8px;padding:24px;margin-top:24px}.document-picker label{margin:0;font-size:16px}.document-picker input{max-width:100%;padding:8px 0;font-size:13px;min-height:44px}.document-picker>svg{width:32px;height:32px}#document-filename{font-size:13px;color:var(--muted);overflow-wrap:anywhere}.billing-summary>div{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0}.billing-summary>div>span:first-child{min-width:0;font-size:14px;overflow-wrap:anywhere}.billing-summary .badge{flex:none}
.login-screen{min-height:100dvh;background:#fff;display:flex;flex-direction:column}.login-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:24px}.login-header>span{font-size:12px;font-weight:600;color:#fff}.login-content{padding:24px 28px 28px;width:100%;max-width:464px;margin:auto;flex:1}.login-intro{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 36px;min-height:128px}.login-intro h1{font-size:28px;line-height:1.45}.login-mascot{width:116px;height:124px;object-fit:contain}.login-screen label{color:#5c646f}.login-screen #login-form>.primary{margin-top:12px;min-height:56px}.login-server{margin-bottom:24px}.login-server summary{display:flex;align-items:center;gap:8px;min-height:44px;font-size:14px;list-style:none;cursor:pointer;color:#717985}.login-server summary::-webkit-details-marker{display:none}.login-server summary svg{width:18px;height:18px}.login-server summary svg:last-child{margin-left:auto}.login-server[open] summary svg:last-child{transform:rotate(180deg)}.login-server label{margin-top:16px}.login-bottom{margin-top:24px;text-align:center}.login-bottom .secondary{background:#f4f5f7;font-size:15px}.login-bottom small{display:block;font-size:12px;margin-top:14px}.login-footer{font-size:12px;color:#939ba6;text-align:center;padding:16px 24px 28px}
.notice,.offline,.demo-banner{font-size:13px;line-height:1.6;padding:12px 16px;background:#fff9dd;color:#7b6e24}.notice,.offline{margin-bottom:20px;border-radius:8px}.offline{background:#fff0ee;color:#b14440}.demo-banner{text-align:center}.demo-banner button{text-decoration:underline;text-underline-offset:3px;padding:4px}#toast{position:fixed;bottom:calc(144px + env(safe-area-inset-bottom));left:50%;transform:translate(-50%,10px);background:#2b3038;color:#fff;max-width:calc(100% - 32px);padding:14px 20px;border-radius:8px;font-size:14px;text-align:center;z-index:100;opacity:0;pointer-events:none;transition:.15s}#toast.visible{opacity:1;transform:translate(-50%,0)}.no-wrap{white-space:nowrap}
@media(min-width:800px){body,.bottom-nav{max-width:640px}.workspace>main{padding-inline:40px}.topbar{padding-inline:40px}.home-overview{margin-inline:-40px;padding-inline:40px;grid-template-columns:1.1fr 1fr;gap:36px;align-items:start}.home-cycle-sales{padding:0 0 0 30px;border-top:0;border-left:1px solid var(--line)}.home-cycle-sales .section-head{gap:4px}.home-overview .cycle-sales-amount{font-size:28px}.home-content-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.home-content-grid .record{grid-template-columns:32px minmax(0,1fr) 12px;padding:18px 14px;gap:10px}.home-content-grid .tile{width:32px;height:36px}.home-content-grid .record-right{display:block}.home-content-grid .record-right small{display:block;margin-top:4px}.summary-strip,.ledger-total,.calendar,.settings-section{margin-inline:-40px;padding-inline:40px}.page-mascot{width:80px;height:84px}.page-head{min-height:88px}.calendar{padding-block:28px}.day{height:56px}.login-header{padding:28px 40px}.login-content{padding-top:42px}.record-contracts{grid-template-columns:40px minmax(0,1fr) minmax(120px,180px) 16px}.record-contracts .record-right{grid-column:3;grid-row:1;display:block;text-align:right}.record-contracts .record-right small{display:block;margin-top:8px}.record-contracts>svg:last-child{grid-column:4;grid-row:1}.home-content-grid .record-contracts{grid-template-columns:32px minmax(0,1fr) 12px}.home-content-grid .record-contracts .record-right{grid-column:2;grid-row:2;text-align:left}.home-content-grid .record-contracts>svg:last-child{grid-column:3;grid-row:1 / span 2}}
@media(max-width:799px){dialog{position:fixed;inset:0;margin:0 auto;width:min(480px,100%);height:100dvh;max-height:100dvh;border-radius:0;box-shadow:none}.modal-head{padding:16px 20px;min-height:76px}.modal-content{padding:8px 24px 24px}.modal-actions{padding:16px 24px calc(16px + env(safe-area-inset-bottom))}.form-section+ .form-section{margin-inline:-24px;padding-inline:24px}.field-grid{grid-template-columns:minmax(0,1fr);gap:0}.field-grid>*{grid-column:1}.detail-section{margin-inline:-24px;padding-inline:24px}}
@media(max-width:360px){.workspace>main{padding-inline:20px}.topbar{padding-inline:20px}.home-overview,.summary-strip,.ledger-total,.calendar,.settings-section{margin-inline:-20px;padding-inline:20px}.page-head{gap:8px}.page-mascot{width:48px;height:60px}.page-head h1{font-size:24px}.page-head>.primary{width:44px;min-height:44px}.mobile-welcome img{width:64px;height:80px}.summary-strip{gap:8px}.summary-strip b{font-size:16px}.record{grid-template-columns:32px minmax(0,1fr) 12px;padding:18px 12px;gap:10px}.record>.tile,.time-tile{width:32px}.record-right{display:block}.record-right small{display:block;margin-top:4px}.record-title{gap:6px}.record-title strong{font-size:15px}.section-head h2{font-size:20px}.month-head h2{font-size:18px}.month-head .icon-btn{width:30px}.modal-content{padding-inline:20px}.modal-head{padding-inline:16px}.modal-actions{padding-inline:20px;gap:8px}.modal-actions .primary,.modal-actions .secondary,.modal-actions .danger{padding-inline:12px;font-size:15px}.form-section+ .form-section,.detail-section{margin-inline:-20px;padding-inline:20px}.login-content{padding-inline:24px}.login-intro{gap:8px}.login-intro h1{font-size:26px}.login-mascot{width:88px;height:108px}.document-row{gap:8px}.document-row .tile{display:none}.amount-list>div{gap:12px}.amount-list dd{font-size:15px}}
.home-layout{display:flex;flex-direction:column;gap:28px}.home-layout .home-contracts{order:0;background:#fff;margin:0 -24px;padding:24px}.home-layout .home-upcoming{order:1}.home-layout .home-cycle-sales{order:2;background:#fff;margin:0 -24px;padding:24px;border:0}.home-layout .home-section:last-child{order:3}.home-layout .home-section{padding-top:0}
@media(min-width:800px){.home-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 24px}.home-layout .home-contracts{grid-column:1;grid-row:1;margin-left:-40px;margin-right:0;padding-left:40px}.home-layout .home-cycle-sales{grid-column:2;grid-row:1;margin-left:-24px;margin-right:-40px;padding:24px 40px 24px 24px}.home-layout .home-upcoming{grid-column:1;grid-row:2}.home-layout .home-section:last-child{grid-column:2;grid-row:2}.home-layout .record{grid-template-columns:32px minmax(0,1fr) 12px;padding:18px 14px;gap:10px}.home-layout .tile{width:32px;height:36px}.home-layout .record-right,.home-layout .record-contracts .record-right{grid-column:2;grid-row:2;display:block;text-align:left}.home-layout .record-right small{display:block;margin-top:4px}.home-layout .record-contracts>svg:last-child{grid-column:3;grid-row:1 / span 2}}
@media(max-width:360px){.home-layout .home-contracts,.home-layout .home-cycle-sales{margin-inline:-20px;padding-inline:20px}}
.record.record-schedules,.home-layout .record.record-schedules{grid-template-columns:52px minmax(0,1fr) 12px}.record.record-schedules>.time-tile{width:52px}
@media(max-width:799px){.summary-strip{grid-template-columns:minmax(0,1fr);gap:14px}.summary-strip>div{display:flex;align-items:baseline;justify-content:space-between;gap:16px}.summary-strip span{margin:0;flex:none}.summary-strip b{font-size:20px;text-align:right;min-width:0}}
@media(max-width:360px){.detail-grid .detail-money{flex-direction:column;align-items:stretch;gap:8px}.detail-money dd{font-size:24px;text-align:left}}
.home-contracts .section-head,.home-cycle-sales .section-head{min-height:44px}
.home-contracts .section-head h2,.home-cycle-sales .section-head h2{font-size:21px;font-weight:700;line-height:1.4;color:var(--ink)}
.cumulative-sales{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:20px;padding-top:18px;border-top:1px solid var(--line)}.cumulative-sales>span{font-size:13px;color:#656d77;flex:none}.cumulative-sales small{display:block;font-size:12px;font-weight:400;margin-top:4px;color:var(--muted)}.cumulative-sales strong{font-size:16px;font-weight:600;min-width:0;text-align:right;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.record-contracts .record-right small{max-width:100%;line-height:1.65;overflow-wrap:anywhere}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;scroll-behavior:auto!important}}
