/* NEDD Backup — portal styles (no build step, cPanel-friendly) */
:root{
  --ink:#14202B;--muted:#4F5B67;--line:#DDE2E7;--line-soft:#EBEEF1;--ground:#F4F6F8;--card:#FFFFFF;
  --accent:#0B6B66;--accent-ink:#074A47;--accent-soft:#DCEFEE;--accent-tint:#F2FAF9;
  --ok-bg:#E3F2E8;--ok:#1B5E3A;--warn-bg:#FDF0D5;--warn:#7A4B00;--bad-bg:#FBE3E3;--bad:#9B1C1C;
  --info-bg:#E6EEF9;--info:#1F3F73;--grey-bg:#E8EBEE;--grey:#44505C;
  --radius:12px;
}
*{box-sizing:border-box}
html,body{margin:0}
body{font-family:'IBM Plex Sans',system-ui,-apple-system,'Segoe UI',sans-serif;color:var(--ink);background:var(--ground);font-size:15px;line-height:1.45}
a{color:var(--accent)}a:hover{color:var(--accent-ink)}
.mono{font-family:'IBM Plex Mono',ui-monospace,Consolas,monospace}
.muted{color:var(--muted)}
.small{font-size:13px}.xs{font-size:12px}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
h1{margin:0;font-size:28px;font-weight:700;letter-spacing:-.02em}
h2{margin:0;font-size:16px;font-weight:600}
h3{margin:0;font-size:15px;font-weight:600}
p{margin:0}

