/* 06 · Refined command search
   A Swiss, high-contrast search-first navigation with no glass, glow or decorative AI motifs. */
html[data-sx-shell="refined-command"]{
  --sx-page:#f1f1ef;
  --sx-surface:#ffffff;
  --sx-text:#171717;
  --sx-heading:#0f0f10;
  --sx-body:#333336;
  --sx-muted:#66666a;
  --sx-faint:#9b9b9f;
  --sx-line:#cfcfd1;
  --sx-line-soft:#e4e4e5;
  --sx-line-strong:#a9a9ad;
  --sx-accent:#d33a2f;
  --sx-accent-dark:#a82922;
  --sx-link:#bd3128;
  --sx-link-hover:#8f241e;
  --sx-danger:#c7332b;
  --sx-field:#fff;
  --sx-field-line:#bdbdc1;
  --sx-field-hover:#85858a;
  --sx-focus:#d33a2f;
  --sx-focus-ring:rgba(211,58,47,.14);
  --sx-control:#fff;
  --sx-control-hover:#ececee;
  --sx-control-muted:#e9e9eb;
  --sx-table-head:#e8e8ea;
  --sx-row-hover:#f5f5f5;
  --sx-note:#f3e8e7;
  --sx-note-line:#d6a8a4;
  --sx-readonly:#ededee;
  --sx-subtle:#f7f7f7;
  --sx-outline:#ececee;
  --sx-outline-active:#dedee1;
  --sx-modal:#fff;
  --sx-modal-head:#f5f5f5;
  --sx-modal-body:#fff;
  --sx-modal-foot:#ededee;
  --sx-modal-line:#bdbdc1;
  --sx-scroll:#b2b2b5;
  --sx-panel-radius:0px;
  --sx-control-radius:0px;
  --sx-modal-radius:0px;
}
html[data-sx-shell="refined-command"] .top{
  height:66px!important;padding:0 24px!important;gap:16px!important;background:#fff!important;border-bottom:2px solid #171717!important;box-shadow:none!important
}
html[data-sx-shell="refined-command"] .view{padding:24px 28px 58px!important;background:#f1f1ef!important}
html[data-sx-shell="refined-command"] .crumbs{font-size:11px!important;letter-spacing:.06em!important;text-transform:uppercase!important;color:#77777b!important}
html[data-sx-shell="refined-command"] .crumbs .cp{font-size:15px!important;color:#111!important;font-weight:780!important;letter-spacing:0!important;text-transform:none!important}
html[data-sx-shell="refined-command"] .chip,
html[data-sx-shell="refined-command"] .iconbtn{border-radius:0!important;background:#fff!important;border:1px solid #aaa!important;box-shadow:none!important}
html[data-sx-shell="refined-command"] .card{border-radius:0!important;border-color:#c5c5c8!important}
html[data-sx-shell="refined-command"] .hd{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:end!important;padding:0 0 13px!important;border-bottom:4px solid #111!important}
html[data-sx-shell="refined-command"] .hd h1{font-size:31px!important;line-height:38px!important;font-weight:820!important;letter-spacing:-.035em!important}
html[data-sx-shell="refined-command"] .hd p{grid-column:1!important}

/* Grid-led page language. */
html[data-sx-shell="refined-command"] .v092-welcome{
  min-height:100px!important;padding:20px 22px!important;border:1px solid #bdbdc1!important;border-top:6px solid #111!important;border-radius:0!important;background:#fff!important
}
html[data-sx-shell="refined-command"] .v092-welcome::after{
  content:"01";margin-left:auto;color:#d33a2f;font-family:Arial,sans-serif;font-size:34px;line-height:40px;font-weight:900;letter-spacing:-.05em
}
html[data-sx-shell="refined-command"] .v092-kpis{border-radius:0!important;border:1px solid #bdbdc1!important;border-top:0!important}
html[data-sx-shell="refined-command"] .v092-kpi{min-height:108px!important;padding:17px 18px!important}
html[data-sx-shell="refined-command"] .v092-kpi .k-num{font-size:34px!important;line-height:38px!important;font-weight:850!important;letter-spacing:-.04em!important}
html[data-sx-shell="refined-command"] .v092-kpi .k-lab{font-size:11px!important;text-transform:uppercase!important;letter-spacing:.07em!important}
html[data-sx-shell="refined-command"] .v092-kpi:nth-child(1){border-top:4px solid #d33a2f!important}
html[data-sx-shell="refined-command"] .v092-kpi:nth-child(2){border-top:4px solid #111!important}
html[data-sx-shell="refined-command"] .v092-kpi:nth-child(3){border-top:4px solid #777!important}
html[data-sx-shell="refined-command"] .v092-kpi:nth-child(4){border-top:4px solid #d33a2f!important}
html[data-sx-shell="refined-command"] .dgrid{gap:12px!important}
html[data-sx-shell="refined-command"] .dgrid>.col{gap:12px!important}
html[data-sx-shell="refined-command"] .ch{min-height:48px!important;padding:13px 15px 10px!important;border-bottom:2px solid #171717!important;font-size:14px!important;text-transform:none!important}
html[data-sx-shell="refined-command"] .rows{padding:0 15px 8px!important}
html[data-sx-shell="refined-command"] .rw{min-height:46px!important;border-top:1px solid #d8d8da!important}
html[data-sx-shell="refined-command"] .sx-task-panel{border-left:6px solid #d33a2f!important}
html[data-sx-shell="refined-command"] .sx-schedule-panel{border-left:6px solid #111!important}
html[data-sx-shell="refined-command"] .sx-progress-panel{border-left:6px solid #777!important}
html[data-sx-shell="refined-command"] .sx-department-panel{border-left:6px solid #d33a2f!important}
html[data-sx-shell="refined-command"] .btn,
html[data-sx-shell="refined-command"] .inp,
html[data-sx-shell="refined-command"] .seg,
html[data-sx-shell="refined-command"] .tag{border-radius:0!important}

/* Project records: structured compact rows, no decorative card grid. */
html[data-sx-shell="refined-command"] body[data-pg="p13"] .sx33-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
html[data-sx-shell="refined-command"] .sx33-project{
  display:grid!important;grid-template-columns:116px minmax(0,1fr)!important;min-height:238px!important;border-radius:0!important;overflow:hidden!important;background:#fff!important
}
html[data-sx-shell="refined-command"] .sx33-cover{
  min-height:100%!important;padding:15px 12px!important;border-right:2px solid #111!important;display:flex!important;flex-direction:column!important;justify-content:flex-end!important
}
html[data-sx-shell="refined-command"] .sx33-cover>div:first-child{background:#232326!important}
html[data-sx-shell="refined-command"] .sx33-project:nth-child(2n) .sx33-cover>div:first-child{background:#555559!important}
html[data-sx-shell="refined-command"] .sx33-project:nth-child(3n) .sx33-cover>div:first-child{background:#823a35!important}
html[data-sx-shell="refined-command"] .sx33-project:first-child .sx33-cover>div:first-child{
  background-color:#232326!important;background-image:url("../app/course-ai-project-teaching-cover.png")!important;background-size:cover!important;background-position:center!important;filter:grayscale(.55) contrast(1.05) brightness(.68)
}
html[data-sx-shell="refined-command"] .sx33-cover::after{background:none!important}
html[data-sx-shell="refined-command"] .sx33-cover>span[style*="font-size:46px"]{display:none!important}
html[data-sx-shell="refined-command"] .sx33-body{padding:14px 15px!important;display:flex!important;flex-direction:column!important}
html[data-sx-shell="refined-command"] .sx33-meta{gap:8px 12px!important;margin-top:10px!important}
html[data-sx-shell="refined-command"] .sx33-actions{margin-top:auto!important;border-top:2px solid #171717!important;padding-top:9px!important}
html[data-sx-shell="refined-command"] .sx33-tabs{border-bottom:3px solid #111!important}
html[data-sx-shell="refined-command"] .sx33-tab.on::after{height:4px!important;background:#d33a2f!important}
html[data-sx-shell="refined-command"] .v5-pf{border-radius:0!important;border-top:5px solid #111!important}
html[data-sx-shell="refined-command"] .sx33-note{border-radius:0!important;border-left-width:6px!important}

/* Form: strict registration sheet. */
html[data-sx-shell="refined-command"] .modal.sx-refined-modal{border-radius:0!important;grid-template-columns:184px minmax(0,1fr)!important;border:2px solid #111!important}
html[data-sx-shell="refined-command"] .modal.sx-refined-modal .mh{border-bottom:2px solid #111!important}
html[data-sx-shell="refined-command"] .modal.sx-refined-modal .mf{border-top:2px solid #111!important}
html[data-sx-shell="refined-command"] .sx-form-outline{background:#ececee!important;border-right:2px solid #111!important}
html[data-sx-shell="refined-command"] .sx-form-outline::before{content:"FORM INDEX";display:block;margin:0 8px 7px;color:#111;font-size:10px;font-weight:850;letter-spacing:.14em}
html[data-sx-shell="refined-command"] .sx-form-outline button{border-radius:0!important;border-bottom:1px solid #d0d0d2!important}
html[data-sx-shell="refined-command"] .modal.sx-refined-modal .sx-form-section>div:first-child,
html[data-sx-shell="refined-command"] .modal.sx-refined-modal .sx-form-section summary{padding:6px 10px;border-left:6px solid #d33a2f;background:#f0f0f1;font-weight:800!important}

/* Search trigger */
html[data-sx-shell="refined-command"] .sx-command-trigger{
  flex:0 0 auto;height:42px;min-width:178px;padding:0 9px;border:2px solid #111;border-radius:0;background:#fff;color:#151515;display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:8px;text-align:left
}
html[data-sx-shell="refined-command"] .sx-command-trigger:hover{background:#111;color:#fff}
html[data-sx-shell="refined-command"] .sx-command-trigger-mark{width:26px;height:26px;display:grid;place-items:center;background:#d33a2f;color:#fff}
html[data-sx-shell="refined-command"] .sx-command-trigger-mark .mk{display:contents}
html[data-sx-shell="refined-command"] .sx-command-trigger-mark svg{width:15px!important;height:15px!important}
html[data-sx-shell="refined-command"] .sx-command-trigger-mark svg path{stroke:#fff!important}
html[data-sx-shell="refined-command"] .sx-command-trigger b{display:block;font-size:11px;line-height:15px;font-weight:800}
html[data-sx-shell="refined-command"] .sx-command-trigger small{display:block;color:#777;font-size:8px;line-height:11px}
html[data-sx-shell="refined-command"] .sx-command-trigger:hover small{color:#bbb}
html[data-sx-shell="refined-command"] .sx-command-trigger kbd{padding:3px 5px;border:1px solid #999;background:#f2f2f2;color:#555;font-size:8px;font-family:inherit}

/* Command palette */
html[data-sx-shell="refined-command"] .sx-nav-scrim{background:rgba(17,17,18,.42)}
html[data-sx-shell="refined-command"] .sx-command-panel{
  position:fixed;z-index:399;left:50%;top:82px;bottom:34px;width:min(960px,calc(100vw - 48px));pointer-events:none;display:none;grid-template-rows:76px minmax(0,1fr) 42px;
  transform:translateX(-50%);background:#fff;border:2px solid #111;color:#171717;box-shadow:14px 14px 0 rgba(17,17,18,.22)
}
html[data-sx-shell="refined-command"] body.sx-command-open .sx-command-panel{display:grid;pointer-events:auto}
html[data-sx-shell="refined-command"] .sx-command-head{display:flex;align-items:center;gap:14px;padding:14px 16px;border-bottom:2px solid #111;background:#fff}
html[data-sx-shell="refined-command"] .sx-command-search{flex:1;min-width:0;height:46px;display:grid;grid-template-columns:92px minmax(0,1fr);align-items:center;border:2px solid #111;background:#fff}
html[data-sx-shell="refined-command"] .sx-command-search>span{height:100%;display:grid;place-items:center;background:#111;color:#fff;font-size:10px;font-weight:850;letter-spacing:.08em}
html[data-sx-shell="refined-command"] .sx-command-search input{width:100%;height:42px;padding:0 14px;border:0;outline:0;background:#fff;color:#111;font-size:16px;font-weight:680}
html[data-sx-shell="refined-command"] .sx-command-search input::placeholder{color:#888;font-weight:500}
html[data-sx-shell="refined-command"] .sx-command-close{width:64px;height:46px;border:2px solid #111;border-radius:0;background:#fff;color:#111;font-size:11px;font-weight:800}
html[data-sx-shell="refined-command"] .sx-command-close:hover{background:#d33a2f;color:#fff;border-color:#d33a2f}
html[data-sx-shell="refined-command"] .sx-command-body{min-height:0;display:grid;grid-template-columns:250px minmax(0,1fr)}
html[data-sx-shell="refined-command"] .sx-command-groups{min-height:0;padding:10px;overflow:auto;border-right:2px solid #111;background:#ededee}
html[data-sx-shell="refined-command"] .sx-command-group{
  width:100%;min-height:44px;margin:0 0 3px;padding:6px 8px;border:1px solid transparent;border-radius:0;background:transparent;color:#39393c;display:grid;grid-template-columns:25px minmax(0,1fr) 24px;align-items:center;gap:7px;text-align:left;font-size:11px;font-weight:700
}
html[data-sx-shell="refined-command"] .sx-command-group .sx-command-group-index{width:23px;height:23px;display:grid;place-items:center;border:1px solid #aaa;background:#fff;font-size:8px}
html[data-sx-shell="refined-command"] .sx-command-group .sx-shell-icon{width:23px;height:23px}
html[data-sx-shell="refined-command"] .sx-command-group .sx-shell-icon svg{width:16px!important;height:16px!important}
html[data-sx-shell="refined-command"] .sx-command-group>b{justify-self:end;font-size:9px;font-variant-numeric:tabular-nums}
html[data-sx-shell="refined-command"] .sx-command-group:hover{border-color:#aaa;background:#fff}
html[data-sx-shell="refined-command"] .sx-command-group.is-active{background:#111;color:#fff}
html[data-sx-shell="refined-command"] .sx-command-results{min-width:0;min-height:0;display:flex;flex-direction:column;background:#fff}
html[data-sx-shell="refined-command"] .sx-command-results-head{height:42px;flex:0 0 42px;padding:0 14px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #bbb;color:#555;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
html[data-sx-shell="refined-command"] .sx-command-results-head b{color:#d33a2f;font-size:12px}
html[data-sx-shell="refined-command"] .sx-command-list{min-height:0;padding:8px 12px 16px;overflow:auto}
html[data-sx-shell="refined-command"] .sx-command-result{
  width:100%;min-height:58px;padding:8px 10px;border:0;border-bottom:1px solid #d7d7d9;background:#fff;color:#222;display:grid;grid-template-columns:34px 32px minmax(0,1fr) 46px;align-items:center;gap:9px;text-align:left
}
html[data-sx-shell="refined-command"] .sx-command-result:hover,
html[data-sx-shell="refined-command"] .sx-command-result.is-selected{background:#111;color:#fff}
html[data-sx-shell="refined-command"] .sx-result-index{width:30px;height:30px;display:grid;place-items:center;border:1px solid #aaa;font-size:9px;font-weight:800}
html[data-sx-shell="refined-command"] .sx-command-result.is-selected .sx-result-index{border-color:#777}
html[data-sx-shell="refined-command"] .sx-command-result>.sx-shell-icon{width:30px;height:30px;color:#d33a2f}
html[data-sx-shell="refined-command"] .sx-result-copy small{display:block;color:#777;font-size:9px;line-height:14px;letter-spacing:.06em}
html[data-sx-shell="refined-command"] .sx-command-result.is-selected .sx-result-copy small{color:#bbb}
html[data-sx-shell="refined-command"] .sx-result-copy b{display:block;margin-top:2px;font-size:13px;line-height:19px;font-weight:800}
html[data-sx-shell="refined-command"] .sx-result-action{justify-self:end;color:#d33a2f;font-size:10px;font-weight:800}
html[data-sx-shell="refined-command"] .sx-command-result.is-selected .sx-result-action{color:#fff}
html[data-sx-shell="refined-command"] .sx-command-empty{padding:54px 24px;text-align:center;border:1px solid #bbb}
html[data-sx-shell="refined-command"] .sx-command-empty b{display:block;font-size:15px}
html[data-sx-shell="refined-command"] .sx-command-empty span{display:block;margin-top:7px;color:#777;font-size:11px}
html[data-sx-shell="refined-command"] .sx-command-foot{display:flex;align-items:center;gap:20px;padding:0 16px;border-top:2px solid #111;background:#ededee;color:#555;font-size:9px;font-weight:700;letter-spacing:.04em}

@media(max-width:1320px){
  html[data-sx-shell="refined-command"] body[data-pg="p13"] .sx33-grid{grid-template-columns:1fr!important}
}
@media(max-width:900px){
  html[data-sx-shell="refined-command"] .sx-command-panel{top:74px;bottom:18px;width:calc(100vw - 24px)}
  html[data-sx-shell="refined-command"] .sx-command-body{grid-template-columns:190px minmax(0,1fr)}
  html[data-sx-shell="refined-command"] .sx-command-trigger{min-width:142px}
  html[data-sx-shell="refined-command"] .sx-command-trigger small{display:none}
}
html[data-sx-shell="refined-command"] .sx-command-search input::-webkit-search-cancel-button{display:none!important}
html[data-sx-shell="refined-command"] .sx-command-group .sx-command-group-index{color:#111!important}
