:root{--sans:"DM Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--display:"Fraunces",Georgia,serif}
body{font-family:var(--sans)}
.admin-header{min-height:70px;padding-top:6px;padding-bottom:6px}
.admin-brand img{width:50px;height:50px}
.admin-brand b,.login-intro h1,.dashboard-hero h1,.login-card h2,.country-panel h2,.metric b,.detail-grid b{font-family:var(--display)}

.release-matrix{margin:0 0 18px;padding:22px;border:1px solid var(--line);border-radius:24px;background:rgba(255,253,249,.96)}
.release-matrix>header{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:14px}
.release-matrix h2{margin:7px 0 0;font-family:var(--display);font-size:26px}
.release-matrix>header small{max-width:330px;color:var(--muted);line-height:1.45;text-align:end}
.release-matrix>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.release-country{display:flex;align-items:center;justify-content:space-between;gap:9px;min-height:48px;padding:8px 11px;border:1px solid #edc7cc;border-radius:13px;color:var(--ink);background:#fff8f8;cursor:pointer;font:800 12px/1.25 var(--body)}
.release-country b{padding:5px 7px;border-radius:999px;color:#8b2734;background:#fdebed;font-size:10px}
.release-country.ready{border-color:#b8dfd2;background:#f2fbf7}
.release-country.ready b{color:#17644f;background:#e4f4ed}

.operations{margin-top:26px;padding-top:24px;border-top:1px solid var(--line)}
.operations>header{display:flex;align-items:end;justify-content:space-between;margin-bottom:14px}
.operations h2{margin-top:8px}
.operation-grid{display:grid;gap:10px}
.operation-grid details{overflow:hidden;border:1px solid var(--line);border-radius:16px;background:#fff}
.operation-grid summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;cursor:pointer;font-weight:850;list-style:none}
.operation-grid summary::-webkit-details-marker{display:none}
.operation-grid summary b{display:grid;min-width:30px;height:30px;place-items:center;border-radius:999px;color:#fff;background:var(--ink);font-size:12px}
.table-scroll{overflow:auto;border-top:1px solid var(--line)}
.operation-grid table{width:100%;min-width:720px;border-collapse:collapse}
.operation-grid th,.operation-grid td{padding:12px 14px;border-bottom:1px solid var(--line);text-align:start;vertical-align:middle;font-size:12px}
.operation-grid th{color:var(--muted);background:#f7f5ef;font-size:10px;letter-spacing:.06em;text-transform:uppercase}
.operation-grid td b,.operation-grid td small{display:block}
.operation-grid td small{margin-top:4px;color:var(--muted)}
.operation-grid select,.operation-grid input{width:100%;min-height:40px;padding:7px 9px;border:1px solid var(--line);border-radius:10px;background:#fff}
.button.compact{min-height:40px;padding:0 12px}
.message-cell{max-width:360px;line-height:1.5}
.record-status{display:inline-flex;padding:6px 9px;border-radius:999px;background:#edf3f7;font-weight:800}
.empty-records{margin:0;padding:18px;border-top:1px solid var(--line);color:var(--muted)}

@media(max-width:850px){.release-matrix>div{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.release-matrix{padding:16px}.release-matrix>header{display:block}.release-matrix>header small{display:block;margin-top:8px;text-align:start}.release-matrix>div{grid-template-columns:1fr}}
.module-control{margin-top:24px;padding-top:24px;border-top:1px solid var(--line)}
.module-control>header{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:15px}.module-control>header h2{margin:6px 0 0;font:750 30px/1.05 var(--display)}.module-control>header>b{display:grid;place-items:center;width:58px;height:58px;border-radius:18px;color:#fff;background:var(--ink);font:750 26px/1 var(--display)}
.module-control-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.module-control-card{display:grid;gap:12px;padding:16px;border:1px solid var(--line);border-radius:18px;background:#faf9f5}.module-control-card>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.module-control-card>header>span{font-weight:850}.module-control-card>header label{display:flex;align-items:center;gap:6px;font-size:9px;font-weight:900;text-transform:uppercase}.module-control-card>header input{width:19px;height:19px;accent-color:var(--green)}.module-control-card .field input{min-height:42px}.module-control-card .button{width:100%;min-height:42px}
@media(max-width:900px){.module-control-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.module-control-grid{grid-template-columns:1fr}.module-control>header h2{font-size:25px}}
