:root{--canvas:#f7fbff;--surface:#fff;--surface-soft:#f2f8ff;--text:#202735;--muted:#7a8290;--border:#e2eaf2;--primary:#0872c7;--primary-strong:#075fae;--primary-soft:#e8f4ff;--income:#198754;--income-soft:#eaf8f1;--danger:#d65e5e;--danger-soft:#fdeeee;--shadow:0 10px 28px #20273512;--motion-fast:.14s;--motion-standard:.22s;--motion-enter:.36s;--motion-ease:cubic-bezier(.2, .8, .2, 1)}*{box-sizing:border-box}html,body{overflow-x:clip}body{background:var(--canvas);color:var(--text);font-family:var(--font-bai-jamjuree), "Noto Sans Thai", sans-serif;margin:0;font-size:14px}.legal-page{width:min(100%,840px);margin:0 auto;padding:32px 20px 56px}.legal-header{padding:8px 0 24px}.legal-brand{color:var(--text);align-items:center;gap:10px;margin-bottom:28px;font-size:1.1rem;font-weight:700;display:inline-flex}.legal-brand img{object-fit:contain;width:44px;height:44px}.legal-header h1{margin:6px 0 12px;font-size:clamp(2rem,6vw,3.2rem);line-height:1.15}.legal-lead{max-width:680px;color:var(--muted);margin:0;font-size:1.05rem;line-height:1.8}.legal-updated{color:var(--muted);margin:16px 0 0;font-size:.9rem}.legal-card{border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow);border-radius:24px;gap:28px;padding:clamp(22px,5vw,40px);display:grid}.legal-card section+section{border-top:1px solid var(--border);padding-top:28px}.legal-card h2{color:var(--text);margin:0 0 10px;font-size:1.15rem}.legal-card p,.legal-card li{color:#4f5765;line-height:1.85}.legal-card p{margin:0 0 12px}.legal-card p:last-child{margin-bottom:0}.legal-card ul{margin:8px 0 0;padding-left:22px}.legal-card a,.legal-footer a{color:var(--primary-strong);text-underline-offset:3px;text-decoration:underline}.legal-footer{color:var(--muted);justify-content:center;gap:12px;padding:24px 0 0;font-size:.95rem;display:flex}.public-home{width:min(100% - 32px,1120px);margin:0 auto;padding:24px 0 40px}.public-home-header,.public-home-actions,.public-home-footer,.public-home-footer nav{align-items:center;display:flex}.public-home-header{justify-content:space-between;gap:20px}.public-home-header .legal-brand{margin-bottom:0}.public-home-hero{grid-template-columns:minmax(0,1.2fr) minmax(260px,.8fr);align-items:end;gap:clamp(28px,7vw,96px);padding:clamp(72px,13vw,150px) 0 96px;display:grid}.public-home-hero h1{letter-spacing:-.04em;max-width:760px;margin:8px 0 20px;font-size:clamp(2.5rem,7vw,5.8rem);line-height:1.04}.public-home-lead{color:#4f5765;max-width:690px;margin:0;font-size:clamp(1rem,2vw,1.2rem);line-height:1.85}.public-home-actions{flex-wrap:wrap;gap:18px;margin-top:30px}.public-home-actions .text-button{padding:12px 0}.public-home-promise{background:var(--primary-soft);color:#155b92;border:1px solid #c9e1f7;border-radius:24px;gap:16px;padding:24px;font-size:1.05rem;font-weight:600;line-height:1.45;display:grid}.public-home-promise strong{color:var(--primary);font-size:1.5rem}.public-home-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.public-home-grid article,.public-home-trust{border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow);border-radius:22px;padding:24px}.public-home-number{color:var(--primary);font-size:.85rem;font-weight:800}.public-home-grid h2,.public-home-trust h2{margin:18px 0 8px}.public-home-grid p,.public-home-trust li{color:var(--muted);margin:0;line-height:1.75}.public-home-trust{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:24px;margin-top:16px;display:grid}.public-home-trust h2{margin-top:6px}.public-home-trust ul{gap:12px;margin:0;padding-left:22px;display:grid}.public-home-footer{border-top:1px solid var(--border);color:var(--muted);justify-content:space-between;gap:20px;margin-top:48px;padding-top:20px;font-size:.9rem}.public-home-footer nav{flex-wrap:wrap;gap:16px}.public-home-footer a:hover{color:var(--primary)}button,input,select,textarea{font:inherit}a{color:inherit;text-decoration:none}.app-shell{width:min(100% - 32px,760px);min-height:100dvh;margin:0 auto;padding:16px 0 64px}.application-frame{min-height:100dvh}.application-content{min-width:0;padding-top:60px}.mobile-app-header{z-index:30;width:100%;min-height:60px;padding:max(6px, env(safe-area-inset-top)) 12px 6px;border-bottom:1px solid var(--border);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fcfaf7f5;grid-template-columns:42px minmax(0,1fr) 36px;align-items:center;gap:10px;margin:0 auto;display:grid;position:fixed;top:0;left:0;right:0}.mobile-brand,.sidebar-brand{color:var(--text);align-items:center;gap:10px;font-weight:800;display:inline-flex}.mobile-brand>.richup-logo,.sidebar-brand>.richup-logo{justify-content:center;width:42px;height:42px}.sidebar-brand>.richup-logo{width:auto;height:48px}.richup-logo{align-items:center;gap:10px;min-width:0;display:inline-flex}.richup-logo-image{object-fit:contain;width:100%;height:100%;display:block}.richup-logo-sidebar{width:auto;height:48px}.richup-logo-sidebar .richup-logo-image{width:48px;height:48px}.user-avatar{background:var(--primary-soft);width:36px;height:36px;color:var(--primary);border-radius:50%;flex:none;place-items:center;font-weight:800;display:grid;overflow:hidden}.user-avatar img{border-radius:inherit;object-fit:cover;width:100%;height:100%;display:block}.account-menu{position:relative}.account-menu-mobile{justify-self:end;width:36px;margin-left:0}.mobile-app-header .company-switcher-wrap,.mobile-app-header .company-switcher{width:100%;min-width:0}.account-menu-trigger{color:var(--text);cursor:pointer;background:0 0;border:0;align-items:center;gap:10px;display:flex}.account-menu-mobile .account-menu-trigger{padding:0}.account-menu-mobile .user-summary-copy{display:none}.account-popover{z-index:20;border:1px solid var(--border);background:var(--surface);width:252px;box-shadow:var(--shadow);animation:richup-menu-in var(--motion-fast) var(--motion-ease);border-radius:16px;position:absolute;right:0;overflow:hidden}.account-menu-mobile .account-popover{width:auto;max-height:calc(100dvh - 86px);position:fixed;top:70px;left:16px;right:16px;overflow-y:auto}.account-popover-summary{border-bottom:1px solid var(--border);gap:2px;padding:16px;display:grid}.account-popover-summary small{color:var(--muted)}.account-menu-item{border:0;border-bottom:1px solid var(--border);background:var(--surface);width:100%;min-height:46px;color:var(--text);font:inherit;text-align:left;cursor:pointer;align-items:center;padding:0 16px;display:flex}.account-menu-item:hover{background:var(--primary-soft);color:var(--primary)}.account-logout-item{color:var(--danger);border-bottom:0}.desktop-sidebar{display:none}.topbar,.section-heading{align-items:center;gap:12px;display:flex}.topbar{justify-content:space-between}.brand-mark{background:var(--primary);color:#fff;border-radius:14px;place-items:center;width:42px;height:42px;font-weight:800;display:grid}.line-login-loading{min-height:100dvh;color:var(--text);text-align:center;background:#fff;border:0;border-radius:0;align-content:center;justify-items:center;gap:10px;padding:48px 24px;display:grid}.login-page-shell{width:100%;max-width:none;min-height:100dvh;padding:0}.platform-admin-login-page{background:radial-gradient(at 50% 0,#0bbf6514,#0000 45%),#f6f8f7;place-items:center;min-height:100dvh;padding:36px 20px;display:grid}.platform-admin-login-card{background:#fff;border:1px solid #e3eae6;border-radius:20px;width:min(100%,460px);padding:36px;box-shadow:0 22px 70px #172b2114}.platform-admin-login-brand{align-items:center;gap:12px;margin-bottom:32px;display:flex}.platform-admin-login-brand .richup-logo,.platform-admin-login-brand .richup-logo-image{width:54px;height:54px}.platform-admin-login-brand>span{gap:2px;display:grid}.platform-admin-login-brand strong{color:var(--text);font-size:20px;line-height:1.1}.platform-admin-login-brand small{color:var(--muted);letter-spacing:.1em;font-size:9px;font-weight:700}.platform-admin-login-card>.eyebrow{color:#18895a;margin-bottom:8px;font-size:13px;font-weight:700}.platform-admin-login-card h1{color:var(--text);letter-spacing:-.02em;margin:4px 0 8px;font-size:clamp(23px,5vw,28px)}.platform-admin-login-card>.muted{margin:0 0 26px;line-height:1.7}.platform-admin-login-card .form-card{box-shadow:none;border:0;padding:0}@media (max-width:480px){.platform-admin-login-card{padding:28px 22px}}.line-login-loading-logo{width:112px;height:112px;box-shadow:none;background:0 0;border:0;border-radius:0;place-items:center;margin-bottom:10px;display:grid}.line-login-loading-logo .richup-logo,.line-login-loading-logo .richup-logo-image{width:92px;height:92px}.line-login-loading h1{color:var(--text);font-size:clamp(22px,4vw,30px)}.line-login-loading .eyebrow{color:#07854f}.line-login-loading .muted{color:var(--muted)}.line-login-progress{background:#e8efe9;border-radius:999px;width:132px;height:6px;margin-top:12px;overflow:hidden}.line-login-progress span{border-radius:inherit;background:#06c755;width:42%;height:100%;display:block}.line-login-fallback{gap:20px;display:grid}.settings-note{background:var(--primary-soft);color:var(--muted);border:1px solid #c9e1f7;border-radius:14px;align-items:flex-start;gap:10px;margin-top:12px;padding:10px 12px;font-size:13px;line-height:1.55;display:flex}.settings-note p{margin:0}.settings-note strong{color:var(--primary);font-weight:600}.settings-note-icon{width:20px;height:20px;color:var(--primary);border:1px solid #b8dfd1;border-radius:50%;flex:none;place-items:center;font-size:12px;font-weight:700;display:grid}.login-brand{align-items:center;gap:14px;margin-bottom:20px;display:flex}.login-brand .richup-logo,.login-brand .richup-logo-image{width:92px;height:92px}.login-brand strong{color:var(--primary);font-size:22px}.company-switcher,.icon-button,.text-button,.segmented-control button,.bottom-nav button,.summary-card{cursor:pointer;background:0 0;border:0}.company-switcher{border:1px solid var(--border);background:var(--surface);border-radius:12px;flex:1;justify-content:space-between;align-items:center;min-height:48px;padding:7px 10px;font-weight:600;display:flex}.company-switcher-wrap{flex:1;min-width:0;position:relative}.company-switcher strong,.company-switcher small{text-align:left;display:block}.company-switcher-identity{align-items:center;gap:10px;min-width:0;display:flex}.company-switcher-avatar{background:var(--primary-soft);width:30px;height:30px;color:var(--primary);border-radius:9px;flex:none;place-items:center;display:grid}.company-switcher-avatar svg,.company-menu-company-icon svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8px;width:18px;height:18px}.company-switcher-identity strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:14px;font-weight:500;line-height:1.25;overflow:hidden}.company-switcher-chevron{color:var(--muted);width:20px;height:20px;transition:transform var(--motion-fast) var(--motion-ease);flex:none;place-items:center;display:grid}.company-switcher-chevron svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8px;width:16px;height:16px}.company-switcher[aria-expanded=true] .company-switcher-chevron{transform:rotate(180deg)}.company-switcher small,.company-menu small{color:var(--muted);margin-top:2px;font-size:12px;font-weight:600}.company-menu{z-index:10;border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow);border-radius:16px;gap:0;padding:0;display:grid;position:absolute;top:calc(100% + 8px);left:0;right:0}.company-menu-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.company-menu-heading .eyebrow{color:var(--text);margin:0;font-size:14px;font-weight:500}.company-menu-heading{min-height:44px;padding:11px 12px 8px}.mobile-app-header .company-switcher strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.company-menu>button,.add-company-link{min-height:48px;color:var(--text);cursor:pointer;font:inherit;text-align:left;background:0 0;border:0;border-top:1px solid #f0f0ee;border-radius:0;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:10px;padding:6px 12px;display:grid}.company-menu-company-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:14px;font-weight:400;overflow:hidden}.company-menu-company-icon{border:1px solid var(--border);width:28px;height:28px;color:var(--text);border-radius:7px;place-items:center;display:grid}.company-menu-company-meta{flex:none;align-items:center;gap:8px;display:flex}.company-menu-company-meta b{color:var(--text);font-size:20px}.company-menu .selected-company{background:var(--surface);color:var(--text);font-weight:400}.company-switcher-mobile .company-menu{z-index:31;max-height:min(320px,100dvh - 96px);animation:richup-menu-in var(--motion-standard) var(--motion-ease);border-radius:12px;position:absolute;top:calc(100% + 8px);left:0;right:0;overflow-y:auto}.company-switcher-mobile .company-menu>button,.company-switcher-mobile .add-company-link{min-height:56px;padding:8px 14px}.add-company-link{color:var(--primary);border-top:1px solid #e8e8e5;border-radius:0 0 12px 12px;grid-template-columns:none;margin-top:0;font-size:14px;font-weight:500;display:flex}.icon-button{width:44px;height:44px;color:var(--primary);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:10px;place-items:center;padding:0;line-height:1;display:inline-grid}.icon-button:hover:not(:disabled){border-color:var(--border);background:var(--surface-soft);color:var(--text)}.icon-button:focus-visible{outline-offset:2px;outline:3px solid #0872c738}.welcome-card,.section-card{border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow);border-radius:20px;margin-top:20px;padding:20px}.dashboard-hero{color:#fff;background:radial-gradient(circle at 84% 22%,#37b7ff61,#0000 32%),linear-gradient(135deg,#0872c7 0%,#07509b 100%);border-radius:26px;grid-template-columns:minmax(0,1fr) 190px;align-items:center;gap:18px;min-height:248px;margin-top:10px;padding:28px 24px 26px 28px;display:grid;position:relative;overflow:hidden;box-shadow:0 18px 34px #07509b33}.dashboard-hero:after{content:"";border:2px solid #ffffff1f;border-radius:50%;width:310px;height:190px;position:absolute;bottom:-108px;right:-80px;transform:rotate(-12deg)}.dashboard-hero-copy{z-index:1;position:relative}.dashboard-hero-kicker{color:#ffffffb3;letter-spacing:.12em;margin:0 0 12px;font-size:11px;font-weight:700}.dashboard-hero h1{color:#fff;letter-spacing:-.035em;max-width:390px;margin:0;font-size:clamp(1.75rem,5vw,2.5rem);line-height:1.15}.dashboard-hero p:not(.dashboard-hero-kicker){color:#fffc;margin:10px 0 22px;line-height:1.6}.dashboard-hero-action{background:var(--primary);color:#fff;min-height:46px;transition:transform var(--motion-fast) var(--motion-ease), box-shadow var(--motion-fast) var(--motion-ease);border-radius:999px;align-items:center;gap:8px;padding:0 18px;font-weight:700;display:inline-flex;box-shadow:0 8px 18px #0000002e}.dashboard-hero-action:hover{transform:translateY(-1px);box-shadow:0 10px 22px #0000003d}.dashboard-hero-action span{border:1px solid #ffffffa6;border-radius:50%;place-items:center;width:22px;height:22px;font-size:18px;line-height:1;display:inline-grid}.dashboard-hero-mascot{z-index:1;filter:drop-shadow(0 16px 14px #0003);justify-self:end;width:172px;height:172px;position:relative}.dashboard-hero-mascot img{object-fit:contain}.capture-page>.page-header,.record-review-page>.page-header{color:#fff;background:linear-gradient(135deg,#0872c7,#07509b);border-radius:22px;margin-top:20px;padding:24px;position:relative;overflow:hidden}.capture-page>.page-header:after,.record-review-page>.page-header:after{content:"";border:2px solid #ffffff1f;border-radius:50%;width:220px;height:150px;position:absolute;bottom:-90px;right:-50px;transform:rotate(-12deg)}.capture-page>.page-header .eyebrow,.record-review-page>.page-header .eyebrow,.capture-page>.page-header .muted,.record-review-page>.page-header .muted{color:#ffffffbf}.capture-page>.page-header h1,.record-review-page>.page-header h1{z-index:1;color:#fff;position:relative}.record-review-page>.page-header{color:var(--text);background:#f7f9f8;border:1px solid #e2e8e5;margin-top:12px;margin-bottom:10px;padding:16px 20px}.record-review-page>.page-header:after{background:#0872c714}.record-review-page>.page-header .eyebrow,.record-review-page>.page-header .muted,.record-review-page>.page-header h1{color:var(--text)}.record-review-page>.page-header .muted{color:var(--muted)}.capture-page .capture-tabs{border-color:var(--border);background:var(--surface);box-shadow:0 8px 20px #07509b12}.capture-page .capture-tabs button.is-active{border-color:var(--primary);background:var(--primary-soft);color:var(--primary-strong)}.record-review-page .record-preview-details{background:linear-gradient(145deg,#e8f4ff,#fff);border-color:#c9e1f7;overflow:hidden}.record-review-page .record-preview-hero{border-bottom:1px solid var(--border);color:var(--text);background:#f7fbff;margin:-20px -20px 22px;padding:24px 20px}.record-review-page .record-preview-hero .record-direction-pill,.record-review-page .record-preview-hero .record-preview-date{color:var(--muted)}.record-review-page .record-preview-hero .record-direction-pill{color:#087f43;background:#e4f8ec;border:1px solid #bde5d0}.record-review-page .record-preview-hero .review-amount{color:var(--text)}.welcome-card{background:var(--primary-soft);border-color:#c9e1f7}.eyebrow{color:var(--muted);margin:0 0 4px;font-size:14px}h1,h2{margin:0;font-weight:600}h1{font-size:24px}h2{font-size:19px}.welcome-card p:last-child,.muted{color:var(--muted)}.segmented-control{border:1px solid var(--border);background:var(--surface-soft);border-radius:14px;grid-template-columns:repeat(3,1fr);gap:4px;margin:10px 0 20px;padding:4px;display:grid}.dashboard-overview{z-index:5;margin-top:24px;position:relative}.page-shell>.dashboard-overview:first-child{margin-top:0}.dashboard-overview-heading{justify-content:space-between;align-items:end;gap:16px;display:flex}.dashboard-overview-heading .eyebrow{margin-bottom:3px}.dashboard-overview-heading h2{color:var(--text);font-size:21px}.dashboard-overview-note,.dashboard-period-label{color:var(--muted);font-size:12px}.dashboard-overview-note{margin:0 0 3px}.dashboard-period-label{font-weight:600}.dashboard-period-row{gap:10px;margin-top:18px;display:grid}.dashboard-period-row .record-date-filter{width:min(100%,348px)}.dashboard-date-range{flex-wrap:wrap;align-items:end;gap:10px;display:flex}.dashboard-date-field{gap:5px;min-width:180px;display:grid}.dashboard-date-field>label,.dashboard-quick-ranges>span{color:var(--muted);font-size:12px;font-weight:600}.dashboard-date-field .date-input-control{min-height:42px}.dashboard-date-separator{color:var(--muted);padding-bottom:13px;font-size:12px}.dashboard-apply-button{min-height:42px}.dashboard-quick-ranges{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.dashboard-quick-ranges button{border:1px solid var(--border);min-height:34px;color:var(--primary-strong);cursor:pointer;font:inherit;background:#fff;border-radius:999px;padding:0 12px;font-size:12px;font-weight:700}.dashboard-quick-ranges button:hover,.dashboard-quick-ranges button:focus-visible{border-color:var(--primary);background:var(--primary-soft)}.dashboard-period-control{background:0 0;border:0;border-radius:0;gap:5px;width:fit-content;margin:0;padding:0;display:inline-flex}.dashboard-period-control button{border:1px solid var(--border);background:#fff;border-radius:999px;justify-content:center;align-items:center;gap:6px;min-width:0;min-height:34px;padding:0 13px;font-size:12px;font-weight:600;display:inline-flex}.dashboard-period-control button svg{flex:none}.dashboard-period-control button:hover:not(.selected){background:var(--primary-soft);border-color:#9bc9eb}.dashboard-period-control .selected{border-color:var(--primary);background:var(--primary)}.segmented-control button{min-height:40px;color:var(--muted);cursor:pointer;transition:border-color var(--motion-fast) var(--motion-ease), background var(--motion-fast) var(--motion-ease), color var(--motion-fast) var(--motion-ease), box-shadow var(--motion-fast) var(--motion-ease);background:#fff;border:1px solid #0000;border-radius:10px;font-weight:700}.segmented-control button:hover:not(.selected){background:var(--primary-soft);color:var(--primary-strong);border-color:#a9d4f2}.segmented-control .selected{background:var(--primary-strong);color:#fff;box-shadow:0 5px 12px #075fae33}.summary-grid{grid-template-columns:repeat(2,1fr);gap:12px;display:grid}.dashboard-overview~.summary-grid{margin-top:22px}.summary-card{text-align:left;background:var(--surface);background-image:radial-gradient(at 112% -10%,#0000 0 48%,#ffffff52 49% 50%,#0000 51% 60%,#ffffff3d 61% 62%,#0000 63%),radial-gradient(at -12% 112%,#ffffff38 0 18%,#0000 48%),linear-gradient(145deg,#fff3,#0000 54%);background-position:50%,50%,50%;background-size:auto,auto,auto;border:1px solid #0000;border-top:0;border-radius:18px;min-height:120px;padding:8px 14px;position:relative;box-shadow:0 10px 22px #2027350f}.summary-card-heading{justify-content:space-between;align-items:center;gap:10px;display:flex}.summary-card-heading>span:first-child{color:var(--muted);font-size:13px;font-weight:700}.summary-card-icon{color:currentColor;background:#fff;border-radius:10px;place-items:center;width:31px;height:31px;display:inline-grid;box-shadow:0 5px 12px #20273517}.summary-card strong{color:currentColor;letter-spacing:-.02em;margin-top:8px;font-size:clamp(18px,3vw,22px);display:block}.summary-card small{color:currentColor;opacity:.78;margin-top:4px;font-size:11px;line-height:1.45;display:block}.summary-card.income{color:#0b8d55;background-color:#d9f7e5;background-image:radial-gradient(circle at 88% 20%,#ffffffa8 0 24px,#0000 25px),radial-gradient(circle at 100% 0,#ffffff6b 0 76px,#0000 77px),radial-gradient(circle at 100% 0,#0000 0 94px,#0b8d552e 95px 97px,#0000 98px);border-color:#18ae70 #a7e3bf #a7e3bf}.summary-card.expense{color:#c83f4a;background-color:#fde0de;background-image:radial-gradient(at -8% 112%,#ffffff5c 0 34%,#0000 35%),linear-gradient(155deg,#0000 0 58%,#ffffff3d 59% 61%,#0000 62%);border-color:#d94f5c #f2b5b8 #f2b5b8}.summary-card.pending-receipt{color:#1f65a6;background-color:#e1eeff;background-image:radial-gradient(at 112% 102%,#0000 0 43%,#ffffff57 44% 46%,#0000 47% 57%,#ffffff3d 58% 60%,#0000 61%),linear-gradient(35deg,#ffffff2e,#0000 48%);border-color:#2878bd #b5d3f4 #b5d3f4}.summary-card.pending-payment{color:#a35f00;background-color:#fff0c8;background-image:radial-gradient(circle at 96% 4%,#0000 0 30px,#ffffff9e 31px 34px,#0000 35px 54px,#ffffff75 55px 58px,#0000 59px),radial-gradient(circle at 8% 92%,#ffffff61 0 32px,#0000 33px),radial-gradient(circle at 100% 0,#0000 0 82px,#a35f002e 83px 85px,#0000 86px);border-color:#d98a16 #f0d28b #f0d28b}.summary-card.difference-positive{color:#08704f;background-color:#e4f4ee;border-color:#087f5b #b6dfd0 #b6dfd0}.summary-card.difference-negative{color:#a92e39;background-color:#fbe7e7;border-color:#b93642 #edc0c0 #edc0c0}.summary-card.difference-positive strong,.summary-card.difference-negative strong{font-size:clamp(24px,4.5vw,32px)}.dashboard-work-card,.dashboard-shortcuts{border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow);border-radius:22px;margin-top:20px;padding:20px}.dashboard-work-card .section-heading,.dashboard-shortcuts .section-heading{margin-bottom:14px}.dashboard-work-list{gap:8px;display:grid}.dashboard-work-item,.dashboard-shortcut{border:1px solid var(--border);background:var(--surface);min-width:0;transition:border-color var(--motion-fast) var(--motion-ease), background var(--motion-fast) var(--motion-ease), transform var(--motion-fast) var(--motion-ease);border-radius:16px;align-items:center;gap:12px;padding:12px;display:flex}.dashboard-work-item:hover,.dashboard-shortcut:hover{background:var(--surface-soft);border-color:#9bc9eb;transform:translateY(-1px)}.dashboard-work-item>span:nth-child(2),.dashboard-shortcut>span:nth-child(2){gap:3px;min-width:0;display:grid}.dashboard-work-item strong,.dashboard-shortcut strong{color:var(--text);font-size:14px}.dashboard-work-item small,.dashboard-shortcut small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.dashboard-work-item>b{color:var(--text);margin-left:auto;font-size:18px}.dashboard-work-icon,.dashboard-shortcut-icon{background:var(--primary-soft);width:38px;height:38px;color:var(--primary-strong);border-radius:12px;flex:0 0 38px;place-items:center;font-size:20px;font-weight:700;display:inline-grid}.dashboard-work-icon.is-payment{color:#9a6514;background:#fff4e3}.dashboard-shortcut-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.dashboard-shortcut{align-items:flex-start;min-height:82px}.dashboard-shortcut.is-primary{border-color:var(--primary-strong);background:var(--primary-strong)}.dashboard-shortcut.is-primary strong,.dashboard-shortcut.is-primary small{color:#fff}.dashboard-shortcut.is-primary small{color:#ffffffb8}.dashboard-shortcut.is-primary .dashboard-shortcut-icon{background:var(--primary);color:#fff}.dashboard-analysis-cta{background:linear-gradient(135deg,#e8f4ff,#f8fbff);border:1px solid #c9e1f7;border-radius:22px;justify-content:space-between;align-items:center;gap:20px;margin-top:20px;padding:20px;display:flex}.dashboard-analysis-cta .section-heading{align-items:flex-start}.dashboard-analysis-cta h2,.dashboard-analysis-cta p{margin:0}.dashboard-analysis-cta h2{margin-top:4px;font-size:17px}.dashboard-analysis-cta .muted{margin-top:6px;font-size:13px}.trend-card{border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow);border-radius:22px;margin-top:20px;padding:22px}.trend-card-header{justify-content:space-between;align-items:flex-start;gap:20px;display:flex}.trend-card-header h2{color:var(--text);margin-top:2px}.trend-description{color:var(--muted);margin:6px 0 0;font-size:13px}.trend-period-toggle{background:var(--surface-soft);border-radius:12px;padding:4px;display:inline-flex}.trend-period-toggle button{min-width:54px;min-height:34px;color:var(--muted);cursor:pointer;font:inherit;background:0 0;border:0;border-radius:9px;padding:0 10px;font-size:13px;font-weight:600}.trend-period-toggle button.is-active{background:var(--surface);color:var(--primary-strong);box-shadow:0 2px 8px #20273517}.trend-summary{grid-template-columns:repeat(3,1fr);gap:10px;margin-top:20px;display:grid}.trend-summary>div{background:var(--surface-soft);border-radius:14px;gap:5px;padding:12px;display:grid}.trend-summary span{color:var(--muted);font-size:12px}.trend-summary strong{font-size:16px}.trend-income{color:var(--forest-green,#087f43)}.trend-expense{color:var(--danger,#d65e5e)}.trend-chart-wrap{grid-template-columns:54px minmax(0,1fr);align-items:stretch;column-gap:8px;margin-top:22px;display:grid}.trend-y-title{color:var(--muted);grid-column:1/-1;margin:0 0 2px 62px;font-size:11px}.trend-y-axis{color:var(--muted);text-align:right;flex-direction:column;justify-content:space-between;padding:12px 0 29px;font-size:11px;display:flex}.trend-chart{border-bottom:1px solid var(--border);background:repeating-linear-gradient(to bottom, transparent 0, transparent calc(33.333% - 1px), var(--border) 33.333%, transparent calc(33.333% + 1px));align-items:end;gap:5px;height:220px;padding:12px 4px 0;display:flex;position:relative}.trend-net-line{z-index:2;pointer-events:none;width:calc(100% - 8px);height:calc(100% - 42px);position:absolute;inset:12px 4px 30px;overflow:visible}.trend-net-path{fill:none;stroke:#7758c7;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.4px;vector-effect:non-scaling-stroke}.trend-net-point{fill:#7758c7;stroke:var(--surface);stroke-width:.8px;vector-effect:non-scaling-stroke}.trend-column{appearance:none;color:inherit;font:inherit;cursor:pointer;background:0 0;border:0;flex:1;grid-template-rows:1fr auto;align-items:end;gap:8px;min-width:0;height:100%;padding:0;display:grid}.trend-column:focus-visible{outline:2px solid var(--primary-strong);outline-offset:2px;border-radius:5px}.trend-x-title{color:var(--muted);text-align:center;margin:7px 0 0 62px;font-size:11px}.trend-popup{z-index:4;border:1px solid var(--border);background:var(--surface,#fff);white-space:nowrap;border-radius:12px;gap:6px;min-width:180px;padding:12px 14px;font-size:12px;display:grid;position:absolute;transform:translate(-50%);box-shadow:0 8px 20px #19232d29}.trend-popup>strong{margin-bottom:2px;font-size:14px}.trend-popup>span{align-items:center;gap:7px;display:flex}.trend-popup i{border-radius:50%;flex:0 0 8px;width:8px;height:8px}.trend-popup-income i{background:var(--income)}.trend-popup-expense i{background:#5962d8}.trend-popup-net i{background:#687586}.trend-bars{justify-content:center;align-items:end;gap:2px;height:100%;display:flex}.trend-bar{border-radius:5px 5px 0 0;width:42%;min-height:3px;display:block}.trend-bar-income{background:linear-gradient(#28a86a,#087f43)}.trend-bar-expense{background:#f47f72}.trend-column small{color:var(--muted);text-align:center;text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.trend-chart.is-daily .trend-column:nth-child(odd) small{visibility:hidden}.trend-legend{color:var(--muted);gap:18px;margin-top:12px;font-size:12px;display:flex}.trend-legend span{align-items:center;gap:6px;display:inline-flex}.trend-dot{border-radius:50%;width:8px;height:8px;display:inline-block}.trend-dot-income{background:var(--primary)}.trend-dot-expense{background:#f47f72}.trend-dot-net{background:#7758c7}.tax-summary{border-top:1px solid var(--border);gap:18px;margin-top:28px;padding-top:22px;display:grid}.dashboard-page>.dashboard-tax-summary{border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow);border-radius:20px;margin-top:20px;padding:18px}.tax-summary-heading,.tax-summary-section>h4{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.tax-summary-heading h3{color:var(--text);margin-top:2px;font-size:17px}.tax-summary-heading small{color:var(--muted);font-size:11px}.tax-month-picker{justify-content:space-between;align-items:center;gap:12px;width:min(100%,300px);margin:0 auto;display:flex}.tax-month-picker strong{color:var(--text);text-align:center;font-size:15px}.tax-month-picker button{border:1px solid var(--border);background:var(--surface);width:36px;height:36px;color:var(--text);cursor:pointer;border-radius:9px;place-items:center;display:inline-grid}.tax-month-picker button:hover:not(:disabled),.tax-month-picker button:focus-visible{border-color:var(--primary);color:var(--primary)}.tax-month-picker button:disabled{cursor:not-allowed;opacity:.4}.tax-summary-section{gap:9px;display:grid}.tax-summary-section>h4{color:var(--text);margin:0;font-size:14px}.tax-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.tax-summary-card{border:1px solid var(--border);background:var(--surface-soft);border-radius:14px;align-content:center;gap:7px;min-height:82px;padding:13px;display:grid}.tax-summary-card span{color:var(--muted);font-size:12px;font-weight:600}.tax-summary-card strong{color:var(--text);font-size:19px}.tax-summary-card.is-output strong,.tax-summary-card.is-payable strong{color:#a35f00}.tax-summary-card.is-input strong,.tax-summary-card.is-received strong{color:#1f65a6}.tax-summary-card.is-net,.tax-summary-card.is-difference{background:#f4f0ff;border-color:#d8ccf3}.tax-summary-card.is-net strong,.tax-summary-card.is-difference strong{color:#6245aa}.tax-summary-card small{color:var(--muted);font-size:10px;line-height:1.4}.section-heading{justify-content:space-between}.text-button{color:var(--primary);font-weight:700}.report-next-step{justify-content:space-between;align-items:center;gap:20px;margin-top:20px;display:flex}.report-next-step h2,.report-next-step p{margin:0}.report-next-step h2{margin-top:4px}.sales-document-hub{padding:0;overflow:hidden}.sales-document-tabs{border-bottom:1px solid var(--border);padding:12px 16px 0}.sales-document-panel{padding:24px}.sales-document-panel h2,.sales-document-panel p{margin:0}.sales-document-panel h2{margin-top:4px}.sales-document-actions{flex-wrap:wrap;gap:10px;margin-top:20px;display:flex}.sales-document-empty{margin-top:24px}.mobile-navigation{z-index:20;border-top:1px solid var(--border);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fffffff5;grid-template-columns:repeat(5,1fr);align-items:center;height:60px;display:grid;position:fixed;bottom:0;left:0;right:0}.mobile-navigation a{min-height:60px;color:var(--muted);align-content:center;place-items:center;gap:3px;padding:5px 2px;font-size:12px;font-weight:600;display:grid}.mobile-navigation svg{width:23px;height:23px}.mobile-navigation .active{color:var(--primary);font-weight:800}.mobile-navigation .create-navigation-action{background:var(--primary);color:#fff;border-radius:50%;width:48px;height:48px;min-height:48px;margin:0 auto;font-size:28px;display:grid;box-shadow:0 8px 20px #0872c74d}.page-shell{width:min(100% - 32px,760px);min-height:100dvh;margin:0 auto;padding:16px 0 64px}.page-header{justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px;display:flex}.page-header .eyebrow{margin-bottom:2px}.page-header h1{font-size:22px}.page-header .muted{margin:6px 0 0;font-size:14px}.page-header>.record-google-links{flex:none}.primary-button,.secondary-button,.danger-button{cursor:pointer;border:0;border-radius:13px;justify-content:center;align-items:center;min-height:46px;padding:0 18px;font-weight:800;display:inline-flex}.primary-button{background:var(--primary);color:#fff;box-shadow:0 8px 18px #0872c738}.secondary-button{border:1px solid var(--primary);color:var(--primary);background:#fff}.danger-button{background:var(--danger-soft);color:var(--danger);border:1px solid #efcaca}.empty-state{text-align:center;justify-items:center;gap:12px;padding:44px 24px;display:grid}.empty-illustration{background:var(--primary-soft);width:56px;height:56px;color:var(--primary);border-radius:20px;place-items:center;font-size:28px;display:grid}.form-card{border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow);border-radius:20px;gap:18px;padding:22px;display:grid}.form-card label{gap:8px;font-weight:500;display:grid}.form-card input,.form-card select,.form-card textarea{border:1px solid var(--border);width:100%;min-height:48px;color:var(--text);background:#fff;border-radius:12px;padding:0 14px;font-weight:400}.form-card input::placeholder,.form-card textarea::placeholder{color:#858d98;opacity:1;font-weight:400}.form-card textarea{resize:vertical;padding-top:12px}.capture-form{gap:14px}.capture-tabs{z-index:4;border-bottom:1px solid var(--border);background:var(--surface);grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:8px 0;display:grid;position:sticky;top:0}.capture-tabs button{min-height:48px;color:var(--muted);cursor:pointer;font:inherit;background:0 0;border:0;border-radius:11px;justify-items:center;gap:3px;padding:5px 4px;font-size:.78rem;font-weight:700;display:grid}.capture-tabs button span{border:1px solid var(--border);background:var(--surface);border-radius:50%;place-items:center;width:23px;height:23px;font-size:.68rem;display:grid}.capture-tabs button.is-active{background:var(--primary-soft);color:var(--primary)}.capture-tabs button.is-active span{border-color:var(--primary);background:var(--primary);color:#fff}.capture-tabs button:focus-visible,.capture-section-header:focus-visible{outline-offset:2px;outline:3px solid #0872c738}.capture-section{border:1px solid var(--border);background:var(--surface);border-radius:16px;scroll-margin-top:76px;overflow:hidden}.capture-section-header{width:100%;min-height:64px;color:var(--text);cursor:pointer;font:inherit;text-align:left;background:0 0;border:0;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:12px 16px;display:grid;position:relative}.capture-section-header>span:first-child{gap:2px;min-width:0;display:grid}.capture-section-header small{color:var(--primary);font-size:.7rem;font-weight:800}.capture-section-header strong{font-size:1rem}.capture-section-meta{color:var(--muted);white-space:nowrap;font-size:.72rem}.capture-collapse-icon{color:var(--muted);transition:transform var(--motion-fast) var(--motion-ease);font-size:1.25rem;line-height:1}.capture-section-content{border-top:1px solid var(--border);padding:18px}.capture-section.is-collapsed .capture-section-content{display:none}.capture-section.is-collapsed .capture-collapse-icon{transform:rotate(-90deg)}.capture-field-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.capture-field-grid label{min-width:0;color:var(--text);gap:7px;font-size:.88rem;font-weight:700;display:grid}.capture-field-grid label>b,.item-card label>b{color:var(--danger)}.capture-field-grid input,.capture-field-grid select,.capture-field-grid textarea,.capture-item-grid input,.capture-item-grid select{border:1px solid var(--border);min-width:0;min-height:46px;color:var(--text);font:inherit;background:#fff;border-radius:11px;padding:0 12px;font-size:.9rem;font-weight:400}.capture-field-grid textarea{resize:vertical;min-height:74px;padding-top:10px}.capture-field-grid input:focus-visible,.capture-field-grid select:focus-visible,.capture-field-grid textarea:focus-visible,.capture-item-grid input:focus-visible,.capture-item-grid select:focus-visible{outline-offset:2px;outline:3px solid #0872c738}.capture-field-wide{grid-column:1/-1}.tag-picker-field{border:0;min-width:0;padding:0}.tag-picker-field legend{color:var(--text);padding:0;font-size:.88rem;font-weight:700}.tag-chip-list{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.tag-chip{border:1px solid var(--border);min-height:36px;color:var(--text);font:inherit;cursor:pointer;background:#fff;border-radius:999px;align-items:center;gap:7px;padding:7px 11px;font-size:.84rem;font-weight:700;display:inline-flex}.tag-chip.is-selected{border-color:var(--tag-color);box-shadow:inset 0 -2px 0 var(--tag-color)}.tag-chip:disabled{cursor:default;opacity:.58}.tag-chip-dot{background:var(--tag-color);border-radius:50%;flex:0 0 9px;width:9px;height:9px}.tag-chip-list-compact{flex-wrap:nowrap;gap:5px;min-width:0;overflow:hidden}.tag-chip-list-compact .tag-chip{text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:100%;min-height:26px;padding:3px 7px;font-size:11px;font-weight:500;overflow:hidden}.tag-chip-list-compact .tag-chip-dot{flex-basis:7px;width:7px;height:7px}.sales-list-section .tag-chip-list-compact .tag-chip{background:color-mix(in srgb, var(--tag-color) 14%, white);box-shadow:none;color:var(--muted);border:0}.tag-chip-more{color:var(--muted);white-space:nowrap;flex:none;font-size:11px;font-weight:600}.tag-preview{align-items:center;gap:12px;margin:14px 0;display:flex}.capture-item-grid{margin-top:0}.capture-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.capture-summary-grid>div{background:var(--surface-soft);border-radius:12px;gap:4px;padding:13px;display:grid}.capture-summary-grid span{color:var(--muted);font-size:.78rem}.capture-summary-grid strong{font-size:1rem}.capture-summary-grid .is-total{background:var(--primary-soft)}.capture-summary-grid .is-total strong{color:var(--primary);font-size:1.12rem}@media (max-width:560px){.capture-form{border-radius:16px;padding:14px}.capture-section-content{padding:14px}.capture-section-header{min-height:58px;padding:10px 12px}.capture-section-header strong{font-size:.92rem}.capture-section-meta{font-size:.66rem}.capture-field-grid,.capture-item-grid{gap:10px}.capture-field-grid label,.item-card label{font-size:.8rem}.capture-field-grid input,.capture-field-grid select,.capture-field-grid textarea,.capture-item-grid input,.capture-item-grid select{min-height:43px;padding-left:9px;padding-right:9px;font-size:.82rem}.capture-summary-grid{gap:8px}.capture-summary-grid>div{padding:10px}}@media (max-width:380px){.capture-field-grid,.capture-item-grid{grid-template-columns:minmax(0,1fr)}.capture-section-meta{display:none}.capture-summary-grid{grid-template-columns:minmax(0,1fr)}}.prototype-page-shell{width:min(100% - 32px,1180px);min-height:100dvh;margin:0 auto;padding:28px 0 96px}.prototype-page-header,.prototype-top-card-heading,.prototype-section-header,.prototype-subheading,.prototype-rail-heading,.prototype-item-card-heading{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.prototype-page-header{align-items:flex-end;margin-bottom:24px}.prototype-back-link{color:var(--primary);margin-bottom:16px;font-weight:700;text-decoration:none;display:inline-flex}.prototype-eyebrow,.prototype-label{color:var(--muted);margin:0 0 6px;font-size:.86rem;font-weight:700}.prototype-page-header h1,.prototype-top-card h2,.prototype-entry-card h2,.prototype-section h2,.prototype-summary-sticky h2{color:var(--text);margin:0}.prototype-page-header h1{font-size:clamp(1.8rem,4vw,2.6rem);line-height:1.2}.prototype-page-lead{max-width:680px;color:var(--muted);margin:8px 0 0}.prototype-badge,.prototype-chip,.prototype-success-chip,.prototype-required{background:var(--primary-soft);min-height:30px;color:var(--primary);white-space:nowrap;border-radius:999px;align-items:center;padding:0 11px;font-size:.8rem;font-weight:700;display:inline-flex}.prototype-badge{color:#a76c00;background:#fff4dc}.prototype-top-card,.prototype-entry-card,.prototype-section,.prototype-summary-sticky{border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow);border-radius:20px}.prototype-top-card,.prototype-entry-card{margin-bottom:16px;padding:22px}.prototype-top-card-heading h2,.prototype-entry-card h2{font-size:1.12rem}.prototype-direction-picker{grid-template-columns:1fr 1fr;gap:10px;margin-top:20px;display:grid}.prototype-direction-picker button,.prototype-entry-option{border:1px solid var(--border);min-width:0;color:var(--text);cursor:pointer;text-align:left;transition:border-color var(--motion-fast) var(--motion-ease), background var(--motion-fast) var(--motion-ease), transform var(--motion-fast) var(--motion-ease);background:#fff;border-radius:14px}.prototype-direction-picker button{gap:4px;padding:14px 16px;display:grid}.prototype-direction-picker button:hover,.prototype-entry-option:hover{border-color:#9fd9b4;transform:translateY(-1px)}.prototype-direction-picker button.is-selected{border-color:var(--primary);background:var(--primary-soft)}.prototype-direction-picker button.is-selected span{color:var(--primary);font-weight:800}.prototype-direction-picker button span{font-size:1.04rem;font-weight:700}.prototype-direction-picker button small,.prototype-entry-option small,.prototype-manual-note span,.prototype-upload-zone small,.prototype-file-card small,.prototype-document-option small,.prototype-inline-tip,.prototype-rail-note{color:var(--muted);font-size:.82rem;line-height:1.5}.prototype-entry-grid{grid-template-columns:1fr 1fr;gap:12px;margin-top:20px;display:grid}.prototype-entry-option{align-items:flex-start;gap:12px;padding:15px;display:flex}.prototype-entry-option.is-selected{border-color:var(--primary);box-shadow:inset 0 0 0 1px var(--primary);background:#fbfffc}.prototype-entry-option>span:last-child{gap:4px;display:grid}.prototype-entry-option strong{font-size:.98rem}.prototype-entry-icon,.prototype-file-type,.prototype-section-number{background:var(--primary-soft);color:var(--primary);border-radius:10px;flex:none;place-items:center;font-weight:800;display:grid}.prototype-entry-icon{width:34px;height:34px;font-size:1.3rem}.prototype-upload-zone{background:var(--surface-soft);cursor:pointer;border:1px dashed #8bcda4;border-radius:14px;align-items:center;gap:12px;min-height:74px;margin-top:14px;padding:12px 14px;display:flex}.prototype-upload-zone input,.prototype-add-evidence input{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.prototype-upload-zone>span:nth-child(2){gap:2px;display:grid}.prototype-upload-zone em{color:var(--primary);margin-left:auto;font-size:.82rem;font-style:normal;font-weight:700}.prototype-upload-icon{width:38px;height:38px;color:var(--primary);background:#fff;border-radius:12px;place-items:center;font-size:1.4rem;display:grid}.prototype-manual-note{background:#f7f8fa;border-radius:12px;gap:2px;margin-top:14px;padding:13px 14px;display:grid}.prototype-progress{display:none}.prototype-workbench{grid-template-columns:minmax(0,1fr) 300px;align-items:start;gap:18px;display:grid}.prototype-main-column{gap:18px;min-width:0;display:grid}.prototype-section{padding:24px;scroll-margin-top:20px}.prototype-section-header{border-bottom:1px solid var(--border);align-items:center;padding-bottom:18px}.prototype-section-toggle{border-top:0;border-right:0;border-bottom:1px solid var(--border);width:100%;color:inherit;cursor:pointer;font:inherit;text-align:left;background:0 0;border-left:0;margin:0;padding-top:0;padding-left:0;padding-right:32px;position:relative}.prototype-section-toggle:hover .prototype-section-number,.prototype-section-toggle:focus-visible .prototype-section-number{background:var(--primary);color:#fff}.prototype-section-toggle:focus-visible{outline-offset:4px;outline:3px solid #0872c738}.prototype-section.is-collapsed>:not(.prototype-section-header){display:none}.prototype-section.is-collapsed .prototype-section-toggle{border-bottom-color:#0000;padding-bottom:0}.prototype-collapse-icon{color:var(--muted);transition:transform var(--motion-fast) var(--motion-ease);font-size:1.3rem;line-height:1;position:absolute;top:50%;right:3px;transform:translateY(-50%)}.prototype-section.is-collapsed .prototype-collapse-icon{transform:translateY(-50%)rotate(-90deg)}.prototype-section-header>div:first-child{align-items:center;gap:12px;display:flex}.prototype-section-header h2{font-size:1.24rem}.prototype-section-number{width:36px;height:36px;font-size:.82rem}.prototype-required{min-height:26px;color:var(--muted);background:#f6f7f8;font-size:.75rem}.prototype-field-grid,.prototype-item-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:20px;display:grid}.prototype-field-grid label,.prototype-item-grid label{min-width:0;color:var(--text);gap:7px;font-size:.88rem;font-weight:600;display:grid}.prototype-field-grid label>span,.prototype-item-grid label>span{min-width:0}.prototype-field-grid b,.prototype-item-grid b{color:var(--danger)}.prototype-field-grid input,.prototype-field-grid select,.prototype-field-grid textarea,.prototype-item-grid input,.prototype-item-grid select{border:1px solid var(--border);width:100%;min-width:0;min-height:44px;color:var(--text);font:inherit;background:#fff;border-radius:11px;padding:0 12px;font-size:.9rem;font-weight:400}.prototype-field-grid textarea{resize:vertical;width:100%;font:inherit;padding:10px 12px}.prototype-field-grid input:focus-visible,.prototype-field-grid select:focus-visible,.prototype-field-grid textarea:focus-visible,.prototype-item-grid input:focus-visible,.prototype-item-grid select:focus-visible,.prototype-direction-picker button:focus-visible,.prototype-entry-option:focus-visible,.prototype-document-option:focus-within,.prototype-add-evidence:focus-within,.prototype-add-item:focus-visible,.prototype-mobile-actions button:focus-visible{outline-offset:2px;outline:3px solid #0872c738}.prototype-field-wide{grid-column:1/-1}.prototype-field-group-title{border-bottom:1px solid var(--border);color:var(--text);grid-column:1/-1;margin-top:6px;padding-bottom:2px;font-size:.8rem;font-weight:700}.prototype-field-group-title:not(:first-child){margin-top:12px;padding-top:4px}.prototype-origin{color:var(--primary);margin-top:-2px;font-size:.74rem;font-weight:600}.prototype-input-with-suffix{border:1px solid var(--border);background:#fff;border-radius:11px;align-items:center;min-height:44px;display:flex}.prototype-input-with-suffix input{border:0;outline:0;min-height:42px;padding-right:4px}.prototype-input-with-suffix em{color:var(--muted);white-space:nowrap;padding:0 11px 0 0;font-size:.78rem;font-style:normal}.prototype-evidence-box,.prototype-document-options,.prototype-bank-box{background:var(--surface-soft);border-radius:14px;margin-top:22px;padding:16px}.prototype-subheading{align-items:center}.prototype-subheading h3{margin:0;font-size:.98rem}.prototype-subheading p{color:var(--muted);margin:3px 0 0;font-size:.78rem}.prototype-subheading>strong,.prototype-subheading>span{color:var(--primary);white-space:nowrap;font-size:.82rem}.prototype-file-list{gap:8px;margin-top:14px;display:grid}.prototype-file-card{border:1px solid var(--border);background:#fff;border-radius:11px;align-items:center;gap:10px;min-width:0;padding:10px;display:flex}.prototype-file-card>div{gap:2px;min-width:0;display:grid}.prototype-file-card strong{text-overflow:ellipsis;white-space:nowrap;font-size:.83rem;overflow:hidden}.prototype-file-type{color:#7e8790;background:#f0f2f5;border-radius:9px;width:34px;height:34px;font-size:.65rem}.prototype-file-card.is-primary .prototype-file-type{background:var(--primary-soft);color:var(--primary)}.prototype-file-state{color:var(--primary);white-space:nowrap;margin-left:auto;font-size:.74rem;font-weight:700}.prototype-add-evidence,.prototype-add-item{min-height:40px;color:var(--primary);cursor:pointer;align-items:center;margin-top:12px;font-size:.83rem;font-weight:700;display:inline-flex}.prototype-add-evidence span{color:var(--muted);margin-left:4px;font-weight:400}.prototype-add-evidence:has(input:disabled){cursor:not-allowed;opacity:.45}.prototype-items-list{gap:12px;margin-top:20px;display:grid}.prototype-item-card{border:1px solid var(--border);background:var(--surface-soft);border-radius:14px;padding:16px}.prototype-item-card-heading{align-items:center}.prototype-remove-button{color:var(--danger);cursor:pointer;font:inherit;background:0 0;border:0;font-size:.78rem;font-weight:700}.prototype-item-total{border-top:1px dashed var(--border);color:var(--muted);justify-content:flex-end;gap:12px;margin-top:14px;padding-top:12px;font-size:.82rem;display:flex}.prototype-item-total strong{color:var(--text)}.prototype-add-item{background:0 0;border:0;padding:0}.prototype-inline-tip{background:#fffaf0;border-radius:10px;margin:0;padding:10px 12px}.prototype-legacy-editor{display:none!important}.prototype-items-table-wrap{border:1px solid var(--border);border-radius:14px;margin-top:20px;overflow-x:auto}.prototype-items-table{border-collapse:collapse;background:#fff;width:100%;min-width:660px;font-size:.84rem}.prototype-items-table th,.prototype-items-table td{border-bottom:1px solid var(--border);text-align:left;vertical-align:middle;white-space:nowrap;padding:13px 12px}.prototype-items-table th{background:var(--surface-soft);color:var(--muted);font-size:.75rem;font-weight:700}.prototype-items-table tbody tr:last-child td{border-bottom:0}.prototype-items-table td:first-child{white-space:normal;width:34%}.prototype-items-table td:first-child strong,.prototype-items-table td:first-child small{display:block}.prototype-items-table td:first-child small{color:var(--muted);margin-top:3px;font-size:.73rem}.prototype-table-actions{justify-content:flex-end;gap:6px;display:flex}.prototype-table-actions button{border:1px solid var(--border);min-height:32px;color:var(--primary);cursor:pointer;font:inherit;background:#fff;border-radius:8px;padding:0 9px;font-size:.75rem;font-weight:700}.prototype-table-actions button:hover,.prototype-table-actions button:focus-visible{border-color:var(--primary);outline-offset:1px;outline:2px solid #0872c729}.prototype-table-actions button.is-danger{color:var(--danger)}.prototype-table-actions button.is-danger:hover,.prototype-table-actions button.is-danger:focus-visible{border-color:var(--danger);outline-color:#d65e5e2e}.prototype-visually-hidden{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.prototype-modal-backdrop{z-index:20;background:#20273573;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.prototype-modal{border:1px solid var(--border);background:var(--surface);border-radius:20px;width:min(100%,580px);max-height:min(760px,100dvh - 40px);padding:22px;overflow:auto;box-shadow:0 24px 70px #20273538}.prototype-modal-header{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.prototype-modal h2{margin:0;font-size:1.3rem}.prototype-modal-close{width:34px;height:34px;color:var(--muted);cursor:pointer;background:#f2f4f5;border:0;border-radius:50%;place-items:center;font-size:1.45rem;line-height:1;display:grid}.prototype-modal .prototype-item-grid{margin-top:22px}.prototype-modal-total{border-top:1px dashed var(--border);color:var(--muted);justify-content:flex-end;gap:12px;margin-top:16px;padding-top:14px;font-size:.85rem;display:flex}.prototype-modal-total strong{color:var(--text)}.prototype-modal-actions{grid-template-columns:1fr 1fr;gap:10px;margin-top:22px;display:grid}.prototype-delete-modal>h2{margin-top:2px}.prototype-delete-modal>p:not(.prototype-label){color:var(--muted);margin:10px 0 0;line-height:1.6}.prototype-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:20px;display:grid}.prototype-summary-grid>div{background:var(--surface-soft);border-radius:12px;gap:4px;padding:13px;display:grid}.prototype-summary-grid span{color:var(--muted);font-size:.78rem}.prototype-summary-grid strong{font-size:1rem}.prototype-summary-grid .is-total{background:var(--primary-soft)}.prototype-summary-grid .is-total strong{color:var(--primary)}.prototype-tax-controls{border:1px solid var(--border);background:var(--surface-soft);border-radius:13px;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);align-items:end;gap:14px;margin-top:18px;padding:14px;display:grid}.prototype-tax-controls label{min-width:0;color:var(--text);gap:7px;font-size:.82rem;font-weight:700;display:grid}.prototype-tax-controls label small,.prototype-tax-controls>p{color:var(--muted);margin:0;font-size:.75rem;font-weight:400;line-height:1.5}.prototype-tax-controls .prototype-input-with-suffix{background:#fff}.prototype-document-option{border:1px solid var(--border);cursor:pointer;background:#fff;border-radius:11px;align-items:flex-start;gap:10px;margin-top:9px;padding:12px;display:flex}.prototype-document-option.is-selected{border-color:var(--primary);background:#fbfffc}.prototype-document-option input{width:18px;height:18px;accent-color:var(--primary);margin:1px 0 0}.prototype-document-option span{gap:3px;display:grid}.prototype-bank-box .prototype-field-grid{margin-top:14px}.prototype-summary-rail{min-width:0}.prototype-summary-sticky{padding:20px;position:sticky;top:18px}.prototype-rail-heading{align-items:center}.prototype-rail-heading h2{font-size:1.2rem}.prototype-direction-dot{background:var(--primary);width:12px;height:12px;box-shadow:0 0 0 6px var(--primary-soft);border-radius:50%}.prototype-direction-dot.income{background:var(--income);box-shadow:0 0 0 6px var(--income-soft)}.prototype-rail-total{background:var(--primary-soft);border-radius:14px;gap:3px;margin:20px 0;padding:16px;display:grid}.prototype-rail-total span,.prototype-rail-list span{color:var(--muted);font-size:.78rem}.prototype-rail-total strong{color:var(--primary);font-size:1.65rem;line-height:1.2}.prototype-rail-total small{font-size:.78rem}.prototype-rail-list{gap:12px;display:grid}.prototype-rail-list>div{border-bottom:1px solid var(--border);gap:2px;padding-bottom:10px;display:grid}.prototype-rail-list strong{text-overflow:ellipsis;white-space:nowrap;font-size:.85rem;overflow:hidden}.prototype-rail-docs{color:var(--primary);gap:6px;margin-top:14px;font-size:.78rem;line-height:1.5;display:grid}.prototype-status{background:var(--primary-soft);color:var(--primary);border-radius:10px;margin-top:14px;padding:10px 12px;font-size:.8rem;font-weight:700}.prototype-rail-actions,.prototype-mobile-actions{gap:9px;margin-top:18px;display:grid}.prototype-rail-actions button,.prototype-mobile-actions button{width:100%}.prototype-rail-note{margin:14px 0 0}.prototype-mobile-actions{display:none}@media (max-width:900px){.prototype-workbench{grid-template-columns:minmax(0,1fr)}.prototype-summary-rail{order:-1}.prototype-summary-sticky{position:static}.prototype-rail-actions{grid-template-columns:1fr 1.3fr}}@media (max-width:720px){.prototype-page-shell{width:min(100% - 24px,620px);padding-top:18px}.prototype-page-header{align-items:flex-start}.prototype-page-header h1{font-size:1.8rem}.prototype-page-lead{font-size:.88rem}.prototype-badge,.prototype-chip{display:none}.prototype-top-card,.prototype-entry-card,.prototype-section,.prototype-summary-sticky{border-radius:16px;padding:16px}.prototype-top-card-heading,.prototype-section-header,.prototype-subheading{gap:10px}.prototype-top-card-heading h2,.prototype-entry-card h2,.prototype-section h2{font-size:1rem}.prototype-direction-picker,.prototype-entry-grid,.prototype-field-grid,.prototype-item-grid{grid-template-columns:1fr}.prototype-direction-picker button{padding:12px}.prototype-entry-grid{gap:8px}.prototype-entry-option{padding:12px}.prototype-upload-zone{align-items:flex-start}.prototype-upload-zone em{display:none}.prototype-progress{z-index:5;border-bottom:1px solid var(--border);background:var(--canvas);grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:8px 0 14px;padding:8px 0;display:grid;position:sticky;top:0}.prototype-progress button{color:var(--muted);cursor:pointer;font:inherit;white-space:nowrap;background:0 0;border:0;justify-items:center;gap:5px;padding:0;font-size:.7rem;display:grid}.prototype-progress button span{border:1px solid var(--border);background:#fff;border-radius:50%;place-items:center;width:25px;height:25px;font-size:.72rem;font-weight:800;display:grid}.prototype-progress button.is-active,.prototype-progress button.is-complete{color:var(--primary);font-weight:700}.prototype-progress button.is-active span,.prototype-progress button.is-complete span{border-color:var(--primary);background:var(--primary);color:#fff}.prototype-section-header{align-items:flex-start}.prototype-required{min-height:23px;padding:0 8px;font-size:.68rem}.prototype-field-grid,.prototype-item-grid{gap:12px;margin-top:16px}.prototype-field-wide{grid-column:auto}.prototype-summary-grid{gap:8px;margin-top:16px}.prototype-items-table-wrap{border:0;overflow:visible}.prototype-items-table{background:0 0;min-width:0;display:block}.prototype-items-table thead{display:none}.prototype-items-table tbody{gap:10px;display:grid}.prototype-items-table tr{border:1px solid var(--border);background:#fff;border-radius:13px;grid-template-columns:minmax(0,1fr) auto;gap:0 12px;padding:12px;display:grid}.prototype-items-table td{white-space:normal;border-bottom:0;min-width:0;padding:4px 0;font-size:.8rem}.prototype-items-table td:first-child{border-bottom:1px solid var(--border);grid-column:1/-1;width:auto;padding-bottom:10px}.prototype-items-table td:nth-child(2):before,.prototype-items-table td:nth-child(3):before,.prototype-items-table td:nth-child(4):before,.prototype-items-table td:nth-child(5):before{color:var(--muted);margin-bottom:2px;font-size:.68rem;display:block}.prototype-items-table td:nth-child(2):before{content:"ประเภท"}.prototype-items-table td:nth-child(3):before{content:"จำนวน"}.prototype-items-table td:nth-child(4):before{content:"ราคาต่อหน่วย"}.prototype-items-table td:nth-child(5):before{content:"รวม"}.prototype-items-table td:nth-child(5){justify-self:end}.prototype-items-table td:last-child{border-top:1px dashed var(--border);grid-column:1/-1;padding-top:9px}.prototype-table-actions{justify-content:flex-start}.prototype-table-actions button{flex:1}.prototype-summary-grid>div{padding:10px}.prototype-summary-sticky{grid-template-columns:1fr 1fr;gap:12px;display:grid}.prototype-modal-backdrop{align-items:end;padding:10px}.prototype-modal{border-radius:18px;max-height:calc(100dvh - 20px);padding:18px}.prototype-rail-heading,.prototype-rail-total,.prototype-rail-list,.prototype-rail-docs,.prototype-rail-actions,.prototype-rail-note,.prototype-status{grid-column:1/-1}.prototype-rail-total{margin:2px 0 0}.prototype-rail-actions{grid-template-columns:1fr 1fr}.prototype-mobile-actions{grid-template-columns:1fr 1.4fr;display:grid}.prototype-main-column>.prototype-mobile-actions{z-index:2;border:1px solid var(--border);box-shadow:var(--shadow);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fffffff0;border-radius:14px;padding:8px;position:sticky;bottom:10px}}@media (max-width:380px){.prototype-page-shell{width:min(100% - 16px,620px)}.prototype-section-number{width:30px;height:30px}.prototype-required{white-space:normal;text-align:right;max-width:90px}.prototype-progress button{font-size:.64rem}}.prototype-direction-bar,.prototype-entry-bar{box-shadow:none;border-radius:16px;padding:14px 18px}.prototype-direction-bar .prototype-top-card-heading,.prototype-entry-bar .prototype-top-card-heading{align-items:center}.prototype-direction-bar .prototype-top-card-heading>div,.prototype-entry-bar .prototype-top-card-heading>div{align-items:baseline;gap:10px;display:flex}.prototype-direction-bar .prototype-label,.prototype-entry-bar .prototype-label{white-space:nowrap;margin:0;font-size:.75rem}.prototype-direction-bar .prototype-top-card-heading h2,.prototype-entry-bar .prototype-top-card-heading h2{font-size:.95rem}.prototype-direction-bar .prototype-direction-picker{gap:8px;margin-top:12px;display:flex}.prototype-direction-bar .prototype-direction-picker button{border-radius:11px;flex:1 1 0;justify-content:space-between;align-items:center;min-height:42px;padding:8px 13px;display:inline-flex}.prototype-direction-bar .prototype-direction-picker button span{font-size:.9rem}.prototype-direction-bar .prototype-direction-picker button small{font-size:.72rem;display:inline}.prototype-entry-bar{background:0 0;margin-bottom:18px}.prototype-entry-bar .prototype-entry-grid{gap:8px;margin-top:11px;display:flex}.prototype-entry-bar .prototype-entry-option{border-radius:11px;flex:1 1 0;align-items:center;gap:9px;min-height:48px;padding:8px 11px}.prototype-entry-bar .prototype-entry-icon{border-radius:8px;width:27px;height:27px;font-size:.95rem}.prototype-entry-bar .prototype-entry-option>span:last-child{align-items:baseline;gap:7px;min-width:0;display:flex}.prototype-entry-bar .prototype-entry-option strong{white-space:nowrap;font-size:.82rem}.prototype-entry-bar .prototype-entry-option small{text-overflow:ellipsis;white-space:nowrap;font-size:.72rem;overflow:hidden}.prototype-entry-bar .prototype-upload-zone,.prototype-entry-bar .prototype-manual-note{margin-top:10px}@media (max-width:720px){.prototype-direction-bar,.prototype-entry-bar{padding:12px}.prototype-direction-bar .prototype-top-card-heading>div,.prototype-entry-bar .prototype-top-card-heading>div{gap:2px;display:grid}.prototype-direction-bar .prototype-direction-picker{gap:6px}.prototype-direction-bar .prototype-direction-picker button small{display:none}.prototype-entry-bar .prototype-entry-grid{gap:6px}.prototype-entry-bar .prototype-entry-icon{display:none}.prototype-entry-bar .prototype-entry-option>span:last-child{display:block}.prototype-entry-bar .prototype-entry-option small{display:none}.prototype-page-header{margin-bottom:12px}.prototype-back-link{margin-bottom:8px;font-size:.82rem}.prototype-page-header h1{font-size:1.55rem}.prototype-page-lead,.prototype-eyebrow{display:none}.prototype-top-card,.prototype-entry-card{box-shadow:none;background:0 0;border:0;border-radius:0;margin-bottom:8px;padding:8px 0}.prototype-direction-bar .prototype-top-card-heading,.prototype-entry-bar .prototype-top-card-heading{justify-content:flex-start;align-items:center;gap:8px;display:flex}.prototype-direction-bar .prototype-top-card-heading>div,.prototype-entry-bar .prototype-top-card-heading>div{align-items:baseline;gap:6px;display:flex}.prototype-direction-bar .prototype-top-card-heading h2,.prototype-entry-bar .prototype-top-card-heading h2{font-size:.82rem}.prototype-direction-bar .prototype-label,.prototype-entry-bar .prototype-label{font-size:.7rem}.prototype-direction-bar .prototype-direction-picker{flex:1;margin-top:0}.prototype-direction-bar .prototype-direction-picker button{min-height:34px;padding:5px 9px}.prototype-direction-bar .prototype-direction-picker button span{font-size:.78rem}.prototype-entry-bar .prototype-entry-grid{flex:1;margin-top:0}.prototype-entry-bar .prototype-entry-option{min-height:34px;padding:5px 8px}.prototype-entry-bar .prototype-entry-option strong{font-size:.74rem}.prototype-entry-bar .prototype-upload-zone,.prototype-entry-bar .prototype-manual-note{min-height:42px;margin-top:7px;padding:7px 9px}.prototype-entry-bar .prototype-upload-icon{width:27px;height:27px;font-size:1rem}.prototype-entry-bar .prototype-upload-zone strong{font-size:.78rem}.prototype-entry-bar .prototype-upload-zone small,.prototype-entry-bar .prototype-manual-note span{font-size:.68rem}.prototype-progress{margin:3px 0 10px}.prototype-workbench .prototype-main-column{order:0}.prototype-workbench .prototype-summary-rail{order:1}.prototype-section .prototype-field-grid,.prototype-section .prototype-item-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.prototype-section .prototype-field-grid label.prototype-field-wide,.prototype-section .prototype-item-grid label.prototype-field-wide{grid-column:1/-1}.prototype-section .prototype-field-grid label,.prototype-section .prototype-item-grid label{gap:5px;font-size:.78rem}.prototype-section .prototype-field-grid input,.prototype-section .prototype-field-grid select,.prototype-section .prototype-field-grid textarea,.prototype-section .prototype-item-grid input,.prototype-section .prototype-item-grid select{min-height:42px;padding-left:9px;padding-right:9px;font-size:.8rem}.prototype-section .prototype-field-grid textarea{padding-top:9px}.prototype-section .prototype-input-with-suffix{min-height:42px}.prototype-section .prototype-input-with-suffix input{min-width:0;padding-right:3px}.prototype-section .prototype-input-with-suffix em{padding-right:8px;font-size:.7rem}.prototype-section .prototype-origin{font-size:.67rem}.prototype-mobile-actions button,.prototype-rail-actions button{white-space:nowrap;min-height:40px;padding-left:10px;padding-right:10px;font-size:.78rem}}.prototype-direction-bar,.prototype-entry-bar{display:none!important}@media (max-width:720px){.prototype-tax-controls{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:10px;padding:11px}.prototype-tax-controls label,.prototype-tax-controls label small,.prototype-tax-controls>p{font-size:.72rem}}@media (max-width:380px){.prototype-section .prototype-field-grid,.prototype-section .prototype-item-grid,.prototype-tax-controls{grid-template-columns:minmax(0,1fr)}}.prototype-primary-upload{min-height:44px;color:var(--primary);cursor:pointer;background:#fff;border:1px dashed #8bcda4;border-radius:10px;align-items:center;gap:9px;margin-top:13px;padding:7px 10px;display:flex}.prototype-primary-upload input{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.prototype-primary-upload>span:last-child{gap:1px;display:grid}.prototype-primary-upload strong{font-size:.8rem}.prototype-primary-upload small{color:var(--muted);font-size:.7rem}.prototype-primary-upload-icon{background:var(--primary-soft);width:28px;height:28px;color:var(--primary);border-radius:8px;place-items:center;font-size:1rem;display:grid}.prototype-primary-upload:focus-within{outline-offset:2px;outline:3px solid #0872c738}.prototype-document-identity{background:var(--primary-soft);min-width:132px;color:var(--primary);border:1px solid #b9eacc;border-radius:13px;align-items:center;gap:9px;padding:8px 12px;display:inline-flex}.prototype-document-identity.income{color:#1681b4;background:#eef8fd;border-color:#b8ddef}.prototype-document-identity-icon{background:#fff;border-radius:9px;place-items:center;width:30px;height:30px;font-size:1.15rem;font-weight:800;display:grid}.prototype-document-identity>span:last-child{gap:1px;display:grid}.prototype-document-identity small{color:var(--muted);font-size:.68rem}.prototype-document-identity strong{font-size:.86rem}@media (max-width:720px){.prototype-document-identity{border-radius:10px;min-width:0;padding:5px 8px}.prototype-document-identity-icon{border-radius:7px;width:25px;height:25px;font-size:.95rem}.prototype-document-identity small{display:none}.prototype-document-identity strong{font-size:.74rem}}.form-card input:disabled,.form-card select:disabled,.form-card textarea:disabled{cursor:not-allowed;color:#65707a;background:#f4f5f4;font-weight:500}.direction-picker{border:0;grid-template-columns:1fr 1fr;gap:10px;margin:0;padding:0;display:grid}.direction-picker legend{grid-column:1/-1;margin-bottom:8px;font-weight:800}.choice{background:var(--danger-soft);min-height:48px;color:var(--danger);cursor:pointer;border:1px solid #efcaca;border-radius:12px;font-weight:800}.income-choice{background:var(--income-soft);color:var(--income);border-color:#c8ebd8}.choice.selected{outline-offset:1px;outline:3px solid}.full-width{width:100%}.form-help{color:var(--muted);margin:14px 2px;font-size:14px;line-height:1.5}.session-checking{place-items:center;min-block-size:100dvh;display:grid}.detail-toggle{color:var(--primary);cursor:pointer;background:0 0;border:0;justify-self:start;padding:0;font-weight:800}.calculated-total{background:var(--primary-soft);color:var(--primary);border-radius:12px;justify-content:space-between;align-items:center;margin:0;padding:14px;display:flex}.calculated-total span{font-weight:700}.calculated-total strong{font-size:18px}.item-editor{gap:12px;display:grid}.item-card{border:1px solid var(--border);border-radius:16px;gap:12px;margin:0;padding:16px;display:grid}.item-card legend{padding:0 5px;font-weight:800}.compact-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.item-total{color:var(--primary);text-align:right;margin:0;font-weight:800}.income-text,.amount-positive{color:var(--income)}.expense-text{color:var(--danger)}.record-row{justify-content:space-between;align-items:center;gap:16px;margin-top:12px;padding:16px;display:flex}.record-row strong,.record-row p,.record-row b{display:block}.record-row strong{font-weight:600}.record-row .tag-chip-list{margin-top:8px}.record-row b{text-align:right;flex:none;margin:0}.record-list-section{gap:14px;display:grid}.record-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.record-summary-card{isolation:isolate;background:#f5f8f7;border:1px solid #0000;border-radius:14px;gap:4px;min-width:0;padding:16px 18px;display:grid;position:relative;overflow:hidden;box-shadow:0 8px 18px #20273512}.record-summary-card:before,.record-summary-card:after{z-index:-1;content:"";pointer-events:none;position:absolute}.record-summary-card:before{opacity:.12;border:2px solid;border-radius:50%;width:150px;height:150px;bottom:-70px;right:-48px}.record-summary-card:after{opacity:.07;border:2px solid;border-radius:50%;width:90px;height:90px;top:-38px;right:28px}.record-summary-card:first-child{color:#2c6fa5;background:linear-gradient(135deg,#f2f8fd,#e4f0fa);border-color:#c6dced}.record-summary-card:nth-child(2){color:#c94b52;background:linear-gradient(135deg,#fff6f5,#fde4e3);border-color:#f0c6c7}.record-summary-card:nth-child(3){color:#a66a0a;background:linear-gradient(135deg,#fffaf0,#fff0c9);border-color:#efd49c}.record-summary-card:nth-child(4){color:#16835b;background:linear-gradient(135deg,#f1fbf4,#ddf3e5);border-color:#b9dfc7}.record-summary-card span,.record-summary-card small{color:var(--muted);font-size:12px}.record-summary-card .record-summary-title{flex-wrap:wrap;align-items:center;gap:5px;display:flex}.record-summary-card .summary-period{color:var(--primary);white-space:nowrap;font-size:12px;font-weight:500}.record-summary-card strong{color:currentColor;text-overflow:ellipsis;white-space:nowrap;font-size:clamp(1.15rem,2vw,1.45rem);font-weight:600;overflow:hidden}.budget-report-page{gap:18px;display:grid}.budget-report-heading{align-items:end}.budget-month-picker{min-width:270px;color:var(--muted);gap:6px;font-size:12px;font-weight:700;display:grid}.budget-month-picker-controls{grid-template-columns:36px minmax(150px,1fr) 36px;justify-content:end;align-items:center;gap:8px;min-height:38px;display:grid}.budget-month-picker-controls button{border:1px solid var(--border);background:var(--surface);width:36px;height:36px;color:var(--text);cursor:pointer;border-radius:9px;place-items:center;display:inline-grid}.budget-month-picker-controls button:hover:not(:disabled),.budget-month-picker-controls button:focus-visible{border-color:var(--primary);color:var(--primary)}.budget-month-picker-controls button:disabled{cursor:not-allowed;opacity:.4}.budget-month-picker-controls strong{color:var(--text);text-align:center;font-size:14px}.budget-overview-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.budget-overview-card{border:1px solid var(--border);background:var(--surface-soft);border-radius:16px;gap:5px;padding:16px;display:grid}.budget-overview-card span{color:var(--muted);font-size:12px;font-weight:700}.budget-overview-card strong{font-size:22px}.budget-overview-card small{color:var(--muted);font-size:11px}.budget-overview-card.is-budget{color:#2c6fa5;background:#f1f8fd;border-color:#c5dced}.budget-overview-card.is-actual{color:#c94b52;background:#fff5f4;border-color:#f0c6c7}.budget-overview-card.is-remaining{color:#16835b;background:#f0faf3;border-color:#b9dfc7}.budget-overview-card.is-over{color:#b93642;background:#fff1f0;border-color:#edc0c0}.budget-settings-card,.budget-analysis-card{gap:16px;display:grid}.budget-report-page>.budget-analysis-card{order:1}.budget-report-page>.budget-settings-card{order:2}.budget-settings-list{gap:8px;display:grid}.budget-settings-heading-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.budget-settings-toggle{align-items:center;gap:6px;display:inline-flex}.budget-setting-row{border-top:1px solid var(--border);justify-content:space-between;align-items:center;gap:16px;padding:12px 0;display:flex}.budget-setting-row>div:first-child{gap:3px;display:grid}.budget-setting-row small{color:var(--muted);font-size:12px}.budget-setting-control{color:var(--muted);white-space:nowrap;align-items:center;gap:8px;display:flex}.budget-setting-control input{border:1px solid var(--border);background:var(--surface);width:130px;min-height:38px;color:var(--text);font:inherit;text-align:right;border-radius:10px;padding:0 10px}.budget-setting-control .secondary-button{min-height:38px;padding:0 12px}.budget-report-month{color:var(--muted);font-size:13px}.budget-analysis-table{border:1px solid var(--border);border-radius:14px;overflow:hidden}.budget-analysis-row{border-top:1px solid var(--border);min-height:52px;color:var(--text);grid-template-columns:minmax(180px,1.4fr) repeat(3,minmax(130px,1fr)) minmax(80px,auto);align-items:center;gap:12px;padding:0 16px;font-size:13px;display:grid}.budget-analysis-row:first-child{border-top:0}.budget-analysis-row:not(.budget-analysis-header)>span{text-align:right}.budget-analysis-header{min-height:42px;color:var(--muted);background:#f5f8f6;font-size:12px;font-weight:700}.budget-analysis-header span:not(:first-child),.budget-analysis-header span:last-child,.budget-edit-link{text-align:right}.budget-analysis-row.is-over{color:#b7473f;background:#fff5f3}.budget-empty{text-align:center;margin:0;padding:24px 16px}.budget-save-backdrop{z-index:80;background:#16201d6b;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.budget-save-dialog{border:1px solid var(--border);background:var(--surface);border-radius:20px;gap:14px;width:min(100%,520px);padding:24px;display:grid;box-shadow:0 24px 80px #141c1b3d}.budget-save-dialog h2,.budget-save-dialog p{margin:0}.budget-save-dialog h2{font-size:21px}.budget-save-dialog>.muted{font-size:13px;line-height:1.6}.budget-save-options{gap:8px;display:grid}.budget-save-options button{border:1px solid var(--border);background:var(--surface);color:var(--text);text-align:left;cursor:pointer;border-radius:12px;gap:5px;padding:13px 14px;display:grid}.budget-save-options button.selected{border-color:var(--primary);background:color-mix(in srgb, var(--primary) 6%, white);box-shadow:inset 0 0 0 1px var(--primary)}.budget-save-options small{color:var(--muted);font-size:12px;line-height:1.5}.budget-save-actions{justify-content:flex-end;gap:8px;padding-top:4px;display:flex}.record-table{gap:14px;display:grid}.record-month-group{background:#fffdf6;border:1px solid #eed9a0;border-radius:16px;overflow:hidden;box-shadow:0 5px 18px #b58b2514}.sales-document-months{gap:14px;display:grid}.sales-document-month-group{border:1px solid var(--border);background:var(--surface);border-radius:16px;overflow:hidden}.sales-document-month-heading{background:#f7f8f7;align-items:center;min-height:58px;padding:12px 16px;display:flex}.record-month-heading{background:#fff8df;border-bottom:1px solid #eed9a0;justify-content:space-between;align-items:center;gap:12px;min-height:58px;padding:12px 16px;display:flex}.record-month-toggle{min-width:0;color:var(--text);cursor:pointer;text-align:left;background:0 0;border:0;align-items:center;gap:8px;padding:0;display:flex}.record-month-toggle:hover .record-month-toggle-copy strong{color:var(--primary)}.record-month-toggle-icon{color:#b27a08;background:#fff;border-radius:7px;place-items:center;width:24px;height:24px;display:grid;position:relative}.record-month-toggle-icon:before{content:"";border-bottom:3px solid;border-right:3px solid;width:9px;height:9px;transform:translateY(-2px)rotate(45deg)}.record-month-toggle-icon.is-collapsed:before{transform:translate(-2px)rotate(-45deg)}.record-month-toggle-copy{flex-wrap:wrap;align-items:baseline;gap:10px;display:flex}.record-month-heading strong{color:#765713;font-size:16px;font-weight:600}.record-month-heading span,.record-month-heading b{color:var(--muted);font-size:12px}.record-month-heading b{color:var(--text);white-space:nowrap;font-size:14px;font-weight:600}.record-month-heading-actions,.record-mobile-month-actions{align-items:center;gap:10px;min-width:0;display:inline-flex}.record-mobile-month-heading{justify-content:space-between;align-items:center;gap:10px;min-width:0;display:flex}.record-month-sync-button{color:#4b53d8;cursor:pointer;background:#f2f4ff;border:0;border-radius:9px;flex:0 0 34px;place-items:center;width:34px;height:34px;padding:0;display:inline-grid}.record-month-sync-button:hover:not(:disabled){background:#e6e9ff}.record-month-sync-button:disabled{cursor:wait;opacity:.62}.record-month-sync-icon{width:22px;height:22px;transition:transform .18s}.record-month-sync-button:hover:not(:disabled) .record-month-sync-icon{animation:.56s ease-out record-month-sync-hover}.record-month-sync-icon.is-syncing{animation:1.2s linear infinite record-month-sync-spin}@keyframes record-month-sync-hover{0%{transform:rotate(0)scale(1)}45%{transform:rotate(7deg)scale(1.06)}75%{transform:rotate(-4deg)scale(1.03)}to{transform:rotate(0)scale(1)}}@keyframes record-month-sync-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.record-month-sync-button:hover:not(:disabled) .record-month-sync-icon,.record-month-sync-icon.is-syncing{animation:none}}.record-sync-notice{color:var(--danger);margin:12px 0 0;font-size:13px}.sync-confirmation-modal{width:min(100%,520px)}.sync-confirmation-copy{color:var(--muted);gap:10px;margin-bottom:22px;line-height:1.6;display:grid}.sync-confirmation-copy p,.sync-confirmation-copy strong,.sync-confirmation-copy small{margin:0}.sync-confirmation-copy strong{color:var(--text);font-size:16px;font-weight:600}.record-table-scroll{background:#fff;overflow-x:auto}.record-table table{border-collapse:collapse;table-layout:fixed;width:100%;min-width:0;font-size:13px}.record-table th,.record-table td{text-align:left;vertical-align:middle;border-top:1px solid #eef0ee;height:58px;padding:9px 12px}.record-table th{color:var(--muted);white-space:nowrap;font-size:11px;font-weight:500}.record-table td{color:var(--muted)}.record-table td.income-text{color:var(--income);font-weight:700}.record-table td.expense-text{color:var(--danger);font-weight:700}.record-table th.record-direction-cell,.record-table td.record-direction-cell{white-space:nowrap;width:76px;min-width:76px}.record-table td.record-direction-cell .record-direction-pill{white-space:nowrap;padding:4px 8px;font-size:11px;font-weight:600;display:inline-flex}.record-table tbody tr{height:58px}.record-table tbody td{max-height:58px;overflow:hidden}.record-table tbody td:not(:nth-child(3)):not(:last-child){overflow-wrap:anywhere;line-height:18px}.record-table th:first-child,.record-table td:first-child{width:4%}.record-table th:nth-child(2),.record-table td:nth-child(2){width:12%}.record-table th:nth-child(3),.record-table td:nth-child(3){width:8%}.record-table th:nth-child(4),.record-table td:nth-child(4){width:5%}.record-table th:nth-child(5),.record-table td:nth-child(5){width:17%}.record-table th:nth-child(6),.record-table td:nth-child(6){width:14%}.record-table th:nth-child(7),.record-table td:nth-child(7){width:12%}.record-table th:nth-child(8),.record-table td:nth-child(8){width:10%}.record-table th:nth-child(9),.record-table td:nth-child(9){width:8%}.record-table th:nth-child(10),.record-table td:nth-child(10){width:10%}.record-table th:nth-child(11),.record-table td:nth-child(11){white-space:nowrap;width:64px;min-width:64px}.record-number-cell{color:var(--muted);font-variant-numeric:tabular-nums;text-align:center!important}.record-table td:first-child{white-space:nowrap}.record-table td:first-child,.record-table th:first-child{padding-left:16px}.record-table td:last-child,.record-table th:last-child{padding-right:16px}.record-table td:last-child .text-button{white-space:nowrap}.record-table-description{min-width:0;color:var(--text);gap:3px;display:grid}.record-table .tag-chip-list-compact{gap:6px}.record-table .tag-chip-list-compact .tag-chip{background:color-mix(in srgb, var(--tag-color) 14%, white);max-width:100%;min-height:20px;box-shadow:none;color:var(--muted);border:0;border-radius:999px;padding:3px 7px;font-size:11px;font-weight:500}.record-table .tag-chip-list-compact .tag-chip-dot{flex-basis:6px;width:6px;height:6px}.record-table-date-cell,.record-row-date{align-items:center;gap:6px;min-width:0;display:flex}.record-table-date-cell{white-space:nowrap}.record-row-date{vertical-align:middle;display:inline-flex}.record-drive-sync-icon{flex:0 0 22px;justify-content:center;align-items:center;width:22px;height:20px;display:inline-flex;position:relative}.record-drive-sync-icon svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.7px;width:21px;height:21px}.record-drive-sync-icon.none{color:var(--muted)}.record-drive-sync-icon.pending,.record-drive-sync-icon.syncing{color:#a15c00}.record-drive-sync-icon.synced{color:#087f43}.record-drive-sync-icon.failed{color:var(--danger)}.record-table-description strong{text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.record-table-description small,.record-payment-label{color:var(--muted);font-size:11px}.record-table-cell-truncate{text-overflow:ellipsis;white-space:nowrap;max-width:100%;display:block;overflow:hidden}.record-table-description small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.record-status-pill{color:var(--muted);white-space:nowrap;background:#f0f2f1;border-radius:999px;padding:4px 8px;font-size:11px;font-weight:600;display:inline-flex}.record-status-pill.recorded{background:var(--income-soft);color:#087f43}.record-status-pill.cancelled{background:var(--danger-soft);color:var(--danger)}.payment-state-pill.paid,.payment-state-pill.received{background:var(--income-soft);color:#087f43}.payment-state-pill.pending-payment,.payment-state-pill.pending_payment,.payment-state-pill.pending-receipt,.payment-state-pill.pending_receipt{color:#a15c00;background:#fff4df}.record-payment-label{margin-top:4px;display:block}.numeric-cell{white-space:nowrap;text-align:right!important}.record-table td.numeric-cell{font-weight:700}.record-list-mobile-stack{display:none}.record-mobile-month-group{background:#fffdf6;border:1px solid #eed9a0;border-radius:14px;overflow:hidden;box-shadow:0 5px 18px #b58b2514}.record-mobile-month-toggle{min-width:0;color:var(--text);cursor:pointer;text-align:left;background:0 0;border:0;flex:1;align-items:center;gap:12px;padding:0;display:flex}.record-mobile-month-heading{background:#fff8df;border-bottom:1px solid #eed9a0;min-height:52px;padding:10px 14px}.record-mobile-month-toggle>span{gap:2px;display:grid}.record-mobile-month-toggle>.record-month-toggle-icon{flex:0 0 24px;gap:0;display:grid}.record-mobile-month-toggle small{color:var(--muted);font-size:11px}.record-mobile-month-toggle b{color:var(--muted);white-space:nowrap;font-size:12px;font-weight:500}.record-mobile-month-items{background:#fff;display:grid}.record-mobile-month-items .record-row{box-shadow:none;border-width:1px 0 0;border-radius:0;margin-top:0}.record-list-toolbar{gap:10px;display:grid}.record-filter-tabs{background:#eff1ee;border:1px solid #e8eae7;border-radius:16px;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:5px;display:grid}.record-filter-tabs button{min-height:44px;color:var(--muted);cursor:pointer;transition:color var(--motion-standard) var(--motion-ease), background-color var(--motion-standard) var(--motion-ease), box-shadow var(--motion-standard) var(--motion-ease), transform var(--motion-fast) var(--motion-ease);background:0 0;border:0;border-radius:11px;padding:0 8px;font-weight:700}.record-filter-tabs button:hover{color:var(--text)}.record-filter-tabs button.selected{background:var(--surface);box-shadow:0 2px 7px #2027351a}.record-filter-tabs button.selected[data-filter=all]{color:var(--primary)}.record-filter-tabs button.selected[data-filter=income]{color:var(--income)}.record-filter-tabs button.selected[data-filter=expense]{color:var(--danger)}.record-filter-tabs button.selected[data-filter=draft]{color:#9a6514}.record-search input{border:1px solid var(--border);background:var(--surface);width:100%;min-height:46px;color:var(--text);border-radius:12px;padding:0 14px}.cancelled-toggle{color:var(--muted);align-items:center;gap:8px;font-size:14px;font-weight:700;display:flex}.cancelled-toggle input{width:18px;height:18px;accent-color:var(--primary)}.record-stack{display:grid}.master-data-section,.master-data-list{gap:16px;display:grid}.master-data-heading{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.master-data-heading h1{margin-bottom:4px}.master-data-heading .muted{max-width:580px;margin:0;line-height:1.55}.master-data-heading .primary-button{flex:none}.master-data-form{margin:4px 0}.line-group-already-connected{text-align:center;flex-direction:column;justify-content:center;align-items:center;width:min(100%,620px);min-height:min(680px,100vh - 180px);margin:0 auto;padding:36px 24px;display:flex}.line-group-already-connected-icon{color:#4c55d5;width:96px;height:96px;margin-bottom:18px}.line-group-already-connected h1{color:var(--text);margin:0;font-size:clamp(23px,5vw,30px);line-height:1.35}.line-group-already-connected h1 span{color:#4c55d5;display:block}.line-group-already-connected-summary{max-width:460px;color:var(--muted);margin:22px 0 30px;font-size:17px;line-height:1.65}.line-group-already-connected-help{width:100%;color:var(--text);text-align:left;background:#e8f5ff;border-radius:14px;align-items:flex-start;gap:14px;padding:18px 20px;display:flex}.line-group-already-connected-info{color:#4c55d5;background:#d3e5ff;border-radius:50%;flex:0 0 30px;place-items:center;width:30px;height:30px;font-size:19px;font-weight:700;display:grid}.line-group-already-connected-help strong{margin:1px 0 5px;display:block}.line-group-already-connected-help p{margin:0;line-height:1.55}.line-group-already-connected-link{color:var(--text);text-underline-offset:3px;margin-top:28px;text-decoration:underline}.line-group-settings>.master-data-heading{align-items:center}.line-group-company-filter,.line-group-company-select{max-width:520px;color:var(--text);gap:8px;font-weight:650;display:grid}.line-group-company-filter select,.line-group-company-select select{border:1px solid var(--border,#d9ded9);width:100%;min-height:48px;color:var(--text);font:inherit;background:#fff;border-radius:12px;padding:0 14px}.line-group-list-card{border:1px solid var(--border,#e1e5e1);background:#fff;border-radius:16px;align-items:center;gap:14px;margin-top:12px;padding:16px;display:flex}.line-group-list-avatar{color:#087463;background:#e7f5e6;border-radius:15px;flex:0 0 48px;place-items:center;width:48px;height:48px;font-size:17px;font-weight:800;display:grid}.line-group-list-copy{flex:1;min-width:0}.line-group-list-title{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.line-group-list-title h2{color:var(--text);text-overflow:ellipsis;margin:0;font-size:17px;overflow:hidden}.line-group-list-title span{border-radius:999px;padding:3px 9px;font-size:12px;font-weight:700}.line-group-list-title .is-active{color:#137044;background:#e6f5e9}.line-group-list-title .is-inactive{color:#66716a;background:#f1f2f1}.line-group-list-copy p{color:var(--text);margin:4px 0 2px}.line-group-list-copy small{color:var(--muted)}.line-group-empty-state{text-align:center;justify-items:center;gap:8px;padding:36px 20px;display:grid}.line-group-empty-state h2,.line-group-empty-state p{margin:0}.line-group-empty-icon{color:#087463;background:#e7f5e6;border-radius:17px;place-items:center;width:54px;height:54px;font-size:13px;font-weight:800;display:grid}.line-group-modal-backdrop{z-index:1000;background:#101b157a;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.line-group-modal{background:#fff;border:1px solid #e0e6e0;border-radius:22px;width:min(100%,480px);padding:28px;position:relative;box-shadow:0 24px 80px #0f23183d}.line-group-modal-close{width:36px;height:36px;color:var(--text);cursor:pointer;background:#f2f5f2;border:0;border-radius:50%;place-items:center;font-size:25px;display:grid;position:absolute;top:14px;right:15px}.line-group-modal>.eyebrow{margin:0 40px 5px 0}.line-group-modal h2{color:var(--text);margin:0 40px 20px 0;font-size:25px}.line-group-detected{background:#f5f8f4;border-radius:14px;align-items:center;gap:12px;margin:0 0 20px;padding:13px;display:flex}.line-group-detected div{gap:3px;min-width:0;display:grid}.line-group-detected strong{color:var(--text);text-overflow:ellipsis;overflow:hidden}.line-group-detected small,.line-group-modal-hint{color:var(--muted);line-height:1.55}.line-group-modal-hint{margin:14px 0 0}.line-group-modal-notice{color:#6a4a0b;background:#fff4dd;border-radius:12px;margin:14px 0 0;padding:12px 14px;line-height:1.5}.line-group-modal-actions{justify-content:flex-end;gap:10px;margin-top:24px;display:flex}@media (max-width:600px){.line-group-settings>.master-data-heading{align-items:flex-start;gap:14px}.line-group-list-card{flex-wrap:wrap;align-items:flex-start}.line-group-list-card>.text-button{margin-left:62px}.line-group-modal-backdrop{align-items:end;padding:0}.line-group-modal{width:100%;padding:26px 20px max(24px, env(safe-area-inset-bottom));border-radius:22px 22px 0 0}.line-group-modal-actions>button{flex:1}}.master-form-grid{gap:14px;display:grid}.master-form-wide{grid-column:1/-1}.master-data-row{justify-content:space-between;align-items:center;gap:16px;margin:0;padding:16px 18px;display:flex}.master-data-row h2{font-size:17px}.master-data-row .muted{margin:4px 0 0}.master-data-title{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.master-data-title span{color:var(--muted);background:#f0f1f0;border-radius:999px;padding:3px 8px;font-size:12px;font-weight:700}.category-groups{gap:12px}.category-group{gap:0;margin:0;padding:0;overflow:hidden}.category-group-header{align-items:center;gap:12px;min-width:0;padding:16px 18px;display:flex}.category-group.is-dragging,.category-subcategory.is-dragging{opacity:.55}.category-group.is-drop-target{border-color:var(--primary);box-shadow:0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent), 0 14px 30px #2027351f;transform:scale(1.008)}.category-subcategory.is-drop-target{background:var(--primary-soft);box-shadow:inset 0 0 0 2px color-mix(in srgb, var(--primary) 55%, transparent);border-radius:10px;transform:scale(1.012)}.category-group-header,.category-subcategory{transition:background-color .15s,opacity .15s,transform .15s,box-shadow .15s}.category-group-header:hover,.category-subcategory:hover{background-color:color-mix(in srgb, var(--primary) 3%, var(--surface))}.category-drag-handle{color:#9299a3;cursor:grab;touch-action:none;background:0 0;border:0;border-radius:7px;flex:0 0 28px;place-items:center;width:28px;height:34px;padding:0;display:grid}.category-drag-handle:active{cursor:grabbing}.category-order-controls{flex:none;gap:2px;display:inline-flex}.category-order-controls button{border:1px solid var(--border);background:var(--surface);width:30px;height:30px;color:var(--muted);cursor:pointer;border-radius:8px;place-items:center;padding:0;display:grid}.category-order-controls button:hover:not(:disabled){border-color:var(--primary);color:var(--primary)}.category-order-controls button:disabled{cursor:default;opacity:.38}.category-collapse-button,.category-modal-close{border:1px solid var(--border);background:var(--surface);width:36px;height:36px;color:var(--muted);cursor:pointer;border-radius:10px;flex:0 0 36px;place-items:center;display:grid}.category-group-copy{flex:220px;min-width:0}.category-group-copy h2,.category-subcategory-copy h3{overflow-wrap:anywhere;margin:0}.category-group-copy h2{font-size:16px}.category-group-copy .muted{margin:4px 0 0;font-size:13px}.category-group-actions{flex:none;justify-content:flex-end;align-items:center;gap:8px;display:flex}.category-group-actions .secondary-button{border-radius:10px;min-height:38px;padding:0 12px;font-size:13px}.category-group-actions .text-button{min-height:38px;padding:0 4px}.category-subcategory-list{gap:1px;padding:0 18px 14px 66px;display:grid}.category-subcategory{border-top:1px solid var(--border);background:var(--surface-soft);justify-content:space-between;align-items:center;gap:12px;min-width:0;padding:11px 12px;display:flex}.category-subcategory:first-child{border-radius:10px 10px 0 0}.category-subcategory:last-child{border-radius:0 0 10px 10px}.category-subcategory-copy{align-items:center;gap:8px;min-width:0;display:flex}.category-subcategory-copy h3{font-size:14px;font-weight:600}.category-subcategory-copy>span{color:var(--muted);background:#f0f1f0;border-radius:999px;flex:none;padding:2px 7px;font-size:11px}.category-modal-backdrop{z-index:120;background:#141d186b;place-items:center;padding:20px;display:grid;position:fixed;inset:0;overflow-y:auto}.category-modal{gap:20px;width:min(100%,520px);padding:24px}.category-modal-header{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.category-modal-header .eyebrow,.category-modal-header h2{margin:0}.category-modal-header h2{margin-top:4px;font-size:20px}.category-modal-close{flex:0 0 36px}.category-modal .master-form-grid{gap:14px}.category-modal-actions{justify-content:flex-end;gap:8px;padding-top:2px;display:flex}.category-modal-actions .primary-button,.category-modal-actions .secondary-button{border-radius:11px;min-height:42px}@media (max-width:640px){.category-group-header{flex-wrap:wrap;align-items:flex-start;padding:14px}.category-group-copy{padding-top:3px}.category-group-actions{flex-wrap:wrap;justify-content:flex-start;width:100%;padding-left:48px}.category-subcategory-list{padding:0 14px 14px 48px}.category-subcategory{flex-direction:column;align-items:flex-start}.category-subcategory .category-group-actions{padding-left:0}.category-modal-backdrop{align-items:end;padding:12px}.category-modal{border-radius:18px;padding:20px}.category-modal-actions{grid-template-columns:1fr 1fr;display:grid}}.settings-link-grid{gap:12px;margin-top:16px;display:grid}.settings-link-card{border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow);border-radius:18px;align-items:center;gap:14px;padding:18px;display:flex}.settings-link-card>span{background:var(--primary-soft);width:42px;height:42px;color:var(--primary);border-radius:14px;place-items:center;font-size:22px;display:grid}.settings-link-card h2,.settings-link-card p{margin:0}.settings-link-card h2{font-size:17px}.settings-link-card p{color:var(--muted);margin-top:3px;font-size:14px}.settings-link-card>b{color:var(--muted);margin-left:auto;font-size:26px;font-weight:400}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.record-review-page{max-width:900px;padding-top:4px;padding-bottom:56px}.record-preview-header{align-items:flex-start}.record-preview-header h1{overflow-wrap:anywhere;max-width:680px}.record-preview-header-actions{align-items:center;gap:8px;display:flex}.record-preview-hero{gap:10px}.record-preview-date{color:var(--muted);margin:0}.record-status-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:10px;display:grid}.record-status-summary>div{border:1px solid var(--border);background:var(--canvas);border-radius:12px;gap:5px;min-width:0;padding:12px;display:grid}.record-status-summary span{color:var(--muted);font-size:13px}.record-status-summary strong{overflow-wrap:anywhere;font-size:14px}.status-success{color:var(--income)}.status-warning{color:#a16207}.status-danger{color:var(--danger)}.record-preview-desktop-table{border:1px solid var(--border);background:var(--surface);border-radius:14px;overflow-x:auto}.record-preview-desktop-table table{border-collapse:collapse;table-layout:fixed;width:100%;font-size:13px}.record-preview-desktop-table th,.record-preview-desktop-table td{border-bottom:1px solid var(--border);text-align:left;vertical-align:middle;padding:12px 14px}.record-preview-desktop-table th{background:var(--surface-soft);color:var(--muted);white-space:nowrap;font-size:12px;font-weight:600}.record-preview-desktop-table tbody tr:last-child td{border-bottom:0}.record-preview-desktop-table th:first-child,.record-preview-desktop-table td:first-child{text-align:center;width:8%}.record-preview-desktop-table th:nth-child(2),.record-preview-desktop-table td:nth-child(2){width:34%}.record-preview-desktop-table th:nth-child(3),.record-preview-desktop-table td:nth-child(3),.record-preview-desktop-table th:nth-child(4),.record-preview-desktop-table td:nth-child(4){width:14%}.record-preview-desktop-table th:nth-child(5),.record-preview-desktop-table td:nth-child(5){width:16%}.record-preview-desktop-table th:nth-child(6),.record-preview-desktop-table td:nth-child(6){width:14%}.record-preview-item-description{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.record-preview-desktop-table .record-preview-item-number{color:var(--muted);font-variant-numeric:tabular-nums}.record-preview-desktop-table .record-preview-item-total{color:var(--text);font-weight:800}.record-preview-items{gap:10px;display:none}.record-preview-items .item-card{gap:8px}.record-preview-items .item-card h3,.record-preview-items .item-card p{margin:0}.record-preview-items .item-card{grid-template-columns:minmax(0,1.25fr) minmax(0,1.5fr) auto;align-items:center;gap:18px;padding:12px 16px}.record-preview-items .item-card h3{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.record-preview-items .item-card .item-total{white-space:nowrap}.record-preview-item-heading{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;min-width:0;display:grid}.record-preview-item-number{color:var(--muted);font-variant-numeric:tabular-nums;font-weight:700}.record-preview-item-heading h3{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.record-preview-item-details{border-top:1px solid var(--border);grid-template-columns:1fr;gap:7px;margin:10px 0 0;padding-top:10px;display:grid}.record-preview-item-details>div{grid-template-columns:minmax(96px,.8fr) minmax(0,1.2fr);gap:10px;min-width:0;display:grid}.record-preview-item-details dt{color:var(--muted);font-size:12px}.record-preview-item-details dd{min-width:0;color:var(--text);text-align:right;text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:12px;font-weight:600;overflow:hidden}.record-preview-item-details .record-preview-item-total{color:var(--text);font-size:14px;font-weight:800}@media (max-width:767px){.record-preview-desktop-table{display:none}.record-preview-items{display:grid}.record-preview-items .item-card{grid-template-columns:minmax(0,1fr);gap:8px;padding:14px}.record-preview-items .item-card h3{white-space:normal}.record-preview-items .item-card .item-total{text-align:left}.record-preview-item-details{grid-template-columns:1fr;gap:7px}}.record-total-summary{margin-top:16px}.evidence-viewer{border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow);border-radius:20px;overflow:hidden}.evidence-viewer-stage{background:#f5f6f6;place-items:center;min-height:360px;padding:28px;display:grid;overflow:auto}.evidence-viewer-document{place-items:center;min-width:min(100%,300px);min-height:300px;display:grid}.evidence-viewer-image{object-fit:contain;transform-origin:50%;max-width:min(100%,620px);max-height:560px;transition:transform .18s;box-shadow:0 10px 24px #20273524}.evidence-viewer-pdf{justify-items:center;gap:12px;max-width:100%;display:grid}.evidence-viewer-pdf-pages{transform-origin:top;justify-items:center;gap:16px;display:grid}.evidence-viewer-pdf-page{background:#fff;overflow:hidden;box-shadow:0 10px 24px #20273524}.evidence-viewer-toolbar{border-top:1px solid var(--border);border-bottom:1px solid var(--border);justify-content:center;align-items:center;gap:12px;min-height:64px;display:flex}.evidence-viewer-toolbar button,.evidence-viewer-toggle{min-width:32px;min-height:36px;color:var(--text);cursor:pointer;font:inherit;background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;padding:0 8px;display:inline-flex}.evidence-viewer-toolbar button:hover:not(:disabled),.evidence-viewer-toggle:hover{background:var(--surface-soft)}.evidence-viewer-toolbar button:disabled{color:#b8bec4;cursor:not-allowed}.evidence-viewer-zoom{font-weight:600;background:var(--surface-soft)!important;min-width:74px!important}.evidence-viewer-divider{background:var(--border);width:1px;height:28px}.evidence-viewer-library-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:16px;padding:10px 14px;display:flex}.evidence-viewer-library-header>div{align-items:baseline;gap:8px;min-width:0;display:flex}.evidence-viewer-library-header span{color:var(--muted);font-size:13px}.evidence-viewer-library-header strong{font-size:13px}.evidence-viewer-toggle{border:1px solid var(--border);background:var(--surface);flex:none;gap:6px}.evidence-viewer-library{scrollbar-width:thin;align-items:flex-start;gap:8px;padding:8px 10px 10px;display:flex;overflow:auto hidden}.evidence-viewer-library.is-dragging{outline:2px dashed var(--primary);outline-offset:-6px;background:var(--primary-soft)}.evidence-viewer-thumbnail{width:78px;min-width:0;color:var(--text);cursor:pointer;font:inherit;text-align:left;background:0 0;border:2px solid #0000;border-radius:8px;flex:0 0 78px;gap:2px;padding:2px;display:grid}.evidence-viewer-thumbnail.selected{border-color:#405be8}.evidence-viewer-thumbnail-preview{border:1px solid var(--border);background:var(--surface-soft);width:100%;height:58px;color:var(--muted);border-radius:7px;place-items:center;display:grid;overflow:hidden}.evidence-viewer-thumbnail-preview img{object-fit:contain;width:100%;height:100%}.evidence-viewer-thumbnail>span:not(.evidence-viewer-thumbnail-preview),.evidence-viewer-thumbnail small{text-overflow:ellipsis;white-space:nowrap;padding:0 4px;font-size:11px;overflow:hidden}.evidence-viewer-thumbnail small{color:var(--muted);font-size:10px}.evidence-viewer-add{color:#788399;cursor:pointer;text-align:center;border:2px dashed #c8d0dd;border-radius:8px;flex:0 0 68px;align-content:center;place-items:center;gap:2px;width:68px;height:58px;padding:4px;font-size:11px;display:grid}.evidence-viewer-add:hover{border-color:var(--primary);color:var(--primary)}.evidence-viewer-empty{justify-items:start;display:grid}@media (max-width:767px){.evidence-viewer-stage{min-height:clamp(220px,42dvh,340px);padding:12px}.document-editor-body #record-editor-evidence .evidence-viewer-stage{flex:none;min-height:clamp(220px,42dvh,340px)}.evidence-viewer-image{max-height:min(38dvh,320px)}.evidence-viewer-library-header{align-items:center;padding:8px 12px}}.review-card{gap:18px}.receipt-substitute-page{max-width:760px}.receipt-substitute-toolbar{align-items:flex-start}.receipt-substitute-toolbar-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.receipt-substitute-toolbar-actions .primary-button,.receipt-substitute-toolbar-actions .secondary-button{white-space:nowrap}.public-document-actions{justify-content:flex-end;gap:10px;margin-top:16px;display:flex}.public-document-delete-button{min-height:36px;padding:0 12px;font-size:13px}.receipt-substitute-pdf-output{border:1px solid var(--border);min-height:220px;box-shadow:var(--shadow);text-align:center;background:#eef1f0;border-radius:20px;overflow:hidden}.receipt-substitute-pdf-output p{color:var(--muted);margin:0;padding:80px 24px}.receipt-pdf-viewer{border-radius:inherit;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;background:#edf1f0;overflow:hidden}.receipt-pdf-viewer-toolbar{border-bottom:1px solid var(--border);color:var(--muted);background:#fff;justify-content:space-between;align-items:center;gap:12px;padding:8px 10px;font-size:12px;display:flex}.receipt-pdf-viewer-zoom{align-items:center;gap:4px;display:flex}.receipt-pdf-viewer-open{border:1px solid var(--border);min-height:28px;color:var(--text);font:inherit;white-space:nowrap;background:#fff;border-radius:7px;align-items:center;gap:5px;padding:0 9px;text-decoration:none;display:inline-flex}.receipt-pdf-viewer-open:hover,.receipt-pdf-viewer-open:focus-visible{border-color:var(--primary);color:var(--primary)}.receipt-pdf-viewer-zoom button{border:1px solid var(--border);min-width:30px;height:28px;color:var(--text);cursor:pointer;font:inherit;background:#fff;border-radius:7px;padding:0 7px}.receipt-pdf-viewer-zoom button:disabled{cursor:default;opacity:.45}.receipt-pdf-viewer-pages{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;flex-direction:column;align-items:center;gap:14px;height:min(78vh,960px);padding:14px;display:flex;overflow:auto}.receipt-pdf-viewer-page{background:#fff;flex:none;justify-content:center;display:flex;box-shadow:0 2px 10px #152a4617}.receipt-pdf-viewer-page canvas{background:#fff;display:block}.receipt-pdf-viewer-error{color:var(--muted);text-align:center;margin:0;padding:16px;font-size:13px}.public-document-page{width:min(100% - 32px,960px);margin:0 auto;padding:20px 0 40px}.public-document-page-fullscreen{width:100%;min-height:100vh;margin:0;padding:0}.public-document-page-fullscreen .receipt-substitute-pdf-viewer{border-radius:0;min-height:100vh}.public-document-page-fullscreen .receipt-pdf-viewer-pages{height:calc(100vh - 45px);min-height:calc(100vh - 45px);padding:14px 20px 24px}.public-document-header{justify-content:space-between;align-items:end;gap:20px;margin-bottom:18px;display:flex}.public-document-header h1{color:var(--text);margin:4px 0;font-size:clamp(24px,4vw,32px)}.public-document-header p:last-child{color:var(--muted);margin:0}.public-document-header .primary-button{white-space:nowrap;align-items:center;gap:7px;display:inline-flex}@media (max-width:620px){.public-document-page{width:min(100% - 20px,960px);padding-top:18px}.public-document-header{flex-direction:column;align-items:stretch;gap:12px}.public-document-header .primary-button{justify-content:center}}.receipt-substitute-toolbar h1{margin:4px 0 0;font-size:clamp(24px,5vw,34px)}.receipt-substitute-document{border:1px solid var(--border);box-shadow:var(--shadow);background:#fff;border-radius:20px;padding:clamp(24px,5vw,48px)}.receipt-substitute-heading{border-bottom:1px solid var(--border);text-align:center;padding-bottom:22px}.receipt-substitute-heading h2{margin:0;font-size:clamp(24px,5vw,34px)}.receipt-substitute-heading p{color:var(--muted);margin:8px 0 0}.receipt-substitute-details{gap:0;margin:26px 0 0;display:grid}.receipt-substitute-details div{border-bottom:1px dashed var(--border);grid-template-columns:minmax(130px,.7fr) 1.3fr;gap:16px;padding:12px 0;display:grid}.receipt-substitute-details dt{color:var(--muted)}.receipt-substitute-details dd{overflow-wrap:anywhere;margin:0;font-weight:700}.receipt-substitute-total{border-bottom:1px solid var(--border);justify-content:space-between;gap:16px;margin-top:22px;padding:16px 0;font-size:18px;display:flex}.receipt-substitute-total strong{color:var(--danger)}.receipt-substitute-copy{margin:28px 0 0;line-height:1.8}.receipt-substitute-note{color:var(--muted);margin:16px 0 0;font-size:14px;line-height:1.6}.receipt-substitute-signatures{text-align:center;grid-template-columns:repeat(2,minmax(0,1fr));gap:48px;margin-top:72px;display:grid}.receipt-substitute-signatures>div{justify-items:center;gap:10px;display:grid}.signature-line{border-top:1px solid var(--text);width:min(100%,220px);display:block}@media (max-width:560px){.receipt-substitute-toolbar{text-align:center;flex-direction:column;align-items:stretch;gap:12px}.receipt-substitute-toolbar>div:first-child{width:100%}.receipt-substitute-toolbar-actions{justify-content:center;width:100%}.receipt-substitute-toolbar-actions .primary-button,.receipt-substitute-toolbar-actions .secondary-button{border-radius:12px;flex:1 1 0;min-width:0;min-height:40px;padding:0 14px;font-size:13px;line-height:1.2}.public-document-actions{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.public-document-actions .danger-button,.public-document-actions .primary-button,.public-document-actions .secondary-button{justify-content:center}.receipt-substitute-toolbar h1{letter-spacing:-.03em;white-space:nowrap;max-width:100%;font-size:clamp(18px,5.8vw,27px);line-height:1.25}.receipt-substitute-title-line{display:inline}}@media print{.no-print,.receipt-substitute-toolbar .eyebrow{display:none!important}.receipt-substitute-page{width:100%;padding:0}.receipt-substitute-document{box-shadow:none;border:0;border-radius:0}.receipt-substitute-pdf-output{display:none}}.record-direction-pill{border-radius:999px;width:fit-content;padding:6px 10px;font-size:13px;font-weight:800}.record-direction-pill.expense{background:var(--danger-soft);color:var(--danger)}.record-direction-pill.income{background:var(--income-soft);color:var(--income)}.review-amount{font-size:30px}.review-details{gap:14px;margin:0;display:grid}.review-details div{grid-template-columns:minmax(96px,.7fr) 1.3fr;gap:12px;display:grid}.review-details dt{color:var(--muted)}.review-details dd{text-align:right;margin:0;font-weight:700}.record-payment-state-badge{border-radius:999px;align-items:center;min-height:26px;padding:3px 9px;font-size:12px;font-weight:700;display:inline-flex}.record-payment-state-badge.complete{color:#087f43;background:#e5f8ed}.record-payment-state-badge.pending{color:#a15c00;background:#fff2dc}.record-payment-state-badge.danger{color:var(--danger);background:#ffe5e5}.record-preview-details .tag-chip-list-compact{justify-content:flex-end;gap:6px}.record-preview-details .tag-chip-list-compact .tag-chip{background:color-mix(in srgb, var(--tag-color) 14%, white);min-height:24px;box-shadow:none;border:0;border-radius:999px;padding:3px 8px;font-size:12px;font-weight:600}.record-preview-details .tag-chip-list-compact .tag-chip-dot{flex-basis:6px;width:6px;height:6px}.record-amount-summary{border:1px solid var(--border);box-shadow:var(--shadow);background:#fff;border-radius:18px;padding:18px 18px 16px}.record-amount-summary h2{margin:0 0 16px;font-size:20px}.record-amount-summary dl{gap:0;margin:0;display:grid}.record-amount-summary dl div{justify-content:space-between;align-items:baseline;gap:16px;padding:8px 0;display:flex}.record-amount-summary dt{color:var(--muted)}.record-amount-summary dd{color:var(--text);font-variant-numeric:tabular-nums;text-align:right;margin:0}.record-amount-summary-total{border-top:1px solid var(--border);color:var(--text);justify-content:space-between;align-items:baseline;gap:16px;margin-top:10px;padding-top:18px;font-size:19px;font-weight:800;display:flex}.record-amount-summary-total strong{color:inherit;font-variant-numeric:tabular-nums;font-size:clamp(24px,4vw,30px)}.record-amount-summary-total.income{color:var(--income)}.record-amount-summary-total.expense{color:var(--danger)}.evidence-hint h2{margin-bottom:10px}.evidence-hint p{margin:0;line-height:1.5}.review-actions{border:1px solid var(--border);box-shadow:var(--shadow);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff0;border-radius:18px;grid-template-columns:1fr 1.2fr;gap:10px;margin-top:20px;padding:12px;display:grid;position:sticky;bottom:14px}.record-edit-document{gap:0;padding:0;overflow:clip}.document-edit-header,.document-edit-section,.document-edit-footer{padding:22px}.document-edit-header{border-bottom:1px solid var(--border);background:var(--canvas);justify-content:space-between;align-items:flex-start;gap:20px;display:flex}.document-edit-header h2,.document-section-heading h3{color:var(--text);margin:0}.document-edit-header h2{letter-spacing:-.025em;font-size:clamp(22px,4vw,30px)}.document-edit-header .eyebrow{margin:0 0 6px}.document-edit-header .muted,.document-section-heading .muted{margin:6px 0 0;line-height:1.5}.document-edit-header .secondary-button{white-space:nowrap;flex:none}.document-edit-section+.document-edit-section,.document-edit-footer{border-top:1px solid var(--border)}.document-section-heading{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px;display:flex}.document-section-heading h3{letter-spacing:-.015em;font-size:18px}.document-edit-grid,.document-item-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.document-editor-form .document-form-grid:not(.document-seller-grid)>:nth-child(odd){margin-right:12px}.document-editor-form .document-form-grid:not(.document-seller-grid)>:nth-child(2n){margin-left:12px}.document-edit-grid label,.document-item-grid label,.document-item>label{min-width:0;color:var(--text);gap:7px;font-size:14px;font-weight:600;display:grid}.document-edit-grid input,.document-edit-grid select,.document-item-grid input,.document-item-grid select,.document-item>label input{border-radius:11px;min-height:46px;padding-inline:12px}.document-edit-wide-field{grid-column:1/-1}.document-item-list{gap:12px;display:grid}.document-item{border:1px solid var(--border);background:var(--canvas);border-radius:16px;gap:14px;padding:16px;display:grid}.document-item-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.document-item-heading h4{margin:0;font-size:16px}.document-item-delete{min-height:44px;color:var(--danger);cursor:pointer;white-space:nowrap;background:0 0;border:0;padding:0 8px;font-weight:700}.document-item-delete:disabled{cursor:not-allowed;opacity:.5}.document-item-delete:focus-visible,.record-edit-document button:focus-visible,.record-edit-document input:focus-visible,.record-edit-document select:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.document-item-delete:active,.record-edit-document button:active{transform:translateY(1px)}@media (hover:hover) and (pointer:fine){.document-item-delete:hover:not(:disabled){background:var(--danger-soft);border-radius:8px}}.document-item-total{border-top:1px dashed var(--border);color:var(--muted);justify-content:space-between;align-items:center;gap:12px;padding-top:12px;font-size:14px;display:flex}.document-item-total strong{color:var(--primary);font-variant-numeric:tabular-nums}.document-empty-items{border:1px dashed var(--border);color:var(--muted);text-align:center;border-radius:14px;gap:4px;padding:20px;display:grid}.document-empty-items strong{color:var(--text)}.document-choice-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.document-choice-card{border:1px solid var(--border);cursor:pointer;min-width:0;min-height:132px;transition:border-color .14s var(--motion-ease), background-color .14s var(--motion-ease), transform .14s var(--motion-ease);background:#fff;border-radius:16px;grid-template-columns:auto auto minmax(0,1fr);align-items:start;padding:16px;position:relative;gap:10px!important;display:grid!important}.document-choice-card:hover{border-color:var(--primary);transform:translateY(-1px)}.document-choice-card:focus-within{outline:2px solid var(--primary);outline-offset:2px}.document-choice-card.is-selected{border-color:var(--primary);background:var(--primary-soft)}.document-choice-card input{opacity:0;width:1px;height:1px;position:absolute}.document-choice-mark{border:1px solid var(--border);color:#fff;border-radius:6px;place-items:center;width:22px;height:22px;font-size:14px;font-weight:800;display:grid}.document-choice-card.is-selected .document-choice-mark{border-color:var(--primary);background:var(--primary)}.document-choice-copy{gap:5px;min-width:0;display:grid}.document-choice-copy strong{color:var(--text);font-size:15px;line-height:1.3}.document-choice-copy span{color:var(--muted);font-size:13px;font-weight:400;line-height:1.45}.document-supporting-documents{gap:16px}.document-section-heading{justify-content:space-between;align-items:center;gap:18px;display:flex}.document-section-heading legend{color:var(--text);margin:0 0 4px;font-size:16px;font-weight:700}.document-section-heading p{margin:0}.document-supporting-list{gap:10px;display:grid}.document-supporting-card{cursor:pointer;border:1px solid var(--border);background:var(--surface);border-radius:12px;align-items:center;gap:12px;min-width:0;padding:12px;display:flex}.document-supporting-card:hover,.document-supporting-card.is-opening{border-color:var(--primary);background:var(--primary-soft)}.document-supporting-preview,.document-supporting-choice-icon{color:#5266db;background:#eef2ff;border-radius:8px;flex:0 0 48px;justify-content:center;align-items:center;width:48px;height:56px;display:inline-flex}.document-supporting-copy{flex:1;gap:4px;min-width:0;display:grid}.document-supporting-copy strong{color:var(--text)}.document-supporting-copy span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.document-supporting-empty{border:1px dashed var(--border);color:var(--muted);text-align:center;border-radius:12px;margin:0;padding:16px}.document-supporting-popup-backdrop{z-index:1500;background:#0f172a57;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.document-supporting-popup{border:1px solid var(--border);background:var(--surface);border-radius:18px;width:min(100%,620px);padding:24px;box-shadow:0 24px 80px #141c1b3d}.document-supporting-popup-header{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:22px;display:flex}.document-supporting-popup-header h2{margin:0 0 4px;font-size:22px}.document-supporting-popup-header p{color:var(--muted);margin:0}.payment-state-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.payment-state-option{border:1px solid var(--border);background:var(--surface);min-width:0;min-height:46px;color:var(--muted);cursor:pointer;transition:border-color .14s var(--motion-ease), background-color .14s var(--motion-ease), color .14s var(--motion-ease), box-shadow .14s var(--motion-ease), transform .14s var(--motion-ease);border-radius:12px;justify-content:center;align-items:center;gap:7px;padding:8px 10px;font-size:13px;font-weight:650;line-height:1.2;display:flex;position:relative;overflow:hidden}.document-form-grid .payment-state-option{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:5px;display:flex}.payment-state-option:hover{border-color:#8fcfb0;transform:translateY(-1px)}.payment-state-option:focus-within{outline:2px solid var(--primary);outline-offset:2px}.payment-state-option input{opacity:0;width:1px;height:1px;position:absolute}.payment-state-indicator{color:#fff;width:21px;height:21px;transition:border-color .14s var(--motion-ease), background-color .14s var(--motion-ease), box-shadow .14s var(--motion-ease);background:#fff;border:2px solid #9aa4b2;border-radius:5px;flex:none;place-items:center;display:grid}.payment-state-indicator svg{display:block}.payment-state-option span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.payment-state-option.pending_receipt.is-selected,.payment-state-option.pending_payment.is-selected{color:#805500;background:#fff8e8;border-color:#e8c477;box-shadow:0 3px 10px #80550017}.payment-state-option.pending_receipt.is-selected .payment-state-indicator,.payment-state-option.pending_payment.is-selected .payment-state-indicator{background:#a96e00;border-color:#a96e00;box-shadow:0 0 0 2px #a96e0021}.payment-state-option.received.is-selected,.payment-state-option.paid.is-selected{color:#08734d;background:#eaf8f0;border-color:#80c9a4;box-shadow:0 3px 10px #08734d17}.payment-state-option.received.is-selected .payment-state-indicator,.payment-state-option.paid.is-selected .payment-state-indicator{background:#08734d;border-color:#08734d;box-shadow:0 0 0 2px #08734d21}.document-supporting-choice-list{gap:12px;display:grid}.document-supporting-choice{border:1px solid var(--border);cursor:pointer;border-radius:12px;grid-template-columns:auto auto auto minmax(0,1fr);align-items:center;gap:12px;padding:12px;display:grid}.document-supporting-choice:hover,.document-supporting-choice.is-selected{border-color:var(--primary);background:var(--primary-soft)}.document-supporting-choice input{opacity:0;width:1px;height:1px;position:absolute}.document-supporting-choice .document-choice-mark{width:22px;height:22px}.document-supporting-choice.is-selected .document-choice-mark{border-color:var(--primary);background:var(--primary)}.document-supporting-popup-actions{justify-content:flex-end;margin-top:24px}.document-supporting-actions{flex-wrap:nowrap;flex-shrink:0;justify-content:flex-end;gap:8px;display:flex}.document-supporting-actions>.secondary-button{white-space:nowrap}.document-approver-popup-backdrop{z-index:1550;background:#0f172a57;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.document-approver-popup{border:1px solid var(--border);background:var(--surface);border-radius:18px;width:min(100%,620px);padding:24px;box-shadow:0 24px 80px #141c1b3d}.document-approver-field,.document-approver-upload{color:var(--text);gap:8px;margin-top:22px;font-weight:600;display:grid}.document-approver-field input{border:1px solid var(--border);background:var(--surface);min-height:50px;color:var(--text);font:inherit;border-radius:10px;padding:10px 14px}.document-approver-dropzone{background:var(--surface-soft);min-height:156px;color:var(--muted);text-align:center;cursor:pointer;border-radius:12px;align-content:center;place-items:center;gap:8px;padding:20px;display:grid;position:relative}.document-approver-dropzone>span:first-child{color:var(--primary);font-size:30px}.document-approver-dropzone strong{color:var(--text);text-decoration:underline}.document-approver-dropzone small{font-weight:400}.document-approver-dropzone input{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.document-approver-actions{justify-content:flex-end;margin-top:24px}.document-saving-backdrop{z-index:1800;background:#0f172a47;place-items:center;display:grid;position:fixed;inset:0}.document-saving-popup{border:1px solid var(--border);background:var(--surface);min-width:190px;color:var(--muted);border-radius:16px;justify-items:center;gap:8px;padding:24px 30px;display:grid;box-shadow:0 20px 60px #141c1b38}.document-saving-popup strong{color:var(--text);font-size:16px}.document-saving-spinner{border:3px solid var(--primary-soft);border-top-color:var(--primary);border-radius:50%;width:34px;height:34px;animation:.8s linear infinite document-saving-spin}@keyframes document-saving-spin{to{transform:rotate(360deg)}}.document-save-validation-backdrop{z-index:1750;background:#0f172a57;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.document-save-validation-popup{border:1px solid var(--border);background:var(--surface);text-align:center;border-radius:18px;justify-items:center;gap:12px;width:min(100%,420px);padding:28px;display:grid;box-shadow:0 24px 80px #141c1b3d}.document-save-validation-icon{color:#d78300;background:#fff1d6;border-radius:50%;place-items:center;width:44px;height:44px;font-size:24px;font-weight:800;display:grid}.document-save-validation-popup h2{margin:0;font-size:20px}.document-save-validation-popup p{color:var(--muted);margin:0 0 8px;line-height:1.6}.document-save-validation-popup .primary-button{min-width:120px}.document-save-result-backdrop{z-index:1850;background:#0f172a57;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.document-save-result-popup{border:1px solid var(--border);background:var(--surface);text-align:center;border-radius:18px;justify-items:center;gap:12px;width:min(100%,390px);padding:28px;display:grid;box-shadow:0 24px 80px #141c1b3d}.document-save-result-icon{background:var(--primary-soft);width:48px;height:48px;color:var(--primary);border-radius:50%;place-items:center;font-size:28px;font-weight:800;display:grid}.document-save-result-popup.error .document-save-result-icon{color:var(--danger);background:#ffe4e4}.document-save-result-popup h2{margin:0;font-size:20px}.document-save-result-popup p{color:var(--muted);margin:0 0 8px;line-height:1.6}.document-save-confirm-backdrop{z-index:1700;background:#0f172a57;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.document-save-confirm-popup{border:1px solid var(--border);background:var(--surface);border-radius:18px;width:min(100%,460px);padding:28px;box-shadow:0 24px 80px #141c1b3d}.document-save-confirm-popup h2{margin:0 0 8px;font-size:21px}.document-save-confirm-popup>p{color:var(--muted);margin:0;line-height:1.6}.document-save-confirm-details{gap:10px;margin:20px 0 0;display:grid}.document-save-confirm-details div{border-bottom:1px solid var(--border);justify-content:space-between;gap:16px;padding-bottom:8px;display:flex}.document-save-confirm-details dt{color:var(--muted)}.document-save-confirm-details dd{color:var(--text);text-align:right;margin:0;font-weight:700}.document-save-confirm-popup .document-modal-actions{justify-content:flex-end;margin-top:24px}.document-selection-note{color:var(--muted);margin:14px 0 0;font-size:13px;line-height:1.5}.record-documents-card{gap:14px}.record-document-list{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;display:grid}.record-document-row{border:1px solid var(--border);background:var(--canvas);border-radius:14px;flex-direction:column;justify-content:space-between;align-items:center;gap:12px;min-width:0;padding:14px 12px 12px;display:flex}.record-document-row>div:first-child{gap:4px;width:100%;min-width:0;display:grid}.record-document-file{flex:auto}.record-document-pdf{width:100%;min-width:0;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:0;display:flex}.record-document-pdf-badge{border:1px solid var(--border);color:#dc2626;background:#fff1f0;border-radius:8px;align-content:center;place-items:center;gap:2px;width:76px;height:88px;font-size:12px;font-weight:800;display:grid}.record-document-pdf-badge b{letter-spacing:.04em;font-size:11px}.record-document-pdf>span:last-child{gap:4px;display:grid}.record-document-pdf small{color:var(--muted);text-align:center;text-overflow:ellipsis;white-space:nowrap;font-size:13px;display:block;overflow:hidden}.record-document-pdf:hover strong,.record-document-pdf:focus-visible strong{color:var(--primary);text-decoration:underline}.record-document-row strong{color:var(--text)}.record-document-row span{color:var(--muted);font-size:13px}.document-edit-footer{background:var(--surface-soft);gap:0;display:grid}.document-edit-footer .document-section-heading{margin-bottom:10px}.document-summary{gap:0;margin:0;display:grid}.document-summary div{border-bottom:1px dashed var(--border);justify-content:space-between;align-items:baseline;gap:16px;padding:13px 0;display:flex}.document-summary dt{color:var(--muted)}.document-summary dd{color:var(--text);font-variant-numeric:tabular-nums;text-align:right;margin:0;font-weight:700}.document-summary-total{color:var(--text);margin-top:4px;font-size:18px;border-bottom:0!important;padding-top:17px!important}.document-summary-total dt,.document-summary-total dd{color:var(--primary);font-weight:800}.document-edit-actions{box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border:0;border-radius:0;margin:18px 0 0;padding:0;position:static}@media (max-width:560px){.record-preview-header{flex-direction:row;align-items:flex-start}.record-preview-header-actions{flex:none}.record-preview-header-actions .secondary-button{min-height:40px;padding-inline:12px}.record-status-summary{grid-template-columns:minmax(0,1fr)}.public-home{padding-top:16px}.public-home-header .secondary-button{min-height:42px;padding:0 13px}.public-home-hero{grid-template-columns:minmax(0,1fr);gap:28px;padding:72px 0 56px}.public-home-hero h1{font-size:clamp(2.45rem,13vw,4rem)}.public-home-grid,.public-home-trust{grid-template-columns:minmax(0,1fr)}.public-home-footer{flex-direction:column;align-items:flex-start}}@media (min-width:768px){.public-home{width:min(100% - 64px,1120px);padding-top:34px}}@media (max-width:560px){.document-edit-header,.document-edit-section,.document-edit-footer{padding:18px 16px}.document-edit-header,.document-section-heading{align-items:stretch;display:grid}.document-edit-header .secondary-button,.document-section-heading .compact-button{width:100%}.document-edit-grid,.document-item-grid,.document-choice-grid{grid-template-columns:minmax(0,1fr)}.document-edit-wide-field{grid-column:auto}.document-edit-actions{display:grid}.document-choice-card{min-height:auto}.record-document-row{flex-direction:column;align-items:stretch}.record-document-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.record-document-row{padding:10px 8px}.record-document-pdf-badge{width:58px;height:68px}.record-document-pdf>span:last-child{width:100%}.record-document-pdf strong,.record-document-pdf small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.record-document-row .compact-button{width:100%}}.role-badge{background:var(--primary-soft);color:var(--primary);border-radius:999px;padding:6px 10px;font-size:13px;font-weight:800}.profile-notice{background:var(--primary-soft);border:1px solid #c9e1f7;border-radius:16px;margin:0 0 18px;padding:16px}.profile-notice strong{color:var(--primary)}.profile-notice p,.profile-notice small{color:#48685f;margin:6px 0 0;line-height:1.5;display:block}.neutral-notice{border-color:var(--border);background:#f5f6f4}.neutral-notice strong{color:var(--text)}.business-profile-form{gap:0;padding:0;overflow:hidden}.profile-section{gap:16px;padding:22px;display:grid}.profile-section+.profile-section{border-top:1px solid var(--border)}.profile-section h2{font-size:18px}.profile-section .muted{margin:5px 0 0;font-size:14px;line-height:1.5}.account-profile-content{gap:22px;max-width:900px;margin:0 auto;display:grid}.account-profile-heading{gap:5px;display:grid}.account-profile-heading .eyebrow{color:var(--primary);margin:0;font-size:.8rem;font-weight:700}.account-profile-heading h1{margin:0;font-size:clamp(1.6rem,3vw,2rem)}.account-profile-heading>p:last-child{color:var(--muted);margin:0}.account-profile-card{border:1px solid var(--border);background:var(--surface);border-radius:18px;gap:22px;padding:24px;display:grid;box-shadow:0 8px 24px #1423330a}.account-profile-identity{border-bottom:1px solid var(--border);align-items:center;gap:14px;padding-bottom:20px;display:flex}.account-profile-avatar{background:var(--primary-soft);width:58px;height:58px;color:var(--primary);border-radius:50%;flex:none;place-items:center;font-size:1.35rem;font-weight:700;display:grid}.account-profile-avatar-image{object-fit:cover;border-radius:50%;flex:none;width:58px;height:58px}.account-profile-identity h2{margin:0;font-size:1.15rem}.account-profile-identity p{color:var(--muted);margin:3px 0 0;font-size:.9rem}.account-profile-name-form{gap:7px;max-width:560px;display:grid}.account-profile-name-form>label{color:var(--text);font-size:.86rem;font-weight:650}.account-profile-name-form>div{align-items:center;gap:9px;display:flex}.account-profile-name-form input{border:1px solid var(--border);width:100%;min-width:0;min-height:42px;color:var(--text);font:inherit;border-radius:9px;padding:8px 11px}.account-profile-name-form input:focus{border-color:#31a96a;outline:3px solid #0ac36b22}.account-profile-name-form button{background:var(--primary);color:#fff;min-height:42px;font:inherit;cursor:pointer;border:0;border-radius:9px;flex:none;padding:8px 14px;font-weight:650}.account-profile-name-form button:disabled{opacity:.55;cursor:not-allowed}.account-profile-name-form>small,.account-profile-signature-actions>small{color:var(--muted);font-size:.78rem}.account-profile-identifiers{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.account-profile-identifier{border:1px solid var(--border);background:#fbfcfc;border-radius:12px;justify-content:space-between;align-items:center;gap:12px;min-width:0;padding:15px;display:flex}.account-profile-identifier>div{gap:6px;min-width:0;display:grid}.account-profile-identifier>div>span{color:var(--muted);font-size:.82rem;font-weight:650}.account-profile-identifier code{overflow-wrap:anywhere;color:var(--text);font-size:.84rem}.account-profile-identifier button{border:1px solid var(--border);min-height:34px;color:var(--text);font:inherit;cursor:pointer;background:#fff;border-radius:8px;flex:none;padding:5px 10px;font-size:.8rem;font-weight:600}.account-profile-identifier button:hover{border-color:var(--primary);color:var(--primary)}.account-profile-signature{gap:16px}.account-profile-signature h2{margin:0;font-size:1.05rem}.account-profile-signature p{color:var(--muted);margin:5px 0 0;font-size:.88rem}.account-profile-signature-preview{border:1px dashed var(--border);background:#fbfcfc;border-radius:12px;place-items:center;width:min(100%,360px);min-height:94px;padding:12px;display:grid}.account-profile-signature-preview img{object-fit:contain;max-width:100%;max-height:120px}.account-profile-signature-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.account-profile-signature-actions .compact-button{align-items:center;display:inline-flex}.account-profile-signature-actions .compact-button input{clip:rect(0, 0, 0, 0);white-space:nowrap;clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.account-profile-message,.account-profile-loading{background:var(--primary-soft);color:var(--text);border-radius:11px;margin:0;padding:14px 16px}@media (max-width:600px){.account-profile-content{gap:16px}.account-profile-card{gap:17px;padding:17px}.account-profile-identifiers{grid-template-columns:1fr}.account-profile-identifier{padding:12px}.account-profile-name-form>div{flex-direction:column;align-items:stretch}.account-profile-name-form button{width:100%}.account-profile-signature-actions{flex-direction:column;align-items:flex-start}}.brand-assets-card{margin-top:16px;padding:22px}.profile-section-heading h2{margin:2px 0 0}.profile-section-heading .muted{margin:5px 0 0}.brand-asset-grid{gap:12px;margin-top:16px;display:grid}.brand-asset-row{border:1px solid var(--border);border-radius:var(--radius-md);justify-content:space-between;align-items:center;gap:16px;padding:16px;display:flex}.brand-asset-preview{width:84px;height:84px;color:var(--muted);text-align:center;background:#fbfefc;border:1px solid #d9eee7;border-radius:14px;flex:0 0 84px;place-items:center;font-size:11px;display:grid;overflow:hidden}.brand-asset-preview img{object-fit:contain;width:100%;height:100%;padding:8px;display:block}.brand-asset-preview.signature-preview{background:#fff;flex-basis:132px;width:132px}.brand-asset-row strong,.brand-asset-row p,.brand-asset-row small{display:block}.brand-asset-row p,.brand-asset-row small{color:var(--muted)}.brand-asset-row p{margin:3px 0}.asset-actions{flex:none;align-items:center;gap:8px;display:flex}.compact-button{cursor:pointer;white-space:nowrap}.compact-button input{opacity:0;block-size:1px;inline-size:1px;position:absolute;overflow:hidden}.danger-text{color:var(--coral-strong)}@media (max-width:560px){.brand-asset-row{flex-direction:column;align-items:flex-start}}.form-card small{color:var(--muted);font-size:12px;font-weight:400}.inline-options{border:0;flex-wrap:wrap;gap:10px;margin:0;padding:0;display:flex}.inline-options legend{width:100%;margin-bottom:2px;font-weight:700}.inline-options label{border:1px solid var(--border);background:var(--surface);border-radius:12px;align-items:center;gap:7px;min-height:42px;padding:0 12px;font-weight:600;display:flex}.inline-options input{width:18px;min-height:auto;margin:0}.business-profile-form>.primary-button{width:calc(100% - 44px);margin:0 22px 22px}@media (min-width:1024px){.business-profile-form{grid-template-columns:repeat(2,minmax(0,1fr))}.business-profile-form>.profile-section{border-top:0;border-bottom:1px solid var(--border);align-content:start}.business-profile-form>.profile-section:nth-of-type(3){grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr))}.business-profile-form>.profile-section:nth-of-type(3)>div:first-child{grid-column:1/-1}.business-profile-form>.profile-section+.profile-section{border-top:0}.business-profile-form>.primary-button{grid-column:1/-1}}.mobile-brand .richup-logo-image,.sidebar-brand .richup-logo-image{animation:3.6s ease-in-out infinite richup-clipper-breathe}@media (prefers-reduced-motion:no-preference){.richup-logo-image{transition:transform var(--motion-standard) var(--motion-ease)}.mobile-brand:hover .richup-logo-image,.sidebar-brand:hover .richup-logo-image{transform:translateY(-2px)rotate(-2deg)scale(1.04)}.mobile-brand .richup-logo-image,.sidebar-brand .richup-logo-image,.login-brand .richup-logo-image{animation-duration:3.6s}.line-login-loading-logo .richup-logo-image{animation:richup-clipper-breathe 2.5s var(--motion-ease) infinite}.line-login-progress span{animation:richup-login-progress 1.6s var(--motion-ease) infinite}.dashboard-hero-mascot{animation:dashboard-hero-float 4.2s var(--motion-ease) infinite}.mobile-app-header,.app-shell>*,.page-shell>*{animation:richup-enter var(--motion-enter) var(--motion-ease) both}.app-shell>:nth-child(2),.page-shell>:nth-child(2){animation-delay:50ms}.app-shell>:nth-child(3),.page-shell>:nth-child(3){animation-delay:.1s}.app-shell>:nth-child(4),.page-shell>:nth-child(4){animation-delay:.15s}.company-menu{animation:richup-menu-in var(--motion-standard) var(--motion-ease) both;transform-origin:top}.summary-card,.section-card,.primary-button,.secondary-button,.danger-button,.mobile-navigation a,.sidebar-navigation a,.company-switcher,.company-menu button,.add-company-link{transition:transform var(--motion-fast) var(--motion-ease), box-shadow var(--motion-standard) var(--motion-ease), background-color var(--motion-standard) var(--motion-ease), color var(--motion-standard) var(--motion-ease), border-color var(--motion-standard) var(--motion-ease)}@media (hover:hover){.summary-card:hover,.section-card:hover{transform:translateY(-2px);box-shadow:0 14px 30px #2027351a}}.primary-button:active,.secondary-button:active,.danger-button:active,.summary-card:active,.mobile-navigation a:active,.sidebar-navigation a:active,.company-switcher:active{transform:scale(.98)}.mobile-navigation .active svg{animation:richup-icon-pop var(--motion-standard) var(--motion-ease)}.mobile-navigation a:not(.create-navigation-action),.sidebar-navigation a:not(.create-navigation-action){isolation:isolate;position:relative}.mobile-navigation a:not(.create-navigation-action):before,.sidebar-navigation a:not(.create-navigation-action):before{z-index:-1;content:"";background:var(--primary-soft);opacity:0;transition:opacity var(--motion-fast) var(--motion-ease), transform var(--motion-standard) var(--motion-ease);position:absolute;transform:scale(.82)}.mobile-navigation a:not(.create-navigation-action):before{border-radius:13px;inset:2px 7px}.sidebar-navigation a:not(.create-navigation-action):before{border-radius:12px;inset:0}.mobile-navigation a.active:not(.create-navigation-action):before,.sidebar-navigation a.active:not(.create-navigation-action):before{opacity:1;transform:scale(1)}.mobile-navigation a:not(.create-navigation-action) span,.sidebar-navigation a:not(.create-navigation-action) span,.mobile-navigation a svg,.sidebar-navigation a svg{transition:transform var(--motion-fast) var(--motion-ease)}.mobile-navigation a:not(.create-navigation-action):active span,.mobile-navigation a:not(.create-navigation-action):active svg,.sidebar-navigation a:not(.create-navigation-action):active span,.sidebar-navigation a:not(.create-navigation-action):active svg{transform:scale(.9)}.mobile-navigation .create-navigation-action:hover,.sidebar-navigation .create-navigation-action:hover{transform:translateY(-2px)scale(1.03)}.mobile-navigation .create-navigation-action:active,.sidebar-navigation .create-navigation-action:active{transform:translateY(0)scale(.93)}}@media (prefers-reduced-motion:reduce){.mobile-brand .richup-logo-image,.sidebar-brand .richup-logo-image{animation:none}*,:before,:after{scroll-behavior:auto!important;transition-duration:1ms!important;animation-duration:1ms!important;animation-iteration-count:1!important}}@keyframes richup-enter{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes richup-menu-in{0%{opacity:0;transform:translateY(-6px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes richup-icon-pop{0%{transform:scale(.82)}to{transform:scale(1)}}@keyframes richup-clipper-breathe{0%,to{transform:translateY(0)rotate(0)}50%{transform:translateY(-5px)rotate(2deg)scale(1.03)}}@keyframes richup-login-pulse{0%,to{transform:translateY(0)scale(1)}50%{transform:translateY(-4px)scale(1.02)}}@keyframes richup-login-progress{0%{transform:translate(-140%)}to{transform:translate(330%)}}@keyframes dashboard-hero-float{0%,to{transform:translateY(0)rotate(0)scale(1)}50%{transform:translateY(-8px)rotate(1.5deg)scale(1.025)}}.settings-page{max-width:920px}.settings-page-header{gap:6px;margin-bottom:18px;display:grid}.settings-page-header h1,.settings-page-header p{margin:0}.settings-connection-card{margin-top:18px}.settings-connection-card>.section-card{margin:0}.google-connection-actions{flex-wrap:wrap;gap:8px;display:flex}.google-connection-actions .primary-button,.google-connection-actions .danger-button{margin:0}@media (max-width:560px){.google-connection-actions{flex-wrap:nowrap}.google-connection-actions .primary-button,.google-connection-actions .danger-button{flex:1 1 0;min-width:0;padding:0 10px;font-size:12px}}.settings-hub{gap:18px;margin-top:22px;display:grid}.settings-hub-intro{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.settings-hub-intro h2,.settings-hub-intro p{margin:0}.settings-hub-intro h2{font-size:1.35rem}.settings-hub-intro .muted{margin-top:6px}.role-badge{background:var(--primary-soft);color:var(--primary-strong);border:1px solid #c9e1f7;border-radius:999px;flex:none;padding:7px 11px;font-size:.8rem;font-weight:700}.settings-hub-group{gap:12px;display:grid}.settings-hub-tabs{scrollbar-width:none;gap:6px;padding:2px 2px 6px;display:flex;overflow-x:auto}.settings-hub-tabs::-webkit-scrollbar{display:none}.settings-hub-tab{border:1px solid var(--border);background:var(--surface);min-height:38px;color:var(--muted);white-space:nowrap;cursor:pointer;border-radius:999px;flex:none;padding:6px 12px;font-size:.82rem;font-weight:600}.settings-hub-tab:hover,.settings-hub-tab.active{background:var(--primary-soft);color:var(--primary-strong);border-color:#9bc9eb}.settings-hub-tab:focus-visible,.settings-hub-panel:focus-visible{outline-offset:2px;outline:3px solid #0872c73d}.settings-hub-panel{min-width:0}.settings-hub-group-heading h2,.settings-hub-group-heading p{margin:0}.settings-hub-group-heading h2{font-size:.95rem}.settings-hub-group-heading p{color:var(--muted);margin-top:3px;font-size:.9rem}.settings-hub-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.settings-hub-card{border:1px solid var(--border);background:var(--surface);min-height:62px;transition:border-color var(--motion-fast) var(--motion-ease), box-shadow var(--motion-standard) var(--motion-ease), transform var(--motion-fast) var(--motion-ease);border-radius:17px;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:9px;padding:9px 11px;display:grid;box-shadow:0 6px 18px #2027350a}.settings-hub-card:hover{border-color:#b8dfd1;transform:translateY(-2px);box-shadow:0 12px 24px #20273514}.settings-hub-card:focus-visible{outline-offset:2px;outline:3px solid #0872c73d}.settings-hub-card-icon{background:var(--primary-soft);width:34px;height:34px;color:var(--primary);border-radius:13px;place-items:center;font-size:1.25rem;font-weight:700;display:grid}.settings-hub-card-copy{gap:3px;min-width:0;display:grid}.settings-hub-card-copy strong{text-overflow:ellipsis;white-space:nowrap;font-size:.88rem;overflow:hidden}.settings-hub-card-copy span{color:var(--muted);-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:.82rem;line-height:1.4;display:-webkit-box;overflow:hidden}.settings-hub-card-arrow{color:var(--muted);font-size:1.45rem;line-height:1}.access-denied-page{align-content:start;min-height:70dvh;padding-top:48px;display:grid}.access-denied-card{background:var(--surface);box-shadow:var(--shadow);border:1px solid #f0d5d5;border-radius:22px;align-items:flex-start;gap:16px;padding:clamp(22px,5vw,34px);display:flex}.access-denied-card h1,.access-denied-card p{margin:0}.access-denied-card h1{margin-top:4px;font-size:clamp(1.35rem,4vw,1.8rem)}.access-denied-card .muted{max-width:560px;margin:10px 0 20px;line-height:1.7}.access-denied-icon{background:var(--danger-soft);width:42px;height:42px;color:var(--danger);border-radius:50%;flex:none;place-items:center;font-weight:800;display:grid}@media (max-width:640px){.report-next-step{flex-direction:column;align-items:stretch}.report-next-step .primary-button{width:100%}.sales-document-tabs{white-space:nowrap;overflow-x:auto}.sales-document-panel{padding:20px 16px}.settings-hub-grid{grid-template-columns:1fr}.settings-hub-intro{display:grid}.role-badge{justify-self:start}.access-denied-card{display:grid}}@media (min-width:768px){.application-frame{--sidebar-width:248px;transition:grid-template-columns var(--motion-standard) var(--motion-ease);grid-template-columns:248px minmax(0,1fr);display:grid}.application-content{padding-top:0}.application-frame.desktop-navigation-collapsed{--sidebar-width:80px;grid-template-columns:80px minmax(0,1fr)}.desktop-sidebar{border-right:1px solid var(--border);background:var(--surface);height:100dvh;min-height:0;transition:padding var(--motion-standard) var(--motion-ease);flex-direction:column;gap:8px;padding:14px;display:flex;position:sticky;top:0;overflow:visible}.sidebar-heading{flex:none;justify-content:flex-start;align-items:center;min-height:42px;display:flex}.sidebar-collapse-button{z-index:10;top:35px;left:calc(var(--sidebar-width) - 17px);border:1px solid var(--border);background:var(--surface);width:34px;height:34px;color:var(--muted);cursor:pointer;transition:background var(--motion-fast) var(--motion-ease), color var(--motion-fast) var(--motion-ease), transform var(--motion-fast) var(--motion-ease);border-radius:10px;flex:none;place-items:center;padding:0;display:grid;position:fixed;transform:translateY(-50%)}.sidebar-collapse-button:hover{background:var(--primary-soft);color:var(--primary)}.sidebar-collapse-button:active{transform:translateY(-50%)scale(.94)}.sidebar-collapse-button svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;width:19px;height:19px}.desktop-sidebar .company-switcher-wrap,.desktop-sidebar>.company-switcher{flex:none;width:100%}.desktop-sidebar .company-switcher{min-height:54px;padding:7px 10px}.desktop-sidebar .company-switcher-identity{gap:8px}.desktop-sidebar .company-switcher-avatar{border-radius:8px;width:28px;height:28px}.desktop-sidebar .company-switcher-identity strong{white-space:normal;-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.sidebar-brand{padding:0 6px;font-size:20px}.sidebar-brand>.richup-logo,.richup-logo-sidebar{height:42px}.richup-logo-sidebar .richup-logo-image{width:42px;height:42px}.sidebar-label{color:var(--muted);margin:12px 8px 0;font-size:12px;font-weight:700}.sidebar-navigation{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#ccd5d0 transparent;flex:auto;align-content:start;gap:2px;width:100%;min-height:0;display:grid;overflow:hidden auto}.sidebar-navigation-group{gap:0;display:grid}.sidebar-group-toggle{width:100%;min-height:28px;color:var(--muted);font:inherit;text-align:left;cursor:pointer;transition:background var(--motion-fast) var(--motion-ease), color var(--motion-fast) var(--motion-ease);background:0 0;border:0;border-radius:8px;justify-content:space-between;align-items:center;gap:8px;padding:0 9px;font-size:11px;font-weight:700;display:flex}.sidebar-group-toggle:hover,.sidebar-group-toggle:focus-visible{background:var(--primary-soft);color:var(--primary);outline:none}.sidebar-group-toggle svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8px;width:15px;height:15px;transition:transform var(--motion-fast) var(--motion-ease);flex:none}.sidebar-navigation-group[data-collapsed=true] .sidebar-group-toggle svg{transform:rotate(-90deg)}.sidebar-navigation-group[data-collapsed=true] .sidebar-navigation-links{display:none}.sidebar-navigation-links{gap:0;display:grid}.sidebar-navigation a{min-height:32px;color:var(--muted);border-radius:8px;align-items:center;gap:9px;padding:0 10px;font-size:14px;font-weight:500;display:flex}.sidebar-navigation a:hover,.sidebar-navigation a.active{background:var(--primary-soft);color:var(--primary)}.sidebar-navigation svg{flex:none;width:18px;height:18px}.sidebar-navigation .create-navigation-action{background:var(--primary);color:#fff;justify-content:center;margin:0;box-shadow:0 8px 18px #0872c738}.sidebar-navigation .create-navigation-action span{font-size:26px;line-height:1}.account-menu-desktop{flex-direction:column;flex:none;width:100%;margin-top:auto;display:flex;position:relative}.account-menu-desktop .account-menu-trigger{border:1px solid var(--border);width:100%;min-width:0;color:var(--text);border-radius:14px;align-items:center;gap:10px;padding:10px;display:flex;overflow:hidden}.account-menu-desktop .account-popover{z-index:40;width:100%;margin:0;position:absolute;bottom:calc(100% + 9px);left:0;right:0;box-shadow:0 14px 38px #1b272129}.user-summary-copy{text-align:left;flex:auto;min-width:0;overflow:hidden}.user-summary-copy strong,.user-summary-copy small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.user-summary-copy strong{max-width:100%}.user-summary-copy small{color:var(--muted);margin-top:2px;font-size:12px}.account-menu-desktop .account-popover-summary small{overflow-wrap:anywhere;white-space:normal}.desktop-sidebar.sidebar-collapsed{align-items:center;padding-left:12px;padding-right:12px}.desktop-sidebar.sidebar-collapsed .sidebar-heading{flex-direction:column;justify-content:center;gap:8px;width:100%;min-height:0}.desktop-sidebar.sidebar-collapsed .sidebar-brand{padding:0}.desktop-sidebar.sidebar-collapsed .sidebar-brand strong,.desktop-sidebar.sidebar-collapsed .company-switcher-wrap,.desktop-sidebar.sidebar-collapsed>.company-switcher,.desktop-sidebar.sidebar-collapsed .sidebar-label,.desktop-sidebar.sidebar-collapsed .sidebar-group-label,.desktop-sidebar.sidebar-collapsed .sidebar-navigation a:not(.create-navigation-action)>span,.desktop-sidebar.sidebar-collapsed .sidebar-navigation .create-navigation-action strong,.desktop-sidebar.sidebar-collapsed .sidebar-group-toggle{display:none}.desktop-sidebar.sidebar-collapsed .sidebar-navigation-group[data-collapsed=true] .sidebar-navigation-links{display:grid}.desktop-sidebar.sidebar-collapsed .account-menu-trigger{justify-content:center;width:56px;padding:8px}.desktop-sidebar.sidebar-collapsed .user-summary-copy{display:none}.desktop-sidebar.sidebar-collapsed .account-menu-desktop .account-popover{width:250px;bottom:0;left:calc(100% + 9px);right:auto}.desktop-sidebar.sidebar-collapsed .sidebar-navigation a{justify-content:center;width:56px;padding:0}.desktop-sidebar.sidebar-collapsed .sidebar-navigation .create-navigation-action{min-height:52px}.mobile-app-header,.mobile-navigation{display:none}.app-shell,.page-shell{width:min(100% - 48px,1400px);padding:24px 0 48px}.summary-grid{grid-template-columns:repeat(5,1fr)}.record-list-toolbar{grid-template-columns:minmax(420px,1fr) minmax(240px,320px);align-items:center}.master-form-grid,.settings-link-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.record-list-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;min-width:0;display:flex}.record-list-heading h2{min-width:0;font-size:17px;font-weight:500}.record-list-heading .primary-button{white-space:nowrap;max-width:100%;font-weight:600}.record-list-heading-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;min-width:0;display:flex}.record-filter-panel{border:1px solid var(--border);background:var(--surface);border-radius:16px;grid-template-columns:repeat(4,minmax(0,1fr));align-items:end;gap:10px;min-width:0;padding:14px;display:grid}.record-google-links{align-items:center;gap:6px;min-width:0;display:flex}.record-google-link{border:1px solid var(--border);background:var(--surface);min-height:42px;color:var(--text);white-space:nowrap;border-radius:10px;justify-content:center;align-items:center;gap:5px;padding:0 9px;font-size:12px;font-weight:600;text-decoration:none;display:inline-flex}.record-google-logo{flex:0 0 18px;width:18px;height:18px}.record-google-link:hover{background:var(--surface-soft);border-color:var(--primary)}.record-google-link.is-drive{color:#1a73e8}.record-google-link.is-sheets{color:#188038}.record-filter-panel label{min-width:0;color:var(--muted);gap:5px;font-size:12px;font-weight:500;display:grid}.record-date-filter{min-width:0;display:block;position:relative}.record-filter-label{color:var(--muted);font-size:12px;font-weight:500}.record-date-trigger{border:1px solid var(--border);background:var(--surface);width:100%;min-width:0;min-height:42px;color:var(--text);cursor:pointer;font:inherit;text-align:left;border-radius:10px;align-items:center;gap:7px;padding:0 10px;display:flex;overflow:hidden}.record-date-trigger:hover,.record-date-trigger.is-open{border-color:var(--primary)}.record-date-trigger svg{color:var(--muted);flex:none}.record-date-trigger span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.record-date-trigger svg{margin-left:auto}.date-range-popover{z-index:20;border:1px solid var(--border);background:var(--surface);border-radius:10px;width:min(348px,100vw - 32px);padding:14px;position:absolute;top:calc(100% + 8px);left:0;box-shadow:0 16px 36px #20273529}.date-range-inputs,.date-range-presets{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.date-range-inputs label{color:var(--muted);gap:4px;font-size:12px;font-weight:500}.date-range-inputs input{border:1px solid var(--border);background:var(--surface);min-height:40px;color:var(--text);font:inherit;border-radius:8px;padding:0 10px}.date-range-inputs input:focus,.record-date-trigger:focus-visible,.date-range-presets button:focus-visible,.date-range-actions button:focus-visible,.date-range-nav:focus-visible,.date-range-day:focus-visible{outline-offset:1px;outline:2px solid #00bf6d59}.date-range-presets{grid-template-columns:repeat(4,minmax(0,1fr));margin-top:12px}.date-range-presets button,.date-range-actions button,.date-range-nav,.date-range-day{color:var(--text);cursor:pointer;font:inherit;background:0 0;border:0}.date-range-presets button{border:1px solid var(--border);border-radius:8px;min-height:36px;padding:0 6px;font-size:13px}.date-range-presets button:hover,.date-range-nav:hover,.date-range-day:hover{background:var(--primary-soft)}.date-range-actions{justify-content:space-between;align-items:center;margin-top:10px;display:flex}.date-range-actions button{color:var(--muted);padding:2px 0;font-size:13px;text-decoration:underline}.date-range-actions .date-range-today{color:var(--primary);text-decoration:none}.date-range-calendar{margin-top:8px}.date-range-calendar-header{text-align:center;grid-template-columns:32px 1fr 32px;align-items:center;min-height:40px;display:grid}.date-range-calendar-header strong{font-size:15px;font-weight:600}.date-range-nav{width:32px;height:32px;color:var(--muted);border-radius:8px;place-items:center;display:grid}.date-range-weekdays,.date-range-days{text-align:center;grid-template-columns:repeat(7,minmax(0,1fr));display:grid}.date-range-weekdays{color:var(--muted);margin:5px 0 3px;font-size:11px}.date-range-day{border-radius:8px;place-items:center;min-height:34px;font-size:13px;display:grid;position:relative}.date-range-day.is-outside-month{color:#a8afb8}.date-range-day.is-in-range{background:var(--primary-soft);border-radius:0}.date-range-day.is-start,.date-range-day.is-end,.date-range-day.is-selected{z-index:1;background:var(--text);color:#fff;border-radius:8px;font-weight:600}.date-range-day.is-start.is-end{border-radius:8px}.filter-dropdown{min-width:0;display:block;position:relative}.filter-dropdown-trigger{border:1px solid var(--border);background:var(--surface);width:100%;min-width:0;min-height:42px;color:var(--text);cursor:pointer;font:inherit;text-align:left;border-radius:10px;align-items:center;gap:7px;padding:0 10px;font-size:14px;display:flex}.filter-dropdown-trigger:hover,.filter-dropdown-trigger.is-open{border-color:var(--primary)}.filter-dropdown-trigger:disabled{cursor:not-allowed;opacity:.55}.filter-dropdown-trigger>svg:first-child{color:var(--muted);flex:none}.filter-dropdown-trigger>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.filter-dropdown-trigger .filter-dropdown-chevron{color:var(--muted);flex:none;margin-left:auto}.filter-dropdown-menu{z-index:20;border:1px solid var(--border);background:var(--surface);border-radius:10px;width:max-content;min-width:100%;max-width:min(280px,100vw - 32px);padding:8px 0;position:absolute;top:calc(100% + 8px);left:0;box-shadow:0 16px 36px #20273529}.filter-dropdown-input{border:1px solid var(--border);background:var(--surface);width:100%;min-height:42px;color:var(--text);font:inherit;box-shadow:none;appearance:none;cursor:pointer;background-image:linear-gradient(45deg, transparent 42%, var(--muted) 43%, var(--muted) 57%, transparent 58%), linear-gradient(135deg, transparent 42%, var(--muted) 43%, var(--muted) 57%, transparent 58%);background-position:calc(100% - 14px),calc(100% - 9px);background-repeat:no-repeat;background-size:7px 5px,7px 5px;border-radius:10px;outline:0;padding:0 34px 0 10px;font-size:14px;display:block}.filter-dropdown-input.is-open,.filter-dropdown-input:focus-within{border-color:var(--primary)}.filter-dropdown-input::placeholder{color:var(--text);opacity:1}.document-form-grid .filter-dropdown-input{border:1px solid var(--border);background-color:var(--surface);width:100%;min-height:42px;box-shadow:none;background-image:linear-gradient(45deg, transparent 42%, var(--muted) 43%, var(--muted) 57%, transparent 58%), linear-gradient(135deg, transparent 42%, var(--muted) 43%, var(--muted) 57%, transparent 58%);color:var(--text);background-position:calc(100% - 14px),calc(100% - 9px);background-repeat:no-repeat;background-size:7px 5px,7px 5px;border-radius:10px;padding:9px 34px 9px 11px;display:block}.filter-dropdown-empty{color:var(--muted);padding:10px 18px;font-size:13px}.filter-dropdown-option{width:100%;min-height:44px;color:var(--text);cursor:pointer;font:inherit;text-align:left;white-space:nowrap;background:0 0;border:0;align-items:center;gap:10px;padding:0 18px;font-size:14px;display:flex}.filter-dropdown-option:hover{background:var(--surface-soft)}.filter-dropdown-options{max-height:280px;overflow-y:auto}.filter-dropdown-scroll-button{background:var(--surface);width:100%;min-height:28px;color:var(--muted);cursor:pointer;border:0;place-items:center;display:grid}.filter-dropdown-scroll-button:hover:not(:disabled){background:var(--surface-soft);color:var(--primary)}.filter-dropdown-scroll-button:disabled{cursor:default;opacity:.35}.filter-dropdown-footer-action{border:0;border-top:1px solid var(--border);background:var(--surface);width:100%;color:var(--primary);cursor:pointer;font:inherit;text-align:left;margin-top:6px;padding:9px 14px;font-size:13px;font-weight:600;display:block}.filter-dropdown-footer-action:hover:not(:disabled){background:var(--primary-soft)}.filter-dropdown-footer-action:disabled{cursor:not-allowed;opacity:.45}.filter-dropdown-checkbox{width:20px;height:20px;color:var(--primary);border:1px solid #cbd2dc;border-radius:5px;flex:0 0 20px;place-items:center;display:grid}.filter-dropdown-checkbox.is-checked{border-color:var(--primary);background:var(--primary-soft)}.record-search{min-width:0}.record-search-control{border:1px solid var(--border);background:var(--surface);min-width:0;min-height:42px;color:var(--muted);border-radius:10px;align-items:center;gap:8px;padding:0 10px;display:flex}.record-search-control:focus-within{border-color:var(--primary)}.record-search-control input{min-width:0;min-height:0;color:var(--text);background:0 0;border:0;outline:0;padding:0}.record-filter-panel input,.record-filter-panel select{border:1px solid var(--border);background:var(--surface);width:100%;min-width:0;min-height:42px;color:var(--text);font:inherit;border-radius:10px;padding:0 10px}.record-filter-panel .filter-dropdown-input{border:1px solid var(--border);background-color:var(--surface);background-image:linear-gradient(45deg, transparent 42%, var(--muted) 43%, var(--muted) 57%, transparent 58%), linear-gradient(135deg, transparent 42%, var(--muted) 43%, var(--muted) 57%, transparent 58%);background-position:calc(100% - 14px),calc(100% - 9px);background-repeat:no-repeat;background-size:7px 5px,7px 5px;padding:0 34px 0 10px}.record-filter-panel .record-search-control input{min-height:0;box-shadow:none;background:0 0;border:0;border-radius:0;padding:0}.record-filter-panel .record-search{grid-column:span 2;min-width:0}.filter-reset{white-space:nowrap;justify-self:start;min-height:42px}.record-filter-options{display:contents}.record-filter-options>*{min-width:0}.record-filter-options[hidden],.record-filter-collapse-toggle{display:none}.record-list-filter-actions{display:contents}@media (min-width:1280px){.record-filter-panel{grid-template-columns:minmax(220px,2.3fr) minmax(220px,1.5fr) repeat(4,minmax(0,1fr)) auto;gap:8px;padding:10px}.record-filter-panel>*{min-width:0}.record-filter-panel .record-search{grid-column:auto}.record-filter-panel label{gap:4px;font-size:11px}.record-date-filter,.filter-dropdown{display:block}.record-search-control,.record-filter-panel input,.record-filter-panel select,.record-filter-panel .filter-reset,.record-date-trigger,.filter-dropdown-trigger{min-height:38px}.record-filter-panel input,.record-filter-panel select{padding:0 8px;font-size:13px}.record-filter-panel .filter-reset{width:100%;padding:0 4px}}@media (min-width:768px){.record-filter-panel{grid-template-columns:minmax(150px,2fr) minmax(130px,1.3fr) repeat(4,minmax(86px,1fr)) auto;gap:8px;padding:10px;display:grid;overflow-x:visible}.record-filter-panel>*{min-width:0}.record-filter-panel .record-search{grid-column:auto}.record-google-links{gap:5px}.record-filter-panel .record-date-filter{min-width:0}.record-filter-panel .filter-reset{justify-self:start;width:auto}.record-google-link{min-height:38px;padding:0 7px;font-size:11px}}.record-row{min-width:0}.record-row-link{min-width:0;color:inherit;flex:1;justify-content:space-between;align-items:center;gap:16px;display:flex}.record-row-link>div{min-width:0}.record-edit-button{flex:none;min-height:38px;padding:0 12px}.record-mobile-card-content{min-width:0}.record-mobile-card-head{justify-content:space-between;align-items:flex-start;gap:12px;min-width:0;display:flex}.record-mobile-card-head strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.record-mobile-card-title{justify-items:start;gap:5px;min-width:0;display:grid}.record-mobile-card-title .record-direction-pill,.record-table-description .record-direction-pill{padding:3px 8px;font-size:11px;font-weight:700}.record-mobile-card-head b{flex:none}.record-mobile-meta{gap:5px;margin:10px 0 0;display:grid}.record-mobile-meta>div{grid-template-columns:minmax(92px,.8fr) minmax(0,1.2fr);gap:10px;min-width:0;display:grid}.record-mobile-meta dt{color:var(--muted);font-size:12px}.record-mobile-meta dd{min-width:0;color:var(--text);text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:12px;overflow:hidden}.record-mobile-meta dd.payment-state-complete{color:#087f43;font-weight:600}.record-mobile-meta dd.payment-state-pending{color:#b05d00;font-weight:600}.record-mobile-sync-status{justify-content:flex-end;align-items:center;gap:5px;width:100%;display:inline-flex}.record-mobile-sync-status .record-drive-sync-icon{flex-basis:17px;width:17px;height:17px}.record-mobile-sync-status .record-drive-sync-icon svg{width:16px;height:16px}.record-mobile-sync-badge{border-radius:999px;align-items:center;gap:5px;padding:3px 8px;font-weight:600;display:inline-flex}.record-mobile-sync-status.none .record-mobile-sync-badge,.record-mobile-sync-status.pending .record-mobile-sync-badge,.record-mobile-sync-status.syncing .record-mobile-sync-badge{color:#a15c00;background:#fff2dc}.record-mobile-sync-status.failed .record-mobile-sync-badge{color:var(--danger);background:#ffe5e5}.record-mobile-sync-status.synced .record-mobile-sync-badge{color:#087f43;background:#e5f8ed}.record-mobile-card-actions{flex:none;align-items:center;gap:8px;display:flex}.record-delete-button{width:38px;min-width:38px;height:38px;color:var(--danger)}.sales-document-row-main{min-width:0;color:inherit;cursor:pointer;font:inherit;text-align:left;background:0 0;border:0;flex:1;justify-content:space-between;align-items:center;gap:16px;display:flex}.sales-document-row-main b{flex:none}.document-fullscreen-backdrop{z-index:1000;overscroll-behavior:contain;background:#141c1b6b;width:100vw;height:100dvh;display:block;inset:0;overflow:hidden;position:fixed!important}.document-fullscreen-shell{background:var(--canvas);border-radius:0;grid-template-rows:auto auto minmax(0,1fr) auto;width:100vw;min-width:0;max-width:none;height:100dvh;min-height:0;max-height:none;display:grid;position:relative;overflow:hidden}.record-editor-shell{grid-template-rows:auto auto minmax(0,1fr)}.document-editor-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:16px;min-height:64px;padding:10px 24px;display:flex}.document-editor-header h2,.document-editor-header p{margin:0}.document-editor-header h2{margin-top:0;font-size:clamp(1.2rem,1.7vw,1.45rem)}.record-editor-heading{min-width:0}.record-editor-heading p{color:var(--muted);margin-top:4px;font-size:12px}.record-direction-switcher{border:1px solid var(--border);color:var(--muted);background:#f4f7f5;border-radius:12px;align-items:center;gap:4px;margin-left:auto;padding:4px;display:inline-flex}.record-direction-switcher button{min-height:34px;color:var(--muted);cursor:pointer;font:inherit;background:0 0;border:0;border-radius:8px;padding:0 14px;font-size:13px;font-weight:700}.record-direction-switcher button:hover,.record-direction-switcher button:focus-visible{color:var(--text);background:#fff;outline:none}.record-direction-switcher button.is-selected.expense{color:#d94b55;background:#fff0f1;box-shadow:0 1px 3px #2027351a}.record-direction-switcher button.is-selected.income{color:#0f6b5b;background:#eaf8e8;box-shadow:0 1px 3px #2027351a}.record-direction-switcher button:disabled{cursor:not-allowed;opacity:.6}.document-editor-toolbar{border-bottom:1px solid var(--border);min-height:48px;color:var(--muted);background:#fafcfb;justify-content:space-between;align-items:center;gap:12px;padding:0 28px;font-size:13px;font-weight:600;display:flex}.document-editor-tabs{z-index:2;border-bottom:1px solid var(--border);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fafcfbf5;gap:4px;min-height:42px;padding:0 24px;display:flex;position:sticky;top:0;overflow-x:auto}.document-editor-tabs a{min-height:42px;color:var(--muted);border-bottom:2px solid #0000;flex:none;align-items:center;padding:0 10px;font-size:13px;font-weight:700;text-decoration:none;display:inline-flex}.document-editor-tabs a:hover,.document-editor-tabs a:focus-visible{border-bottom-color:var(--primary);color:var(--primary)}.mobile-tab-label{display:none}.document-editor-status{background:var(--primary-soft);color:var(--primary-strong);border-radius:999px;padding:5px 10px;font-size:12px}.document-editor-body{background:var(--canvas);grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);gap:20px;min-width:0;height:100%;min-height:0;padding:10px 24px 10px 0;display:grid;overflow:hidden}.document-editor-form,.document-item-editor,.sales-document-editor>.document-form{scrollbar-color:#c5d0c9 #f5f8f6;scrollbar-width:auto}.document-editor-body::-webkit-scrollbar{width:12px;height:12px}.document-editor-form::-webkit-scrollbar{width:12px;height:12px}.document-item-editor::-webkit-scrollbar{width:12px;height:12px}.sales-document-editor>.document-form::-webkit-scrollbar{width:12px;height:12px}.document-editor-body::-webkit-scrollbar-thumb{background:#c5d0c9 padding-box padding-box;border:2px solid #f5f8f6;border-radius:999px}.document-editor-form::-webkit-scrollbar-thumb{background:#c5d0c9 padding-box padding-box;border:2px solid #f5f8f6;border-radius:999px}.document-item-editor::-webkit-scrollbar-thumb{background:#c5d0c9 padding-box padding-box;border:2px solid #f5f8f6;border-radius:999px}.sales-document-editor>.document-form::-webkit-scrollbar-thumb{background:#c5d0c9 padding-box padding-box;border:2px solid #f5f8f6;border-radius:999px}.document-editor-body::-webkit-scrollbar-thumb:hover{background:#aebcb3 padding-box padding-box}.document-editor-form::-webkit-scrollbar-thumb:hover{background:#aebcb3 padding-box padding-box}.document-item-editor::-webkit-scrollbar-thumb:hover{background:#aebcb3 padding-box padding-box}.sales-document-editor>.document-form::-webkit-scrollbar-thumb:hover{background:#aebcb3 padding-box padding-box}.document-editor-form::-webkit-scrollbar-track{background:#f5f8f6;border-radius:999px}.document-editor-body .document-editor-form{box-sizing:border-box;flex-direction:column;gap:18px;width:100%;min-width:0;height:100%;min-height:0;max-height:none;margin:0;padding:8px 8px 112px 24px;display:flex;overflow:auto}.document-editor-body .document-form-section,.document-editor-body .form-help{width:100%;margin:0}.document-editor-body #record-editor-evidence{white-space:normal;flex-direction:column;grid-area:1/2;gap:10px;width:100%;height:100%;min-height:0;max-height:100%;margin:0;padding:12px;display:flex;overflow:hidden}.document-editor-body #record-editor-evidence .document-panel-heading{flex:none;margin:0}.document-editor-body #record-editor-evidence .document-panel-heading h3{margin:0;font-size:1rem}.document-editor-body #record-editor-evidence .evidence-viewer{height:100%;min-height:0;box-shadow:none;flex-direction:column;flex:auto;display:flex}.document-editor-body #record-editor-evidence .evidence-viewer-stage{flex:auto;min-height:0;padding:12px}.document-editor-body #record-editor-evidence .evidence-viewer-library{flex:none;max-height:none;overflow:auto hidden}.document-editor-body #record-editor-details,.document-editor-body #record-editor-seller,.document-editor-body #record-editor-items{grid-row:auto}.document-editor-body #record-editor-summary{grid-area:auto;width:100%;margin:0}.document-editor-body #record-editor-supporting-documents{grid-row:auto}.document-editor-columns{grid-template-columns:minmax(340px,.85fr) minmax(460px,1.15fr);min-width:0;min-height:0;display:grid}.document-evidence-panel{border-right:1px solid var(--border);background:#f8faf9;min-width:0;padding:28px;overflow:auto}.document-panel-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px;display:flex}.document-panel-heading h3,.document-panel-heading p{margin:0}.document-panel-heading h3{margin-top:4px;font-size:1.2rem}.document-evidence-count{background:var(--surface);color:var(--muted);border-radius:999px;padding:5px 9px;font-size:12px;font-weight:700}.document-dropzone{background:var(--surface);min-height:260px;color:var(--muted);text-align:center;cursor:pointer;transition:border-color var(--motion-fast) var(--motion-ease), background-color var(--motion-fast) var(--motion-ease), transform var(--motion-fast) var(--motion-ease);border:1.5px dashed #b7c9c0;border-radius:18px;align-content:center;place-items:center;gap:8px;padding:24px;display:grid;position:relative}.document-dropzone:hover,.document-dropzone.is-dragging{border-color:var(--primary);background:var(--primary-soft);color:var(--text)}.document-dropzone.is-dragging{transform:scale(1.01)}.document-dropzone input{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.document-dropzone-icon{background:var(--primary-soft);width:46px;height:46px;color:var(--primary);border-radius:50%;place-items:center;font-size:28px;font-weight:700;display:grid}.document-dropzone strong{color:var(--text);font-size:16px}.document-dropzone small{color:var(--muted);font-size:12px}.document-evidence-summary{color:var(--muted);justify-content:space-between;gap:12px;margin-top:8px;font-size:12px;display:flex}.document-evidence-list{gap:8px;margin-top:16px;display:grid}.document-evidence-item{border:1px solid var(--border);background:var(--surface);border-radius:12px;align-items:center;gap:10px;min-width:0;padding:10px;display:flex}.document-evidence-item.pending{background:#f4fcf7;border-color:#b8dfd1}.document-evidence-type{background:var(--primary-soft);width:38px;height:38px;color:var(--primary-strong);border-radius:10px;flex:none;place-items:center;font-size:10px;font-weight:800;display:grid}.document-evidence-copy{gap:2px;min-width:0;display:grid}.document-evidence-copy strong,.document-evidence-copy small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.document-evidence-copy strong{font-size:12px}.document-evidence-copy small{color:var(--muted);font-size:10px}.document-evidence-remove{width:28px;height:28px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:8px;flex:none;place-items:center;margin-left:auto;font-size:18px;display:grid}.document-evidence-remove:hover{background:var(--danger-soft);color:var(--danger)}.document-evidence-note{color:var(--muted);margin:16px 0 0;font-size:12px;line-height:1.6}.document-editor-form{min-width:0;padding:28px clamp(20px,4vw,56px) 112px;overflow:auto}.document-editor-form .document-form-section{background:var(--surface)}@media (min-width:768px){.document-editor-body .document-editor-form{padding-right:20px}.document-editor-body #record-editor-evidence{margin-right:0}}.document-editor-form>.document-form-section,.document-editor-form>.document-seller-accordion>.document-form-section,.document-editor-form>.document-section-accordion>.document-form-section{border:0;border-top:1px solid var(--border);background:0 0;border-radius:0;padding:20px 0}.document-editor-form>.document-form-section:first-child{border-top:0;padding-top:8px}.document-editor-footer{border-top:1px solid var(--border);background:var(--surface);justify-content:flex-end;align-items:center;gap:16px;min-height:76px;padding:12px 28px;display:flex}.document-editor-form-footer{z-index:1200;width:auto;padding:6px 28px calc(6px + env(safe-area-inset-bottom));border-top:1px solid var(--border);background:var(--surface);justify-content:center;align-items:center;margin:0;display:flex;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -8px 24px #141c1b14}.document-editor-form-footer-inner{justify-content:center;align-items:center;width:min(100%,1120px);min-height:40px;display:flex;position:relative}.document-editor-footer-total{color:var(--muted);align-items:baseline;gap:8px;font-size:13px;display:flex;position:absolute;left:56px}.document-editor-footer-total strong{color:var(--text);font-size:16px}.document-footer-more-button{background:var(--surface);width:40px;height:40px;color:var(--text);cursor:pointer;border:1px solid #8bb9ff;border-radius:10px;justify-content:center;align-items:center;padding:0;display:inline-flex;position:absolute;left:0}.document-footer-more-button:hover:not(:disabled){background:var(--surface-soft)}.document-footer-more-button:disabled{cursor:not-allowed;opacity:.55}.document-footer-menu-backdrop,.document-footer-confirm-backdrop{z-index:1400;position:fixed;inset:0}.document-footer-menu-backdrop{background:#0f172a1a}.document-footer-menu{border:1px solid var(--border);background:var(--surface);border-radius:18px;width:min(100% - 56px,430px);position:absolute;bottom:74px;left:28px;overflow:hidden;box-shadow:0 18px 50px #141c1b33}.document-footer-menu-label{color:var(--muted);margin:0;padding:16px 18px 10px;font-size:14px}.document-footer-menu-item{border:0;border-top:1px solid var(--border-soft,var(--border));background:var(--surface);width:100%;color:var(--text);cursor:pointer;font:inherit;text-align:left;align-items:center;gap:12px;padding:14px 18px;display:flex}.document-footer-menu-item:hover{background:var(--surface-soft)}.document-footer-menu-item strong{color:var(--primary)}.document-footer-menu-item.danger{color:var(--danger)}.document-footer-menu-icon{border-radius:12px;flex:0 0 46px;justify-content:center;align-items:center;width:46px;height:46px;display:inline-flex}.document-footer-menu-icon.switch{background:var(--surface-soft);color:var(--text)}.document-footer-menu-icon.delete{color:var(--danger);background:#ffe0e0}.document-footer-confirm-backdrop{background:#0f172a57;place-items:center;padding:20px;display:grid}.document-footer-confirm{border:1px solid var(--border);background:var(--surface);border-radius:18px;width:min(100%,520px);padding:28px;position:relative;box-shadow:0 24px 80px #141c1b3d}.document-footer-confirm-close{position:absolute;top:18px;right:18px}.document-footer-confirm h2{margin:0 42px 8px 0;font-size:22px}.document-footer-confirm>p{color:var(--muted);margin:0;line-height:1.6}.document-footer-confirm-details{gap:8px;margin:22px 0;display:grid}.document-footer-confirm-details div{justify-content:space-between;gap:16px;display:flex}.document-footer-confirm-details dt{color:var(--muted)}.document-footer-confirm-details dd{color:var(--text);text-align:right;margin:0;font-weight:600}.document-footer-confirm-warning{font-weight:600;color:#e58b00!important}.document-footer-confirm.danger .document-footer-confirm-warning{color:var(--danger)!important}.document-footer-confirm .document-modal-actions{justify-content:flex-end;margin-top:24px}.document-editor-form-footer .document-modal-actions{justify-content:center;width:auto;margin:0 auto;padding-top:0}.document-total-field{color:var(--muted);gap:4px;margin-right:auto;font-size:12px;font-weight:700;display:grid}.document-total-input-wrap{color:var(--muted);align-items:center;gap:8px;display:flex}.document-total-input-wrap input{border:1px solid var(--primary);background:var(--surface);width:180px;min-height:42px;color:var(--text);font:inherit;text-align:right;border-radius:10px;padding:8px 10px;font-size:18px;font-weight:800}.document-items-table-wrap{border:1px solid var(--border);background:var(--surface);border-radius:12px;overflow:hidden}.document-items-table{display:none}.document-items-compact-table{border-collapse:separate;border-spacing:0;table-layout:fixed;width:100%;min-width:0;font-size:inherit}.document-items-compact-table th,.document-items-compact-table td{border-bottom:1px solid var(--border);vertical-align:middle;height:48px;padding:8px 12px}.document-items-compact-table th{background:var(--surface-soft);height:40px;color:var(--muted);font-size:inherit;text-align:left;white-space:nowrap;font-weight:700}.document-items-compact-table th:first-child,.document-items-compact-table td:first-child{width:40%}.document-items-compact-table th:nth-child(2),.document-items-compact-table td:nth-child(2){text-align:right;width:10%}.document-items-compact-table th:nth-child(3),.document-items-compact-table td:nth-child(3){text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap;width:18%}.document-items-compact-table th:nth-child(4),.document-items-compact-table td:nth-child(4){text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap;width:20%}.document-items-compact-table th:nth-child(5),.document-items-compact-table td:nth-child(5){text-align:right;white-space:nowrap;width:12%}.document-items-compact-table tbody tr:last-child td{border-bottom:0}.document-items-compact-table tbody tr:hover td{background:#fbfdfc}.document-items-compact-table td:first-child strong{text-overflow:ellipsis;white-space:nowrap;display:inline;overflow:hidden}.document-items-compact-table td:first-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.compact-number{line-height:1.4}.compact-item-index{color:var(--muted);font-variant-numeric:tabular-nums;font-weight:700}.compact-actions{justify-content:flex-end;align-items:center;gap:4px;display:flex}.compact-total-cell{text-align:right}.compact-total-cell>strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.compact-actions-cell{text-align:right}.document-items-table th:first-child,.document-items-table td:first-child{width:45%}.document-items-table th:nth-child(4),.document-items-table td:nth-child(4){text-align:right;vertical-align:middle;font-variant-numeric:tabular-nums;width:12%;line-height:1.4}.document-items-table th:nth-child(6),.document-items-table td:nth-child(6),.document-items-table th:nth-child(10),.document-items-table td:nth-child(10){text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap;width:17%;padding-right:14px;line-height:1.4}.document-items-table th:nth-child(11),.document-items-table td:nth-child(11){text-align:right;white-space:nowrap;width:92px;padding-right:10px}.document-items-table th:nth-child(2),.document-items-table td:nth-child(2),.document-items-table th:nth-child(3),.document-items-table td:nth-child(3),.document-items-table th:nth-child(5),.document-items-table td:nth-child(5),.document-items-table th:nth-child(7),.document-items-table td:nth-child(7),.document-items-table th:nth-child(8),.document-items-table td:nth-child(8),.document-items-table th:nth-child(9),.document-items-table td:nth-child(9){display:none}.document-items-table th,.document-items-table td{border-bottom:1px solid var(--border);text-align:left;vertical-align:middle;height:48px;padding:8px 12px}.document-items-table th{background:var(--surface-soft);height:40px;color:var(--muted);font-size:inherit;white-space:nowrap;font-weight:700}.document-items-table tbody tr:last-child td{border-bottom:0}.document-items-table tbody tr:hover td{background:#fbfdfc}.document-items-empty{color:var(--muted);text-align:center!important;height:72px!important}.document-items-table input,.document-items-table select{border:1px solid var(--border);background:var(--surface);width:100%;min-width:68px;min-height:38px;color:var(--text);font:inherit;border-radius:8px;padding:7px 8px}.document-items-table td:first-child{min-width:190px}.document-items-table td:first-child strong{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.document-item-total{min-width:90px;color:var(--text);white-space:nowrap;font-weight:700;line-height:1.4;text-align:right!important}.document-item-remove{width:30px;height:30px;color:var(--danger);cursor:pointer;background:0 0;border:0;border-radius:8px;place-items:center;font-size:18px;display:grid}.document-item-remove:disabled{cursor:not-allowed;opacity:.35}.document-item-editor-backdrop{z-index:1100;background:#141c1b6b;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.document-item-editor{border:1px solid var(--border);background:var(--surface);border-radius:18px;width:min(100%,720px);max-height:min(760px,100dvh - 48px);padding:24px;overflow:auto;box-shadow:0 24px 80px #141c1b3d}.document-category-create-backdrop{z-index:1200;background:#141c1b6b;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.document-category-create-popup{border:1px solid var(--border);background:var(--surface);border-radius:14px;width:min(100%,480px);padding:24px 28px 28px;box-shadow:0 24px 80px #141c1b3d}.document-category-create-header{justify-content:space-between;align-items:center;gap:16px;margin-bottom:26px;display:flex}.document-category-create-header h2{color:var(--text);margin:0;font-size:22px}.document-category-create-field{color:var(--text);gap:8px;font-weight:600;display:grid}.document-category-create-field>span{color:var(--danger)}.document-category-create-field input{border:1px solid var(--border);background:var(--surface);min-height:50px;color:var(--text);font:inherit;border-radius:9px;padding:10px 12px}.document-category-create-field input:focus{border-color:var(--primary);outline:2px solid #00c75526}.document-category-create-status{margin:12px 0 0;font-size:14px}.document-category-create-status.is-success{color:var(--primary)}.document-category-create-status.is-error{color:var(--danger)}.document-category-create-popup .document-modal-actions{justify-content:space-between;gap:24px;margin-top:40px}.document-category-create-popup .document-modal-actions>*{flex:1}.document-item-editor .document-modal-header{margin-bottom:18px}.document-item-editor .document-modal-header h2{margin:4px 0 0}.document-item-editor .document-modal-actions{margin-top:20px}.document-delete-confirm{border:1px solid var(--border);background:var(--surface);border-radius:18px;width:min(100%,420px);padding:24px;box-shadow:0 24px 80px #141c1b3d}.document-delete-confirm h2{margin:0 0 8px;font-size:20px}.document-delete-confirm p{color:var(--muted);margin:0;line-height:1.6}.document-delete-confirm .document-modal-actions{margin-top:20px}.document-add-item{margin-top:14px}.document-summary-section h3{background:var(--surface);width:fit-content;margin:-28px 0 0;padding:0 6px;font-size:16px;line-height:1.4}.document-summary-empty{color:var(--muted);margin:0}.document-summary-list{gap:7px;width:min(100%,420px);margin:0 0 0 auto;display:grid}.document-summary-list div{color:var(--muted);justify-content:space-between;align-items:baseline;gap:24px;display:flex}.document-summary-list dt,.document-summary-list dd{margin:0}.document-summary-list dd{min-width:128px;color:var(--text);font-variant-numeric:tabular-nums;text-align:right}.document-summary-total{border-top:1px solid var(--border);margin-top:6px;padding-top:10px;font-size:16px;font-weight:800;color:var(--text)!important}.document-summary-total dd{color:var(--primary);font-size:20px}@media (max-width:560px){.document-summary-total dd.is-large-amount{font-size:clamp(13px,4.2vw,17px)}}.document-editor-hint{color:var(--muted);font-size:12px}.sales-document-editor.document-fullscreen-shell{flex-direction:column;display:flex;overflow:hidden}.sales-document-editor>.document-modal-header{border-bottom:1px solid var(--border);flex:none;padding:20px 28px}.sales-document-editor>.document-form{width:min(100%,1120px);min-width:0;margin:0 auto;padding:28px;overflow:auto}.sales-document-editor>.document-form .document-modal-actions{border-top:1px solid var(--border);background:#fffffff5;margin:0 -16px -18px;padding:14px 16px;position:sticky;bottom:-18px}.document-modal-backdrop{z-index:50;background:0 0;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.document-modal-backdrop.sync-confirmation-backdrop{place-items:center}.document-modal{border:1px solid var(--border);background:var(--surface);border-radius:22px;width:min(100%,900px);max-height:min(900px,100dvh - 48px);padding:24px;overflow:auto;box-shadow:0 24px 80px #141c1b3d}.document-modal-header{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:20px;display:flex}.document-modal-header h2{margin-top:4px;font-size:24px}.document-form{gap:18px;display:grid}.document-form-section{border:1px solid var(--border);border-radius:16px;gap:14px;margin:0;padding:16px;scroll-margin-top:60px;display:grid}.document-seller-card[hidden],.document-items-card[hidden],.document-summary-card[hidden]{display:none}.document-form-section legend{color:var(--text);padding:0 6px;font-size:16px;font-weight:600}.document-editor-body .document-seller-accordion,.document-editor-body .document-section-accordion{grid-column:1;width:min(100%,820px);margin-inline:auto;scroll-margin-top:60px}.document-form-section-toggle{color:var(--text);text-align:left;cursor:pointer;background:0 0;border:0;justify-items:start;gap:3px;padding:3px 6px;display:grid}.document-form-section-toggle-title{align-items:center;gap:10px;display:inline-flex}.document-form-section-toggle-title strong{font-size:16px;font-weight:600}.document-form-section-toggle-action{background:var(--primary-soft);min-height:30px;color:var(--primary-strong);border:1px solid #a9d4f2;border-radius:999px;align-items:center;gap:5px;padding:0 9px;font-size:12px;font-weight:600;transition:background-color .14s,border-color .14s;display:inline-flex}.document-form-section-toggle:hover .document-form-section-toggle-action{background:#dceeff;border-color:#78b9e5}.document-form-section-toggle:focus-visible{outline:2px solid var(--primary);outline-offset:3px;border-radius:6px}.record-list-section .primary-button{background:var(--primary);color:#fff}.record-list-section .secondary-button{border-color:var(--primary);color:var(--primary-strong)}.record-list-section .text-button,.record-list-section .filter-reset{color:var(--primary-strong)}.record-list-section .record-filter-tabs button.selected,.record-list-section .record-filter-tabs button.selected[data-filter=all]{border-color:var(--primary);background:var(--primary);color:#fff}.record-list-section .record-filter-tabs button.selected[data-filter=income]{border-color:var(--income);background:var(--income);color:#fff}.record-list-section .record-filter-tabs button.selected[data-filter=expense]{color:#fff;background:#b43844;border-color:#b43844}.record-list-section .record-filter-tabs button.selected[data-filter=draft]{color:#fff;background:#805500;border-color:#805500}.document-form-section legend .muted{margin-left:6px;font-size:12px;font-weight:600}.document-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.document-seller-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px}.document-seller-name,.document-seller-address{grid-column:1/-1}.document-seller-address textarea{min-height:58px}.document-form-grid label,.document-form-grid .document-form-field,.sales-line-item label{min-width:0;color:var(--muted);gap:6px;font-size:13px;font-weight:500;display:grid}.document-form-label{color:var(--muted);font-size:13px;font-weight:500}.document-form-grid input,.document-form-grid select,.document-form-grid textarea,.sales-line-item input,.sales-line-item select{border:1px solid var(--border);background:var(--surface);width:100%;min-height:44px;color:var(--text);font:inherit;border-radius:10px;padding:9px 11px}.document-form-grid textarea{resize:vertical;min-height:76px}.document-vat-row,.document-tax-row{align-items:center;gap:8px;display:flex}.document-item-type-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.document-item-type-option{border:1px solid var(--border);background:var(--surface);min-height:42px;color:var(--text);cursor:pointer;font:inherit;border-radius:10px;justify-content:center;align-items:center;gap:6px;padding:8px 10px;display:flex}.document-item-type-option:hover,.document-item-type-option.is-selected{border-color:var(--primary);background:var(--primary-soft);color:var(--primary)}.document-item-type-check{border:1px solid;border-radius:5px;place-items:center;width:18px;height:18px;font-size:13px;font-weight:700;display:inline-grid}.document-vat-row .filter-dropdown,.document-tax-row input{flex:0 0 96px}.document-vat-row .filter-dropdown{width:96px}.document-vat-row .filter-dropdown-input{min-height:36px;padding:7px 30px 7px 10px;font-size:13px}.document-percent-input{border:1px solid var(--border);background:var(--surface);border-radius:10px;flex:0 0 96px;align-items:center;width:96px;min-width:0;display:flex}.document-percent-input:focus-within{border-color:var(--primary)}.document-percent-input input{min-width:0;min-height:36px;box-shadow:none;background:0 0;border:0;flex:1;padding:7px 6px 7px 10px}.document-percent-input span{color:var(--muted);padding-right:10px;font-size:13px}.document-vat-amount,.document-tax-amount{min-width:76px;color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap;font-size:13px}.document-form-field .filter-dropdown,.document-form-field .filter-dropdown-trigger{width:100%}.date-input-control{border:1px solid var(--border);background:var(--surface);min-width:0;min-height:42px;color:var(--muted);cursor:pointer;border-radius:10px;align-items:center;gap:8px;padding:0 10px;display:flex;position:relative}.date-input-control:focus-within{border-color:var(--primary)}.document-form-grid .date-input-text{min-width:0;min-height:0;color:var(--text);font:inherit;cursor:pointer;background:0 0;border:0;outline:0;flex:1;padding:0}.date-input-text::placeholder{color:var(--muted);opacity:1}.date-input-picker-button{width:28px;height:28px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:7px;flex:0 0 28px;place-items:center;padding:0;display:inline-grid}.date-input-picker-button:hover{background:var(--primary-soft);color:var(--primary)}.date-input-native-picker{opacity:0;pointer-events:none;position:absolute;overflow:hidden;border:0!important;width:1px!important;height:1px!important;padding:0!important}.document-form-wide{grid-column:1/-1}.document-tag-picker{flex-wrap:wrap;gap:8px;display:flex}.document-tag-combobox{width:calc(50% - 7px);min-width:0;max-width:100%;position:relative}.document-tag-trigger{border:1px solid var(--border);background:var(--surface);width:100%;min-height:40px;color:var(--text);cursor:pointer;font:inherit;text-align:left;border-radius:10px;justify-content:space-between;align-items:center;gap:10px;padding:0 12px;font-size:13px;display:flex}.document-tag-trigger:hover,.document-tag-trigger.is-open{border-color:var(--primary)}.document-tag-trigger svg{color:var(--muted);flex:none}.document-tag-menu{z-index:30;border:1px solid var(--border);background:var(--surface);border-radius:12px;width:100%;position:absolute;top:calc(100% + 6px);left:0;overflow:hidden;box-shadow:0 16px 36px #20273529}.document-tag-search{border-bottom:1px solid var(--border);background:var(--surface-soft);align-items:center;padding:9px 10px;gap:8px!important;display:flex!important}.document-tag-search svg{color:var(--muted);flex:none}.document-tag-search input{width:100%;min-width:0;min-height:30px;color:var(--text);font:inherit;background:0 0;border:0;outline:0;padding:0;font-size:13px}.document-tag-options{max-height:240px;padding:5px;overflow-y:auto}.document-tag-option{width:100%;min-height:38px;color:var(--text);cursor:pointer;font:inherit;text-align:left;background:0 0;border:0;border-radius:8px;align-items:center;gap:8px;padding:6px 8px;font-size:13px;display:flex}.document-tag-option:hover,.document-tag-option.is-selected{background:var(--surface-soft)}.document-tag-checkbox{border:1px solid var(--border-strong,#aab2bf);width:18px;height:18px;color:var(--primary);border-radius:4px;flex:0 0 18px;place-items:center;display:grid}.document-tag-option.is-selected .document-tag-checkbox{border-color:var(--primary);background:var(--primary-soft)}.document-tag-option .tag-option-dot,.document-selected-tag .tag-option-dot{flex:0 0 7px;width:7px;height:7px}.document-tag-empty{color:var(--muted);text-align:center;margin:0;padding:14px 10px;font-size:13px}.document-tag-menu-footer{border-top:1px solid var(--border);color:var(--muted);padding:8px 10px;font-size:11px}.document-selected-tags{flex-wrap:wrap;gap:6px 10px;margin-top:9px;display:flex}.document-selected-tag{background:color-mix(in srgb, var(--tag-color) 14%, white);min-width:0;color:var(--muted);border-radius:999px;align-items:center;gap:5px;padding:4px 8px;font-size:12px;display:inline-flex}.tag-option{border:1px solid color-mix(in srgb, var(--tag-color) 45%, var(--border));background:var(--surface);min-height:32px;color:var(--text);cursor:pointer;font:inherit;border-radius:999px;padding:0 9px;font-size:12px;font-weight:600}.tag-option.selected{background:color-mix(in srgb, var(--tag-color) 16%, white);color:var(--tag-color)}.tag-option-dot{background:var(--tag-color);border-radius:50%;width:7px;height:7px;display:inline-block}.document-modal-actions{justify-content:flex-end;gap:10px;padding-top:4px;display:flex}.document-total-card{background:var(--primary-soft);color:var(--muted);text-align:right;border-radius:14px;justify-content:end;gap:6px;padding:16px;display:grid}.document-total-card strong{color:var(--primary);font-size:20px}.sales-line-items{gap:12px;display:grid}.sales-line-item{background:#fafbf9;border:1px solid #e8eae7;border-radius:12px;grid-template-columns:minmax(180px,1.3fr) minmax(180px,2fr) repeat(4,minmax(90px,.7fr)) auto;align-items:end;gap:10px;padding:12px;display:grid}.sales-line-item .document-form-wide{grid-column:auto}.sales-line-remove{min-height:42px}@media (max-width:767px){.document-tag-combobox{width:100%}.dashboard-hero{grid-template-columns:minmax(0,1fr) 118px;gap:8px;min-height:268px;padding:24px 18px 22px 20px}.dashboard-hero h1{font-size:1.75rem}.dashboard-hero-mascot{width:118px;height:118px}.dashboard-hero-action{min-height:44px;padding:0 15px;font-size:13px}.dashboard-work-card,.dashboard-shortcuts{padding:16px}.dashboard-shortcut-grid{grid-template-columns:1fr}.dashboard-overview-heading{flex-direction:column;align-items:flex-start;gap:4px}.dashboard-overview-note{margin:0}.dashboard-analysis-cta,.trend-card-header{flex-direction:column;align-items:stretch}.dashboard-analysis-cta .primary-button{text-align:center;width:100%}.trend-card{padding:18px 16px}.trend-summary{grid-template-columns:1fr}.trend-chart{height:190px}.tax-summary-heading{flex-direction:column;align-items:flex-start;gap:4px}.tax-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tax-summary-card.is-net,.tax-summary-card.is-difference,.dashboard-overview~.summary-grid .summary-card.difference-positive,.dashboard-overview~.summary-grid .summary-card.difference-negative{grid-column:1/-1}.record-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.record-summary-card{padding:12px}.record-summary-card strong{font-size:1.05rem}.record-summary-card small{font-size:11px}.budget-report-heading{flex-direction:column;align-items:stretch;gap:14px}.budget-report-heading>div:first-child{min-width:0}.budget-report-heading>div:first-child .muted{max-width:38ch;line-height:1.5}.budget-month-picker{gap:7px;width:100%;min-width:0}.budget-month-picker-controls{grid-template-columns:36px minmax(0,1fr) 36px;justify-content:stretch}.budget-overview-grid{grid-template-columns:1fr}.budget-setting-row{flex-direction:column;align-items:stretch;gap:10px}.budget-setting-control{width:100%}.budget-setting-control input{flex:1;width:auto}.budget-analysis-table{overflow-x:auto}.budget-analysis-row{min-width:620px}.record-table{display:none}.record-list-mobile-stack{display:grid}.record-list-heading{flex-direction:column;align-items:flex-start}.record-list-heading .primary-button{width:100%}.record-filter-panel{grid-template-columns:repeat(2,minmax(0,1fr))}.record-filter-panel .record-search,.record-filter-panel .filter-reset{grid-column:1/-1}.record-list-filter-actions{justify-content:space-between;align-items:center;gap:12px;margin-top:10px;display:flex}.record-list-filter-actions .record-filter-collapse-toggle{min-height:36px;color:var(--primary-strong);cursor:pointer;font:inherit;background:0 0;border:0;flex:none;align-items:center;gap:6px;padding:0;font-size:14px;font-weight:600;display:inline-flex}.record-row{flex-direction:column;align-items:stretch}.record-row-link,.sales-document-row-main{align-items:flex-start}.record-row-link{width:100%}.record-edit-button{flex:1;width:auto}.record-mobile-card-actions,.record-mobile-card-content{width:100%}.record-mobile-meta dd{text-align:right}.record-mobile-month-items .tag-chip-list-compact{gap:8px;margin-top:8px}.record-mobile-month-items .tag-chip-list-compact .tag-chip{background:color-mix(in srgb, var(--tag-color) 14%, white);max-width:100%;min-height:20px;box-shadow:none;color:var(--muted);border:0;border-radius:999px;padding:3px 7px;font-size:11px;font-weight:500}.record-mobile-month-items .tag-chip-list-compact .tag-chip-dot{flex-basis:6px;width:6px;height:6px}.document-editor-header{flex-wrap:wrap;min-height:64px;padding:12px 16px}.record-editor-heading{flex:auto}.record-editor-heading p{display:none}.record-direction-switcher{order:3;width:100%;margin-left:0}.record-direction-switcher button{flex:1 1 0}.document-editor-tabs{min-height:44px;padding:0 12px}.document-editor-tabs a{min-height:44px;padding:0 9px;font-size:12px}.desktop-tab-label{display:none}.mobile-tab-label{display:inline}.document-editor-toolbar{min-height:42px;padding:0 16px}.document-editor-columns{grid-template-rows:minmax(250px,42dvh) minmax(0,1fr);grid-template-columns:1fr}.document-evidence-panel{border-right:0;border-bottom:1px solid var(--border);padding:18px 16px;overflow:auto}.document-dropzone{min-height:180px}.document-editor-form{padding:18px 16px 112px}.document-editor-body{padding:0;display:block;overflow:hidden auto}.document-editor-body .document-form-section+.document-form-section{margin-top:18px}.document-editor-body .document-editor-form{height:auto;min-height:100%;padding:18px 16px 0;display:block;overflow:visible}.document-editor-body .document-form-section,.document-editor-body .form-help,.document-editor-body #record-editor-evidence{width:auto;margin-left:0;margin-right:0}.document-items-table{min-width:0}.document-items-table-wrap{background:0 0;border:0}.document-items-compact-table{padding:8px;display:block}.document-items-compact-table thead{display:none}.document-items-compact-table tbody{gap:8px;display:grid}.document-items-compact-table tr{border:1px solid var(--border);background:var(--surface);border-radius:10px;align-items:center;min-height:58px;display:grid;overflow:hidden;grid-template-columns:minmax(0,1fr) auto!important}.document-items-compact-table td{border:0;height:auto;padding:10px 8px;display:block}.document-items-compact-table td:first-child{grid-area:1/1/auto/-1;width:auto}.document-items-compact-table td:nth-child(2),.document-items-compact-table td:nth-child(3){display:none}.document-items-compact-table td:nth-child(4){white-space:nowrap;grid-area:2/1;padding-top:0;width:auto!important;display:flex!important}.document-items-compact-table td:nth-child(5){grid-area:2/2;justify-content:flex-end;align-items:center;width:auto;padding-top:0;display:flex}.document-items-compact-table td:first-child strong{max-width:100%}.document-items-compact-table .document-items-empty{text-align:center;grid-column:1/-1}.document-items-compact-table .compact-total-cell>strong,.document-items-compact-table .compact-actions-cell .text-button,.document-items-compact-table .compact-actions-cell .document-item-remove{white-space:nowrap}.document-items-compact-table .compact-actions{white-space:nowrap;flex:none;gap:2px}.document-item-editor-backdrop{place-items:end center;padding:0}.document-item-editor{width:100%;max-height:94dvh;padding:18px 16px calc(18px + env(safe-area-inset-bottom));border-radius:22px 22px 0 0}.document-summary-list{width:100%}.document-editor-body #record-editor-evidence{width:auto;height:auto;max-height:none;padding:12px;overflow:visible;z-index:auto!important;grid-area:auto!important;margin:0 16px 112px!important;position:static!important;inset:auto!important;transform:none!important}.document-editor-body #record-editor-evidence .evidence-viewer{height:auto;min-height:0}.document-editor-body #record-editor-evidence .evidence-viewer-library{max-height:none;overflow:auto hidden}.document-editor-body #record-editor-evidence .evidence-viewer-stage{flex:none;min-height:clamp(220px,42dvh,340px)}.document-seller-grid{grid-template-columns:1fr}.document-section-heading{flex-direction:column;align-items:stretch}.document-section-heading .secondary-button{width:100%}.document-supporting-popup-backdrop{align-items:end;padding:0}.document-supporting-popup{width:100%;max-height:92dvh;padding:20px 16px calc(20px + env(safe-area-inset-bottom));border-radius:22px 22px 0 0;overflow:auto}.document-supporting-popup-actions{flex-direction:column-reverse}.document-supporting-popup-actions>*{width:100%}.document-supporting-actions{width:100%;display:flex}.document-section-heading .document-supporting-actions>.secondary-button{flex:1 1 0;width:auto;min-width:0;padding-inline:8px;font-size:13px}.document-approver-popup-backdrop{align-items:end;padding:0}.document-approver-popup{width:100%;padding:20px 16px calc(20px + env(safe-area-inset-bottom));border-radius:22px 22px 0 0}.document-approver-actions{flex-direction:column-reverse}.document-approver-actions>*{width:100%}.document-seller-name,.document-seller-address{grid-column:auto}.document-editor-form-footer{width:auto;padding:10px 16px calc(10px + env(safe-area-inset-bottom));background:var(--surface);flex-direction:column;align-items:stretch;gap:8px;margin:0;position:fixed;left:0;right:0}.expense-record-editor-footer .document-editor-form-footer-inner{grid-template-columns:40px minmax(0,1fr);grid-template-areas:"total total""more actions";align-items:center;gap:8px;width:100%;min-height:0;display:grid;position:relative}.expense-record-editor-footer .document-editor-footer-total{grid-area:total;justify-content:center;width:100%;position:static}.expense-record-editor-footer .document-footer-more-button{grid-area:more;position:static}.document-footer-menu{width:auto;bottom:146px;left:16px;right:16px}.document-footer-confirm-backdrop{align-items:end;padding:0}.document-footer-confirm{width:100%;padding:24px 18px calc(24px + env(safe-area-inset-bottom));border-radius:22px 22px 0 0}.document-footer-confirm .document-modal-actions{flex-direction:column}.document-footer-confirm .document-modal-actions>*{width:100%}.document-total-field{width:100%;margin-right:0}.document-total-input-wrap input{width:100%}.document-editor-hint{order:2}.expense-record-editor-footer .document-modal-actions{grid-area:actions;justify-content:stretch;width:100%;margin:0;padding:0}.expense-record-editor-footer .document-modal-actions .secondary-button{flex:0 0 40%}.expense-record-editor-footer .document-modal-actions .primary-button{flex:1}.sales-document-editor>.document-modal-header{padding:12px 16px}.sales-document-editor>.document-form{width:100%;padding:18px 16px 24px}.sales-document-editor>.document-form .document-modal-actions{padding:12px 16px calc(12px + env(safe-area-inset-bottom));margin:0 -16px -18px;bottom:-18px}.document-modal-backdrop{place-items:end center;padding:0}.document-modal{width:100%;max-height:94dvh;padding:18px 16px calc(18px + env(safe-area-inset-bottom));border-radius:22px 22px 0 0}.document-form-grid{grid-template-columns:1fr}.record-editor-shell.is-expense #record-editor-basic .document-form-grid,.record-editor-shell.is-expense .document-seller-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.record-editor-shell.is-expense #record-editor-basic .payment-state-field{grid-column:1/-1}.document-editor-form .document-form-grid:not(.document-seller-grid)>:nth-child(odd),.document-editor-form .document-form-grid:not(.document-seller-grid)>:nth-child(2n){margin-left:0;margin-right:0;padding-left:0;padding-right:0}.sales-line-item{grid-template-columns:repeat(2,minmax(0,1fr))}.sales-line-item label:first-child,.sales-line-item .document-form-wide,.sales-line-remove{grid-column:1/-1}.document-modal-actions{padding:12px 16px calc(12px + env(safe-area-inset-bottom));border-top:1px solid var(--border);background:#fffffff5;margin:0 -16px -18px;position:sticky;bottom:-18px}}button:not(.icon-button){font-weight:400}button.primary-button,button.danger-button{font-weight:500}button.secondary-button,button.text-button,button.compact-button{background:0 0;font-weight:400}.record-filter-tabs button,.capture-tabs button{background:0 0}.record-filter-tabs{background:0 0;border:0;flex-wrap:wrap;gap:10px;padding:0;display:flex}.record-filter-tabs button{border:1px solid var(--border);background:var(--surface);min-height:40px;color:var(--muted);transition:color var(--motion-standard) var(--motion-ease), border-color var(--motion-standard) var(--motion-ease), background-color var(--motion-standard) var(--motion-ease), box-shadow var(--motion-standard) var(--motion-ease), transform var(--motion-fast) var(--motion-ease);border-radius:999px;padding:0 18px;font-weight:700;box-shadow:0 2px 7px #2027350f}.record-filter-tabs button:hover,.record-filter-tabs button:focus-visible{border-color:var(--primary);color:var(--text);outline:none;transform:translateY(-1px);box-shadow:0 4px 12px #2027351a}.record-filter-tabs button:active{transform:translateY(0)scale(.97)}.record-filter-tabs button.selected{border-color:var(--primary);background:var(--primary);color:#fff;box-shadow:0 5px 14px #0872c733}.record-filter-tabs button.selected[data-filter=income]{border-color:var(--income);background:var(--income);color:#fff;box-shadow:0 5px 14px #19875433}.record-filter-tabs button.selected[data-filter=expense]{border-color:var(--danger);background:var(--danger);color:#fff}.record-filter-tabs button.selected[data-filter=draft]{color:#fff;background:#b87918;border-color:#b87918}@media (max-width:767px){.sales-list-section .record-list-heading{flex-flow:row;align-items:center;gap:12px}.sales-list-section .record-list-heading>div{min-width:0}.sales-list-section .record-list-heading .eyebrow{margin-bottom:3px}.sales-list-section .record-list-heading h2{white-space:nowrap;margin:0;font-size:20px}.sales-list-section .record-list-heading .primary-button{white-space:nowrap;border-radius:14px;flex:none;width:auto;min-height:42px;padding:0 13px;font-size:13px}.sales-list-section .sales-document-tabs{overscroll-behavior-x:contain;scrollbar-width:none;white-space:nowrap;border:0;flex-wrap:nowrap;gap:8px;margin:14px 0 0;padding:0 0 6px;overflow-x:auto}.sales-list-section .sales-document-tabs::-webkit-scrollbar{display:none}.sales-list-section .sales-document-tabs button{border-radius:999px;flex:none;min-height:38px;padding:0 15px}.sales-list-section .sales-document-tabs button.selected{border-color:var(--primary);background:var(--primary);color:#fff;box-shadow:0 3px 9px #0872c72e}}.mobile-navigation a{font-weight:400}.mobile-navigation .active{font-weight:500}:root{scrollbar-color:#d7dfda transparent;scrollbar-width:thin}*{scrollbar-color:#d5e0eb transparent;scrollbar-width:thin}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:#d5e0eb padding-box padding-box;border:2px solid #0000;border-radius:999px}::-webkit-scrollbar-thumb:hover{background:#c2d0de padding-box padding-box}.quick-record-prototype{--qr-green:#0872c7;--qr-deep:#075fae;--qr-ink:#202f40;--qr-muted:#718093;--qr-line:#e2eaf2;max-width:980px;color:var(--qr-ink);margin-inline:auto;padding-block:30px 64px}.quick-record-heading{justify-content:space-between;align-items:flex-end;gap:24px;margin:0 0 22px;display:flex}.quick-record-heading-meta{color:var(--qr-muted);align-items:center;gap:10px;font-size:13px;display:flex}.quick-record-heading-meta .eyebrow,.quick-record-saved-heading .eyebrow,.quick-record-pdf-dialog .eyebrow{color:var(--qr-green);margin:0;font-weight:600}.quick-record-heading-meta>span{border-left:1px solid var(--qr-line);padding-left:10px}.quick-record-heading h1{color:var(--qr-ink);margin:5px 0 4px;font-size:clamp(25px,3vw,32px);font-weight:600;line-height:1.25}.quick-record-heading>div>p:last-child{color:var(--qr-muted);margin:0;font-size:14px}.quick-record-step{color:var(--qr-deep);white-space:nowrap;background:#f5fbf7;border:1px solid #dcebe3;border-radius:999px;align-items:center;gap:9px;padding:9px 13px;font-size:13px;display:inline-flex}.quick-record-step>span{background:var(--qr-green);color:#fff;border-radius:50%;place-items:center;width:25px;height:25px;font-size:11px;font-weight:600;display:grid}.quick-record-form{border:1px solid var(--qr-line);background:#fff;border-radius:20px;padding:clamp(20px,4vw,34px);box-shadow:0 10px 32px #173c2b0c}.quick-record-direction{border:0;margin:0 0 26px;padding:0}.quick-record-direction legend,.quick-record-fields label>span,.quick-record-more-content label>span{color:#43554c;margin-bottom:9px;font-size:13px;font-weight:600}.quick-record-direction-options{grid-template-columns:1fr 1fr;gap:12px;display:grid}.quick-record-direction-options button{border:1px solid var(--qr-line);color:#607068;text-align:left;cursor:pointer;background:#fff;border-radius:13px;align-items:center;gap:12px;min-height:68px;padding:12px 16px;transition:border-color .16s,background .16s,box-shadow .16s;display:flex}.quick-record-direction-options button>svg{flex:none}.quick-record-direction-options button span{gap:2px;display:grid}.quick-record-direction-options button strong{color:var(--qr-ink);font-size:14px}.quick-record-direction-options button small{color:var(--qr-muted);font-size:12px}.quick-record-direction-options button.is-selected.expense{color:#c94b52;background:#fff7f6;border-color:#e6b7b8;box-shadow:inset 0 0 0 1px #f8e4e3}.quick-record-direction-options button.is-selected.income{color:var(--qr-green);background:#f2fbf5;border-color:#a7ddbd;box-shadow:inset 0 0 0 1px #d8f0e0}.quick-record-section-title{justify-content:space-between;align-items:center;gap:12px;margin:0 0 12px;display:flex}.quick-record-section-title h2{color:var(--qr-ink);margin:0;font-size:16px;font-weight:600}.quick-record-section-title p{color:var(--qr-muted);margin:3px 0 0;font-size:12px}.quick-record-optional,.quick-record-required-note{color:var(--qr-muted);font-size:12px}.quick-record-evidence{cursor:pointer;background:#f8fcf9;border:1px dashed #b9cfc2;border-radius:13px;align-items:center;gap:13px;min-height:74px;padding:12px 15px;display:flex}.quick-record-evidence input{clip:rect(0, 0, 0, 0);width:1px;height:1px;position:absolute;overflow:hidden}.quick-record-evidence:focus-within{outline:3px solid #0c895333}.quick-record-evidence-icon{width:40px;height:40px;color:var(--qr-green);background:#e7f5ec;border-radius:11px;flex:none;place-items:center;display:grid}.quick-record-evidence-copy{flex:1;gap:3px;min-width:0;display:grid}.quick-record-evidence-copy strong{color:var(--qr-ink);text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.quick-record-evidence-copy small{color:var(--qr-muted);font-size:12px}.quick-record-evidence-action{color:var(--qr-deep);white-space:nowrap;background:#fff;border:1px solid #dce8e0;border-radius:9px;padding:8px 12px;font-size:12px;font-weight:600}.quick-record-attachment-preview{border:1px solid var(--qr-line);background:#f7f9f8;border-radius:12px;margin-top:12px;overflow:hidden}.quick-record-preview-header{border-bottom:1px solid var(--qr-line);color:var(--qr-deep);align-items:center;gap:8px;padding:10px 13px;font-size:12px;display:flex}.quick-record-preview-header button{color:#a63f45;cursor:pointer;background:0 0;border:0;margin-left:auto}.quick-record-attachment-preview img{object-fit:contain;max-width:100%;max-height:330px;margin:14px auto;display:block}.quick-record-attachment-preview iframe{background:#e9eeeb;border:0;width:100%;height:340px;display:block}.quick-record-basic-title{margin-top:27px}.quick-record-fields{grid-template-columns:1fr 1fr;gap:16px;display:grid}.quick-record-fields label,.quick-record-more-content label{min-width:0;display:grid}.quick-record-fields input,.quick-record-more-content input,.quick-record-more-content select,.quick-record-document-choice select{width:100%;min-height:44px;color:var(--qr-ink);font:inherit;background:#fff;border:1px solid #dce5df;border-radius:10px;padding:10px 12px;font-size:14px}.quick-record-fields input:focus,.quick-record-more-content input:focus,.quick-record-more-content select:focus,.quick-record-document-choice select:focus{border-color:#48a979;outline:3px solid #07854f1c}.quick-record-field-wide{grid-column:1/-1}.quick-record-amount{position:relative}.quick-record-amount input{padding-right:52px}.quick-record-amount>span{color:var(--qr-muted);font-size:13px;position:absolute;top:50%;right:13px;transform:translateY(-50%)}.quick-record-payment{border:0;min-width:0;margin:0;padding:0}.quick-record-payment legend{color:#43554c;margin-bottom:9px;font-size:13px;font-weight:600}.quick-record-payment>div{gap:8px;display:flex}.quick-record-payment button{color:#617169;cursor:pointer;background:#fff;border:1px solid #dce5df;border-radius:10px;min-height:44px;padding:0 14px;font-size:13px}.quick-record-payment button.is-selected{color:var(--qr-deep);background:#f0faf3;border-color:#75bd93;font-weight:600}.quick-record-more{border-top:1px solid #edf1ee;margin-top:20px}.quick-record-more summary{color:var(--qr-deep);cursor:pointer;align-items:center;gap:7px;padding:16px 0 4px;font-size:13px;font-weight:600;list-style:none;display:flex}.quick-record-more summary::-webkit-details-marker{display:none}.quick-record-more summary span{color:var(--qr-muted);margin-left:2px;font-size:12px;font-weight:400}.quick-record-more summary svg{margin-left:auto;transition:transform .15s}.quick-record-more[open] summary svg{transform:rotate(180deg)}.quick-record-more-content{grid-template-columns:repeat(3,1fr);gap:13px;padding:16px 0 2px;display:grid}.quick-record-more-content p{color:var(--qr-muted);grid-column:1/-1;align-items:center;gap:7px;margin:0;font-size:12px;display:flex}.quick-record-footer{border-top:1px solid #edf1ee;justify-content:space-between;align-items:center;gap:16px;margin-top:25px;padding-top:19px;display:flex}.quick-record-footer>p{color:var(--qr-muted);align-items:center;gap:8px;margin:0;font-size:12px;display:flex}.quick-record-footer>p svg{color:var(--qr-green)}.quick-record-submit,.quick-record-back{min-height:44px;font:inherit;cursor:pointer;border:1px solid #0000;border-radius:11px;justify-content:center;align-items:center;gap:8px;padding:0 18px;font-size:13px;font-weight:600;display:inline-flex}.quick-record-submit{background:var(--qr-deep);color:#fff}.quick-record-submit:hover{background:#064c38}.quick-record-back{color:#52655b;background:#fff;border-color:#dce5df}.quick-record-review-banner{color:var(--qr-green);background:#f3fbf5;border:1px solid #d5ecdc;border-radius:12px;align-items:center;gap:11px;padding:13px 15px;display:flex}.quick-record-review-banner>span{flex:1;gap:2px;display:grid}.quick-record-review-banner strong{color:var(--qr-ink);font-size:13px}.quick-record-review-banner small{color:var(--qr-muted);font-size:12px}.quick-record-review-banner button{color:var(--qr-deep);cursor:pointer;background:0 0;border:0;font-weight:600}.quick-record-review-layout{grid-template-columns:1.1fr .9fr;gap:22px;margin-top:22px;display:grid}.quick-record-review-amount{color:#bd424a;background:#fff4f3;border-radius:13px;gap:6px;padding:18px;font-size:13px;display:grid}.quick-record-review-amount.income{color:var(--qr-green);background:#eff9f2}.quick-record-review-amount strong{font-size:26px;font-weight:600}.quick-record-review-amount strong small{font-size:13px;font-weight:400}.quick-record-review-data dl,.quick-record-saved-summary dl{margin:10px 0 0}.quick-record-review-data dl>div,.quick-record-saved-summary dl>div,.quick-record-pdf-page dl>div{border-bottom:1px solid #edf1ee;justify-content:space-between;gap:18px;padding:11px 2px;font-size:13px;display:flex}.quick-record-review-data dt,.quick-record-saved-summary dt,.quick-record-pdf-page dt{color:var(--qr-muted)}.quick-record-review-data dd,.quick-record-saved-summary dd,.quick-record-pdf-page dd{color:var(--qr-ink);text-align:right;margin:0;font-weight:500}.quick-record-document-choice{gap:8px;margin-top:20px;display:grid}.quick-record-document-choice>span{color:var(--qr-ink);font-size:13px;font-weight:600}.quick-record-document-choice>span small{color:#b74148;margin-left:5px;font-size:11px;font-weight:600}.quick-record-document-choice>small{color:var(--qr-muted);font-size:11px}.quick-record-review-evidence h3,.quick-record-saved-documents h3{color:var(--qr-ink);margin:0 0 10px;font-size:14px;font-weight:600}.quick-record-review-evidence{min-width:0}.quick-record-review-evidence img{border:1px solid var(--qr-line);object-fit:contain;border-radius:10px;max-width:100%;max-height:360px;margin-inline:auto;display:block}.quick-record-review-evidence iframe{border:1px solid var(--qr-line);border-radius:10px;width:100%;height:340px}.quick-record-review-evidence>p{color:var(--qr-muted);text-overflow:ellipsis;align-items:center;gap:6px;font-size:11px;display:flex;overflow:hidden}.quick-record-no-evidence{min-height:180px;color:var(--qr-muted);border:1px dashed #d9e3dd;border-radius:12px;place-content:center;justify-items:center;gap:8px;font-size:12px;display:grid}.quick-record-review>.quick-record-footer{justify-content:flex-end}.quick-record-review>.quick-record-footer .quick-record-back{margin-right:auto}.quick-record-saved-heading{border-bottom:1px solid #edf1ee;align-items:center;gap:16px;padding-bottom:22px;display:flex}.quick-record-saved-heading>span{width:52px;height:52px;color:var(--qr-green);background:#e8f7ed;border-radius:50%;flex:none;place-items:center;display:grid}.quick-record-saved-heading h2{color:var(--qr-ink);margin:4px 0;font-size:22px}.quick-record-saved-heading div>p:last-child{color:var(--qr-muted);margin:0;font-size:13px}.quick-record-saved-summary{grid-template-columns:.75fr 1.25fr;gap:20px;padding:22px 0;display:grid}.quick-record-saved-documents{border:1px solid var(--qr-line);background:#fcfdfc;border-radius:13px;padding:18px}.quick-record-document-row{border-top:1px solid #edf1ee;align-items:center;gap:11px;padding:12px 0;display:flex}.quick-record-file-badge{width:38px;height:38px;color:var(--qr-green);background:#e9f5ed;border-radius:10px;flex:none;place-items:center;display:grid}.quick-record-file-badge.is-pdf{color:#c44e53;background:#fff0ef}.quick-record-document-row>span:nth-child(2){flex:1;gap:3px;min-width:0;display:grid}.quick-record-document-row strong{color:var(--qr-ink);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.quick-record-document-row small{color:var(--qr-muted);font-size:11px}.quick-record-file-state{color:var(--qr-green);font-size:11px}.quick-record-pdf-action{color:#b74349;cursor:pointer;white-space:nowrap;background:#fff;border:1px solid #efd3d2;border-radius:9px;padding:8px 10px;font-size:11px;font-weight:600}.quick-record-no-generated-doc{color:var(--qr-muted);border-top:1px solid #edf1ee;margin:0;padding:12px 0 2px;font-size:12px}.quick-record-saved-footer{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:9px;margin-top:18px;display:flex}.quick-record-saved-footer>p{color:var(--qr-muted);align-items:center;gap:7px;margin:0 auto 0 0;font-size:11px;display:flex}.quick-record-pdf-backdrop{z-index:1000;background:#10231bd1;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.quick-record-pdf-dialog{background:#f5f7f6;border-radius:16px;width:min(640px,100%);max-height:min(90vh,900px);padding:22px;overflow:auto;box-shadow:0 24px 80px #0004}.quick-record-pdf-dialog>header{justify-content:space-between;gap:18px;margin-bottom:18px;display:flex}.quick-record-pdf-dialog h2{color:var(--qr-ink);margin:4px 0 0;font-size:18px}.quick-record-pdf-dialog>header button{color:#52655b;cursor:pointer;background:#fff;border:1px solid #dae4dd;border-radius:9px;align-self:flex-start;padding:7px 12px}.quick-record-pdf-page{color:#263b30;background:#fff;width:min(460px,100%);min-height:500px;margin:auto;padding:38px;box-shadow:0 4px 18px #16271d12}.quick-record-pdf-page>p{color:var(--qr-green);letter-spacing:.04em;font-size:11px;font-weight:600}.quick-record-pdf-page h3{text-align:center;margin:25px 0;font-size:19px}.quick-record-pdf-page hr{border:0;border-top:1px solid #dfe7e2}.quick-record-pdf-page dl{margin:24px 0}.quick-record-pdf-page>strong{color:#87958d;text-align:center;border-top:1px dashed #dfe7e2;margin-top:80px;padding-top:14px;font-size:12px;font-weight:400;display:block}.quick-record-pdf-note{color:var(--qr-muted);text-align:center;margin:12px 0 0;font-size:11px}@media (max-width:700px){.quick-record-prototype{padding:20px 14px 40px}.quick-record-heading{align-items:flex-start}.quick-record-step{padding:6px 9px;font-size:11px}.quick-record-step>span{width:22px;height:22px}.quick-record-form{border-radius:16px;padding:18px}.quick-record-fields{gap:13px}.quick-record-review-layout{grid-template-columns:1fr}.quick-record-saved-summary{grid-template-columns:1fr;gap:10px}}@media (max-width:480px){.quick-record-heading{flex-direction:column;gap:12px}.quick-record-heading h1{font-size:25px}.quick-record-direction-options,.quick-record-fields{grid-template-columns:1fr}.quick-record-field-wide{grid-column:auto}.quick-record-more-content{grid-template-columns:1fr}.quick-record-more-content p{grid-column:auto}.quick-record-more summary{flex-wrap:wrap}.quick-record-more summary span{order:3;width:calc(100% - 28px);margin-left:0}.quick-record-footer{flex-direction:column;align-items:stretch}.quick-record-footer>p{align-self:flex-start}.quick-record-submit,.quick-record-back{width:100%}.quick-record-review>.quick-record-footer .quick-record-back{margin-right:0}.quick-record-document-row{flex-wrap:wrap;align-items:flex-start}.quick-record-pdf-action{margin-left:49px}.quick-record-saved-footer{flex-direction:column;align-items:stretch}.quick-record-saved-footer>p{margin:0 0 5px}.quick-record-pdf-page{min-height:430px;padding:25px}}.package-page{padding-block:34px 72px}.package-catalog{gap:22px;max-width:1180px;margin-inline:auto;display:grid}.package-heading h1{color:var(--text);margin:4px 0 6px;font-size:clamp(1.65rem,3vw,2.15rem);line-height:1.2}.package-heading>p:last-child{color:var(--muted);margin:0}.package-test-notice{color:#70531b;background:#fff9e9;border:1px solid #f4d99c;border-radius:14px;align-items:flex-start;gap:12px;padding:14px 16px;display:flex}.package-test-notice>span{background:#f5dfaa;border-radius:50%;flex:none;place-items:center;width:24px;height:24px;font-weight:700;display:grid}.package-test-notice p{margin:0}.package-checkout-status{color:#674d19;background:#fff9e9;border:1px solid #f0d49a;border-radius:14px;padding:16px 18px}.package-checkout-status>strong{margin-bottom:4px;display:block}.package-checkout-status p{margin:0}.package-checkout-status ul{gap:3px;margin:8px 0 0;padding-left:20px;display:grid}.package-tabs{background:#eaf8f0;border:1px solid #b9e8ca;border-radius:16px;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;width:100%;max-width:100%;padding:7px;display:grid;box-shadow:0 8px 24px #007e491a}.package-tabs button{min-height:48px;color:var(--text);font:inherit;cursor:pointer;background:#fff;border:1px solid #0000;border-radius:11px;padding:0 16px;font-weight:600}.package-tabs button.active{background:var(--primary);color:#fff;box-shadow:0 5px 14px #007e4938}.package-tabs button:not(.active):hover{background:#f8fffa;border-color:#8bd9aa}.package-tabs button:focus-visible{outline-offset:2px;outline:3px solid #00a86b47}.package-term-switch{background:#f0f1f0;border-radius:16px;justify-self:center;gap:5px;width:fit-content;max-width:100%;padding:6px;display:flex}.package-term-switch button{color:#65716a;min-height:50px;font:inherit;white-space:nowrap;cursor:pointer;background:0 0;border:0;border-radius:12px;justify-content:center;align-items:center;gap:9px;padding:0 22px;font-weight:600;display:inline-flex}.package-term-switch button.active{color:var(--text);background:#fff;box-shadow:0 1px 5px #142b231a}.package-term-switch button>span{color:#fff;background:#04bf5f;border-radius:999px;padding:4px 10px;font-size:12px;font-weight:700}.package-vat-note{color:var(--muted);margin:-6px 0 0;font-size:.88rem}.package-grid{grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch;gap:16px;display:grid}.package-card{border:1px solid var(--border);background:var(--surface);border-radius:20px;flex-direction:column;min-width:0;padding:22px 20px 20px;display:flex;position:relative;box-shadow:0 8px 24px #20352d08}.package-card-featured{border:1.5px solid var(--primary);box-shadow:0 12px 30px #0b684414}.package-badge{background:var(--primary);color:#fff;border-radius:999px;padding:4px 11px;font-size:.78rem;font-weight:700;position:absolute;top:-12px;right:18px}.package-card-top{background:#f1f5f2;border-radius:15px;justify-content:space-between;align-items:flex-start;gap:10px;min-height:90px;margin:-4px -2px 0;padding:14px;display:flex}.package-card[data-plan=free] .package-card-top{background:#f1f5f2}.package-card[data-plan=starter] .package-card-top{background:#e9f8ef}.package-card[data-plan=standard] .package-card-top{background:#eaf3fb}.package-card[data-plan=pro] .package-card-top{background:#f1edfb}.package-card-top h2{margin:0 0 5px;font-size:1.35rem}.package-card-top p{color:var(--muted);margin:0;font-size:.9rem;line-height:1.45}.package-plan-icon{background:var(--primary-soft);width:38px;height:38px;color:var(--primary);border-radius:12px;flex:none;place-items:center;font-size:1.5rem;display:grid}.package-card[data-plan=free] .package-plan-icon{color:#52675a;background:#e1e9e3}.package-card[data-plan=starter] .package-plan-icon{color:#16864e;background:#d4f1df}.package-card[data-plan=standard] .package-plan-icon{color:#3476b7;background:#d8eafa}.package-card[data-plan=pro] .package-plan-icon{color:#7050a7;background:#e4dcf7}.package-price{border-top:1px solid var(--border);border-bottom:1px solid var(--border);align-content:start;min-height:112px;margin:16px 0;padding:16px 0;display:grid}.package-price strong{font-size:1.7rem;line-height:1.25}.package-price>span,.package-price small{color:var(--muted)}.package-price small{margin-top:3px}.package-price .package-compare{color:var(--muted);font-size:1.15rem;font-weight:650;line-height:1.3}.package-card ul{gap:11px;margin:0;padding:0;list-style:none;display:grid}.package-card li{align-items:flex-start;gap:8px;font-size:.9rem;line-height:1.45;display:flex}.package-card li svg{fill:none;stroke:#24945b;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.6px;flex:0 0 18px;width:18px;height:18px;margin-top:2px}.credit-catalog,.package-history{border:1px solid var(--border);background:var(--surface);border-radius:20px;padding:clamp(20px,4vw,32px)}.credit-intro{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.credit-intro h2,.package-history h2{margin:0 0 6px}.credit-intro p{color:var(--muted);margin:5px 0 0;line-height:1.5}.credit-intro .credit-intro-rule{color:var(--text);font-weight:600}.credit-intro>span{color:var(--primary);font-size:2rem}.credit-discounts{flex-wrap:wrap;align-items:center;gap:10px 14px;margin-top:18px;display:flex}.credit-discounts>strong{color:var(--muted);font-size:.9rem}.credit-discounts>div{flex-wrap:wrap;gap:8px;display:flex}.credit-discounts span{color:#286b41;background:#eaf7ee;border-radius:999px;padding:6px 11px;font-size:.88rem}.credit-discounts span[data-plan=starter]{color:#2458a6;background:#e0edff}.credit-discounts span[data-plan=standard]{color:#146c43;background:#dcfce8}.credit-discounts span[data-plan=pro]{color:#945500;background:#fff1cc}.credit-discounts b{margin-left:3px}.credit-vat-note{color:var(--muted);margin:7px 0 0;font-size:.88rem;line-height:1.45}.credit-bundle-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:22px;display:grid}.credit-bundle-card{border:1px solid var(--border);background:var(--surface);border-radius:16px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px 16px;padding:18px;display:grid}.credit-bundle-card div{display:grid}.credit-bundle-card .credit-bundle-quantity strong{font-size:1.7rem;line-height:1.2}.credit-bundle-card .credit-bundle-quantity span{color:var(--muted)}.credit-bundle-card .credit-bundle-price{text-align:right;justify-items:end}.credit-bundle-price strong{font-size:1.25rem;line-height:1.3}.credit-bundle-price small{color:var(--muted);margin-top:3px}.credit-bundle-card .package-credit-actions{grid-column:1/-1;gap:8px;display:grid}.credit-buy-button{background:var(--primary);color:#fff;width:100%;min-height:44px;font:inherit;cursor:pointer;border:0;border-radius:10px;padding:9px 14px;font-weight:700}.credit-buy-button:hover{background:#05ad4b}.credit-bundle-card .package-purchase-actions{margin-top:0}.package-tax-note{color:var(--muted);margin:16px 0 0;font-size:.88rem}.package-history{text-align:center;align-content:center;justify-items:center;gap:10px;min-height:280px;display:grid}.package-history-icon{color:var(--primary);font-size:2.5rem}.package-history p{max-width:540px;color:var(--muted);margin:0}.package-history small{color:var(--muted)}@media (max-width:1040px){.package-grid,.credit-bundle-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:600px){.package-page{padding:20px 14px 48px}.package-catalog{gap:16px}.package-tabs{width:100%;overflow-x:auto}.package-tabs button{flex:1 0 auto;padding-inline:12px}.package-term-switch{gap:2px;width:100%;padding:4px}.package-term-switch button{flex:1 1 0;gap:4px;padding-inline:7px;font-size:13px}.package-term-switch button>span{padding:3px 6px;font-size:10px}.package-grid,.credit-bundle-grid{grid-template-columns:1fr}.package-card{padding:20px 18px}.package-card-top{min-height:auto}.package-price{min-height:0}.credit-bundle-card{padding:16px}.credit-discounts{align-items:flex-start;gap:8px}.credit-discounts>div{gap:6px}.credit-discounts span{padding:5px 9px;font-size:.82rem}}.package-account-summary{background:linear-gradient(110deg,#f0faf3,#fff 72%);border:1px solid #d7eadf;border-radius:18px;justify-content:space-between;align-items:center;gap:20px;padding:18px 22px;display:flex}.package-account-summary>div:first-child{gap:3px;display:grid}.package-account-summary>div:first-child>span,.package-account-summary small{color:var(--muted)}.package-account-summary strong{color:var(--primary);font-size:1.3rem}.package-account-metrics{flex-wrap:wrap;gap:10px;display:flex}.package-account-metrics span{color:var(--muted);background:#fff;border-radius:12px;padding:8px 12px}.package-account-metrics b{color:var(--text);margin-left:5px}.package-account-metrics .package-scan-usage{background:#fff;border-radius:12px;flex:1;gap:7px;min-width:min(280px,100%);padding:8px 12px;display:grid}.package-scan-usage-heading{color:var(--muted);justify-content:space-between;align-items:center;gap:12px;display:flex}.package-scan-usage-heading b{color:var(--text);white-space:nowrap}.package-scan-usage progress{width:100%;height:8px;accent-color:var(--primary);background:#e8f0eb;border:0;border-radius:999px;display:block;overflow:hidden}.package-scan-usage progress::-webkit-progress-bar{background:#e8f0eb;border-radius:999px}.package-scan-usage progress::-webkit-progress-value{background:var(--primary);border-radius:999px}.package-scan-usage progress::-moz-progress-bar{background:var(--primary);border-radius:999px}.package-scan-usage>small{color:var(--muted)}.package-scan-unlimited{background:linear-gradient(90deg,#d9f3e5,#00a65a);border-radius:999px;height:8px}.package-scan-unknown{background:repeating-linear-gradient(135deg,#e8ebef 0 8px,#f5f6f7 8px 16px);border-radius:999px;height:8px}.package-inline-message,.package-loading{color:var(--muted);margin:0}.package-price-option{justify-items:start;gap:3px;padding:8px 0;display:grid}.package-price-option+.package-price-option{border-top:1px dashed var(--border);margin-top:8px}.package-unavailable{color:#8d641e!important}.package-current-label{background:var(--primary-soft);width:fit-content;color:var(--primary);border-radius:999px;padding:4px 10px;font-size:.82rem;font-weight:700}.package-select-button{background:var(--primary);color:#fff;width:100%;min-height:44px;font:inherit;cursor:pointer;border:0;border-radius:11px;margin-top:10px;padding:9px 14px;font-weight:700}.package-select-button:hover{filter:brightness(.94)}.package-purchase-actions{flex-wrap:wrap;gap:7px;margin-top:8px;display:flex}.package-purchase-actions button{color:#08794a;min-height:36px;font:inherit;cursor:pointer;background:#f5fbf7;border:1px solid #cce7d6;border-radius:10px;padding:6px 11px;font-size:.82rem;font-weight:650}.package-purchase-actions button:hover:not(:disabled){border-color:var(--primary);background:var(--primary);color:#fff}.package-purchase-actions button:disabled{opacity:.5;cursor:not-allowed}.package-credit-actions{grid-column:1/-1}.credit-bundle-card{flex-wrap:wrap}.package-payment-history{text-align:left;align-self:stretch;width:100%}.package-payment-history article{border-bottom:1px solid var(--border);grid-template-columns:minmax(160px,1fr) auto auto auto;align-items:center;gap:14px;padding:14px 0;display:grid}.package-payment-history article>div{display:grid}.package-payment-history article small,.package-payment-history article>span{color:var(--muted)}.package-credit-history{text-align:left;width:100%;margin-top:10px}.package-credit-history h3{margin:0 0 6px;font-size:1rem}.package-credit-history article{border-top:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;padding:11px 0;display:flex}.package-credit-history article>div{gap:2px;display:grid}.package-credit-history small{color:var(--muted)}.package-credit-history .credit-added{color:#218651}.package-credit-history .credit-used{color:var(--text)}.package-payment-history-total{text-align:right;justify-items:end;gap:2px;display:grid}.package-payment-history-total small{color:var(--muted);font-size:.76rem}.package-payment-history article>div small{overflow-wrap:anywhere}.credit-catalog-empty{border:1px dashed var(--border);color:var(--muted);text-align:center;border-radius:14px;grid-column:1/-1;margin:0;padding:22px}.platform-admin-frame{color:#1c2635;min-height:100dvh;font-family:var(--font-bai-jamjuree), sans-serif;background:#f5f7fa;grid-template-columns:260px minmax(0,1fr);display:grid}.platform-admin-sidebar{color:#eff8f2;background:#102c25;flex-direction:column;height:100dvh;padding:22px 14px 16px;display:flex;position:sticky;top:0}.platform-admin-brand{color:inherit;align-items:center;gap:11px;padding:0 10px 26px;text-decoration:none;display:flex}.platform-admin-brand>span:last-child{line-height:1.2;display:grid}.platform-admin-brand strong{font-size:1.12rem}.platform-admin-brand small{color:#a3c2b0;letter-spacing:.14em;font-size:.63rem}.platform-admin-brand-mark{color:#fff;background:#08c66a;border-radius:13px;place-items:center;width:40px;height:40px;font-size:1.3rem;font-weight:800;display:grid}.platform-admin-section-label{color:#9db8a9;padding:0 12px 10px;font-size:.78rem;font-weight:600}.platform-admin-sidebar nav{gap:5px;display:grid}.platform-admin-sidebar nav a{color:#d2e0d8;border-radius:11px;align-items:center;gap:12px;min-height:45px;padding:0 12px;text-decoration:none;transition:background .15s,color .15s;display:flex}.platform-admin-sidebar nav a>span{color:#9ccbb0;place-items:center;width:24px;font-size:1.08rem;display:grid}.platform-admin-sidebar nav a:hover,.platform-admin-sidebar nav a.active{color:#fff;background:#1e463b}.platform-admin-sidebar nav a.active>span{color:#55e494}.platform-admin-sidebar-bottom{color:#d2e0d8;border-top:1px solid #ffffff1c;align-items:center;gap:9px;margin-top:auto;padding:13px 11px;font-size:.84rem;display:flex}.platform-admin-role-dot{background:#53df8e;border-radius:50%;width:9px;height:9px;box-shadow:0 0 0 4px #53df8e22}.platform-admin-main{min-width:0}.platform-admin-topbar{z-index:10;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#ffffffed;border-bottom:1px solid #e5e9ee;justify-content:space-between;align-items:center;gap:16px;min-height:72px;padding:10px clamp(18px,3vw,38px);display:flex;position:sticky;top:0}.platform-admin-topbar>div:first-child{gap:1px;display:grid}.platform-admin-topbar-eyebrow{color:#81909f;letter-spacing:.13em;font-size:.68rem;font-weight:700}.platform-admin-topbar strong{font-size:1rem}.platform-admin-topbar-actions{align-items:center;gap:15px;display:flex}.platform-admin-topbar-actions a{color:#267950;font-size:.88rem;text-decoration:none}.platform-admin-topbar-actions button{color:#465367;font:inherit;cursor:pointer;background:#fff;border:1px solid #dce4e0;border-radius:9px;padding:8px 12px}.platform-admin-content{width:min(100%,1440px);margin-inline:auto;padding:clamp(22px,3vw,40px)}.platform-admin-mobile-nav{display:none}.platform-admin-loading,.platform-admin-denied{text-align:center;background:#f5f7fa;place-content:center;justify-items:center;gap:10px;min-height:100dvh;padding:28px;display:grid}.platform-admin-denied>span{font-size:2.5rem}.platform-admin-denied h1,.platform-admin-denied p{margin:0}.platform-admin-denied p{color:var(--muted)}.platform-admin-denied a{color:#08794a;margin-top:8px}.platform-page{gap:22px;display:grid}.platform-page-header{justify-content:space-between;align-items:end;gap:14px;display:flex}.platform-page-header>div>span{color:#218654;font-size:.79rem;font-weight:700}.platform-page-header h1{margin:3px 0 5px;font-size:clamp(1.55rem,3vw,2rem);line-height:1.2}.platform-page-header p{color:#718093;margin:0}.platform-admin-notice{color:#376c4d;background:#f2faf4;border:1px solid #dceadf;border-radius:12px;margin:0;padding:12px 15px}.platform-metric-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.platform-metric-grid article{background:#fff;border:1px solid #e5eaf0;border-radius:16px;gap:4px;padding:20px;display:grid;box-shadow:0 7px 20px #14233307}.platform-metric-grid article>span{color:#708093;font-size:.88rem}.platform-metric-grid article strong{font-size:1.8rem;line-height:1.2}.platform-metric-grid article small{color:#8a96a5}.platform-metric-grid article.platform-metric-warning{background:#fffaf6;border-color:#efcfb9}.platform-metric-warning strong{color:#b6502d}.platform-quick-links{background:#fff;border:1px solid #e5eaf0;border-radius:17px;padding:22px}.platform-quick-links h2{margin:0 0 15px;font-size:1.12rem}.platform-quick-links>div{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.platform-quick-links a{color:inherit;border:1px solid #e8edf0;border-radius:13px;gap:5px;padding:16px;text-decoration:none;display:grid}.platform-quick-links a:hover{background:#f8fcf9;border-color:#a9dabc}.platform-quick-links a span{color:#748295;font-size:.88rem}.platform-package-list{gap:18px;display:grid}.platform-plan-editor{background:#fff;border:1px solid #e3e8ed;border-radius:18px;gap:18px;padding:22px;display:grid;box-shadow:0 8px 24px #14233306}.platform-billing-vat-editor{background:linear-gradient(120deg,#fff 55%,#f7fbf8);border-color:#e0e9e3;gap:14px;padding:21px 24px}.platform-billing-vat-editor .platform-plan-editor-heading h2{font-size:1.2rem}.platform-vat-current-rate{color:#08794a;white-space:nowrap;background:#edf8f1;border:1px solid #cce9d7;border-radius:999px;padding:7px 12px;font-size:.85rem;font-weight:700}.platform-vat-description{color:#657487;max-width:760px;margin:0;font-size:.9rem;line-height:1.55}.platform-vat-form{grid-template-columns:minmax(190px,320px) minmax(220px,280px);align-items:end;gap:16px;margin-top:2px;display:grid}.platform-vat-form>label{color:#526073;gap:7px;font-size:.86rem;font-weight:650;display:grid}.platform-vat-input-wrap{align-items:center;display:flex;position:relative}.platform-vat-input-wrap input{color:#263244;width:100%;min-width:0;min-height:44px;font:inherit;background:#fff;border:1px solid #dce3e9;border-radius:10px;padding:9px 40px 9px 12px}.platform-vat-input-wrap input:focus{border-color:#31a96a;outline:3px solid #0ac36b22}.platform-vat-input-wrap>span{color:#718093;font-weight:600;position:absolute;right:13px}.platform-vat-submit{justify-items:start;gap:6px;display:grid}.platform-vat-submit button{color:#fff;min-height:44px;font:inherit;cursor:pointer;background:#08794a;border:0;border-radius:10px;padding:9px 18px;font-weight:700;transition:background .16s,transform .16s}.platform-vat-submit button:hover:not(:disabled){background:#06673e;transform:translateY(-1px)}.platform-vat-submit button:disabled{opacity:.6;cursor:wait}.platform-vat-submit small{color:#8793a1;font-size:.75rem}.platform-plan-editor-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.platform-plan-editor-heading>div>span{color:#8a97a5;letter-spacing:.12em;font-size:.7rem;font-weight:700}.platform-plan-editor-heading h2{margin:1px 0 0;font-size:1.3rem}.platform-status-active,.platform-status-inactive{border-radius:999px;width:fit-content;padding:4px 9px;font-size:.78rem;font-weight:700}.platform-status-active{color:#237a48;background:#e9f7ee}.platform-status-inactive{color:#687382;background:#f2f3f5}.platform-plan-form-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.platform-plan-form-grid label,.platform-price-publish-form label,.platform-add-admin label{color:#526073;gap:6px;font-size:.86rem;font-weight:600;display:grid}.platform-plan-form-grid input,.platform-plan-form-grid textarea,.platform-price-publish-form input,.platform-price-publish-form select,.platform-add-admin input,.platform-add-admin select{color:#263244;width:100%;min-width:0;min-height:41px;font:inherit;background:#fff;border:1px solid #dce3e9;border-radius:9px;padding:8px 10px}.platform-plan-form-grid textarea{resize:vertical}.platform-plan-form-grid input:focus,.platform-plan-form-grid textarea:focus,.platform-price-publish-form input:focus,.platform-price-publish-form select:focus,.platform-add-admin input:focus{border-color:#31a96a;outline:3px solid #0ac36b22}.platform-plan-form-grid input::placeholder,.platform-plan-form-grid textarea::placeholder,.platform-price-publish-form input::placeholder{color:#98a3b1;opacity:1}.platform-plan-form-grid input:disabled,.platform-plan-form-grid textarea:disabled,.platform-price-publish-form input:disabled,.platform-price-publish-form select:disabled,.platform-credit-bundle-fields input:disabled,.platform-plan-credit-discount input:disabled{color:#798697;cursor:not-allowed;background:#f4f6f8}.platform-span-all{grid-column:1/-1}.platform-plan-toggles{flex-wrap:wrap;align-items:center;gap:12px 22px;display:flex}.platform-plan-toggles label{color:#526073;align-items:center;gap:7px;font-size:.88rem;display:flex}.platform-plan-toggles input{accent-color:#07b85f}.platform-plan-toggles button,.platform-price-publish-form>button,.platform-add-admin>button{color:#fff;min-height:40px;font:inherit;cursor:pointer;background:#08794a;border:0;border-radius:10px;padding:8px 15px;font-weight:650}.platform-plan-toggles button:disabled,.platform-price-publish-form>button:disabled,.platform-add-admin>button:disabled{opacity:.55;cursor:wait}.platform-plan-toggles button:hover:not(:disabled),.platform-price-publish-form>button:hover:not(:disabled){background:#06673e}.platform-plan-prices{border-top:1px solid #e8edf0;gap:12px;padding-top:16px;display:grid}.platform-plan-prices h3{margin:0;font-size:1rem}.platform-existing-prices{flex-wrap:wrap;gap:9px;display:flex}.platform-existing-prices>button{color:inherit;font:inherit;text-align:left;cursor:pointer;background:#fff;border:1px solid #e5eaf0;border-radius:10px;gap:2px;padding:8px 11px;display:grid}.platform-existing-prices>button:hover:not(:disabled),.platform-existing-prices>button:focus-visible{background:#f4fbf7;border-color:#08794a;outline:none}.platform-existing-prices>button:disabled{cursor:not-allowed;opacity:.7}.platform-existing-prices small{color:#7d8997}.platform-price-publish-form{background:#f6f8fa;border-radius:13px;grid-template-columns:repeat(4,minmax(0,1fr));align-items:end;gap:12px;padding:15px;display:grid}.platform-plan-credit-discount{background:#fafbfc;border:1px solid #e8edf0;border-radius:12px;grid-template-columns:minmax(160px,1fr) auto auto;align-items:end;gap:12px;padding:14px 16px;display:grid}.platform-plan-credit-discount-heading{grid-column:1/-1;gap:3px;display:grid}.platform-plan-credit-discount-heading strong{color:#344256;font-size:.88rem}.platform-plan-credit-discount-heading small{color:#7a8797;font-size:.76rem}.platform-plan-credit-discount>label:first-of-type{color:#526073;gap:6px;font-size:.82rem;font-weight:600;display:grid}.platform-plan-credit-discount input[type=number]{color:#263244;width:100%;min-height:40px;font:inherit;background:#fff;border:1px solid #dce3e9;border-radius:9px;padding:8px 10px}.platform-plan-credit-discount input[type=checkbox]{accent-color:#07b85f}.platform-plan-credit-discount>label:last-of-type{color:#526073;white-space:nowrap;background:#fff;border:1px solid #e1e7ec;border-radius:9px;align-items:center;gap:7px;min-height:40px;padding:0 10px;font-size:.84rem;font-weight:600;display:inline-flex}.platform-plan-credit-discount input[type=checkbox]{accent-color:#07b85f;width:16px;height:16px}.platform-plan-credit-discount button{color:#08794a;min-height:40px;font:inherit;cursor:pointer;background:#fff;border:1px solid #cfe4d6;border-radius:9px;justify-self:end;padding:8px 14px;font-weight:650}.platform-plan-credit-discount button:hover:not(:disabled){background:#f2faf4}.platform-plan-credit-discount button:disabled{opacity:.55;cursor:wait}.platform-credit-admin{background:#fff;border:1px solid #e3e8ed;border-radius:18px;gap:18px;padding:22px;display:grid;box-shadow:0 8px 24px #14233306}.platform-section-heading{border-bottom:1px solid #edf0f3;justify-content:space-between;align-items:end;gap:16px;padding-bottom:15px;display:flex}.platform-section-heading>div>span{color:#218654;font-size:.76rem;font-weight:700}.platform-section-heading h2{margin:3px 0 0;font-size:1.22rem}.platform-section-heading p{color:#718093;margin:0;font-size:.82rem}.platform-credit-admin-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:14px;display:grid}.platform-credit-bundle{background:#fff;border:1px solid #e3e8ed;border-radius:14px;align-content:start;gap:16px;min-width:0;padding:17px;display:grid;box-shadow:0 3px 10px #14233305}.platform-credit-bundle-heading{border-bottom:1px solid #edf0f3;gap:5px;padding-bottom:13px;display:grid}.platform-credit-bundle-heading>div{justify-content:space-between;align-items:center;gap:8px;display:flex}.platform-credit-bundle-code{color:#718093;letter-spacing:.04em;font-size:.72rem;font-weight:700}.platform-credit-bundle-status{color:#647285;white-space:nowrap;background:#f2f4f6;border-radius:999px;padding:4px 8px;font-size:.7rem;font-weight:650}.platform-credit-bundle-status.is-published{color:#237a48;background:#e9f7ee}.platform-credit-bundle-heading>strong{color:#263244;font-size:1.25rem;line-height:1.25}.platform-credit-bundle-heading>span:last-child{color:#526073;font-size:.9rem;font-weight:650}.platform-credit-bundle-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.platform-credit-bundle-fields label{color:#526073;gap:6px;min-width:0;font-size:.8rem;font-weight:600;display:grid}.platform-credit-bundle-fields input{color:#263244;width:100%;min-width:0;min-height:41px;font:inherit;background:#fff;border:1px solid #dce3e9;border-radius:9px;padding:8px 10px}.platform-credit-bundle-fields input:focus,.platform-plan-credit-discount input:focus{border-color:#31a96a;outline:3px solid #0ac36b22}.platform-credit-bundle-toggles{gap:8px;display:grid}.platform-credit-bundle-toggles label{color:#526073;background:#fafbfc;border:1px solid #edf0f3;border-radius:9px;align-items:center;gap:8px;min-height:38px;padding:0 10px;font-size:.8rem;font-weight:550;display:flex}.platform-credit-bundle-toggles input{accent-color:#07b85f;width:16px;height:16px}.platform-credit-bundle-save{color:#fff;min-height:42px;font:inherit;cursor:pointer;background:#08794a;border:0;border-radius:9px;padding:8px 14px;font-weight:650}.platform-credit-bundle-save:hover:not(:disabled){background:#06673e}.platform-credit-bundle-save:disabled{opacity:.55;cursor:wait}.platform-table-wrap{background:#fff;border:1px solid #e4e9ee;border-radius:15px;overflow:auto}.platform-table{border-collapse:collapse;white-space:nowrap;width:100%}.platform-table th,.platform-table td{text-align:left;border-bottom:1px solid #edf0f3;padding:12px 14px}.platform-table th{color:#647285;background:#f8fafb;font-size:.74rem}.platform-table td{font-size:.89rem}.platform-credit-adjustment{background:#fff;border:1px solid #e4e9ee;border-radius:15px;grid-template-columns:1.2fr repeat(3,minmax(130px,1fr)) auto;align-items:end;gap:12px;padding:17px;display:grid}.platform-credit-adjustment>div{gap:3px;display:grid}.platform-credit-adjustment>div span{color:#718093;font-size:.8rem}.platform-credit-adjustment label{color:#526073;gap:5px;font-size:.82rem;font-weight:600;display:grid}.platform-credit-adjustment input{color:#263244;min-width:0;min-height:40px;font:inherit;background:#fff;border:1px solid #dce3e9;border-radius:9px;padding:8px 10px}.platform-credit-adjustment>button{color:#fff;min-height:40px;font:inherit;cursor:pointer;background:#08794a;border:0;border-radius:9px;padding:8px 13px;font-weight:650}.platform-account-select{color:#27754c;font:inherit;cursor:pointer;background:#fff;border:1px solid #dce3e9;border-radius:6px;margin-top:4px;padding:3px 6px;font-size:.72rem;display:block}.platform-table code,.platform-admin-user-list code{color:#718093;font-size:.75rem}.platform-order-status{background:#f0f2f4;border-radius:999px;padding:4px 8px;font-size:.78rem}.platform-order-paid{color:#267545;background:#e7f6ec}.platform-order-failed,.platform-order-refunded{color:#ae4e3d;background:#fff0ed}.platform-empty-state{color:#778496;text-align:center;padding:25px}.platform-audit-list{gap:10px;display:grid}.platform-audit-list article{background:#fff;border:1px solid #e4e9ee;border-radius:14px;padding:16px 18px}.platform-audit-list article>div{flex-wrap:wrap;gap:8px 12px;display:flex}.platform-audit-list article>div span,.platform-audit-list small{color:#718093}.platform-audit-list p{margin:8px 0}.platform-audit-list small{font-size:.8rem}.platform-audit-list details{color:#526073;margin-top:12px;font-size:.84rem}.platform-audit-list pre{background:#f5f7fa;border-radius:9px;padding:12px;font-size:.76rem;overflow:auto}.platform-add-admin{background:#fff;border:1px solid #e5eaf0;border-radius:15px;grid-template-columns:1.4fr 1fr 1.5fr auto;align-items:end;gap:12px;padding:18px;display:grid}.platform-admin-user-list{gap:9px;display:grid}.platform-admin-user-list article{background:#fff;border:1px solid #e5eaf0;border-radius:13px;grid-template-columns:1fr auto auto auto;align-items:center;gap:15px;padding:14px 16px;display:grid}.platform-admin-user-list article>div{display:grid}.platform-admin-user-list button{color:#596779;min-height:34px;font:inherit;cursor:pointer;background:#fff;border:1px solid #e2e7eb;border-radius:8px;padding:5px 10px}.ru-landing{--ru-ink:#123b63;--ru-muted:#60788f;--ru-primary:#0872c7;--ru-primary-soft:#e8f4ff;--ru-blue-soft:#f1f8ff;width:min(100% - 40px,1160px);color:var(--ru-ink);font-family:var(--font-prompt), var(--font-bai-jamjuree), sans-serif;margin:0 auto;padding:18px 0 34px}.ru-header,.ru-brand,.ru-nav,.ru-hero-actions,.ru-button,.ru-hero-note,.ru-scale,.ru-step-top,.ru-destination,.ru-footer,.ru-footer nav{align-items:center;display:flex}.ru-header{justify-content:space-between;gap:24px;min-height:58px}.ru-brand{flex:none;width:190px;height:136px;display:block;position:relative;overflow:hidden}.ru-brand img{object-fit:contain;width:190px;max-width:none;height:190px;position:absolute;top:-15px;left:50%;transform:translate(-50%)}.ru-nav{color:#536b80;gap:clamp(16px,3vw,34px);font-size:.91rem;font-weight:600}.ru-nav a:not(.ru-login):hover,.ru-footer a:hover{color:var(--ru-primary)}.ru-login{color:var(--ru-primary);background:#fff;border:1px solid #c9e1f7;border-radius:999px;padding:10px 18px}.ru-hero{grid-template-columns:minmax(0,1fr) minmax(390px,.95fr);align-items:center;gap:clamp(24px,5vw,72px);min-height:560px;padding:56px 0 50px;display:grid}.ru-hero-copy{z-index:1;padding:10px 0;position:relative}.ru-eyebrow{color:var(--ru-primary);letter-spacing:.015em;align-items:center;gap:9px;margin:0 0 14px;font-size:.83rem;font-weight:750;display:flex}.ru-eyebrow>span{background:#f5b92d;border-radius:50%;width:9px;height:9px;box-shadow:0 0 0 5px #fff4ce}.ru-hero h1{color:var(--ru-ink);letter-spacing:-.075em;margin:0;font-size:clamp(3.4rem,7.4vw,6.5rem);line-height:.98}.ru-hero h1 em{color:var(--ru-primary);font-style:normal}.ru-hero-definition{max-width:540px;color:var(--ru-muted);margin:24px 0 0;font-size:clamp(1rem,1.8vw,1.18rem);line-height:1.8}.ru-hero-definition strong{color:var(--ru-ink)}.ru-hero-actions{flex-wrap:wrap;gap:12px 20px;margin-top:28px}.ru-button{border-radius:999px;justify-content:center;gap:9px;min-height:48px;padding:0 21px;font-weight:700;transition:transform .16s,box-shadow .16s}.ru-button:hover{transform:translateY(-2px)}.ru-button-primary{background:var(--ru-primary);color:#fff;box-shadow:0 8px 18px #0872c738}.ru-button-primary:hover{background:#075fae;box-shadow:0 11px 24px #0872c747}.ru-button-quiet{color:#536b80;padding-inline:4px}.ru-hero-note{color:var(--ru-muted);gap:8px;margin-top:20px;font-size:.84rem}.ru-hero-note svg{color:var(--ru-primary)}.ru-hero-art{aspect-ratio:3/2;background:var(--ru-primary-soft);border:1px solid #c9e1f7;border-radius:28px;align-self:center;min-width:0;min-height:0;display:block;position:relative;overflow:hidden;box-shadow:0 18px 45px #1042711f}.ru-hero-art>img{object-fit:cover;object-position:center;width:100%;height:100%;display:block;position:absolute;inset:0}.ru-scale{background:linear-gradient(100deg,#eaf5ff,#f8fbff 66%);border:1px solid #d8e9f8;border-radius:22px;gap:16px;min-height:100px;padding:19px 26px}.ru-scale-icon{color:#075fae;background:#d9edff;border-radius:17px;flex:none;place-items:center;width:54px;height:54px;display:grid}.ru-scale>div:nth-child(2){gap:1px;display:grid}.ru-scale strong{color:var(--ru-ink);letter-spacing:-.035em;font-size:1.43rem}.ru-scale>div span{color:var(--ru-muted);font-size:.82rem}.ru-scale p{color:var(--ru-muted);margin:0 0 0 auto;font-size:.93rem}.ru-scale small{color:#7b8da0;white-space:nowrap;align-self:end;font-size:.68rem}.ru-pain,.ru-workflow{padding:108px 0 0}.ru-section-heading{text-align:center;max-width:690px;margin:0 auto 35px}.ru-section-heading .ru-eyebrow{justify-content:center}.ru-section-heading h2,.ru-data h2,.ru-final-cta h2{color:var(--ru-ink);letter-spacing:-.055em;margin:0;font-size:clamp(2rem,4vw,3.3rem);line-height:1.12}.ru-section-heading>p:last-child{color:var(--ru-muted);margin:13px 0 0;font-size:1rem;line-height:1.7}.ru-pain-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.ru-pain-card{border:1px solid #0000;border-radius:24px;min-height:194px;padding:24px 25px}.ru-pain-mint{background:#edf6ff;border-color:#d8e9f8}.ru-pain-yellow{background:#f0f9ff;border-color:#d7eefa}.ru-pain-coral{background:#f5f9ff;border-color:#e0e9f3}.ru-card-icon{width:44px;height:44px;color:var(--ru-primary);background:#fff;border-radius:15px;place-items:center;display:grid;box-shadow:0 4px 12px #10427114}.ru-pain-yellow .ru-card-icon{color:#0872c7}.ru-pain-coral .ru-card-icon{color:#377eae}.ru-pain-card h3{color:var(--ru-ink);margin:19px 0 7px;font-size:1.12rem}.ru-pain-card p{max-width:290px;color:var(--ru-muted);margin:0;font-size:.9rem;line-height:1.7}.ru-workflow{padding-top:112px}.ru-steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;display:grid}.ru-step{background:#fff;border:1px solid #e0eaf4;border-radius:24px;min-height:255px;padding:20px 22px 24px;position:relative;box-shadow:0 12px 32px #10427112}.ru-step-top{color:#8299af;justify-content:space-between}.ru-step-top>span{letter-spacing:.08em;font-size:.8rem;font-weight:800}.ru-step-visual{aspect-ratio:1;object-fit:contain;border-radius:16px;width:min(100%,220px);margin:15px auto 17px}.ru-step h3{margin:0 0 7px;font-size:1.13rem}.ru-step p{max-width:280px;color:var(--ru-muted);margin:0;font-size:.88rem;line-height:1.65}.ru-step-arrow{z-index:1;color:var(--ru-primary);background:#fff;border-radius:50%;padding:3px;position:absolute;top:50%;right:-20px}.ru-data{background:linear-gradient(125deg,#eaf5ff,#f5faff 65%,#f8fbff);border:1px solid #d5e7f7;border-radius:34px;grid-template-columns:minmax(0,.9fr) minmax(340px,1fr);align-items:center;gap:clamp(35px,8vw,110px);margin-top:112px;padding:clamp(30px,6vw,66px);display:grid}.ru-data-copy .ru-eyebrow{margin-bottom:15px}.ru-data h2{font-size:clamp(2rem,3.4vw,2.9rem)}.ru-data-copy>p:last-child{max-width:470px;color:var(--ru-muted);margin:16px 0 0;font-size:.98rem;line-height:1.75}.ru-destinations{gap:13px;display:grid}.ru-destination{background:#fff;border:1px solid #e2eaf2;border-radius:18px;gap:14px;min-height:76px;padding:13px 16px;box-shadow:0 5px 18px #1042710f}.ru-destination-icon{color:#0872c7;background:#e8f4ff;border-radius:14px;flex:none;place-items:center;width:46px;height:46px;display:grid}.ru-sheets .ru-destination-icon{color:#0872c7;background:#e8f4ff}.ru-destination>div:nth-child(2){gap:2px;display:grid}.ru-destination strong{font-size:.98rem}.ru-destination span{color:var(--ru-muted);font-size:.79rem}.ru-destination>svg{color:#198754;margin-left:auto}.ru-data-flow{color:var(--ru-muted);justify-content:space-between;gap:10px;font-size:.77rem;display:flex}.ru-data-flow span:before{color:var(--ru-primary);content:"✦";margin-right:7px}.ru-final-cta{background:linear-gradient(120deg,#e7f3ff,#f5faff);border:1px solid #d5e7f7;border-radius:26px;align-items:center;gap:22px;margin-top:90px;padding:28px 34px;display:flex}.ru-final-cta>img{object-fit:contain;width:72px;height:72px}.ru-final-cta .ru-eyebrow{margin-bottom:7px}.ru-final-cta h2{font-size:clamp(1.6rem,3vw,2.25rem)}.ru-final-cta .ru-button{flex:none;margin-left:auto}.ru-footer{color:var(--ru-muted);border-top:1px solid #e0eaf4;grid-template-columns:1fr auto;gap:12px 24px;margin-top:44px;padding:24px 0 6px;font-size:.82rem;display:grid}.ru-footer nav{flex-wrap:wrap;gap:18px}.ru-footer small{color:#7b8da0;grid-column:1/-1;font-size:.75rem}@media (max-width:800px){.ru-hero{grid-template-columns:minmax(0,1fr) minmax(280px,.85fr);gap:22px;min-height:480px}.ru-hero-art{aspect-ratio:3/2;border-radius:24px}.ru-scale{flex-wrap:wrap}.ru-scale p{width:calc(100% - 70px);margin-left:70px}.ru-scale small{margin-left:auto}.ru-data{grid-template-columns:1fr 1fr;gap:28px;padding:34px}}@media (max-width:620px){.ru-landing{width:min(100% - 28px,460px);padding-top:9px}.ru-header{min-height:50px}.ru-brand{width:168px;height:123px}.ru-brand img{width:168px;height:168px;top:-8px}.ru-nav{gap:13px;font-size:.76rem}.ru-nav>a:not(.ru-login){display:none}.ru-login{padding:8px 14px}.ru-hero{grid-template-columns:1fr;gap:18px;min-height:auto;padding:51px 0 36px}.ru-hero h1{font-size:clamp(3.25rem,17vw,5rem)}.ru-hero-definition{margin-top:17px;font-size:.98rem}.ru-hero-actions{gap:9px 15px;margin-top:22px}.ru-button{min-height:45px;padding-inline:17px;font-size:.88rem}.ru-hero-note{margin-top:16px;font-size:.77rem}.ru-hero-art{aspect-ratio:3/2;border-radius:21px}.ru-scale{border-radius:19px;gap:10px;padding:16px}.ru-scale-icon{border-radius:14px;width:45px;height:45px}.ru-scale strong{font-size:1.2rem}.ru-scale>div span{font-size:.73rem}.ru-scale p{width:100%;margin:2px 0 0;font-size:.83rem}.ru-scale small{width:100%;margin:0;font-size:.65rem}.ru-pain,.ru-workflow{padding-top:74px}.ru-section-heading{margin-bottom:24px}.ru-section-heading h2,.ru-data h2{font-size:2rem}.ru-section-heading>p:last-child{font-size:.89rem}.ru-pain-grid{grid-template-columns:1fr;gap:10px}.ru-pain-card{grid-template-columns:46px 1fr;align-items:center;column-gap:14px;min-height:0;padding:17px;display:grid}.ru-card-icon{grid-row:span 2}.ru-pain-card h3{margin:0 0 3px;font-size:1rem}.ru-pain-card p{max-width:none;font-size:.81rem}.ru-steps{grid-template-columns:1fr;gap:10px}.ru-step{grid-template-columns:100px 1fr;align-items:center;column-gap:14px;min-height:0;padding:14px 16px;display:grid}.ru-step-top{grid-column:1/-1}.ru-step-visual{border-radius:16px;grid-row:span 2;width:100px;height:100px;margin:0}.ru-step h3{align-self:end;margin:0 0 3px;font-size:.98rem}.ru-step p{align-self:start;font-size:.81rem}.ru-step-arrow{top:auto;bottom:-18px;right:18px;transform:rotate(90deg)}.ru-data{border-radius:25px;grid-template-columns:1fr;gap:22px;margin-top:74px;padding:25px 19px}.ru-data h2{font-size:1.95rem}.ru-data-copy>p:last-child{font-size:.88rem}.ru-destination{min-height:68px;padding:10px 12px}.ru-final-cta{border-radius:22px;grid-template-columns:52px 1fr;gap:13px;margin-top:58px;padding:20px 16px;display:grid}.ru-final-cta>img{width:52px;height:52px}.ru-final-cta h2{font-size:1.47rem}.ru-final-cta .ru-button{grid-column:1/-1;width:100%;margin:0}.ru-footer{grid-template-columns:1fr;gap:13px;margin-top:30px;font-size:.77rem}.ru-footer nav{gap:12px}.ru-footer small{grid-column:auto;line-height:1.55}}@media (max-width:960px){.platform-admin-frame{grid-template-columns:220px minmax(0,1fr)}.platform-metric-grid,.platform-plan-form-grid,.platform-price-publish-form,.platform-add-admin{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:680px){.package-account-summary{flex-direction:column;align-items:flex-start;padding:16px}.package-account-metrics{width:100%}.package-account-metrics span{flex:1}.package-payment-history article{grid-template-columns:1fr auto;gap:5px 10px}.package-payment-history article>b,.package-payment-history article>a{justify-self:end}.platform-admin-frame{display:block}.platform-admin-sidebar{display:none}.platform-admin-topbar{min-height:62px;padding-inline:15px}.platform-admin-topbar-actions{gap:8px}.platform-admin-topbar-actions a{display:none}.platform-admin-topbar-actions button{min-height:36px;padding-inline:9px;font-size:.82rem}.platform-admin-content{padding:20px 14px 96px}.platform-page{gap:16px}.platform-page-header p{font-size:.9rem}.platform-metric-grid{gap:9px}.platform-metric-grid article{padding:14px}.platform-metric-grid article strong{font-size:1.45rem}.platform-quick-links{padding:16px}.platform-quick-links>div{grid-template-columns:1fr}.platform-plan-editor{gap:14px;padding:16px}.platform-billing-vat-editor{gap:12px;padding:17px}.platform-vat-form{grid-template-columns:1fr;gap:12px}.platform-vat-submit,.platform-vat-submit button{width:100%}.platform-plan-form-grid{grid-template-columns:1fr 1fr;gap:10px}.platform-plan-form-grid label{font-size:.8rem}.platform-plan-toggles{flex-direction:column;align-items:flex-start}.platform-price-publish-form,.platform-add-admin{grid-template-columns:1fr 1fr;padding:12px}.platform-credit-admin{gap:14px;padding:16px}.platform-section-heading{flex-direction:column;align-items:flex-start;gap:6px}.platform-section-heading p{font-size:.8rem}.platform-credit-admin-grid{grid-template-columns:minmax(0,1fr)}.platform-plan-credit-discount{grid-template-columns:minmax(0,1fr);gap:8px;padding:12px}.platform-plan-credit-discount button{width:100%}.platform-plan-credit-discount>label:last-of-type{width:fit-content;min-height:36px}.platform-admin-user-list article{grid-template-columns:1fr auto;gap:8px}.platform-credit-adjustment{grid-template-columns:1fr 1fr}.platform-credit-adjustment>div,.platform-admin-user-list article>div{grid-column:1/-1}.platform-admin-mobile-nav{z-index:30;padding:7px 4px max(7px, env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#fffffff2;border-top:1px solid #e1e7e5;grid-template-columns:repeat(5,minmax(0,1fr));display:grid;position:fixed;bottom:0;left:0;right:0}.platform-admin-mobile-nav a{color:#718093;text-align:center;justify-items:center;gap:2px;min-width:0;text-decoration:none;display:grid}.platform-admin-mobile-nav a>span{font-size:1.1rem;line-height:1.2}.platform-admin-mobile-nav small{text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:.62rem;overflow:hidden}.platform-admin-mobile-nav a[aria-current=page]{color:#08794a;font-weight:700}}select:not([multiple]){appearance:none;border-color:var(--border);background-color:var(--surface);background-image:linear-gradient(45deg, transparent 42%, var(--muted) 43%, var(--muted) 57%, transparent 58%), linear-gradient(135deg, transparent 42%, var(--muted) 43%, var(--muted) 57%, transparent 58%);color:var(--text);background-position:calc(100% - 14px),calc(100% - 9px);background-repeat:no-repeat;background-size:7px 5px,7px 5px;border-radius:10px;padding-right:34px}select:not([multiple]):hover:not(:disabled),select:not([multiple]):focus-visible{border-color:var(--primary)}select:not([multiple]):focus-visible{outline:3px solid color-mix(in srgb, var(--primary) 16%, transparent);outline-offset:1px}select:not([multiple]):disabled{cursor:not-allowed;opacity:.6}.line-team-card{border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow);border-radius:22px;gap:0;display:grid;overflow:hidden}.line-team-card-header{border-bottom:1px solid var(--border);background:linear-gradient(120deg,#f0f8ed 0%,#fff 72%);grid-template-columns:58px minmax(0,1fr) auto;align-items:center;gap:16px;padding:22px 24px;display:grid}.line-team-group-avatar,.line-team-member-avatar{color:#08794a;background:#e9f6e9;border:1px solid #dce9df;flex:none;place-items:center;font-weight:800;display:grid;overflow:hidden}.line-team-group-avatar{border-radius:18px;width:58px;height:58px;font-size:24px}.line-team-group-avatar img,.line-team-member-avatar img{object-fit:cover;width:100%;height:100%}.line-team-group-title{min-width:0}.line-team-group-title .eyebrow{color:#08794a;letter-spacing:.08em;text-transform:uppercase;margin:0 0 4px;font-size:11px;font-weight:800}.line-team-group-title h2{text-overflow:ellipsis;margin:0;font-size:19px;line-height:1.35;overflow:hidden}.line-team-group-meta{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin:5px 0 0;font-size:12px;overflow:hidden}.line-team-status,.line-team-role{border:1px solid var(--border);color:#66716d;white-space:nowrap;background:#f5f6f5;border-radius:999px;justify-content:center;align-items:center;min-height:28px;padding:4px 10px;font-size:12px;font-weight:750;display:inline-flex}.line-team-status.is-active{color:#08794a;background:#eaf8ed;border-color:#cce8d3}.line-team-stats{color:var(--muted);flex-wrap:wrap;gap:12px;padding:16px 24px 8px;font-size:13px;display:flex}.line-team-stats span{background:#fbfdfb;border:1px solid #e8eee9;border-radius:12px;align-items:baseline;gap:6px;padding:8px 12px;display:inline-flex}.line-team-stats strong{color:var(--text);font-size:17px}.line-team-members-heading{justify-content:space-between;align-items:center;gap:12px;padding:14px 24px 8px;display:flex}.line-team-members-heading h3{margin:0;font-size:14px}.line-team-members-heading>span{color:var(--muted);font-size:12px}.line-team-members-tools{align-items:center;gap:10px;display:flex}.line-team-sync-button{color:#454bc3;cursor:pointer;min-height:36px;font:inherit;transition:background var(--motion-fast) ease, border-color var(--motion-fast) ease;background:#f2f3ff;border:1px solid #d9dcf6;border-radius:10px;padding:7px 12px;font-size:12px;font-weight:750}.line-team-sync-button:hover:not(:disabled){background:#e9eaff;border-color:#b9bef1}.line-team-sync-button:focus-visible{outline-offset:2px;outline:3px solid #454bc32e}.line-team-sync-button:disabled{cursor:wait;opacity:.65}.line-team-member{transition:border-color var(--motion-fast) ease, box-shadow var(--motion-fast) ease;background:#fff;border:1px solid #eceeed;border-radius:16px;grid-template-columns:minmax(0,1fr) minmax(210px,.8fr);align-items:center;gap:18px;margin:8px 16px 0;padding:14px 16px;display:grid}.line-team-member:last-child{margin-bottom:16px}.line-team-member:hover{border-color:#cfe4d2;box-shadow:0 5px 16px #194a2c0f}.line-team-member-main{align-items:center;gap:12px;min-width:0;display:flex}.line-team-member-avatar{background:#f0f5f0;border-radius:50%;width:42px;height:42px;font-size:16px}.line-team-member-info{min-width:0}.line-team-member-info h4{text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:14px;overflow:hidden}.line-team-member-info p{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;align-items:center;gap:6px;margin:5px 0 0;font-size:12px;display:flex;overflow:hidden}.line-team-member-presence{background:#b9bfbb;border-radius:50%;flex:none;width:7px;height:7px}.line-team-member-presence.is-active{background:#16a05d;box-shadow:0 0 0 3px #e1f4e8}.line-team-member-actions{justify-content:flex-end;align-items:center;gap:12px;display:flex}.line-team-role.is-admin{color:#454bc3;background:#f0f0ff;border-color:#d7d9f7}.line-team-role-editor{align-items:flex-end;gap:8px;display:flex}.line-team-role-editor label{color:var(--muted);gap:4px;font-size:11px;font-weight:700;display:grid}.line-team-role-editor select{min-width:128px;min-height:38px;padding:7px 30px 7px 10px;font-size:13px}.line-team-role-editor .primary-button{white-space:nowrap;min-height:38px;padding:8px 12px;font-size:12px}.line-team-empty{text-align:center;background:#fbfdfb;border:1px dashed #d8e3d9;border-radius:16px;margin:8px 16px 16px;padding:20px}.line-team-empty p{color:var(--muted);margin:6px 0 0;font-size:13px}@media (max-width:680px){.line-team-card-header{grid-template-columns:48px minmax(0,1fr);gap:12px;padding:18px 16px}.line-team-group-avatar{border-radius:15px;width:48px;height:48px;font-size:20px}.line-team-group-title h2{font-size:17px}.line-team-status{grid-column:2;justify-self:start;margin-top:-4px}.line-team-stats{gap:8px;padding:14px 16px 6px}.line-team-stats span{padding:7px 10px;font-size:12px}.line-team-members-heading{padding:12px 16px 6px}.line-team-members-tools{flex-wrap:wrap;justify-content:flex-end}.line-team-member{grid-template-columns:minmax(0,1fr);gap:12px;margin-left:10px;margin-right:10px;padding:12px}.line-team-member-actions{justify-content:space-between;padding-left:54px}.line-team-role-editor{flex:1;justify-content:flex-end}.line-team-role-editor label{flex:1;max-width:180px}}
