:root{color:#1b231f;--surface:#ffffffd6;--surface-strong:#fffffff0;--line:#203a2b1f;--ink:#18231b;--muted:#66736b;--accent:#d96b2b;--accent-deep:#a34717;--ok:#2f8f63;--warn:#bf5f2a;--danger:#be3d3d;--shadow:0 24px 80px #1b231f1f;background:radial-gradient(circle at 0 0,#ffc37038,#0000 28%),radial-gradient(circle at 100% 0,#48a3792e,#0000 32%),linear-gradient(#f7f2e9 0%,#eef3ec 55%,#f6f7f3 100%);font-family:Noto Sans SC,PingFang SC,Microsoft YaHei,sans-serif}*{box-sizing:border-box}body{color:var(--ink);min-height:100vh;margin:0}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}#app{min-height:100vh}.surface{background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.shell{grid-template-columns:minmax(220px,268px) minmax(0,1fr);min-height:100vh;display:grid}.shell-sidebar{border-right:1px solid var(--line);background:#f3ebdcc2;padding:22px 18px}.shell-sidebar-body{gap:16px;display:grid}.shell-brand h1,.shell-header h2,.login-hero h1{letter-spacing:.04em;margin:0;font-family:Noto Serif SC,Songti SC,serif}.shell-brand p,.shell-brand .shell-eyebrow,.shell-header .shell-eyebrow,.login-hero p,.hero-kicker{color:var(--muted)}.shell-nav{gap:8px;margin:20px 0;display:grid}.shell-nav-link{background:#ffffff85;border:1px solid #0000;border-radius:14px;justify-content:space-between;align-items:center;padding:11px 13px;display:flex}.shell-nav-link.active{background:#ffffffe6;border-color:#d96b2b52}.shell-nav-link strong{text-align:center;min-width:32px;color:var(--accent-deep);background:#d96b2b24;border-radius:999px;padding:2px 8px}.shell-logout,.ghost-button,.secondary-button{border:1px solid var(--line);background:#fffc;border-radius:12px;padding:9px 12px}.primary-button{color:#fff;background:linear-gradient(135deg, var(--accent), var(--accent-deep));border:0;border-radius:12px;padding:10px 14px;box-shadow:0 12px 30px #d96b2b3d}.primary-button:disabled,.secondary-button:disabled,.ghost-button:disabled{opacity:.5;cursor:not-allowed}.shell-main{padding:18px}.shell-header{justify-content:space-between;align-items:end;gap:12px;margin-bottom:14px;display:flex}.shell-header-main{align-items:flex-start;gap:10px;display:flex}.shell-menu-button{border:1px solid var(--line);width:42px;height:42px;color:var(--ink);background:#ffffffe6;border-radius:14px;flex-direction:column;justify-content:center;align-items:center;gap:4px;padding:0;display:none}.shell-menu-button span{background:currentColor;border-radius:999px;width:16px;height:2px;transition:transform .2s,opacity .2s;display:block}.shell-menu-button[aria-expanded=true] span:first-child{transform:translateY(6px)rotate(45deg)}.shell-menu-button[aria-expanded=true] span:nth-child(2){opacity:0}.shell-menu-button[aria-expanded=true] span:nth-child(3){transform:translateY(-6px)rotate(-45deg)}.shell-mobile-panel{border-radius:18px;margin-bottom:14px;padding:16px;display:none}.stack,.grid-two,.grid-three{gap:12px;display:grid}.grid-two{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-three{grid-template-columns:repeat(3,minmax(0,1fr))}.field{gap:6px;display:grid}.field span{font-size:.92rem}.field input,.field select,.field textarea{border:1px solid var(--line);background:#fffffff0;border-radius:12px;width:100%;padding:10px 12px}.field textarea{resize:vertical;min-height:92px}.toolbar{border-radius:18px;gap:10px;margin-bottom:12px;padding:14px;display:grid}.compact-toolbar{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px;display:grid}.compact-toolbar-grid{gap:10px;display:grid}.compact-toolbar-grid-anchors{grid-template-columns:minmax(220px,1.4fr) minmax(120px,180px)}.compact-toolbar-grid-review{grid-template-columns:repeat(4,minmax(150px,1fr))}.compact-toolbar-grid-records{grid-template-columns:repeat(3,minmax(150px,1fr))}.compact-toolbar-grid-logs{grid-template-columns:repeat(5,minmax(140px,1fr))}.compact-toolbar-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.card-grid{gap:12px;display:grid}.panel-grid{grid-template-columns:minmax(0,1.2fr) minmax(320px,420px);gap:18px;display:grid}.surface-card{border-radius:18px;padding:16px}.section-heading{justify-content:space-between;align-items:end;gap:12px;margin-bottom:12px;display:flex}.section-heading h3{margin:0}.section-note{color:var(--muted);margin:4px 0 0;font-size:.92rem}.summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;display:grid}.summary-item{border:1px solid var(--line);background:#ffffffc2;border-radius:20px;padding:18px}.summary-item strong{margin-top:6px;font-size:1.45rem;display:block}.anchor-records-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.anchor-records-action-card{gap:12px;display:grid}.anchor-records-actions,.anchor-records-toolbar-actions{align-items:stretch}.anchor-records-alert{border:1px solid var(--line);background:#ffffffbd;border-radius:16px;gap:4px;padding:12px 14px;display:grid}.anchor-records-alert strong,.anchor-records-alert p{margin:0}.anchor-records-alert-info{border-color:#1b231f1f}.anchor-records-alert-success{background:#ebf8f1e0;border-color:#2f8f633d}.anchor-records-alert-warning{background:#fff5ecf0;border-color:#bf5f2a47}.modal-backdrop{z-index:30;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#18231b57;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.modal-card{width:min(100%,560px)}.credentials-dialog{background:linear-gradient(145deg,#fff8eef5,#fffffff0),#fffffff0;gap:16px;display:grid}.modal-header{justify-content:space-between;align-items:start;gap:16px;display:flex}.modal-header h3{margin:4px 0 0}.modal-close-button{border:1px solid var(--line);width:40px;height:40px;color:var(--ink);background:#ffffffe0;border-radius:999px;font-size:1.25rem;line-height:1}.dialog-note{color:var(--muted);margin:0}.status-badge{border-radius:999px;align-items:center;padding:4px 9px;font-size:.78rem;font-weight:700;display:inline-flex}.status-badge.pending{color:var(--accent-deep);background:#d96b2b1f}.status-badge.approved{color:var(--ok);background:#2f8f631f}.status-badge.rejected{color:var(--danger);background:#be3d3d1f}.data-list{gap:8px;display:grid}.data-row{border:1px solid var(--line);background:#ffffffe0;border-radius:14px;gap:8px;padding:12px 14px;display:grid}.data-row.rejected{border-color:#be3d3d4d;box-shadow:inset 0 0 0 1px #be3d3d14}.review-list{gap:8px;display:grid}.review-list-item{border:1px solid var(--line);background:#ffffffd6;border-radius:16px;overflow:hidden}.review-list-item.expanded{border-color:#d96b2b47;box-shadow:0 16px 32px #d96b2b14}.review-list-item.rejected{border-color:#be3d3d3d}.review-list-row{grid-template-columns:auto minmax(0,1fr);align-items:stretch;gap:8px;padding:8px;display:grid}.review-check{place-items:center;width:32px;display:grid}.review-check input{width:16px;height:16px}.review-check-placeholder{opacity:0}.review-list-button{text-align:left;background:#ffffffb3;border:0;border-radius:12px;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:12px;width:100%;padding:12px;display:grid}.review-list-button:hover{background:#ffffffeb}.review-list-main{gap:6px;display:grid}.review-list-title,.review-list-secondary{flex-wrap:wrap;gap:6px 12px;display:flex}.review-list-secondary{color:var(--muted);font-size:.92rem}.review-list-side{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.review-detail-panel{background:#fffaf5eb;border:1px solid #d96b2b33;border-radius:14px;margin:0 8px 8px;padding:14px}.detail-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.detail-item{border:1px solid var(--line);background:#ffffffb8;border-radius:12px;gap:4px;padding:10px 12px;display:grid}.detail-label{color:var(--muted);font-size:.82rem}.review-remark{margin:0}.review-entry{gap:6px;display:grid}.review-summary{text-align:left;width:100%;transition:transform .14s,border-color .14s,box-shadow .14s,background .14s}.review-summary:hover{border-color:#d96b2b47;transform:translateY(-1px)}.review-summary.selected{background:linear-gradient(135deg,#fff3e5fa,#ffffffeb),#ffffffeb;border-color:#d96b2b6b;box-shadow:0 16px 34px #d96b2b1f,inset 0 0 0 1px #d96b2b14}.review-flags{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.review-detail-card{background:#fffcf7d1;border:1px solid #d96b2b38;border-radius:22px;margin:-2px 0 6px;padding:18px 20px 20px;position:relative}.review-detail-card:before{content:"";background:#d96b2b57;border-radius:999px;width:2px;height:12px;position:absolute;top:-12px;left:28px}.row-title{justify-content:space-between;align-items:center;gap:10px;display:flex}.row-meta{color:var(--muted);flex-wrap:wrap;gap:6px 12px;font-size:.92rem;display:flex}.pagination-bar{justify-content:space-between;gap:16px;padding-top:16px;display:flex}.pagination-actions{gap:10px;display:flex}.pagination-actions button{border:1px solid var(--line);background:#ffffffeb;border-radius:12px;padding:10px 14px}.login-page{grid-template-columns:minmax(0,1.1fr) minmax(320px,380px);align-items:center;gap:24px;min-height:100vh;padding:34px min(7vw,72px);display:grid}.login-card{border-radius:24px;padding:20px}.role-switch{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:14px;display:grid}.role-switch button{border:1px solid var(--line);background:#ffffffbd;border-radius:12px;padding:10px}.role-switch button.active{background:#fffffff5;border-color:#d96b2b59}.validation-bubble ul{gap:6px;margin:8px 0 0;padding:0;list-style:none;display:grid}.validation-bubble li{color:var(--muted)}.validation-bubble li.ok{color:var(--ok)}.form-error{color:var(--danger)}.field-hint{color:var(--muted);font-size:.84rem}.field-hint-warning{color:var(--warn)}.password-field{position:relative}.password-input{width:100%;position:relative}.password-input input{padding-right:46px}.password-toggle-button{width:32px;height:32px;color:var(--muted);background:0 0;border:0;border-radius:10px;justify-content:center;align-items:center;padding:0;display:inline-flex;position:absolute;top:50%;right:8px;transform:translateY(-50%)}.password-toggle-button:hover,.password-toggle-button:focus-visible{color:var(--accent-deep);background:#d96b2b14;outline:0}.password-toggle-button svg{width:18px;height:18px}.validation-bubble{z-index:10;background:#fffaf4fa;border:1px solid #d96b2b33;border-radius:14px;padding:12px 14px;position:absolute;bottom:calc(100% + 8px);left:0;right:0;box-shadow:0 18px 32px #1b231f1f}.validation-bubble:after{content:"";border:8px solid #0000;border-top-color:#fffaf4fa;position:absolute;top:100%;left:20px}.empty-state{color:var(--muted);text-align:center;padding:24px 12px}.table-like{border-collapse:collapse;width:100%}.table-scroll{overflow-x:auto}.table-like th,.table-like td{text-align:left;border-bottom:1px solid var(--line);padding:14px 12px}.compact-table th,.compact-table td{white-space:nowrap;padding:10px;font-size:.92rem}.compact-table tbody tr:hover{background:#ffffff8c}.compact-table tbody tr.rejected{background:#be3d3d0f}.record-row-highlight{animation:2.2s record-row-flash}@keyframes record-row-flash{0%,to{background:0 0}22%,68%{background:#d96b2b24}}.anchor-desktop-list{display:block}.anchor-mobile-list{display:none}.anchor-records-desktop-list{display:block}.anchor-records-mobile-list{gap:8px;display:none}.anchor-records-mobile-item{border-bottom:1px solid var(--line);gap:10px;padding:12px 0;display:grid}.anchor-records-mobile-item:last-child{border-bottom:0}.anchor-records-mobile-item.rejected{border-bottom-color:#be3d3d2e}.anchor-records-mobile-summary,.anchor-records-mobile-main,.anchor-records-mobile-title,.anchor-records-mobile-meta,.anchor-records-mobile-detail,.anchor-records-mobile-fields,.anchor-records-mobile-field,.anchor-records-mobile-actions{display:grid}.anchor-records-mobile-summary{grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:12px}.anchor-records-mobile-main,.anchor-records-mobile-field{gap:6px}.anchor-records-mobile-title{gap:8px}.anchor-records-mobile-title strong{font-size:.98rem}.anchor-records-mobile-title .status-badge{width:fit-content}.anchor-records-mobile-meta{grid-auto-flow:row;gap:8px}.anchor-records-mobile-toggle{min-width:88px}.anchor-records-mobile-detail{gap:12px}.anchor-records-mobile-fields,.anchor-records-mobile-actions{gap:10px}.anchor-records-mobile-actions button{width:100%}.anchor-records-mobile-field span{color:var(--muted);font-size:.88rem}.anchor-records-mobile-warning{background:#fff5eceb;border:1px solid #bf5f2a38;border-radius:14px;padding:10px 12px}.anchor-mobile-item{border-bottom:1px solid var(--line)}.anchor-mobile-item:last-child{border-bottom:0}.anchor-mobile-summary{text-align:left;background:0 0;border:0;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:10px;width:100%;padding:12px 0;display:grid}.anchor-mobile-main,.anchor-mobile-title,.anchor-mobile-meta,.anchor-mobile-fields,.anchor-mobile-field,.anchor-mobile-actions{display:grid}.anchor-mobile-main,.anchor-mobile-field{gap:6px}.anchor-mobile-title{gap:2px}.anchor-mobile-title span,.anchor-mobile-field span{color:var(--muted);font-size:.88rem}.anchor-mobile-meta{grid-auto-flow:column;justify-content:start;gap:8px}.anchor-mobile-detail{gap:12px;padding:0 0 12px;display:grid}.anchor-mobile-fields{gap:10px}.anchor-mobile-actions{gap:8px}.anchor-modal-backdrop{place-items:center}.anchor-modal-card{width:min(100%,560px)}.anchor-modal-header{align-items:start}.anchor-credentials-list .data-row{gap:12px}.wrap-cell{white-space:normal;min-width:220px}.form-dialog{gap:14px;display:grid}.detail-card{position:sticky;top:24px}.chip{color:var(--muted);background:#1b231f0f;border-radius:999px;padding:3px 8px;font-size:.82rem;display:inline-flex}.selection-toggle{border:1px solid var(--line);background:#ffffffd6;border-radius:12px;align-items:center;gap:8px;padding:8px 10px;display:inline-flex}.chip-active{color:var(--accent-deep);background:#d96b2b24}.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}.upload-dropzone{color:var(--ink);background:linear-gradient(135deg,#fff8efeb,#ffffffe0),#ffffffe0;border:1px dashed #d96b2b57;border-radius:18px;gap:10px;padding:18px;transition:border-color .14s,box-shadow .14s,transform .14s;display:grid}.upload-dropzone:hover,.upload-dropzone:focus-visible,.upload-dropzone.active{border-color:#d96b2b85;outline:0;transform:translateY(-1px);box-shadow:0 14px 28px #d96b2b1a}.upload-dropzone.ready{background:linear-gradient(135deg,#f0fbf5f5,#ffffffeb),#ffffffeb;border-style:solid;border-color:#2f8f6357}.upload-hint{color:var(--muted);margin:0}.voucher-image-preview,.voucher-draft-preview{border:1px solid var(--line);object-fit:contain;background:#ffffffeb;border-radius:18px;width:auto;max-width:100%;height:auto;max-height:280px;display:block}.inline-actions{flex-wrap:wrap;gap:8px;display:flex}.field-span-full{grid-column:1/-1}.toast-viewport{z-index:60;gap:10px;width:min(420px,100vw - 24px);display:grid;position:fixed;top:16px;right:16px}.toast-card{background:#fffffff5;border-radius:16px;gap:8px;padding:14px;display:grid}.toast-header{justify-content:space-between;align-items:start;gap:10px;display:flex}.toast-copy strong,.toast-copy p{display:block}.toast-copy p{margin:3px 0 0}.toast-close-button{border:1px solid var(--line);background:#ffffffe6;border-radius:999px;width:28px;height:28px}.toast-details{color:var(--muted);margin:0;padding-left:18px}.toast-success{border-color:#2f8f6333}.toast-error{border-color:#be3d3d42}.toast-warning{border-color:#bf5f2a42}.toast-info{border-color:#1b231f29}@media (width<=1080px){.shell,.login-page,.panel-grid,.compact-toolbar{grid-template-columns:1fr}.shell-sidebar{display:none}.shell-menu-button{display:inline-flex}.shell-mobile-panel{display:block}.summary-grid,.grid-two,.grid-three,.compact-toolbar-grid-records,.compact-toolbar-grid-logs,.compact-toolbar-grid-review,.detail-grid,.review-list-button{grid-template-columns:1fr}.review-flags,.row-title{align-items:start}.review-list-side,.compact-toolbar-actions{justify-content:flex-start}.toast-viewport{width:auto;inset:auto 12px 12px}}@media (width<=768px){.compact-toolbar-grid-anchors{grid-template-columns:1fr}.anchor-records-actions,.anchor-records-toolbar-actions,.anchor-toolbar-actions,.anchor-dialog-actions{display:grid}.anchor-records-actions,.anchor-records-toolbar-actions,.anchor-toolbar-actions,.anchor-dialog-actions,.anchor-mobile-actions{grid-template-columns:1fr}.anchor-records-actions,.anchor-records-toolbar-actions,.anchor-toolbar-actions,.anchor-dialog-actions{width:100%}.anchor-records-actions button,.anchor-records-toolbar-actions button,.anchor-toolbar-actions button,.anchor-dialog-actions button,.anchor-mobile-actions button{width:100%;min-height:44px}.anchor-records-desktop-list{display:none}.anchor-records-mobile-list{display:grid}.anchor-desktop-list{display:none}.anchor-mobile-list{display:grid}.pagination-bar{flex-direction:column;align-items:stretch}.pagination-actions{justify-content:space-between}.anchor-records-mobile-summary{grid-template-columns:minmax(0,1fr)}.anchor-records-mobile-toggle{width:100%;min-height:44px}.anchor-modal-backdrop{place-items:end stretch;padding:12px 0 0}.anchor-modal-card{border-radius:24px 24px 0 0;width:100%;max-height:calc(100vh - 12px);overflow:auto;box-shadow:0 -18px 40px #1b231f2e}.anchor-modal-header{z-index:2;background:var(--surface-strong);border-bottom:1px solid var(--line);margin:-16px -16px 0;padding:16px 16px 12px;position:sticky;top:-16px}.anchor-dialog-actions{bottom:calc(env(safe-area-inset-bottom) * -1);padding:12px 16px calc(16px + env(safe-area-inset-bottom));background:var(--surface-strong);border-top:1px solid var(--line);margin:0 -16px -16px;position:sticky}.anchor-credentials-list .data-row{padding:12px}}
