/* B01–B26: white global brand header, white sidebar, compact lists and independent forms. */
:root{--nav:#2478f2;--nav-deep:#1264d7;--ink:#263a54;--muted:#8390a2;--line:#e5ebf3;--bg:#f2f5f9;--paper:#fff;--teal:#2478f2;--teal-soft:#eef5ff;--radius:5px;--shadow:0 2px 9px #20446605}
body{font-size:13px;background:#f2f5f9;color:#293c56}h1,h2,h3{color:#293c56;letter-spacing:0}.app-shell{padding:68px 0 0 218px}.topbar{position:fixed;inset:0 0 auto 0;min-height:68px;height:68px;border-bottom:3px solid #2478f2;padding:0 25px;background:white;z-index:60;gap:20px}.topbar .brand{padding:0;min-height:0;color:#293e5c;gap:10px;flex-shrink:0}.brand-mark{width:34px;height:34px;border-radius:4px;color:#fff;background:#2478f2;font-size:23px;font-weight:700;display:flex;align-items:center;justify-content:center}.brand-title{font-size:17px;color:#293e5c;max-width:340px}.brand small{display:none}.topbar-context{margin-right:auto;font-size:12px;color:#7b8b9e}.topbar-context strong{font-size:13px}.topbar-actions{gap:14px}.sidebar{top:68px;width:218px;background:white;border-right:1px solid #e4eaf2;color:#617186;z-index:50}.nav-scroll{padding:6px 10px 20px;scrollbar-color:#d3dfec transparent}.nav-group-title{margin:15px 14px 5px;font-size:11px;color:#a1adbc;letter-spacing:0}.nav-link{color:#5a6c82;font-size:13px;padding:8px 14px;min-height:37px;gap:11px;border-radius:4px;margin:1px 0}.nav-link svg{width:18px;height:18px;color:#93a1b5}.nav-link:hover{background:#f3f7fd;color:#2478f2}.nav-link.active{background:#eaf3ff;color:#2478f2}.nav-link.active:before{display:none}.nav-link.active svg{color:#2478f2}.sidebar-footer{padding:14px 23px;border-color:#e9eef5}.sidebar-footer a,.sidebar-footer a:hover{color:#2478f2}.main-content{max-width:1600px;padding:25px 28px 50px}.page-heading{gap:20px;margin-bottom:20px;align-items:center}.page-heading h1{font-size:24px;color:#253a55;margin-bottom:5px;font-weight:650}.page-heading p{font-size:12px;color:#8a98ab;margin:0}.eyebrow{display:none}.button{background:#2478f2;color:#fff;border-color:#2478f2;box-shadow:none;border-radius:4px;min-height:36px;font-weight:500;font-size:13px;padding:7px 14px}.button:hover{background:#1264d7;border-color:#1264d7;transform:none;box-shadow:none}.button.secondary,.button.ghost{background:#fff;color:#2478f2;border-color:#dce7f7}.button.secondary:hover,.button.ghost:hover{background:#eef5ff;border-color:#bcd7fa}.button.danger{background:#c44d55;border-color:#c44d55;color:#fff}.button.danger-outline{background:white;border-color:#edd8dc;color:#b84d58}.button.small{min-height:30px;font-size:12px;padding:4px 10px}.icon-button{border-radius:4px;min-height:32px;min-width:32px;padding:6px}.card{border:1px solid #e5ebf3;background:#fff;border-radius:6px;box-shadow:0 2px 9px #20446605;margin-bottom:20px;min-width:0}.card-head{padding:17px 21px;border-bottom:1px solid #edf1f6;gap:15px;min-height:58px}.card-head h2{font-size:16px;color:#2f435f;font-weight:600}.card-head p{font-size:12px;color:#93a0b2;margin-bottom:0}.card-body{padding:22px}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 24px}.field label{font-size:13px;color:#526783;font-weight:500;margin-bottom:7px}.field input,.field textarea,.field select,input,select,textarea{border-color:#dfe7f2;border-radius:4px;min-height:36px;background:white;color:#3b506d;box-shadow:none}.field input:focus,.field textarea:focus,.field select:focus{border-color:#2478f2;box-shadow:0 0 0 2px #2478f212}.field textarea{min-height:112px}.field-hint{font-size:12px;color:#8b9aaf;line-height:1.8}.form-footer{background:#fff;padding:18px 22px;border-color:#edf1f6;border-radius:0 0 6px 6px;position:static}.form-message{font-size:12px}.table-toolbar{padding:16px 20px;gap:12px}.table-toolbar .search-form{gap:8px}.search-box{background:white;border-color:#dce5f1;border-radius:4px;min-width:190px;max-width:320px}.search-box input{font-size:12px}.toolbar-actions{gap:8px;flex-wrap:wrap}.table-wrap{width:100%;max-width:100%;overflow-x:auto}.table-wrap table{font-size:12px}.table-wrap th{background:#f7f9fc;color:#66809f;font-weight:500;letter-spacing:0;padding:12px 14px;white-space:nowrap}.table-wrap td{padding:13px 14px;border-color:#edf1f6}.table-wrap th:first-child,.table-wrap td:first-child{padding-left:20px}.cell-primary{font-size:12px;font-weight:500;color:#4d6380}.cell-muted{color:#96a3b5}.cell-actions{white-space:nowrap}.cell-truncate{max-width:235px}.table-link{color:#2478f2;font-size:12px;font-weight:500}.badge{border-radius:3px;font-size:11px;background:#f1f4f8;color:#8d9bad;border:0;padding:3px 7px}.badge.info{color:#2478f2;background:#eaf3ff}.badge.success{color:#3a8b70;background:#edf8f2}.badge.warn{color:#b08338;background:#fdf6e9}.pagination{padding:15px 20px;border-top:1px solid #edf1f6;font-size:12px;color:#97a5b7;gap:12px}.pagination-controls{gap:10px}.pagination-controls select{font-size:12px}.stat-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:20px}.stat-card{padding:23px;margin-bottom:0;display:flex;flex-direction:column;align-items:flex-start;min-height:114px;border:1px solid #e4ebf4;background:white}.stat-title{color:#8798ae;font-size:13px}.stat-number{font-size:31px;color:#2478f2;line-height:1.3;margin-top:10px;font-weight:650}.dashboard-entries{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-bottom:20px}.dashboard-entry{display:block;padding:24px;margin:0;min-width:0}.dashboard-entry h2{font-size:17px;color:#3c5578;margin:15px 0 9px}.dashboard-entry p{font-size:12px;color:#98a5b6;margin-bottom:18px}.entry-icon{width:37px;height:37px;background:#eef5ff;border-radius:4px;color:#2478f2;display:flex;align-items:center;justify-content:center}.entry-icon svg{width:23px;height:23px}.role-links{display:flex;gap:14px;flex-wrap:wrap}.detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.detail-item dt{color:#8f9eb2;font-size:12px}.detail-item dd{color:#3f5778;font-size:13px;margin:6px 0 0;overflow-wrap:anywhere}.order-detail-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start}.order-detail-columns .detail-grid{grid-template-columns:1fr}.score-summary{padding:25px}.score-summary strong{color:#2478f2;font-size:43px;font-weight:650}.score-summary span,.score-summary p{color:#8c9bb0;font-size:13px}.score-summary p{margin:8px 0 0}.notice,.sensitive-note{background:#eef5ff;color:#607c9f;border:1px solid #dae9fe;border-radius:4px;font-size:12px;padding:12px 16px}.sensitive-note:before{display:none}.empty-state{padding:48px 20px;background:#fff;color:#94a4b9}.empty-state svg{color:#adbdcf}.empty-state h3{color:#6e819c;font-size:16px}.upload-box,.upload-preview,.reference-tools,.option-row,.answer-detail{border-radius:4px}.upload-box{background:#f8fafd;border-color:#dbe6f5}.auth-layout{display:block;min-height:100vh;background:#f2f5f9}.auth-brand-header{height:72px;background:white;border-bottom:3px solid #2478f2;padding:0 max(25px,calc((100% - 1200px)/2));display:flex;align-items:center}.auth-brand-header .brand{padding:0;min-height:0;gap:10px}.auth-main{display:block;max-width:1200px;margin:auto;padding:28px 25px 50px;min-height:0}.auth-page-title h1{font-size:25px;margin-bottom:4px}.auth-page-title p{font-size:12px;color:#8d9cb0}.auth-form{width:min(410px,100%);max-width:410px;margin:28px auto 45px;background:white;padding:32px;border:1px solid #e5ebf3;border-radius:6px;box-shadow:none}.auth-symbol{color:#2478f2;background:#eef5ff;width:36px;height:36px;display:flex;align-items:center;justify-content:center;margin:0 auto 12px;border-radius:4px}.auth-form h2{text-align:center;font-size:23px;color:#3d5576;margin:0 0 7px}.auth-form>p{text-align:center;font-size:12px;color:#8e9db1;margin:0 0 25px}.auth-form .field{margin:17px 0}.auth-form .button{width:auto;min-width:90px;margin-top:6px}.auth-links{font-size:11px;display:flex;gap:12px;justify-content:space-between;margin-top:20px}.auth-links span{color:#9aa7b8}.auth-error{border-radius:4px;font-size:12px;background:#fff2f3;color:#b65158}dialog{border-radius:8px;border:1px solid #e4ebf5}dialog::backdrop{background:#253c5c66}.dialog-mark{background:#fff1f1;color:#bd5260;border-radius:50%}.import-result{border-radius:4px;background:#f5f9ff}.user-avatar{background:#eef5ff;color:#2478f2}.error-state{background:white;border:1px solid #e5ebf3;border-radius:6px}.image-fallback{background:#eef5ff;color:#92abd0}
@media(max-width:1050px){.topbar-context{display:none}.topbar .brand{margin-right:auto}.main-content{padding:22px}.stat-grid{gap:12px}.dashboard-entries{gap:15px}.table-toolbar{flex-wrap:wrap}.toolbar-actions{flex-wrap:wrap}.brand-title{max-width:260px}}
@media(max-width:760px){.app-shell{padding:65px 0 0}.topbar{height:65px;min-height:65px;padding:0 14px;gap:9px}.topbar .brand-title{max-width:180px;font-size:14px}.brand-mark{height:29px;width:29px;font-size:19px}.topbar .brand{gap:7px;min-width:0}.topbar .menu-toggle{display:flex;order:-1}.topbar-actions{gap:5px}.user-chip{display:none}.sidebar{top:65px;width:218px;transform:translateX(-100%);transition:transform .15s}.nav-open .sidebar{transform:translateX(0)}.mobile-shade{inset:65px 0 0;background:#29446655;z-index:45}.main-content{padding:20px 15px 35px}.page-heading{align-items:flex-start;gap:12px;flex-wrap:wrap;margin-bottom:16px}.page-heading h1{font-size:22px}.heading-actions{flex-wrap:wrap}.card-body{padding:18px}.card-head{padding:15px 18px}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.stat-card{padding:18px;min-height:100px}.stat-number{font-size:28px}.dashboard-entries,.order-detail-columns{grid-template-columns:1fr;gap:14px}.dashboard-entry{padding:20px}.form-grid,.detail-grid{grid-template-columns:1fr;gap:18px}.field.full{grid-column:1/-1}.table-toolbar{padding:14px;display:block}.search-form{width:100%;display:flex;gap:7px}.search-box{min-width:0;flex:1}.toolbar-actions{margin-top:12px;gap:7px}.pagination{display:flex;flex-direction:column;align-items:flex-start;padding:14px}.pagination-controls{flex-wrap:wrap;gap:8px}.form-footer{padding:16px 18px;gap:10px;flex-wrap:wrap}.form-message{width:100%}.auth-main{padding:22px 16px}.auth-form{margin-top:20px;padding:28px 24px}.auth-brand-header{padding:0 20px}.auth-links{flex-wrap:wrap}.reference-tools{flex-wrap:wrap}.role-links{gap:10px}}

/* V1.3.1: isolated administrator demo controls. */
.demo-dashboard-link{display:flex;justify-content:flex-end;margin-bottom:12px}
.demo-overview{display:flex;justify-content:space-between;gap:28px;align-items:center;padding:28px;margin-bottom:22px}
.demo-overview h2{font-size:22px;margin:14px 0 10px}.demo-overview p{line-height:1.8;color:#6f8097}
.demo-buttons{display:flex;flex-direction:column;gap:12px;flex-shrink:0}
.demo-safety{margin:0 0 24px;padding:20px 24px}.demo-safety p{line-height:1.85;margin:8px 0 0}
.demo-count-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding:20px 0}
.demo-count{display:flex;flex-direction:column;gap:6px;background:#f5f8fc;border:1px solid #e5ecf6;border-radius:8px;padding:20px;color:#334b68;text-decoration:none;min-width:0}
.demo-count strong{font-size:28px;color:#2478f2}.demo-count h3{font-size:15px;margin:0}.demo-count p{font-size:13px;line-height:1.7;color:#70829a;margin:0}
.demo-credentials,.demo-feedback{margin-bottom:24px;padding:26px}.demo-credentials h2,.demo-feedback h2{margin:0 0 12px}.demo-credentials p,.demo-feedback p{line-height:1.8;color:#62788f}
.demo-login{display:flex;gap:18px;flex-wrap:wrap;align-items:center;margin-top:18px}.demo-login label{display:flex;flex-direction:column;gap:6px;color:#68819d}.demo-login code{background:#edf4ff;color:#2e568b;padding:10px;border-radius:5px;overflow-wrap:anywhere}
@media(max-width:1000px){.demo-overview{align-items:stretch;flex-direction:column}.demo-buttons{flex-direction:row;flex-wrap:wrap}.demo-count-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.demo-count-grid{grid-template-columns:1fr}.demo-overview,.demo-credentials{padding:18px}.demo-buttons .button{width:100%}.demo-login{display:block}.demo-login label{margin-bottom:14px}}

/* V1.3.5: make the password operation identity explicit. */
.password-account{font-size:14px;color:#4b5563;line-height:1.7;margin:0 0 20px}.password-account strong{color:#111827}

.demo-tools{padding:24px;margin:20px 0}.demo-tools p{line-height:1.8}.demo-product-options{display:grid;gap:14px;margin:18px 0;max-height:340px;overflow:auto}.demo-product-options label{display:block;line-height:1.7}.demo-tools input[type=checkbox]{width:17px;height:17px;vertical-align:middle;margin-right:8px}.demo-tools .form-message{display:block;margin-top:14px}.demo-tools button{min-height:42px}
