@font-face { font-family: 'Solmax'; src: url('solmax.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
:root { --spring: #64DB5A; --deep: #112A3F; --muted: #5A6A78; --line: #E1E4E7; --soft: #F4F5F6; --warn: #C0392B; }
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: 'Solmax', Arial, sans-serif; color: #000; font-weight: 300; font-size: 15px; }
a { color: var(--deep); font-weight: 500; }
h1 { font-weight: 700; color: var(--deep); letter-spacing: -0.01em; }

body.auth { background: var(--deep); min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 40px 16px; position: relative; overflow-x: hidden; }
.lines { position: fixed; right: 0; bottom: 0; width: min(900px, 90vw); height: 70vh; z-index: 0; }
.card { position: relative; z-index: 1; background: #fff; width: 100%; max-width: 440px; padding: 32px; border-top: 5px solid var(--spring); }
.card.wide { max-width: 620px; }
.card .logo { height: 30px; display: block; margin-bottom: 18px; }
.app-name { margin: 0 0 4px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #4CBA43; }
.card h1 { font-size: 26px; margin: 0 0 6px; }
.sub { color: var(--muted); margin: 0 0 18px; line-height: 1.55; }
label { display: block; font-size: 13px; font-weight: 600; color: var(--deep); margin: 14px 0 6px; }
.opt { font-weight: 300; color: var(--muted); }
input, textarea, select { width: 100%; font: inherit; font-weight: 400; padding: 10px 12px; border: 1px solid #B4C1D1; border-radius: 2px; background: #fff; color: #000; }
input:focus, textarea:focus { outline: 2px solid var(--deep); outline-offset: -1px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 520px) { .row { grid-template-columns: 1fr; } .card { padding: 24px 20px; } }
button, .btn { font: inherit; font-weight: 700; cursor: pointer; border: 0; border-radius: 100px; padding: 12px 22px; background: var(--spring); color: var(--deep); text-decoration: none; display: inline-block; }
.card form > button { width: 100%; margin-top: 22px; }
button:hover, .btn:hover { filter: brightness(.95); }
.alt { margin-top: 18px; font-size: 14px; color: var(--muted); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.msg { padding: 12px 14px; margin: 0 0 14px; font-size: 14px; line-height: 1.5; border-left: 4px solid var(--spring); background: #EEFBEC; color: var(--deep); }
.msg.err { border-color: var(--warn); background: #FBEDEB; color: #8A2318; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.note { font-size: 12.5px; color: var(--muted); margin: 8px 0 0; }

body.admin { background: #F4F5F6; min-height: 100vh; }
.bar { background: var(--deep); color: #fff; }
.bar-in { max-width: 1240px; margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.bar .logo { height: 28px; display: block; }
.bar nav { display: flex; gap: 22px; flex: 1; }
.bar nav a { color: #B4C1D1; text-decoration: none; font-weight: 500; padding: 6px 0; border-bottom: 3px solid transparent; }
.bar nav a.on, .bar nav a:hover { color: #fff; border-color: var(--spring); }
.who { display: flex; align-items: center; gap: 14px; font-size: 14px; }
.who form { margin: 0; }
button.link { background: none; color: #fff; padding: 6px 14px; border: 1px solid rgba(255,255,255,.5); border-radius: 100px; font-weight: 500; }
.page { max-width: 1240px; margin: 0 auto; padding: 28px 20px 60px; }
.page h1 { font-size: 28px; margin: 0 0 6px; }
.tabs { display: flex; gap: 6px; margin: 18px 0; flex-wrap: wrap; }
.tabs a { text-decoration: none; padding: 8px 16px; border-radius: 100px; border: 1px solid var(--line); background: #fff; font-size: 14px; }
.tabs a.on { background: var(--deep); color: #fff; border-color: var(--deep); }
.tabs .n { opacity: .7; margin-left: 4px; }
.tablewrap { background: #fff; border: 1px solid var(--line); overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--deep); padding: 12px 14px; border-bottom: 2px solid var(--deep); white-space: nowrap; }
td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr.hl td { background: #EEFBEC; }
td .small { color: var(--muted); font-size: 12.5px; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }
.actions form { margin: 0; }
.actions button { padding: 7px 14px; font-size: 13px; }
button.ghost { background: #fff; border: 1px solid #B4C1D1; color: var(--deep); font-weight: 500; }
button.danger { background: #fff; border: 1px solid var(--warn); color: var(--warn); font-weight: 500; }
.badge { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 100px; background: var(--soft); white-space: nowrap; }
.badge.pending { background: #FFF4D6; color: #7A5A00; }
.badge.approved { background: #DDF7DA; color: #1E6B18; }
.badge.rejected, .badge.deactivated { background: #FBEDEB; color: #8A2318; }
.empty { padding: 40px; text-align: center; color: var(--muted); }
details.reason summary { cursor: pointer; color: var(--muted); font-size: 12.5px; }
.reject-note { display: flex; gap: 6px; }
.reject-note input { padding: 6px 10px; font-size: 13px; min-width: 180px; }
.confirm { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--warn); padding: 20px 22px; margin: 0 0 20px; }
.confirm h2 { margin: 0 0 6px; font-size: 20px; color: var(--deep); }
.confirm p { margin: 0 0 16px; color: var(--muted); line-height: 1.55; }
.confirm .actions { align-items: center; }
button.danger-solid { background: var(--warn); color: #fff; }
a.btn-ghost { text-decoration: none; padding: 11px 20px; border: 1px solid #B4C1D1; border-radius: 100px; color: var(--deep); font-weight: 500; }
.confirm .actions button, .confirm a.btn-ghost { font-size: 14px; padding: 10px 20px; line-height: 1.2; }
