:root{font-family:Arial,Helvetica,sans-serif;color:#102e65;background:#f2f7fe;font-synthesis:none;--brand:#073b87;--blue:#0867ec;--gold:#c49136;--line:#e2ebf8;--muted:#65799b;--green:#079e63;--radius:18px}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer;border:0;min-height:44px;border-radius:10px;font-weight:700;display:inline-flex;gap:7px;align-items:center;justify-content:center}button:disabled{opacity:.45;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #d7a041;outline-offset:3px}a{color:var(--blue);text-underline-offset:4px}button,input,select{max-width:100%}[hidden]{display:none!important}.icon{width:21px;height:21px;display:inline-block;vertical-align:middle;flex-shrink:0}h2 .icon,h3 .icon{color:var(--gold);margin-right:8px}h1,h2,h3,p{overflow-wrap:anywhere}
.app-header{background:#fff;border-top:5px solid var(--brand);border-bottom:1px solid var(--line);padding:calc(15px + env(safe-area-inset-top)) max(22px,env(safe-area-inset-right)) 15px max(22px,env(safe-area-inset-left));display:flex;align-items:center;gap:10px;box-shadow:0 3px 12px #285ca607}.brand{display:flex;gap:10px;align-items:center;text-decoration:none;color:var(--brand);font-size:23px;font-weight:800;letter-spacing:-.6px;margin-right:auto}.brand img{width:58px;height:58px;object-fit:contain}.brand-gold{color:#ba8730}.brand small{display:block;font-size:10px;letter-spacing:0;color:#35558a;margin-top:5px;font-weight:400;line-height:1.5}.icon-button{border:1px solid var(--line);border-radius:50%;width:40px;min-height:40px;background:white;color:var(--blue);box-shadow:0 2px 8px #19529e0c}.header-avatar{width:36px;height:36px;display:flex;justify-content:center;align-items:center;border-radius:50%;background:linear-gradient(135deg,#d7e7ff,#f8fafe);color:var(--brand);font-size:12px;font-weight:bold}.header-avatar:empty{display:none}main{max-width:1060px;margin:auto;padding:22px 24px calc(108px + env(safe-area-inset-bottom))}
.eyebrow{font-size:12px;font-weight:500;color:var(--muted)}h1{font-size:27px;line-height:1.15;letter-spacing:-.7px;margin:5px 0}h2{font-size:22px;letter-spacing:-.4px;margin:0 0 16px}h3{font-size:16px;margin:0 0 8px;line-height:1.4}p{line-height:1.55;margin:8px 0}.muted,small{color:var(--muted)}.muted{font-size:13px}small{font-size:12px}.page-title{display:flex;align-items:center;gap:14px;margin:18px 0}.page-title h2{font-size:27px;margin:0 0 3px}.page-title p{margin:0}.title-symbol{width:56px;height:56px;border-radius:16px;background:#e3efff;display:flex;justify-content:center;align-items:center;color:var(--brand)}.title-symbol .icon{width:31px;height:31px}
.login-card{max-width:420px;margin:30px auto;background:#fff;border:1px solid var(--line);border-radius:22px;padding:32px;box-shadow:0 8px 35px #143e7c0a}.login-card h1{font-size:40px;margin:18px 0}.login-card>p{color:var(--muted)}label{display:grid;gap:8px;font-size:13px;font-weight:700}form{display:grid;gap:16px;margin:24px 0}input,select{width:100%;min-width:0;padding:12px;border:1px solid #dce6f5;border-radius:10px;background:#f8fbff;color:#163a73;min-height:46px;font-size:16px}.check{display:flex;align-items:center;gap:8px;font-weight:400}.check input{width:18px;min-height:18px}.primary{background:linear-gradient(135deg,#0864dc,#073b87);color:#fff;padding:12px 18px;box-shadow:0 3px 9px #0756bc1b}.quiet{padding:10px 14px;background:#fff;border:1px solid #dbe6f6;color:var(--brand)}.wide{width:100%;margin-top:12px}.grow{flex:1;min-width:0}
.identity,.toolbar,.row,.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.identity{padding:15px 0 12px;justify-content:flex-start}.identity-name{flex:1;min-width:0}.identity h1{font-size:23px;overflow-wrap:anywhere}.identity p{display:inline-flex;font-size:12px;color:#996520;background:#fff0d2;padding:5px 10px;border-radius:20px;margin:5px 0 0}.identity button{flex-shrink:0;font-size:12px;min-height:38px;padding:8px 10px}.toolbar{margin:0 0 10px}.toolbar p{font-size:11px}.toolbar button{font-size:12px;min-height:34px;padding:6px 10px}.avatar{width:48px;height:48px;border-radius:50%;display:inline-flex;justify-content:center;align-items:center;flex-shrink:0;background:linear-gradient(135deg,#caeaff,#80b7eb);color:#13447d;font-size:15px;font-weight:700}.avatar.large{width:62px;height:62px;font-size:21px}.student-card:nth-of-type(3n) .avatar{background:linear-gradient(135deg,#fbe9bf,#d9b16d);color:#8a5a17}.student-card:nth-of-type(3n+2) .avatar{background:linear-gradient(135deg,#c3f1e7,#75c6b9);color:#17665a}
.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:10px 0 20px}.metric{background:#fff;border:1px solid var(--line);border-radius:13px;padding:16px 12px;min-width:0;text-align:center;box-shadow:0 2px 8px #376bb209}.metric-icon{display:inline-flex;justify-content:center;align-items:center;width:39px;height:39px;border-radius:13px;background:#e5efff;color:#0657c6;margin-bottom:8px}.metric:nth-child(2) .metric-icon{background:#fff1d8;color:#b68022}.metric:nth-child(3) .metric-icon{background:#e3f8ee;color:#05a76b}.metric:nth-child(4) .metric-icon{background:#ffebef;color:#d43858}.metric small{font-size:12px;display:block;color:#466795}.metric strong{font-size:27px;line-height:1.3;display:block;margin:5px 0;overflow-wrap:anywhere}.metric .money{font-size:22px}.metric small.metric-hint{font-size:10px;color:#7285a2;line-height:1.5}
.card{background:white;border:1px solid var(--line);border-radius:14px;padding:18px;margin:12px 0;box-shadow:0 3px 12px #285ca606;overflow-wrap:anywhere}.card p{font-size:13px}.card .section-heading{margin:0;gap:8px}.section-heading{margin:22px 0 10px;align-items:center}.section-heading h2,.section-heading h3{margin:0;font-size:16px}.section-label{display:flex;align-items:center;margin:18px 0 12px}.text-button{background:none;color:var(--blue);padding:7px 0;min-height:36px;font-size:12px;font-weight:500;flex-shrink:0}.empty{text-align:center;padding:26px 20px;background:#fff;border:1px dashed #c7d8f0;border-radius:14px;color:var(--muted);line-height:1.7;font-size:13px}.split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px}.split>section{min-width:0}.hero{display:flex;gap:15px;align-items:center;justify-content:space-between;border-radius:14px;background:#eaf3ff;border:1px solid #d8e8ff;padding:18px;margin:16px 0}.hero h3{font-size:15px}.hero p{font-size:12px;color:var(--muted);margin:5px 0 0}.hero button{background:var(--brand);color:#fff;padding:10px 14px;font-size:12px;white-space:nowrap}
.competition{border-color:#efce8e;background:linear-gradient(145deg,#fff8eb 0,#fff 45%);box-shadow:0 3px 12px #d8a14110}.competition-body{display:flex;align-items:center;gap:18px;margin:18px 0 14px}.competition-body>div:last-child{flex:1;min-width:0}.competition-body b{font-size:20px;color:#0c6666}.competition-body .muted{font-size:12px}.progress-ring{width:89px;height:89px;display:grid;place-items:center;flex-shrink:0;border-radius:50%;background:conic-gradient(#08ac76 var(--progress),#e9eef3 0);position:relative}.progress-ring:before{content:'';position:absolute;inset:8px;border-radius:50%;background:#fff}.progress-ring strong{position:relative;font-size:23px;color:#153d65}.progress{height:7px;border-radius:8px;background:#e7eef7;overflow:hidden;margin:10px 0}.progress i{height:100%;display:block;background:var(--green);border-radius:8px}.competition-footer{display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;font-size:11px;color:#46678c;border-top:1px solid #f2e8d7;padding-top:13px}.competition-footer>span{display:inline-flex;align-items:center;gap:4px}.competition-footer .icon{width:14px;height:14px}.trophy{color:var(--gold);padding:10px}.trophy .icon{width:45px;height:45px}.ranking{list-style:none;margin:8px 0 0;padding:0}.ranking li{display:flex;align-items:center;gap:10px;padding:12px 0;border-top:1px solid var(--line);font-size:13px}.ranking .avatar{width:32px;height:32px;font-size:11px}.rank{color:#a8741c;background:#fff1cd;border-radius:50%;width:24px;height:24px;text-align:center;line-height:24px;font-weight:bold}.rank-name{flex:1}
.student-card{width:100%;text-align:left;color:inherit;font-weight:400;display:flex;gap:12px;padding:15px 14px;justify-content:flex-start}.student-info{display:block;flex:1;min-width:0}.student-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.student-top strong{font-size:15px;line-height:1.4}.student-school{display:block;color:#547399;font-size:12px;margin:5px 0;line-height:1.5}.student-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:11px;color:#51709a}.student-meta small{font-size:10px;margin-left:auto}.student-arrow{color:var(--blue)}.student-arrow .icon{width:16px}.holland-badge{background:#e1f0ff;border-radius:14px;color:#0758c3;padding:3px 10px;font-size:12px;font-weight:700}.badge{display:inline-flex;align-items:center;border-radius:99px;background:#eff4fb;color:#4e6d95;padding:5px 9px;font-size:10px;font-weight:500;line-height:1.3}.badge.green{background:#e4f8ef;color:#088c56}.badge.blue{background:#e8f1ff;color:#075bc9}.badge.gold{background:#fff2d7;color:#a5680a}.order-card p{color:#486794}.order-card h3{font-size:14px}.order-card .row{align-items:flex-start}.order-card .badge{flex-shrink:0;max-width:40%}.report-card .row{align-items:flex-start}.report-card h3{font-size:14px;margin:0 0 4px}.report-card .primary{width:100%;margin-top:16px;font-size:13px}.filters{display:grid;grid-template-columns:2fr 1fr auto auto;align-items:end;gap:10px;margin:16px 0}.filters label{font-size:12px}.list-summary{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:18px 0}.list-summary small{font-size:11px}.pager{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:20px 0}.pager span{font-size:12px}
.tabs{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:1060px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));background:#fff;border:1px solid var(--line);border-bottom:0;padding:8px 12px calc(8px + env(safe-area-inset-bottom));z-index:10;box-shadow:0 -4px 18px #15487808}.tabs button{display:grid;gap:4px;justify-items:center;background:none;color:#7386a8;font-size:11px;padding:7px 2px;font-weight:400;border-radius:10px}.tabs button span{height:24px}.tabs .icon{width:23px;height:23px}.tabs [aria-current=page]{background:#eaf2ff;color:#0560e0;font-weight:700}
.notice{padding:12px 16px;border:1px solid #efce8e;background:#fff8e9;border-radius:12px;color:#876526;font-size:13px}.demo-banner{margin:0 0 14px;border:1px solid #dce8f9;border-radius:12px;background:#fff;padding:11px 14px;color:#48658d;font-size:11px}.demo-banner summary{font-weight:700;cursor:pointer;min-height:24px;color:#305b95}.demo-banner p{font-size:11px;margin:4px 0}.demo-banner .actions{margin:8px 0 0;gap:7px}.demo-banner .actions a{min-height:34px;padding:7px 11px;font-size:11px;border-radius:8px;background:#edf4ff;color:var(--brand)}.actions{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0}.actions a{display:inline-flex;gap:7px;align-items:center;justify-content:center;text-decoration:none;padding:11px 14px;min-height:44px;border:1px solid var(--line);border-radius:10px;font-size:13px}.actions button{font-size:13px}.actions .call-button{background:#08a56b;color:#fff}
.qr-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px}.qr-personal{border-color:#efce8e}.qr-identity{display:flex;align-items:center;flex-direction:column;gap:8px;margin:20px 0}.qr-identity strong{font-size:19px}.qr-placeholder{border:1px dashed #ccdbef;border-radius:12px;padding:25px;text-align:center;color:#8199bb;background:#f8fbff}.qr-placeholder .icon{height:90px;width:90px}.qr-placeholder p{font-size:12px}.qr-code-card{background:#fff;border:1px solid #e6edf7;border-radius:14px;margin:15px auto;max-width:285px}.qr-image{display:block;width:100%;max-width:280px;margin:auto;border-radius:14px}.qr-personal .actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.qr-personal .actions button,.qr-personal .actions a{display:flex;flex-direction:column;padding:10px 5px;font-size:11px;gap:7px}.qr-personal #share-url{font-size:13px}.campaign-card{display:flex;align-items:center;gap:14px}.campaign-card h3{font-size:14px;margin:0}.campaign-card p{margin:4px 0;color:var(--muted);font-size:12px}.campaign-icon{width:45px;height:45px;border-radius:13px;display:grid;place-items:center;flex-shrink:0;background:#eaf3ff;color:var(--brand)}.campaign-icon .icon{width:25px;height:25px}
.activity-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:16px 0}.activity-grid>div{padding:14px 5px;background:#f5f9ff;border-radius:12px;text-align:center}.activity-grid strong{display:block;font-size:22px;margin:4px}.activity-grid small{font-size:11px;display:block}.stats-list{list-style:none;padding:0;margin:0}.stats-list li{display:flex;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding:14px 0;font-size:13px}.stats-list strong{white-space:nowrap}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:12px}th{background:#edf4ff;color:#3c5f92}td,th{text-align:left;padding:11px 8px;border-bottom:1px solid var(--line)}td:last-child,th:last-child{text-align:right}
dialog{border:1px solid var(--line);border-radius:20px;padding:22px;width:calc(100% - 24px);max-width:740px;max-height:92dvh;color:inherit;background:#f4f8ff}dialog::backdrop{background:#0c28566b}.dialog-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;border-bottom:1px solid var(--line);margin-bottom:16px;padding-bottom:12px;position:sticky;top:-22px;background:#f4f8ff;z-index:1}.dialog-head h2{font-size:21px;margin:8px 0}dl{display:grid;grid-template-columns:110px 1fr;gap:12px;font-size:13px}dt{color:var(--muted)}dd{margin:0;overflow-wrap:anywhere}.report-frame{width:100%;height:68dvh;border:0;background:#fff}.help-list{padding-left:20px;line-height:1.7}.profile-summary{display:flex;align-items:center;gap:16px;padding:15px;border-radius:14px;background:white;border:1px solid var(--line)}.profile-summary h3{font-size:20px}.profile-summary p{font-size:12px;color:var(--muted)}.profile-summary p .icon{width:16px;margin-right:5px}.profile-holland{display:grid;grid-template-columns:1.2fr 1fr;gap:18px;align-items:center}.holland-chart{display:block;width:100%;max-width:280px;margin:auto}.chart-caption{font-size:10px!important;text-align:center}.holland-top{background:linear-gradient(135deg,#fff4db,#fffbf1);padding:18px;border-radius:12px}.holland-top strong{display:block;font-size:32px;color:#a36f1b;margin:16px 0;letter-spacing:5px}.holland-top .eyebrow{font-size:10px;color:#9a782d}.holland-top .muted{font-size:12px}
@media(min-width:1100px){.app-header{padding-left:calc((100% - 1012px)/2);padding-right:calc((100% - 1012px)/2)}}
@media(max-width:700px){.app-header{padding:calc(10px + env(safe-area-inset-top)) 14px 10px;gap:7px}.brand{font-size:17px;gap:7px;letter-spacing:-.5px}.brand img{width:43px;height:48px}.brand small{font-size:7px;max-width:240px}.header-avatar{display:none}.icon-button{width:32px;min-width:32px;min-height:32px}main{padding:12px 14px calc(100px + env(safe-area-inset-bottom))}.identity{gap:10px;padding:12px 0}.identity .avatar{width:50px;height:50px;font-size:17px}.identity h1{font-size:20px}.identity p{font-size:10px}.identity button{font-size:10px;padding:8px}.identity .eyebrow{font-size:11px}.metrics{gap:6px;margin:8px 0 14px}.metric{padding:10px 4px;border-radius:10px}.metric-icon{width:33px;height:33px;border-radius:11px;margin-bottom:5px}.metric-icon .icon{width:20px}.metric small{font-size:10px}.metric strong{font-size:21px}.metric .money{font-size:16px}.metric small.metric-hint{font-size:8px;line-height:1.4}.split,.qr-layout{grid-template-columns:1fr;gap:0}.card{padding:14px;margin:10px 0}.section-heading{margin:18px 0 10px}.section-heading h2,.section-heading h3{font-size:15px}.section-heading h3 .icon{width:18px;margin-right:6px}.competition-body{gap:14px}.competition-body b{font-size:18px}.competition-footer{font-size:10px}.progress-ring{width:80px;height:80px}.progress-ring strong{font-size:21px}.hero{padding:14px}.hero h3{font-size:13px}.hero p{font-size:11px}.hero button{padding:9px;font-size:11px}.student-card{gap:9px;padding:13px 11px}.student-card .avatar{width:42px;height:42px;font-size:13px}.student-top strong{font-size:13px}.student-top .badge{font-size:9px;padding:4px 7px}.student-school{font-size:11px}.student-meta{font-size:10px;gap:6px}.student-meta small{font-size:9px}.student-arrow{display:none}.filters{grid-template-columns:1fr 1fr;gap:9px}.filters label:first-child{grid-column:1/-1}.filters button{font-size:12px}.filters .quiet{grid-column:2;grid-row:2;align-self:end}.filters .primary{grid-column:1/-1}.page-title{gap:10px;margin:16px 0}.page-title h2{font-size:23px}.title-symbol{width:47px;height:47px}.page-title .muted{font-size:12px}.tabs{padding-left:6px;padding-right:6px}.tabs button{font-size:10px}.profile-summary{padding:12px;gap:12px}.profile-summary h3{font-size:17px}.profile-summary .avatar{width:56px;height:56px;font-size:18px}.profile-holland{grid-template-columns:1.1fr 1fr;gap:8px}.holland-top{padding:12px}.holland-top strong{font-size:26px;letter-spacing:3px}.holland-top .muted{font-size:11px}.holland-top .eyebrow{font-size:9px}dialog{padding:15px}.dialog-head{top:-15px}.dialog-head h2{font-size:18px}.login-card{padding:25px;margin:20px 0}.login-card h1{font-size:34px}}
@media(max-width:370px){.brand{font-size:15px}.brand small{font-size:6px}.brand img{width:37px}.student-top{flex-wrap:wrap;gap:4px}.metric .money{font-size:14px}.profile-holland{grid-template-columns:1fr}.profile-holland .holland-top{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.identity p{max-width:190px}.identity button{padding:7px}.list-summary small{font-size:9px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

/* Personal referral stays available across every authenticated tab. */
.account-qr{display:grid;grid-template-columns:144px minmax(0,1fr);gap:16px;align-items:center;border-color:#d4e3f7;margin:0 0 18px}.account-qr h2{font-size:16px;margin:0 0 6px}.account-qr .muted{font-size:12px;margin:0 0 8px}.account-qr-content{min-width:0}.account-qr input{font-size:12px;width:100%;min-width:0;padding:8px}.account-qr .actions{gap:6px;margin-top:9px;flex-wrap:wrap}.account-qr .actions button,.account-qr .actions a{font-size:12px;padding:8px 9px}.qr-enlarge{padding:0;border:0;background:#fff;cursor:zoom-in}.qr-enlarge img{display:block;width:144px;height:144px;max-width:100%}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:430px){.account-qr{grid-template-columns:116px minmax(0,1fr);gap:10px;padding:12px}.qr-enlarge img{width:116px;height:116px}.account-qr .actions button,.account-qr .actions a{font-size:11px;padding:7px}.account-qr h2{font-size:14px}}

.competition-poster{display:block;width:100%;height:auto;border-radius:12px;margin-bottom:12px}.competition-banner{padding:22px 18px;border-radius:12px;background:linear-gradient(120deg,#073b87,#155eb3);color:white;display:grid;gap:10px;margin-bottom:12px}.competition-banner>span{font-size:11px;letter-spacing:1px;color:#ffe1a0;display:flex;gap:8px;align-items:center}.competition-banner>strong{font-size:23px;line-height:1.25}.competition-banner>small{font-size:12px;line-height:1.5;color:#e5efff}.competition-message{font-size:17px;font-weight:700;color:#073b87;line-height:1.5;background:#edf5ff;border-radius:10px;padding:12px}.competition-description{font-size:13px;white-space:pre-line}.competition-goal{font-size:13px;color:#725118}.competition-achieved{font-size:14px;font-weight:700;color:#067654}.competition .section-heading{align-items:flex-start;gap:10px}.competition .section-heading h3{flex:1}.competition .badge{flex-shrink:0;font-size:10px}
