*,*::before,*::after{box-sizing:border-box}:root{--navy:#173a63;--green:#236a57;--ink:#172333;--muted:#66768a;--line:#dbe2ea;--paper:#f4f7fa;--focus:#e27a18}html{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper)}body{min-height:100vh;margin:0;display:flex;flex-direction:column}.skip{position:fixed;top:8px;left:8px;z-index:3;padding:.7rem;background:#fff;color:var(--navy);transform:translateY(-150%)}.skip:focus{transform:none}header{background:#fff;border-bottom:1px solid var(--line)}.header-inner,main{width:min(1180px,calc(100% - 2rem));margin:auto}.header-inner{min-height:70px;display:flex;align-items:center;justify-content:space-between;gap:1rem}.home{color:var(--navy);font-weight:700;text-decoration:none}.brand{font-weight:800;color:#102a43}.brand b{margin-left:.35rem;padding:.25rem .55rem;border-radius:999px;background:#e6f3ee;color:var(--green);font-size:.75rem;text-transform:uppercase}main{flex:1}.hero{display:grid;grid-template-columns:1fr minmax(260px,390px);align-items:end;gap:3rem;padding:clamp(2.5rem,7vw,5.5rem) 0 3rem}.eyebrow{color:var(--green);font-size:.78rem;font-weight:850;letter-spacing:.12em;text-transform:uppercase}.hero h1{margin:.45rem 0 .6rem;color:#102a43;font-size:clamp(2.25rem,5vw,4.3rem);line-height:1.05;letter-spacing:-.04em}.hero p,.section-head p{margin:0;color:var(--muted)}.search span{display:block;margin-bottom:.45rem;font-size:.82rem;font-weight:750}.search input{width:100%;min-height:50px;padding:.75rem 1rem;border:1px solid #bec9d5;border-radius:12px;background:#fff;font:inherit}.search input:focus-visible,a:focus-visible{outline:4px solid var(--focus);outline-offset:3px}.section-head{display:flex;justify-content:space-between;margin-bottom:1.2rem}.section-head h2{margin:0 0 .25rem;color:#102a43;font-size:1.45rem}.app-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.app-card{min-height:190px;display:flex;flex-direction:column;padding:1.3rem;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 5px 15px rgba(16,42,67,.05);color:inherit;text-decoration:none;transition:transform .15s,border-color .15s,box-shadow .15s}.app-card:hover{transform:translateY(-3px);border-color:var(--green);box-shadow:0 12px 26px rgba(16,42,67,.1)}.app-icon{width:46px;height:46px;display:grid;place-items:center;margin-bottom:1.1rem;border-radius:12px;background:#e7f2ee;color:var(--green);font-size:1.45rem}.app-card h3{margin:0;color:#102a43;font-size:1.15rem}.app-card p{margin:.45rem 0 1.2rem;color:var(--muted);line-height:1.5}.open{margin-top:auto;color:var(--green);font-size:.88rem;font-weight:800}.empty{grid-column:1/-1;padding:3rem 1.5rem;border:1px dashed #bdc8d4;border-radius:16px;background:#fff;color:var(--muted);text-align:center}.notice{margin-bottom:1.5rem;padding:1rem;border-radius:10px;background:#fff2df;color:#794913}.notice button{margin-left:.6rem;border:0;background:none;color:var(--navy);font:inherit;font-weight:800;text-decoration:underline;cursor:pointer}footer{padding:2.5rem 1rem;text-align:center;color:var(--muted);font-size:.85rem}@media(max-width:850px){.hero{grid-template-columns:1fr;gap:1.5rem}.app-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.header-inner{align-items:flex-start;flex-direction:column;padding:1rem 0}.hero{padding-top:2.5rem}.app-grid{grid-template-columns:1fr}.app-card{min-height:170px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}

.account-button,.primary-button,.secondary-button,.danger-button,.close-button{border:0;font:inherit;font-weight:750;cursor:pointer}.account-button,.secondary-button{padding:.65rem .85rem;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--navy)}.account-button:hover,.secondary-button:hover{background:#f2f6fa}.primary-button{padding:.7rem 1rem;border-radius:10px;background:var(--navy);color:#fff}.danger-button{padding:.6rem .75rem;border-radius:9px;background:#fff0ee;color:#a9271d}.close-button{width:38px;height:38px;border-radius:9px;background:#edf1f5;color:var(--ink);font-size:1.5rem;line-height:1}dialog{width:min(520px,calc(100% - 2rem));padding:0;border:0;border-radius:18px;box-shadow:0 24px 70px rgba(16,42,67,.25)}dialog::backdrop{background:rgba(16,42,67,.48);backdrop-filter:blur(3px)}.admin-dialog{width:min(850px,calc(100% - 2rem));max-height:calc(100vh - 2rem)}.dialog-card{display:grid;gap:1rem;margin:0;padding:1.4rem;background:#fff}.admin-card{min-height:420px}.dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;padding-bottom:.4rem;border-bottom:1px solid var(--line)}.dialog-head h2{margin:0;color:#102a43}.dialog-head p{margin:.25rem 0 0;color:var(--muted)}.field{display:grid;gap:.4rem;color:#344054;font-size:.85rem;font-weight:750}.field input{width:100%;min-height:46px;padding:.7rem .8rem;border:1px solid #bec9d5;border-radius:10px;font:inherit}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.check-field{display:flex;align-items:center;gap:.55rem;color:#344054;font-weight:650}.check-field input{width:18px;height:18px}.dialog-actions,.admin-actions,.item-actions{display:flex;align-items:center;justify-content:flex-end;gap:.65rem}.admin-actions{padding-bottom:1rem;border-bottom:1px solid var(--line)}.admin-actions span{margin-right:auto;color:var(--muted);font-size:.85rem}.form-message{min-height:1.4em;margin:0;color:#b42318;font-size:.88rem}.admin-list{display:grid;gap:.65rem;overflow:auto}.admin-item{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem;border:1px solid var(--line);border-radius:12px}.admin-item.inactive{opacity:.62}.admin-item strong,.admin-item small{display:block}.admin-item small{margin-top:.25rem;color:var(--muted)}.toast{position:fixed;right:1rem;bottom:1rem;z-index:20;max-width:360px;padding:.85rem 1rem;border-radius:10px;background:#173a63;color:#fff;box-shadow:0 12px 30px rgba(16,42,67,.22)}@media(max-width:560px){.account-button{width:100%}.field-row{grid-template-columns:1fr}.admin-item{align-items:flex-start;flex-direction:column}.item-actions{width:100%}.item-actions button{flex:1}.admin-actions{align-items:stretch;flex-wrap:wrap}.admin-actions span{width:100%}}
