/* iOS-inspired material belongs to navigation; financial data stays opaque. */
:root {
    --palette-neutral: #eeeeee;
    --palette-mint: #6fcf97;
    --palette-teal: #2fa084;
    --palette-deep: #1f6f5f;
    --bg-page: var(--palette-neutral);
    --bg-sidebar: #e7efeb;
    --bg-sidebar-hover: #dceee3;
    --bg-sidebar-active: var(--palette-mint);
    --text-sidebar: #46524e;
    --text-sidebar-active: #143c31;
    --text-tertiary: #68736f;
    --brand-green: var(--palette-deep);
    --brand-green-subtle: #e2f3e9;
    --brand-green-soft: #f3faf6;
    --bg-row-hover: #f3faf6;
    --border-input-focus: var(--palette-deep);
    --brand-green-hover: #18594c;
    --border-default: #e1e5e8;
    --border-input: #c7cece;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --sidebar-width: 248px;
    --shadow-sm: none;
}
body { background: var(--bg-page); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif; }
::selection { background: var(--palette-mint); color: #143c31; }
input, textarea { caret-color: var(--brand-green); }
input::placeholder, textarea::placeholder { color: #68736f; opacity: 1; }
:focus-visible { outline: 2px solid var(--palette-deep); outline-offset: 3px; }
a { text-underline-offset: 3px; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 2000; padding: 12px 18px; background: #fff; color: #123e32; border-radius: 12px; }
.skip-link:focus { top: 12px; }
.sidebar { inset: 12px auto 12px 12px; width: calc(var(--sidebar-width) - 12px); min-width: 0; border: 1px solid #dfe5e6; border-radius: 22px; scrollbar-width: thin; scrollbar-color: #bac7c1 transparent; }
@supports (backdrop-filter: blur(20px)) {
    .sidebar { background: rgba(231, 239, 235, .88); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
}
.sidebar-brand { min-height: 76px; margin-bottom: 12px; border-color: #dce2e1; padding: 20px 12px; }
.sidebar-brand img { width: 155px; }
.sidebar-nav a, .sidebar-command-search, .sidebar-bottom a, .sidebar-logout-form button { min-height: 42px; padding: 10px 12px; font-size: 14px; gap: 10px; }
.sidebar-nav a.active, .sidebar-section a.active, .sidebar-bottom a.active { box-shadow: none; font-weight: 650; }
.sidebar-nav a i, .sidebar-section a i, .sidebar-command-search i { font-size: 17px; }
.sidebar-section, .sidebar-bottom, .sidebar-user, .view-as-toggle { border-color: #dce2e1; }
.sidebar-section { margin-top: 16px; padding-top: 16px; }
.sidebar-section-title, .view-as-label { color: #596660; font-size: 12px; font-weight: 600; text-transform: none; }
.sidebar-command-search { background: #fff; border: 1px solid #dce2e1; margin-bottom: 8px; }
.sidebar-command-search kbd { color: #596660; border-color: #dce2e1; font-family: inherit; }
.sidebar-bottom { margin-top: 24px; }
.sidebar-user { margin-top: auto; }
.sidebar-user-role, .view-as-role-note { color: #596660; }
.view-as-form { padding: 3px; gap: 2px; background: #dfe5e3; border-radius: 10px; }
.view-as-form button { min-height: 32px; color: #43534c; border: 0; background: transparent; }
.view-as-form .btn-light { background: white; color: #123e32; box-shadow: 0 1px 3px #00000012; }
.view-as-reset .btn-outline-warning { color: #123e32; border-color: #9ab8ae; }
.main-content { --main-content-padding-y: 44px; --main-content-padding-x: clamp(24px, 3vw, 52px); }
.page-title, .section-title, .section-card-header h2 { font-family: inherit; letter-spacing: -.025em; }
.page-title { font-size: 34px; font-weight: 700; }
.page-title .count { display: inline-flex; align-items: center; justify-content: center; min-width: 30px; min-height: 28px; margin-left: 8px; padding: 2px 9px; vertical-align: middle; border-radius: 9px; background: #e7ecea; color: #52605a; font-size: 16px; font-weight: 600; }
.page-description { margin: 6px 0 0; color: var(--text-secondary); font-size: 15px; }
.page-header { margin-bottom: 28px; }
.btn-primary-accent, .btn-primary, .btn-secondary, .btn-google { min-height: 44px; border-radius: 12px; font-weight: 600; }
.btn-primary-accent, .btn-primary { box-shadow: 0 2px 4px #073c2812; }
.btn-ghost { min-height: 40px; border-radius: 10px; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button:disabled, .btn-primary-accent:disabled { opacity: .5; cursor: not-allowed; }
.form-input, .form-select, .search-input { min-height: 44px; border-radius: 12px; }
.form-input:focus, .form-select:focus, .search-input:focus { border-color: var(--palette-deep); box-shadow: none; }
.form-label { font-weight: 600; }
.table-wrap { border: 0; box-shadow: none; border-radius: 16px; }
.data-table { font-variant-numeric: tabular-nums; }
.data-table thead th { text-transform: none; letter-spacing: 0; font-size: 13px; font-weight: 600; background: #fff; color: #596660; }
.data-table td { padding-top: 15px; padding-bottom: 15px; }
.data-table tbody tr:hover { background: #f2f7f5; }
.client-list-table .data-table { min-width: 550px; }
.client-fee { text-align: right; }
.client-list-table .client-fee .client-monthly-fee-value { font-size: 14px; font-weight: 500; }
.client-list-table .mono { font-family: inherit; color: #596660; }
.client-search-field { position: relative; flex: 1; min-width: 180px; }
.client-search-field .search-input { width: 100%; padding-right: 78px; background-color: #eceff1; border-color: transparent; }
.client-search-field .search-input:focus { background-color: white; border-color: var(--palette-deep); }
.client-search-clear { position: absolute; right: 7px; top: 4px; display: flex; align-items: center; height: 36px; padding: 0 12px; color: #40574d; border-radius: 8px; font-size: 13px; }
.client-search-clear:hover { background: #dfe7e3; text-decoration: none; }
.client-search-field:has(input:placeholder-shown) .client-search-clear { display: none; }
.clients-toolbar { gap: 20px; margin-bottom: 20px; }
.clients-toolbar .form-check { min-height: 44px; cursor: pointer; }
.clients-toolbar input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--palette-deep); }
#client-table { transition: opacity 120ms ease; }
#client-table.htmx-request { opacity: .55; }
.client-list-empty { padding: 44px 20px; text-align: center; }
.client-list-empty strong { display: block; font-size: 18px; color: var(--text-primary); }
.client-list-empty p { margin: 8px 0 16px; color: var(--text-secondary); }
.notification-toggle, .quick-add-toggle { border-radius: 50%; }
.notification-toggle { width: 44px; height: 44px; }
.notification-widget { top: 24px; right: 24px; }
.notification-panel, .quick-add-panel, .command-search-dialog { border-radius: 18px; }
.login-container { min-height: 100svh; padding: 32px 20px; background: var(--bg-sidebar); }
.login-box { width: 420px; max-width: 100%; padding: 40px; border-radius: 24px; border: 1px solid #fff; box-shadow: 0 18px 60px #163e2810; background: #ffffffed; }
.login-brand { justify-content: flex-start; margin-bottom: 32px; }
.login-brand img { width: 168px; }
.login-heading { margin: 0 0 8px; font-size: 28px; letter-spacing: -.025em; font-weight: 700; }
.login-description { margin: 0 0 28px; color: var(--text-secondary); font-size: 15px; }
.password-field { position: relative; }
.password-field input { padding-right: 70px; }
.password-toggle { position: absolute; right: 4px; top: 3px; min-height: 38px; padding: 0 12px; border: 0; border-radius: 9px; background: transparent; color: var(--palette-deep); font-size: 13px; font-weight: 600; cursor: pointer; }
.password-toggle:hover { background: #e2f2ef; }
.login-box .form-input { min-height: 48px; font-size: 16px; }
.login-box .btn-primary-accent { min-height: 48px; margin-top: 8px; }
.login-box .flash-close { min-width: 32px; min-height: 32px; }
.mobile-nav-close, .mobile-nav-backdrop { display: none; }
@media (max-width: 1000px) and (min-width: 769px) {
    :root { --sidebar-width: 220px; }
    .main-content { --main-content-padding-x: 24px; }
}
@media (max-width: 768px) {
    .mobile-nav-toggle { position: sticky; top: 12px; z-index: 1051; margin: 12px 20px 0; background: #fffffff2; min-height: 44px; }
    .sidebar.is-mobile-open { position: fixed; inset: 8px auto 8px 8px; width: min(320px, calc(100vw - 32px)); height: calc(100dvh - 16px); margin: 0; z-index: 1201; overflow-y: auto; background: var(--bg-sidebar); }
    .sidebar.is-mobile-open .sidebar-nav, .sidebar.is-mobile-open .sidebar-bottom { grid-template-columns: 1fr; }
    .sidebar.is-mobile-open .sidebar-brand { display: flex; padding-right: 42px; }
    .sidebar.is-mobile-open .mobile-nav-close { display: flex; position: absolute; right: 12px; top: 15px; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: #dfe7e3; color: #123e32; cursor: pointer; }
    .mobile-nav-backdrop:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 1200; background: #15292166; }
    body.mobile-nav-open { overflow: hidden; }
    .main-content { --main-content-padding-x: 20px; --main-content-padding-y: 24px; }
    .page-title { font-size: 30px; }
    .page-header { gap: 20px; }
    .clients-toolbar { gap: 8px; }
    .client-search-field { width: 100%; }
    .notification-widget { top: 12px; right: 20px; }
    .notification-panel { width: min(360px, calc(100vw - 40px)); }
    .login-box { padding: 32px 24px; }
    .login-container { align-items: center; }
    .form-input, .form-select, .search-input { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
    .sidebar, .login-box, .mobile-nav-toggle { background: #f1f4f3; backdrop-filter: none; -webkit-backdrop-filter: none; }
    .form-input, .form-select, .search-input, .table-wrap { border: 1px solid #68736f; }
}

@media (max-width: 768px) {
    .clients-page-header { padding-right: 0; }
    .client-list-table { margin: 0; border-radius: 16px; max-height: none; }
    .client-list-table .data-table, .client-list-table tbody { display: block; min-width: 0; width: 100%; }
    .client-list-table thead { display: none; }
    .client-list-table tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; padding: 18px; border-bottom: 1px solid var(--border-default); }
    .client-list-table tbody td { padding: 0; border: 0; white-space: normal; min-width: 0; overflow-wrap: anywhere; }
    .client-list-table tbody td:first-child { grid-column: 1 / -1; font-size: 17px; }
    .client-list-table .client-code { grid-column: 1; }
    .client-list-table .client-fee { grid-column: 2; }
    .client-list-table [data-label]::before { content: attr(data-label); display: block; margin-bottom: 3px; color: #596660; font-size: 12px; }
    .client-list-table .client-integrations { align-self: center; }
    .client-list-table .col-actions { grid-column: 2; justify-self: end; }
    .client-list-table .empty-row { display: block; }
    .client-list-table .empty-row td { display: block; }
    .client-list-empty { padding: 20px 4px; }
}

/* Client work: keep the work prominent and configuration close at hand. */
.client-detail-header { margin-bottom: 18px; align-items: center; }
.breadcrumb { margin-bottom: 12px; }
.client-detail-tabs { overflow-y: hidden; align-items: stretch; scrollbar-width: thin; margin-bottom: 20px; }
.client-detail-tabs .tab-item { margin-bottom: 0; }
.provisioning-followup { display: inline-flex; gap: 6px; margin-left: 12px; font-size: 13px; text-decoration: underline; }
.task-period-toolbar { align-items: center; gap: 24px; margin: 0 0 14px; }
.task-period-toolbar .task-period-form { display: flex; align-items: center; gap: 12px; }
.task-period-form .form-label { white-space: nowrap; }
.task-period-form .form-select { min-width: 150px; }
.task-period-due { display: grid; gap: 2px; }
.task-period-due strong { font-size: 15px; font-weight: 650; }
.task-period-due span, .mec-progress { color: var(--text-secondary); font-size: 13px; }
.task-period-toolbar .task-toolbar-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.task-settings-disclosure { margin-bottom: 18px; border-block: 1px solid var(--border-default); }
.task-settings-disclosure > summary { display: flex; align-items: center; gap: 12px; list-style: none; padding: 12px 0; cursor: pointer; font-size: 14px; font-weight: 600; }
.task-settings-disclosure > summary::-webkit-details-marker { display: none; }
.task-settings-disclosure > summary i { margin-left: auto; }
.task-settings-disclosure[open] > summary i { transform: rotate(180deg); }
.task-settings-hint { color: var(--text-secondary); font-size: 13px; font-weight: 400; }
.task-settings-disclosure .task-mec-settings { padding: 0 0 16px; margin: 0; border: 0; gap: 14px; }
.task-mec-settings .form-input, .task-mec-settings .form-select, .task-mec-settings .btn-sm { min-height: 38px; font-weight: 500; }
.task-mec-setting { font-size: 12px; color: var(--text-secondary); gap: 6px; }
.task-list-card .section-card-body { padding-top: 8px; }
.task-section-header { margin-bottom: 8px; }
.task-section-progress { font-size: 12px; font-weight: 500; }
.task-section-empty { padding: 16px 0; color: var(--text-secondary); font-size: 14px; }
.task-item-list:has(> .task-section-empty) { border: 0; background: none; border-radius: 0; }
.client-request-settings-form { border: 0; background: #f5f7f6; padding: 12px; border-radius: 10px; }
.task-more-actions { position: relative; order: 4; flex: 0 0 auto; }
.task-more-actions > summary { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; min-height: 36px; color: var(--text-secondary); font-size: 12px; border-radius: 8px; cursor: pointer; list-style: none; }
.task-more-actions > summary::-webkit-details-marker { display: none; }
.task-more-actions > summary:hover, .task-more-actions[open] > summary { background: #e9efec; color: #123e32; }
.task-more-panel { position: absolute; right: 0; top: calc(100% + 6px); z-index: 40; width: 225px; padding: 6px; border: 1px solid var(--border-default); border-radius: 12px; background: white; box-shadow: 0 8px 24px #14382b20; }
.task-more-panel > button, .task-more-panel .task-link-chip { display: flex; align-items: center; justify-content: flex-start; gap: 10px; width: 100%; height: auto; min-height: 40px; padding: 9px 10px; border: 0; border-radius: 7px; background: transparent; color: var(--text-primary); font: inherit; font-size: 13px; text-decoration: none; cursor: pointer; }
.task-more-panel > button:hover, .task-more-panel .task-link-chip:hover { background: #f0f5f2; }
.task-more-panel .task-delete-chip { color: #b42318; }
.task-row-meta .task-disclosure { order: 5; }
.task-tab .task-row-meta .task-disclosure { width: auto; height: auto; min-height: 36px; gap: 6px; padding: 7px 10px; color: var(--text-secondary); cursor: pointer; }
.task-tab .task-row[open] .task-disclosure { transform: none; }
.task-tab .task-row[open] .task-disclosure > i { transform: rotate(180deg); }
.task-row .task-note { max-width: 68ch; font-size: 13px; line-height: 1.45; }
@media (min-width: 1100px) {
    .task-row > summary { align-items: flex-start; }
    .task-row-meta { gap: 8px; }
    .task-status-control { max-width: 130px; }
    .task-assignee-control { max-width: 145px; }
}
@media (max-width: 980px) {
    .task-period-toolbar, .task-period-toolbar .task-period-form { flex-direction: row; flex-wrap: wrap; }
    .task-period-toolbar .task-toolbar-actions { margin-left: 0; flex-wrap: wrap; }
    .task-settings-disclosure .task-mec-settings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .task-mec-setting { min-width: 0; }
    .task-mec-due-setting { grid-column: 1 / -1; }
    .task-row-meta { width: 100%; }
}
@media (max-width: 600px) {
    .client-detail-header { gap: 12px; }
    .task-period-toolbar { gap: 12px; }
    .task-period-toolbar .task-period-form { width: 100%; }
    .task-period-form .form-select { flex: 1; width: auto; }
    .task-settings-hint { display: none; }
    .task-row-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .task-row-meta .task-quick-form { min-width: 0; }
    .task-row-meta .task-quick-control { width: 100%; min-width: 0; max-width: 100%; min-height: 36px; }
    .task-more-actions { justify-self: end; }
    .task-row-meta .task-disclosure { display: none; }
    .task-tab .task-row-meta .task-disclosure { display: inline-flex; justify-self: end; }
    .provisioning-followup { margin-left: 0; display: flex; margin-top: 5px; }
}
.task-tab .task-item-list { overflow: visible; }
.task-tab .task-row > summary { grid-template-columns: 14px 24px minmax(200px, 1fr) auto; padding: 12px 10px; }
/* Preserve saved hierarchy when the compact row layout resets padding.
   Only indent the row summary, never its nested action menus. */
.task-tab .task-row.task-indent-1 > summary { padding-left: 30px; }
.task-tab .task-row.task-indent-2 > summary { padding-left: 50px; }
.task-tab .task-row.task-indent-3 > summary { padding-left: 70px; }
.task-tab .task-row.task-indent-4 > summary { padding-left: 90px; }
.task-tab .task-row-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.task-tab .task-quick-form { flex: 0 0 auto; }
.task-tab .task-more-panel .task-delete-form { display: block; width: 100%; }
.task-tab .task-check { width: 20px; height: 20px; }
@media (max-width: 1200px) {
    .task-tab .task-row > summary { display: grid; grid-template-columns: 14px 24px minmax(0, 1fr); }
    .task-tab .task-row-meta { grid-column: 3; justify-content: flex-start; }
}
@media (max-width: 600px) {
    .task-tab .task-row-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-column: 1 / -1; width: 100%; }
    .task-tab .task-quick-form { min-width: 0; }
}
.task-row .task-more-actions > summary { flex-direction: row; }
@media (max-width: 1100px) {
    .client-detail-header { flex-wrap: wrap; gap: 12px; }
    .client-detail-header > .d-flex { flex-wrap: wrap; max-width: 100%; }
    .client-detail-header select { min-width: 0 !important; max-width: 100%; }
}


/* Palette material: glass on navigation, opaque surfaces for accounting data.
   Logo artwork remains the original image; never tint it with CSS filters. */
.sidebar {
    border-color: rgba(255, 255, 255, .85);
    box-shadow: 0 8px 28px rgba(31, 111, 95, .06), inset 0 1px 0 #fff;
}
.sidebar-nav a.active, .sidebar-section a.active, .sidebar-bottom a.active {
    box-shadow: inset 0 0 0 1px rgba(31, 111, 95, .12);
}
.client-detail-tabs {
    gap: 5px;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 24px;
    background: #e7efeb;
    box-shadow: 0 3px 12px rgba(31, 111, 95, .04);
}
.client-detail-tabs .tab-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 16px;
    border: 0;
    border-radius: 20px;
    color: #43574e;
}
.client-detail-tabs .tab-item:hover { background: #f3faf6; color: var(--palette-deep); }
.client-detail-tabs .tab-item.active {
    color: #143c31;
    background: var(--palette-mint);
    box-shadow: inset 0 0 0 1px rgba(31, 111, 95, .12);
}
.clients-toolbar {
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 20px;
    background: #e7efeb;
}
.client-search-field .search-input { background: #fff; border-color: var(--border-input); border-radius: 999px; }
.client-search-clear { border-radius: 999px; color: var(--palette-deep); }
.clients-toolbar input[type=checkbox] { accent-color: var(--palette-deep); }
.btn-primary-accent, .btn-primary { background: var(--palette-deep); border-color: var(--palette-deep); color: #fff; }
.btn-primary-accent:hover, .btn-primary:hover { background: var(--brand-green-hover); border-color: var(--brand-green-hover); color: #fff; }
.notification-toggle, .mobile-nav-toggle { background: #f8fcfa; border: 1px solid #c5d7ce; color: var(--palette-deep); box-shadow: 0 3px 12px rgba(31, 111, 95, .07); }
.table-wrap, .section-card, .task-item-list { background: #fff; }
.task-check { accent-color: var(--palette-deep); }
.sidebar-nav a.active i, .sidebar-section a.active i { color: var(--palette-deep); }
.client-detail-tabs .tab-count { background: #fff; color: var(--palette-deep); }
.sidebar-nav a.active, .sidebar-section a.active { border-inline-start: 3px solid var(--palette-teal); padding-inline-start: 9px; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--palette-deep);
    outline-offset: 3px;
}
.btn-primary-accent, .btn-primary, .btn-secondary, .tab-item, .notification-toggle {
    transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}
@supports ((backdrop-filter: blur(20px)) or (-webkit-backdrop-filter: blur(20px))) {
    .client-detail-tabs, .clients-toolbar, .mobile-nav-toggle, .notification-toggle {
        background: rgba(239, 247, 242, .86);
        backdrop-filter: blur(20px) saturate(115%);
        -webkit-backdrop-filter: blur(20px) saturate(115%);
    }
}
@media (max-width: 768px) {
    .clients-toolbar { padding: 10px; }
    .client-detail-tabs { border-radius: 22px; }
    .client-detail-tabs .tab-item { padding-inline: 14px; }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
    .sidebar, .sidebar.is-mobile-open, .client-detail-tabs, .clients-toolbar, .mobile-nav-toggle, .notification-toggle {
        background: #e7efeb;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border-color: #68736f;
        box-shadow: none;
    }
}
@media (forced-colors: active) {
    .sidebar-nav a.active, .sidebar-section a.active, .sidebar-bottom a.active, .client-detail-tabs .tab-item.active {
        outline: 2px solid Highlight;
        outline-offset: -2px;
    }
}

.task-more-panel .task-link-chip[hidden] { display: none; }

/* Supporting material stays visible while the task editor is collapsed. */
.task-resource-indicators { display: flex; flex-wrap: wrap; gap: 12px; }
.task-resource-indicators:not(:has(.task-resource:not([hidden]))) { display: none; }
.task-resource { position: relative; display: inline-flex; max-width: 100%; }
.task-resource[hidden] { display: none; }
.task-resource-trigger { display: inline-flex; align-items: center; gap: 5px; min-height: 32px; padding: 3px 0; border: 0; background: transparent; color: var(--text-secondary); font: inherit; font-size: 13px; text-decoration: none; cursor: pointer; }
.task-resource-trigger:hover { color: var(--text-primary); text-decoration: underline; }
.task-resource-preview { display: none; position: absolute; left: 0; top: 100%; z-index: 50; width: 260px; max-width: calc(100vw - 130px); max-height: 240px; overflow: auto; overflow-wrap: anywhere; padding: 10px 12px; border: 1px solid var(--border-default); border-radius: 6px; background: #fff; color: var(--text-primary); font-size: 13px; font-weight: 400; line-height: 1.5; cursor: default; }
.task-resource-preview span, .task-resource-preview strong { display: block; }
.task-resource-file + .task-resource-file { margin-top: 8px; }
.task-resource-file > span { color: var(--text-secondary); font-size: 12px; }
.task-resource:not(.preview-dismissed):focus-within > .task-resource-preview { display: block; }
@media (hover: hover) {
    .task-resource:not(.preview-dismissed):hover > .task-resource-preview { display: block; }
}

@media (max-width: 600px) {
    .task-resource:not([data-task-link-resource]) > .task-resource-preview { left: auto; right: 0; }
    .task-resource-preview { width: 160px; max-width: calc(100vw - 180px); }
}
