/* Shared administration UI for file-backed PHP modules. */
:root{--admin-ink:#172537;--admin-muted:#64748b;--admin-line:#dce5ed;--admin-teal:#176d78}
html{scroll-padding-top:20px}body{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.6;min-width:0;color:var(--admin-ink)}
body .top{gap:18px;flex-wrap:wrap;min-height:70px;padding:14px max(18px,5%)}body .top img{max-width:190px;height:36px;object-fit:contain;margin-right:auto}body .top a{font-size:14px;font-weight:600;text-decoration:none}body .top a:hover{color:#8ee6eb}body .wrap{width:100%;max-width:1180px;padding-inline:clamp(14px,3vw,28px);margin-block:clamp(22px,4vw,40px)}
body .box{border:1px solid var(--admin-line);border-radius:14px;box-shadow:0 4px 20px #17253708;padding:clamp(18px,3vw,28px);min-width:0}body .title{line-height:1.25;letter-spacing:-.025em;color:var(--admin-ink)}body .title.is-3{font-size:clamp(1.6rem,3vw,2.15rem)}body .title.is-5{font-size:1.15rem}body .subtitle{color:var(--admin-muted);line-height:1.55}
body .button{border-radius:8px;min-height:42px;font-weight:600;white-space:normal;height:auto;padding:9px 15px}body .button.is-small{min-height:34px;padding:6px 11px}body .button.primary,body .button.is-primary{background:var(--admin-teal);border-color:var(--admin-teal);color:white}body .button.primary:hover,body .button.is-primary:hover{background:#105761;color:white}body .button.is-danger.is-light{color:#a5281a;background:#fff1ef;border-color:#f5d1cc}
body .input,body .textarea,body .select select{border-radius:8px;border-color:#c7d5e1;box-shadow:none;font-size:1rem;max-width:100%;min-height:44px}body .input[type=file]{height:auto;padding:7px;border:1px dashed #b2c2d0;background:#f8fafc}body .input[type=file]::file-selector-button{background:#e6f2f3;color:#176d78;border:0;border-radius:6px;padding:9px 13px;margin-right:10px;font-weight:650;cursor:pointer}body .label{font-size:.875rem;color:#334155}body .field{min-width:0}body .help{font-size:.82rem;line-height:1.5;color:var(--admin-muted)}
body :focus-visible{outline:3px solid #168390;outline-offset:3px}body .input:focus,body .textarea:focus,body .select select:focus{border-color:#168390;box-shadow:0 0 0 3px #16839020}body .notification{border-radius:10px;overflow-wrap:anywhere}body .table-container{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain}body .table{margin-bottom:0;min-width:560px}body .table thead th{background:#f3f7fa;color:#52657a;font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.035em;white-space:nowrap}body .table td{vertical-align:middle;line-height:1.5;overflow-wrap:anywhere;padding:14px 10px}body .table tbody tr:hover{background:#f7fafc}body .actions{gap:8px;flex-wrap:wrap}body .fields{grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr))}body .wide{grid-column:1/-1}body .heading,body .heading-row{gap:14px}body .heading input[type=search]{width:min(100%,300px)}
@media(max-width:640px){body .top{padding:12px 14px;gap:10px 15px}body .top img{flex-basis:100%;object-position:left;margin-right:auto}body .top a{font-size:.8rem}body .wrap{padding-inline:12px}body .box{padding:16px}body .heading,body .heading-row{align-items:stretch}body .heading input[type=search]{max-width:100%!important}body .fields{grid-template-columns:1fr}body .table{min-width:520px}body .table td{padding:10px 8px}body .apply,body .login{width:100%}body .photo-area input[type=file]{max-width:100%;font-size:.8rem}body .form-footer{flex-wrap:wrap}body #leaderRows{min-width:0}body .table:has(#leaderRows){min-width:0}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
