body[data-page-mode="records"]{min-height:100vh;background:radial-gradient(ellipse at 85% 0%,rgba(218,181,111,.18),transparent 38%),#f5f1e7}
.records-topbar{display:flex;align-items:center;justify-content:space-between}.records-back{font-weight:700;text-decoration:none;color:#285440;padding:10px 14px;border-radius:999px;background:#fffdf8;border:1px solid rgba(40,84,64,.16)}
.records-shell{width:min(100% - 28px,920px);margin:0 auto;padding:26px 0 64px}.records-hero{padding:22px 20px 26px;border-radius:22px;background:linear-gradient(135deg,#174c38,#28684a);color:#fff;box-shadow:0 16px 38px rgba(27,71,49,.17)}.records-hero .eyebrow{color:#e8d39e;letter-spacing:.16em;font-size:.72rem;font-weight:800;margin:0 0 10px}.records-hero h1{font-size:clamp(2.2rem,9vw,4rem);line-height:1;margin:0}.records-hero h1 em{color:#e9ce8a;font-family:Georgia,serif}.records-hero>p:last-child{max-width:560px;color:#e1ece4;margin:13px 0 0;line-height:1.5}
.records-tools{position:sticky;top:8px;z-index:2;margin:16px 0;padding:15px;border:1px solid rgba(37,74,54,.12);border-radius:18px;background:rgba(255,253,248,.96);box-shadow:0 10px 28px rgba(48,50,34,.09);backdrop-filter:blur(12px)}.records-search-label{display:block;font-size:.84rem;font-weight:800;margin:0 0 8px;color:#234936}.records-search-wrap{min-height:54px;display:flex;align-items:center;gap:10px;padding:0 12px;border:1.5px solid #c7d1c2;border-radius:14px;background:#fff;box-shadow:inset 0 1px 2px #18220a0a}.records-search-wrap:focus-within{border-color:#39724f;box-shadow:0 0 0 3px #39724f20}.records-search-wrap>span{font-size:1.65rem;line-height:1;color:#477354}.records-search-wrap input{min-width:0;flex:1;border:0!important;outline:none!important;box-shadow:none!important;background:transparent!important;font-size:1rem!important;padding:12px 0!important}.records-search-wrap button{border:0;background:transparent;color:#59715f;font-size:1.5rem;width:36px;height:36px;border-radius:50%;cursor:pointer}.records-tool-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px}.records-tool-row p{margin:0;color:#647064;font-size:.85rem}.records-tool-row .button{min-height:40px}.records-list{display:grid;gap:12px}.record-card{background:#fffdf8;border:1px solid #e7e1d3;border-radius:18px;padding:16px;box-shadow:0 6px 18px #3c38210a}.record-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.record-number{font-size:.91rem;font-weight:850;color:#214a35;overflow-wrap:anywhere}.record-date{font-size:.76rem;color:#7b8074;margin-top:5px}.record-status{white-space:nowrap;border-radius:999px;padding:6px 10px;font-size:.72rem;font-weight:800;background:#edf2e8;color:#36583d}.record-status.cancelled{background:#f8e9e4;color:#9b4434}.record-status.delivered,.record-status.served{background:#e3f2e9;color:#21603c}.record-details{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:15px 0 0}.record-detail span{display:block;font-size:.69rem;text-transform:uppercase;letter-spacing:.08em;color:#858777;margin-bottom:4px}.record-detail strong{font-size:.9rem;color:#27372c;overflow-wrap:anywhere}.record-total{font-size:1.1rem!important;color:#1e5638!important}.record-items{padding-top:12px;margin-top:12px;border-top:1px solid #eee9dd;color:#596557;font-size:.84rem;line-height:1.5}.records-state{text-align:center;padding:38px 20px;border-radius:18px;background:#fffdf8;color:#6a7468}.records-state.error{color:#963e32}.record-count-empty{font-weight:700;color:#334e3c}
@media(min-width:700px){.records-shell{padding-top:42px}.records-hero{padding:36px 38px}.records-tools{padding:18px 20px}.record-card{padding:20px 22px}.record-details{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* Keep archive text readable against the light and forest panels despite the shared page theme. */
body[data-page-mode="records"] .records-hero h1{color:#fffdf8!important;text-align:center!important}
body[data-page-mode="records"] .records-hero h1 em{color:#e9ce8a!important}
body[data-page-mode="records"] .records-hero>p:last-child{color:#e8f0e9!important;text-align:center!important}
body[data-page-mode="records"] .records-hero .eyebrow{color:#e9ce8a!important}
body[data-page-mode="records"] .records-search-label{color:#234936!important;text-align:left!important}
body[data-page-mode="records"] .records-tool-row p{color:#596557!important;text-align:left!important}
body[data-page-mode="records"] .record-number,
body[data-page-mode="records"] .record-detail strong{color:#234936!important;-webkit-text-fill-color:#234936!important}
body[data-page-mode="records"] .record-detail span{color:#687365!important}
body[data-page-mode="records"] .record-date{color:#687365!important}
body[data-page-mode="records"] .record-items{color:#4f5e51!important}
body[data-page-mode="records"] .records-search-wrap input{color:#24231f!important;-webkit-text-fill-color:#24231f!important;text-align:left!important}
body[data-page-mode="records"] .records-hero>p:last-child{width:min(100%,560px)!important;margin:13px auto 0!important;text-align:center!important}
body[data-page-mode="records"] .records-search-wrap input{width:auto!important;min-width:0!important;flex:1 1 auto!important;margin:0!important}
body[data-page-mode="records"] .records-search-wrap .records-clear,
body[data-page-mode="records"] .records-tool-row .button{margin:0!important;align-self:center!important}
body[data-page-mode="records"] .records-search-wrap input::placeholder{color:#747168!important;-webkit-text-fill-color:#747168!important}
body[data-page-mode="records"] .records-clear,
body[data-page-mode="records"] .records-clear:hover{width:auto!important;height:40px!important;min-height:40px!important;flex:0 0 auto!important;padding:0 14px!important;border:1px solid rgba(24,63,48,.3)!important;border-radius:3px!important;background:#f9f6ee!important;color:#183f30!important;box-shadow:none!important;font-size:.82rem!important;font-weight:700!important;line-height:1!important}
body[data-page-mode="records"] .records-clear:focus-visible{outline:2px solid #39724f!important;outline-offset:2px!important}
