/* Modern workspace styling. */
.qm-header{display:none}
@media screen {
  :root[data-workspace-style="modern"] {
    --ink:#222838;--muted:#626a7b;--line:#e1e6ee;--panel:#ffffff;--paper:#f2f5f9;
    --field:#fff;--field-2:#edf0f7;--button:#fff;--table:#f4f6fa;--soft:#f7f8fb;
    --steel:#504581;--green:#256c64;--accent-soft:#e6f3ee;--blue-soft:#eeebf8;
    --sidebar:#f9fafc;--sidebar-active:#eeeaf8;--on-accent:#fff;
    --shadow:0 7px 26px #36415805;--strong-shadow:0 20px 65px #26284229;
    --qm-lilac:#ece7fa;--qm-blue:#deedf9;--qm-peach:#fce6da;--qm-mint:#e5f2eb;
    --qm-glass:#ffffffaa;--qm-active:#32264f;--qm-active-text:#fff;
  }
  :root[data-workspace-style="modern"][data-qps-theme="dark"] {
    --ink:#edf0f8;--muted:#adb5c8;--line:#354055;--panel:#202b3c;--paper:#141d2b;
    --field:#192538;--field-2:#303b51;--button:#28354a;--table:#28354a;--soft:#243044;
    --steel:#c2b6ef;--green:#8dd5be;--accent-soft:#263f3d;--blue-soft:#38324e;
    --sidebar:#1a2535;--sidebar-active:#39324f;--on-accent:#1c2234;
    --shadow:0 7px 26px #0001;--strong-shadow:0 20px 65px #0006;
    --qm-lilac:#3c3356;--qm-blue:#263f54;--qm-peach:#4b3633;--qm-mint:#29463f;
    --qm-glass:#202b3ce8;--qm-active:#c9bcf1;--qm-active-text:#211a35;
  }
  :root[data-workspace-style="modern"] body {background:radial-gradient(ellipse at 4% 0%,var(--qm-peach),transparent 42%),radial-gradient(ellipse at 96% 8%,var(--qm-blue),transparent 50%),var(--paper);background-attachment:fixed}
  :root[data-workspace-style="modern"] .layout {margin:18px;min-height:calc(100dvh - 36px);grid-template-columns:216px minmax(0,1fr);grid-template-rows:auto 1fr;gap:0 8px;border:1px solid var(--panel);border-radius:30px;background:var(--qm-glass);box-shadow:0 18px 60px #38446708}
  :root[data-workspace-style="modern"] .qm-header {display:flex;grid-column:1/-1;position:sticky;top:12px;z-index:44;align-items:center;justify-content:space-between;gap:20px;min-width:0;margin:14px 14px 0;padding:12px 18px;border:1px solid var(--panel);border-radius:24px;background:var(--panel)}
  :root[data-workspace-style="modern"] .qm-brand {flex:none;padding:0;gap:10px}
  :root[data-workspace-style="modern"] .qm-brand .mark {width:38px;height:38px;background:var(--qm-active);color:var(--qm-active-text);border-radius:13px;font-size:24px}
  :root[data-workspace-style="modern"] .qm-brand strong {font-size:15px;font-weight:760;letter-spacing:-.6px}
  :root[data-workspace-style="modern"] .qm-brand span {font-size:9px;color:var(--muted);margin-top:3px}
  :root[data-workspace-style="modern"] .qm-top-nav {display:flex;align-items:center;gap:5px}
  :root[data-workspace-style="modern"] .qm-top-nav button {border:0;border-radius:22px;background:transparent;color:var(--muted);padding:12px 17px;font-size:12px;min-height:42px;white-space:nowrap}
  :root[data-workspace-style="modern"] .qm-top-nav button:is([data-view="mail"],[data-view="attention"]) {display:inline-flex;align-items:center;gap:7px}
  :root[data-workspace-style="modern"] .qm-top-nav .qps-chat-launcher.qps-chat-docked {border:0;border-radius:22px;background:transparent;color:var(--muted);font-weight:400;padding:12px 17px}
  :root[data-workspace-style="modern"] .qm-top-nav .qps-chat-launcher>svg {display:none}
  :root[data-workspace-style="modern"] .qm-top-nav .qps-chat-launcher .qps-chat-unread {background:var(--qm-lilac);color:var(--ink);font-size:10px;min-width:20px;min-height:20px;padding:2px 6px}
  :root[data-workspace-style="modern"] .qm-top-nav .qps-chat-launcher[aria-expanded="true"] {background:var(--qm-active);color:var(--qm-active-text)}
  :root[data-workspace-style="modern"] .qm-mail-count {display:inline-grid;place-items:center;min-width:20px;min-height:20px;padding:2px 6px;border-radius:12px;background:var(--qm-lilac);color:var(--ink);font-size:10px;font-weight:750;line-height:1.2}
  :root[data-workspace-style="modern"] .qm-mail-count[hidden] {display:none}
  :root[data-workspace-style="modern"] .qm-top-nav [aria-current="page"] .qm-mail-count {background:var(--panel);color:var(--ink)}
  :root[data-workspace-style="modern"] .qm-top-nav button[aria-current="page"] {background:var(--qm-active);color:var(--qm-active-text)}
  :root[data-workspace-style="modern"] .qm-top-nav button:hover:not([aria-current]) {background:var(--soft);color:var(--ink)}
  :root[data-workspace-style="modern"] .qm-header-actions {display:flex;align-items:center;gap:10px;min-width:0}
  :root[data-workspace-style="modern"] .qm-header-actions button {display:flex;align-items:center;gap:9px;border:0;background:transparent;color:var(--ink);min-height:40px;padding:6px;border-radius:12px}
  :root[data-workspace-style="modern"] .qm-header-actions button:hover {background:var(--soft)}
  :root[data-workspace-style="modern"] .qm-header-actions svg {width:20px;height:20px;flex:none}
  :root[data-workspace-style="modern"] .qm-header-actions .qm-search {border:1px solid var(--line);border-radius:24px;padding:10px 13px;color:var(--muted);font-size:11px}
  :root[data-workspace-style="modern"] .qm-search kbd {font:9px inherit;opacity:.8;margin-left:15px}
  :root[data-workspace-style="modern"] .qm-avatar {display:grid;place-items:center;width:37px;height:37px;border-radius:50%;background:var(--qm-peach);color:var(--ink);font-size:12px;font-weight:650;flex:none}
  :root[data-workspace-style="modern"] .qm-profile>span:last-child {display:grid;gap:3px;text-align:left;max-width:130px}
  :root[data-workspace-style="modern"] .qm-profile strong {font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  :root[data-workspace-style="modern"] .qm-profile small {font-size:9px;color:var(--muted)}
  :root[data-workspace-style="modern"] .sidebar {background:transparent;color:var(--ink);--ink:inherit;--muted:inherit;--line:inherit;--steel:inherit;--soft:inherit;--panel:inherit;padding:24px 10px 18px 16px;height:calc(100dvh - 116px);top:100px;gap:12px}
  :root[data-workspace-style="modern"] .qm-notifications {display:flex;flex:none}
  :root[data-workspace-style="modern"] .qm-notifications .qps-alert-button {position:relative;justify-content:center;width:38px;min-height:40px;border:0}
  :root[data-workspace-style="modern"] .qm-notifications .qps-alert-button>span {display:none}
  :root[data-workspace-style="modern"] .qm-notifications .qps-alert-button>b {position:absolute;right:-2px;top:0;font-size:9px;min-width:17px;min-height:17px;padding:2px 4px;border-radius:10px;background:var(--qm-active);color:var(--qm-active-text)}
  :root[data-workspace-style="modern"] .sidebar>.brand {display:none}
  :root[data-workspace-style="modern"] .sidebar .brand span {color:var(--muted)}
  :root[data-workspace-style="modern"] .sidebar .nav button {color:var(--muted);font-size:11px;border-radius:12px}
  :root[data-workspace-style="modern"] .sidebar .nav button.active {background:var(--qm-lilac);color:var(--ink);border-color:transparent;box-shadow:none;font-weight:700}
  :root[data-workspace-style="modern"] .sidebar .nav button:hover {background:var(--panel);color:var(--ink)}
  :root[data-workspace-style="modern"] .sidebar .nav button.active:hover {background:var(--qm-lilac)}
  :root[data-workspace-style="modern"] .sidebar .qn-quick {display:none}
  :root[data-workspace-style="modern"] .sidebar .qn-scopes {border:1px solid var(--line);border-radius:16px;background:var(--panel);padding:5px}
  :root[data-workspace-style="modern"] .sidebar .qn-scopes>button {color:var(--muted);border-radius:11px;padding:8px 6px;font-size:11px}
  :root[data-workspace-style="modern"] .sidebar .qn-scopes>button[aria-selected="true"] {background:var(--qm-active);color:var(--qm-active-text);box-shadow:none}
  :root[data-workspace-style="modern"] .sidebar .qn-project-context {padding:18px 8px 16px;border-color:var(--line);gap:6px}
  :root[data-workspace-style="modern"] .sidebar .qn-project-context small {color:var(--steel);font-size:9px}
  :root[data-workspace-style="modern"] .sidebar .qn-project-context strong {color:var(--ink);font-size:12px;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
  :root[data-workspace-style="modern"] .sidebar .qn-project-context>span {color:var(--muted)}
  :root[data-workspace-style="modern"] .sidebar :is(.qn-section-caption,.qn-empty,.qn-favorites>summary,.nav-group>summary,.nav-section-label,.access-role,.sidebar-footer) {color:var(--muted);border-color:var(--line)}
  :root[data-workspace-style="modern"] .sidebar .nav-group>summary {padding:12px 9px;font-size:11px}
  :root[data-workspace-style="modern"] .sidebar :is(.nav-group>summary,.qn-favorites>summary):hover {background:var(--panel);color:var(--ink)}
  :root[data-workspace-style="modern"] .sidebar .nav-group.has-current>summary {color:var(--steel)}
  :root[data-workspace-style="modern"] .sidebar .nav-group-links {border-color:var(--line);margin-left:10px;padding-left:5px}
  :root[data-workspace-style="modern"] .sidebar .qn-favorites :is(small,.qx-nav-caption button) {color:var(--muted)}
  :root[data-workspace-style="modern"] .sidebar .qps-nav-count {background:var(--qm-peach);color:var(--ink);border:0;min-width:20px;min-height:20px;font-size:10px}
  :root[data-workspace-style="modern"] .sidebar .nav-clock-link {border:1px solid var(--line);background:var(--qm-mint);color:var(--green)}
  :root[data-workspace-style="modern"] .sidebar .workspace-nav>.qn-scroll {scrollbar-color:var(--line) transparent}
  :root[data-workspace-style="modern"] .sidebar .sidebar-footer {font-size:9px;padding:0 8px}
  :root[data-workspace-style="modern"] .main {padding:28px 26px 42px 18px;min-width:0}
  :root[data-workspace-style="modern"] .topbar {margin-bottom:18px;gap:12px}
  :root[data-workspace-style="modern"] .topbar h1 {font-size:clamp(25px,2.5vw,34px);letter-spacing:-1.1px;font-weight:650}
  :root[data-workspace-style="modern"] .topbar p {font-size:12px}
  :root[data-workspace-style="modern"] .topbar>.toolbar>:is(.qps-appearance-trigger,[data-view="account"],[data-action="logout"]) {display:none}
  :root[data-workspace-style="modern"] .qx-context {border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;padding:0 0 17px;margin-bottom:24px;gap:12px}
  :root[data-workspace-style="modern"] .qx-context-project select {background:var(--panel);border-color:var(--line);border-radius:13px;font-size:12px;min-height:40px;max-width:430px}
  :root[data-workspace-style="modern"] .qx-context .qx-search-launch {display:none}
  :root[data-workspace-style="modern"] :is(.button,button.button) {border-radius:12px;font-weight:600}
  :root[data-workspace-style="modern"] :is(.panel,.record,.table-wrap,.stat,.project-launch) {border-radius:21px;border-color:var(--line);box-shadow:var(--shadow)}
  :root[data-workspace-style="modern"] .panel {padding:23px}
  :root[data-workspace-style="modern"] :is(input,select,textarea) {border-radius:11px}
  :root[data-workspace-style="modern"] :is(button,a,input,select,textarea,summary):focus-visible {outline:2px solid var(--steel);outline-offset:3px}
  :root[data-workspace-style="modern"] :is(th,td) {padding-top:14px;padding-bottom:14px}
  :root[data-workspace-style="modern"] .pill {border-radius:8px;padding:5px 8px}
  :root[data-workspace-style="modern"] .open-project-hero {background:linear-gradient(120deg,var(--qm-blue),var(--panel) 90%);border:0}
  :root[data-workspace-style="modern"] .project-launch:nth-child(4n+1) {background:var(--qm-lilac)}
  :root[data-workspace-style="modern"] .project-launch:nth-child(4n+2) {background:var(--qm-blue)}
  :root[data-workspace-style="modern"] .project-launch:nth-child(4n+3) {background:var(--qm-mint)}
  :root[data-workspace-style="modern"] .project-launch:nth-child(4n) {background:var(--qm-peach)}
  :root[data-workspace-style="modern"] [data-workspace-view="home"]>.main>.topbar {display:none}
  :root[data-workspace-style="modern"] .qxm-home {gap:24px}
  :root[data-workspace-style="modern"] .qxm-welcome {display:flex;justify-content:space-between;align-items:center;gap:18px}
  :root[data-workspace-style="modern"] .qxm-welcome h2 {font-size:clamp(27px,3vw,39px);font-weight:600;letter-spacing:-1.4px;margin:7px 0 9px}
  :root[data-workspace-style="modern"] .qxm-welcome p {margin:0;color:var(--muted);font-size:12px;line-height:1.7}
  :root[data-workspace-style="modern"] .qxm-welcome .eyebrow {font-size:10px;color:var(--muted);letter-spacing:.08em}
  :root[data-workspace-style="modern"] .qxm-dashboard {display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,1fr);gap:20px;align-items:stretch}
  :root[data-workspace-style="modern"] .qxm-panel {background:var(--panel);border:1px solid var(--panel);border-radius:25px;padding:22px;min-width:0;margin:0;box-shadow:var(--shadow)}
  :root[data-workspace-style="modern"] .qxm-panel-head {display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:20px}
  :root[data-workspace-style="modern"] .qxm-panel-head h3 {font-size:16px;font-weight:650;letter-spacing:-.4px;margin:0}
  :root[data-workspace-style="modern"] .qxm-panel-head p {font-size:11px;line-height:1.6;color:var(--muted);margin:6px 0 0}
  :root[data-workspace-style="modern"] .qxm-panel-head>.button {font-size:10px;min-height:30px;padding:5px 10px;white-space:nowrap;border-radius:20px}
  :root[data-workspace-style="modern"] .qxm-task-cards {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
  :root[data-workspace-style="modern"] .qxm-action-card {display:flex;flex-direction:column;align-items:flex-start;gap:13px;border:1px solid transparent;border-radius:18px;padding:17px 14px;min-height:210px;min-width:0;color:var(--ink);text-align:left;background:var(--qm-lilac);transition:transform .15s,border-color .15s}
  :root[data-workspace-style="modern"] .qxm-action-card:hover {transform:translateY(-3px);border-color:var(--steel)}
  :root[data-workspace-style="modern"] .qxm-tone-blue {background:var(--qm-blue)}
  :root[data-workspace-style="modern"] .qxm-tone-lilac {background:var(--qm-lilac)}
  :root[data-workspace-style="modern"] .qxm-tone-peach {background:var(--qm-peach)}
  :root[data-workspace-style="modern"] .qxm-action-card>strong {font-size:16px;font-weight:600;line-height:1.4;letter-spacing:-.3px;overflow-wrap:anywhere}
  :root[data-workspace-style="modern"] .qxm-action-card small {font-size:10px;line-height:1.6;color:var(--muted)}
  :root[data-workspace-style="modern"] .qxm-task-count {display:inline-flex;border-radius:8px;background:var(--qm-glass);padding:5px 7px;font-size:10px;font-weight:600}
  :root[data-workspace-style="modern"] .qxm-task-meta {margin-top:auto;display:flex;align-items:center;justify-content:space-between;width:100%;border-top:1px solid color-mix(in srgb,var(--ink),transparent 80%);padding-top:13px;font-size:10px;gap:8px}
  :root[data-workspace-style="modern"] .qxm-project-ring {position:relative;width:170px;height:170px;flex:none;margin:auto}
  :root[data-workspace-style="modern"] .qxm-project-ring svg {width:100%;height:100%;transform:rotate(-90deg)}
  :root[data-workspace-style="modern"] .qxm-project-ring circle {fill:none;stroke-width:14}
  :root[data-workspace-style="modern"] .qxm-ring-track {stroke:var(--soft)}
  :root[data-workspace-style="modern"] .qxm-ring-active {stroke:#77accd}
  :root[data-workspace-style="modern"] .qxm-ring-completed {stroke:#a591c8}
  :root[data-workspace-style="modern"] .qxm-ring-bidding {stroke:#e8b07d}
  :root[data-workspace-style="modern"] .qxm-ring-on_hold {stroke:#d7857c}
  :root[data-workspace-style="modern"] .qxm-ring-archived,:root[data-workspace-style="modern"] .qxm-ring-other {stroke:#99aaa7}
  :root[data-workspace-style="modern"] .qxm-ring-label {position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;pointer-events:none}
  :root[data-workspace-style="modern"] .qxm-ring-label strong {font-size:32px;font-weight:550;letter-spacing:-1px}
  :root[data-workspace-style="modern"] .qxm-ring-label small {font-size:10px;color:var(--muted)}
  :root[data-workspace-style="modern"] .qxm-legend {display:grid;grid-template-columns:1fr 1fr;gap:12px 16px;margin-top:16px;font-size:11px}
  :root[data-workspace-style="modern"] .qxm-legend>div {display:flex;align-items:center;gap:7px;min-width:0}
  :root[data-workspace-style="modern"] .qxm-legend strong {margin-left:auto;font-weight:650}
  :root[data-workspace-style="modern"] .qxm-legend-dot {width:8px;height:8px;border-radius:50%;background:#99aaa7;flex:none}
  :root[data-workspace-style="modern"] .qxm-legend-dot.qxm-ring-active {background:#77accd}
  :root[data-workspace-style="modern"] .qxm-legend-dot.qxm-ring-completed {background:#a591c8}
  :root[data-workspace-style="modern"] .qxm-legend-dot.qxm-ring-bidding {background:#e8b07d}
  :root[data-workspace-style="modern"] .qxm-legend-dot.qxm-ring-on_hold {background:#d7857c}
  :root[data-workspace-style="modern"] .qxm-secondary-grid {display:grid;grid-template-columns:1.1fr 1fr;gap:20px}
  :root[data-workspace-style="modern"] .qxm-shortcuts .qx-task-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  :root[data-workspace-style="modern"] .qxm-shortcuts .qx-task {padding:13px;min-height:86px;background:var(--soft);border:1px solid transparent;border-radius:15px}
  :root[data-workspace-style="modern"] .qxm-shortcuts .qx-task:hover {border-color:var(--steel)}
  :root[data-workspace-style="modern"] .qxm-shortcuts .qx-task strong {font-size:12px}
  :root[data-workspace-style="modern"] .qxm-shortcuts .qx-task small {font-size:10px}
  :root[data-workspace-style="modern"] .qxm-continue .qx-link {background:var(--soft);border:0;border-radius:14px;padding:13px}
  :root[data-workspace-style="modern"] .qxm-project-list {display:grid;gap:4px}
  :root[data-workspace-style="modern"] .qxm-project-row {display:flex;align-items:center;gap:13px;text-align:left;border:0;border-top:1px solid var(--line);color:var(--ink);background:transparent;padding:14px 0;width:100%;min-width:0}
  :root[data-workspace-style="modern"] .qxm-project-row:hover {color:var(--steel)}
  :root[data-workspace-style="modern"] .qxm-project-initials {display:grid;place-items:center;width:39px;height:39px;flex:none;border-radius:13px;background:var(--qm-lilac);font-size:12px;font-weight:650}
  :root[data-workspace-style="modern"] .qxm-project-row>span:not(.qxm-project-initials):not(.qxm-status) {flex:1;min-width:0}
  :root[data-workspace-style="modern"] .qxm-project-row strong {display:block;font-size:12px;overflow-wrap:anywhere}
  :root[data-workspace-style="modern"] .qxm-project-row small {display:block;color:var(--muted);font-size:10px;margin-top:5px}
  :root[data-workspace-style="modern"] .qxm-status {font-size:10px;padding:5px 9px;border-radius:20px;background:var(--qm-mint);color:var(--green);white-space:nowrap}
  :root[data-workspace-style="modern"] .qxm-empty {color:var(--muted);font-size:12px;line-height:1.7}
  :root[data-workspace-style="modern"] .qxm-welcome>.button {display:flex;align-items:center;gap:8px;white-space:nowrap;border-radius:24px;padding:12px 16px}
  :root[data-workspace-style="modern"] .qxm-welcome>.button svg {width:16px;height:16px}
  :root[data-workspace-style="modern"] .qxm-panel-icon {display:grid;place-items:center;border:1px solid var(--line);width:29px;height:29px;border-radius:50%;font-size:15px;flex:none}
  :root[data-workspace-style="modern"] .qxm-project-ring svg {transform:none}
  :root[data-workspace-style="modern"] .qxm-ring-label>span {font-size:10px;color:var(--muted)}
  :root[data-workspace-style="modern"] .qxm-legend {list-style:none;padding:0;margin-bottom:0}
  :root[data-workspace-style="modern"] .qxm-legend>li {display:flex;align-items:center;gap:7px;min-width:0}
  :root[data-workspace-style="modern"] .qxm-dot-active {background:#77accd}
  :root[data-workspace-style="modern"] .qxm-dot-completed {background:#a591c8}
  :root[data-workspace-style="modern"] .qxm-dot-bidding {background:#e8b07d}
  :root[data-workspace-style="modern"] .qxm-dot-on_hold {background:#d7857c}
  :root[data-workspace-style="modern"] .qxm-task-kind {font-size:9px;font-weight:600;border-radius:6px;background:var(--qm-glass);padding:5px 7px}
  :root[data-workspace-style="modern"] .qxm-task-meta {display:grid;border:0;padding:0;gap:5px;font-size:11px;margin-top:0}
  :root[data-workspace-style="modern"] .qxm-task-footer {display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;font-size:9px;margin-top:auto;border-top:1px solid color-mix(in srgb,var(--ink),transparent 80%);padding-top:12px}
  :root[data-workspace-style="modern"] .qxm-task-footer>span:last-child {font-size:18px}
  :root[data-workspace-style="modern"] .qxm-task-summary {font-size:10px;color:var(--muted);margin:16px 0 0;line-height:1.6}
  :root[data-workspace-style="modern"] .qxm-shortcut-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  :root[data-workspace-style="modern"] .qxm-shortcut {display:flex;align-items:center;gap:10px;padding:13px 10px;min-height:83px;background:var(--soft);color:var(--ink);border:1px solid transparent;border-radius:15px;text-align:left;min-width:0}
  :root[data-workspace-style="modern"] .qxm-shortcut:hover {border-color:var(--steel);background:var(--blue-soft)}
  :root[data-workspace-style="modern"] .qxm-shortcut>span:nth-child(2) {flex:1;min-width:0}
  :root[data-workspace-style="modern"] .qxm-shortcut strong {display:block;font-size:11px;font-weight:650;line-height:1.5}
  :root[data-workspace-style="modern"] .qxm-shortcut small {display:block;font-size:10px;line-height:1.5;color:var(--muted);margin-top:4px}
  :root[data-workspace-style="modern"] .qxm-shortcut-icon {display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:var(--qm-lilac);color:var(--steel);flex:none}
  :root[data-workspace-style="modern"] .qxm-shortcut-icon svg {width:18px;height:18px}
  :root[data-workspace-style="modern"] .qxm-shortcut:nth-child(3n+2) .qxm-shortcut-icon {background:var(--qm-mint);color:var(--green)}
  :root[data-workspace-style="modern"] .qxm-shortcut:nth-child(3n) .qxm-shortcut-icon {background:var(--qm-peach);color:var(--rust)}
  :root[data-workspace-style="modern"] .qxm-project-row>span:last-child {flex:0 0 auto!important}
}
@media screen and (min-width:761px) and (max-width:1250px) {
  :root[data-workspace-style="modern"] .qm-header {gap:12px;padding:12px}
  :root[data-workspace-style="modern"] .qm-brand span,:root[data-workspace-style="modern"] .qm-search :is(span,kbd),:root[data-workspace-style="modern"] .qm-profile>span:last-child {display:none}
  :root[data-workspace-style="modern"] .qm-top-nav button {padding:10px 13px}
  :root[data-workspace-style="modern"] .layout {margin:10px;grid-template-columns:195px minmax(0,1fr);border-radius:24px}
  :root[data-workspace-style="modern"] .main {padding:24px 18px 36px 10px}
  :root[data-workspace-style="modern"] .qxm-dashboard {grid-template-columns:minmax(0,1fr)}
  :root[data-workspace-style="modern"] .qxm-overview-body {display:flex;align-items:center;gap:24px}
  :root[data-workspace-style="modern"] .qxm-overview-body>.qxm-project-ring {margin:0;width:150px;height:150px}
  :root[data-workspace-style="modern"] .qxm-overview-body>.qxm-legend {flex:1;margin:0;align-content:start}
  :root[data-workspace-style="modern"] .qxm-secondary-grid {grid-template-columns:minmax(0,1fr)}
}
@media screen and (min-width:761px) and (max-width:1000px) {
  :root[data-workspace-style="modern"] .qm-header {flex-wrap:wrap;gap:8px 12px}
  :root[data-workspace-style="modern"] .qm-top-nav {order:3;flex-basis:100%;justify-content:center}
  :root[data-workspace-style="modern"] .sidebar {top:148px;height:calc(100dvh - 164px)}
}
@media screen and (min-width:761px) {
  :root[data-workspace-style="modern"][data-qps-density="compact"] .main {padding:20px}
  :root[data-workspace-style="modern"][data-qps-density="compact"] :is(.panel,.qxm-panel) {padding:17px}
  :root[data-workspace-style="modern"][data-qps-density="compact"] :is(td,th) {padding-top:8px;padding-bottom:8px}
}
@media screen and (max-width:760px) {
  :root[data-workspace-style="modern"] .layout {margin:0;display:block;border:0;border-radius:0;min-height:100dvh;background:var(--qm-glass)}
  :root[data-workspace-style="modern"] .qm-header {display:none}
  :root[data-workspace-style="modern"] .sidebar {background:var(--panel);height:auto;top:0;gap:0;padding:calc(13px + var(--qps-safe-top,0px)) max(12px,var(--qps-safe-right,0px)) 13px max(12px,var(--qps-safe-left,0px));border-color:var(--line)}
  :root[data-workspace-style="modern"] .sidebar>.brand {display:flex}
  :root[data-workspace-style="modern"] .sidebar .brand strong {color:var(--ink)}
  :root[data-workspace-style="modern"] .sidebar .mark {background:var(--qm-active);color:var(--qm-active-text)}
  :root[data-workspace-style="modern"] .sidebar :is(.qps-mobile-menu,.qps-mobile-actions .button) {color:var(--ink)}
  :root[data-workspace-style="modern"] .sidebar :is(.qps-mobile-menu,.qps-mobile-actions .button):hover {background:var(--soft)}
  :root[data-workspace-style="modern"][data-qps-nav="open"] .sidebar {height:100dvh;top:0;border-color:var(--line)}
  :root[data-workspace-style="modern"][data-qps-nav="open"] .sidebar .qps-mobile-logout {border-color:var(--line);background:var(--soft);color:var(--ink)}
  :root[data-workspace-style="modern"] .sidebar .qn-quick {display:grid}
  :root[data-workspace-style="modern"] .sidebar .nav button,:root[data-workspace-style="modern"] .sidebar .nav-group>summary {min-height:44px;font-size:12px}
  :root[data-workspace-style="modern"] .main {padding:20px max(14px,var(--qps-safe-right,0px)) max(40px,var(--qps-safe-bottom,0px)) max(14px,var(--qps-safe-left,0px))}
  :root[data-workspace-style="modern"] .qx-context {padding:0 0 14px;margin-bottom:20px;gap:8px}
  :root[data-workspace-style="modern"] .qx-context-project select {max-width:100%;font-size:16px}
  :root[data-workspace-style="modern"] .qx-context .qx-search-launch {display:none}
  :root[data-workspace-style="modern"] .qxm-welcome {align-items:flex-start}
  :root[data-workspace-style="modern"] .qxm-welcome h2 {font-size:29px;letter-spacing:-1px}
  :root[data-workspace-style="modern"] .qxm-welcome>.button {display:none}
  :root[data-workspace-style="modern"] .qxm-dashboard,:root[data-workspace-style="modern"] .qxm-secondary-grid {grid-template-columns:minmax(0,1fr);gap:16px}
  :root[data-workspace-style="modern"] .qxm-home {gap:20px}
  :root[data-workspace-style="modern"] .qxm-panel {padding:17px;border-radius:21px}
  :root[data-workspace-style="modern"] .qxm-panel-head {margin-bottom:15px}
  :root[data-workspace-style="modern"] .qxm-task-cards {grid-template-columns:1fr}
  :root[data-workspace-style="modern"] .qxm-action-card {min-height:0;padding:15px;gap:9px}
  :root[data-workspace-style="modern"] .qxm-action-card>strong {font-size:16px}
  :root[data-workspace-style="modern"] .qxm-task-meta {padding-top:9px}
  :root[data-workspace-style="modern"] .qxm-overview-body {display:flex;align-items:center;gap:16px}
  :root[data-workspace-style="modern"] .qxm-overview-body>.qxm-project-ring {margin:0;width:128px;height:128px}
  :root[data-workspace-style="modern"] .qxm-overview-body>.qxm-legend {flex:1;grid-template-columns:1fr;gap:12px;margin:0;align-content:start}
  :root[data-workspace-style="modern"] .qxm-shortcut-grid {grid-template-columns:1fr}
  :root[data-workspace-style="modern"] .qxm-shortcut {min-height:70px}
  :root[data-workspace-style="modern"] .qxm-ring-label strong {font-size:25px}
  :root[data-workspace-style="modern"] .qxm-project-row {gap:9px}
  :root[data-workspace-style="modern"] .qxm-project-row strong {font-size:11px}
  :root[data-workspace-style="modern"] .qxm-status {font-size:9px}
}
@media print {.qm-header{display:none!important}}
