:root{font-family:Tahoma,Arial,sans-serif;color:#15322a;background:#f2f6f4;--green:#075540;--line:#dbe6e0;--muted:#49635c;--red:#a72624}
*{box-sizing:border-box}body{margin:0;line-height:1.5}button,a,input{font:inherit}button,a{overflow-wrap:anywhere}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}[hidden]{display:none!important}.wrap{width:min(1200px,100% - 48px);margin:auto}.brand{background:white;border-bottom:1px solid var(--line)}.brand .wrap{display:flex;align-items:center;gap:16px;height:85px}.brand img{height:58px;width:auto}.brand span{display:block;font-size:.9rem;color:var(--muted)}main{padding-block:26px}.hero{overflow:hidden;display:grid;grid-template-columns:1.25fr 1fr;background:#07513c;color:white;border-radius:16px;min-height:230px}.hero div{align-self:center;padding:28px 42px}.hero img{width:100%;height:100%;max-height:280px;object-fit:cover;object-position:center 45%;min-width:0}.hero p{margin:0;color:#c7f1da}.hero h1{font-size:clamp(1.75rem,4vw,3.1rem);line-height:1.3;margin:8px 0}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:20px 0}.stats div,.panel{background:white;border:1px solid var(--line);border-radius:14px}.stats div{padding:16px 20px}.stats span{color:var(--muted);font-size:.93rem}.stats strong{display:block;font-size:2rem}.expired{color:var(--red);font-weight:bold}.panel{padding:22px}.section-header,.actions,.filters{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.section-header{justify-content:space-between}.section-header p,h2{margin:0}.section-header p{color:var(--muted)}.filters{margin:17px 0;align-items:end}label{display:grid;gap:5px;font-weight:bold;font-size:.94rem}input:not([type=checkbox]){min-width:0;max-width:100%;border:1px solid #aebeb6;border-radius:8px;padding:9px 10px;background:white;color:inherit;width:100%;min-height:43px}.filters label:first-child{width:min(320px,100%)}.toggle{display:flex;align-items:center;min-height:43px}.toggle input{width:18px;height:18px;accent-color:var(--green)}button,.button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;border-radius:8px;border:1px solid var(--green);padding:7px 13px;background:var(--green);color:white;text-decoration:none;text-align:center}.secondary{color:var(--green);background:#f4faf7}.name{color:var(--green);font-weight:bold;background:none;border:0;padding:0;text-align:start}.link{color:var(--green)}.badge{display:inline-block;padding:3px 8px;border-radius:100px;background:#feeae9}.muted{color:var(--muted)}table{width:100%;border-collapse:collapse;text-align:start;margin-top:14px;table-layout:auto}th{text-align:start;background:#edf5f1;color:#214b3e}th,td{padding:10px 11px;border-bottom:1px solid var(--line);overflow-wrap:anywhere}td .actions{gap:7px}time{white-space:nowrap}footer{text-align:center;padding:20px 16px;color:var(--muted);border-top:1px solid var(--line);background:white;font-size:.9rem}#notice:empty{display:none}#notice{background:#e4f3eb;padding:10px 14px;border-radius:8px}#notice.error,.form-error{color:var(--red)}dialog{width:min(500px,calc(100% - 24px));max-height:90dvh;border:1px solid var(--line);border-radius:15px;color:inherit;padding:20px}dialog::backdrop{background:#102b24aa}form{display:grid;gap:12px;margin-top:12px}.pair{display:grid;grid-template-columns:1fr 1fr;gap:10px}.form-error:empty{display:none}.dialog-head{display:flex;justify-content:space-between;align-items:center;gap:8px}.dialog-head button{min-width:43px}.history{padding-inline-start:24px}
@media(max-width:700px){.wrap{width:calc(100% - 24px)}.brand .wrap{height:72px}.brand img{height:48px}main{padding-block:14px}.hero{grid-template-columns:1fr;min-height:0}.hero div{padding:18px}.hero img{height:126px;object-position:center 37%}.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:12px 0}.stats div{padding:10px 7px}.stats strong{font-size:1.5rem}.stats span{font-size:.82rem;display:block;min-height:2.45em}.panel{padding:12px}.section-header{align-items:flex-start}table,tbody,tr,td{display:block}thead{position:absolute;clip-path:inset(50%);height:1px;width:1px;overflow:hidden}tr{border:1px solid var(--line);border-radius:10px;margin-bottom:8px;padding:8px}td{display:flex;justify-content:space-between;align-items:center;gap:8px;border:0;padding:4px;flex-wrap:wrap}td[data-name]::before{content:attr(data-name);color:var(--muted);font-size:.9rem}td:first-child{font-weight:bold}.filters{align-items:start}.filters label:first-child{width:100%}}

textarea,output{font:inherit;border:1px solid #aebeb6;border-radius:8px;padding:9px 10px;max-width:100%;min-width:0;color:inherit}textarea{width:100%;resize:vertical}output{background:#edf5f1}.unit-note{white-space:pre-wrap;overflow-wrap:anywhere;max-width:100%}

.expiry-date{display:inline-flex;flex-wrap:wrap;align-items:center;gap:5px 8px}
.expiry-status{border-radius:100px;padding:2px 8px;font-weight:bold}
.expiry-date.expired .expiry-status{background:#feeae9}
.expiring{color:#704900;font-weight:bold}
.expiry-date.expiring .expiry-status,.badge.expiring{background:#fff0b1}
.expiry-date.valid{color:#176139;font-weight:bold}
.expiry-date.valid .expiry-status{background:#dff4e5}


body{background:linear-gradient(#f2f6f4ef,#f2f6f4f8),url('/cover.webp') center top/cover fixed no-repeat}
.hero{display:flex;align-items:flex-end;min-height:0;aspect-ratio:2.1;background:linear-gradient(0deg,#052e2466,#064b3922),url('/cover.webp') center/cover no-repeat}
.hero div{align-self:flex-end;padding:clamp(18px,4vw,44px)}
.hero h1{text-shadow:0 2px 12px #062d23}
@media(max-width:700px){body{background-attachment:scroll}.hero{aspect-ratio:auto;min-height:0;padding-top:56.25%;background-size:100% 100%,100% auto;background-position:center bottom,center top;background-color:#07513c}.hero div{padding:12px 16px}.hero h1{font-size:clamp(1.2rem,5.6vw,1.75rem);margin:4px 0}}

.brand .wrap{height:auto;min-height:85px;padding-block:10px}
.brand-names{min-width:0;line-height:1.45}
.brand-names strong{display:block;font-size:clamp(.92rem,3.5vw,1.125rem)}
.brand-names span:last-child{color:var(--green);font-weight:bold}

select{font:inherit;max-width:100%;min-width:0;color:inherit;background:#fff;border:1px solid #aebeb6;border-radius:8px;padding:9px;min-height:43px}

.map-banner{position:relative;overflow:hidden;border-radius:16px;background:#07513c}
.map-banner img{display:block;width:100%;height:auto}
.map-title{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;margin:0}

#accessPanel{max-width:460px;margin:16px auto 0;display:grid;gap:12px}
#accessPanel p:empty{display:none}

.button.exit-home{color:var(--red);border-color:var(--red);background:#fff4f3}
.button.exit-home:hover{background:#feeae9}

output.locked-spec{background:#e9eceb;color:#37463f}
