.km-dialog{width:min(1140px,96vw);max-width:96vw;height:min(92dvh,1100px);max-height:94dvh;padding:0;border:1px solid #e5ddf1;border-radius:20px;color:#241d32;background:#f8f6fc;box-shadow:0 24px 90px #2b124433;font-family:inherit;overflow:hidden}.km-dialog::backdrop{background:#20113388;backdrop-filter:blur(3px)}.km-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 24px;background:white;border-bottom:1px solid #ebe5f2}.km-header>div{display:flex;align-items:center;gap:12px}.km-header h2{font-size:21px;margin:3px 0}.km-header small{color:#81758d}.km-brand{display:grid;place-items:center;width:44px;height:44px;background:#7b2ef0;color:white;font-size:27px;border-radius:12px;font-weight:700}.km-header button{border:0;background:#f2ecfa;border-radius:50%;width:36px;height:36px;font-size:24px}.km-body{height:calc(100% - 90px);overflow:auto;padding:24px;box-sizing:border-box;overscroll-behavior:contain}.km-card{background:#fff;border:1px solid #e7e0ee;border-radius:16px;padding:22px;margin:0 0 20px;min-width:0}.km-card h3{font-size:19px;margin:0 0 16px}.km-card h2{line-height:1.3}.km-intro,.km-muted,.km-card p{line-height:1.65}.km-muted{color:#746a80;font-size:13px}.km-dialog label:not(.km-option):not(.km-check){display:flex;flex-direction:column;gap:8px;font-size:14px;font-weight:600;margin:0 0 15px}.km-dialog input:not([type=checkbox]):not([type=radio]),.km-dialog select,.km-dialog textarea{font:inherit;font-weight:400;box-sizing:border-box;min-width:0;width:100%;padding:12px;border:1px solid #d8cfe5;border-radius:9px;color:#292231;background:#fff}.km-dialog textarea{resize:vertical;line-height:1.55}.km-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px}.km-dialog button{font:inherit;cursor:pointer}.km-dialog button:disabled{cursor:wait;opacity:.55}.km-primary,.km-dialog button[type=submit]{background:#7a30e5;color:#fff;border:1px solid #7a30e5;border-radius:10px;padding:12px 18px;font-weight:600}.km-secondary,.km-actions button,.km-card>button{padding:10px 14px;border:1px solid #ded4eb;background:#fff;color:#602cb1;border-radius:9px;margin:4px}.km-dialog button:focus-visible,.km-dialog input:focus-visible,.km-dialog select:focus-visible,.km-dialog textarea:focus-visible{outline:3px solid #bda0ec;outline-offset:2px}.km-question{padding:16px;margin:12px 0;border:1px solid #e6dff0;border-radius:10px}.km-question summary{cursor:pointer;font-weight:600;line-height:1.5}.km-pre{white-space:pre-wrap;overflow-wrap:anywhere}.km-check{display:flex;align-items:center;gap:10px;line-height:1.5;margin:16px 0;font-size:14px}.km-check input{flex:0 0 auto;width:17px;height:17px;accent-color:#7b30df}.km-mock{padding:16px 0;border-bottom:1px solid #ece6f3}.km-mock p{margin:5px 0}.km-mock small{color:#766b82}.km-actions{display:flex;gap:6px;flex-wrap:wrap;margin:12px 0}.km-table{overflow:auto}.km-table table{width:100%;border-collapse:collapse;font-size:14px;text-align:left}.km-table th,.km-table td{padding:12px;border-bottom:1px solid #e7e0ef;white-space:nowrap}.km-exam-bar{position:sticky;top:-24px;z-index:1;background:#f3edfc;border:1px solid #dfd0f2;border-radius:10px;padding:14px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;box-shadow:0 4px 12px #3b245511;margin-bottom:16px}.km-exam-bar [data-km-clock]{font-weight:700;color:#6b25c4}.km-question-head{display:flex;justify-content:space-between;gap:12px}.km-question-head .km-check{margin:0;flex-shrink:0}.km-option{display:flex;gap:12px;align-items:flex-start;padding:14px;border:1px solid #e5ddee;border-radius:10px;margin:10px 0;cursor:pointer;line-height:1.6}.km-option:has(input:checked){border-color:#9256e6;background:#f5effd}.km-option input{margin-top:5px;accent-color:#8136e5}.km-dialog fieldset{padding:0;border:0;min-width:0}.km-score{text-align:center;background:#f7f2ff}.km-score h2{font-size:36px;color:#6d2ac0}.km-tag{padding:5px 12px;background:#eee3ff;color:#642ba8;border-radius:20px;font-size:12px;text-transform:uppercase}.km-review{border-bottom:1px solid #ebe4f3;padding:14px 0}.km-review h4{line-height:1.6}.km-lock{background:#f4effa;padding:14px;border-radius:9px;color:#734b9c}.km-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}[data-km-status]{color:#6b458f;white-space:pre-wrap}.km-dialog [hidden]{display:none!important}@media(max-width:640px){.km-dialog{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border:0;border-radius:0}.km-body{padding:16px}.km-header{padding:14px 16px}.km-header h2{font-size:18px}.km-card{padding:16px}.km-grid{grid-template-columns:minmax(0,1fr)}.km-question-head{flex-direction:column}.km-exam-bar{top:-16px}.km-dialog button{max-width:100%}.km-score h2{font-size:30px}}

.kedu-chat-header:has([data-km-launch]),.exam-topline:has([data-km-launch]){flex-wrap:wrap;gap:10px}@media(max-width:640px){.kedu-chat-header [data-km-launch]{width:100%;text-align:center}}
/* Approved KEdu tutor and exam template. Shared tokens keep all three screens aligned. */
.km-dialog{--km-purple:#7c3aed;--km-soft:#f4efff;--km-ink:#171523;--km-muted:#77788b;--km-border:#e5e5ef;--km-bg:#fcfbff;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--km-ink);border-radius:18px;width:min(1480px,98vw);max-width:98vw;height:94dvh;max-height:96dvh;background:var(--km-bg)}
.km-dialog *{box-sizing:border-box}.km-dialog svg{width:20px;height:20px;flex-shrink:0;vertical-align:middle}.km-dialog h1{font-size:clamp(25px,2.3vw,34px);letter-spacing:-.8px;line-height:1.2;margin:0 0 8px}.km-dialog h2{letter-spacing:-.4px}.km-dialog h3{font-size:16px;margin:0}.km-dialog p{line-height:1.5}.km-dialog button{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:13px;line-height:1.35;font-weight:500}.km-dialog button:disabled{cursor:not-allowed}.km-primary,.km-dialog button[type=submit]{background:linear-gradient(120deg,#8b3df5,#7130f5);border:1px solid #8038f4;border-radius:8px;color:#fff;font-weight:600;min-height:40px;padding:10px 17px;box-shadow:0 3px 9px #7630eb12}.km-secondary{border:1px solid #dcddeb;border-radius:7px;background:#fff;color:#262239;padding:9px 13px;margin:0;min-height:36px}.km-dialog .km-text-button{border:0;background:none;color:#7029e6;padding:4px 0;box-shadow:none;font-size:12px}.km-dialog button:hover:not(:disabled){filter:brightness(.97)}.km-body{padding:28px;scroll-padding-top:20px}.km-card{border:1px solid var(--km-border);border-radius:11px;padding:20px;background:#fff;margin:0 0 18px;box-shadow:0 1px 3px #25154d02}.km-card p{font-size:13px}.km-panel-title{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}.km-panel-title h3{margin:0}.km-muted{font-size:12px;color:var(--km-muted);line-height:1.55}.km-empty{color:var(--km-muted);padding:35px 12px;text-align:center}.km-empty svg{width:30px;height:30px;color:#a882ec}.km-notice{padding:12px;border:1px solid #eee0b8;background:#fffaf0;border-radius:8px}.km-logo{display:flex;align-items:center;gap:9px}.km-brand{width:39px;height:39px;border-radius:10px;font-size:27px;background:linear-gradient(135deg,#9a4df5,#6c2de6);flex-shrink:0;box-shadow:0 3px 10px #7935e71c}.km-brand-name{display:flex;flex-direction:column;line-height:1.2}.km-brand-name strong{font-size:21px;letter-spacing:-.6px}.km-brand-name small{font-size:9px;color:#747283;margin-top:4px}.km-avatar{height:34px;width:34px;display:grid;place-items:center;flex-shrink:0;border-radius:50%;background:#eee7fb;color:#6d2acb;font-size:12px;font-weight:700}
.km-workspace{display:grid;grid-template-columns:205px minmax(0,1fr);grid-template-rows:72px minmax(0,1fr);padding:0;overflow:hidden}.km-workspace .km-header[hidden]{display:none}.km-sidebar{grid-column:1;grid-row:1 / -1;background:linear-gradient(100deg,#fdfcff,#faf9fd);border-right:1px solid var(--km-border);display:flex;flex-direction:column;padding:25px 14px 18px;min-height:0;overflow:auto}.km-sidebar>.km-logo{padding:0 9px 30px}.km-sidebar nav{display:flex;flex-direction:column;gap:7px}.km-sidebar nav button,.km-sidebar footer button{justify-content:flex-start;border:0;background:none;color:#38354d;padding:11px 12px;text-align:left;font-size:12px;width:100%;border-radius:8px;min-height:43px}.km-sidebar nav button[aria-current=page]{background:#eee5ff;color:#7a2ded}.km-sidebar nav button[aria-current=page] svg{fill:#7a2ded14}.km-sidebar svg{width:19px;height:19px}.km-sidebar footer{margin-top:auto;padding-top:32px;display:flex;flex-direction:column;gap:12px}.km-sidebar footer button{font-size:11px}.km-nav-more{font-size:11px;color:#706881;padding:8px 0}.km-nav-more summary{list-style:none;display:flex;gap:10px;cursor:pointer;padding:10px}.km-nav-more summary::-webkit-details-marker{display:none}.km-topbar{grid-column:2;grid-row:1;display:flex;align-items:center;gap:16px;padding:16px 26px;border-bottom:1px solid var(--km-border);background:#fff}.km-topbar>button{border:0;background:none;padding:5px;color:#514762}.km-desktop-title{flex:1;font-size:13px;font-weight:600}.km-approved{display:flex;align-items:center;gap:5px;font-size:10px;padding:7px 10px;background:#e7fbf0;border-radius:7px;color:#078747;white-space:nowrap}.km-approved svg{height:14px;width:14px}.km-topbar button.km-account{border-left:1px solid var(--km-border);padding-left:16px;max-width:240px;text-align:left}.km-account [data-km-account-name]{max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.km-topbar [data-km-return]{font-size:22px;padding:0 6px}.km-content{grid-column:2;grid-row:2;height:auto;min-width:0;padding:26px;overflow:auto}.km-mobile-logo,.km-menu,.km-mobile-nav{display:none!important}
.km-welcome,.km-page-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 22px}.km-welcome p,.km-page-heading p{margin:0;color:#777587;font-size:14px}.km-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:22px}.km-stat{display:flex;gap:14px;padding:20px 14px;border:1px solid var(--km-border);border-radius:10px;background:#fff;min-width:0}.km-stat-icon{width:40px;height:42px;display:inline-flex;align-items:center;justify-content:center;border-radius:10px;background:#f3eeff;color:#8b43ec;flex-shrink:0}.km-stat-icon svg{height:24px;width:24px}.km-stat>div{display:flex;flex-direction:column;min-width:0}.km-stat strong{font-size:28px;line-height:1.1;margin-bottom:6px;letter-spacing:-1px}.km-stat span:not(.km-stat-icon){font-size:11px}.km-stat small{font-size:9px;color:#838092;margin-top:13px}.km-overview-row{display:grid;grid-template-columns:minmax(0,3fr) minmax(220px,1fr);gap:18px}.km-overview-row>div,.km-overview-row>aside{min-width:0}.km-two-col{display:grid;grid-template-columns:1.2fr 1fr;gap:18px}.km-dialog .km-table table{font-size:11px}.km-table th{background:#f8f6fd;font-weight:500;color:#56536c}.km-table td,.km-table th{padding:12px 7px;white-space:normal;text-align:left}.km-table td small{display:block;color:#817c91;font-size:10px;margin-top:4px}.km-table td strong{font-size:11px;font-weight:500}.km-table .km-secondary{padding:7px 9px;min-height:30px;font-size:10px}.km-table button svg{height:13px;width:13px}.km-icon-button{border:0;background:none;color:#7b3acc;padding:5px}.km-state{font-size:10px;border-radius:5px;padding:4px 8px;background:#f0e9ff;color:#7a39de;text-transform:capitalize;display:inline-block}.km-state-published{background:#e8fbee;color:#087a49}.km-state-closed{background:#f2f1f5;color:#777}.km-state-draft{background:#f6f5f9;color:#746b87}.km-meter-label{display:flex;justify-content:space-between;gap:7px;font-size:10px!important;margin-bottom:8px}.km-meter-label strong{font-weight:500;white-space:nowrap}.km-dialog progress{height:8px;width:100%;border:0;border-radius:10px;overflow:hidden;background:#edeaf4;accent-color:#823af1}.km-dialog progress::-webkit-progress-bar{background:#edeaf4;border-radius:10px}.km-dialog progress::-webkit-progress-value{background:linear-gradient(90deg,#7634f0,#a46aff);border-radius:10px}.km-dialog progress::-moz-progress-bar{background:#8d4df2;border-radius:10px}.km-credit-mini{display:flex;align-items:flex-start;gap:10px;border-top:1px solid var(--km-border);padding:18px 0;margin-top:22px}.km-credit-mini>svg{padding:6px;background:#f3ecff;color:#7a35e8;box-sizing:content-box;border-radius:8px}.km-credit-mini div{display:flex;flex-direction:column;gap:7px}.km-credit-mini small{font-size:10px}.km-credit-mini strong{font-size:17px}.km-release-card{background:#f8f5ff;border:1px solid #eee7fb;border-radius:8px;padding:13px 10px;display:flex;gap:9px;align-items:center;margin:10px 0;flex-wrap:wrap}.km-release-card>div{flex:1;min-width:100px}.km-release-card strong{font-size:12px}.km-release-card small{display:block;font-size:10px;color:#757087;margin-top:6px}.km-release-card button{font-size:10px;min-height:34px;padding:8px 10px}.km-chart{height:150px;display:flex;align-items:flex-end;gap:10px}.km-chart>div{flex:1;text-align:center;min-width:0}.km-chart>div>span{font-size:9px;color:#92829e}.km-chart-track{height:105px;display:flex;align-items:flex-end;padding:4px 0}.km-chart i{background:linear-gradient(#a16afd,#c3a9ff);width:100%;display:block;border-radius:4px 4px 0 0}.km-chart small{font-size:8px;white-space:nowrap;color:#706780}.km-feed-item{display:flex;align-items:center;gap:10px;padding:13px 0;border-bottom:1px solid #eeebf3;font-size:10px}.km-feed-item>svg{color:#9651ef}.km-feed-item span{flex:1}.km-feed-item small{font-size:9px;color:#858195}.km-quick-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.km-quick-grid button{flex-direction:column;background:white;border:1px solid #e9e5f0;border-radius:8px;padding:16px 7px;color:#28213b;font-size:10px;min-height:110px}.km-quick-grid button>svg:first-child{color:#8a3ff0;height:27px;width:27px}.km-quick-grid button>svg:last-child{height:12px;width:12px;align-self:flex-end;color:#aaa0bc}
.km-steps{display:flex;align-items:center;gap:16px;width:min(620px,100%);margin:24px 0 30px}.km-steps button{border:0;background:none;color:#777083;font-size:11px;white-space:nowrap;padding:0}.km-steps button span{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#ecebf1;color:#434051}.km-steps button[aria-current=step]{color:#7a2cf0}.km-steps button[aria-current=step] span{background:#7c3aed;color:#fff;box-shadow:0 0 0 5px #f6f0ff}.km-steps i{height:1px;background:#dcd9e5;flex:1}.km-setup-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:20px}.km-setup-layout>main{min-width:0}.km-summary .km-card{position:sticky;top:0}.km-dialog .km-setup-form label:not(.km-option):not(.km-check){font-size:11px;gap:6px;margin-bottom:15px;color:#242032}.km-dialog input:not([type=checkbox]):not([type=radio]),.km-dialog select,.km-dialog textarea{border-color:#dad8e6;border-radius:6px;font-size:12px;padding:9px 10px;background:#fff;line-height:1.4;color:#282039;min-height:37px}.km-dialog input[readonly]{background:#fcfbfe}.km-dialog input[type=checkbox],.km-dialog input[type=radio]{accent-color:#8239f1}.km-dialog .km-sr{min-height:0!important;padding:0!important;margin:0!important;border:0!important}.km-three{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.km-form-divider{border-top:1px solid #eeebf3;margin:20px 0}.km-basic h3{margin-bottom:16px}.km-source-choices{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:8px}.km-source-choices button{border:1px solid #dedbe9;background:white;justify-content:flex-start;padding:12px 14px;border-radius:8px;font-size:11px;min-height:44px}.km-source-choices button>span{margin-left:auto;width:14px;height:14px;border:1px solid #d1cbdc;border-radius:50%}.km-source-choices button[aria-pressed=true]{color:#7026e9;border-color:#a173fa;background:#f7f2ff}.km-source-choices button[aria-pressed=true]>span{background:#7e30ec;border:4px solid #d8c1ff}.km-timing{display:flex;flex-wrap:wrap;gap:10px;align-items:stretch}.km-timing>button{border:1px solid #dfdbe8;border-radius:8px;flex:1;min-width:115px;padding:12px 10px;align-items:flex-start;text-align:left;background:#fff;font-size:10px}.km-timing>button>span{display:flex;flex-direction:column;gap:5px}.km-timing>button small{color:#777080;font-size:9px;font-weight:400;max-width:115px}.km-timing>button svg{height:17px;width:17px}.km-timing>button i{width:12px;height:12px;border:1px solid #d1c9df;border-radius:50%;flex-shrink:0;margin-left:auto;margin-top:2px}.km-timing>button[aria-pressed=true]{color:#742bed;border-color:#ae7afb;background:#f6f0ff}.km-timing>button[aria-pressed=true] i{background:#8132ee;border:3px solid #dbc2ff}.km-dialog .km-timing>label{width:130px;display:flex;flex-direction:column-reverse!important;justify-content:flex-end;font-size:9px!important;margin:0!important}.km-schedule-options{display:grid;grid-template-columns:85px 130px minmax(0,1fr);gap:14px}.km-toggle-label small{font-size:9px;color:#777080;font-weight:400}.km-toggle-label input{appearance:none;width:34px;height:20px;background:#d4cede;border-radius:12px;position:relative;cursor:pointer}.km-toggle-label input:checked{background:#7c2bf0}.km-toggle-label input:before{content:'';position:absolute;width:15px;height:15px;background:#fff;border-radius:50%;left:3px;top:2.5px;box-shadow:0 1px 3px #0002}.km-toggle-label input:checked:before{left:16px}.km-field-label{display:block;font-size:11px;margin-bottom:7px}.km-release-options{display:grid;grid-template-columns:1fr 1fr;gap:8px}.km-dialog .km-release-options>label{flex-direction:row!important;align-items:flex-start;border:1px solid #e2ddec;border-radius:7px;padding:9px;gap:6px;margin:0!important;font-size:9px!important;cursor:pointer}.km-release-options>label:has(:checked){background:#f6f0ff;border-color:#b88bff}.km-release-options input{margin:1px 0 0}.km-release-options strong{font-size:9px;font-weight:600}.km-release-options small{font-size:8px;display:block;line-height:1.5;margin-top:5px;color:#736d7e}.km-summary-title{display:flex;align-items:flex-start;gap:12px;background:#f8f6fd;border-radius:8px;padding:14px;margin-top:18px}.km-summary-title strong{font-size:11px}.km-summary-title small{display:block;font-size:10px;line-height:1.7;margin-top:6px;color:#6b6379}.km-summary ul{list-style:none;padding:12px 0;margin:0}.km-summary li{display:flex;gap:12px;align-items:flex-start;margin:20px 0;font-size:11px}.km-summary li svg{height:17px;width:17px}.km-summary-note{border-top:1px solid #ebe5f4;padding:20px 0 0;font-size:10px;background:linear-gradient(white,#faf7ff)}.km-summary-note p{font-size:10px;color:#787183;line-height:1.6}.km-publish-footer{position:sticky;bottom:-26px;z-index:2;background:#fffffff5;backdrop-filter:blur(8px);border:1px solid #e5e1ed;border-radius:9px;padding:13px 16px;display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:0 0 24px;box-shadow:0 -4px 20px #37205605}.km-publish-footer>div:first-child{flex:1;min-width:0}.km-publish-footer strong{font-size:12px}.km-publish-footer small{font-size:9px;color:#777080;display:block;line-height:1.5}.km-dialog .km-publish-footer .km-check{font-size:10px;margin:7px 0}.km-publish-actions{display:flex;gap:12px}.km-publish-footer [role=status]{font-size:12px;margin:0;flex-basis:100%}.km-question summary{font-size:12px}.km-question p,.km-question li{font-size:13px;line-height:1.6}.km-search{position:relative;max-width:430px}.km-search svg{position:absolute;left:10px;top:9px;width:17px;height:17px;color:#81758c}.km-search input{padding-left:35px!important}.km-mock-controls{border-top:1px solid #ebe6f3;padding-top:16px;margin-top:16px}.km-mock-controls>strong{font-size:13px;display:block;margin-bottom:12px}
/* Student writing surface: large readable options and a persistent progress rail. */
.km-writing{width:min(1450px,98vw);background:#fcfbff}.km-student-header{height:88px;display:grid;grid-template-columns:1fr 2fr 1fr;gap:18px;padding:20px 26px;background:#fff}.km-student-header .km-exam-heading{text-align:center;display:flex;flex-direction:column;gap:7px;min-width:0}.km-exam-heading strong{font-size:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.km-exam-heading small{font-size:12px;color:#8a8197;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.km-header-actions{display:flex;gap:14px;align-items:center;justify-content:flex-end}.km-student-header .km-secondary{width:auto;height:auto;border-radius:7px;background:white;font-size:12px}.km-writing .km-body{height:calc(100% - 88px);padding:26px}.km-student-progress{display:flex;gap:18px;align-items:center;margin:0 0 24px;font-size:12px}.km-student-progress>strong{white-space:nowrap}.km-student-progress>progress{flex:1}.km-student-progress>span{color:#8b8197;white-space:nowrap}.km-writing-layout{display:grid;grid-template-columns:minmax(0,2.25fr) minmax(260px,1fr);gap:20px}.km-writing-layout>main{min-width:0}.km-question-card{padding:26px;min-height:610px}.km-eyebrow{display:block;font-size:10px;letter-spacing:1.4px;text-transform:uppercase;color:#8a8198;margin:2px 0 21px}.km-exam-prompt{font-size:clamp(20px,2.1vw,27px);line-height:1.35;margin:0 0 30px;white-space:pre-wrap;overflow-wrap:anywhere;font-weight:650}.km-dialog .km-option{display:flex;align-items:center;gap:13px;border:1px solid #e1dfea;background:#fff;border-radius:9px;min-height:64px;padding:16px;margin:13px 0;font-size:16px;font-weight:400;box-shadow:0 2px 5px #2c1b4d02;cursor:pointer}.km-dialog .km-option span{overflow-wrap:anywhere;white-space:pre-wrap}.km-option input{height:18px;width:18px;margin:0;flex-shrink:0}.km-option>b{font-size:14px;font-weight:500}.km-dialog .km-option:has(:checked){border-color:#9962f3;background:#f3edff;box-shadow:inset 0 0 0 1px #c8a9fc55}.km-saved-indicator{display:flex;gap:8px;align-items:center;color:#29974c;font-size:12px!important;margin:22px 0}.km-saved-indicator svg{background:#3aab5c;color:#fff;border-radius:50%;padding:4px}.km-question-footer{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-top:26px}.km-question-footer>div{display:flex;gap:8px}.km-question-footer button{min-height:43px}.km-dialog label.km-flag-button{display:inline-flex;flex-direction:row;align-items:center;border:1px solid #ded9e7;border-radius:7px;font-size:11px!important;color:#645a72;gap:7px;margin:0!important;min-height:40px;padding:9px 12px;cursor:pointer;font-weight:400}.km-flag-button input{appearance:none;height:12px;width:12px;border-radius:2px;border:1px solid #ccc}.km-flag-button input:checked{background:#8a42ed;border-color:#8a42ed;box-shadow:inset 0 0 0 2px white}.km-flag-button:has(:checked){background:#f6efff!important;border-color:#ac81ec!important}.km-exam-instruction{display:flex;gap:8px;align-items:flex-start;max-width:400px;margin:15px 0 8px auto;color:#8b8198;font-size:10px!important;line-height:1.6!important}.km-exam-instruction svg{height:15px;width:15px}.km-save-exit{font-size:10px!important;min-height:30px;padding:7px 10px}.km-clock-card{display:flex;align-items:center;gap:15px;padding:22px;min-height:106px}.km-clock-icon{display:grid;place-items:center;height:57px;width:57px;background:#f1e8ff;border-radius:11px;color:#7a2de5}.km-clock-icon svg{width:37px;height:37px}.km-clock-card>div{display:flex;flex-direction:column;gap:7px}.km-clock-card strong{font-size:30px;color:#7627d7;font-variant-numeric:tabular-nums;letter-spacing:-1px;line-height:1}.km-clock-card small{font-size:11px;color:#8b8198}.km-exam-aside .km-panel-title small{font-size:10px;color:#8b8198}.km-number-grid{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:5px}.km-number-grid button{border:0;min-width:0;min-height:32px;border-radius:6px;font-size:10px;padding:4px;background:#f2f1f6;color:#8a8497;opacity:1!important;cursor:pointer}.km-number-grid .is-answered,.km-progress-key .is-answered{background:#eee3ff;color:#8650d7}.km-number-grid .is-current,.km-progress-key .is-current{background:#7d31eb;color:#fff}.km-number-grid .is-flagged{box-shadow:inset 0 0 0 2px #db9a23}.km-progress-key{display:flex;gap:10px;flex-wrap:wrap;font-size:9px;color:#8b8198;margin-top:22px}.km-progress-key span{display:flex;align-items:center;gap:5px}.km-progress-key i{height:13px;width:13px;border-radius:3px;background:#f0eef5;display:block}.km-progress-key .is-flagged{background:#fff5da;border:1px solid #dca642}.km-submit-any{margin-top:18px;width:100%;font-size:10px!important}.km-exam-details h3{display:flex;gap:12px;align-items:center}.km-exam-details p{font-size:11px;color:#8b8198;margin:14px 0 0;padding-left:32px}.km-connectivity{display:flex;gap:12px;font-size:10px!important;color:#8b8198;padding:7px 16px;line-height:1.7!important}.km-mobile-clock{display:none}
@media(min-width:1500px){.km-content{padding:32px}.km-stat{padding:22px}.km-overview-row{grid-template-columns:3fr 1fr}}
@media(max-width:1150px){.km-workspace{grid-template-columns:175px minmax(0,1fr)}.km-content{padding:20px}.km-setup-layout{grid-template-columns:minmax(0,1fr) 220px;gap:14px}.km-card{padding:16px}.km-stats{gap:10px}.km-stat{padding:15px 10px;gap:8px}.km-stat strong{font-size:25px}.km-stat-icon{width:30px}.km-stat-icon svg{width:21px}.km-schedule-options{grid-template-columns:80px 100px}.km-schedule-options>div{grid-column:1/-1}.km-timing>label{width:100%!important}.km-timing>button{min-width:95px}.km-number-grid{grid-template-columns:repeat(8,minmax(0,1fr))}.km-writing-layout{grid-template-columns:minmax(0,1.8fr) minmax(245px,1fr)}.km-question-card{padding:20px}.km-student-header .km-brand-name small{font-size:8px}.km-header-actions .km-avatar{display:none}}
@media(max-width:900px){.km-overview-row{grid-template-columns:minmax(0,1fr)}.km-overview-row>aside .km-card{display:grid;grid-template-columns:1fr 1fr;gap:8px 20px}.km-overview-row>aside .km-panel-title{grid-column:1/-1}.km-credit-mini{margin-top:0;padding:6px 0;border:0}.km-two-col{grid-template-columns:minmax(0,1fr)}.km-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.km-stat strong{font-size:29px}.km-setup-layout{grid-template-columns:minmax(0,1fr)}.km-summary{order:-1}.km-summary .km-card{position:static}.km-summary ul{display:flex;flex-wrap:wrap;gap:12px}.km-summary li{margin:0;font-size:10px}.km-summary-title{display:none}.km-summary-note{padding:12px 0 0}.km-summary-note p{margin-bottom:0}.km-summary h3{margin-bottom:10px}.km-publish-footer{bottom:-20px}.km-writing-layout{grid-template-columns:minmax(0,1fr)}.km-exam-aside{display:grid;grid-template-columns:1fr 1fr;gap:14px}.km-exam-aside .km-desktop-clock{display:none}.km-mobile-clock{display:block}.km-mobile-clock .km-clock-card{min-height:0;padding:14px 18px}.km-mobile-clock .km-clock-card>div{display:grid;grid-template-columns:auto auto;gap:5px 20px}.km-mobile-clock strong{grid-row:1/3;align-self:center;font-size:27px}.km-clock-icon{height:42px;width:42px}.km-clock-icon svg{height:28px;width:28px}.km-exam-aside .km-card:first-of-type{grid-column:1/-1}.km-question-card{min-height:0}.km-number-grid{grid-template-columns:repeat(10,minmax(0,1fr))}.km-exam-prompt{font-size:24px}.km-student-progress>span{display:none}}
@media(max-width:640px){.km-dialog{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border-radius:0;border:0}.km-workspace{grid-template-columns:minmax(0,1fr);grid-template-rows:66px minmax(0,1fr) calc(64px + env(safe-area-inset-bottom));}.km-content{grid-column:1;grid-row:2;padding:18px 16px}.km-topbar{grid-column:1;grid-row:1;padding:10px 16px;gap:12px}.km-desktop-title,.km-account [data-km-account-name],.km-approved{display:none!important}.km-mobile-logo{display:flex!important;align-items:center;gap:8px;margin-right:auto}.km-topbar>.km-menu{display:flex!important;font-size:23px;order:0}.km-topbar .km-brand{height:31px;width:31px;font-size:23px}.km-brand-name strong{font-size:17px}.km-brand-name small{font-size:8px}.km-topbar button.km-account{border:0;padding:0}.km-topbar .km-avatar{height:29px;width:29px}.km-sidebar{display:none;position:absolute;inset:66px 0 calc(64px + env(safe-area-inset-bottom)) 0;z-index:6;background:white;padding:18px 20px}.km-menu-open .km-sidebar{display:flex;grid-column:auto;grid-row:auto}.km-sidebar>.km-logo{display:none}.km-sidebar footer{padding-top:20px}.km-sidebar nav button{font-size:14px;min-height:44px}.km-mobile-nav{display:flex!important;grid-column:1;grid-row:3;border-top:1px solid var(--km-border);background:white;justify-content:space-around;padding:8px 6px calc(7px + env(safe-area-inset-bottom));z-index:7}.km-mobile-nav button{border:0;background:white;display:flex;flex-direction:column;font-size:9px;color:#81778c;gap:5px;min-width:48px}.km-mobile-nav button[aria-current=page]{color:#8635eb}.km-mobile-nav svg{width:21px;height:21px}.km-welcome,.km-page-heading{display:block;margin-bottom:20px}.km-welcome h1{font-size:26px}.km-welcome p,.km-page-heading p{font-size:12px;line-height:1.5}.km-welcome>.km-primary{width:100%;margin-top:18px;min-height:42px;font-size:12px}.km-page-heading h1{font-size:25px}.km-page-heading>.km-secondary{margin-top:12px;font-size:11px}.km-stats{gap:10px;margin-bottom:22px}.km-stat{padding:17px 11px;gap:10px}.km-stat strong{font-size:25px}.km-stat small{font-size:9px;margin-top:10px}.km-stat span:not(.km-stat-icon){font-size:10px}.km-stat-icon{height:33px;width:27px}.km-card{padding:16px;border-radius:10px;margin-bottom:16px}.km-card h3{font-size:15px}.km-panel-title{gap:8px;margin-bottom:14px}.km-panel-title>.km-text-button{font-size:10px}.km-table table,.km-table tbody{display:block}.km-table thead{display:none}.km-table tr{display:grid;grid-template-columns:1fr 1fr;gap:2px 8px;border:1px solid #e9e4f1;border-radius:8px;padding:12px;margin-bottom:12px;background:#fff}.km-table td{padding:4px 0;border:0;white-space:normal}.km-table td:first-child{grid-column:1/-1}.km-table td:first-child strong{font-size:12px}.km-table td:nth-child(2){font-size:10px;grid-column:1}.km-table td:nth-child(3){grid-column:2;grid-row:2;text-align:right}.km-table td:nth-child(4){font-size:10px;grid-column:1}.km-table td:nth-child(4)::after{content:' students';color:#777}.km-table td:last-child{grid-column:2;text-align:right}.km-table .km-secondary{font-size:10px}.km-overview-row>aside .km-card{display:block}.km-credit-mini{padding:18px 0}.km-release-card{gap:9px;padding:12px}.km-release-card>div{min-width:170px}.km-release-card>button{flex:1}.km-feed-item{font-size:10px;flex-wrap:wrap}.km-feed-item small{font-size:9px;flex-basis:100%;padding-left:30px}.km-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.km-steps{gap:9px;margin:20px 0}.km-steps button{font-size:9px;gap:5px}.km-steps button span{height:23px;width:23px}.km-three{grid-template-columns:1fr 1fr;gap:10px}.km-three>label:first-child:last-child{grid-column:1/-1}.km-basic>.km-grid.km-three>label:last-child{grid-column:1/-1}.km-dialog .km-setup-form label:not(.km-option):not(.km-check){font-size:11px}.km-dialog input:not([type=checkbox]):not([type=radio]),.km-dialog textarea,.km-dialog select{font-size:13px;min-height:40px}.km-source-choices{gap:8px}.km-source-choices button{font-size:10px;padding:10px 8px;gap:5px}.km-source-choices svg{width:16px;height:16px}.km-source-choices button span{width:12px;height:12px}.km-timing{flex-direction:column}.km-timing>button{min-height:52px;align-items:center;font-size:11px}.km-timing>button small{max-width:none;font-size:10px}.km-dialog .km-timing>label{width:100%!important;flex-direction:column!important;margin-top:3px!important;font-size:11px!important}.km-schedule-options{grid-template-columns:90px minmax(0,1fr)}.km-schedule-options>div{grid-column:1/-1}.km-release-options>label{min-height:70px}.km-dialog .km-release-options strong{font-size:10px}.km-dialog .km-release-options small{font-size:9px}.km-summary{order:initial}.km-summary ul{display:grid;grid-template-columns:1fr 1fr}.km-summary-note p{font-size:11px}.km-summary-title{display:flex}.km-publish-footer{bottom:-18px;padding:13px 12px;gap:12px;margin-bottom:18px}.km-publish-footer>div:first-child{flex-basis:100%}.km-publish-actions{width:100%;gap:8px}.km-publish-actions button[type=submit]{flex:1;min-height:44px;font-size:12px}.km-publish-actions .km-secondary{font-size:11px}.km-dialog .km-publish-footer .km-check{font-size:11px;line-height:1.6}.km-publish-footer small{font-size:10px}.km-question{padding:12px}.km-mock-controls .km-actions button{flex:1;font-size:11px}.km-student-header{height:85px;padding:12px 16px;grid-template-columns:1fr auto;gap:8px}.km-student-header .km-logo{grid-column:1;grid-row:1}.km-student-header .km-exam-heading{grid-column:1/-1;grid-row:2;gap:3px;text-align:left;display:none}.km-header-actions{grid-column:2;grid-row:1}.km-student-header .km-header-actions .km-avatar{display:grid}.km-student-header .km-secondary{font-size:11px;min-height:32px;padding:6px 9px}.km-student-header .km-brand{height:33px;width:33px;font-size:24px}.km-writing .km-body{height:calc(100% - 85px);padding:16px}.km-student-progress{gap:10px;flex-wrap:wrap;margin-bottom:15px}.km-student-progress strong{font-size:12px}.km-student-progress progress{flex-basis:100%;order:2}.km-mobile-clock .km-clock-card{padding:13px;gap:12px}.km-clock-card small{font-size:9px}.km-mobile-clock .km-clock-card>div{gap:5px 15px}.km-mobile-clock strong{font-size:27px}.km-clock-icon{width:35px;height:35px;border-radius:8px}.km-clock-icon svg{height:25px;width:25px}.km-question-card{padding:17px 14px}.km-eyebrow{font-size:9px;letter-spacing:.8px;margin-bottom:14px}.km-exam-prompt{font-size:18px;line-height:1.45;margin-bottom:20px}.km-dialog .km-option{font-size:13px;min-height:54px;padding:13px 11px;gap:9px;margin:11px 0}.km-option>b{font-size:12px}.km-option input{height:16px;width:16px}.km-saved-indicator{font-size:11px!important;margin:17px 0}.km-question-footer{display:flex;flex-direction:column;align-items:stretch;gap:10px;margin-top:17px;position:sticky;bottom:-16px;background:#fff;padding:10px 0;z-index:2}.km-dialog label.km-flag-button{justify-content:center;font-size:11px!important;min-height:39px}.km-question-footer>div{width:100%}.km-question-footer .km-primary{flex:1;font-size:12px;min-height:44px}.km-exam-instruction{font-size:10px!important;line-height:1.6!important;max-width:none;margin-top:8px}.km-exam-aside{display:block}.km-number-grid{gap:5px}.km-number-grid button{min-height:30px}.km-connectivity{padding:5px 0;font-size:10px!important}.km-saved-indicator svg{height:18px;width:18px}.km-student-header .km-exam-heading strong{font-size:12px}.km-writing .km-header{height:70px}.km-writing .km-body{height:calc(100% - 70px)}
}
@media(prefers-reduced-motion:reduce){.km-dialog *{scroll-behavior:auto!important}}
.km-mobile-exam-title{display:none}@media(max-width:640px){.km-mobile-exam-title{display:block;margin:0 0 18px}.km-mobile-exam-title h1{font-size:19px;line-height:1.35;margin:0 0 4px}.km-mobile-exam-title p{font-size:11px;color:#83788e;margin:0}}
.km-dialog label,.km-dialog .km-grid>*{min-width:0;max-width:100%}.km-dialog .kp-wrap{min-width:0!important;max-width:100%!important;width:100%!important}.km-dialog .kp-trigger{min-width:0!important;max-width:100%!important;width:100%!important;font-size:12px!important;text-align:left;justify-content:space-between}.km-dialog .kp-text{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.km-dialog .kp-native{min-width:0!important;max-width:100%!important}.km-dialog input{max-width:100%}.km-dialog .km-grid{min-width:0}
.km-dialog label.km-flag-button{flex-direction:row!important}.km-dialog .km-sr{width:1px!important;height:1px!important}
.km-top-search{position:relative;max-width:390px;margin:0!important;font-weight:400!important;display:block!important}.km-dialog .km-top-search input{padding-left:36px!important;background:#fcfbff}.km-top-search svg{position:absolute;left:11px;top:11px;width:16px;height:16px;color:#81758e}.km-plan-promo{margin-top:auto;padding:16px 12px;background:#f4edff;border-radius:9px;display:grid;grid-template-columns:20px 1fr;gap:5px 8px;color:#7930d9;font-size:11px}.km-plan-promo>svg{grid-row:1/3}.km-plan-promo small{font-size:9px;color:#7d6c8f;grid-column:2}.km-plan-promo button{grid-column:1/-1}.km-sidebar:has(.km-plan-promo) footer{margin-top:8px;padding-top:12px}@media(max-width:640px){.km-plan-promo{margin-top:15px}.km-top-search{display:none!important}}


/* Keep the setup on one scroll surface; footer must never cover timing/date fields. */
.km-workspace .km-content{height:auto;min-height:0;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;scroll-padding:24px 0 80px;touch-action:pan-y}
.km-setup-form .km-publish-footer{position:static;bottom:auto;margin-top:24px;margin-bottom:24px}
.km-basic [data-km-scheduling],.km-basic [data-km-timing]{scroll-margin-top:24px}
.km-workspace .kp-list{min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y}
.km-generation-screen{max-width:760px;margin:20px auto;padding:clamp(24px,5vw,54px);text-align:center}
.km-generation-screen>.km-stat-icon{margin:0 auto 20px;width:60px;height:60px}
.km-generation-screen .km-eyebrow{display:block;margin:16px 0;color:#7529dc}
.km-generation-screen h2{font-size:clamp(24px,4vw,36px)}
.km-generation-screen strong{display:block;font-size:24px;color:#7130dc;margin:30px 0 12px}
.km-generation-screen progress{display:block;width:100%;height:14px;accent-color:#8038ee;margin:18px 0}
.km-generation-screen ol{text-align:left;line-height:2.1;max-width:380px;margin:26px auto;color:#61596e}
.km-question-card figure{margin:16px 0}.km-question-card figure img{display:block;max-width:100%;max-height:65dvh;object-fit:contain;border-radius:12px}.km-question-card figcaption{font-size:12px;color:#746a80}
@media(max-width:640px){.km-basic>.km-grid.km-three{grid-template-columns:minmax(0,1fr)}.km-dialog .km-setup-form input,.km-dialog .km-setup-form select,.km-dialog .km-setup-form textarea{font-size:16px}.km-generation-screen{padding:24px 18px}}

.km-question figure{margin:16px 0}.km-question figure img{max-width:100%;max-height:55dvh;object-fit:contain}

/* Question-review studio follows the approved image design. */
.km-integrity-warning{padding:14px;border:1px solid #efcf8d;background:#fff8e9;color:#6c4a14;border-radius:10px;line-height:1.65}.km-integrity-warning strong{display:block;margin-bottom:5px}
.km-review-mode .km-basic,.km-review-mode .km-summary{display:none}.km-review-mode .km-setup-layout{grid-template-columns:minmax(0,1fr)}.km-schedule-mode [data-km-review]{display:none!important}
.km-review-mode .km-publish-footer>div{display:none}.km-review-mode .km-publish-footer{padding:0;border:0;background:transparent;box-shadow:none}
.km-review-studio{border:0;background:transparent;padding:0}.km-review-studio>.km-panel-title{margin-top:6px}.km-review-studio>.km-panel-title h3{font-size:25px}.km-review-studio>.km-muted{margin-bottom:24px;max-width:900px}
.km-review-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:20px;align-items:start}.km-review-navigator{background:#fff;border:1px solid #e5dff1;border-radius:14px;padding:18px;position:sticky;top:12px}.km-review-navigator .km-panel-title{flex-wrap:wrap}.km-review-navigator select{font-size:12px!important;padding:8px!important}.km-review-numbers{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;max-height:520px;overflow:auto;overscroll-behavior:contain}.km-review-numbers button{height:38px;border:1px solid #e5dff1;border-radius:8px;background:#faf9fe;color:#342b46}.km-review-numbers button.is-reviewed{background:#eaf7ef;border-color:#9fd1b3;color:#17683c}.km-review-numbers button[aria-current=step]{border-color:#7c3aed;box-shadow:0 0 0 2px #ece0ff;background:#f4edff;color:#6827c8}.km-review-navigator p{font-size:11px;line-height:1.7;color:#70677b}
.km-review-card{margin:0;padding:26px;background:#fff;border:1px solid #e5dff1;border-radius:14px;scroll-margin-top:20px}.km-review-card-top{display:flex;justify-content:space-between;align-items:center;gap:12px;color:#71677d;font-size:12px}.km-review-topic{padding:7px 12px;background:#f4f1fa;border-radius:30px;max-width:65%;overflow-wrap:anywhere}.km-review-prompt{font-size:21px!important;font-weight:650;line-height:1.5!important;color:#20182d;margin:24px 0!important}.km-review-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;list-style:none;padding:0;margin-bottom:24px}.km-review-options li{display:flex;align-items:center;gap:10px;border:1px solid #e5dfed;padding:14px;border-radius:10px;min-width:0;font-size:13px}.km-review-options li b{width:28px;height:28px;border:1px solid #ded7e8;display:grid;place-items:center;border-radius:50%;flex-shrink:0}.km-review-options li small{display:none;margin-left:auto;font-size:10px}.km-review-options li.is-correct{background:#eaf8ef;border-color:#81c99d;color:#175e32}.km-review-options li.is-correct small{display:inline}.km-answer-key{background:#f5efff;padding:14px;border-radius:10px;color:#6825c3!important}.km-review-explanation{position:relative;border:1px solid #e7e0ef;padding:18px;border-radius:10px;margin-top:20px!important;font-size:14px!important}.km-explanation-copy p{font-weight:400;white-space:pre-wrap;line-height:1.75!important;font-size:14px!important;margin:12px 0 0}.km-edit-explanation{align-self:flex-end;margin-top:0;font-size:11px!important}.km-review-card-actions{border-top:1px solid #e8e2ef;margin:24px -26px -26px;padding:18px 26px;display:flex;align-items:center;justify-content:space-between;gap:15px}.km-review-card-actions .km-check{margin:0;font-size:12px}.km-review-card-actions>div{display:flex;gap:10px}.km-review-progress{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #e5dff1;border-radius:12px;padding:18px;margin-top:22px}.km-review-progress>div{flex:1}.km-review-progress strong{font-size:13px}.km-review-progress progress{display:block;width:100%;height:7px;accent-color:#7c3aed;margin-top:10px}.km-actions [data-km-copy-status]{font-size:12px;color:#237044}
@media(max-width:1000px){.km-review-layout{grid-template-columns:190px minmax(0,1fr)}.km-review-card{padding:18px}.km-review-card-actions{margin:20px -18px -18px;padding:16px 18px;flex-wrap:wrap}.km-review-options{grid-template-columns:1fr}}
@media(max-width:640px){.km-review-layout{grid-template-columns:minmax(0,1fr)}.km-review-navigator{position:static;padding:14px}.km-review-navigator .km-panel-title{flex-wrap:nowrap;gap:10px}.km-review-navigator select{width:auto!important;max-width:130px}.km-review-numbers{display:flex;overflow-x:auto;overflow-y:hidden;max-height:none;padding:3px}.km-review-numbers button{min-width:37px;flex-shrink:0}.km-review-card-top{font-size:11px}.km-review-prompt{font-size:18px!important}.km-review-card-actions>div{width:100%}.km-review-card-actions>div button{flex:1}.km-review-progress{flex-wrap:wrap;padding:14px}.km-review-progress>div{flex-basis:100%;margin-bottom:10px}.km-review-progress>button{flex:1}.km-review-studio>.km-panel-title h3{font-size:21px}.km-explanation-copy p{font-size:14px!important}.km-review-card{padding:16px}.km-review-card-actions{margin:20px -16px -16px;padding:14px 16px}}
/* Student mock instructions: clear exam brief and a dedicated entry panel. */
.km-instruction-screen{background:#faf9fc}.km-instruction-screen .km-body{padding:28px 32px}.km-instructions{max-width:1056px;margin:auto}.km-instruction-breadcrumb{display:flex;align-items:center;gap:10px;color:#82768e;font-size:12px;margin-bottom:24px}.km-instructions svg{width:19px;height:19px;flex-shrink:0}.km-instruction-breadcrumb strong{color:#594967;font-weight:500}.km-instruction-hero{display:flex;gap:18px;align-items:center;margin:0 0 28px}.km-instruction-mark{display:grid;place-items:center;width:66px;height:66px;border:1px solid #e4d5f8;background:linear-gradient(145deg,#f0e7fd,#faf6ff);border-radius:20px;color:#7d36d8;flex-shrink:0}.km-instruction-mark svg{width:32px;height:32px}.km-instruction-eyebrow{font-size:10px;letter-spacing:1.7px;font-weight:700;color:#835caa}.km-instruction-hero h1{font-size:32px;line-height:1.2;letter-spacing:-.9px;margin:6px 0 8px;color:#271d36}.km-instruction-hero p{color:#81748e;font-size:14px;margin:0;line-height:1.6}.km-instruction-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:24px;align-items:start}.km-instruction-screen .km-card{padding:24px;border-color:#e9e3f0;box-shadow:0 3px 12px #32244803;border-radius:18px;margin-bottom:20px}.km-instruction-title{display:flex;gap:12px;align-items:center;justify-content:space-between}.km-instruction-title .km-state{font-size:11px;text-transform:capitalize;background:#f1f8f4;color:#347954;border:1px solid #dcece3;border-radius:20px;padding:4px 10px}.km-instruction-overview h2{font-size:23px;letter-spacing:-.4px;margin:18px 0 8px;overflow-wrap:anywhere}.km-instruction-topic{display:flex;gap:7px;align-items:center;color:#81718e;font-size:13px;margin:0 0 22px}.km-instruction-topic svg{color:#915bc9}.km-instruction-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid #f0ebf5;border-bottom:1px solid #f0ebf5;margin:0;padding:20px 0;gap:12px}.km-instruction-metrics dt{display:flex;align-items:center;gap:6px;color:#8b7e96;font-size:11px;margin-bottom:8px}.km-instruction-metrics dt svg{width:15px;height:15px}.km-instruction-metrics dd{margin:0;font-size:16px;font-weight:650;color:#463452;line-height:1.4;overflow-wrap:anywhere}.km-instruction-window{display:flex;gap:10px;align-items:center;color:#997aad;margin-top:18px}.km-instruction-window span{display:block;font-size:10px;color:#93849c;margin-bottom:5px}.km-instruction-window strong{display:block;font-size:11px;line-height:1.6;color:#6c5a7a;font-weight:500}.km-instruction-rules h2,.km-instruction-attempts h2{font-size:17px;letter-spacing:-.2px;margin:0 0 22px}.km-instruction-rules ol{padding:0;list-style:none;margin:0;display:grid;gap:22px}.km-instruction-rules li{display:flex;gap:13px;align-items:flex-start}.km-instruction-rules li>span{display:grid;place-items:center;background:#f4eefb;color:#8c55c4;width:29px;height:29px;flex-shrink:0;border-radius:9px;font-size:11px;font-weight:700}.km-instruction-rules li strong{display:block;font-size:13px;color:#4d3c5c;margin:3px 0 6px}.km-instruction-rules li p{color:#81738d;font-size:12px;margin:0;line-height:1.8}.km-instruction-warning{display:flex;gap:13px;padding:20px;background:#fffaf0;border:1px solid #eddfbd;border-radius:15px;color:#a67b32;margin-bottom:24px}.km-instruction-warning h2{font-size:13px;color:#765725;margin:0 0 8px}.km-instruction-warning p{font-size:12px;color:#8d7755;line-height:1.8;margin:0 0 8px}.km-instruction-warning strong{font-size:11px;color:#8a6934}.km-instruction-start h2{font-size:19px;letter-spacing:-.4px;margin:12px 0 22px}.km-instruction-start dl{margin:0 0 22px;display:grid;gap:13px}.km-instruction-start dl>div{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px}.km-instruction-start dt{color:#92849d}.km-instruction-start dd{margin:0;font-weight:650;color:#54405f}.km-instruction-price{padding:16px;background:#f7f2fe;border:1px solid #eaddfa;border-radius:12px;margin-bottom:20px}.km-instruction-price>span{display:block;color:#9369b6;font-size:11px}.km-instruction-price>strong{display:block;color:#7c35c5;font-size:28px;margin-top:7px;letter-spacing:-.5px}.km-instruction-price p{color:#947ea6;font-size:11px;line-height:1.6;margin:8px 0 0}.km-instruction-start .km-instruction-agreement{font-size:11px;line-height:1.7;color:#8e8099;margin:0 0 16px}.km-instruction-start .km-instruction-begin{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;margin:0;background:#7b34da;border:1px solid #7b34da;border-radius:11px;color:white;font-size:13px;padding:14px 16px;box-shadow:0 5px 12px #7b34da20}.km-instruction-start .km-instruction-begin:disabled{cursor:not-allowed;box-shadow:none}.km-instruction-secure{display:flex;align-items:center;justify-content:center;gap:5px;font-size:9px;color:#9b8ca6;margin-top:16px}.km-instruction-secure svg{width:12px;height:12px}.km-instruction-start [data-km-status]:empty{display:none}.km-instruction-attempts button{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;text-align:left;font-size:12px;border:1px solid #e7dff0;background:#fff;color:#705580;padding:12px;border-radius:10px;margin:10px 0 0}.km-instruction-attempts button small{display:block;color:#9a8aa6;font-size:10px;margin-top:5px}.km-instruction-empty{text-align:center;padding:6px 0 20px;color:#ad9bbb}.km-instruction-empty>svg{width:31px;height:31px;padding:12px;background:#f8f5fc;border-radius:50%}.km-instruction-empty p{color:#8b779a;font-size:12px;margin:8px 0 4px}.km-instruction-empty small{font-size:11px;line-height:1.6;display:block;color:#a190ad}.km-instruction-saved{display:flex;align-items:center;gap:8px;font-size:12px;color:#80618e}
@media(max-width:800px){.km-instruction-layout{grid-template-columns:minmax(0,1fr)}.km-instruction-side{display:grid;grid-template-columns:1fr 1fr;gap:18px}.km-instruction-screen .km-body{padding:24px}.km-instruction-side .km-card{margin-bottom:0}}@media(max-width:560px){.km-instruction-screen .km-body{padding:20px 16px}.km-instruction-hero{gap:12px;margin-bottom:22px}.km-instruction-hero h1{font-size:26px}.km-instruction-hero p{font-size:12px}.km-instruction-mark{width:50px;height:50px;border-radius:15px}.km-instruction-mark svg{width:25px;height:25px}.km-instruction-breadcrumb{margin-bottom:22px}.km-instruction-screen .km-card{padding:20px}.km-instruction-overview h2{font-size:21px}.km-instruction-metrics{gap:8px}.km-instruction-metrics dd{font-size:14px}.km-instruction-metrics dt{font-size:10px}.km-instruction-side{display:block}.km-instruction-side .km-card{margin-bottom:20px}.km-instruction-layout{gap:0}.km-instruction-start .km-instruction-begin{min-height:48px}.km-instruction-secure{font-size:10px}.km-instruction-window strong{font-size:11px}}
@media(max-width:560px){.km-instruction-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}.km-instruction-metrics>div:last-child{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #f0ebf5;padding-top:14px}.km-instruction-metrics>div:last-child dt{margin:0}.km-instruction-metrics>div:last-child dd{overflow-wrap:normal}.km-instruction-secure{flex-wrap:wrap;text-align:center}}
.km-dialog .km-schedule-date{margin:0;min-width:0}.km-schedule-date legend{font-size:14px;font-weight:650;color:#50405d;padding:0;margin-bottom:12px}.km-schedule-date>.km-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.km-schedule-date label{min-width:0}.km-schedule-date .kp-trigger{min-width:0;width:100%}


.km-exam-security{margin-top:20px;padding:18px;border:1px solid var(--km-border,#e4deed);border-radius:14px;background:var(--km-surface,#fff)}.km-exam-security h3{margin:0 0 12px}.km-security-option{display:flex!important;align-items:flex-start!important;gap:12px;line-height:1.5;font-weight:600}.km-security-option input[type=checkbox]{width:20px!important;height:20px!important;min-width:20px!important;flex:0 0 20px;margin:2px 0 0!important;accent-color:#750db0}.km-security-option span{min-width:0}.km-exam-security .km-muted{font-size:13px;line-height:1.6;margin:12px 0 0}.km-table td small{display:block;white-space:normal;min-width:110px;font-size:11px;line-height:1.5;color:var(--km-muted,#626980)}@media(max-width:600px){.km-exam-security{padding:14px}.km-security-option{font-size:14px}}

/* Recognition-only mock leaderboard: compact first, with full instructions retained. */
.km-mock-leaderboard .km-instruction-hero{display:none}.km-board-heading{margin:2px 0 20px}.km-board-heading h1{font-size:clamp(24px,3vw,34px);line-height:1.2;letter-spacing:-.8px;margin:8px 0}.km-board-heading p{font-size:17px;margin:0 0 16px;color:#5e516c}.km-board-heading>strong{display:block;font-size:18px;line-height:1.4;overflow-wrap:anywhere}.km-board-heading>small{display:block;color:#756580;font-size:13px;margin-top:4px}.km-board-leader{padding:22px;border:1px solid #ae63e2;border-radius:16px;background:linear-gradient(135deg,#fcf8ff,#f4edff);margin-bottom:18px}.km-board-label{display:flex;align-items:center;gap:8px;font-size:11px;font-weight:800;letter-spacing:.06em;color:#750db0}.km-board-label svg{width:19px;height:19px}.km-board-lead-person{display:flex;align-items:center;gap:14px;margin:16px 0;padding-bottom:16px;border-bottom:1px solid #dfc6f1}.km-board-avatar{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;background:#ede0fd;border-radius:50%;color:#750db0;font-size:12px;font-weight:750}.km-board-lead-person .km-board-avatar{width:54px;height:54px;flex-basis:54px;font-size:19px}.km-board-lead-person>strong{font-size:19px;min-width:0;overflow-wrap:anywhere}.km-board-lead-person>strong small{display:block;font-size:11px;font-weight:500;color:#705c81;margin-top:4px}.km-board-lead-person>b{margin-left:auto;font-size:40px;line-height:1;color:#750db0;letter-spacing:-1px;white-space:nowrap}.km-board-leader p{font-size:14px;line-height:1.55;margin:8px 0}.km-board-leader>small{color:#766080;font-size:12px}.km-board-leader h3{font-size:20px;margin:18px 0 8px}.km-board-card{padding:18px}.km-board-card header{display:flex;align-items:center;justify-content:space-between;gap:10px}.km-board-card header h3{font-size:18px;margin:0}.km-board-refresh{border:0;background:#f3eafa;border-radius:50%;height:36px;width:36px;display:grid;place-items:center;cursor:pointer;color:#750db0}.km-board-refresh svg{width:17px;height:17px}.km-board-caption{font-size:11px!important;line-height:1.5!important;color:#716180;margin:4px 0 14px!important}.km-board-column-labels{display:grid;grid-template-columns:1fr 55px 74px;gap:8px;font-size:10px;color:#80718b;padding:0 0 8px}.km-board-column-labels span:not(:first-child){text-align:right}.km-board-list{list-style:none;margin:0;padding:0}.km-board-row{display:grid;grid-template-columns:25px 30px minmax(0,1fr) 48px 68px;align-items:center;gap:8px;border-top:1px solid #eee7f5;padding:12px 0;font-size:12px}.km-board-row[hidden]{display:none!important}.km-board-rank{font-weight:750;color:#665175}.km-board-row:first-child .km-board-rank{background:#f8ebbd;border-radius:50%;width:23px;height:23px;display:grid;place-items:center;color:#7e5c00}.km-board-row .km-board-avatar{width:29px;height:29px;flex-basis:29px;font-size:10px}.km-board-row>strong{font-size:12px;overflow-wrap:anywhere;line-height:1.35}.km-board-row strong small{display:block;font-weight:500;font-size:10px;color:#750db0}.km-board-row>b,.km-board-row>span:last-child{text-align:right;white-space:nowrap}.km-board-row>span:last-child{color:#6d5b7a;font-variant-numeric:tabular-nums;font-size:11px}.km-board-card footer{border-top:1px solid #eee7f5;margin-top:6px;padding-top:12px;font-size:11px;line-height:1.6;color:#776782}.km-board-card footer span,.km-board-card footer small{display:block;margin-top:5px}.km-board-card footer span{color:#750db0;font-weight:650}.km-board-empty{font-size:13px;color:#776782;padding:8px 0}.km-board-expand{display:block;width:100%;min-height:40px;margin:4px 0 8px;background:#f7f0fc;color:#750db0;border:0;border-radius:8px;font:inherit;font-size:12px;font-weight:650;cursor:pointer}.km-board-your-rank{background:#f7f0fc;padding:10px;border-radius:8px;font-size:12px!important;color:#750db0}.km-board-facts{display:flex;gap:10px;flex-wrap:wrap;background:#fff;border:1px solid #e7e0ee;border-radius:12px;padding:14px;margin:0 0 16px;font-size:12px;line-height:1.5}.km-board-facts span{display:flex;align-items:center;gap:5px}.km-board-facts svg{width:18px;height:18px;color:#750db0}.km-board-instructions>summary{cursor:pointer;color:#750db0;font-size:14px;font-weight:650;min-height:44px;padding:12px;border:1px solid #d5b7e9;border-radius:10px;background:#fff;margin:0 0 16px}.km-mock-leaderboard .km-instruction-main,.km-mock-leaderboard .km-instruction-side{min-width:0}
@media(max-width:600px){.km-board-heading h1{font-size:25px}.km-board-heading{margin-bottom:16px}.km-board-heading>strong{font-size:16px}.km-board-leader{padding:16px}.km-board-card{padding:14px}.km-board-lead-person{gap:10px}.km-board-lead-person>strong{font-size:16px}.km-board-lead-person>b{font-size:35px}.km-board-lead-person .km-board-avatar{width:45px;height:45px;flex-basis:45px;font-size:16px}.km-board-row{gap:6px;grid-template-columns:20px 26px minmax(0,1fr) 43px 62px}.km-board-row .km-board-avatar{width:26px;height:26px}.km-board-facts{padding:12px;gap:8px;font-size:11px}.km-board-leader p{font-size:13px}.km-mock-leaderboard .km-instruction-layout{gap:12px}.km-board-column-labels{grid-template-columns:1fr 43px 62px;gap:6px}}
.km-mock-leaderboard .km-board-card{padding:18px}.km-mock-leaderboard .km-board-heading>h1{color:#241d32}@media(max-width:600px){.km-mock-leaderboard .km-board-card{padding:14px}.km-mock-leaderboard .km-board-card footer{font-size:10px;line-height:1.5}.km-mock-leaderboard .km-board-card header h3{font-size:17px}.km-mock-leaderboard .km-board-row{padding:10px 0}}
/* Original question imports and explicit answer-conflict review. */
.km-question-upload{border:1px dashed #bfa3ef;border-radius:12px;padding:16px;margin:16px 0;background:#faf7ff;min-width:0}.km-question-upload input[type=file]{display:block;width:100%;min-width:0;max-width:100%;font:inherit;font-size:12px}.km-question-upload [role=status]{font-size:12px;line-height:1.6;color:#6730a7;overflow-wrap:anywhere}.km-answer-warning{background:#fff7e8;border:1px solid #edcc8c;border-radius:12px;padding:16px;margin:0 0 18px;color:#754b10;font-size:13px;line-height:1.6}.km-answer-warning p{margin:8px 0}.km-answer-warning .km-check{align-items:flex-start;font-size:12px;line-height:1.5}.km-answer-warning input{flex:none;width:18px!important;height:18px!important}.ke-dark .km-question-upload{background:#2c223d}.ke-dark .km-answer-warning{background:#3c301f;color:#f2d8a8}@media(max-width:520px){.km-question-upload,.km-answer-warning{padding:13px}.km-question-upload>button{width:100%;min-height:44px}}
