.info-panel{display:grid;gap:10px;margin:32px 0 0;position:relative;z-index:1}.info-card{display:flex;align-items:flex-start;gap:14px;padding:14px 16px;border-radius:12px;background:#ffffff0d;border:1px solid rgba(255,255,255,.08);transition:background .2s,border-color .2s}.info-card:hover{background:#ffffff14;border-color:#6366f14d}.info-icon{flex-shrink:0;width:36px;height:36px;border-radius:10px;background:linear-gradient(135deg,#6366f140,#06b6d440);display:grid;place-items:center;font-size:18px}.info-text{display:flex;flex-direction:column;gap:2px}.info-text strong{font-size:13.5px;font-weight:600;color:#e2e8f0;letter-spacing:.1px}.info-text span{font-size:12.5px;color:#94a3b8;line-height:1.45}@media (max-width: 960px){.info-panel{display:none}}.auth-shell{display:grid;grid-template-columns:1.05fr 1fr;height:100vh;overflow:hidden}.auth-brand{position:relative;padding:56px 64px;color:#f8fafc;background:radial-gradient(1200px 600px at -10% -20%,rgba(99,102,241,.45),transparent 60%),radial-gradient(900px 500px at 110% 110%,rgba(14,165,233,.35),transparent 55%),linear-gradient(135deg,#0b1220,#111c3a,#0b1220);display:flex;flex-direction:column;justify-content:space-between;overflow:hidden}.auth-brand:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background-image:linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px);background-size:38px 38px;-webkit-mask-image:radial-gradient(ellipse at center,black 40%,transparent 75%);mask-image:radial-gradient(ellipse at center,black 40%,transparent 75%);pointer-events:none}.brand-mark{display:flex;align-items:center;gap:12px;position:relative;z-index:1}.brand-logo{width:42px;height:42px;border-radius:12px;background:linear-gradient(135deg,#6366f1,#06b6d4);display:grid;place-items:center;font-weight:800;font-size:20px;box-shadow:0 10px 30px #6366f173}.brand-name{font-weight:700;font-size:20px;letter-spacing:.3px}.brand-copy{position:relative;z-index:1;max-width:460px}.brand-copy h1{font-size:40px;line-height:1.15;margin:0 0 16px;font-weight:700;letter-spacing:-.5px}.brand-copy p{font-size:16px;line-height:1.6;color:#cbd5e1;margin:0}.brand-footer{position:relative;z-index:1;font-size:12px;color:#94a3b8}.auth-main{display:grid;place-items:center;padding:48px 24px;background:#f8fafc;overflow:hidden;height:100%}.auth-card{width:100%;max-width:440px;background:#fff;border:1px solid #e2e8f0;border-radius:18px;padding:40px 36px;box-shadow:0 1px 2px #0f172a0a,0 20px 50px -20px #0f172a26}.auth-header h2{margin:0 0 6px;font-size:26px;font-weight:700;letter-spacing:-.3px}.auth-header p{margin:0 0 28px;color:#64748b;font-size:14px}.auth-form{display:grid;gap:18px}.field{display:grid;gap:8px}.field>span{font-size:13px;font-weight:600;color:#334155}.field input{width:100%;height:44px;padding:0 14px;font-size:15px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;color:#0f172a;transition:border-color .15s,box-shadow .15s,background .15s;outline:none}.field input::placeholder{color:#94a3b8}.field input:focus{border-color:#6366f1;box-shadow:0 0 0 4px #6366f126}.field input:disabled{background:#f1f5f9;cursor:not-allowed}.password-wrap{position:relative}.password-wrap input{padding-right:64px}.toggle-pass{position:absolute;right:8px;top:50%;transform:translateY(-50%);background:transparent;border:0;color:#6366f1;font-size:13px;font-weight:600;padding:6px 10px;border-radius:6px;cursor:pointer}.toggle-pass:hover{background:#eef2ff}.row-between{display:flex;align-items:center;justify-content:space-between;margin-top:-4px}.check{display:inline-flex;align-items:center;gap:8px;font-size:13px;color:#475569;cursor:pointer;-webkit-user-select:none;user-select:none}.check input{width:16px;height:16px;accent-color:#6366f1}.link{color:#6366f1;font-size:13px;font-weight:600;text-decoration:none}.link:hover{text-decoration:underline}.alert{background:#fef2f2;border:1px solid #fecaca;color:#b91c1c;font-size:13px;padding:10px 12px;border-radius:10px}.btn-primary{height:46px;border:0;border-radius:10px;font-size:15px;font-weight:600;color:#fff;background:linear-gradient(135deg,#6366f1,#4f46e5);cursor:pointer;transition:transform .05s ease,box-shadow .15s ease,opacity .15s;box-shadow:0 10px 25px -10px #4f46e599}.btn-primary:hover:not(:disabled){box-shadow:0 14px 30px -10px #4f46e5b3}.btn-primary:active:not(:disabled){transform:translateY(1px)}.btn-primary:disabled{opacity:.7;cursor:not-allowed}.auth-foot{margin:4px 0 0;text-align:center;font-size:13px;color:#64748b}@media (max-width: 960px){.auth-shell{grid-template-columns:1fr;height:auto;min-height:100vh;overflow:auto}.auth-brand{padding:40px 28px;min-height:280px}.brand-copy h1{font-size:30px}}@media (max-width: 480px){.auth-card{padding:32px 24px;border-radius:14px}}.dash-shell{display:grid;grid-template-columns:72px 1fr;min-height:100vh;transition:grid-template-columns .2s ease}.dash-shell:has(.dash-sidebar:hover){grid-template-columns:260px 1fr}.dash-shell.pinned{grid-template-columns:260px 1fr}.dash-shell.pinned .dash-brand-name,.dash-shell.pinned .nav-label,.dash-shell.pinned .nav-chevron,.dash-shell.pinned .user-badge,.dash-shell.pinned .logout-label{display:inline}.dash-shell.pinned .user-badge{display:flex}.dash-shell.pinned .nav-group-children{display:flex!important}.dash-shell.pinned .dash-brand{padding-left:24px;padding-right:24px;justify-content:flex-start}.dash-shell.pinned .nav-item{justify-content:flex-start}.dash-shell.pinned .dash-sidebar-footer{padding:16px 24px;align-items:stretch}.dash-shell.pinned .btn-logout{width:100%}.dash-shell.pinned .logout-icon{display:none}.btn-hamburger{background:transparent;border:none;color:#94a3b8;cursor:pointer;padding:6px;border-radius:6px;display:flex;align-items:center;justify-content:center;transition:background .15s,color .15s;flex-shrink:0}.btn-hamburger:hover{background:#ffffff14;color:#e2e8f0}.btn-hamburger svg,.btn-hamburger-mobile svg{transition:transform .2s ease,color .2s ease}.dash-shell.pinned .btn-hamburger,.dash-shell.pinned .btn-hamburger-mobile{color:#a5b4fc}.dash-shell.pinned .btn-hamburger svg,.dash-shell.pinned .btn-hamburger-mobile svg{transform:rotate(-45deg)}.btn-hamburger-mobile{display:none;position:fixed;top:12px;left:12px;z-index:200;background:#0b1220;color:#e2e8f0;border:1px solid rgba(255,255,255,.1);border-radius:8px;padding:8px;cursor:pointer;align-items:center;justify-content:center;box-shadow:0 4px 12px #00000026}.btn-hamburger-mobile:hover{background:#111c3a}.sidebar-backdrop{display:none}.dash-sidebar{background:linear-gradient(180deg,#0b1220,#111c3a);color:#e2e8f0;display:flex;flex-direction:column;padding:24px 0;position:sticky;top:0;height:100vh;overflow:hidden;width:100%}.dash-brand{display:flex;align-items:center;gap:12px;padding:0 24px 24px;border-bottom:1px solid rgba(255,255,255,.08)}.dash-logo{width:38px;height:38px;border-radius:10px;background:linear-gradient(135deg,#6366f1,#06b6d4);display:grid;place-items:center;font-weight:800;font-size:18px;color:#fff;box-shadow:0 6px 20px #6366f166}.dash-brand-name{font-weight:700;font-size:18px;letter-spacing:.3px;display:none}.dash-sidebar:hover .dash-brand-name{display:inline}.dash-nav{flex:1;display:flex;flex-direction:column;gap:2px;padding:16px 12px;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:rgba(148,163,184,.35) transparent}.dash-nav::-webkit-scrollbar{width:6px}.dash-nav::-webkit-scrollbar-track{background:transparent}.dash-nav::-webkit-scrollbar-thumb{background:#94a3b859;border-radius:3px}.dash-nav::-webkit-scrollbar-thumb:hover{background:#94a3b88c}.nav-item{display:flex;align-items:center;gap:12px;padding:10px 16px;border-radius:10px;font-size:14px;font-weight:500;color:#94a3b8;text-decoration:none;transition:background .15s,color .15s}.nav-item:hover{background:#ffffff0f;color:#e2e8f0}.nav-item.active{background:#6366f126;color:#a5b4fc;font-weight:600}.nav-icon{font-size:18px;flex-shrink:0;width:24px;text-align:center}.nav-label{white-space:nowrap;display:none}.dash-sidebar:hover .nav-label{display:inline}.nav-chevron{display:none}.dash-sidebar:hover .nav-chevron{display:inline}.nav-group-children{display:none!important}.dash-sidebar:hover .nav-group-children{display:flex!important}.dash-sidebar-footer{padding:16px 12px;border-top:1px solid rgba(255,255,255,.08);display:flex;flex-direction:column;gap:12px;align-items:center}.dash-sidebar:hover .dash-sidebar-footer{padding:16px 24px;align-items:stretch}.user-badge{display:none;align-items:center;gap:8px}.dash-sidebar:hover .user-badge{display:flex}.user-role{font-size:12px;font-weight:600;color:#a5b4fc;background:#6366f126;padding:4px 10px;border-radius:6px;text-transform:uppercase;letter-spacing:.5px;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.btn-logout{background:#ffffff0f;border:1px solid rgba(255,255,255,.1);color:#94a3b8;padding:8px 0;border-radius:8px;font-size:13px;font-weight:600;cursor:pointer;transition:background .15s,color .15s;width:40px}.dash-sidebar:hover .btn-logout{width:100%}.btn-logout:hover{background:#ef444426;color:#fca5a5;border-color:#ef444433}.logout-label{display:none}.dash-sidebar:hover .logout-label{display:inline}.dash-sidebar:hover .logout-icon{display:none}.logout-icon{display:inline}.dash-brand{padding-left:10px;padding-right:10px;justify-content:center}.dash-sidebar:hover .dash-brand{padding-left:24px;padding-right:24px;justify-content:flex-start}.nav-item{justify-content:center}.dash-sidebar:hover .nav-item{justify-content:flex-start}.dash-main{background:#f1f5f9;padding:32px;min-height:100vh;min-width:0}.btn-back{display:inline-flex;align-items:center;gap:4px;padding:6px 14px;margin-bottom:16px;font-size:13px;font-weight:600;color:#6366f1;background:#fff;border:1px solid #c7d2fe;border-radius:8px;cursor:pointer;transition:background .15s,box-shadow .15s}.btn-back:hover{background:#eef2ff;box-shadow:0 2px 8px #6366f11a}@media (max-width: 960px){.dash-shell,.dash-shell.pinned{grid-template-columns:1fr}.dash-sidebar{position:fixed;left:-280px;width:260px;z-index:100;transition:left .3s ease}.dash-sidebar.open,.dash-shell.pinned .dash-sidebar{left:0}.btn-hamburger{display:none}.btn-hamburger-mobile{display:flex}.dash-main{padding-top:64px}.dash-shell.pinned .sidebar-backdrop{display:block;position:fixed;top:0;right:0;bottom:0;left:0;background:#0006;z-index:99}}.page-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.page-header h1{font-size:24px;font-weight:700;color:#0f172a;letter-spacing:-.3px;margin:0}.page-header .subtitle{display:none}.stat-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin-bottom:12px}.stat-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:12px 16px;display:flex;flex-direction:row;align-items:baseline;gap:6px}.stat-card .stat-label{font-size:18px;color:#475569;font-weight:700;letter-spacing:-.3px}.stat-card .stat-label:after{content:":"}.stat-card .stat-value{font-size:18px;font-weight:700;color:#0f172a;letter-spacing:-.3px}.stat-card .stat-value.text-green{color:#16a34a}.stat-card .stat-value.text-amber{color:#d97706}.stat-card .stat-value.text-red{color:#dc2626}.stat-card .stat-value.text-blue{color:#6366f1}.stat-row-legacy .stat-card{flex-direction:column;align-items:stretch;padding:20px;border-radius:14px;gap:6px}.stat-row-legacy .stat-card .stat-label{font-size:13px;color:#64748b;font-weight:500;letter-spacing:normal}.stat-row-legacy .stat-card .stat-label:after{content:none}.stat-row-legacy .stat-card .stat-value{font-size:28px;letter-spacing:-.5px}button[title^=View],button[title^=Download]:not([title$=PDF]),button[title="Open File"],button[title=Delete],button[title=Activate],button[title=Deactivate]{font-size:18px;line-height:1;padding:2px 8px}button[title="Uploaded receipt"]{font-size:20px;line-height:1;padding:2px 8px;color:#b45309}button[title="Open PDF"],button[title="Download PDF"],button[title="Export PDF"]{padding:4px 8px;line-height:1}.data-section{background:#fff;border:1px solid #e2e8f0;border-radius:14px;overflow:hidden;margin-bottom:12px}.data-section:last-of-type{min-height:calc(100vh - 220px);display:flex;flex-direction:column}.data-section:last-of-type .list-scroll{flex:1 1 auto;min-height:0;max-height:none}.data-section-header{padding:8px 16px;border-bottom:1px solid #e2e8f0;display:flex;align-items:center;justify-content:space-between}.data-section-header h2{font-size:15px;font-weight:600;margin:0;color:#0f172a}.data-table{width:100%;border-collapse:collapse}.data-table th{text-align:left;padding:12px 24px;font-size:12px;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.5px;background:#f8fafc;border-bottom:1px solid #e2e8f0}.menu-item{display:block;width:100%;text-align:left;padding:8px 12px;border:0;background:transparent;font-family:inherit;font-size:13px;color:#0f172a;cursor:pointer}.menu-item:hover{background:#f1f5f9}.compact-head .data-table th{padding:6px 24px}.data-table td{padding:8px 16px;font-size:13px;color:#334155;border-bottom:1px solid #f1f5f9;line-height:1.35}.data-table tr:last-child td{border-bottom:none}.data-table tr:hover td{background:#f8fafc}.data-table.data-table-roomy td{padding:14px 20px;font-size:14px;line-height:1.5}.list-scroll{max-height:60vh;overflow-y:auto;overflow-x:auto}.list-scroll .data-table thead th{position:sticky;top:0;z-index:2;box-shadow:inset 0 -1px #e2e8f0}.list-pager{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 20px;border-top:1px solid #e2e8f0;background:#f8fafc;font-size:12px;color:#64748b}.list-pager .pager-controls{display:flex;align-items:center;gap:6px}.list-pager button{padding:4px 10px;border:1px solid #e2e8f0;background:#fff;border-radius:6px;font-size:12px;cursor:pointer;color:#334155}.list-pager button:disabled{color:#cbd5e1;cursor:not-allowed;background:#f1f5f9}.list-pager button:not(:disabled):hover{background:#f1f5f9}.list-pager select{padding:4px 8px;border:1px solid #e2e8f0;border-radius:6px;font-size:12px;color:#334155;background:#fff}.badge{display:inline-block;padding:3px 10px;border-radius:6px;font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.3px}.badge-green{background:#dcfce7;color:#166534}.badge-amber{background:#fef3c7;color:#92400e}.badge-red{background:#fee2e2;color:#991b1b}.badge-blue{background:#dbeafe;color:#1e40af}.badge-gray{background:#f1f5f9;color:#475569}.badge-purple{background:#ede9fe;color:#5b21b6}.btn{display:inline-flex;align-items:center;gap:6px;padding:8px 16px;border-radius:8px;font-size:13px;font-weight:600;border:1px solid transparent;cursor:pointer;transition:background .15s,box-shadow .15s}.btn-sm{padding:5px 12px;font-size:12px}.btn-primary{background:linear-gradient(135deg,#6366f1,#4f46e5);color:#fff;box-shadow:0 4px 14px -4px #4f46e580}.btn-primary:hover{box-shadow:0 6px 18px -4px #4f46e599}.btn-outline{background:#fff;color:#6366f1;border-color:#c7d2fe}.btn-outline:hover{background:#eef2ff}.btn-toggle-on{background:#4f46e5;color:#fff;border-color:#4f46e5}.btn-toggle-on:hover{background:#4338ca}.btn-success{background:#16a34a;color:#fff}.btn-danger{background:#dc2626;color:#fff}.btn-info{background:#4f46e5;color:#fff}.budget-bar-wrap{width:100%;height:8px;background:#e2e8f0;border-radius:4px;overflow:hidden}.budget-bar{height:100%;border-radius:4px;transition:width .3s}.budget-bar.green{background:#16a34a}.budget-bar.amber{background:#d97706}.budget-bar.red{background:#dc2626}.empty-state{text-align:center;padding:48px 24px;color:#94a3b8;font-size:14px}.loading-spinner{text-align:center;padding:48px 24px;color:#6366f1;font-size:14px}.reg-link-bar{display:flex;align-items:center;gap:10px;margin-bottom:24px;background:#fff;border:1px solid #c7d2fe;border-radius:12px;padding:12px 16px;box-shadow:0 2px 8px #6366f114}.reg-link-input{flex:1;height:40px;padding:0 14px;font-size:14px;font-family:Inter,monospace;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc;color:#334155;outline:none;cursor:text}.reg-link-input:focus{border-color:#6366f1;box-shadow:0 0 0 3px #6366f11f}.btn-copy{white-space:nowrap;min-width:80px;justify-content:center}@media print{.no-print,.dash-sidebar,.page-header,.tab-bar{display:none!important}.dash-shell{display:block!important}.dash-main,body{margin:0!important;padding:0!important;background:#fff!important}.po-detail-card{box-shadow:none!important;border-radius:0!important;padding:12px!important}}.vr-shell{min-height:100vh;background:#f1f5f9;display:flex;justify-content:center;padding:40px 20px}.vr-card{width:100%;max-width:780px;background:#fff;border:1px solid #e2e8f0;border-radius:18px;padding:40px 44px;box-shadow:0 1px 2px #0f172a0a,0 20px 50px -20px #0f172a1f;align-self:flex-start}.vr-header{margin-bottom:32px}.vr-brand{display:flex;align-items:center;gap:12px;margin-bottom:24px}.vr-logo{width:40px;height:40px;border-radius:10px;background:linear-gradient(135deg,#6366f1,#06b6d4);display:grid;place-items:center;font-weight:800;font-size:19px;color:#fff;box-shadow:0 6px 20px #6366f166}.vr-brand-name{font-weight:700;font-size:18px;color:#0f172a;letter-spacing:.3px}.vr-header h1{font-size:24px;font-weight:700;color:#0f172a;margin:0 0 8px;letter-spacing:-.3px}.vr-header p{font-size:14px;color:#64748b;margin:0}.vr-alert{background:#fef2f2;border:1px solid #fecaca;color:#b91c1c;font-size:14px;padding:12px 16px;border-radius:10px;margin-bottom:24px}.vr-section{border:1px solid #e2e8f0;border-radius:14px;padding:24px 24px 20px;margin-bottom:24px}.vr-section legend{font-size:14px;font-weight:600;color:#6366f1;padding:0 8px;letter-spacing:.2px}.vr-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px 24px}.vr-full{grid-column:1 / -1}.vr-field{display:flex;flex-direction:column;gap:6px}.vr-field label{font-size:13px;font-weight:600;color:#334155}.vr-field input,.vr-field textarea,.vr-field select{width:100%;height:42px;padding:0 14px;font-size:14px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;color:#0f172a;outline:none;transition:border-color .15s,box-shadow .15s;font-family:inherit}.vr-field select:invalid{color:#94a3b8}.vr-field textarea{height:auto;padding:10px 14px;resize:vertical}.vr-field input:focus,.vr-field textarea:focus,.vr-field select:focus{border-color:#6366f1;box-shadow:0 0 0 3px #6366f11f}.vr-field input::placeholder{color:#94a3b8}.vr-field-error input,.vr-field-error textarea{border-color:#f87171}.vr-field-error input:focus,.vr-field-error textarea:focus{box-shadow:0 0 0 3px #f8717126}.vr-error{font-size:12px;color:#dc2626;font-weight:500}.vr-field-pending input[type=file]{border:1px dashed #f87171;background:#fff5f5;border-radius:10px;padding:8px 10px}.vr-field input[type=file]{height:auto;padding:8px 10px;font-size:13px;background:#f8fafc}.vr-file-meta{font-size:11px;color:#475569;margin-top:2px}.vr-field-hint .vr-hint{font-size:12px;color:#94a3b8;font-style:italic;padding-top:8px}.vr-submit{width:100%;height:48px;border:0;border-radius:12px;font-size:15px;font-weight:600;color:#fff;background:linear-gradient(135deg,#6366f1,#4f46e5);cursor:pointer;transition:transform .05s,box-shadow .15s,opacity .15s;box-shadow:0 10px 25px -10px #4f46e58c;margin-top:8px}.vr-submit:hover:not(:disabled){box-shadow:0 14px 30px -10px #4f46e5a6}.vr-submit:active:not(:disabled){transform:translateY(1px)}.vr-submit:disabled{opacity:.7;cursor:not-allowed}.vr-success-card{text-align:center;max-width:520px;padding:60px 44px}.vr-success-icon{width:64px;height:64px;margin:0 auto 24px;border-radius:50%;background:#dcfce7;color:#16a34a;font-size:32px;font-weight:700;display:grid;place-items:center}.vr-success-card h1{font-size:24px;font-weight:700;color:#0f172a;margin:0 0 12px}.vr-success-card p{font-size:15px;color:#475569;margin:0 0 16px;line-height:1.6}.vr-vendor-code{display:inline-block;padding:8px 24px;background:#eef2ff;border:1px solid #c7d2fe;border-radius:10px;font-size:20px;font-weight:700;color:#4f46e5;letter-spacing:1px;margin-bottom:16px}.vr-sub{font-size:13px!important;color:#94a3b8!important}@media (max-width: 640px){.vr-card{padding:28px 20px}.vr-grid{grid-template-columns:1fr}.vr-section{padding:18px 16px 14px}}.agr-meta{display:flex;flex-wrap:wrap;gap:6px 14px;align-items:center;font-size:13px;color:#475569;margin:2px 0 12px}.agr-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.agr-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:14px 16px;margin-bottom:12px}.agr-details{display:grid;grid-template-columns:2fr 1fr 1fr 1fr 110px;gap:12px}.agr-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:12px;align-items:start}@media (max-width: 1100px){.agr-layout{grid-template-columns:1fr}.agr-details{grid-template-columns:1fr 1fr}}.agr-banner{padding:10px 14px;border-radius:8px;font-size:13px;margin-bottom:12px;border:1px solid;display:flex;gap:12px;align-items:center;flex-wrap:wrap}.agr-banner.info{background:#eef2ff;border-color:#c7d2fe;color:#3730a3}.agr-banner.warn{background:#fffbeb;border-color:#fde68a;color:#92400e}.agr-banner.ok{background:#f0fdf4;border-color:#bbf7d0;color:#166534}.agr-banner.bad{background:#fef2f2;border-color:#fecaca;color:#991b1b}.agr-editor{background:#fff;border:1px solid #e2e8f0;border-radius:12px;overflow:hidden}.agr-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:2px;padding:6px 8px;border-bottom:1px solid #e2e8f0;background:#f8fafc}.agr-toolbar button{border:1px solid transparent;background:transparent;border-radius:6px;padding:4px 8px;font-size:13px;color:#334155;cursor:pointer;min-width:30px;line-height:1.4}.agr-toolbar button:hover:not(:disabled){background:#e2e8f0}.agr-toolbar button.is-active{background:#e0e7ff;color:#3730a3;border-color:#c7d2fe}.agr-toolbar button:disabled{color:#cbd5e1;cursor:default}.agr-toolbar select{border:1px solid #e2e8f0;border-radius:6px;padding:3px 6px;font-size:13px;background:#fff;color:#334155}.agr-toolbar .sep{width:1px;align-self:stretch;background:#e2e8f0;margin:3px 5px}.agr-page{background:#f1f5f9;padding:20px;max-height:calc(100vh - 300px);min-height:360px;overflow:auto}.agr-editor.compact .agr-page{max-height:52vh;padding:12px}.agr-page .ProseMirror{background:#fff;max-width:800px;margin:0 auto;padding:44px 56px;min-height:420px;box-shadow:0 1px 3px #0f172a14;outline:none;font-size:15px;line-height:1.6;color:#0f172a}.agr-editor.compact .agr-page .ProseMirror{padding:24px 28px;min-height:260px}.agr-page .ProseMirror h1{font-size:24px;text-align:center;margin:0 0 16px}.agr-page .ProseMirror h2{font-size:19px;margin:20px 0 8px}.agr-page .ProseMirror h3{font-size:16px;margin:16px 0 6px}.agr-page .ProseMirror p{margin:0 0 10px}.agr-page .ProseMirror ul,.agr-page .ProseMirror ol{padding-left:26px;margin:0 0 10px}.agr-page .ProseMirror li p{margin:0 0 4px}.agr-page .ProseMirror table{border-collapse:collapse;width:100%;margin:8px 0 12px;table-layout:fixed}.agr-page .ProseMirror td,.agr-page .ProseMirror th{border:1px solid #94a3b8;padding:6px 8px;vertical-align:top;position:relative}.agr-page .ProseMirror th{background:#f1f5f9;text-align:left}.agr-page .ProseMirror td p,.agr-page .ProseMirror th p{margin:0}.agr-page .ProseMirror .selectedCell:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:#6366f11f;pointer-events:none}.agr-page .ProseMirror[contenteditable=false]{background:#fcfcfd}.var-chip{display:inline-block;padding:0 6px;margin:0 1px;border-radius:4px;background:#e0e7ff;color:#3730a3;font-family:ui-monospace,Consolas,monospace;font-size:.82em;line-height:1.55;white-space:nowrap;vertical-align:baseline}.var-chip.ProseMirror-selectednode{outline:2px solid #6366f1}.page-break{position:relative;border-top:2px dashed #94a3b8;margin:26px -56px;height:0}.agr-editor.compact .page-break{margin:22px -28px}.page-break:after{content:"Page break";position:absolute;top:-10px;left:50%;transform:translate(-50%);background:#fff;color:#64748b;font-size:11px;padding:0 8px}.page-break.ProseMirror-selectednode{border-top-color:#6366f1}.agr-suggest{position:fixed;z-index:1300;background:#fff;border:1px solid #cbd5e1;border-radius:8px;box-shadow:0 10px 30px #0f172a2e;width:310px;max-height:300px;overflow:auto;padding:4px}.agr-suggest .group{font-size:10.5px;color:#94a3b8;text-transform:uppercase;letter-spacing:.06em;padding:6px 8px 2px;font-weight:600}.agr-suggest button{display:flex;justify-content:space-between;gap:8px;width:100%;text-align:left;border:0;background:transparent;padding:6px 8px;border-radius:6px;cursor:pointer;font-size:13px;color:#0f172a}.agr-suggest button.active,.agr-suggest button:hover{background:#eef2ff}.agr-suggest .key{font-family:ui-monospace,Consolas,monospace;font-size:11px;color:#4338ca}.agr-suggest .empty{padding:8px;color:#64748b;font-size:13px}.agr-side{background:#fff;border:1px solid #e2e8f0;border-radius:12px;overflow:hidden}.agr-tabs{display:flex;border-bottom:1px solid #e2e8f0}.agr-tabs button{flex:1;border:0;background:transparent;padding:10px 0;font-size:13px;color:#64748b;cursor:pointer}.agr-tabs button.active{color:#0f172a;font-weight:600;box-shadow:inset 0 -2px #6366f1}.agr-tabbody{padding:12px;max-height:calc(100vh - 250px);overflow:auto}.agr-search{width:100%;box-sizing:border-box;padding:7px 10px;border:1px solid #e2e8f0;border-radius:6px;font-size:13px;margin-bottom:8px}.agr-hint{font-size:12px;color:#64748b;margin:0 0 8px}.agr-group{font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#94a3b8;margin:10px 0 4px}.agr-var{display:flex;justify-content:space-between;align-items:center;gap:8px;width:100%;border:0;background:transparent;padding:6px 8px;border-radius:6px;cursor:pointer;text-align:left;font-size:13px;color:#0f172a}.agr-var:hover:not(:disabled){background:#f1f5f9}.agr-var:disabled{cursor:default;color:#94a3b8}.agr-var .key{font-family:ui-monospace,Consolas,monospace;font-size:11px;color:#6366f1}.agr-muted{font-size:12px;color:#64748b}.agr-clause{border:1px solid #e2e8f0;border-radius:8px;padding:10px;margin-bottom:8px}.agr-clause-head{display:flex;justify-content:space-between;gap:8px;align-items:baseline}.agr-clause-text{font-size:12.5px;color:#475569;margin:6px 0 8px;white-space:pre-wrap}.agr-versions{list-style:none;margin:0;padding:0;display:grid;gap:8px}.agr-versions li{border:1px solid #e2e8f0;border-radius:8px;padding:10px;display:grid;gap:4px}.agr-versions li.viewing{border-color:#a5b4fc;background:#f5f7ff}.agr-versions .row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.agr-review-note{font-size:12.5px;background:#fef2f2;color:#991b1b;padding:6px 8px;border-radius:6px}.agr-newversion{border:1px dashed #c7d2fe;border-radius:8px;padding:10px;margin-bottom:12px;display:grid;gap:6px}.agr-preview-frame{width:100%;height:calc(100vh - 380px);min-height:380px;border:1px solid #e2e8f0;border-radius:8px;background:#fff}.agr-unresolved{background:#fffbeb;border:1px solid #fde68a;color:#92400e;font-size:12.5px;padding:8px 10px;border-radius:6px;margin-bottom:8px}.agr-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a80;display:flex;align-items:center;justify-content:center;z-index:1100}.agr-modal{background:#fff;border-radius:10px;padding:24px;width:560px;max-width:94vw;max-height:94vh;overflow:auto;box-shadow:0 20px 50px -10px #0000004d}.agr-modal.wide{width:1180px}.agr-modal-grid{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:12px;align-items:start}@media (max-width: 1000px){.agr-modal-grid{grid-template-columns:1fr}}*,*:before,*:after{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;-webkit-font-smoothing:antialiased;color:#0f172a;background:#f1f5f9}a{color:inherit}
