@font-face{font-family:prompt;src:url(../media/prompt_400-s.p.14e01467r8yic.ttf)format("truetype");font-display:swap;font-weight:400;font-style:normal}@font-face{font-family:prompt;src:url(../media/prompt_500-s.p.3z3n3e2srpi8e.ttf)format("truetype");font-display:swap;font-weight:500;font-style:normal}@font-face{font-family:prompt;src:url(../media/prompt_600-s.p.1onimweiv5ftj.ttf)format("truetype");font-display:swap;font-weight:600;font-style:normal}@font-face{font-family:prompt;src:url(../media/prompt_700-s.p.2hvwtm30dyhse.ttf)format("truetype");font-display:swap;font-weight:700;font-style:normal}@font-face{font-family:prompt Fallback;src:local(Arial);ascent-override:95.99%;descent-override:37.16%;line-gap-override:0.0%;size-adjust:113.56%}.prompt_50e17bda-module__E9OU7a__className{font-family:prompt,prompt Fallback}.prompt_50e17bda-module__E9OU7a__variable{--font-prompt:"prompt", "prompt Fallback"}
:root{--canvas:#fcfaf7;--surface:#fff;--surface-soft:#f7faf7;--text:#202735;--muted:#7a8290;--border:#e7e6e8;--primary:#06c755;--primary-soft:#e6f9ed;--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-prompt), "Noto Sans Thai", sans-serif;margin:0}.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:#087f43;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:#176b4f;border:1px solid #c9e8df;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%,720px);min-height:100dvh;margin:0 auto;padding:12px 16px 88px}.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}.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:min(72dvh,560px);box-shadow:var(--shadow);text-align:center;background:radial-gradient(circle at 50% 22%,#ffffffd1,#0000 38%),linear-gradient(145deg,#effbf5,#e5f7f0);border:1px solid #c9e8df;border-radius:28px;align-content:center;justify-items:center;gap:10px;padding:48px 24px;display:grid}.line-login-loading-logo{background:#ffffffb8;border:1px solid #14755e24;border-radius:38px;place-items:center;width:124px;height:124px;margin-bottom:10px;display:grid;box-shadow:0 14px 34px #14755e21}.line-login-loading-logo .richup-logo,.line-login-loading-logo .richup-logo-image{width:92px;height:92px}.line-login-loading h1{color:var(--primary);font-size:clamp(22px,4vw,30px)}.line-login-progress{background:#14755e21;border-radius:999px;width:132px;height:6px;margin-top:12px;overflow:hidden}.line-login-progress span{border-radius:inherit;background:var(--primary);width:42%;height:100%;display:block}.line-login-fallback{gap:20px;display:grid}.settings-note{color:var(--muted);background:#f3fbf7;border:1px solid #d9eee7;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:52px;padding:16px 14px 10px}.mobile-app-header .company-switcher strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.company-menu>button,.add-company-link{min-height:56px;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:8px 14px;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:30px;height:30px;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);font-size:24px}.welcome-card,.section-card{border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow);border-radius:20px;margin-top:20px;padding:20px}.welcome-card{background:var(--primary-soft);border-color:#c9e8df}.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{background:#eeefec;border-radius:14px;grid-template-columns:repeat(3,1fr);gap:4px;margin:20px 0;padding:4px;display:grid}.segmented-control button{min-height:40px;color:var(--muted);border-radius:10px;font-weight:700}.segmented-control .selected{background:var(--surface);color:var(--primary);box-shadow:0 2px 6px #20273514}.summary-grid{grid-template-columns:repeat(2,1fr);gap:12px;display:grid}.summary-card{border:1px solid var(--border);text-align:left;background:var(--surface);min-height:120px;box-shadow:var(--shadow);border-radius:18px;padding:16px}.summary-card span{color:var(--muted);display:block}.summary-card strong{margin-top:12px;font-size:18px;display:block}.summary-card.income{background:var(--income-soft);color:var(--income);border-color:#c8ebd8}.summary-card.expense{background:var(--danger-soft);color:var(--danger);border-color:#f2d0d0}.summary-card.pending-receipt{color:#23649c;background:#f1f7ff;border-color:#d3e3f7}.summary-card.pending-payment{color:#9a6514;background:#fff7e9;border-color:#f4dfb4}.section-heading{justify-content:space-between}.text-button{color:var(--primary);font-weight:700}.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 #06c7554d}.page-shell{width:min(100% - 32px,760px);min-height:100dvh;margin:0 auto;padding:24px 0 88px}.page-header{justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px;display:flex}.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 #06c75538}.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 #06c75538}.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 #06c75538}.capture-field-wide{grid-column:1/-1}.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 #06c75538}.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 #06c75538}.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 #06c75529}.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 #06c75538}.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{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 b{text-align:right;flex:none;margin:0}.record-list-section{gap:14px;display:grid}.record-list-toolbar{gap:10px;display:grid}.record-filter-tabs{background:#eff1ee;border:1px solid #e8eae7;border-radius:16px;grid-template-columns:repeat(4,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:active{transform:scale(.96)}.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}.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}.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:620px}.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}.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{gap:4px;display:flex}.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}.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}.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}.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-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-selection-note{color:var(--muted);margin:14px 0 0;font-size:13px;line-height:1.5}.record-documents-card{gap:14px}.record-document-list{gap:10px;display:grid}.record-document-row{border:1px solid var(--border);background:var(--canvas);border-radius:14px;justify-content:space-between;align-items:center;gap:14px;padding:14px 16px;display:flex}.record-document-row>div:first-child{gap:4px;min-width:0;display:grid}.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){.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-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 #c9e8df;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}.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 (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)}.login-brand .richup-logo-image{animation:richup-clipper-breathe 4.8s var(--motion-ease) infinite}.line-login-loading-logo{animation:richup-login-pulse 2.4s var(--motion-ease) infinite}.line-login-progress span{animation:richup-login-progress 1.6s 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){*,: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(-3px)rotate(1deg)}}@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%)}}@media (min-width:768px){.application-frame{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{grid-template-columns:80px minmax(0,1fr)}.desktop-sidebar{border-right:1px solid var(--border);background:var(--surface);height:100dvh;transition:padding var(--motion-standard) var(--motion-ease);flex-direction:column;gap:14px;padding:28px 16px;display:flex;position:sticky;top:0;overflow-y:auto}.sidebar-heading{justify-content:space-between;align-items:center;min-height:50px;display:flex}.sidebar-collapse-button{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}.sidebar-collapse-button:hover{background:var(--primary-soft);color:var(--primary)}.sidebar-collapse-button:active{transform: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:64px;padding:10px 12px}.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 8px;font-size:20px}.sidebar-label{color:var(--muted);margin:18px 8px 0;font-size:12px;font-weight:700}.sidebar-navigation{gap:4px;width:100%;display:grid}.sidebar-navigation a{min-height:48px;color:var(--muted);border-radius:12px;align-items:center;gap:12px;padding:0 12px;font-weight:700;display:flex}.sidebar-navigation a:hover,.sidebar-navigation a.active{background:var(--primary-soft);color:var(--primary)}.sidebar-navigation svg{flex:none;width:21px;height:21px}.sidebar-navigation .create-navigation-action{background:var(--primary);color:#fff;justify-content:center;margin:8px 0;box-shadow:0 8px 18px #06c75538}.sidebar-navigation .create-navigation-action span{font-size:26px;line-height:1}.account-menu-desktop{flex-direction:column;width:100%;margin-top:auto;display:flex}.account-menu-desktop .account-menu-trigger{border:1px solid var(--border);width:100%;color:var(--text);border-radius:14px;align-items:center;gap:10px;padding:10px;display:flex}.account-menu-desktop .account-popover{order:-1;width:100%;margin-bottom:8px;position:static}.user-summary-copy{min-width:0}.user-summary-copy strong,.user-summary-copy small{display:block}.user-summary-copy small{color:var(--muted);margin-top:2px;font-size:12px}.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-navigation a:not(.create-navigation-action)>span,.desktop-sidebar.sidebar-collapsed .sidebar-navigation .create-navigation-action strong{display:none}.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 .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{width:min(100% - 48px,1100px);padding-top:32px}.page-shell{width:min(100% - 48px,1100px);padding-top:32px;padding-bottom:48px}.summary-grid{grid-template-columns:repeat(4,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))}}
