.a5-form{--a5-blue:#2956ad;--a5-muted:#607087;max-width:1180px;width:100%;box-sizing:border-box}
.a5-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;border-bottom:1px solid #dce6f5;padding-bottom:20px}
.a5-heading h2{font-size:clamp(24px,2.6vw,32px);line-height:1.17;margin:8px 0 10px;color:#172b50}
.a5-heading p{margin:0}.a5-eyebrow{color:var(--a5-blue);font-size:12px;letter-spacing:.1em;font-weight:800}
.a5-badge{flex:none;background:#eaf0fb;color:#284b88;border-radius:999px;padding:8px 13px;font-weight:700;font-size:13px}
.a5-status-approved{background:#d9f3e5;color:#216743}.a5-status-submitted{background:#dceaff}.a5-status-returned{background:#fff0d5;color:#945317}
.a5-info{background:#eef5ff;border:1px solid #cbdcf3;border-left:5px solid #5177c6;border-radius:12px;margin:22px 0 14px;padding:16px 18px;display:flex;flex-direction:column;gap:6px;line-height:1.5}
.a5-period{display:flex;flex-direction:column;gap:7px;max-width:290px;margin:16px 0 24px;font-weight:700}
.a5-form .a5-section{border:1px solid #dfe5ef;border-radius:15px;padding:22px 24px;margin:16px 0 24px;background:#fff}
.a5-section-head{display:flex;align-items:center;gap:16px;margin-bottom:17px}.a5-section-head>span{display:grid;place-items:center;width:46px;height:46px;flex:none;border-radius:12px;color:#2856a4;background:#e8effd;font-weight:800;font-size:18px}
.a5-section-head h3{font-size:21px;margin:0 0 4px;color:#243450}.a5-section-head p{margin:0;color:var(--a5-muted);font-size:14px;line-height:1.45}
.a5-date{display:flex;flex-direction:column;gap:8px;max-width:290px;font-weight:700}.a5-muted{font-size:13px;color:var(--a5-muted);line-height:1.55}
.a5-warning{background:#fff8e9;border:1px solid #ffe3a1;padding:15px 18px;border-radius:10px;line-height:1.55;margin:16px 0 20px}
.a5-priority{border:1px solid #e2e8f0;border-left:5px solid #7e91b4;margin:13px 0;border-radius:10px;overflow:hidden}
.a5-I{border-left-color:#bf4949}.a5-II{border-left-color:#d18b36}.a5-III{border-left-color:#d6b441}.a5-IV{border-left-color:#438b63}
.a5-priority>summary{cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:10px;padding:14px 16px;background:#f8faff;color:#253a5d;line-height:1.4}
.a5-priority>summary span{border-radius:40px;background:#e3eafb;min-width:38px;padding:5px 10px;text-align:center}
.a5-scroll{overflow-x:auto}.a5-table{border-collapse:collapse;width:100%;min-width:830px;table-layout:fixed}
.a5-table th,.a5-table td{border-bottom:1px solid #e4eaf3;padding:11px 9px;text-align:center}.a5-table th:first-child{width:43%;text-align:left}.a5-table th:last-child{width:84px}.a5-table td input[type=number]{width:100%;min-width:64px;max-width:105px;box-sizing:border-box;padding:9px 7px;text-align:center}
.a5-law-number{display:inline-block;white-space:nowrap;color:#2e5fac;font-weight:800;margin-right:9px}.a5-table th>span:last-child{font-weight:500;line-height:1.5;font-size:13px;color:#3d5067}
.a5-confirm{display:flex;align-items:center;gap:5px;justify-content:center;font-size:12px;color:#496078}.a5-confirm input,.a5-check input{height:20px;width:20px;flex:none}
.a5-check{display:flex;align-items:flex-start;gap:13px;padding:14px 0;line-height:1.5;font-weight:550}
.a5-total{background:#eef4ff;border-radius:12px;padding:18px;display:flex;align-items:center;flex-wrap:wrap;gap:12px}.a5-total strong{font-size:30px;margin-left:auto;color:#264f95}.a5-total small{flex-basis:100%;color:#60728d}
.a5-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.a5-metric{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid #e5eaf4;border-radius:10px;padding:12px 14px;font-size:14px;line-height:1.4}.a5-metric input{width:110px;min-width:96px;flex:none;text-align:center}
.a5-balance{margin-top:16px;border-radius:11px;background:#eff4fe;padding:15px;display:flex;flex-wrap:wrap;gap:12px 25px}.a5-balance>span{font-size:14px}.a5-invalid{color:#ab3333;font-weight:700}
.a5-file-actions,.a5-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:17px 0}
.a5-upload{display:flex;flex-direction:column;gap:8px;max-width:340px;font-weight:600;font-size:13px}.a5-upload input{max-width:100%;font-weight:400}
.a5-form [data-a5-error]{color:#b02033;white-space:pre-wrap}.a5-form input:disabled{background:#f4f6fa;opacity:1}.a5-history{border-top:1px solid #e0e7f0;padding:15px 0;margin-top:28px}.a5-history summary{cursor:pointer;font-weight:700}
.a5-admin-table{width:100%;border-collapse:collapse;min-width:800px}.a5-admin-table td,.a5-admin-table th{border-bottom:1px solid #dfe5ef;padding:12px;text-align:left}.a5-admin-table-wrap{overflow-x:auto}.a5-admin-kpi{display:flex;gap:15px;flex-wrap:wrap}.a5-admin-kpi>div{padding:16px;border-radius:12px;background:#eaf1fc;min-width:180px}.a5-admin-kpi b{display:block;font-size:24px;margin-top:7px}
@media(max-width:700px){.a5-heading{flex-direction:column;gap:12px}.a5-form .a5-section{padding:17px 12px}.a5-metrics{grid-template-columns:1fr}.a5-metric{font-size:13px}.a5-section-head h3{font-size:19px}.a5-table{min-width:760px}.a5-actions .btn{flex:1}.a5-form{padding:14px}}

/* Guided entry: legal basis, source, de-duplication and explicit verified-zero distinction. */
.a5-guide{padding:20px 22px;margin:14px 0 18px;background:linear-gradient(115deg,#f1f7ff,#fff);border:1px solid #c9d8ef;border-radius:14px;color:#29405f}
.a5-guide h4{font-size:18px;margin:0 0 12px;color:#21395e}
.a5-guide ol{margin:0 0 14px;padding-left:24px}
.a5-guide li{margin:9px 0;line-height:1.6}
.a5-guide-example{background:#e2ecfc;border-left:4px solid #365fc0;padding:13px 16px;border-radius:8px;line-height:1.55}
.a5-help-note{margin:0 0 16px;padding:14px 16px;background:#f3f6fc;border-radius:10px;line-height:1.55;color:#3c5378}
.a5-row-help{margin-top:9px;font-size:12px;line-height:1.5;color:#435775;font-weight:400}
.a5-row-help summary{cursor:pointer;color:#315eb3;font-weight:700}
.a5-row-help p{margin:7px 0}
.a5-table th:last-child{width:120px}
.a5-total small{line-height:1.55}
@media(max-width:700px){.a5-guide{padding:15px 13px}.a5-guide li{margin-bottom:12px}.a5-table{min-width:810px}}

/* Temporary coordinator-only maintenance state, visible instead of the entry form. */
.a5-maintenance-page{max-width:1180px;width:100%;box-sizing:border-box;min-height:380px}
.a5-maintenance-banner{display:flex;align-items:flex-start;gap:22px;margin:32px 0 22px;padding:30px 32px;border:1px solid #bcd0ed;border-left:6px solid #3d66bd;border-radius:16px;background:linear-gradient(118deg,#edf4ff 0%,#f8fbff 75%);color:#223b64;box-shadow:0 8px 26px rgba(25,63,123,.07)}
.a5-maintenance-icon{display:grid;place-items:center;flex:none;width:62px;height:62px;border-radius:17px;background:#dbe8fb;color:#315db3;font-size:45px;line-height:1;font-weight:700}
.a5-maintenance-label{display:inline-block;color:#315db3;font-weight:800;letter-spacing:.08em;font-size:12px;margin:0 0 7px}
.a5-maintenance-copy h3{color:#20385f;font-size:clamp(22px,2.5vw,30px);margin:0 0 15px;line-height:1.2}
.a5-maintenance-copy p{font-size:15px;line-height:1.65;max-width:700px;margin:0 0 10px}
.a5-maintenance-page .a5-period{margin-top:25px}
@media(max-width:650px){.a5-maintenance-page{padding:16px;min-height:320px}.a5-maintenance-banner{gap:14px;padding:19px 15px;margin:24px 0 18px}.a5-maintenance-icon{width:44px;height:44px;border-radius:11px;font-size:33px}.a5-maintenance-copy p{font-size:14px}}
