/* Shared operational primitives; Tailwind handles page layout. */
[hidden] { display: none !important; }
body { font-family: "Segoe UI", Arial, sans-serif; line-height: 1.5; }
.shell { display:flex; flex-wrap:wrap; align-items:center; gap:1rem; padding:1rem 2rem; background:#fff; }
.shell nav { display:flex; flex-wrap:wrap; gap:1rem; flex:1; }
.brand { font-weight:750; color:#047857; }
body a { color:#047857; text-decoration:underline; text-underline-offset:3px; }
.panel { margin:1.5rem 0; padding:1.5rem; border:1px solid #cbd5e1; border-radius:10px; background:#fff; }
label { display:block; font-weight:600; min-width:0; }
body input, body select { display:block; width:100%; margin-top:.35rem; border:1px solid #94a3b8; border-radius:6px; padding:.65rem .8rem; color:#0f172a; background:white; font-weight:400; }
body button { border-radius:6px; padding:.65rem 1rem; background:#047857; color:#fff; font-weight:600; min-height:44px; cursor:pointer; }
button:hover { background:#065f46; }
button.secondary { background:#fff; color:#0f172a; border:1px solid #94a3b8; }
button.secondary:hover { background:#f1f5f9; }
button.danger { background:#b91c1c; }
button.danger:hover { background:#991b1b; }
button:disabled { opacity:.55; cursor:not-allowed; }
:focus-visible { outline:3px solid #047857; outline-offset:3px; }
.muted { color:#475569; font-size:.9rem; }
.password-field { position:relative; }
.password-field input { padding-right:3.5rem; }
body button.password-toggle { position:absolute; right:1px; top:1px; bottom:1px; width:46px; padding:0; display:grid; place-items:center; background:transparent; color:#475569; }
body button.password-toggle:hover { background:#f1f5f9; color:#0f172a; }
.remember-option { display:flex; align-items:center; gap:.65rem; margin-top:1rem; min-height:44px; cursor:pointer; font-weight:400; }
body .remember-option input { width:18px; height:18px; margin:0; padding:0; flex-shrink:0; accent-color:#047857; }
.notice { padding:1rem; margin:1rem 0; border:1px solid #a7f3d0; border-radius:6px; color:#065f46; background:#ecfdf5; overflow-wrap:anywhere; }
.notice.error { color:#991b1b; border-color:#fecaca; background:#fef2f2; }
.notice.neutral { color:#334155; background:#f1f5f9; border-color:#cbd5e1; }
.attention { border-color:#fcd34d; background:#fffbeb; color:#78350f; }
.selection { padding:1rem 0; overflow-wrap:anywhere; }
.section-title { font-weight:650; margin:1.5rem 0 .6rem; }
.table-scroll { max-width:100%; overflow:auto; }
table { width:100%; border-collapse:collapse; font-size:.9rem; font-variant-numeric:tabular-nums; }
th, td { padding:.7rem; text-align:left; border-bottom:1px solid #e2e8f0; vertical-align:top; }
th { color:#475569; background:#f8fafc; }
.skip-link { position:absolute; left:1rem; top:-5rem; z-index:50; background:white; padding:.7rem; }
.skip-link:focus { top:.5rem; }
@media(max-width:640px) { .panel { padding:1rem; } .shell { padding:1rem; } }
