/* One work surface. Documents retain their native colours inside the viewer. */
:root {
  --bg: #f2ecdf; --surface: #fcfaf5; --surface-strong: #eee8db;
  --text: #2e342e; --muted: #60675f; --line: #dcd6c9;
  --teal: #3e604b; --teal-soft: #e4ecdf; --blue: #3b6660; --blue-soft: #e2ede7;
  --ui-bg: #f2ecdf; --ui-surface: #fcfaf5; --ui-subtle: #f1ede3; --ui-hover: #ebe9dc;
  --ui-active: #e1e9d9; --ui-active-text: #36513e; --ui-focus: #4d7057;
  --sidebar-surface: #eee7d9; --control-hover-border: #94a28a;
  --green: #1d7452; --green-soft: #e8f4ed; --red: #b73545; --red-soft: #fff0f2;
  --amber: #8c5a0e; --amber-soft: #fff5df; --ui-sidebar-width: 232px;
  --shadow: 0 2px 8px #343b2908; --shadow-strong: 0 18px 60px #343b2920;
}
html[data-theme="dark"] {
  --bg: #171b18; --surface: #202621; --surface-strong: #29312a;
  --text: #f0efe6; --muted: #bdc6b7; --line: #3f4a3e;
  --teal: #c4d6af; --teal-soft: #303f30; --blue: #b6d4c5; --blue-soft: #2b4037;
  --ui-bg: #171b18; --ui-surface: #202621; --ui-subtle: #272e27; --ui-hover: #313b30;
  --ui-active: #344431; --ui-active-text: #d2dfbd; --ui-focus: #b9ceaa;
  --sidebar-surface: #1d231e; --control-hover-border: #71856e;
  --green: #92dab5; --green-soft: #233b31; --red: #ffadb6; --red-soft: #432c34;
  --amber: #f1ce8b; --amber-soft: #3e3424;
}
body { background: var(--bg); color: var(--text); }
button, input, select, textarea { font-family: Inter, system-ui, sans-serif; letter-spacing: 0; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
:is(button, a, summary, input, select, textarea):focus-visible { outline: 2px solid var(--ui-focus); outline-offset: 3px; }
.app-shell { grid-template-columns: 232px minmax(0, 1fr); background: var(--bg); }
.app-shell.sidebar-collapsed { grid-template-columns: 76px minmax(0, 1fr); }
.app-shell .sidebar { width: 232px; padding: 24px 14px 14px; gap: 24px; background: var(--sidebar-surface); border-right: 1px solid var(--line); }
.app-shell.sidebar-collapsed .sidebar { width: 76px; }
.sidebar .brand { padding: 0 8px; gap: 12px; }
.sidebar .brand-mark { width: 38px; height: 38px; flex: 0 0 38px; }
.sidebar .brand strong { font-size: 19px; color: var(--text); font-weight: 700; }
.sidebar .brand span { font-size: 10px; line-height: 1.6; color: var(--muted); }
.sidebar .nav-stack { flex: 1; min-height: 0; overflow-y: auto; gap: 4px; padding-right: 2px; }
.nav-section-label { padding: 2px 12px 8px; font-size: 10px; font-weight: 600; color: var(--muted); }
.nav-section-break { margin-top: 20px; }
.nav-item { min-height: 43px; padding: 9px 11px; gap: 10px; border-radius: 6px; color: var(--muted); font-size: 13px; font-weight: 500; }
.nav-item svg, .nav-item[data-view] svg { width: 18px; height: 18px; color: inherit; flex: none; }
.nav-item:hover { background: var(--ui-hover); color: var(--text); }
.nav-item.is-active { color: var(--ui-active-text); background: var(--ui-active); font-weight: 650; }
.nav-count { margin-left: auto; font-size: 11px; color: var(--muted); font-weight: 600; font-variant-numeric: tabular-nums; }
.nav-count[hidden], .sidebar-collapsed .nav-count { display: none; }
.sidebar .side-panel { margin: 0; padding: 14px 8px 0; border-top: 1px solid var(--line); }
.sidebar-profile-button { padding: 14px 6px 0; }
.app-shell .workspace { width: 100%; max-width: none; min-width: 0; padding: 0 32px 36px; background: var(--surface); }
.app-shell .topbar { min-height: 72px; padding: 12px 32px; margin: 0 -32px 20px; gap: 16px; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: none; backdrop-filter: none; }
.workspace-context { gap: 8px; min-width: 120px; }
.workspace-context-copy small { display: none; }
.workspace-context-copy strong { color: var(--muted); font-size: 13px; font-weight: 550; }
.topbar-actions { flex: 1; min-width: 0; justify-content: flex-end; gap: 8px; }
.topbar-actions .search-field { width: min(330px, 100%); margin-right: auto; min-height: 40px; border: 1px solid var(--line); background: var(--ui-subtle); }
.topbar-actions .search-field input { font-size: 13px; }
.topbar .icon-button, #notifyButton, #topLogoutButton { width: 40px; height: 40px; min-width: 40px; background: transparent; border-color: transparent; border-radius: 6px; }
.topbar .icon-button:hover, #notifyButton:hover { background: var(--ui-subtle); border-color: var(--line); }
#appShell:not([data-active-view="requests"]) .topbar .search-field { display: none; }
.primary-button { color: #fff; background: #3e604b; border: 1px solid #3e604b; border-radius: 6px; box-shadow: none; }
.primary-button:hover { color: #fff; background: #304b39; border-color: #304b39; box-shadow: none; }
html[data-theme="dark"] .primary-button { background: #c3d2af; border-color: #c3d2af; color: #203022; }
html[data-theme="dark"] .primary-button:hover { background: #d5dfc4; border-color: #d5dfc4; color: #203022; }
.secondary-button, .icon-button { border-radius: 6px; background: var(--surface); border-color: var(--line); color: var(--text); box-shadow: none; }
.secondary-button:hover, .icon-button:hover { background: var(--ui-hover); border-color: var(--control-hover-border); transform: none; }
.section-heading { margin: 0 0 22px; gap: 16px; align-items: center; }
.section-heading h2 { font-size: 25px; line-height: 1.3; font-weight: 700; color: var(--text); }
.section-heading > div > p, #overview .panel-header p { display: none; }
.view.is-visible { animation: workbench-reveal 160ms ease-out; }
@keyframes workbench-reveal { from { opacity: .65; transform: translateY(3px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .view.is-visible { animation: none; } }
.panel, .task-board-panel, .personal-create-panel { border-radius: 0; box-shadow: none; background: transparent; }
.panel-header { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.panel-header h3 { font-size: 16px; line-height: 1.5; font-weight: 650; }
.request-ownership { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--line); padding: 0 0 10px; margin: 0 0 18px; }
.request-ownership button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 38px; padding: 7px 13px; background: transparent; border: 1px solid transparent; border-radius: 6px; color: var(--muted); font: 550 13px/1.5 Inter, sans-serif; }
.request-ownership button:hover { background: var(--ui-subtle); color: var(--text); }
.request-ownership button[aria-pressed="true"] { color: var(--ui-active-text); background: var(--ui-active); }
.request-ownership b { min-width: 18px; font-size: 11px; font-weight: 600; font-variant-numeric: tabular-nums; }
@media (min-width: 1400px) {
  #requests.is-visible { grid-template-areas: "heading heading" "ownership ownership" "focus modes" "filters filters" "summary summary" "active active" "results results"; gap: 8px 18px; }
  #requests > .request-ownership { grid-area: ownership; margin: 0; padding-bottom: 8px; }
  #requests > .requests-heading { margin: 0; }
}
#requests .requests-heading { margin-bottom: 16px; }
#requests .request-command-center { border-radius: 0; background: transparent; border-color: var(--line); box-shadow: none; }
.request-focus-button { border-radius: 0; background: transparent; color: var(--muted); }
.request-focus-button.is-selected { color: var(--ui-active-text); box-shadow: inset 0 -2px var(--ui-focus); background: transparent; }
.request-focus-button strong { background: var(--ui-subtle); color: var(--muted); }
.request-focus-button[data-request-focus="overdue"] strong { color: var(--red); background: var(--red-soft); }
.request-focus-button[data-request-focus="today"] strong { color: var(--amber); background: var(--amber-soft); }
.request-content-search-row, .request-sort-field, .request-customer-filter { background: var(--ui-subtle); border-color: var(--line); border-radius: 6px; }
.journal-view-switch { border-radius: 6px; padding: 3px; background: var(--ui-subtle); }
.journal-view-switch button[aria-pressed="true"] { color: var(--ui-active-text); }
.request-journal-panel { background: transparent; border: 0; padding: 0; }
.request-contractor-toolbar { border-top: 1px solid var(--line); min-height: 44px; padding: 8px 0; }
.request-contractor-group-button, .request-contractor-group-row.is-overdue .request-contractor-group-button, .request-contractor-group-row.is-soon .request-contractor-group-button { background: var(--ui-subtle); border: 1px solid var(--line); border-radius: 6px; padding: 13px 14px; }
.request-contractor-group-copy strong { font-size: 14px; color: var(--text); }
.request-contractor-group-icon { background: var(--surface); color: var(--blue); border-color: var(--line); }
.request-contractor-stat { background: var(--surface); color: var(--muted); }
#requests th { background: transparent; color: var(--muted); padding: 10px; font-size: 11px; border-bottom: 1px solid var(--line); }
#requests .request-desktop-row td { padding: 18px 10px; background: var(--surface); border-bottom: 1px solid var(--line); color: var(--text); }
#requests .request-desktop-row:hover td { background: var(--ui-hover); }
#requests .request-subject-line > strong { font-size: 15px; line-height: 1.5; font-weight: 600; color: var(--text); }
#requests .request-desktop-row td small { font-size: 12px; line-height: 1.6; color: var(--muted); }
.request-point-primary { min-width: 37px; padding: 5px 7px; background: var(--blue-soft); color: var(--blue); border-radius: 5px; font-size: 12px; }
.request-customer-line { display: flex; gap: 5px; align-items: center; }
.request-open-cue { color: var(--muted); }
.pill { border-radius: 4px; font-size: 12px; font-weight: 550; }
.journal-task.deadline-surface { border: 1px solid var(--line); border-radius: 7px; padding: 16px; min-height: 185px; background: var(--surface); }
.journal-task-title { font-size: 15px; line-height: 1.55; }
.journal-task:hover { border-color: var(--ui-focus); }
.metric-grid { gap: 0; border-block: 1px solid var(--line); margin-bottom: 26px; }
.metric-card { border: 0; border-right: 1px solid var(--line); background: transparent; border-radius: 0; padding: 20px; }
.metric-card:last-child { border-right: 0; }
.metric-card strong { font-size: 29px; }
.metric-card .metric-icon { box-shadow: none; border: 0; background: var(--ui-subtle); color: var(--blue); }
.dashboard-grid { gap: 28px; }
.task-card, .approval-card, .action-guide-card, .controlled-request-card, .personal-task-card { border: 1px solid var(--line); border-radius: 7px; box-shadow: none; background: var(--surface); }
.task-card:hover, .approval-card:hover, .action-guide-card:hover { box-shadow: none; border-color: var(--control-hover-border); }
.personal-control-grid { grid-template-columns: minmax(240px, .75fr) minmax(0, 2fr); gap: 28px; }
.personal-create-panel { border-right: 1px solid var(--line); padding-right: 24px; }
.personal-create-summary { color: var(--text); background: var(--ui-subtle); border-color: var(--line); border-radius: 6px; }
.personal-task-summary { background: transparent; min-height: 72px; }
.personal-task-summary strong { font-size: 15px; }
.approval-summary-grid, .action-guide-overview { gap: 0; margin-bottom: 22px; border-block: 1px solid var(--line); }
.approval-summary-item, .action-guide-overview > div { border: 0; border-right: 1px solid var(--line); background: transparent; padding: 18px; border-radius: 0; }
.approval-card h3, .action-guide-summary-copy > strong { font-size: 16px; line-height: 1.5; font-weight: 600; }
.approval-toolbar, .action-guide-toolbar { background: transparent; border-radius: 0; border-color: var(--line); }
.documentation-tabs-bar { background: var(--surface); border-color: var(--line); border-radius: 6px 6px 0 0; }
.documentation-tab { height: 58px; }
.documentation-tab.is-active { background: var(--ui-active); box-shadow: inset 0 -2px var(--ui-focus); }
.documentation-tab-workspace .documentation-folder-tools strong { font-size: 21px; }
.documentation-tab-workspace .documentation-folder-card { background: var(--ui-subtle); border-color: var(--line); }
.documentation-tab-workspace .documentation-folder-open { min-height: 84px; }
.documentation-folder-icon { border-radius: 6px; }
.documentation-tab-workspace .documentation-file-card { padding: 16px 8px; }
.documentation-file-open strong { font-size: 15px; line-height: 1.5; }
.documentation-tab-workspace .documentation-estimate-total { border-radius: 0; background: var(--ui-subtle); border-inline: 0; padding: 16px; }
.user-card { background: var(--ui-subtle); border: 1px solid var(--line); border-radius: 7px; }
.account-grid { gap: 30px; }
.auth-screen, .boot-screen { background: var(--bg); }
.auth-card { border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow-strong); }
.auth-card .brand strong { color: var(--text); font-size: 22px; }
.auth-card .brand span { color: var(--muted); }
.task-dialog { width: min(1080px, calc(100vw - 40px)); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow-strong); }
.task-dialog .dialog-header { padding: 22px 26px; background: var(--surface); border-bottom: 1px solid var(--line); }
.task-dialog .dialog-header h2 { font-size: 20px; line-height: 1.45; color: var(--text); }
.task-dialog .dialog-header p { font-size: 12px; color: var(--muted); }
#editDialog > #editForm { grid-template-rows: auto auto minmax(0, 1fr) auto; padding: 0; }
#editForm > .dialog-header { grid-row: 1; margin: 0; }
#editForm > .task-detail-nav { grid-row: 2; position: relative; z-index: 1; }
#editForm > .form-grid { grid-row: 3; }
#editForm > .dialog-actions { grid-row: 4; }
#requestForm { padding: 0; }
#requestDialog .dialog-header p { display: none; }
.task-dialog .form-grid { padding: 22px 26px; gap: 18px; align-content: start; }
.task-dialog .form-grid label, .personal-task-form label { font-size: 13px; font-weight: 550; color: var(--muted); gap: 8px; }
.task-dialog .form-grid :is(input:not([type="file"]):not([type="checkbox"]), select, textarea), .personal-task-form :is(input:not([type="file"]):not([type="checkbox"]), select, textarea) { font-size: 15px; color: var(--text); font-weight: 450; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 11px 12px; min-height: 44px; box-shadow: none; }
.task-dialog textarea { line-height: 1.6; }
.form-section-heading { display: flex; align-items: center; gap: 9px; padding: 10px 0 12px; border-bottom: 1px solid var(--line); color: var(--text); }
.form-section-heading h3 { margin: 0; font-size: 14px; font-weight: 650; }
.form-section-heading > svg { width: 18px; height: 18px; color: var(--blue); }
.form-section-heading > span { margin-left: auto; font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.task-dialog .edit-section { padding: 18px 0; background: transparent; border: 0; border-top: 1px solid var(--line); border-radius: 0; box-shadow: none; }
.task-detail-nav { display: flex; flex-shrink: 0; gap: 6px; padding: 10px 26px; border-bottom: 1px solid var(--line); background: var(--ui-subtle); }
.task-detail-nav button { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 7px 12px; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 5px; font-size: 12px; }
.task-detail-nav button:hover { color: var(--blue); border-color: var(--ui-focus); }
.task-detail-nav svg { width: 15px; height: 15px; }
.task-dialog .dialog-actions { padding: 14px 26px; border-top: 1px solid var(--line); background: var(--surface); }
.task-dialog .file-picker { background: var(--ui-subtle); border: 1px dashed var(--control-hover-border); border-radius: 6px; padding: 14px; }
.request-reminder-section .edit-section-header p, .edit-comments-section .edit-section-header p { display: none; }
.workspace-finder { width: min(720px, calc(100vw - 32px)); max-width: none; max-height: min(740px, calc(100dvh - 48px)); padding: 0; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--text); box-shadow: var(--shadow-strong); overflow: hidden; }
.workspace-finder[open] { display: flex; flex-direction: column; }
.workspace-finder::backdrop { background: #101a2a70; backdrop-filter: blur(3px); }
.finder-heading { display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; padding: 16px 20px 10px; gap: 12px; }
.finder-heading h2 { margin: 0; font-size: 17px; font-weight: 650; }
.finder-input { display: flex; align-items: center; gap: 12px; margin: 0 20px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--ui-subtle); flex-shrink: 0; }
.finder-input svg { width: 19px; height: 19px; color: var(--muted); flex: none; }
.finder-input input { min-width: 0; width: 100%; border: 0; padding: 0; border-radius: 0; font-size: 16px; line-height: 1.8; color: var(--text); background: transparent; box-shadow: none; }
#workspaceFinderInput { border: 0; border-radius: 0; background: transparent; box-shadow: none; font-weight: 450; }
.finder-modes { display: flex; gap: 6px; padding: 12px 20px; border-bottom: 1px solid var(--line); flex-shrink: 0; }
.finder-modes button { min-height: 34px; padding: 6px 12px; border: 1px solid transparent; border-radius: 5px; color: var(--muted); background: transparent; font-size: 12px; }
.finder-modes button[aria-pressed="true"] { color: var(--ui-active-text); background: var(--ui-active); }
.finder-results { overflow-y: auto; min-height: 0; padding: 8px 12px 12px; overscroll-behavior: contain; scroll-padding: 12px; }
.finder-results h3 { font-size: 10px; color: var(--muted); font-weight: 600; padding: 10px 10px 6px; margin: 0; }
.finder-result { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 66px; padding: 12px 10px; color: var(--text); background: transparent; border: 1px solid transparent; border-radius: 6px; text-align: left; }
.finder-result:hover, .finder-result:focus-visible { background: var(--ui-active); color: var(--ui-active-text); }
.finder-result-icon { display: grid; place-items: center; width: 34px; height: 38px; flex: none; border-radius: 5px; background: var(--ui-subtle); color: var(--blue); }
.finder-result-icon svg { width: 18px; height: 18px; }
.finder-result > span:nth-child(2) { display: grid; gap: 5px; flex: 1; min-width: 0; }
.finder-result strong { font-size: 14px; line-height: 1.5; font-weight: 550; overflow-wrap: anywhere; }
.finder-result small { font-size: 11px; line-height: 1.5; color: var(--muted); overflow-wrap: anywhere; }
.finder-result > svg { width: 15px; height: 15px; color: var(--muted); flex: none; }
.finder-count { padding: 12px 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; flex-shrink: 0; }
.finder-empty { display: grid; place-items: center; gap: 12px; padding: 48px 12px; color: var(--muted); font-size: 14px; }
@media (min-width: 761px) and (max-height: 820px) { .sidebar .side-panel { display: none; } }
@media (min-width: 761px) and (max-width: 1150px) {
  .app-shell { grid-template-columns: 200px minmax(0, 1fr); }
  .app-shell .sidebar { width: 200px; padding-inline: 10px; }
  .app-shell .workspace { padding-inline: 22px; }
  .app-shell .topbar { padding-inline: 22px; margin-inline: -22px; }
  .topbar-actions .search-field { max-width: 240px; }
  #newRequestButton { min-width: 40px; padding-inline: 10px; }
  #newRequestButton > span { display: none; }
  .workspace-context-copy { max-width: 100px; }
  .personal-control-grid { grid-template-columns: 1fr; }
  .personal-create-panel { border-right: 0 !important; padding-right: 0 !important; }
}
@media (max-width: 760px) {
  body { background: var(--surface); }
  .app-shell, .app-shell.sidebar-collapsed { display: block; }
  .app-shell .workspace { padding: 0 12px calc(88px + env(safe-area-inset-bottom)); }
  .app-shell .sidebar, .app-shell.sidebar-collapsed .sidebar { width: 100%; padding: 4px 10px calc(4px + env(safe-area-inset-bottom)); height: calc(68px + env(safe-area-inset-bottom)); background: var(--surface); border-right: 0; border-top: 1px solid var(--line); box-shadow: 0 -4px 18px #14213b08; }
  .sidebar .nav-stack { overflow: visible; padding: 0; }
  .nav-count, .sidebar-collapsed .nav-count { display: none; }
  .sidebar .nav-item, .sidebar .workspace-more-button { border-radius: 6px; min-height: 52px; padding: 5px 0; }
  .sidebar .nav-item.is-active { background: transparent; color: var(--blue); }
  .sidebar .nav-item.is-active svg { background: var(--blue-soft); box-sizing: content-box; padding: 4px 14px; border-radius: 6px; margin: -4px -14px; }
  .app-shell .topbar { display: grid; grid-template-columns: minmax(0, 1fr) repeat(4, 44px); min-height: 64px; gap: 4px; padding: max(8px, env(safe-area-inset-top)) 12px 12px; margin: 0 -12px 18px; position: static; }
  .topbar .workspace-context, .topbar .topbar-actions { display: contents; }
  .topbar .workspace-context-copy { grid-column: 1; grid-row: 1; max-width: none; }
  .topbar .workspace-context-copy strong { font-size: 14px; font-weight: 650; line-height: 1.4; color: var(--text); white-space: normal; overflow-wrap: anywhere; }
  .topbar .workspace-context [data-theme-picker] { grid-column: 2; grid-row: 1; }
  .topbar .workbench-find { grid-column: 3; grid-row: 1; }
  .topbar .notification-wrap { grid-column: 4; grid-row: 1; }
  .topbar #newRequestButton { grid-column: 5; grid-row: 1; width: 44px; min-width: 44px; height: 44px; padding: 0; }
  .topbar .workspace-context .theme-toggle, .topbar #notifyButton, .topbar .workbench-find { width: 44px; height: 44px; min-width: 44px; }
  .topbar .topbar-actions .search-field { grid-column: 1 / -1; grid-row: 2; margin-top: 5px; max-width: none; width: 100%; min-height: 44px; }
  .topbar .search-field input { font-size: 16px; }
  #newRequestButton > span { display: none; }
  .section-heading { margin-bottom: 16px; }
  .section-heading h2 { font-size: 21px; }
  .request-ownership { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr) minmax(0, .85fr); gap: 3px; padding: 0 0 12px; margin-bottom: 12px; }
  .request-ownership button { width: 100%; min-width: 0; padding: 8px 6px; gap: 5px; min-height: 44px; font-size: 12px; }
  .request-ownership b { font-size: 10px; min-width: 12px; }
  .request-focus-strip { gap: 0; }
  .request-focus-button { min-height: 55px; }
  .request-focus-button > strong { font-size: 18px; background: transparent; }
  .request-focus-button > span { font-size: 10px; }
  .request-contractor-group-button { padding: 12px 10px; }
  .request-contractor-group-copy strong { font-size: 14px; }
  .request-mobile-tab { border-radius: 6px; border: 1px solid var(--line); background: var(--surface); }
  .request-mobile-summary { padding: 15px 12px; }
  .request-mobile-title > span:last-child { display: block; font-size: 15px; line-height: 1.6; -webkit-line-clamp: unset; overflow: visible; }
  .request-mobile-number-line > strong { font-size: 11px; color: var(--muted); }
  .request-mobile-deadline b { font-size: 12px; }
  .request-mobile-panel { padding: 12px; background: var(--ui-subtle); }
  .request-mobile-panel .primary-button { min-height: 44px; width: 100%; }
  .journal-task-title { font-size: 15px; }
  .personal-control-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .personal-create-panel { border-right: 0 !important; padding-right: 0 !important; }
  .personal-task-summary strong { font-size: 15px; }
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric-card { padding: 16px 12px; border-bottom: 1px solid var(--line); }
  .metric-card strong { font-size: 25px; }
  .approval-summary-item, .action-guide-overview > div { padding: 14px 10px; }
  .documentation-tab-workspace .documentation-folder-tools strong { font-size: 18px; }
  .documentation-file-card .documentation-item-copy strong { font-size: 14px; }
  .task-dialog { width: calc(100vw - 12px); max-width: none; border-radius: 8px; }
  .task-dialog .dialog-header { padding: 14px 14px 12px; }
  .task-dialog .dialog-header h2 { font-size: 17px; line-height: 1.5; }
  .task-dialog .form-grid { padding: 14px; gap: 14px; }
  .task-dialog .form-grid :is(input:not([type="file"]):not([type="checkbox"]), select, textarea), .personal-task-form :is(input:not([type="file"]):not([type="checkbox"]), select, textarea) { font-size: 16px; }
  .form-section-heading { padding: 8px 0 10px; }
  .task-detail-nav { padding: 8px 12px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; }
  .task-detail-nav button { min-width: 0; justify-content: center; min-height: 44px; gap: 5px; padding: 6px 4px; font-size: 10px; }
  .task-detail-nav svg { width: 13px; height: 13px; flex: none; }
  .task-dialog .dialog-actions { padding: 12px 14px; }
  .workspace-finder { width: calc(100vw - 16px); max-height: calc(100dvh - 28px); margin: auto; border-radius: 8px; }
  .finder-heading { padding: 12px 14px 8px; }
  .finder-input { margin-inline: 14px; }
  .finder-input input { font-size: 16px; }
  .finder-modes { padding: 10px 14px; }
  .finder-modes button { min-height: 44px; }
  .finder-result { min-height: 72px; padding: 12px 6px; gap: 9px; }
  .finder-result strong { font-size: 14px; }
  .finder-result small { font-size: 11px; }
}
