:root {
  --navy: #002345; --navy-2: #00335F; --blue: #0071BC; --blue-dk: #00538A; --cyan: #00ADE4; --gold: #FFC72C; --gold-dk: #9A6B00;
  --ink: #1B2430; --ink-2: #4A5563; --muted: #6B7684; --line: #E1E6EC; --bg: #F0F2F4; --card: #FFFFFF; --soft: #F6F8FA;
  --good: #1E8E5A; --warn: #B7791F; --bad: #C2410C;
  --r: 14px; --shadow: 0 1px 2px rgba(0,35,69,.06), 0 4px 16px rgba(0,35,69,.05);
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font-family: 'Ubuntu', system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
button { font: inherit; cursor: pointer; }
a { color: var(--blue); }
.hidden { display: none !important; }

/* ---------- Sign in ---------- */
.signin { min-height: 100vh; display: grid; grid-template-columns: 1.05fr 1fr; background: #fff; }
.signin-art { position: relative; overflow: hidden; color: #fff; padding: 56px 64px; display: flex; flex-direction: column; justify-content: space-between;
  background: radial-gradient(1200px 600px at 110% -10%, rgba(0,173,228,.35), transparent 60%), linear-gradient(160deg, #002345 0%, #00335F 55%, #00538A 100%); }
.signin-art svg.hexes { position: absolute; right: -120px; top: -40px; width: 640px; opacity: .9; }
.brand { display: flex; align-items: center; gap: 12px; position: relative; z-index: 1; }
.brand .mark { width: 38px; height: 38px; }
.brand .name { font-weight: 500; font-size: 19px; letter-spacing: .2px; }
.brand .sub { font-size: 12px; color: rgba(255,255,255,.7); letter-spacing: .14em; text-transform: uppercase; }
.signin-copy { position: relative; z-index: 1; max-width: 460px; }
.signin-copy .eyebrow { color: var(--cyan); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; margin-bottom: 14px; }
.signin-copy h1 { font-size: 40px; line-height: 1.12; font-weight: 500; margin: 0 0 16px; }
.signin-copy p { color: rgba(255,255,255,.78); font-size: 16px; margin: 0; }
.areas-strip { position: relative; z-index: 1; display: flex; gap: 10px; flex-wrap: wrap; }
.areas-strip span { font-size: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); }
.signin-form { display: flex; align-items: center; justify-content: center; padding: 48px 24px; }
.form-card { width: 100%; max-width: 400px; }
.form-card h2 { font-size: 26px; font-weight: 500; margin: 0 0 6px; color: var(--navy); }
.form-card .lead { color: var(--ink-2); margin: 0 0 28px; }
label.f { display: block; font-size: 13px; font-weight: 500; color: var(--ink-2); margin-bottom: 8px; }
input.in { width: 100%; height: 50px; border: 1.5px solid var(--line); border-radius: 10px; padding: 0 16px; font: inherit; font-size: 16px; color: var(--ink); outline: none; transition: border .15s, box-shadow .15s; background: #fff; }
input.in:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0,113,188,.12); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0 22px; }
.seg button { display: flex; align-items: center; gap: 10px; justify-content: center; height: 52px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; color: var(--ink-2); font-weight: 500; transition: all .15s; }
.seg button svg { width: 20px; height: 20px; }
.seg button.on { border-color: var(--blue); background: #F1F8FD; color: var(--navy); box-shadow: 0 0 0 3px rgba(0,113,188,.10); }
.wa-row { margin-top: -8px; margin-bottom: 20px; }
.btn { height: 50px; border-radius: 10px; border: 0; padding: 0 22px; font-weight: 500; font-size: 15px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: transform .05s, background .15s, box-shadow .15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: #fff; width: 100%; box-shadow: 0 6px 16px rgba(0,113,188,.25); }
.btn-primary:hover { background: var(--blue-dk); }
.btn-primary[disabled] { background: #9DB8CC; box-shadow: none; cursor: default; }
.sec-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 22px; padding: 12px 14px; border-radius: 10px; background: var(--soft); color: var(--ink-2); font-size: 13px; }
.sec-note svg { flex: none; width: 18px; height: 18px; color: var(--blue); margin-top: 1px; }
.otp { display: flex; gap: 10px; margin: 8px 0 18px; }
.otp input { width: 100%; height: 58px; text-align: center; font-size: 24px; font-weight: 500; border: 1.5px solid var(--line); border-radius: 10px; outline: none; color: var(--navy); }
.otp input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0,113,188,.12); }
.otp.err input { border-color: var(--bad); animation: shake .3s; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.small { font-size: 13px; color: var(--muted); }
.linkbtn { background: none; border: 0; color: var(--blue); padding: 0; font-weight: 500; }
.demo-hint { margin-top: 26px; font-size: 12px; color: var(--muted); text-align: center; }

/* phone-style notification */
.notif { position: fixed; top: 18px; right: 18px; width: 360px; max-width: calc(100vw - 36px); background: rgba(255,255,255,.96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-radius: 18px; box-shadow: 0 18px 48px rgba(0,20,40,.28), 0 0 0 1px rgba(0,0,0,.04); padding: 14px 16px; display: flex; gap: 12px; z-index: 50; transform: translateY(-140%); opacity: 0; visibility: hidden; transition: transform .45s cubic-bezier(.2,.9,.25,1.15), opacity .2s, visibility 0s .45s; cursor: pointer; }
.notif.show { transform: translateY(0); opacity: 1; visibility: visible; transition: transform .45s cubic-bezier(.2,.9,.25,1.15), opacity .2s; }
.notif .ic { width: 40px; height: 40px; border-radius: 10px; flex: none; display: grid; place-items: center; }
.notif .ic svg { width: 24px; height: 24px; }
.notif .top { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.notif .ttl { font-weight: 700; font-size: 14px; color: #111; margin: 1px 0; }
.notif .msg { font-size: 14px; color: #222; }
.notif .msg b { letter-spacing: .08em; }
.notif .tap { font-size: 12px; color: var(--blue); margin-top: 4px; font-weight: 500; }

/* ---------- App shell ---------- */
.topbar { position: sticky; top: 0; z-index: 20; background: var(--navy); color: #fff; height: 64px; display: flex; align-items: center; padding: 0 28px; gap: 28px; box-shadow: 0 2px 10px rgba(0,20,40,.2); }
.topbar .brand .mark { width: 30px; height: 30px; }
.topbar .brand .name { font-size: 17px; }
.topbar .brand .pill { font-size: 11px; padding: 3px 9px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.85); letter-spacing: .04em; }
.nav { display: flex; gap: 4px; height: 100%; flex: 1; overflow-x: auto; scrollbar-width: none; }
.nav a { color: rgba(255,255,255,.72); text-decoration: none; padding: 0 14px; display: flex; align-items: center; font-size: 14.5px; position: relative; white-space: nowrap; }
.nav a:hover { color: #fff; }
.nav a.on { color: #fff; }
.nav a.on::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--cyan); }
.top-right { display: flex; align-items: center; gap: 14px; }
.btn-ifc { height: 38px; padding: 0 16px; border-radius: 999px; border: 1.5px solid rgba(255,199,44,.85); color: var(--gold); background: rgba(255,199,44,.06); font-weight: 500; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.btn-ifc:hover { background: rgba(255,199,44,.14); }
.btn-ifc svg { width: 16px; height: 16px; }
.iconbtn { position: relative; width: 38px; height: 38px; border-radius: 999px; border: 0; background: rgba(255,255,255,.08); color: #fff; display: grid; place-items: center; }
.iconbtn svg { width: 19px; height: 19px; }
.iconbtn .dot { position: absolute; top: 8px; right: 9px; width: 8px; height: 8px; border-radius: 99px; background: var(--gold); box-shadow: 0 0 0 2px var(--navy); }
.avatar { width: 38px; height: 38px; border-radius: 999px; background: linear-gradient(135deg, var(--cyan), var(--blue)); color: #fff; display: grid; place-items: center; font-weight: 500; font-size: 14px; }

.cobar { background: #fff; border-bottom: 1px solid var(--line); }
.cobar .in { max-width: 1240px; margin: 0 auto; padding: 18px 28px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.co-logo { width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(135deg, #00335F, #0071BC); color: #fff; display: grid; place-items: center; font-weight: 700; letter-spacing: .02em; }
.co-name { font-size: 19px; font-weight: 500; color: var(--navy); }
.co-meta { font-size: 13px; color: var(--muted); }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; padding: 4px 10px; border-radius: 999px; background: var(--soft); color: var(--ink-2); border: 1px solid var(--line); white-space: nowrap; }
.chip .sw { width: 8px; height: 8px; border-radius: 3px; }
.cobar .spacer { flex: 1; }

main { max-width: 1240px; margin: 0 auto; padding: 26px 28px 60px; }
.greet { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.greet h1 { font-size: 26px; font-weight: 500; margin: 0; color: var(--navy); }
.greet p { margin: 2px 0 0; color: var(--ink-2); }
.grid { display: grid; gap: 20px; }
.g-main { grid-template-columns: 1.65fr 1fr; }
.card { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); border: 1px solid #E8ECF1; }
.card .hd { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px 0; gap: 12px; }
.card .hd h3 { margin: 0; font-size: 16px; font-weight: 500; color: var(--navy); }
.card .bd { padding: 16px 22px 22px; }
.eyebrow { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--muted); }

/* hero */
.hero { position: relative; overflow: hidden; border-radius: 18px; color: #fff; padding: 28px 30px; margin-bottom: 20px;
  background: radial-gradient(900px 400px at 100% 0%, rgba(0,173,228,.32), transparent 60%), linear-gradient(120deg, #002345 0%, #00335F 50%, #00538A 100%); box-shadow: 0 12px 30px rgba(0,35,69,.22); }
.hero svg.hexes { position: absolute; right: -60px; top: -70px; width: 460px; opacity: .55; pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 34px; align-items: center; }
.hero .eyebrow { color: var(--cyan); }
.hero h2 { font-size: 30px; font-weight: 500; margin: 6px 0 10px; line-height: 1.15; }
.hero .msg { color: rgba(255,255,255,.86); font-size: 15.5px; max-width: 520px; }
.hero .msg b { color: #fff; font-weight: 500; }
.hero .cta { margin-top: 18px; display: flex; gap: 10px; flex-wrap: wrap; }
.btn-gold { background: var(--gold); color: var(--navy); height: 42px; border-radius: 999px; padding: 0 18px; border: 0; font-weight: 700; font-size: 14px; }
.btn-ghost { background: rgba(255,255,255,.1); color: #fff; height: 42px; border-radius: 999px; padding: 0 18px; border: 1px solid rgba(255,255,255,.25); font-weight: 500; font-size: 14px; }
.days { }
.days .big { font-size: 64px; font-weight: 500; line-height: 1; letter-spacing: -.02em; }
.days .big small { font-size: 18px; color: rgba(255,255,255,.65); font-weight: 400; letter-spacing: 0; }
.days .lbl { color: rgba(255,255,255,.75); margin-top: 6px; font-size: 14px; }
.track { margin-top: 18px; }
.track .row { display: flex; justify-content: space-between; font-size: 12.5px; color: rgba(255,255,255,.72); margin-bottom: 6px; }
.bar { height: 8px; border-radius: 99px; background: rgba(255,255,255,.14); overflow: hidden; position: relative; }
.bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 99px; }
.ring { position: relative; width: 150px; height: 150px; }
.ring svg { width: 150px; height: 150px; transform: rotate(-90deg); }
.ring .c { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.ring .c b { font-size: 34px; font-weight: 500; display: block; line-height: 1; }
.ring .c span { font-size: 12.5px; color: rgba(255,255,255,.75); }

/* this week */
.week { border-left: 4px solid var(--gold); }
.act { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--line); }
.act:first-child { border-top: 0; }
.check { flex: none; width: 24px; height: 24px; border-radius: 7px; border: 2px solid #B8C3CF; background: #fff; display: grid; place-items: center; margin-top: 2px; transition: all .15s; }
.check:hover { border-color: var(--blue); }
.check svg { width: 14px; height: 14px; color: #fff; opacity: 0; }
.check.on { background: var(--good); border-color: var(--good); }
.check.on svg { opacity: 1; }
.act .t { font-weight: 500; color: var(--ink); cursor: pointer; }
.act .t:hover { color: var(--blue); }
.act.done .t { color: var(--muted); text-decoration: line-through; text-decoration-color: #B8C3CF; }
.act .m { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.due { font-weight: 500; }
.due.soon { color: var(--bad); }
.areatag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; padding: 2px 9px; border-radius: 999px; }
.areatag i { width: 7px; height: 7px; border-radius: 2px; }
.prio { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 2px 7px; border-radius: 5px; }
.prio.high { background: #FDECE4; color: var(--bad); }
.prio.medium { background: #FFF5DB; color: var(--gold-dk); }
.mini-steps { font-size: 12px; color: var(--muted); }

/* area cards */
.areas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 20px; }
.area { padding: 18px 18px 16px; position: relative; overflow: hidden; }
.area .top { display: flex; align-items: center; gap: 10px; }
.area .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; }
.area .ic svg { width: 18px; height: 18px; }
.area h4 { margin: 0; font-size: 14.5px; font-weight: 500; color: var(--navy); line-height: 1.25; }
.area .lv { display: flex; align-items: baseline; gap: 8px; margin: 16px 0 4px; }
.area .lv b { font-size: 28px; font-weight: 500; color: var(--navy); line-height: 1; }
.area .lv span { font-size: 12.5px; color: var(--muted); }
.area .delta { font-size: 12px; font-weight: 500; color: var(--good); }
.scale { display: grid; grid-template-columns: repeat(4,1fr); gap: 3px; margin: 10px 0 12px; }
.scale i { height: 6px; border-radius: 2px; background: #E6EBF0; position: relative; overflow: hidden; }
.scale i b { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 2px; }
.area .foot { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--ink-2); }
.area .base { font-size: 11.5px; color: var(--muted); margin-top: 2px; }

/* insights */
.insight { padding: 16px 0; border-top: 1px solid var(--line); }
.insight:first-of-type { border-top: 0; padding-top: 4px; }
.insight .tg { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.insight h5 { margin: 6px 0 6px; font-size: 15px; font-weight: 500; color: var(--navy); }
.insight p { margin: 0; font-size: 13.5px; color: var(--ink-2); }
.insight .lk { margin-top: 8px; font-size: 13px; font-weight: 500; }
.ai-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 500; padding: 4px 10px; border-radius: 999px; background: linear-gradient(90deg, #E6F6FD, #EEF2FF); color: var(--blue-dk); }
.ai-badge svg { width: 13px; height: 13px; }
.reviewed { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; margin-top: 12px; }
.reviewed svg { width: 14px; height: 14px; color: var(--good); }

.ev { display: flex; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); align-items: center; }
.ev:first-child { border-top: 0; padding-top: 2px; }
.ev .dt { width: 48px; flex: none; text-align: center; border-radius: 10px; background: var(--soft); padding: 6px 0; }
.ev .dt b { display: block; font-size: 18px; font-weight: 500; color: var(--navy); line-height: 1.1; }
.ev .dt span { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.ev .tt { font-weight: 500; font-size: 14px; }
.ev .ww { font-size: 12.5px; color: var(--muted); }

/* plan page */
.timeline { padding: 22px; }
.tl-bar { position: relative; height: 12px; border-radius: 99px; background: #E6EBF0; margin: 30px 0 12px; }
.tl-bar .fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 99px; background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.tl-bar .today { position: absolute; top: -26px; transform: translateX(-50%); font-size: 11.5px; font-weight: 700; color: var(--navy); white-space: nowrap; }
.tl-bar .today::after { content: ''; position: absolute; left: 50%; top: 20px; width: 2px; height: 26px; background: var(--navy); transform: translateX(-50%); }
.tl-bar .pin { position: absolute; top: 50%; width: 12px; height: 12px; border-radius: 99px; transform: translate(-50%,-50%); border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.tl-scale { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--muted); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0 14px; }
.fbtn { height: 34px; border-radius: 999px; border: 1px solid var(--line); background: #fff; padding: 0 14px; font-size: 13px; color: var(--ink-2); display: inline-flex; align-items: center; gap: 7px; }
.fbtn.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.fbtn i { width: 8px; height: 8px; border-radius: 2px; }
.group { margin-top: 20px; }
.group h4 { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); font-weight: 700; }
.group h4 .n { font-size: 12px; letter-spacing: 0; background: var(--soft); border: 1px solid var(--line); color: var(--ink-2); border-radius: 999px; padding: 1px 8px; font-weight: 500; }
.rowcard { display: grid; grid-template-columns: 28px 1fr auto; gap: 14px; align-items: center; padding: 14px 18px; background: #fff; border: 1px solid #E8ECF1; border-radius: 12px; margin-bottom: 8px; box-shadow: 0 1px 2px rgba(0,35,69,.04); transition: box-shadow .15s, border-color .15s; }
.rowcard:hover { border-color: #C9D6E2; box-shadow: 0 4px 14px rgba(0,35,69,.07); }
.rowcard.done .t { color: var(--muted); text-decoration: line-through; text-decoration-color: #B8C3CF; }
.rowcard .t { font-weight: 500; cursor: pointer; }
.rowcard .r { display: flex; align-items: center; gap: 14px; }
.progress-mini { width: 90px; }
.progress-mini .bar { background: #E6EBF0; height: 6px; }
.progress-mini span { font-size: 11.5px; color: var(--muted); }

/* full plan */
.cycles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cyc { padding: 18px; border-radius: 14px; border: 1px solid #E8ECF1; background: #fff; }
.cyc.now { border: 2px solid var(--blue); box-shadow: 0 8px 22px rgba(0,113,188,.15); }
.cyc.past { background: var(--soft); }
.cyc .k { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cyc.now .k { color: var(--blue); }
.cyc .v { font-size: 22px; font-weight: 500; color: var(--navy); margin: 4px 0; }
.cyc .s { font-size: 12.5px; color: var(--muted); }
.stack { display: flex; height: 8px; border-radius: 99px; overflow: hidden; margin-top: 12px; gap: 2px; }
.stack i { display: block; height: 100%; }
table.t { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.t th { text-align: left; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; padding: 10px 12px; border-bottom: 1px solid var(--line); background: var(--soft); }
table.t td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.t tr:last-child td { border-bottom: 0; }
table.t tr.click { cursor: pointer; }
table.t tr.click:hover td { background: #F7FAFC; }
.st { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 500; white-space: nowrap; }
.st i { width: 8px; height: 8px; border-radius: 99px; }

/* documents */
.docs { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.doc { padding: 16px 18px; display: flex; gap: 14px; align-items: flex-start; }
.doc .fi { width: 40px; height: 48px; border-radius: 8px; flex: none; position: relative; display: grid; place-items: end center; padding-bottom: 6px; font-size: 9.5px; font-weight: 700; color: #fff; letter-spacing: .04em; }
.doc .fi::before { content: ''; position: absolute; right: 0; top: 0; border-width: 0 12px 12px 0; border-style: solid; border-color: var(--bg) var(--bg) rgba(255,255,255,.35) rgba(255,255,255,.35); border-radius: 0 0 0 3px; }
.doc .n { font-weight: 500; font-size: 14px; color: var(--navy); }
.doc .w { font-size: 12.5px; color: var(--muted); }

/* drawer */
.scrim { position: fixed; inset: 0; background: rgba(0,20,40,.35); z-index: 40; opacity: 0; pointer-events: none; transition: opacity .2s; }
.scrim.on { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: 480px; max-width: 100vw; background: #fff; z-index: 41; transform: translateX(105%); transition: transform .28s cubic-bezier(.2,.8,.2,1); box-shadow: -18px 0 40px rgba(0,20,40,.18); display: flex; flex-direction: column; }
.drawer.on { transform: none; }
.drawer .dh { padding: 22px 24px 18px; border-bottom: 1px solid var(--line); }
.drawer .dh .x { float: right; width: 34px; height: 34px; border-radius: 99px; border: 0; background: var(--soft); font-size: 18px; color: var(--ink-2); }
.drawer .dh h3 { margin: 10px 0 8px; font-size: 20px; font-weight: 500; color: var(--navy); line-height: 1.3; }
.drawer .db { padding: 20px 24px 30px; overflow-y: auto; }
.drawer .sec { margin-bottom: 22px; }
.drawer .sec h6 { margin: 0 0 8px; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.drawer .why { background: linear-gradient(135deg, #F1F8FD, #F7FBFF); border: 1px solid #D8E9F6; border-radius: 12px; padding: 14px 16px; font-size: 14px; color: var(--ink); }
.drawer .find { font-size: 14px; color: var(--ink-2); border-left: 3px solid #D5DCE4; padding: 2px 0 2px 12px; }
.step { display: flex; gap: 12px; align-items: center; padding: 9px 0; font-size: 14px; }
.step .check { width: 20px; height: 20px; border-radius: 6px; margin: 0; }
.step .check svg { width: 12px; height: 12px; }
.step.ok span { color: var(--muted); text-decoration: line-through; }
.kv { display: grid; grid-template-columns: 130px 1fr; gap: 8px 12px; font-size: 14px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 500; }

/* IFC dashboard */
.ifc-head { background: linear-gradient(120deg, #002345, #00335F 60%, #00538A); color: #fff; }
.ifc-head .in { max-width: 1240px; margin: 0 auto; padding: 26px 28px 30px; }
.ifc-head h1 { margin: 6px 0 4px; font-size: 26px; font-weight: 500; }
.ifc-head p { margin: 0; color: rgba(255,255,255,.78); }
.ifc-head .eyebrow { color: var(--cyan); }
.kpis { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 22px; }
.kpi { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 16px 18px; }
.kpi b { display: block; font-size: 30px; font-weight: 500; line-height: 1.1; }
.kpi span { font-size: 12.5px; color: rgba(255,255,255,.75); }
.kpi em { font-style: normal; font-size: 12px; color: var(--gold); display: block; margin-top: 4px; }
.heat td.h { text-align: center; font-weight: 500; font-size: 12.5px; border-radius: 6px; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 500; white-space: nowrap; }
.status-pill svg { width: 12px; height: 12px; }
.s-ahead { background: #E3F4EC; color: #146C43; }
.s-track { background: #E6F2FB; color: #00538A; }
.s-attention { background: #FFF4DA; color: #8A5A00; }
.s-risk { background: #FDE8DF; color: #A1360B; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--ink-2); }
.legend span { display: inline-flex; gap: 6px; align-items: center; }
.legend i { width: 10px; height: 10px; border-radius: 3px; }
.tip { position: fixed; z-index: 60; pointer-events: none; background: var(--navy); color: #fff; font-size: 12.5px; padding: 8px 10px; border-radius: 8px; box-shadow: 0 8px 20px rgba(0,0,0,.2); opacity: 0; transition: opacity .1s; max-width: 260px; }

footer.demo { text-align: center; font-size: 12px; color: var(--muted); padding: 10px 20px 30px; }
footer.demo button { background: none; border: 0; color: var(--blue); font-size: 12px; padding: 0 4px; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 140%); background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 12px; box-shadow: 0 12px 30px rgba(0,20,40,.3); font-size: 14px; z-index: 70; transition: transform .35s cubic-bezier(.2,.9,.25,1.1), visibility 0s .35s; visibility: hidden; display: flex; gap: 10px; align-items: center; }
.toast.on { transform: translate(-50%, 0); visibility: visible; transition: transform .35s cubic-bezier(.2,.9,.25,1.1); }
.toast b { color: var(--gold); font-weight: 500; }


/* sign-in additions */
.areas-line { position: relative; z-index: 1; display: flex; align-items: center; gap: 14px; white-space: nowrap; font-size: 13px; color: rgba(255,255,255,.72); letter-spacing: .02em; }
.areas-line i { width: 4px; height: 4px; border-radius: 99px; background: var(--cyan); display: inline-block; }
.pw { position: relative; }
.pw .in { padding-right: 48px; }
.pw-eye { position: absolute; right: 6px; top: 6px; width: 38px; height: 38px; border: 0; background: none; color: var(--muted); border-radius: 8px; display: grid; place-items: center; }
.pw-eye:hover { background: var(--soft); color: var(--ink); }
input.in.bad { border-color: var(--bad); box-shadow: 0 0 0 4px rgba(194,65,12,.12); }
.rowsb { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 14px 0 20px; flex-wrap: wrap; }
.cb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); }
.cb input { width: 16px; height: 16px; accent-color: var(--blue); }
.small-l { font-size: 13px; }
.center { text-align: center; }
.trust { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-2); }
.trust span { display: inline-flex; align-items: center; gap: 6px; }
.trust svg { width: 15px; height: 15px; color: var(--blue); }
.seg-v { grid-template-columns: 1fr; }
.seg-v button { height: auto; justify-content: flex-start; padding: 12px 14px; text-align: left; gap: 14px; }
.seg-v .si { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.seg-v b { display: block; font-weight: 500; color: var(--ink); }
.seg-v em { display: block; font-style: normal; font-size: 13px; color: var(--muted); }
.stepper { display: flex; align-items: center; gap: 8px; margin-bottom: 26px; }
.stepper > div { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.stepper b { width: 24px; height: 24px; border-radius: 99px; display: grid; place-items: center; font-size: 12px; font-weight: 500; border: 1.5px solid var(--line); color: var(--muted); }
.stepper .on { color: var(--navy); font-weight: 500; } .stepper .on b { background: var(--blue); border-color: var(--blue); color: #fff; }
.stepper .done b { background: var(--good); border-color: var(--good); color: #fff; }
.stepper > i { flex: 1; height: 1.5px; background: var(--line); min-width: 12px; }
.invite { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 12px 16px; border-radius: 10px; background: #F1F8FD; border: 1px solid #D8E9F6; margin-bottom: 20px; }
.invite span { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.invite b { font-weight: 500; color: var(--navy); font-size: 14px; }
.meter { height: 6px; border-radius: 99px; background: #E6EBF0; margin-top: 10px; overflow: hidden; }
.meter i { display: block; height: 100%; width: 0; border-radius: 99px; transition: width .2s, background .2s; }
.mlabel { font-size: 12px; color: var(--muted); margin-top: 5px; }
.rules { list-style: none; padding: 0; margin: 10px 0 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; font-size: 12.5px; color: var(--muted); }
.rules li { display: flex; align-items: center; gap: 6px; }
.rules li svg { width: 14px; height: 14px; color: #C5CED8; flex: none; }
.rules li.ok { color: var(--good); } .rules li.ok svg { color: var(--good); }

/* overview additions */
.sec-title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 28px 0 12px; flex-wrap: wrap; }
.sec-title h3 { margin: 0; font-size: 18px; font-weight: 500; color: var(--navy); }
.area2 { padding: 18px 18px 14px; display: flex; flex-direction: column; }
.area2 .a-hd { display: flex; align-items: center; gap: 10px; }
.area2 .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.area2 .ic svg { width: 18px; height: 18px; }
.area2 h4 { margin: 0; font-size: 14.5px; font-weight: 500; color: var(--navy); line-height: 1.25; }
.a-lv { display: flex; align-items: baseline; justify-content: space-between; margin: 16px 0 10px; }
.a-lv b { font-size: 21px; font-weight: 500; color: var(--navy); }
.a-lv span { font-size: 13px; color: var(--muted); }
.lvtrack { position: relative; height: 14px; }
.lvtrack .seg4 { position: absolute; left: 0; right: 0; top: 4px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.lvtrack .seg4 i { height: 6px; background: #E6EBF0; border-radius: 3px; }
.lvtrack .seg4 i:last-child { display: none; }
.lvtrack .fill { position: absolute; top: 4px; height: 6px; border-radius: 3px; }
.lvtrack .dotb, .lvtrack .dotn { position: absolute; top: 0; width: 14px; height: 14px; border-radius: 99px; transform: translateX(-50%); }
.lvtrack .dotb { background: #fff; border: 2px solid #9AA5B1; }
.lvtrack .dotn { border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.lvlabels { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--muted); margin-top: 6px; letter-spacing: .02em; }
.a-since { font-size: 12px; color: var(--good); font-weight: 500; margin-top: 10px; }
.a-next { margin-top: 14px; padding: 10px 12px; border-radius: 10px; background: var(--soft); cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; border: 1px solid transparent; transition: border-color .15s; }
.a-next:hover { border-color: #C9D6E2; }
.a-next span { grid-column: 1 / -1; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
.a-next b { font-size: 13.5px; font-weight: 500; color: var(--ink); }
.a-next em { font-style: normal; font-size: 12px; color: var(--ink-2); align-self: end; }
.insight .lk { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.insight .src { font-size: 11.5px; color: var(--muted); font-weight: 400; }
.win { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; border-top: 1px solid var(--line); cursor: pointer; }
.win:first-child { border-top: 0; padding-top: 2px; }
.win .wck { width: 24px; height: 24px; border-radius: 99px; background: #E3F4EC; color: var(--good); display: grid; place-items: center; flex: none; margin-top: 1px; }
.win .wck svg { width: 13px; height: 13px; }
.win .tt { font-size: 14px; font-weight: 500; }
.win:hover .tt { color: var(--blue); }
.win .ww { display: flex; gap: 8px; align-items: center; margin-top: 4px; font-size: 12.5px; color: var(--muted); }

/* roadmap */
.plan-sum { display: flex; align-items: center; gap: 12px; }
.plan-sum .ring.sm { width: 76px; height: 76px; } .plan-sum .ring.sm svg { width: 76px; height: 76px; }
.plan-sum b { display: block; font-size: 17px; font-weight: 500; color: var(--navy); }
.plan-sum span { font-size: 13px; color: var(--muted); }
.roadmap { padding: 8px 8px 16px; overflow-x: auto; }
.rm-row { display: grid; grid-template-columns: 210px repeat(4, minmax(170px, 1fr)); gap: 0; min-width: 900px; }
.rm-row + .rm-row { border-top: 1px solid var(--line); }
.rm-head { border-bottom: 1px solid var(--line); }
.rm-c { padding: 14px 14px 12px; }
.rm-c .k { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.rm-c .s { font-size: 14px; font-weight: 500; color: var(--ink); margin-top: 2px; }
.rm-c .d { font-size: 12px; color: var(--muted); }
.rm-c.past .s { color: var(--good); }
.rm-c.now { background: #F1F8FD; border-radius: 12px 12px 0 0; }
.rm-c.now .k, .rm-c.now .s { color: var(--blue); }
.rm-a { display: flex; align-items: center; gap: 10px; padding: 14px; font-size: 14px; font-weight: 500; color: var(--navy); }
.rm-a .ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.rm-a .ic svg { width: 16px; height: 16px; }
.rm-cell { padding: 10px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.rm-cell.now { background: #F1F8FD; }
.rp { display: inline-flex; align-items: center; gap: 7px; max-width: 100%; border-radius: 8px; padding: 6px 10px; font-size: 12.5px; text-align: left; border: 1px solid #E1E6EC; background: #fff; color: var(--ink); line-height: 1.3; }
.rp:hover { border-color: var(--c); }
.rp svg { width: 13px; height: 13px; flex: none; }
.rp i { width: 9px; height: 9px; border-radius: 99px; flex: none; }
.rp-ok { background: color-mix(in srgb, var(--c) 9%, #fff); border-color: transparent; color: var(--ink-2); }
.rp-ok svg { color: var(--c); }
.rp-go i { background: var(--c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 22%, #fff); }
.rp-todo i { border: 2px solid var(--c); }
.rp-later { color: var(--muted); border-style: dashed; }
.rp-later i { border: 2px solid #C5CED8; }
.rm-legend { display: flex; gap: 18px; flex-wrap: wrap; padding: 12px 14px 0; font-size: 12.5px; color: var(--ink-2); }
.rm-legend span { display: inline-flex; align-items: center; gap: 8px; }
.rm-legend .rp { padding: 3px 6px; pointer-events: none; }

/* documents */
.doc-group { margin-bottom: 24px; }
.doc-group h4 { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 15px; font-weight: 500; color: var(--navy); }
.doc-group h4 .ic { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; }
.doc-group h4 .ic svg { width: 15px; height: 15px; }
.doc-group h4 .n { font-size: 12px; background: var(--soft); border: 1px solid var(--line); border-radius: 99px; padding: 0 8px; color: var(--ink-2); font-weight: 400; }
button.doc { font: inherit; border: 1px solid #E8ECF1; cursor: pointer; position: relative; width: 100%; transition: box-shadow .15s, border-color .15s; }
button.doc:hover { border-color: #C9D6E2; box-shadow: 0 8px 22px rgba(0,35,69,.09); }
button.doc .open { position: absolute; right: 14px; bottom: 12px; font-size: 12.5px; color: var(--blue); font-weight: 500; display: inline-flex; align-items: center; gap: 4px; opacity: 0; transition: opacity .15s; }
button.doc:hover .open { opacity: 1; }
.modal { position: fixed; z-index: 45; left: 50%; top: 4vh; bottom: 4vh; width: min(880px, 94vw); transform: translate(-50%, 12px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; display: flex; flex-direction: column; background: #E9EDF2; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,20,40,.35); }
.modal.on { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.mbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; background: #fff; border-bottom: 1px solid var(--line); }
.mbar b { display: block; font-weight: 500; color: var(--navy); }
.mbar span { font-size: 12.5px; color: var(--muted); }
.mact { display: flex; gap: 10px; align-items: center; }
.mbtn { height: 36px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 13.5px; }
.mbar .x { width: 36px; height: 36px; border-radius: 99px; border: 0; background: var(--soft); font-size: 20px; color: var(--ink-2); }
.mbody { overflow-y: auto; padding: 28px; }
.paper { background: #fff; max-width: 720px; margin: 0 auto; padding: 44px 52px; box-shadow: 0 2px 10px rgba(0,0,0,.08); border-radius: 3px; font-size: 13.5px; color: #2A323C; line-height: 1.55; }
.paper h2 { font-size: 22px; color: var(--navy); margin: 8px 0 4px; font-weight: 500; }
.paper h4 { font-size: 13.5px; color: var(--navy); margin: 18px 0 4px; font-weight: 700; }
.paper p { margin: 6px 0; text-align: justify; }
.paper ol, .paper ul { margin: 6px 0; padding-left: 20px; }
.paper li { margin: 3px 0; }
.phead { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; border-bottom: 2px solid var(--navy); margin-bottom: 18px; }
.pco { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--navy); font-size: 13px; }
.pco span { width: 30px; height: 30px; border-radius: 8px; background: linear-gradient(135deg, #00335F, #0071BC); color: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 700; }
.pmeta { color: var(--muted); font-size: 12.5px; margin-bottom: 14px !important; }
.pex { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-dk); background: #FFF5DB; padding: 3px 8px; border-radius: 5px; }
.ptab { width: 100%; border-collapse: collapse; font-size: 12.5px; margin: 10px 0; }
.ptab th { text-align: left; background: #F0F3F7; color: var(--navy); font-weight: 500; padding: 7px 8px; border-bottom: 1px solid #D5DCE4; }
.ptab td { padding: 7px 8px; border-bottom: 1px solid #E8ECF1; }
.ptab .n { text-align: right; font-variant-numeric: tabular-nums; }
.ptab tr.tot td { border-top: 2px solid var(--navy); background: #F7F9FB; }
.pnote { margin-top: 14px; padding: 10px 12px; background: #F1F8FD; border-left: 3px solid var(--blue); font-size: 12.5px; }
.pkpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 12px 0 6px; }
.pkpis div { border: 1px solid #E1E6EC; border-radius: 8px; padding: 10px 12px; }
.pkpis span { display: block; font-size: 11.5px; color: var(--muted); }
.pkpis b { display: block; font-size: 18px; font-weight: 500; color: var(--navy); }
.pkpis em { font-style: normal; font-size: 11.5px; color: var(--ink-2); }
.psig { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 36px; font-size: 12px; color: var(--muted); }
.psig span { display: block; border-bottom: 1px solid #9AA5B1; height: 30px; margin-bottom: 4px; }
.pfoot { margin-top: 30px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 11px; color: var(--muted); }

/* learning */
.ask .bd { display: flex; flex-direction: column; gap: 14px; }
.thread { min-height: 260px; max-height: 460px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; padding: 4px 2px; }
.empty { margin: auto; text-align: center; max-width: 380px; color: var(--ink-2); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.empty .eh { width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, #E6F6FD, #EEF2FF); color: var(--blue); display: grid; place-items: center; margin-bottom: 6px; }
.empty .eh svg { width: 22px; height: 22px; }
.empty b { color: var(--navy); font-weight: 500; font-size: 16px; }
.empty span { font-size: 13.5px; }
.bub { max-width: 88%; padding: 12px 16px; border-radius: 14px; font-size: 14px; }
.bub p { margin: 0 0 8px; } .bub p:last-of-type { margin-bottom: 0; }
.bub.me { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 4px; }
.bub.ai { align-self: flex-start; background: var(--soft); border: 1px solid #E3E8EE; border-bottom-left-radius: 4px; color: var(--ink); }
.btag { margin-bottom: 8px; }
.bsrc { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); margin-top: 10px; }
.bsrc svg { width: 14px; height: 14px; color: var(--good); }
.bfoot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.fb { font-size: 12px; color: var(--muted); display: inline-flex; gap: 6px; align-items: center; }
.fb button { border: 1px solid var(--line); background: #fff; border-radius: 6px; padding: 2px 8px; font-size: 12px; color: var(--ink-2); }
.lbtn { border: 1px solid #CFE0EE; background: #fff; color: var(--blue); border-radius: 999px; padding: 6px 12px; font-size: 12.5px; font-weight: 500; }
.lbtn:hover { background: #F1F8FD; }
.sugs { display: flex; gap: 8px; flex-wrap: wrap; }
.sug { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 12px; font-size: 13px; color: var(--ink-2); }
.sug:hover { border-color: #B9CCDD; color: var(--navy); }
.sug i { width: 7px; height: 7px; border-radius: 2px; }
.askbar { display: flex; gap: 10px; }
.askbar input { flex: 1; height: 44px; border: 1.5px solid var(--line); border-radius: 10px; padding: 0 14px; font: inherit; outline: none; }
.askbar input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0,113,188,.12); }
.guard { display: flex; gap: 10px; padding: 12px 14px; border-radius: 10px; background: #F7F9FB; border: 1px solid var(--line); font-size: 12.5px; color: var(--ink-2); }
.guard svg { width: 18px; height: 18px; color: var(--blue); flex: none; margin-top: 1px; }
.guard b { color: var(--navy); font-weight: 500; }
.lesson, .path { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.lesson:first-child, .path:first-child { border-top: 0; padding-top: 2px; }
.lp { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.lp svg { width: 17px; height: 17px; }
.lesson .tt, .path .tt { font-size: 14px; font-weight: 500; }
.lesson .ww { font-size: 12.5px; color: var(--muted); }

/* IFC pace */
.pace { display: grid; gap: 4px; }
.pace > div { display: grid; grid-template-columns: 52px 1fr 34px; align-items: center; gap: 6px; font-size: 11.5px; color: var(--muted); }
.pace .bar { background: #E6EBF0; height: 6px; }
.pace em { font-style: normal; text-align: right; color: var(--ink-2); }

@media (max-width: 1080px) {
  .g-main { grid-template-columns: 1fr; }
  .areas { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr auto; }
  .hero-grid .days { grid-column: 1 / -1; order: 3; }
  .kpis { grid-template-columns: repeat(3, 1fr); }
  .cycles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .signin { grid-template-columns: 1fr; }
  .signin-art { padding: 28px 22px; min-height: 260px; }
  .signin-copy h1 { font-size: 28px; }
  .signin-art .areas-line { white-space: normal; flex-wrap: wrap; gap: 8px; font-size: 12px; }
  .rules { grid-template-columns: 1fr; }
  .paper { padding: 26px 22px; }
  .mbody { padding: 14px; }
  .pkpis { grid-template-columns: 1fr 1fr; }
  .topbar { padding: 0 14px; gap: 12px; }
  .topbar .brand .pill, .topbar .brand .name { display: none; }
  .btn-ifc span { display: none; }
  .btn-ifc { padding: 0 11px; }
  main { padding: 18px 16px 50px; }
  .cobar .in { padding: 14px 16px; }
  .hero { padding: 22px 20px; }
  .hero-grid { grid-template-columns: 1fr; gap: 18px; }
  .hero h2 { font-size: 24px; }
  .ring { width: 120px; height: 120px; } .ring svg { width: 120px; height: 120px; }
  .areas { grid-template-columns: 1fr 1fr; gap: 10px; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .cycles { grid-template-columns: 1fr 1fr; }
  .rowcard { grid-template-columns: 26px 1fr; }
  .rowcard .r { grid-column: 2; }
  .hide-sm { display: none; }
  .tablewrap { overflow-x: auto; }
}

/* IFC dashboard additions */
.ifc-top { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.country { position: relative; }
.cbtn { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 10px 0 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); color: #fff; font-size: 13.5px; font-weight: 500; }
.cbtn:hover { background: rgba(255,255,255,.16); }
.flag { font-size: 15px; line-height: 1; }
.cmenu { position: absolute; top: 40px; left: 0; z-index: 30; width: 270px; background: #fff; border-radius: 12px; box-shadow: 0 18px 44px rgba(0,20,40,.3); padding: 6px; display: none; }
.cmenu.on { display: block; }
.cmenu button { width: 100%; display: flex; align-items: center; gap: 10px; border: 0; background: none; padding: 9px 10px; border-radius: 8px; color: var(--ink); font-size: 14px; text-align: left; }
.cmenu button:hover { background: var(--soft); }
.cmenu button span:nth-child(2) { flex: 1; }
.cmenu button svg { width: 16px; height: 16px; color: var(--blue); }
.cmenu button.on { font-weight: 500; color: var(--navy); }
.cmenu em { font-style: normal; font-size: 11px; color: var(--muted); }
.note { padding: 12px 0; border-top: 1px solid var(--line); }
.note:first-child { border-top: 0; padding-top: 2px; }
.note .nh { display: flex; justify-content: space-between; gap: 10px; }
.note .nh b { font-weight: 500; color: var(--navy); font-size: 14px; }
.note .nh span { font-size: 12px; color: var(--muted); white-space: nowrap; }
.note p { margin: 4px 0 4px; font-size: 13.5px; color: var(--ink-2); }
.note .nby { font-size: 12px; color: var(--muted); font-style: italic; }
.news { display: block; text-decoration: none; color: inherit; padding: 12px 12px; margin: 0 -12px; border-radius: 10px; border-top: 1px solid var(--line); }
.news:first-child { border-top: 0; }
.news:hover { background: var(--soft); }
.news .tg { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.news h5 { margin: 4px 0; font-size: 15px; font-weight: 500; color: var(--navy); }
.news p { margin: 0; font-size: 13.5px; color: var(--ink-2); }
.news .nsrc { margin-top: 6px; font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 4px; }
.strip-axis, .strip { display: grid; grid-template-columns: 170px 1fr; gap: 16px; align-items: center; }
.strip-axis > div { position: relative; height: 16px; margin: 0 7px; }
.strip-axis em { position: absolute; transform: translateX(-50%); font-style: normal; font-size: 11px; color: var(--muted); }
.strip { padding: 12px 0; border-top: 1px solid var(--line); }
.strip .sl b { display: block; font-size: 13.5px; font-weight: 500; color: var(--ink); }
.strip .sl span { font-size: 12px; color: var(--muted); }
.st { position: relative; height: 26px; margin: 0 7px; }
.st::before { content: ''; position: absolute; left: 0; right: 0; top: 12px; height: 2px; background: #E6EBF0; border-radius: 2px; }
.st .g { position: absolute; top: 6px; width: 1px; height: 14px; background: #E6EBF0; }
.st .avg { position: absolute; top: 1px; width: 2px; height: 24px; background: var(--navy); transform: translateX(-1px); }
.sd { position: absolute; top: 6px; width: 14px; height: 14px; border-radius: 99px; transform: translateX(-50%); border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.08); transition: transform .12s, box-shadow .12s; }
.sd:hover, .sd.hl { transform: translateX(-50%) scale(1.45); box-shadow: 0 0 0 2px var(--navy); z-index: 2; }
@media (max-width: 760px) { .strip-axis, .strip { grid-template-columns: 1fr; gap: 4px; } .strip-axis span { display: none; } }

.ctx-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 22px; }
.ctx-grid .news { margin: 0; border-top: 0; border-left: 1px solid var(--line); border-radius: 0; padding: 4px 0 4px 20px; }
.ctx-grid .news:first-child { border-left: 0; padding-left: 0; }
.ctx-grid .news:hover { background: none; } .ctx-grid .news:hover h5 { color: var(--blue); }
.pace > div { grid-template-columns: 52px 1fr 36px; }
@media (max-width: 900px) { .ctx-grid { grid-template-columns: 1fr; } .ctx-grid .news { border-left: 0; padding: 12px 0; border-top: 1px solid var(--line); } }
