.portal{--p-ink:#232734;--p-gold:#dbaa33;--p-line:#e8e9eb;--p-muted:#68707d;min-height:100vh;color:var(--p-ink);background:#f7f8f7;font-family:DM Sans,Arial,sans-serif}.portal *{box-sizing:border-box}.portal button,.portal input,.portal select,.portal textarea{font:inherit}.portal a{color:inherit;text-decoration:none}.portal-shell{grid-template-columns:250px minmax(0,1fr);min-height:100vh;display:grid}.portal-sidebar{color:#fff;background:#232734;flex-direction:column;height:100vh;padding:25px 16px;display:flex;position:sticky;top:0}.portal-logo{align-items:center;gap:9px;margin:5px 12px 37px;font:800 25px Outfit;display:flex}.portal-logo span{color:#fff;background:#dbaa33;border-radius:10px;place-items:center;width:38px;height:38px;display:grid}.portal-logo small{color:#adb2bf;letter-spacing:.13em;font:700 9px DM Sans;display:block}.sidebar-label{color:#8d93a2;letter-spacing:.14em;margin:20px 15px 12px;font-size:10px;font-weight:800}.sidebar-link{text-align:left;cursor:pointer;background:0 0;border:0;border-radius:10px;align-items:center;gap:12px;width:100%;margin-bottom:4px;padding:12px 14px;font-size:13px;font-weight:700;display:flex;color:#bec2cb!important}.sidebar-link svg{width:18px;height:18px}.sidebar-link:hover,.sidebar-link.active{background:#343a49;color:#fff!important}.sidebar-link.active:before{content:"";background:#e6b449;border-radius:3px;width:3px;height:20px;margin-left:-9px;margin-right:6px}.sidebar-bottom{border-top:1px solid #3b4050;margin-top:auto;padding-top:16px}.sidebar-profile{align-items:center;gap:11px;padding:10px;display:flex}.profile-avatar{color:#403315;background:#e4bd6b;border-radius:50%;flex-shrink:0;place-items:center;width:36px;height:36px;font-weight:800;display:grid}.sidebar-profile strong,.sidebar-profile small{white-space:nowrap;text-overflow:ellipsis;max-width:155px;display:block;overflow:hidden}.sidebar-profile strong{font-size:12px}.sidebar-profile small{color:#9fa6b5;font-size:11px}.portal-main{min-width:0}.portal-topbar{border-bottom:1px solid var(--p-line);background:#fff;justify-content:space-between;align-items:center;height:72px;padding:0 34px;display:flex}.portal-topbar strong{font:700 17px Outfit}.portal-topbar .top-actions{color:#727986;align-items:center;gap:14px;font-size:12px;display:flex}.portal-topbar a{font-weight:700}.portal-content{max-width:1450px;margin:auto;padding:34px}.portal-breadcrumb{color:#818895;margin-bottom:11px;font-size:12px}.portal-breadcrumb a{color:#7b5a1e}.portal-heading{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:28px;display:flex}.portal-heading h1{margin:0 0 7px;font:700 clamp(27px,3vw,36px) Outfit}.portal-heading p{color:var(--p-muted);margin:0;font-size:14px;line-height:1.6}.portal-button{color:#fff;cursor:pointer;background:#232734;border:1px solid #0000;border-radius:9px;justify-content:center;align-items:center;gap:8px;min-height:39px;padding:9px 15px;font-size:12px;font-weight:800;display:inline-flex}.portal-button:hover{background:#373d4c}.portal-button.secondary{color:#353a45;background:#fff;border-color:#d9dce1}.portal-button.secondary:hover{background:#faf7ee}.portal-button.gold{color:#30250d;background:#dbaa33}.portal-button.gold:hover{background:#e5bc56}.portal-button.danger{color:#a5403a;background:#fff;border-color:#e9b8b3}.portal-button:disabled{opacity:.55;cursor:not-allowed}.portal-button svg{width:16px;height:16px}.portal-card{border:1px solid var(--p-line);background:#fff;border-radius:16px;box-shadow:0 4px 18px #24283006}.welcome-card{color:#fff;background:linear-gradient(115deg,#303645,#232734);border-radius:18px;justify-content:space-between;align-items:center;gap:25px;margin-bottom:24px;padding:30px 34px;display:flex;position:relative;overflow:hidden}.welcome-card:after{content:"✦";color:#ffffff09;font-size:290px;position:absolute;top:-120px;right:18%}.welcome-card h2{z-index:1;margin:8px 0 7px;font:700 29px Outfit;position:relative}.welcome-card p{color:#c9cbd2;z-index:1;margin:0;font-size:13px;position:relative}.welcome-card .portal-button{z-index:1;position:relative}.overline{letter-spacing:.15em;text-transform:uppercase;color:#eac676;font-size:10px;font-weight:800}.quick-grid{grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:30px;display:grid}.quick-card{align-items:flex-start;gap:15px;padding:22px;display:flex}.quick-icon{color:#a36c09;background:#fff1d0;border-radius:11px;flex-shrink:0;place-items:center;width:42px;height:42px;display:grid}.quick-icon svg{width:21px;height:21px}.quick-card strong{margin-bottom:4px;font:700 18px Outfit;display:block}.quick-card small{color:#727884;font-size:12px;line-height:1.5}.portal-section-title{justify-content:space-between;align-items:center;margin:0 0 15px;display:flex}.portal-section-title h2{margin:0;font:700 21px Outfit}.portal-section-title button{color:#9e6c13;cursor:pointer;background:0 0;border:0;font-size:12px;font-weight:800}.exam-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:34px;display:grid}.exam-card{flex-direction:column;min-height:255px;padding:21px;display:flex}.exam-card-top{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.exam-icon{color:#ac7517;background:#f7ead0;border-radius:12px;place-items:center;width:40px;height:40px;display:grid}.exam-icon svg{width:21px}.icon-button{color:#9b9fa8;cursor:pointer;background:0 0;border:0;place-items:center;padding:5px;display:grid}.icon-button:hover,.icon-button.saved{color:#b8861f}.icon-button svg{width:18px;height:18px}.exam-card .badge{align-self:flex-start;margin-top:19px}.badge{color:#9b6c17;background:#f8f0dd;border-radius:100px;padding:5px 9px;font-size:10px;font-weight:800;display:inline-flex}.badge.green{color:#287956;background:#e8f5ec}.badge.gray{color:#626977;background:#f1f2f4}.badge.red{color:#ae5146;background:#fff0ee}.exam-card h3{margin:10px 0 8px;font:700 19px/1.25 Outfit}.exam-meta{color:#7a8089;gap:12px;margin-bottom:21px;font-size:11px;display:flex}.exam-card .portal-button{width:100%;margin-top:auto}.filter-bar{flex-wrap:wrap;gap:10px;margin-bottom:20px;display:flex}.filter-bar button,.filter-bar select{color:#515762;cursor:pointer;background:#fff;border:1px solid #dfe1e3;border-radius:9px;padding:9px 13px;font-size:12px;font-weight:700}.filter-bar button.selected{color:#fff;background:#232734;border-color:#232734}.filter-bar select{min-width:145px}.attempt-list{gap:10px;display:grid}.attempt-row{text-align:left;border:1px solid var(--p-line);cursor:pointer;background:#fff;border-radius:12px;align-items:center;gap:16px;width:100%;padding:16px 19px;display:flex}.attempt-row:hover{border-color:#d2ad5a}.attempt-row .row-icon{color:#9b6c17;background:#f7efd9;border-radius:10px;flex-shrink:0;place-items:center;width:38px;height:38px;display:grid}.attempt-row strong{font-size:13px}.attempt-row small{color:#808692;margin-top:4px;font-size:11px;display:block}.attempt-row .row-end{color:#3d4350;margin-left:auto;font-size:12px;font-weight:800}.empty-state{text-align:center;color:#67707d;background:#fff;border:1px dashed #d8dce0;border-radius:15px;padding:45px 20px}.empty-state svg{color:#ba8a2a;width:30px;height:30px}.empty-state h3{color:#292d38;margin:10px 0 7px;font:700 19px Outfit}.empty-state p{margin:0 0 17px;font-size:13px}.notice{color:#704e15;background:#fff7e7;border:1px solid #ebd397;border-radius:11px;margin:16px 0;padding:14px 17px;font-size:12px;line-height:1.6}.notice.error{color:#a33e36;background:#fff1f0;border-color:#efc3bd}.notice.success{color:#286145;background:#ebf8ef;border-color:#b6dfc4}.access-grid{grid-template-columns:1fr 1fr;gap:16px;display:grid}.access-card{padding:25px}.access-card h3{margin:0 0 10px;font:700 22px Outfit}.access-card p{color:#727985;font-size:13px;line-height:1.6}.access-card strong{font-size:13px}.practice-grid{grid-template-columns:repeat(2,1fr);gap:16px;display:grid}.practice-card{text-align:left;cursor:pointer;padding:20px}.practice-card:hover{border-color:#d5b16b}.practice-card.selected{background:#fffaf0;border-color:#ba8b31}.practice-card strong{margin-bottom:7px;font:700 17px Outfit;display:block}.practice-card small{color:#777d87}.practice-settings{margin-top:22px;padding:24px}.practice-settings h3{font:700 20px Outfit}.practice-settings .filter-bar{margin-bottom:20px}.exam-runner{background:#f6f7f7;min-height:100vh}.exam-header{color:#fff;z-index:30;background:#232734;justify-content:space-between;align-items:center;gap:20px;height:70px;padding:0 28px;display:flex;position:sticky;top:0}.exam-header h1{margin:0;font:700 16px Outfit}.exam-header small{color:#c5c7cb;margin-top:4px;display:block}.exam-header .exam-header-right{align-items:center;gap:15px;display:flex}.timer{white-space:nowrap;background:#3a4050;border-radius:8px;padding:8px 11px;font-size:13px;font-weight:800}.timer.urgent{background:#8f3a32}.exam-layout{grid-template-columns:minmax(0,1fr) 300px;gap:23px;width:min(1320px,100% - 44px);margin:27px auto;display:grid}.question-box{min-height:530px;padding:29px}.question-top{border-bottom:1px solid #eceef0;justify-content:space-between;align-items:center;margin-bottom:22px;padding-bottom:16px;display:flex}.question-top strong{font:700 17px Outfit}.question-top span{color:#7b828e;font-size:12px}.question-text{white-space:pre-wrap;margin:0 0 24px;font-size:15px;line-height:1.72}.question-context{white-space:pre-wrap;background:#fcfaf4;border-left:3px solid #d5a032;border-radius:7px;margin-bottom:21px;padding:17px;font-size:14px;line-height:1.65}.question-image{border:1px solid #eee;border-radius:8px;width:auto;max-height:390px;margin:0 auto 21px}.options{gap:10px;margin-top:20px;display:grid}.option{text-align:left;cursor:pointer;color:#3f4651;background:#fff;border:1px solid #dfe2e5;border-radius:10px;align-items:flex-start;gap:13px;width:100%;padding:13px 15px;font-size:13px;line-height:1.55;display:flex}.option:hover{border-color:#ba8c30}.option.selected{background:#fff9ec;border-color:#bd8b24;box-shadow:0 0 0 2px #f5e6c4}.option-letter{background:#f1f2f3;border-radius:50%;flex-shrink:0;place-items:center;width:25px;height:25px;font-weight:800;display:grid}.option.selected .option-letter{color:#fff;background:#dbaa33}.question-tools{flex-wrap:wrap;gap:8px;margin-top:25px;display:flex}.question-tools button{color:#626a76;cursor:pointer;background:#fff;border:1px solid #e0e3e6;border-radius:8px;padding:8px 11px;font-size:11px;font-weight:700}.question-tools button.active{color:#996a16;background:#fffaf0;border-color:#e3c57e}.note-editor{margin-top:16px}.note-editor textarea{resize:vertical;border:1px solid #dfe2e5;border-radius:9px;width:100%;min-height:85px;padding:12px}.question-footer{border-top:1px solid #eceef0;justify-content:space-between;margin-top:28px;padding-top:18px;display:flex}.navigator{align-self:start;padding:22px;position:sticky;top:90px}.navigator h3{margin:0 0 7px;font:700 17px Outfit}.navigator p{color:#7b828e;font-size:12px}.progress-track{background:#edf0f0;border-radius:10px;height:7px;margin:17px 0;overflow:hidden}.progress-track span{background:#dbaa33;height:100%;display:block}.navigator-grid{grid-template-columns:repeat(6,1fr);gap:7px;margin:20px 0;display:grid}.navigator-grid button{aspect-ratio:1;color:#67707b;cursor:pointer;background:#f1f3f4;border:1px solid #0000;border-radius:7px;font-size:11px;font-weight:800;position:relative}.navigator-grid button.answered{color:#277052;background:#e6f5e9}.navigator-grid button.marked:after{content:"•";color:#c89728;font-size:22px;position:absolute;top:-8px;right:2px}.navigator-grid button.current{color:#8d5f0d;background:#fff7df;border:2px solid #b88422}.legend{color:#777e8a;flex-wrap:wrap;gap:7px;font-size:10px;display:flex}.legend span{white-space:nowrap}.legend i{background:#e6f5e9;border-radius:3px;width:8px;height:8px;margin-right:3px;display:inline-block}.legend span:nth-child(2) i{background:#fff2cd}.exam-saving{color:#777e8a;margin-left:auto;font-size:11px}.result-summary{border:1px solid var(--p-line);background:#fff;border-radius:17px;margin-bottom:22px;padding:29px}.result-summary-top{justify-content:space-between;gap:20px;display:flex}.result-summary h2{margin:8px 0;font:700 25px Outfit}.result-summary .score{color:#ab7a20;font:800 49px Outfit}.metric-grid{grid-template-columns:repeat(4,1fr);gap:13px;margin-top:25px;display:grid}.metric{background:#f9faf9;border:1px solid #eceeef;border-radius:11px;padding:14px}.metric strong{font:700 21px Outfit;display:block}.metric span{color:#7a808b;margin-top:3px;font-size:11px;display:block}.dimension-list{gap:9px;display:grid}.dimension-row{border-bottom:1px solid #eef0f1;grid-template-columns:minmax(130px,1fr) 1fr auto;align-items:center;gap:13px;padding:12px 0;font-size:12px;display:grid}.dimension-row .bar{background:#edf0ee;border-radius:10px;height:7px;overflow:hidden}.dimension-row .bar span{background:#dbaa33;height:100%;display:block}.review-list{gap:12px;display:grid}.review-item{padding:17px}.review-item summary{cursor:pointer;align-items:flex-start;gap:12px;list-style:none;display:flex}.review-item summary::-webkit-details-marker{display:none}.review-number{background:#f4f5f6;border-radius:7px;padding:6px 9px;font-size:11px;font-weight:800}.review-item summary strong{flex:1;font-size:13px;line-height:1.5}.review-item .review-body{white-space:pre-wrap;padding:17px 4px 3px 40px;font-size:13px;line-height:1.6}.review-item .review-body p{margin:8px 0}.review-item .review-body .option{cursor:default}.modal-backdrop{z-index:80;background:#10141bb8;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.modal{background:#fff;border-radius:17px;width:min(450px,100%);padding:28px;box-shadow:0 22px 70px #0003}.modal h2{font:700 24px Outfit}.modal p{color:#69707a;font-size:13px;line-height:1.6}.modal-actions{justify-content:flex-end;gap:9px;margin-top:24px;display:flex}.admin-table{border-collapse:collapse;background:#fff;border-radius:12px;width:100%;font-size:12px;overflow:hidden}.admin-table th,.admin-table td{text-align:left;vertical-align:top;border-bottom:1px solid #eceef0;padding:12px 13px}.admin-table th{color:#707782;background:#f7f8f8;font-size:11px}.admin-table td strong{display:block}.admin-table td small{color:#7b828e;margin-top:3px;display:block}.admin-table select,.admin-table input{border:1px solid #d7dbe0;border-radius:7px;padding:7px;font-size:11px}.portal-mobile-nav{display:none}@media (width<=1130px){.exam-grid,.quick-grid{grid-template-columns:repeat(2,1fr)}}@media (width<=850px){.portal-shell{display:block}.portal-sidebar{display:none}.portal-mobile-nav{color:#fff;z-index:45;background:#232734;justify-content:space-around;padding:10px;display:flex;position:fixed;bottom:0;left:0;right:0}.portal-mobile-nav a{color:#ced1d7;flex-direction:column;align-items:center;gap:3px;font-size:9px;display:flex}.portal-mobile-nav svg{width:20px;height:20px}.portal-content{padding:22px 18px 90px}.portal-topbar{padding:0 18px}.exam-layout{grid-template-columns:1fr}.navigator{position:static}.exam-header{padding:0 15px}.exam-header h1{font-size:13px}.exam-header .portal-button{padding:7px 9px}.access-grid,.practice-grid{grid-template-columns:1fr}}@media (width<=560px){.portal-heading{display:block}.portal-heading .portal-button{margin-top:16px}.welcome-card{padding:25px;display:block}.welcome-card .portal-button{margin-top:21px}.quick-grid,.exam-grid{grid-template-columns:1fr}.metric-grid{grid-template-columns:1fr 1fr}.result-summary-top{display:block}.question-box{padding:19px}.question-footer{gap:8px}.question-footer .portal-button{flex:1}.exam-layout{width:calc(100% - 20px);margin:12px auto}.exam-header-right{gap:7px!important}.exam-header .portal-button{font-size:10px}.timer{font-size:11px}.dimension-row{grid-template-columns:1fr auto}.dimension-row .bar{grid-area:2/1/auto/-1}.admin-table{display:block;overflow:auto}}.pdf-link{color:#825b19;cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;gap:6px;padding:11px 0 0;font-size:12px;font-weight:700;display:inline-flex}.pdf-link:hover{text-decoration:underline}
