:root{--ink:#193528;--muted:#738078;--green:#17633e;--teal:#17633e;--green-dark:#104d2f;--line:#e3eae3;--bg:#f5f8f4;--radius:15px}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;background:var(--bg);color:var(--ink);font:14px 'Segoe UI',Arial,sans-serif;line-height:1.5}button,input,select{font:inherit}button,a,input,select{transition:background .2s,border-color .2s,box-shadow .2s,transform .2s,color .2s}button{cursor:pointer;border:1px solid var(--line);border-radius:9px;padding:10px 16px;background:#fff;color:var(--ink);display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:41px}button:hover{background:#eff6ef;border-color:#bfd4c3}button:active{transform:scale(.98)}button:disabled{opacity:.55;cursor:wait}button:focus-visible,a:focus-visible{outline:3px solid #91c29a;outline-offset:3px}.primary{background:var(--green);color:#fff;border-color:var(--green);box-shadow:0 3px 6px #17633e0d}.primary:hover{background:var(--green-dark);border-color:var(--green-dark);box-shadow:0 5px 16px #17633e24;transform:translateY(-1px)}input,select{border:1px solid #d5dfd6;border-radius:9px;padding:11px 13px;background:#fff;width:100%;color:var(--ink);min-height:43px}input:focus,select:focus{outline:0;border-color:#53976a;box-shadow:0 0 0 3px #17633e13}input::placeholder{color:#97a197}input[type=checkbox],input[type=radio]{width:auto;min-height:0;accent-color:var(--green)}label{display:block;font-size:12px;font-weight:600;margin:15px 0 7px}h1{font-size:28px;letter-spacing:-.8px;margin:4px 0;line-height:1.3}h2{font-size:18px;letter-spacing:-.25px;margin:0 0 16px}h3{margin:0 0 10px;font-size:14px}.eyebrow{font-size:10px;letter-spacing:1.6px;color:var(--green);font-weight:700;margin:0 0 7px}.muted,small{color:var(--muted)}small{display:block;margin-top:5px;font-size:11px;line-height:1.5}a{color:var(--green);text-decoration:none}a:hover{color:var(--green-dark);text-decoration:underline}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.auth{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:#fff}.auth-story{background:linear-gradient(145deg,#123e2c 0%,#17633e 70%,#287846 100%);color:#fff;min-height:100vh;padding:42px 55px;display:flex;flex-direction:column;position:relative;overflow:hidden}.story-brand{display:flex;align-items:center;gap:20px;z-index:1}.story-logo{width:103px;height:76px;object-fit:contain;background:white;border-radius:12px;padding:4px}.story-brand span{font-weight:600;font-size:16px}.story-brand small{color:#b8d8c1;font-size:11px;font-weight:400}.story-copy{margin:auto 0;padding:65px 0 95px;position:relative;z-index:1;animation:rise .4s ease both}.story-tag{font-size:10px;letter-spacing:1.8px;font-weight:600;color:#c8e3cb}.story-tag .status-dot{background:#a4d794;box-shadow:0 0 0 4px #a4d79413}.story-copy h1{font-size:clamp(38px,4.2vw,61px);letter-spacing:-2px;font-weight:600;line-height:1.13;margin:25px 0 24px}.story-copy>p{font-size:15px;line-height:1.85;color:#d0e3d4;max-width:370px}.story-features{display:flex;flex-wrap:wrap;gap:9px;margin-top:32px}.story-features span{font-size:11px;border:1px solid #ffffff25;border-radius:30px;padding:7px 12px;color:#d7e8da;background:#ffffff05}.story-footer{display:flex;flex-direction:column;gap:5px;font-size:10px;color:#bed6c5;z-index:1}.story-orbit{position:absolute;width:580px;height:580px;border:1px solid #ffffff09;border-radius:50%;pointer-events:none;animation:float 18s ease-in-out infinite}.orbit-one{right:-350px;bottom:-220px}.orbit-two{right:-290px;bottom:-270px;animation-delay:-8s}.story-leaf{position:absolute;right:-85px;top:260px;width:230px;height:370px;border-radius:100% 0 100% 0;background:linear-gradient(140deg,#d1eeb510,transparent);transform:rotate(15deg);pointer-events:none;animation:leaf 20s ease-in-out infinite}.auth-form-area{display:flex;align-items:center;justify-content:center;padding:50px 30px;background:radial-gradient(ellipse at top right,#f1f7ed,transparent 65%)}.auth-card{width:370px;max-width:100%;animation:rise .35s .06s ease both}.welcome-line{display:flex;align-items:center;gap:15px;margin:10px 0}.welcome-line h2{font-size:33px;letter-spacing:-1px;margin:0;font-weight:600}.welcome-spark{color:#4c9951;width:28px;height:28px;animation:spark 1.2s .5s ease both}.auth-description{color:var(--muted);margin:10px 0 30px;font-size:13px}.auth-card label{font-size:12px;margin-top:18px}.auth-card input{padding:13px 14px;min-height:47px}.password-field{position:relative}.password-field input{padding-right:49px}.password-field button{position:absolute;right:4px;top:4px;padding:8px;border:0;background:transparent;width:39px;height:39px;min-height:0;color:#879589}.password-field button:hover{color:var(--green);background:#eef5ed}.login-submit{width:100%;justify-content:space-between;margin-top:26px;min-height:48px;padding:12px 17px}.login-submit svg{width:17px;height:17px}.form-error{font-size:12px;color:#aa4242;min-height:0}.form-error:empty{display:none}.auth-support{border-top:1px solid var(--line);margin-top:29px;padding-top:22px;display:flex;flex-direction:column;gap:6px;font-size:11px;color:var(--muted)}.auth-support a{font-size:12px;font-weight:600}.digital-credit{display:flex;align-items:center;gap:12px;margin-top:36px;color:#829082;font-size:11px}.digital-credit img{width:43px;height:43px;object-fit:contain;border-radius:50%}.digital-credit small{margin-top:2px;font-size:10px}#shell{display:flex;min-height:100vh}aside{width:249px;background:#fff;border-right:1px solid var(--line);padding:25px 19px 18px;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;z-index:2}.identity{display:flex;align-items:center;gap:11px;margin-bottom:31px}.sidebar-logo{width:67px;height:52px;object-fit:contain}.identity strong{display:block;font-size:14px;font-weight:650;line-height:1.35}.identity small{font-size:10px;margin-top:4px}.nav-heading{font-size:9px;letter-spacing:1.6px;color:#98a398;font-weight:600;margin:0 13px 10px}nav{display:grid;gap:4px}nav button{justify-content:flex-start;border:0;color:#708073;padding:12px 14px;min-height:45px;font-size:13px;background:transparent}nav button:hover{background:#f3f7f0;color:var(--green)}nav button.active{background:#e9f3e7;color:var(--green);font-weight:600}.nav-icon{display:inline-flex;align-items:center;justify-content:center;width:18px;height:20px;flex-shrink:0}.nav-icon svg{width:18px;height:18px}.aside-bottom{margin-top:auto;padding:20px 7px 0}.user-card{display:flex;align-items:center;gap:10px;padding:13px 0;border-top:1px solid var(--line)}.user-card strong{font-size:12px;display:block;max-width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-card small{font-size:10px;margin-top:2px}.avatar{display:grid;place-items:center;width:35px;height:35px;border-radius:11px;background:#e7f1e3;color:var(--green);font-size:12px;font-weight:600;flex-shrink:0}.sign-out{padding:7px 10px;min-height:34px;justify-content:flex-start;width:100%;font-size:11px;border:0;background:#f8faf7;color:var(--muted)}.sidebar-credit{display:flex;align-items:center;gap:9px;margin-top:22px;font-size:10px;color:#849184;line-height:1.45}.sidebar-credit img{width:31px;height:31px;border-radius:50%;object-fit:contain}.support-contact{display:block;font-size:10px;margin-top:12px}.local-status{font-size:9px;color:#9aab9b;margin-top:13px}.status-dot{display:inline-block;background:#4d9b56;width:6px;height:6px;border-radius:50%;margin-right:6px;vertical-align:middle}.local-status .status-dot{box-shadow:0 0 0 3px #4d9b560c}main{margin-left:249px;padding:31px 36px 20px;width:calc(100% - 249px);max-width:1640px;min-height:100vh;display:flex;flex-direction:column}header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:27px}.header-actions{display:flex;align-items:center;gap:15px}.date-chip{font-size:11px;color:var(--muted);background:#fff;padding:9px 12px;border:1px solid var(--line);border-radius:8px}.header-actions .primary{font-size:12px}.header-actions .primary span{font-size:18px;line-height:1}.main-footer{display:flex;justify-content:space-between;color:#a1aca0;font-size:9px;padding:25px 1px 0;margin-top:auto}.welcome-panel{background:linear-gradient(110deg,#e6f1df,#eff5e9);border:1px solid #dae7d5;border-radius:16px;padding:24px 27px;margin-bottom:24px;display:flex;align-items:center;justify-content:space-between;gap:20px;position:relative;overflow:hidden}.welcome-panel h2{font-size:23px;letter-spacing:-.7px;margin:5px 0 7px;line-height:1.3}.welcome-panel p{font-size:12px;color:#6d8269;margin:0}.welcome-label{font-size:9px;letter-spacing:1.7px;color:#659159;font-weight:700}.welcome-emblem{width:60px;height:60px;background:#ffffff95;border-radius:18px;display:grid;place-items:center;transform:rotate(-5deg);box-shadow:0 6px 16px #41763809}.welcome-emblem svg{width:32px;height:32px;color:#4a8053;stroke-width:1.2}.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:24px}.card,.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:22px;box-shadow:0 2px 5px #1e462003}.card{animation:rise .22s ease both}.card:nth-child(2){animation-delay:.06s}.card:nth-child(3){animation-delay:.06s}.card:nth-child(4){animation-delay:.09s}.card p{margin:0 0 13px;color:var(--muted);font-size:11px;display:flex;align-items:center;justify-content:space-between;gap:8px}.card p .nav-icon{color:#92ad8d}.card strong{font-size:24px;letter-spacing:-.8px;font-weight:600;line-height:1.35;display:block;overflow-wrap:anywhere}.card small{margin-top:10px;font-size:10px}.panel{margin-bottom:22px}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px}.toolbar input{max-width:360px}.toolbar select{max-width:210px}.toolbar h2{margin:0}.toolbar .muted{font-size:11px}table{width:100%;border-collapse:collapse;font-size:12px}th{text-align:left;font-size:10px;color:#8b998b;font-weight:600;background:#f7faf5;padding:12px}td{padding:14px 12px;border-bottom:1px solid #edf2e9}tbody tr{transition:background .2s}tbody tr:hover{background:#fbfdfa}td strong{font-weight:600}td button{font-size:11px;padding:6px 11px;min-height:29px}.right{text-align:right}.badge{display:inline-block;border-radius:5px;font-size:9px;padding:4px 8px;background:#eff3ed;color:#7e8b79}.badge.new{background:#e7f3e5;color:#3c7e3e}.badge.owner{background:#e9eefb;color:#546ca2}.badge.disabled{background:#f9eeee;color:#a66a6a}.pager{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:19px;color:var(--muted);font-size:11px}.pager button{font-size:11px;min-height:33px;padding:7px 12px}.grid2{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:22px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.full{grid-column:1/-1}.summary-row{display:flex;justify-content:space-between;gap:15px;padding:11px 0;border-bottom:1px solid var(--line);font-size:12px}.summary-row.total{font-weight:650;font-size:20px;padding:20px 0}.actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:20px}.empty{text-align:center;color:var(--muted);padding:45px;font-size:12px}.modal{position:fixed;inset:0;background:#16362470;backdrop-filter:blur(4px);z-index:10;display:flex;align-items:center;justify-content:center;padding:24px;animation:fade .2s ease}.modal-card{background:#fff;border-radius:18px;padding:28px;max-width:820px;width:100%;max-height:91vh;overflow:auto;box-shadow:0 20px 90px #17392425;animation:rise .25s ease}.close{float:right;border:0;font-size:24px;padding:0 7px;background:transparent;color:#899989;min-height:27px}.receipt{padding:24px}.receipt-head{border-bottom:2px solid var(--green);padding-bottom:18px;display:flex;justify-content:space-between;gap:20px}.receipt-head h2{color:var(--green);margin-bottom:4px}.receipt-meta{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:20px 0}.receipt-total{max-width:320px;margin:20px 0 20px auto}#notice{padding:13px 18px;background:#e6f3e1;color:#426b38;border:1px solid #d6e8cf;border-radius:10px;margin-bottom:18px;font-size:12px;animation:rise .25s ease}#notice.error{color:#a54747;background:#fbeeee;border-color:#f0dada}#print-area{display:none}.pdf-link{display:inline-block;text-decoration:none;border-radius:9px;padding:10px 16px;color:#fff}.pdf-link:hover{color:#fff;text-decoration:none}.backup-row{padding:12px 0;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:12px}.backup-row small{font-size:10px;overflow-wrap:anywhere}.backup-row a{font-size:11px}.scroll{overflow:auto}.search-result{display:flex;width:100%;text-align:left;justify-content:flex-start;margin:6px 0;font-size:12px}.line-qty{max-width:66px;padding:7px;min-height:33px}#restore-confirm{margin-right:8px}.page-enter{animation:rise .18s ease}.loading-state{padding:25px 0}.skeleton{height:95px;background:linear-gradient(90deg,#eaf0e6,#f5f8f2,#eaf0e6);background-size:200% 100%;border-radius:14px;animation:shimmer 1.4s linear infinite;margin-bottom:18px}.skeleton.tall{height:220px}.staff-intro{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px}.staff-intro p{font-size:12px;color:var(--muted);margin:5px 0}.staff-intro h2{margin:0}.staff-form .form-grid{margin-bottom:20px}.access-choice{display:flex;gap:12px;margin:15px 0}.access-choice label{border:1px solid var(--line);border-radius:10px;padding:13px 15px;margin:0;flex:1;display:flex;align-items:center;gap:9px;font-size:12px;cursor:pointer;background:#fafcf8}.access-choice label:has(input:checked){border-color:#6fa477;background:#edf5e9;color:var(--green)}.permission-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:8px 0}.permission-grid label{font-size:11px;font-weight:400;display:flex;align-items:center;gap:9px;margin:0;padding:10px 11px;border:1px solid var(--line);border-radius:8px;cursor:pointer}.permission-grid label:has(input:checked){background:#f2f7ed;border-color:#d4e3cb}.permission-note{font-size:10px;padding:12px 14px;background:#f5f8f2;border-radius:8px;color:#788871;margin:15px 0}.section-label{font-size:11px;font-weight:600;color:var(--green);margin:20px 0 10px}.status-toggle{display:flex;align-items:center;gap:9px;font-size:12px}.support-panel{background:#edf5e8;border-color:#d9e7d1}.support-panel a{font-size:19px;font-weight:600;display:block;margin:12px 0}.support-panel p{color:#7a8f72;font-size:12px}.welcome-empty{padding:30px;border:1px dashed #d0dfc9;border-radius:14px;background:#fafcf8;text-align:center}.welcome-empty h2{margin:0 0 8px}.welcome-empty p{font-size:12px;color:var(--muted)}@keyframes rise{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes fade{from{opacity:0}to{opacity:1}}@keyframes float{0%,100%{transform:translate(0,0) scale(1)}50%{transform:translate(-20px,-15px) scale(1.04)}}@keyframes leaf{0%,100%{transform:rotate(15deg)}50%{transform:rotate(23deg) translateY(12px)}}@keyframes spark{0%{transform:scale(.2) rotate(-30deg);opacity:0}65%{transform:scale(1.12) rotate(10deg);opacity:1}100%{transform:scale(1) rotate(0)}}@keyframes shimmer{to{background-position:-200% 0}}@media(max-height:780px) and (min-width:761px){aside{padding-top:18px}.identity{margin-bottom:22px}nav button{min-height:40px;padding:9px 13px}.sidebar-credit{margin-top:15px}.aside-bottom{padding-top:12px}.story-copy{padding:35px 0 50px}.auth-story{padding:30px 42px}}@media(max-width:1100px){.auth-story{padding:35px}.story-copy h1{font-size:43px}main{padding:27px 25px}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.grid2{grid-template-columns:1fr}.auth-form-area{padding:35px}.date-chip{display:none}}@media(max-width:760px){.auth{grid-template-columns:1fr}.auth-story{min-height:0;padding:22px 25px}.story-brand{gap:13px}.story-logo{width:68px;height:50px;border-radius:8px}.story-copy{padding:24px 0 10px;margin:0}.story-copy h1{font-size:30px;letter-spacing:-1px;margin:10px 0}.story-copy h1 br{display:none}.story-copy>p,.story-features,.story-footer,.story-leaf{display:none}.auth-form-area{padding:35px 25px}.auth-card{width:400px}.welcome-line h2{font-size:29px}aside{position:static;width:100%;padding:16px 19px}.identity{margin-bottom:12px}.sidebar-logo{width:55px;height:40px}.nav-heading{display:none}nav{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}nav button{padding:8px;font-size:11px;min-height:37px;gap:7px}.aside-bottom{display:none}#shell{display:block}main{margin:0;width:100%;padding:22px 18px}header{margin-bottom:20px}.cards{gap:10px}.card{padding:17px}.card strong{font-size:23px}.panel{padding:18px}.toolbar{flex-wrap:wrap;gap:12px}.toolbar input{max-width:none}.welcome-panel{padding:20px}.welcome-panel h2{font-size:21px}.welcome-emblem{width:44px;height:44px}.welcome-emblem svg{width:25px;height:25px}.form-grid,.permission-grid{grid-template-columns:1fr}.full{grid-column:auto}.modal{padding:13px}.modal-card{padding:23px 20px}.receipt{padding:0}.receipt-head{flex-wrap:wrap}.staff-intro{align-items:flex-start}.main-footer{font-size:8px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}@media print{body{background:#fff}#shell,#login,#modal{display:none!important}#print-area{display:block}#print-area .receipt{padding:0}table{font-size:11px}tr{break-inside:avoid}thead{display:table-header-group}.receipt-total{break-inside:avoid}@page{size:Letter;margin:0}}


.report-editor{min-width:720px}.report-editor td{vertical-align:top}.report-editor input:not([type=checkbox]),.report-editor textarea{width:100%;min-width:70px}.report-editor td:nth-child(2){width:28%}.report-editor td:nth-child(4){width:13%}.report-editor textarea{min-height:65px;resize:vertical}.report-scroll{max-height:52vh}#report-note{width:100%;min-height:65px}input[type=checkbox]{width:18px;height:18px}
/* Calm surfaces, deliberate motion and a compact workspace. */
:root{--bg:#f6f8f5;--line:#e5ebe4;--radius:18px;--ease:cubic-bezier(.2,.75,.25,1)}
html{scroll-behavior:smooth}button,input,select,textarea{font:inherit}textarea{color:var(--ink);background:#fff;border:1px solid #d5dfd6;border-radius:10px;padding:11px 13px;line-height:1.55;transition:border-color .2s,box-shadow .2s}textarea:focus{outline:0;border-color:#53976a;box-shadow:0 0 0 3px #17633e13}button:disabled{cursor:not-allowed}button:not(:disabled):active{transform:scale(.97)}button:disabled:hover{transform:none}input:disabled,textarea:disabled,select:disabled{opacity:1;background:#f7f9f5;color:#536557;-webkit-text-fill-color:#536557}button, .pdf-link{font-weight:500}h1,h2{font-weight:620}aside{background:linear-gradient(180deg,#fff 75%,#fafcf8);overflow-y:auto}nav button{position:relative;border-radius:11px;transition:background .22s,color .22s,transform .25s var(--ease)}nav button:hover{transform:translateX(3px)}nav button.active::before{content:'';position:absolute;left:0;top:14px;bottom:14px;width:3px;background:var(--green);border-radius:5px;animation:scale-in .25s var(--ease)}nav button.active .nav-icon{animation:icon-in .3s var(--ease)}
header{position:relative;padding-bottom:6px}header::after{content:'';height:2px;background:var(--green);position:absolute;left:0;bottom:-10px;border-radius:5px;width:0;opacity:0}body:has(#content[aria-busy=true]) header::after{width:35%;opacity:.5;animation:loading-line 1s ease-in-out infinite}.header-actions{gap:10px}.workspace-tools{display:flex;align-items:center;gap:6px}.workspace-tools button{min-height:36px;padding:8px 10px;background:transparent;border-color:transparent;color:#7e8e7f;font-size:11px}.workspace-tools button:hover{background:#edf3e9;border-color:#dbe6d5;color:var(--green)}.workspace-tools svg{width:16px;height:16px}kbd{font:9px 'Segoe UI',sans-serif;border:1px solid #e2e8de;border-radius:4px;padding:1px 4px;color:#99a294;white-space:nowrap}#mobile-signout{display:none}#refresh-page:hover svg{transform:rotate(35deg)}#refresh-page svg{transition:transform .35s var(--ease)}
.welcome-panel{padding:28px 30px;border-radius:20px;background:linear-gradient(115deg,#e5efdd 0%,#f0f5e9 72%);border-color:#dfe9d8}.welcome-panel::after{content:'';position:absolute;right:-60px;top:-90px;width:230px;height:230px;border:1px solid #5f8e3910;border-radius:50%;pointer-events:none}.welcome-emblem{animation:emblem-drift 8s ease-in-out infinite}.welcome-panel h2{font-size:26px;letter-spacing:-.9px}.quick-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0 0 24px}.quick-action{justify-content:flex-start;gap:13px;background:#fff;border-radius:15px;padding:17px 18px;text-align:left;border-color:var(--line);box-shadow:0 2px 4px #24462802;transition:transform .25s var(--ease),box-shadow .25s,border-color .25s}.quick-action:hover{transform:translateY(-3px);box-shadow:0 8px 22px #24462808;border-color:#bed2b6;background:#fff}.quick-action strong,.tool-result strong{display:block;font-size:12px;font-weight:600}.quick-action small,.tool-result small{font-size:10px;font-weight:400;margin-top:3px}.quick-symbol{width:36px;height:36px;flex-shrink:0;border-radius:11px;display:grid;place-items:center;background:#f0f5eb;color:#5d8757}.quick-symbol svg{width:19px;height:19px}.quick-arrow{margin-left:auto;color:#a2b49b;font-size:16px}.card{padding:23px;position:relative;transition:transform .25s var(--ease),box-shadow .25s;border-color:#e6ece2}.card:hover{transform:translateY(-3px);box-shadow:0 9px 25px #25482007}.card strong{font-variant-numeric:tabular-nums;font-size:28px}.card p{font-size:11px}.panel{box-shadow:0 3px 16px #1d492504}.toolbar input{background:#fbfcf9}.toolbar input:focus{background:#fff}.scroll{scrollbar-width:thin;scrollbar-color:#d6e0d1 transparent}th{letter-spacing:.15px;font-size:10px;background:#f6f9f3;padding:13px 12px}td{padding:15px 12px}tbody tr{transition:background .2s}tbody tr:hover{background:#f4f9ef80}.badge{padding:4px 9px;border-radius:6px}.empty.compact{padding:28px 12px}.pager button:disabled{opacity:.4}.pdf-link{display:inline-flex;align-items:center;justify-content:center;min-height:41px;border:1px solid var(--line);background:#f0f5ec;color:var(--green);font-size:12px}.pdf-link:hover{background:#e6f0df;color:var(--green-dark);border-color:#bfd4b5}.pdf-link.primary{color:#fff;background:var(--green);border-color:var(--green)}.pdf-link.primary:hover{background:var(--green-dark);color:#fff}.modal-card{border:1px solid #ffffff80;border-radius:22px;padding:30px;animation:dialog-in .28s var(--ease);scrollbar-width:thin}.modal{background:#132c2259;backdrop-filter:blur(6px)}body:has(.modal:not([hidden])){overflow:hidden}.close{border-radius:50%;width:30px;height:30px;padding:0;position:sticky;top:0;z-index:2;background:#f3f6f0}.close:hover{background:#e7efdf}.receipt-head h2{font-size:20px}.report-editor th{position:sticky;top:0;z-index:1}.report-editor td{padding:10px 7px}.report-editor input,.report-editor textarea{font-size:12px}.report-editor textarea{min-height:70px}.report-editor input[data-field=group_name]{margin-top:7px;font-size:10px;background:#f7faf4}.report-editor .remove-result{min-width:25px;padding:5px}.report-editor input[type=checkbox]{margin-top:14px}.actions .primary{min-height:42px}.tool-results{display:grid;gap:5px;margin-top:15px;max-height:52vh;overflow:auto}.tool-result{width:100%;justify-content:flex-start;text-align:left;gap:13px;padding:11px;border-color:transparent;border-radius:12px}.tool-result:hover{border-color:#dae6d1;background:#f5f9f0}.finder-heading h2{font-size:23px;margin:7px 0 22px}.finder-hint{font-size:10px;color:#97a18f;margin:16px 0 0}#notice{position:relative;box-shadow:0 4px 14px #214b2305}.saving::after{content:'';width:12px;height:12px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:spin .65s linear infinite;flex-shrink:0}.page-enter{animation:page-in .32s var(--ease)}.page-enter .panel,.page-enter .card{animation:surface-in .4s var(--reveal-delay,0ms) var(--ease) both}.auth-card{animation:dialog-in .5s .08s var(--ease) both}.story-features span{animation:surface-in .6s var(--ease) both}.story-features span:nth-child(2){animation-delay:.1s}.story-features span:nth-child(3){animation-delay:.2s}.login-submit:hover svg{transform:translateX(3px)}.login-submit svg{transition:transform .25s}.auth-card input{background:#fcfdfb}.auth-card input:focus{background:#fff}
@keyframes page-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}@keyframes surface-in{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:none}}@keyframes dialog-in{from{opacity:0;transform:translateY(12px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes scale-in{from{transform:scaleY(.2)}to{transform:scaleY(1)}}@keyframes icon-in{from{transform:scale(.85)}to{transform:scale(1)}}@keyframes loading-line{0%{transform:translateX(0);opacity:0}30%{opacity:.5}100%{transform:translateX(180%);opacity:0}}@keyframes emblem-drift{0%,100%{transform:rotate(-5deg) translateY(0)}50%{transform:rotate(3deg) translateY(-4px)}}@keyframes spin{to{transform:rotate(360deg)}}
@media(min-width:1500px){main{padding-left:44px;padding-right:44px}.welcome-panel{padding:32px}.quick-action{padding:20px}}@media(max-width:1250px){#find-tool kbd{display:none}.date-chip{display:none}.quick-action{padding:14px 12px;gap:9px}.quick-action small{font-size:9px}}@media(max-width:900px){#find-tool span{display:none}.quick-actions{gap:9px}.quick-arrow{display:none}.quick-symbol{width:30px;height:30px}.quick-action strong{font-size:11px}}@media(max-width:760px){aside{overflow:visible;border-bottom:1px solid var(--line);border-right:0}nav{display:flex;overflow:auto;scrollbar-width:none;gap:5px;padding:2px 0 5px}nav button{flex-shrink:0;padding:10px 12px;border:1px solid #edf2e9}nav button.active::before{display:none}nav button:hover{transform:none}.identity{margin-bottom:15px}.header-actions{gap:5px}.header-actions #new-bill{min-height:36px;padding:8px 10px}.workspace-tools{gap:2px}.workspace-tools button{padding:8px;min-width:32px}#mobile-signout{display:inline-flex}h1{font-size:24px}.quick-actions{grid-template-columns:1fr;gap:8px;margin-bottom:18px}.quick-action{padding:12px 15px}.quick-action small{font-size:10px}.quick-arrow{display:block}.quick-symbol{width:34px;height:34px}.welcome-panel{padding:22px}.welcome-panel h2{font-size:23px}.card strong{font-size:24px}.cards{margin-bottom:18px}.modal-card{padding:24px 18px}.page-enter .panel{animation-delay:0ms}.main-footer{gap:10px}.access-choice{flex-direction:column}.toolbar select{max-width:none}.panel .toolbar h2{font-size:16px}.staff-intro{flex-wrap:wrap}.receipt-meta{grid-template-columns:1fr}.pager{flex-wrap:wrap}.auth-form-area{padding-bottom:45px}.report-scroll{max-height:45vh}}@media(max-width:400px){main{padding:20px 13px}header{gap:4px}.header-actions #new-bill span{display:none}.header-actions #new-bill{font-size:11px}h1{font-size:21px}.card{padding:16px}.card strong{font-size:21px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.quick-action:hover,.card:hover,nav button:hover{transform:none}}@media print{.workspace-tools,.quick-actions{display:none!important}}

aside{scrollbar-width:thin;scrollbar-color:#d9e3d2 transparent}.identity{gap:8px}.sidebar-logo{width:58px;flex-shrink:0}.identity strong{font-size:12px;white-space:nowrap}#notice{display:flex;align-items:center;justify-content:space-between;gap:15px}.notice-dismiss{min-height:24px;width:24px;padding:0;border:0;background:transparent;color:inherit;font-size:19px;flex-shrink:0}.pdf-link.disabled{opacity:.45;cursor:not-allowed;pointer-events:none}.quick-action:focus-visible,.tool-result:focus-visible{outline:3px solid #91c29a;outline-offset:2px}
/* Refined hierarchy and patient billing flow. */
.section-heading{display:flex;align-items:center;justify-content:space-between;margin:28px 1px 14px;gap:15px}.section-heading h2{font-size:14px;letter-spacing:-.15px;margin:0}.section-heading>span{font-size:10px;color:var(--muted)}.dashboard-welcome{background:radial-gradient(ellipse at 90% 15%,#d9e8cc80,transparent 55%),linear-gradient(115deg,#e7f0e0,#f3f7ef);min-height:145px}.dashboard-welcome h2{font-size:28px;margin:9px 0}.dashboard-welcome .welcome-emblem{width:66px;height:66px;border:1px solid #ffffffc0;border-radius:21px}.metric-icon{height:28px;width:28px;border-radius:9px;background:#f1f6ec;display:grid;place-items:center;color:#76946b}.metric-icon svg{width:15px;height:15px}.metric-card p{margin-bottom:12px}.metric-card:nth-child(3) .metric-icon{background:#eef5f2;color:#668f7d}.metric-card strong{letter-spacing:-1px}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) 275px;gap:20px;align-items:start}.dashboard-grid .panel{min-width:0}.dashboard-grid:has(.workspace-summary:only-child){grid-template-columns:1fr}.dashboard-grid:has(.workspace-summary:only-child) .directory-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.dashboard-grid .toolbar{gap:10px}.dashboard-grid .toolbar h2{font-size:16px}.dashboard-grid .toolbar small{font-size:10px}.text-button{font-size:10px;white-space:nowrap;background:transparent;color:var(--green);border-color:transparent;padding:5px 6px;min-height:30px}.text-button:hover{background:#f0f5ea;border-color:transparent}.workspace-summary{padding:24px 20px}.workspace-summary h2{font-size:19px;letter-spacing:-.5px;margin:12px 0 7px}.workspace-summary>p{font-size:11px;line-height:1.7;margin:0 0 17px}.directory-links{display:grid;gap:3px}.directory-links button{justify-content:flex-start;border:0;background:transparent;padding:11px 3px;gap:10px;font-size:11px;border-radius:9px;border-bottom:1px solid #f0f4eb}.directory-links button:hover{background:#f6f9f1;transform:translateX(2px)}.directory-links button strong{margin-left:auto;font-size:13px;font-variant-numeric:tabular-nums;font-weight:600}.directory-links button>span:last-child{color:#a6b19f;font-size:18px;margin-left:3px}.directory-icon{width:27px;height:27px;border-radius:8px;display:grid;place-items:center;background:#f2f6ee;color:#849e78}.directory-icon svg{width:15px;height:15px}.workspace-tip{border-top:1px solid var(--line);margin-top:22px;padding-top:19px;display:flex;gap:10px;align-items:flex-start}.tip-symbol{color:#8da280;margin-top:3px}.tip-symbol svg{width:16px;height:16px}.workspace-tip p{font-size:11px;margin:0;color:#6f8166}.workspace-tip small{font-size:10px;line-height:1.8;margin-top:6px}.workspace-tip kbd{display:inline-block;font-size:9px;color:#718665;background:#f4f7f0}.directory-intro{display:flex;align-items:center;gap:15px;margin:5px 0 24px}.directory-intro-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:15px;background:#eaf2e3;color:#5b8352;flex-shrink:0}.directory-intro-icon svg{width:22px;height:22px}.directory-intro h2{font-size:20px;letter-spacing:-.5px;margin:0 0 5px}.directory-intro p{font-size:12px;color:var(--muted);margin:0}.directory-panel{padding:23px}.directory-panel .toolbar{padding-bottom:17px;border-bottom:1px solid #edf2e8}.empty-symbol{display:grid;place-items:center;margin:0 auto 14px;width:44px;height:44px;border-radius:15px;background:#f0f5eb;color:#8da280}.empty-symbol svg{width:22px;height:22px}.empty strong{display:block;font-size:14px;color:#607355;font-weight:500}.empty p{font-size:11px;margin:8px 0 0}.step-heading{display:flex;align-items:center;gap:10px;font-size:16px}.step-heading>span{width:25px;height:25px;border-radius:8px;display:grid;place-items:center;background:#edf4e7;color:#6f8e5f;font-size:11px;font-weight:600}.billing-summary{position:sticky;top:24px;border-color:#dbe6d3;box-shadow:0 8px 30px #25482006}.billing-summary .summary-row.total{padding:22px 0;margin-top:10px;color:var(--green);border-top:1px solid var(--line)}.billing-summary #save-bill{width:100%;font-size:12px;min-height:47px}.billing-summary .actions{display:block}.billing-summary>p{font-size:10px;line-height:1.8}.billing-summary #clear-draft{margin-top:5px;background:transparent;border:0;color:#8d9a87;font-size:11px;padding-left:0}.patient-placeholder{margin-top:14px;padding:14px 16px;border:1px dashed #dce6d4;border-radius:11px;background:#fafcf7;color:#91a087;font-size:11px}.patient-placeholder:empty{display:none}#selected-patient .panel{margin-top:15px;margin-bottom:12px;border-color:#d9e7ce;background:#f6faf1;padding:17px 18px;box-shadow:none}#selected-patient .panel strong{font-size:14px;color:#426b34}.report-read-value{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.75;min-width:90px}.report-editor .report-read-row td{padding:16px 10px}.report-read-row .badge{white-space:nowrap}.report-read-row:not(.excluded) td:nth-child(3){color:#24492f;font-weight:600}.report-read-row.excluded{opacity:.55;background:#fafbf8}.report-read-group{display:block;color:#8a9981;font-size:10px;margin-top:5px}.report-read-row td:nth-child(2) strong{font-size:12px}
@media(min-width:1500px){.dashboard-grid{grid-template-columns:minmax(0,1fr) 310px}.workspace-summary{padding:27px 24px}.dashboard-welcome h2{font-size:31px}}@media(max-width:1190px){.dashboard-grid{grid-template-columns:1fr}.directory-links{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:24px}.workspace-summary .workspace-tip{margin-top:17px}.workspace-summary>p{margin-bottom:9px}}@media(max-width:1100px){.billing-summary{position:static}}@media(max-width:760px){.section-heading{margin-top:23px}.dashboard-welcome{min-height:0;padding:24px 21px}.dashboard-welcome h2{font-size:24px}.dashboard-welcome .welcome-emblem{width:44px;height:44px;border-radius:15px}.dashboard-grid{gap:0}.directory-intro{gap:11px;margin:0 0 20px}.directory-intro h2{font-size:18px}.directory-intro p{font-size:11px;line-height:1.6}.directory-intro-icon{width:40px;height:40px;border-radius:12px}.directory-panel{padding:17px}.directory-links{column-gap:16px}.directory-links button{font-size:10px;gap:7px}.directory-links button strong{font-size:12px}.metric-icon{width:23px;height:23px}.metric-icon svg{width:13px;height:13px}.card p{gap:4px}.workspace-summary h2{font-size:20px}.step-heading{font-size:15px}}@media(prefers-reduced-motion:reduce){.directory-links button:hover{transform:none}}
/* Report entry: a spacious metadata form and a keyboard-friendly result sheet. */
#modal:has(.report-workspace) .modal-card{width:min(1240px,96vw);max-width:1240px}
.report-workspace{width:100%;min-width:0}.report-workspace h2{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.report-metadata{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 18px;margin:12px 0 20px}.report-address{grid-column:span 2}
.report-tools{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap;margin:16px 0}.report-tools>div{min-width:170px;flex:1}.report-tools label{margin-top:0}.report-tools select{margin:0}.report-tools button{min-height:42px;white-space:nowrap}
.report-help{max-width:1000px;font-size:12px;line-height:1.6}.report-scroll{max-height:430px;border:1px solid #dbe5df;border-radius:12px}.report-sheet{min-width:980px;table-layout:fixed;width:100%}.report-sheet th:first-child{width:46px}.report-sheet th:nth-child(2){width:24%}.report-sheet th:nth-child(3){width:16%}.report-sheet th:nth-child(4){width:9%}.report-sheet th:nth-child(5){width:21%}.report-sheet th:nth-child(6){width:17%}.report-sheet th:last-child{width:90px}.report-sheet thead{position:sticky;top:0;z-index:1;background:#edf5ef}.report-sheet td{padding:5px;vertical-align:top;border-right:1px solid #e2eae5}.report-sheet input:not([type=checkbox]),.report-sheet textarea{width:100%;min-width:0;margin:0;border:1px solid transparent;background:transparent;padding:8px 6px;font-size:13px;border-radius:5px}.report-sheet textarea{height:62px;min-height:62px;resize:vertical}.report-sheet input:focus,.report-sheet textarea:focus{background:#fff;border-color:#348a56;box-shadow:0 0 0 2px #348a5620}.report-sheet tr:focus-within{background:#f1f9f3}.report-sheet input[type=checkbox]{width:18px;height:18px;margin:10px 6px;accent-color:#2a7448}.report-row-actions{white-space:nowrap}.report-row-actions button{padding:5px 7px;min-height:30px;border:0;background:transparent}.report-row-actions button:hover{background:#dfeee3}.report-save-bar{display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap;position:sticky;bottom:-25px;background:#fffef9;padding:14px 0;border-top:1px solid #dbe5df;z-index:2}.report-save-bar .actions{margin:0}.report-save-bar>span{font-size:12px;color:#516c5a}.report-settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin:22px 0}.report-setting-card{border:1px solid #dbe5df;background:#f8fbf7;border-radius:15px;padding:20px}.report-setting-card textarea{min-height:66px}.report-setting-card small{display:block;color:#526959;line-height:1.6}.report-workspace select{max-width:100%}.report-workspace .disabled{pointer-events:none;opacity:.45}.report-read-value{white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:760px){.report-metadata{grid-template-columns:1fr 1fr}.report-settings-grid{grid-template-columns:1fr}.report-address{grid-column:span 2}.report-save-bar{position:static}.report-tools>div{min-width:145px}.report-tools button{white-space:normal}}
@media(max-width:440px){.report-metadata{grid-template-columns:1fr}.report-address{grid-column:auto}}