/* Header */
.topbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding:10px 24px;background:var(--card);border-bottom:1px solid var(--line)}
.topbar.dark{background:var(--ink);color:#fff;border-bottom:0}
.brand{display:flex;align-items:center;gap:10px;color:inherit;text-decoration:none;font-size:18px;font-weight:700;letter-spacing:-.01em}
.brand:hover{color:inherit}
.chip{padding:4px 10px;border:1px solid var(--line);border-radius:999px;font-size:13px;color:var(--muted);font-weight:500}
.dark .chip{border:0;background:#2A3947;color:#DCEFEE}
.who{display:flex;align-items:center;gap:10px}
.who .avatar{width:36px;height:36px;border-radius:50%;background:var(--accent-soft);color:var(--accent-ink);font-weight:600;font-size:14px;display:flex;align-items:center;justify-content:center}
.who .meta{display:flex;flex-direction:column;line-height:1.25}
.who .meta span:last-child{font-size:12px;color:var(--muted)}
.dark .who .meta span:last-child{color:#B9C3CC}
.right{display:flex;align-items:center;gap:12px;flex-wrap:wrap}

.lang{display:flex;border:1px solid #C9D0D6;border-radius:10px;overflow:hidden;background:var(--card)}
.dark .lang{border-color:#3A4A58;background:transparent}
.lang a{min-width:44px;height:40px;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:600;color:inherit;text-decoration:none}
.lang a[aria-current=true]{background:var(--accent);color:#fff}

/* Layout */
.shell{display:flex;flex-wrap:wrap;align-items:flex-start}
.sidenav{flex:1 1 220px;max-width:100%;padding:24px 16px;display:flex;flex-direction:column;gap:4px}
.sidenav a{display:flex;align-items:center;min-height:44px;padding:0 12px;border-radius:8px;color:var(--ink);text-decoration:none;font-size:14px}
.sidenav a:hover{background:#E9EEF1}
.sidenav a[aria-current=page]{background:var(--accent-soft);color:var(--accent-ink);font-weight:600}
.sidenav .foot{margin-top:20px;padding:14px 12px;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}
.content{flex:999 1 560px;min-width:0;padding:24px 24px 64px;display:flex;flex-direction:column;gap:24px;max-width:1200px}
.narrow{max-width:1000px}
.pagehead{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:16px}
.pagehead p{margin-top:6px;font-size:14px;color:var(--muted)}

/* Cards, grids */
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius)}
.card.pad{padding:20px;display:flex;flex-direction:column;gap:14px}
.card .head{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid var(--line-soft)}
.grid{display:grid;gap:16px}
.g-kpi{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}
.g-2{grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:24px}
.g-form{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
.kpi{padding:18px 20px;display:flex;flex-direction:column;gap:6px}
.kpi .label{font-size:13px;color:var(--muted)}
.kpi .value{font-family:'IBM Plex Mono',monospace;font-size:30px;font-weight:500}
.kpi .value small{font-size:18px;color:var(--muted)}
.bar{height:8px;border-radius:4px;background:var(--grey-bg);overflow:hidden}
.bar>span{display:block;height:100%;background:var(--accent)}
.bar.sm{height:6px;width:90px}
.bar.warn>span{background:#B8740A}.bar.bad>span{background:#B42318}
.split{display:flex;flex-wrap:wrap;gap:24px;align-items:flex-start}
.split>.main{flex:999 1 520px;min-width:0;display:flex;flex-direction:column;gap:24px}
.split>.side{flex:1 1 300px;min-width:0;display:flex;flex-direction:column;gap:16px}
.row{display:flex;justify-content:space-between;gap:12px;font-size:14px}
.row>span:first-child{color:var(--muted)}
.stack{display:flex;flex-direction:column;gap:10px}
.inline{display:flex;flex-wrap:wrap;gap:10px;align-items:center}

/* Tables */
.tablewrap{overflow-x:auto}
table{width:100%;border-collapse:collapse}
th{text-align:left;font-size:12px;font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.04em;padding:12px 16px;border-bottom:1px solid var(--line);white-space:nowrap}
td{padding:13px 16px;border-bottom:1px solid var(--line-soft);font-size:14px;vertical-align:middle;white-space:nowrap}
tr:last-child td{border-bottom:0}
td .sub{font-size:12px;color:var(--muted)}
.empty{padding:28px 20px;text-align:center;color:var(--muted);font-size:14px}

/* Pills, alerts */
.pill{display:inline-block;padding:4px 10px;border-radius:999px;font-size:12px;font-weight:600;white-space:nowrap}
.pill.ok{background:var(--ok-bg);color:var(--ok)}.pill.warn{background:var(--warn-bg);color:var(--warn)}
.pill.bad{background:var(--bad-bg);color:var(--bad)}.pill.info{background:var(--info-bg);color:var(--info)}
.pill.grey{background:var(--grey-bg);color:var(--grey)}
.tag{padding:4px 10px;border-radius:6px;font-size:12px;font-weight:700}
.alertrow{display:flex;flex-wrap:wrap;align-items:center;gap:14px;padding:14px 20px;border-bottom:1px solid var(--line-soft)}
.alertrow:last-child{border-bottom:0}
.alertrow .txt{flex:1 1 320px;min-width:0}
.flash{padding:12px 16px;border-radius:10px;font-size:14px;font-weight:500}
.flash.ok{background:var(--ok-bg);color:var(--ok)}.flash.bad{background:var(--bad-bg);color:var(--bad)}
.flash.warn{background:var(--warn-bg);color:var(--warn)}.flash.info{background:var(--accent-tint);color:var(--accent-ink);border:1px solid #BFE0DD}
.note{padding:10px 12px;border-radius:8px;background:var(--ground);font-size:12px;color:var(--muted);line-height:1.5}

/* Forms */
label,.label{font-size:13px;font-weight:500}
.field{display:flex;flex-direction:column;gap:6px}
input[type=text],input[type=email],input[type=password],input[type=number],input[type=tel],input[type=url],input[type=search],select,textarea{
  min-height:44px;padding:0 12px;border:1px solid #C9D0D6;border-radius:8px;font:inherit;font-size:14px;background:#fff;color:var(--ink);width:100%}
textarea{padding:10px 12px;min-height:110px;font-family:'IBM Plex Mono',monospace;font-size:13px}
input:focus,select:focus,textarea:focus,button:focus-visible,a:focus-visible{outline:3px solid #7FD1CB;outline-offset:1px}
.check{display:flex;align-items:center;gap:12px;min-height:48px;padding:0 14px;border:1px solid var(--line);border-radius:10px;font-size:14px;font-weight:400}
.check input{width:18px;height:18px;accent-color:var(--accent)}
.check.on,.check:has(input:checked){border:2px solid var(--accent);background:var(--accent-tint)}
.check.disabled{color:#5F6B76;background:#FAFBFC}
.error{color:var(--bad);font-size:13px;font-weight:500}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 16px;border-radius:10px;border:1px solid #C9D0D6;background:#fff;color:var(--ink);font:inherit;font-size:14px;font-weight:500;text-decoration:none;cursor:pointer}
.btn:hover{background:#F0F3F5;color:var(--ink)}
.btn.primary{background:var(--accent);border-color:var(--accent);color:#fff;font-weight:600}
.btn.primary:hover{background:var(--accent-ink)}
.btn.danger{color:var(--bad);border-color:#F1C2C2}
.btn.big{min-height:48px;font-size:15px}
.btn.link{border:0;background:none;padding:0 4px;color:var(--accent);min-height:44px}
form.inline{display:inline}
.codebox{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding:16px;border:1px dashed var(--accent);border-radius:10px;background:var(--accent-tint)}
.codebox .code{font-family:'IBM Plex Mono',monospace;font-size:24px;font-weight:500;letter-spacing:.08em;word-break:break-all}

/* Auth pages */
.authwrap{min-height:100vh;display:flex;flex-direction:column}
.authwrap header{width:100%;max-width:1200px;margin:0 auto;padding:16px 24px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}
.authwrap main{flex:1;padding:40px 16px 80px;display:flex;justify-content:center;align-items:flex-start}
.authcard{width:100%;max-width:460px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:32px;display:flex;flex-direction:column;gap:18px}
.authcard h1{font-size:26px}
.otp{font-family:'IBM Plex Mono',monospace;font-size:24px;letter-spacing:.3em;text-align:center;min-height:56px}

/* Landing */
.wrap{max-width:1200px;margin:0 auto;padding-left:24px;padding-right:24px}
.site-head{border-bottom:1px solid var(--line);background:#fff}
.site-head .wrap{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding-top:12px;padding-bottom:12px}
.site-nav{display:flex;flex-wrap:wrap;gap:4px}
.site-nav a{display:inline-flex;align-items:center;min-height:44px;padding:0 12px;color:var(--ink);text-decoration:none;font-size:14px}
.hero{background:var(--ground);border-bottom:1px solid var(--line)}
.hero .wrap{padding-top:72px;padding-bottom:72px;display:flex;flex-wrap:wrap;align-items:center;gap:48px}
.hero h1{font-size:46px;line-height:1.1;letter-spacing:-.03em}
.hero .lead{font-size:18px;line-height:1.6;color:#3E4A56;max-width:560px}
.eyebrow{align-self:flex-start;padding:6px 12px;border-radius:999px;background:var(--accent-soft);color:var(--accent-ink);font-size:13px;font-weight:600}
.section{padding-top:80px;padding-bottom:80px}
.section h2{font-size:32px;font-weight:700;letter-spacing:-.02em}
.section .intro{font-size:16px;color:var(--muted);line-height:1.6;max-width:640px;margin-top:8px}
.steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:24px;margin-top:32px}
.step{padding:24px;border:1px solid var(--line);border-radius:14px;background:#fff;display:flex;flex-direction:column;gap:10px}
.step .n{width:36px;height:36px;border-radius:50%;background:var(--accent);color:#fff;display:flex;align-items:center;justify-content:center;font-family:'IBM Plex Mono',monospace}
.step p{color:var(--muted);line-height:1.6}
.dark-band{background:var(--ink);color:#fff}
.dark-band h3{color:#7FD1CB;font-size:17px}
.dark-band p{color:#C9D2DA;line-height:1.6}
.list{margin:0;padding-left:20px;line-height:1.9}
details.faq{border:1px solid var(--line);border-radius:12px;background:#fff}
details.faq summary{min-height:56px;padding:0 20px;display:flex;align-items:center;justify-content:space-between;font-weight:600;font-size:16px;cursor:pointer;list-style:none}
details.faq summary::-webkit-details-marker{display:none}
details.faq summary::after{content:'+';font-size:20px;color:var(--accent)}
details.faq[open] summary::after{content:'−'}
details.faq p{padding:0 20px 18px;color:#3E4A56;line-height:1.6}
.site-foot{border-top:1px solid var(--line);background:#fff}
.site-foot .wrap{padding-top:28px;padding-bottom:28px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:16px;font-size:13px;color:var(--muted)}

@media (max-width:640px){
  .content{padding:16px 16px 48px}
  .topbar{padding:10px 16px}
  .hero h1{font-size:34px}
  .section h2{font-size:26px}
  .authcard{padding:24px}
  .who .meta{display:none}
}
@media (prefers-reduced-motion:no-preference){.btn,.sidenav a{transition:background-color .15s}}
nav[role=navigation] ul.pagination,.pagination{display:flex;flex-wrap:wrap;gap:6px;list-style:none;padding:0;margin:0}
.pagination li a,.pagination li span{display:inline-flex;min-width:40px;min-height:40px;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:8px;background:#fff;text-decoration:none;font-size:14px}
.pagination li.active span{background:var(--accent);color:#fff;border-color:var(--accent)}
