:root { color-scheme: light; --blue: #5b6eff; --blue-pressed: #495cff; --canvas: #f7f7f7; --card: #ffffff; --field: #f4f4f4; --line: #ededed; --ink-rgb: 0 0 0; --title-text: rgb(var(--ink-rgb) / .8); --subtitle-text: rgb(var(--ink-rgb) / .7); --body-text: rgb(var(--ink-rgb) / .6); --caption-text: rgb(var(--ink-rgb) / .5); --faint-text: rgb(var(--ink-rgb) / .36); --text: var(--title-text); --muted: var(--body-text); --faint: var(--faint-text); --shadow: 0 10px 30px rgba(33, 35, 41, 0.08); --bar-height: 64px; --safe-bottom: env(safe-area-inset-bottom, 0px); --bottom-nav-height: 54px; --bottom-nav-gap: 12px; --bottom-nav-reserved: calc(var(--bottom-nav-height) + var(--bottom-nav-gap) + var(--safe-bottom)); --stacked-bottom-offset: calc(var(--bottom-nav-reserved) + 10px); --dual-bottom-reserved: calc(var(--bottom-nav-reserved) + 78px); --edge-pad: 18px; --glass-card: rgb(255 255 255 / .58); --glass-card-strong: rgb(255 255 255 / .72); --glass-line: rgb(255 255 255 / .36); --glass-shadow: 0 18px 44px rgb(38 31 25 / .08); font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif; }

* { box-sizing: border-box; }

html, body { width: 100%; min-height: 100%; margin: 0px; background: var(--canvas); color: var(--text); scrollbar-gutter: stable; }

button, input, textarea, select { font: inherit; }

button { border: 0px; color: inherit; background: transparent; cursor: pointer; }

.page-topbar strong, .title-button, .calendar-sheet-title, .editor-head strong, .sheet-title, .row-label, .category-title, .manager-row .row-label { color: var(--title-text); }

.row-value, .count, .form-row label, .field-label, .settings-row .row-value { color: var(--subtitle-text); }

body, input, textarea, select, .calendar-sheet-option, .bottom-option { color: var(--body-text); }

.hint, .stat-label, small { color: var(--caption-text); }

button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid color-mix(in srgb, var(--blue), transparent 20%); outline-offset: 2px; }

.app-shell { min-height: 100vh; background: var(--canvas); }

.icon-sprite, .visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0px, 0px, 0px, 0px); white-space: nowrap; }

.runtime-file-input { position: fixed; left: 0px; top: 0px; width: 1px; height: 1px; opacity: 0; pointer-events: none; z-index: 9999; }

.screen { --app-width: min(100vw, 980px); --nav-width: min(860px, calc(var(--app-width) - 28px)); width: 100%; min-height: 100vh; overflow-x: hidden; padding-bottom: var(--bottom-nav-reserved); background-image: ; background-origin: ; background-clip: ; background-color: ; background-size: cover; background-position: center center; background-repeat: no-repeat; background-attachment: fixed; }

.topbar { position: sticky; top: 0px; z-index: 10; display: grid; grid-template-columns: 96px minmax(0px, 1fr) 96px; align-items: center; min-height: 64px; padding: 16px 14px 10px; background: color-mix(in srgb, var(--canvas), transparent 5%); backdrop-filter: blur(18px); }

.screen[data-screen="outfits"][data-page="home"] .topbar { grid-template-columns: 54px minmax(76px, 1fr) max-content; column-gap: 6px; }

.screen[data-screen="outfits"][data-page="home"] .toolbar-actions { flex: 0 0 auto; gap: 4px; }

.screen[data-screen="outfits"][data-page="home"] .icon-button { width: 28px; height: 28px; }

.top-settings-button { justify-self: start; min-height: 32px; padding: 0px 12px; border-radius: 4px; color: rgba(0, 0, 0, 0.72); font-size: 13px; font-weight: 800; }

.top-settings-button.active, .top-settings-button:hover { color: rgba(0, 0, 0, 0.82); background: rgb(168, 255, 0); }

.title-button { display: inline-flex; align-items: center; justify-self: center; justify-content: center; max-width: 100%; gap: 3px; padding: 6px 0px; font-weight: 700; font-size: 17px; letter-spacing: 0px; }

.topbar-title { justify-self: center; color: rgba(0, 0, 0, 0.82); font-size: 15px; font-weight: 850; }

.title-button::after { content: ""; width: 0px; height: 0px; margin-top: 3px; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid rgb(74, 77, 85); }

.toolbar-actions { justify-self: end; display: flex; align-items: center; gap: 8px; }

.icon-button { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: rgb(77, 80, 87); }

.icon-button:hover { background: rgb(238, 238, 239); }

.icon-button svg, .nav-item svg, .row-icon svg, .mini-icon svg, .sublist-button svg { width: 20px; height: 20px; fill: none; stroke: currentcolor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.main-scroll { padding: 0 var(--edge-pad) 18px; }

.category-card { position: relative; min-height: 105px; margin-bottom: 11px; padding: 12px 12px 11px; overflow: hidden; border-radius: 8px; background: var(--card); }

.category-header { display: flex; align-items: center; justify-content: space-between; min-height: 22px; gap: 10px; }

.category-title { min-width: 0px; font-weight: 700; font-size: 15px; line-height: 1.2; color: rgb(75, 77, 84); }

.category-title.stacked-title { display: grid; justify-items: start; gap: 2px; }

.category-title .count { color: rgb(156, 159, 168); font-weight: 600; }

.subcategory-title { display: grid; justify-items: start; gap: 2px; }

.sublist-button { display: grid; place-items: center; flex: 0 0 auto; width: 18px; height: 18px; color: rgb(164, 168, 175); border-radius: 5px; background: rgb(240, 241, 243); }

.sublist-button svg { width: 13px; height: 13px; stroke-width: 2.2; }

.tile-row { display: grid; grid-template-columns: repeat(auto-fill, 64px); grid-auto-rows: 64px; align-items: start; gap: 10px; margin-top: 8px; }

.empty-tile, .item-tile, .outfit-tile, .inspiration-tile { position: relative; width: 64px; height: 64px; overflow: hidden; border-radius: 5px; background: rgb(247, 247, 248); }

.empty-tile { display: grid; place-items: center; color: rgb(214, 215, 220); }

.empty-tile svg { width: 24px; height: 24px; fill: none; stroke: currentcolor; stroke-width: 1.45; stroke-linecap: round; }

.item-tile img, .inspiration-tile img { width: 100%; height: 100%; object-fit: cover; }

.tile-fallback { display: grid; place-items: center; width: 100%; height: 100%; color: rgb(183, 186, 195); background: linear-gradient(135deg, rgb(247, 247, 248), rgb(237, 237, 240)); }

.outfit-tile { display: block; background: linear-gradient(145deg, rgba(244, 239, 230, 0.9), rgba(230, 240, 239, 0.82)); }

.outfit-editorial-preview { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: inherit; background: linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.2)), linear-gradient(145deg, rgba(230, 238, 238, 0.92), rgba(245, 237, 225, 0.78)); }

.outfit-editorial-preview::before { content: ""; position: absolute; inset: 8%; border: 1px solid rgba(255, 255, 255, 0.52); border-radius: 5px; background: linear-gradient(90deg, rgba(255, 255, 255, 0.2) 1px, transparent 1px) 0% 0% / 18px 18px, linear-gradient(0deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px); }

.outfit-preview-surface { position: absolute; inset: 16% 12%; border-radius: 5px; background: rgba(255, 255, 255, 0.38); box-shadow: rgba(255, 255, 255, 0.5) 0px 1px 0px inset; }

.outfit-preview-layer { position: absolute; width: 42%; height: 64%; object-fit: cover; border: 1px solid rgba(255, 255, 255, 0.86); border-radius: 4px; background: rgb(255, 255, 255); box-shadow: rgba(35, 39, 48, 0.18) 0px 10px 22px; }

.outfit-editorial-preview .layer-1 { left: 23%; top: 19%; transform: rotate(-5deg); }

.outfit-editorial-preview .layer-2 { left: 43%; top: 27%; transform: rotate(4deg); }

.outfit-editorial-preview .layer-3 { left: 56%; top: 13%; width: 30%; height: 48%; transform: rotate(2deg); }

.outfit-editorial-preview.layer-count-1 .layer-1 { left: 26%; top: 13%; width: 48%; height: 72%; transform: rotate(-2deg); }

.outfit-editorial-preview.empty { display: grid; place-items: center; color: rgba(0, 0, 0, 0.34); }

.outfit-editorial-preview.empty span { display: grid; place-items: center; width: 42%; aspect-ratio: 1 / 1; border-radius: 5px; background: rgba(255, 255, 255, 0.44); }

.outfit-editorial-preview.collage-preview::before { display: none; }

.outfit-collage-preview-image { display: block; width: 100%; height: 100%; object-fit: contain; background: rgba(255, 255, 255, 0.42); }

.live-collage-preview { display: grid; place-items: center; background: rgba(255, 255, 255, 0.96); }

.outfit-collage-preview-stage { position: relative; height: 100%; width: 80%; max-width: 100%; max-height: 100%; overflow: hidden; background: rgb(255, 255, 255); }

.outfit-collage-layer { position: absolute; left: var(--x); top: var(--y); width: var(--w); height: var(--h); min-width: 12px; min-height: 12px; transform: translate(-50%, -50%); }

.outfit-collage-layer img { display: block; width: 100%; height: 100%; object-fit: cover; }

.outfit-collage-layer.text-layer { display: grid; place-items: center; color: var(--text-color); font-family: var(--text-font); font-size: max(8px, var(--text-size)); font-style: var(--text-style); font-weight: var(--text-weight); text-align: var(--text-align); }

.outfit-collage-layer.text-layer.outlined span { -webkit-text-stroke: 1px rgb(255, 255, 255); paint-order: stroke; }

.outfit-tile img { display: block; }

.fab { position: fixed; right: 18px; bottom: calc(var(--bottom-nav-reserved) + 14px); z-index: 30; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: rgba(0, 0, 0, 0.82); background: rgb(168, 255, 0); box-shadow: rgba(91, 126, 20, 0.28) 0px 9px 20px; }

.screen:not([data-page="home"]) .fab { bottom: calc(var(--stacked-bottom-offset) + 58px); }

.fab:active { background: rgb(145, 230, 0); transform: translateY(1px); }

.fab svg { width: 22px; height: 22px; fill: none; stroke: currentcolor; stroke-width: 2; stroke-linecap: round; }

.tabbar { position: fixed; right: auto; bottom: calc(var(--bottom-nav-gap) + var(--safe-bottom)); left: calc((100vw - var(--app-width)) / 2 + (var(--app-width) - var(--nav-width)) / 2); z-index: 45; display: grid; grid-template-columns: repeat(var(--tab-count, 4), 1fr); width: var(--nav-width); min-height: 54px; padding: 6px; border: 1px solid rgba(0, 0, 0, 0.08); border-radius: 4px; background: rgba(255, 255, 255, 0.86); box-shadow: rgba(52, 65, 24, 0.14) 0px 16px 35px; backdrop-filter: blur(18px); transform: none; }

.tabbar[data-tab-count="5"] .nav-item { font-size: 13px; }

.nav-item { position: relative; display: grid; justify-items: center; align-content: center; gap: 3px; min-width: 0px; height: 42px; border-radius: 3px; color: rgba(0, 0, 0, 0.62); font-size: 14px; line-height: 1; font-weight: 850; letter-spacing: 0px; }

.nav-item.active { color: rgba(0, 0, 0, 0.84); background: rgb(168, 255, 0); }

.nav-item .badge { display: none; }

.calendar-head { display: flex; align-items: center; gap: 6px; padding: 6px 0px 4px; }

.calendar-stack { display: grid; gap: 14px; margin-top: 8px; }

.calendar-card { overflow: hidden; border-radius: 8px; background: var(--card); }

.calendar-card .calendar-head { padding: 12px 14px 6px; }

.calendar-month-summary { display: inline-flex; align-items: baseline; gap: 6px; min-height: 34px; padding: 0px 8px; border-radius: 8px; }

.calendar-month { font-weight: 800; font-size: 18px; }

.calendar-year { color: rgb(85, 89, 99); font-weight: 700; font-size: 15px; }

.calendar-month-nav, .calendar-today-button { display: inline-grid; place-items: center; height: 34px; border-radius: 8px; font-weight: 800; }

.calendar-month-nav { width: 34px; background: rgb(244, 245, 247); color: rgb(59, 63, 71); font-size: 18px; }

.calendar-today-button { margin-left: auto; padding: 0px 12px; background: rgb(168, 255, 0); color: rgba(0, 0, 0, 0.84); font-size: 13px; }

.calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0px, 1fr)); gap: 0px; margin-top: 4px; padding: 4px 0px 10px; }

.calendar-card .calendar-grid { padding: 4px 10px 14px; }

.weekday, .day-cell { display: grid; place-items: center; min-height: 38px; color: rgb(95, 98, 106); font-size: 13px; font-weight: 600; }

.weekday { min-height: 30px; color: rgb(165, 168, 176); font-size: 11px; }

.day-cell.other { color: rgb(200, 203, 209); }

.day-cell button { position: relative; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; }

.day-cell.selected button { color: rgb(255, 255, 255); background: var(--blue); }

.day-cell.has-record button::after { content: ""; position: absolute; width: 4px; height: 4px; margin-top: 21px; border-radius: 50%; background: currentcolor; }

.record-panel { min-height: 415px; margin: 0px -14px; padding: 14px; border-top: 1px solid rgb(238, 238, 239); background: rgb(255, 255, 255); }

.calendar-date-card, .calendar-card .record-panel { margin: 0px; padding: 14px; border-radius: 8px; border-top: 0px; background: var(--card); }

.calendar-record-card { min-height: auto; margin: 0px; border-top: 0px; }

.record-title { display: flex; align-items: center; justify-content: space-between; min-height: 28px; font-weight: 800; font-size: 16px; }

.record-title-actions { display: flex; gap: 8px; }

.soft-icon { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; color: rgb(188, 192, 199); background: rgb(242, 243, 245); }

.soft-icon svg { width: 14px; height: 14px; fill: none; stroke: currentcolor; stroke-width: 2; }

.empty-state { display: grid; place-items: center; align-content: center; min-height: 320px; text-align: center; }

.empty-state strong { color: rgb(76, 79, 87); font-size: 15px; line-height: 1.5; }

.empty-state span { color: rgb(180, 183, 191); font-size: 12px; }

.calendar-empty-actions { display: inline-flex; gap: 8px; justify-content: center; margin-top: 14px; }

.calendar-add-more-actions { display: flex; justify-content: flex-start; margin-top: 14px; }

.calendar-empty-actions button { min-width: 82px; height: 34px; padding: 0px 12px; border-radius: 8px; color: var(--text); background: rgba(255, 255, 255, 0.72); font-size: 12px; font-weight: 820; box-shadow: rgba(12, 20, 30, 0.05) 0px 0px 0px 1px inset; }

.calendar-empty-actions button:first-child { color: rgb(22, 56, 12); background: var(--accent); }

.calendar-linked-section { display: grid; gap: 10px; margin-top: 14px; }

.calendar-stack > .calendar-linked-section { margin-top: 0px; padding: 14px; border-radius: 8px; background: var(--card); }

.calendar-linked-section header { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--text); }

.calendar-linked-section header strong { font-size: 14px; font-weight: 850; }

.calendar-linked-section header span, .calendar-section-title span { color: var(--muted); font-size: 12px; font-weight: 750; }

.calendar-section-title { display: inline-flex; align-items: baseline; gap: 8px; }

.calendar-section-actions { display: inline-flex; align-items: center; gap: 6px; }

.calendar-section-actions button { min-width: 44px; height: 28px; padding: 0px 10px; border-radius: 7px; color: var(--text); background: rgba(255, 255, 255, 0.7); font-size: 12px; font-weight: 820; box-shadow: rgba(12, 20, 30, 0.06) 0px 0px 0px 1px inset; }

.history-refresh { min-width: 44px; height: 28px; padding: 0px 10px; border-radius: 7px; color: var(--text); background: rgba(255, 255, 255, 0.7); font-size: 12px; font-weight: 820; box-shadow: rgba(12, 20, 30, 0.06) 0px 0px 0px 1px inset; }

.history-event-list { display: grid; gap: 8px; }

.history-event { display: grid; grid-template-columns: 58px minmax(0px, 1fr); align-items: start; gap: 10px; padding: 11px 12px; border-radius: 8px; background: rgba(255, 255, 255, 0.68); box-shadow: rgba(12, 20, 30, 0.05) 0px 0px 0px 1px inset; }

.history-event time { color: var(--title-text); font-size: 13px; font-weight: 900; line-height: 1.5; }

.history-event span { color: var(--body-text); font-size: 13px; font-weight: 650; line-height: 1.5; }

.calendar-section-actions button.danger { color: rgb(180, 35, 24); }

.calendar-entry-strip, .calendar-history-list { display: grid; gap: 8px; }

.calendar-entry-card { display: grid; grid-template-columns: 62px minmax(0px, 1fr); align-items: center; gap: 12px; min-height: 78px; padding: 8px 10px; border-radius: 8px; background: rgba(255, 255, 255, 0.58); text-align: left; }

.calendar-entry-thumb { display: grid; place-items: center; width: 62px; height: 62px; overflow: hidden; border-radius: 7px; background: rgba(255, 255, 255, 0.52); }

.calendar-entry-thumb > img, .calendar-entry-thumb > .outfit-editorial-preview { width: 100%; height: 100%; }

.calendar-entry-thumb > img { object-fit: cover; }

.calendar-entry-thumb > .outfit-editorial-preview { aspect-ratio: auto; border-radius: 0px; box-shadow: none; }

.calendar-entry-copy { display: grid; gap: 5px; min-width: 0px; }

.calendar-entry-copy strong, .calendar-entry-copy small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.calendar-entry-copy strong { color: var(--text); font-size: 14px; font-weight: 850; }

.calendar-entry-copy small, .history-empty { color: var(--muted); font-size: 12px; font-weight: 700; }

.history-empty { margin: 0px; padding: 12px 10px; border-radius: 8px; background: rgba(255, 255, 255, 0.42); }

.settings-page { padding-bottom: 10px; }

.auth-screen { padding-bottom: 0px; }

.auth-page { display: grid; min-height: 100vh; place-items: center; padding: 24px; background: radial-gradient(circle at 50% 18%, rgba(168, 255, 0, 0.28), transparent 34%), linear-gradient(rgb(247, 247, 243), rgb(236, 238, 230)); }

.auth-card { width: min(420px, 100%); padding: 28px; border: 1px solid rgba(0, 0, 0, 0.08); border-radius: 8px; background: var(--card); box-shadow: rgba(0, 0, 0, 0.1) 0px 24px 60px; backdrop-filter: blur(18px); }

.auth-brand { display: grid; gap: 8px; margin-bottom: 24px; text-align: center; }

.auth-brand span { color: rgba(0, 0, 0, 0.62); font-size: 14px; font-weight: 800; }

.auth-brand strong { color: rgba(0, 0, 0, 0.82); font-size: 26px; line-height: 1.1; }

.auth-form { display: grid; gap: 14px; }

.auth-form label { display: grid; gap: 7px; color: rgba(0, 0, 0, 0.64); font-size: 13px; font-weight: 800; }

.auth-form input { min-height: 44px; border: 1px solid rgba(0, 0, 0, 0.08); border-radius: 4px; padding: 0px 12px; background: rgba(255, 255, 255, 0.9); }

.auth-submit { min-height: 46px; margin-top: 4px; border-radius: 4px; color: rgba(0, 0, 0, 0.82); background: rgb(168, 255, 0); font-size: 15px; font-weight: 900; }

.auth-mode-button { width: 100%; margin-top: 16px; color: rgba(0, 0, 0, 0.62); font-size: 13px; font-weight: 800; }

.auth-error { margin: -2px 0px 0px; color: rgba(200, 0, 0, 0.76); font-size: 12px; font-weight: 800; }

.admin-users-page { display: grid; gap: 14px; padding: 24px 0 calc(var(--bar-height) + 34px); }

.admin-users-hero, .admin-user-card { border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 8px; background: rgba(255, 255, 255, 0.54); box-shadow: rgba(38, 31, 25, 0.08) 0px 18px 44px; backdrop-filter: blur(16px); }

.admin-users-hero { display: grid; grid-template-columns: minmax(0px, 1fr) auto; align-items: end; gap: 18px; padding: 22px 22px 20px; }

.admin-users-hero span { color: rgba(0, 0, 0, 0.5); font-size: 12px; font-weight: 850; }

.admin-users-hero h1 { margin: 6px 0px 0px; color: rgba(0, 0, 0, 0.82); font-size: clamp(30px, 5vw, 48px); line-height: 1.04; font-weight: 880; letter-spacing: 0px; }

.admin-users-hero p { margin: 8px 0px 0px; color: rgba(0, 0, 0, 0.58); font-size: 13px; font-weight: 750; }

.admin-users-hero aside { display: grid; justify-items: end; color: rgba(0, 0, 0, 0.72); }

.admin-users-hero aside strong { color: rgba(0, 0, 0, 0.82); font-size: 56px; line-height: 0.9; font-weight: 520; }

.admin-users-hero aside small { margin-top: 6px; font-size: 13px; font-weight: 800; }

.admin-user-list { display: grid; gap: 10px; }

.admin-user-card { overflow: hidden; }

.admin-user-card header { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.42); }

.admin-user-card header div { display: grid; gap: 4px; min-width: 0px; }

.admin-user-card header strong { overflow: hidden; color: rgba(0, 0, 0, 0.8); font-size: 18px; font-weight: 860; text-overflow: ellipsis; white-space: nowrap; }

.admin-user-card header small { color: rgba(0, 0, 0, 0.48); font-size: 12px; font-weight: 800; }

.admin-user-card header span { flex: 0 0 auto; color: rgba(0, 0, 0, 0.62); font-size: 13px; font-weight: 850; }

.admin-user-card dl { display: grid; margin: 0px; }

.admin-user-field { display: grid; grid-template-columns: 88px minmax(0px, 1fr); align-items: center; min-height: 44px; padding: 0px 18px; border-top: 1px solid rgba(255, 255, 255, 0.36); }

.admin-user-field:first-child { border-top: 0px; }

.admin-user-field dt, .admin-user-field dd { margin: 0px; min-width: 0px; }

.admin-user-field dt { color: rgba(0, 0, 0, 0.54); font-size: 13px; font-weight: 820; }

.admin-user-field dd { overflow-wrap: anywhere; color: rgba(0, 0, 0, 0.76); font-size: 14px; font-weight: 760; text-align: right; }

.admin-user-field.password dd { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 13px; letter-spacing: 0px; }

.bb-settings-page { display: grid; gap: 12px; padding-top: 12px; }

.settings-panel-block h2 { margin: 0px 4px 6px; color: rgba(0, 0, 0, 0.8); font-size: 16px; font-weight: 850; }

.settings-group { margin-bottom: 10px; overflow: hidden; border-radius: 8px; background: var(--card); }

.stats-card { padding: 14px 12px 12px; }

.stats-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 13px; font-weight: 700; font-size: 14px; }

.stats-title > span { display: inline-flex; align-items: center; gap: 6px; min-width: 0px; }

.stats-title svg, .chev svg { width: 16px; height: 16px; flex: 0 0 auto; fill: none; stroke: currentcolor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }

.stat-number { font-weight: 800; font-size: 16px; line-height: 1.1; }

.stat-label { margin-top: 4px; color: rgb(151, 155, 164); font-size: 11px; }

.settings-row { display: grid; grid-template-columns: minmax(0px, 1fr) auto 18px; align-items: center; width: 100%; min-height: 48px; padding: 0 var(--edge-pad); gap: 6px; text-align: left; }

.settings-row + .settings-row { border-top: 1px solid rgb(243, 243, 244); }

.row-icon { color: rgb(111, 115, 123); }

.row-icon svg { width: 16px; height: 16px; stroke-width: 1.9; }

.row-label { overflow: hidden; font-size: 14px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }

.row-value { display: inline-flex; align-items: center; justify-content: flex-end; gap: 4px; color: rgb(160, 164, 173); font-size: 13px; white-space: nowrap; }

.settings-row .chev { color: rgb(196, 199, 206); font-size: 20px; line-height: 1; }

.settings-row .chev svg { width: 16px; height: 16px; }

.settings-row[data-action="logout"] .row-label { color: rgb(230, 75, 75); }

.upgrade-pill { min-width: 48px; padding: 5px 10px; border-radius: 999px; color: rgb(255, 255, 255); background: var(--blue); font-size: 12px; font-weight: 700; }

.red-dot { display: inline-block; width: 5px; height: 5px; margin-right: 4px; border-radius: 50%; background: rgb(255, 66, 66); }

.modal-backdrop { position: fixed; inset: 0px; z-index: 50; display: grid; place-items: center; padding: 16px; background: rgba(0, 0, 0, 0.28); }

.image-preview-backdrop { z-index: 80; padding: 0px; background: rgba(0, 0, 0, 0.86); }

.image-preview-panel { position: relative; display: grid; place-items: center; width: 100%; height: 100%; padding: 24px; }

.image-preview-panel img { max-width: 100%; max-height: calc(100vh - 112px - var(--safe-bottom)); object-fit: contain; }

.image-preview-panel video { max-width: 100%; max-height: calc(100vh - 112px - var(--safe-bottom)); object-fit: contain; }

.image-preview-actions { position: fixed; right: 18px; bottom: calc(18px + var(--safe-bottom)); display: flex; gap: 10px; }

.image-preview-save { min-width: 70px; min-height: 38px; padding: 0px 18px; border: 1px solid rgba(255, 255, 255, 0.82); border-radius: 999px; color: rgb(255, 255, 255); background: rgba(0, 0, 0, 0.42); font-size: 15px; font-weight: 800; }

.action-sheet { width: min(100%, 162px); padding: 13px 9px 8px; border-radius: 14px; background: rgb(255, 255, 255); box-shadow: rgba(0, 0, 0, 0.16) 0px 18px 45px; }

.calendar-alert-backdrop { place-items: center; padding: 16px; }

.calendar-action-sheet { display: grid; gap: 12px; width: min(520px, 100% - 24px); padding: 34px 32px 30px; border-radius: 32px; background: rgb(248, 248, 248); box-shadow: rgba(0, 0, 0, 0.16) 0px 18px 42px; }

.calendar-sheet-title { margin-bottom: 14px; text-align: center; font-size: 25px; font-weight: 760; }

.calendar-sheet-option { min-height: 54px; border-radius: 26px; background: rgb(222, 222, 222); color: rgb(34, 36, 42); font-size: 25px; font-weight: 650; text-align: center; }

.sheet-title { margin-bottom: 8px; text-align: center; font-weight: 800; font-size: 12px; }

.sheet-action { display: block; width: 100%; height: 21px; margin-top: 5px; border-radius: 999px; background: rgb(227, 227, 228); color: rgb(63, 66, 73); font-size: 11px; font-weight: 650; }

.sheet-action.cancel { margin-top: 8px; background: rgb(241, 241, 242); }

.editor-card { width: min(100%, 430px); max-height: min(88vh, 720px); overflow: auto; border-radius: 12px; background: rgb(255, 255, 255); box-shadow: var(--shadow); }

.editor-head { position: sticky; top: 0px; z-index: 1; display: grid; grid-template-columns: 70px 1fr 70px; align-items: center; min-height: 50px; padding: 0px 12px; border-bottom: 1px solid rgb(241, 241, 242); background: rgb(255, 255, 255); }

.editor-head strong { text-align: center; font-size: 16px; }

.editor-head button { color: var(--blue); font-weight: 700; }

.editor-head button:first-child { justify-self: start; color: rgb(106, 110, 119); }

.editor-form { padding: 14px 14px 18px; }

.refined-option-editor { width: min(92vw, 460px); border-radius: 14px; }

.option-editor-body { display: grid; gap: 12px; padding: 14px; background: rgb(248, 248, 248); }

.option-edit-field, .option-sync-card { display: grid; gap: 8px; padding: 12px; border-radius: 10px; background: rgb(255, 255, 255); }

.option-edit-caption { color: rgba(0, 0, 0, 0.5); font-size: 12px; font-weight: 800; }

.option-edit-input-wrap { display: grid; grid-template-columns: auto minmax(0px, 1fr); align-items: center; gap: 10px; }

.option-edit-input-wrap .wide-input { min-height: 44px; padding: 0px; background: transparent; font-size: 18px; font-weight: 850; }

.option-edit-swatch { width: 24px; height: 24px; border-radius: 999px; background: var(--dot); box-shadow: rgba(0, 0, 0, 0.12) 0px 0px 0px 1px inset; }

.option-sync-card { grid-template-columns: minmax(0px, 1fr) auto; align-items: center; }

.option-sync-card span { display: grid; gap: 3px; }

.option-sync-card strong { font-size: 13px; font-weight: 900; }

.option-sync-card small { color: rgba(0, 0, 0, 0.48); font-size: 11px; font-weight: 700; }

.photo-box { display: grid; place-items: center; width: 112px; height: 112px; margin: 0px auto 14px; overflow: hidden; border-radius: 8px; color: rgb(200, 203, 210); background: rgb(246, 246, 247); }

.photo-box img { width: 100%; height: 100%; object-fit: cover; }

.photo-box svg { width: 31px; height: 31px; fill: none; stroke: currentcolor; stroke-width: 1.5; }

.form-row { display: grid; grid-template-columns: 84px minmax(0px, 1fr); align-items: center; min-height: 46px; padding: 0 var(--edge-pad); border-top: 1px solid rgb(242, 242, 243); }

button.form-row { width: 100%; text-align: left; }

.form-row label { color: rgb(116, 120, 130); font-size: 14px; font-weight: 650; }

.form-row .field-label { color: rgb(116, 120, 130); font-size: 14px; font-weight: 650; }

.form-row .field-value { min-width: 0px; color: var(--text); text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.form-row input, .form-row select, .form-row textarea { width: 100%; min-width: 0px; border: 0px; border-radius: 7px; background: transparent; color: var(--text); text-align: right; }

.form-row textarea { min-height: 70px; padding: 12px 0px; resize: vertical; }

.form-row input[type="date"] { text-align: right; }

.form-row input[type="date"]::-webkit-date-and-time-value { display: block; width: 100%; margin: 0px; text-align: right; }

.toast { position: fixed; left: 50%; bottom: calc(var(--bottom-nav-reserved) + 68px); z-index: 70; transform: translateX(-50%); min-width: 156px; max-width: calc(-40px + 100vw); padding: 10px 15px; border-radius: 999px; color: rgb(255, 255, 255); background: rgba(33, 35, 42, 0.86); text-align: center; font-size: 13px; box-shadow: rgba(0, 0, 0, 0.18) 0px 12px 30px; }

.search-box { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-bottom: 12px; padding: 8px; border-radius: 8px; background: rgb(255, 255, 255); }

.search-box input { min-width: 0px; height: 34px; border: 0px; border-radius: 6px; padding: 0px 10px; background: rgb(244, 244, 245); }

.search-box button { width: 58px; border-radius: 6px; color: rgb(255, 255, 255); background: var(--blue); font-weight: 700; }

.list-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: 10px; }

.full-page > .list-grid:first-of-type, .full-page > .home-grid:first-of-type, .full-page > .category-subgrid:first-of-type { margin-top: 24px; }

.list-card { position: relative; overflow: hidden; border-radius: 8px; background: rgb(255, 255, 255); }

.list-card .preview { aspect-ratio: 1 / 1; background: rgb(245, 245, 246); }

.list-card > .preview > img { width: 100%; height: 100%; object-fit: cover; }

.list-card strong { display: block; padding: 9px 10px 3px; font-size: 14px; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.list-card span { display: block; padding: 0px 10px 10px; color: rgb(155, 160, 168); font-size: 12px; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.list-card[draggable="true"] { cursor: grab; }

.list-card.dragging, .manager-row.dragging { opacity: 0.42; }

.list-card.long-dragging { z-index: 140; opacity: 0.92; cursor: grabbing; pointer-events: none; transform: translate3d(var(--drag-x, 0px), var(--drag-y, 0px), 0) scale(.98); box-shadow: rgba(0, 0, 0, 0.24) 0px 18px 38px; }

.list-card.drag-over-target { outline: 2px solid var(--blue); outline-offset: -2px; }

.list-card.selected { outline: 2px solid var(--blue); outline-offset: -2px; }

.item-detail-page { display: grid; gap: 12px; padding: 0 12px var(--dual-bottom-reserved); }

.item-hero-preview { min-height: min(72vh, 760px); }

.image-preview-trigger { display: grid; place-items: center; width: 100%; height: 100%; min-height: inherit; padding: 0px; border-radius: inherit; }

.image-preview-trigger svg { width: 54px; height: 54px; color: var(--faint); fill: none; stroke: currentcolor; }

.item-hero-preview img { max-width: 82%; max-height: 70vh; object-fit: contain; }

.inspiration-hero-preview { display: grid; place-items: center; min-height: min(58vh, 620px); overflow: hidden; border-radius: 8px; background: rgb(255, 255, 255); }

.inspiration-hero-preview img { width: 100%; height: 100%; max-height: min(58vh, 620px); object-fit: contain; }

.item-detail-fields { display: grid; gap: 10px; }

.item-field-group { margin: 0px; }

.item-detail-row { display: grid; grid-template-columns: 86px minmax(0px, 1fr) 18px; align-items: center; width: 100%; min-height: 48px; padding: 0 var(--edge-pad); gap: 8px; text-align: left; }

.item-detail-row.editable-row { grid-template-columns: 86px minmax(0px, 1fr); }

.item-detail-row + .item-detail-row { border-top: 1px solid var(--line); }

.item-detail-row .field-label, .item-note-card .field-label { color: var(--muted); font-size: 13px; font-weight: 760; }

.item-detail-row .field-value { min-width: 0px; color: var(--text); font-size: 13px; font-weight: 760; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.item-detail-input { min-width: 0px; width: 100%; min-height: 42px; border: 0px; outline: 0px; color: var(--text); background: transparent; font-size: 13px; font-weight: 760; text-align: right; }

.item-detail-input::placeholder { color: var(--muted); }

.item-detail-input[type="number"] { }

.item-detail-input[type="number"]::-webkit-outer-spin-button, .item-detail-input[type="number"]::-webkit-inner-spin-button { margin: 0px; appearance: none; }

.item-detail-row select.item-detail-input { appearance: none; padding-right: 0px; }

.item-inline-selects { display: grid; grid-template-columns: minmax(0px, 1fr) minmax(0px, 1fr); gap: 8px; }

.item-inline-selects select { min-height: 34px; padding: 0px 8px; border-radius: 7px; background: rgba(255, 255, 255, 0.5); }

.editable-note-card { display: grid; gap: 8px; padding: 10px; }

.editable-note-card textarea { min-height: 70px; border: 0px; outline: 0px; resize: vertical; color: var(--text); background: transparent; font-size: 13px; line-height: 1.45; }

.item-detail-row .field-value.empty { color: var(--muted); }

.item-detail-row .chev { color: var(--muted); }

.item-detail-row .chev svg, .item-relation-head svg { width: 14px; height: 14px; fill: none; stroke: currentcolor; stroke-width: 1.9; }

.item-note-card { display: grid; gap: 6px; min-height: 70px; margin: 0px; padding: 11px 10px; text-align: left; }

.item-note-card small { color: var(--muted); font-size: 12px; line-height: 1.45; }

.item-wear-stats { display: grid; gap: 12px; margin: 0px; padding: 14px; }

.item-wear-stats header { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }

.item-wear-stats header strong { color: var(--text); font-size: 14px; font-weight: 860; }

.item-wear-stats header span { color: var(--muted); font-size: 12px; font-weight: 700; }

.item-wear-stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0px, 1fr)); gap: 8px; }

.item-wear-stat { display: grid; gap: 4px; min-width: 0px; padding: 10px; border-radius: 8px; background: rgba(255, 255, 255, 0.5); }

.item-wear-stat small, .item-wear-stat em { min-width: 0px; overflow: hidden; color: var(--muted); font-size: 11px; font-style: normal; font-weight: 720; text-overflow: ellipsis; white-space: nowrap; }

.item-wear-stat strong { min-width: 0px; overflow: hidden; color: var(--text); font-size: 18px; font-weight: 900; text-overflow: ellipsis; white-space: nowrap; }

.item-wear-history { display: grid; overflow: hidden; border-radius: 8px; background: rgba(255, 255, 255, 0.32); }

.item-wear-history-row { display: grid; grid-template-columns: 92px minmax(0px, 1fr) auto; align-items: center; gap: 8px; min-height: 40px; padding: 0px 10px; color: var(--text); text-align: left; }

.item-wear-history-row + .item-wear-history-row { border-top: 1px solid var(--line); }

.item-wear-history-row span, .item-wear-history-row small { color: var(--muted); font-size: 12px; font-weight: 720; }

.item-wear-history-row strong { min-width: 0px; overflow: hidden; font-size: 13px; font-weight: 820; text-overflow: ellipsis; white-space: nowrap; }

.item-wear-empty { margin: 0px; padding: 6px 0px 2px; color: var(--muted); font-size: 12px; line-height: 1.45; }

.item-relation-card { margin: 0px; padding: 0px 10px 12px; }

.item-relation-head { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 44px; color: var(--text); font-size: 13px; font-weight: 800; }

.item-relation-head span:last-child { display: inline-flex; align-items: center; gap: 2px; color: var(--muted); }

.item-relation-strip { display: flex; gap: 10px; overflow-x: auto; }

.item-relation-strip button { flex: 0 0 auto; width: 54px; height: 72px; overflow: hidden; border-radius: 5px; background: var(--field); }

.item-relation-strip img { width: 100%; height: 100%; object-fit: cover; }

.detail-actionbar { position: fixed; left: 0px; right: 0px; bottom: var(--stacked-bottom-offset); z-index: 24; display: grid; grid-template-columns: repeat(4, 1fr); min-height: calc(56px + var(--safe-bottom)); padding-bottom: var(--safe-bottom); background: rgba(255, 255, 255, 0.96); border-top: 1px solid rgb(238, 238, 239); backdrop-filter: blur(18px); }

.detail-actionbar button { color: var(--text); font-size: 12px; font-weight: 800; }

.selection-mark { position: absolute; right: 9px; top: 9px; place-items: center; width: 23px; height: 23px; border-radius: 50%; border: 2px solid rgba(91, 110, 255, 0.9); background: rgba(255, 255, 255, 0.92); box-shadow: rgba(43, 76, 255, 0.2) 0px 2px 8px; font-weight: 900; display: grid !important; padding: 0px !important; color: rgb(255, 255, 255) !important; font-size: 13px !important; }

.selection-mark.checked { border-color: rgb(255, 255, 255); background: var(--blue); }

@media (min-width: 860px) {
  body { display: grid; place-items: start center; }
  .app-shell { width: min(100vw, 980px); min-height: 100vh; border-right: 1px solid rgb(239, 239, 240); border-left: 1px solid rgb(239, 239, 240); }
  .tabbar { left: calc((100vw - var(--app-width)) / 2 + (var(--app-width) - var(--nav-width)) / 2); right: auto; width: var(--nav-width); transform: none; }
  .main-scroll { padding-right: var(--edge-pad); padding-left: var(--edge-pad); }
  .category-card { min-height: 132px; }
  .tile-row { grid-template-columns: repeat(auto-fill, 78px); grid-auto-rows: 78px; }
  .empty-tile, .item-tile, .outfit-tile, .inspiration-tile { width: 78px; height: 78px; }
}

@media (prefers-color-scheme: dark) {
  :root { color-scheme: dark; --ink-rgb: 0 0 0; --canvas: #f7f7f7; --card: #ffffff; --field: #f4f4f4; --line: #ededed; --text: var(--title-text); --muted: var(--body-text); --faint: var(--faint-text); }
  .topbar, .tabbar { background: rgba(247, 247, 247, 0.92); }
  .tabbar { background: rgba(255, 255, 255, 0.86); }
  .icon-button:hover, .sublist-button, .soft-icon, .settings-group, .record-panel, .editor-head, .editor-card, .search-box, .list-card, .action-sheet { background: var(--card); }
  .empty-tile, .item-tile, .outfit-tile, .inspiration-tile, .photo-box, .search-box input { background: var(--field); }
  .sheet-action { background: rgb(227, 227, 228); color: var(--body-text); }
}

.page-scroll { padding: 0 0 calc(var(--bottom-nav-reserved) + 28px); }

.full-page { min-height: calc(100vh - var(--bottom-nav-reserved)); background: var(--canvas); }

.page-topbar { position: sticky; top: 0px; z-index: 80; display: grid; grid-template-columns: auto minmax(0px, 1fr) auto; align-items: center; gap: 10px; min-height: 64px; padding: 12px 12px 8px; background: color-mix(in srgb, var(--card), transparent 8%); backdrop-filter: blur(18px); }

.screen[data-page="category-subpage"] .page-topbar { position: sticky; top: 0px; z-index: 90; box-shadow: rgba(25, 29, 38, 0.08) 0px 10px 26px; }

.page-topbar strong { min-width: 0px; text-align: center; font-size: 15px; font-weight: 800; }

.plain-back { justify-self: start; width: auto; min-height: 32px; padding: 0px 10px; border-radius: 4px; color: rgba(0, 0, 0, 0.82); background: rgb(168, 255, 0); font-size: 13px; font-weight: 850; line-height: 1; box-shadow: rgba(116, 175, 0, 0.18) 0px 4px 12px; }

.plain-back.cancel-back { width: auto; padding: 0px 10px; color: rgba(0, 0, 0, 0.82); font-size: 13px; font-weight: 850; }

.plain-back.close-back { width: auto; padding: 0px 10px; font-size: 13px; font-weight: 850; }

.page-right { display: flex; justify-content: flex-end; align-items: center; gap: 8px; min-width: 0px; }

.text-button { color: var(--blue); font-weight: 750; font-size: 13px; }

.page-topbar .text-button, .primary-text-button { min-height: 32px; padding: 0px 12px; border-radius: 4px; color: rgba(0, 0, 0, 0.82); background: rgb(168, 255, 0); font-weight: 850; box-shadow: rgba(116, 175, 0, 0.18) 0px 4px 12px; }

.page-topbar .danger-text-button { min-height: 32px; padding: 0px 12px; border-radius: 4px; color: rgba(128, 28, 28, 0.9); background: rgba(255, 255, 255, 0.62); font-weight: 850; box-shadow: rgba(60, 20, 20, 0.08) 0px 4px 12px; }

.compact-icon { width: 30px; height: 30px; }

.home-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 10px; }

.category-subgrid { margin: 18px 12px 0px; }

.home-grid .category-card { min-height: 156px; }

.home-grid .tile-row { grid-template-columns: 1fr; grid-auto-rows: 108px; }

.home-grid .empty-tile, .home-grid .item-tile, .home-grid .outfit-tile, .home-grid .inspiration-tile { width: 100%; height: 108px; }

.screen[data-screen="outfits"][data-page="home"] .main-scroll { padding-top: 24px; }

.screen[data-screen][data-page="home"] { position: relative; min-height: 100vh; overflow-x: hidden; background-image: ; background-repeat: ; background-origin: ; background-clip: ; background-color: ; background-size: cover; background-position: center center; background-attachment: fixed; }

.screen[data-screen][data-page="home"] .topbar { position: relative; top: auto; width: min(860px, 100% - 28px); min-height: 54px; margin: 22px auto 0px; padding: 10px 18px; grid-template-columns: 120px minmax(0px, 1fr) 120px; gap: 10px; border: 1px solid rgba(255, 255, 255, 0.56); background: rgba(255, 255, 255, 0.82); box-shadow: rgba(38, 31, 25, 0.12) 0px 14px 35px; backdrop-filter: blur(16px); }

.screen[data-screen="settings"][data-page="home"] .topbar { position: relative; top: auto; width: min(860px, 100% - 28px); min-height: 54px; margin: 22px auto 0px; padding: 10px 18px; grid-template-columns: 120px minmax(0px, 1fr) 120px; gap: 10px; border: 1px solid rgba(255, 255, 255, 0.46); background: rgba(255, 255, 255, 0.82); box-shadow: rgba(38, 31, 25, 0.1) 0px 14px 35px; backdrop-filter: blur(16px); }

.screen[data-screen][data-page="home"] .top-settings-button { justify-self: start; color: rgba(0, 0, 0, 0.72); }

.screen[data-screen][data-page="home"] .title-button, .screen[data-screen="calendar"][data-page="home"] .topbar-title, .screen[data-screen="settings"][data-page="home"] .topbar-title, .screen[data-screen="users"][data-page="home"] .topbar-title { justify-self: center; justify-content: center; min-width: 160px; min-height: 32px; padding: 0px 18px; border-radius: 4px; background: rgb(168, 255, 0); font-size: 13px; font-weight: 850; color: rgba(0, 0, 0, 0.8) !important; }

.screen[data-screen][data-page="home"] .title-button::after { border-top-color: rgba(0, 0, 0, 0.7); }

.screen[data-screen][data-page="home"] .toolbar-actions { justify-self: end; }

.screen[data-screen][data-page="home"] .icon-button { color: rgba(0, 0, 0, 0.78); border-radius: 4px; }

.screen[data-screen][data-page="home"] .icon-button:hover { background: rgba(0, 0, 0, 0.06); }

.screen[data-screen][data-page="home"] .main-scroll { width: min(860px, calc(100% - (var(--edge-pad) * 2))); margin: 0px auto; padding: 0 0 calc(var(--bottom-nav-reserved) + 30px); }

.screen[data-screen="inspiration"][data-page="home"] .main-scroll { padding-top: 24px; }

.screen[data-screen="inspiration"][data-page="home"] .memory-home { padding-top: 0px; }

.memory-home { position: relative; min-height: calc(-160px + 100vh); padding: 28px 14px; }

.memory-photo-bg { position: fixed; inset: 0px; z-index: -2; overflow: hidden; pointer-events: none; }

.memory-photo-bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(14px) saturate(0.85); opacity: 0.56; transform: scale(1.08); }

.memory-hero { display: grid; grid-template-columns: minmax(0px, 1fr) auto; align-items: end; gap: 22px; padding: 22px 16px 36px; color: rgba(0, 0, 0, 0.8); }

.memory-hero h1 { margin: 0px; text-align: center; font-size: clamp(34px, 5vw, 54px); line-height: 1.05; font-weight: 850; letter-spacing: 0px; color: rgba(0, 0, 0, 0.8); }

.memory-hero p { margin: 8px 0px 0px; text-align: center; font-size: 13px; font-weight: 700; color: rgba(0, 0, 0, 0.62); }

.memory-hero aside { display: grid; grid-template-columns: auto auto auto; align-items: baseline; gap: 5px; min-width: 148px; color: rgba(0, 0, 0, 0.72); }

.memory-hero aside span, .memory-hero aside em { font-size: 14px; font-style: normal; font-weight: 700; }

.memory-hero aside strong { font-size: clamp(48px, 7vw, 72px); line-height: 0.92; font-weight: 500; color: rgba(0, 0, 0, 0.82); }

.memory-category-list { display: grid; gap: 12px; }

.memory-category-row { position: relative; min-height: 88px; border-radius: 6px; overflow: hidden; background: rgba(255, 255, 255, 0.31); box-shadow: rgba(255, 255, 255, 0.18) 0px 1px 0px inset; backdrop-filter: blur(10px); }

.memory-category-main { display: grid; grid-template-columns: minmax(0px, 1fr) auto; align-items: center; gap: 12px; width: 100%; min-height: 88px; padding: 16px 64px 16px 26px; text-align: left; }

.memory-thumb { display: grid; place-items: center; width: 40px; height: 40px; overflow: hidden; border-radius: 3px; color: rgba(0, 0, 0, 0.42); background: rgba(255, 255, 255, 0.34); }

.memory-thumb img { width: 100%; height: 100%; object-fit: cover; }

.memory-thumb svg { width: 20px; height: 20px; fill: none; stroke: currentcolor; stroke-width: 1.8; }

.memory-row-copy { display: grid; gap: 8px; min-width: 0px; }

.memory-row-copy strong { color: rgba(0, 0, 0, 0.78); font-size: 24px; line-height: 1.05; font-weight: 850; }

.memory-row-copy small { overflow: hidden; color: rgba(0, 0, 0, 0.55); font-size: 13px; line-height: 1.16; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }

.memory-row-count { display: inline-flex; align-items: baseline; gap: 3px; color: rgba(0, 0, 0, 0.78); font-size: 30px; line-height: 1; font-weight: 500; }

.memory-row-menu { position: absolute; top: 50%; right: 12px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 4px; color: rgba(0, 0, 0, 0.52); transform: translateY(-50%); }

.memory-row-menu:hover { background: rgba(255, 255, 255, 0.32); }

.memory-row-menu svg { width: 17px; height: 17px; fill: none; stroke: currentcolor; stroke-width: 2; }

.memory-hidden-note { margin: 8px 0px 0px; color: rgba(0, 0, 0, 0.48); font-size: 12px; font-weight: 700; }

.screen[data-screen][data-page="home"] .fab { color: rgba(0, 0, 0, 0.82); background: rgb(168, 255, 0); border-radius: 4px; box-shadow: rgba(55, 70, 25, 0.22) 0px 12px 26px; }

.category-title { text-align: left; }

.sortbar { position: sticky; top: 64px; z-index: 8; display: flex; align-items: center; gap: 8px; min-height: 39px; padding: 0px 14px 6px; background: var(--canvas); }

.sortbar > button:first-child { color: rgb(111, 115, 123); font-size: 12px; font-weight: 750; }

.sortbar-spacer { flex: 1 1 0%; }

.list-top-actions { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }

.top-action-pill { display: inline-grid; grid-template-columns: 14px auto; align-items: center; gap: 4px; min-height: 30px; padding: 0px 8px; border-radius: 8px; color: rgba(0, 0, 0, 0.66); background: rgba(255, 255, 255, 0.74); font-size: 11px; font-weight: 850; }

.top-action-pill svg { width: 14px; height: 14px; fill: none; stroke: currentcolor; stroke-width: 2; }

.empty-page { display: grid; place-items: center; align-content: center; min-height: calc(-220px + 100vh); text-align: center; }

.empty-page strong { color: rgb(76, 79, 87); font-size: 15px; }

.empty-page span { margin-top: 7px; color: var(--muted); font-size: 12px; }

.selection-toolbar { position: fixed; right: 0px; bottom: var(--stacked-bottom-offset); left: 0px; z-index: 35; display: grid; grid-template-columns: repeat(4, 1fr); min-height: 62px; padding: 0px; background: rgba(255, 255, 255, 0.96); border-top: 1px solid rgb(238, 238, 239); backdrop-filter: blur(18px); }

.selection-toolbar button { display: grid; place-items: center; min-height: 62px; padding: 0px; color: rgb(163, 167, 175); font-size: 12px; font-weight: 700; }

.panel-list { margin: 0px 12px 10px; }

.panel-list h3 { margin: 0px; padding: 14px 12px 8px; color: rgb(91, 94, 102); font-size: 13px; }

.switch-row { grid-template-columns: minmax(0px, 1fr) auto; align-items: center; }

.switch-row .row-label { display: grid; gap: 3px; white-space: normal; }

.switch-row small { color: var(--muted); font-size: 11px; font-weight: 600; }

.switch { position: relative; justify-self: end; width: 41px; height: 24px; border-radius: 999px; background: rgb(225, 226, 230); transition: background 0.18s; }

.screen[data-screen="settings"] .full-page { min-height: auto; padding-bottom: calc(var(--bottom-nav-reserved) + 24px); }

.display-settings-page .panel-list { margin-right: 0px; margin-left: 0px; padding: 2px 0px; }

.display-settings-page { display: grid; align-content: start; gap: 12px; width: min(520px, 100% - 24px); max-width: 100%; margin: 14px auto 0px; padding: 0 0 calc(var(--bottom-nav-reserved) + 18px); }

.display-settings-page .subsection { margin: 0px; }

.full-page > .settings-group:first-of-type, .full-page > .detail-page:first-of-type, .full-page > .option-form-page:first-of-type, .full-page > .web-import-page:first-of-type, .full-page > .search-page:first-of-type, .full-page > .form-page:first-of-type { margin-top: 12px; }

.option-form-page { width: 100%; gap: 14px; margin: 0px auto; padding: 2px 12px 20px; }

.option-form-page .tiny-photo { width: 38px; height: 38px; margin: 0px; border-radius: 7px; }

.option-native-form { gap: 14px; }

.option-inline-row { display: grid; grid-template-columns: 44px minmax(0px, 1fr); align-items: center; gap: 10px; }

.option-inline-input { min-height: 38px; padding: 0px 12px; border: 0px; border-radius: 8px; background: var(--field); color: var(--body-text); text-align: left; }

.option-inline-input::placeholder { color: var(--caption-text); }

.option-sync-row { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 46px; color: var(--muted); font-size: 13px; font-weight: 650; border-top: 0px; }

.switch span { position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: rgb(255, 255, 255); box-shadow: rgba(0, 0, 0, 0.12) 0px 2px 7px; transition: transform 0.18s; }

.switch.on { background: var(--blue); }

.switch.on span { transform: translateX(17px); }

.section-head { display: flex; align-items: center; justify-content: space-between; padding: 2px 14px 7px; }

.section-head h3, .filter-section h3, .web-import-page h3 { margin: 0px; color: rgb(85, 89, 99); font-size: 12px; font-weight: 800; }

.section-head button { color: rgb(143, 147, 155); font-size: 12px; font-weight: 750; }

.compact-rows .settings-row { min-height: 39px; }

.drag-row { grid-template-columns: minmax(0px, 1fr) auto; }

.drag-handle { color: rgb(201, 204, 211); font-size: 18px; font-weight: 900; }

.check-row { grid-template-columns: 26px minmax(0px, 1fr) auto; }

.fake-checkbox { place-items: center; width: 18px; height: 18px; border-radius: 4px; border: 1.5px solid rgb(205, 209, 216); background: rgb(255, 255, 255); font-weight: 900; display: grid !important; padding: 0px !important; color: rgb(255, 255, 255) !important; font-size: 12px !important; }

.fake-checkbox.checked { border-color: var(--blue); background: var(--blue); }

.manager-list { margin: 0px 12px; padding-bottom: 0px; }

.manager-row { display: grid; grid-template-columns: minmax(0px, 1fr) 40px; align-items: center; min-height: 42px; border-top: 1px solid rgb(243, 243, 244); }

.manager-row.with-chevron { grid-template-columns: minmax(0px, 1fr) 40px 20px; }

.inline-actions-row, .inline-editing-row { grid-template-columns: minmax(0px, 1fr) auto auto; gap: 6px; padding-right: 8px; }

.inline-editing-row { padding-top: 4px; padding-bottom: 4px; }

.inline-actions-row .manager-main-button { min-width: 0px; }

.manager-row[draggable="true"] { cursor: grab; }

.manager-row[draggable="true"] .drag-handle { cursor: grab; touch-action: none; user-select: none; }

.manager-row:first-child { border-top: 0px; }

.manager-row > button:first-child { display: grid; grid-template-columns: 24px minmax(0px, 1fr) auto; align-items: center; min-height: 42px; padding: 0px 6px 0px 12px; gap: 8px; text-align: left; }

.wardrobe-list .manager-row { grid-template-columns: minmax(0px, 1fr) auto auto; gap: 6px; padding-right: 8px; }

.wardrobe-list .manager-row.editing { grid-template-columns: minmax(0px, 1fr) auto auto; padding: 4px 8px 4px 0px; }

.wardrobe-list .manager-row > button:first-child { grid-template-columns: minmax(0px, 1fr) auto; }

.wardrobe-inline-field { min-width: 0px; padding-left: 12px; }

.wardrobe-inline-field input { width: 100%; min-height: 34px; border: 0px; border-radius: 4px; padding: 0px 10px; color: var(--title-text); background: rgba(255, 255, 255, 0.74); font-size: 14px; font-weight: 800; outline: none; }

.wardrobe-inline-field input:focus { box-shadow: rgb(168, 255, 0) 0px 0px 0px 2px inset; }

.mini-text { min-width: 38px; min-height: 26px; padding: 0px 8px; border-radius: 4px; color: rgba(0, 0, 0, 0.62); background: rgba(0, 0, 0, 0.043); font-size: 12px; font-weight: 800; }

.mini-text.primary { color: rgba(0, 0, 0, 0.82); background: rgb(168, 255, 0); }

.mini-text.danger { color: rgb(230, 75, 75); }

.mini-text:disabled { color: rgba(0, 0, 0, 0.24); }

.mini-more { display: grid; place-items: center; width: 26px; height: 24px; margin-right: 10px; border-radius: 6px; color: rgb(168, 171, 178); background: rgb(240, 241, 243); }

.manager-row.with-chevron .mini-more { margin-right: 0px; }

.mini-more svg { width: 15px; height: 15px; fill: none; stroke: currentcolor; stroke-width: 2; }

.manager-chevron { display: grid; place-items: center; width: 20px; height: 100%; color: var(--faint); }

.manager-chevron svg { width: 15px; height: 15px; fill: none; stroke: currentcolor; stroke-width: 2; }

.segmented { display: flex; align-items: center; gap: 8px; }

.segmented button { min-width: 70px; min-height: 30px; padding: 0px 13px; border-radius: 999px; color: rgb(125, 129, 138); background: rgb(240, 241, 243); font-size: 12px; font-weight: 800; }

.segmented button.active { color: rgba(0, 0, 0, 0.8); background: var(--blue); }

.segmented.compact { padding: 10px 0px 0px; }

.manager-tabs { width: min(520px, 100% - 24px); margin: 12px auto 10px; padding: 6px; border-radius: 8px; background: var(--glass-card); box-shadow: var(--glass-shadow); backdrop-filter: blur(18px); }

.manager-tabs button { flex: 1 1 0px; border-radius: 4px; }

.fixed-bottom { position: fixed; left: 50%; bottom: var(--stacked-bottom-offset); z-index: 26; transform: translateX(-50%); padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.92); box-shadow: rgba(0, 0, 0, 0.08) 0px 10px 28px; backdrop-filter: blur(18px); }

.web-import-page, .search-page, .form-page, .detail-page { padding: 0 12px calc(var(--bottom-nav-reserved) + 24px); }

.web-import-page, .search-full-page { padding-bottom: var(--dual-bottom-reserved); }

.currency-page, .outfit-detail-page { padding: 0 12px var(--dual-bottom-reserved); }

.currency-search { display: grid; grid-template-columns: 20px 1fr; align-items: center; gap: 8px; min-height: 36px; margin-bottom: 12px; padding: 0px 10px; border-radius: 7px; color: var(--muted); background: var(--field); }

.currency-search svg { width: 16px; height: 16px; fill: none; stroke: currentcolor; stroke-width: 1.8; }

.currency-search input { min-width: 0px; height: 34px; border: 0px; background: transparent; color: var(--text); }

.currency-list { display: grid; gap: 2px; }

.currency-row { display: grid; grid-template-columns: 34px minmax(0px, 1fr) 26px; align-items: center; gap: 10px; min-height: 48px; text-align: left; }

.currency-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 999px; color: rgba(0, 0, 0, 0.78); background: var(--card); box-shadow: rgba(0, 0, 0, 0.08) 0px 0px 0px 1px inset; font-size: 13px; font-weight: 900; }

.currency-copy strong, .currency-copy small { display: block; }

.currency-copy strong { font-size: 13px; }

.currency-copy small { color: var(--muted); font-size: 11px; }

.radio-dot { justify-self: end; width: 16px; height: 16px; border-radius: 999px; border: 2px solid var(--faint); }

.radio-dot.checked { border-color: var(--blue); box-shadow: inset 0 0 0 3px var(--card); background: var(--blue); }

.outfit-hero-preview { position: relative; display: grid; place-items: center; min-height: min(72vh, 760px); margin-bottom: 12px; overflow: hidden; border-radius: 8px; background: rgb(255, 255, 255); }

.outfit-hero-preview > img { max-width: 76%; max-height: 70vh; object-fit: contain; }

.outfit-hero-preview > .outfit-editorial-preview { width: min(76%, 420px); height: auto; aspect-ratio: 4 / 5; border-radius: 8px; }

.image-edit-corner { position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 7px; color: var(--blue); background: rgba(255, 255, 255, 0.85); }

.image-edit-corner svg { width: 16px; height: 16px; fill: none; stroke: currentcolor; stroke-width: 1.7; }

.outfit-detail-fields { overflow: hidden; }

.outfit-detail-fields .form-row { padding: 0 var(--edge-pad); }

.outfit-field-row { grid-template-columns: 84px minmax(0px, 1fr); }

.outfit-wear-dates { display: grid; gap: 10px; padding: 12px var(--edge-pad) 14px; }

.outfit-wear-dates header { display: flex; align-items: center; justify-content: space-between; }

.outfit-wear-dates header span { display: grid; gap: 2px; }

.outfit-wear-dates strong { color: var(--text); font-size: 13px; font-weight: 860; }

.outfit-wear-dates small, .outfit-date-empty { color: var(--muted); font-size: 11px; }

.outfit-wear-date-add { display: grid; grid-template-columns: minmax(0px, 1fr) auto; gap: 8px; }

.outfit-wear-date-add input { min-width: 0px; height: 36px; padding: 0px 10px; border: 0px; border-radius: 7px; color: var(--text); background: var(--field); }

.outfit-wear-date-add button { height: 36px; padding: 0px 14px; border-radius: 7px; color: rgb(22, 56, 12); background: var(--accent); font-size: 12px; font-weight: 860; }

.outfit-date-chips { display: flex; flex-wrap: wrap; gap: 8px; }

.outfit-date-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 30px; padding: 0px 10px; border-radius: 999px; color: var(--text); background: rgba(255, 255, 255, 0.72); font-size: 12px; font-weight: 800; box-shadow: rgba(12, 20, 30, 0.06) 0px 0px 0px 1px inset; }

.outfit-date-chip b { color: var(--muted); font-size: 13px; line-height: 1; }

.field-option-sheet .bottom-option { display: grid; grid-template-columns: minmax(0px, 1fr) 26px; gap: 10px; min-height: 42px; color: var(--text); font-weight: 760; }

.outfit-text-card textarea { min-height: 150px; padding: 12px; text-align: left; background: var(--field); }

.entry-form-page { display: grid; gap: 12px; }

.wardrobe-init-card { display: grid; gap: 12px; padding: 14px; border-radius: 8px; background: rgb(248, 248, 248); }

.wardrobe-init-head { display: grid; gap: 4px; }

.wardrobe-init-head strong { font-size: 15px; font-weight: 900; }

.wardrobe-init-head span { color: rgba(0, 0, 0, 0.52); font-size: 12px; font-weight: 750; }

.wardrobe-init-options { display: grid; gap: 8px; }

.init-option-card { display: grid; grid-template-columns: minmax(0px, 1fr) 22px; align-items: center; min-height: 62px; padding: 10px 12px; border: 2px solid transparent; border-radius: 8px; background: rgb(255, 255, 255); text-align: left; }

.init-option-card.selected { border-color: rgb(168, 255, 0); background: color-mix(in srgb, rgb(168, 255, 0) 10%, rgb(255, 255, 255)); }

.init-option-card span:first-child { display: grid; gap: 4px; }

.init-option-card strong { font-size: 13px; font-weight: 900; }

.init-option-card small { color: rgba(0, 0, 0, 0.52); font-size: 11px; font-weight: 700; line-height: 1.25; }

.wardrobe-copy-source { display: grid; gap: 8px; padding: 12px; border-radius: 8px; background: rgb(255, 255, 255); }

.wardrobe-copy-source > strong { font-size: 13px; font-weight: 900; }

.wardrobe-copy-source > div { display: grid; gap: 6px; }

.wardrobe-copy-source button { display: grid; grid-template-columns: minmax(0px, 1fr) 22px; align-items: center; min-height: 42px; padding: 0px 10px; border-radius: 7px; background: rgb(245, 245, 245); text-align: left; font-weight: 800; }

.wardrobe-copy-source button.selected { background: color-mix(in srgb, rgb(168, 255, 0) 13%, rgb(255, 255, 255)); box-shadow: rgb(168, 255, 0) 0px 0px 0px 2px inset; }

.entry-form-page.outfit-entry-form { gap: 10px; }

.entry-form-page > .photo-box { justify-self: center; width: min(38vw, 142px); height: min(38vw, 142px); margin-top: 6px; }

.entry-photo-wrap { position: relative; justify-self: center; width: min(70vw, 320px); margin-top: 8px; }

.entry-form-page.item-entry-form { gap: 16px; }

.item-entry-form .entry-photo-wrap > .photo-box { width: 100%; height: min(48vh, 420px); margin: 0px; border-radius: 8px; }

.item-entry-form .entry-photo-wrap > .photo-box img { object-fit: contain; }

.entry-image-corner { position: absolute; right: 8px; bottom: 8px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, 0.88); box-shadow: rgba(0, 0, 0, 0.12) 0px 8px 22px; backdrop-filter: blur(12px); color: rgba(0, 0, 0, 0.7) !important; }

.entry-image-corner svg { width: 18px; height: 18px; fill: none; stroke: currentcolor; stroke-width: 1.8; }

.outfit-form-preview { justify-self: stretch; display: grid; place-items: center; min-height: min(58vh, 680px); margin: 0px 12px; border-radius: 8px; background: rgb(255, 255, 255); color: rgb(184, 189, 199); }

.outfit-form-preview > img { width: auto; max-width: min(74%, 420px); max-height: min(50vh, 560px); object-fit: contain; }

.outfit-form-preview > .outfit-editorial-preview { width: min(74%, 420px); aspect-ratio: 4 / 5; max-height: min(50vh, 560px); border-radius: 8px; }

.outfit-form-preview .outfit-preview-layer { width: 42%; height: 64%; }

.outfit-form-preview .outfit-editorial-preview.layer-count-1 .layer-1 { width: 48%; height: 72%; }

.outfit-entry-form .panel-list { margin-top: 0px; }

.field-picker-head { display: grid; grid-template-columns: minmax(0px, 1fr) auto auto; align-items: center; gap: 10px; padding: 0px 12px 10px; color: var(--text); }

.field-picker-left, .field-picker-actions { display: flex; align-items: center; gap: 8px; }

.field-picker-left strong { font-size: 15px; font-weight: 850; }

.field-picker-left button { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; color: var(--blue); background: color-mix(in srgb, var(--blue), transparent 88%); }

.field-picker-left svg { width: 15px; height: 15px; fill: none; stroke: currentcolor; stroke-width: 1.8; }

.field-picker-head > button, .field-picker-actions button { color: var(--blue); font-size: 13px; font-weight: 800; }

.field-option-sheet .radio-dot { align-self: center; }

.note-row { align-items: start; padding-top: 12px; }

.note-row textarea { min-height: 76px; padding: 0px 0px 12px; color: var(--muted); text-align: right; resize: vertical; }

.detail-actionbar { position: fixed; right: 0px; bottom: var(--stacked-bottom-offset); left: 0px; z-index: 22; display: grid; grid-template-columns: repeat(auto-fit, minmax(0px, 1fr)); min-height: calc(52px + var(--safe-bottom)); padding-bottom: var(--safe-bottom); background: var(--card); box-shadow: 0 -1px 0 var(--line); }

.detail-actionbar button { color: var(--text); font-size: 12px; font-weight: 700; }

.search-full-page { min-height: 100%; padding-top: 10px; }

.search-line { display: grid; grid-template-columns: 20px 1fr auto; align-items: center; gap: 7px; min-height: 42px; padding: 0px 10px; border-radius: 8px; background: rgb(255, 255, 255); }

.search-line svg, .filter-input svg { width: 16px; height: 16px; fill: none; stroke: rgb(180, 184, 192); stroke-width: 2; }

.search-line input, .filter-input input, .wide-input, .range-row input, .wide-textarea { width: 100%; min-width: 0px; border: 0px; border-radius: 8px; background: rgb(243, 244, 246); color: var(--text); }

.search-line input { height: 34px; background: transparent; }

.search-line button { color: var(--blue); font-weight: 750; }

.app-search-line { min-height: 38px; background: rgb(243, 244, 246); }

.app-search-line input { font-size: 14px; }

.app-search-line button { color: rgb(51, 54, 61); }

.search-history h3 { margin-top: 14px; }

.search-type-tabs { position: fixed; right: 0px; bottom: var(--stacked-bottom-offset); left: 0px; justify-content: center; border-radius: 0px; background: rgb(255, 255, 255); box-shadow: rgba(0, 0, 0, 0.06) 0px -1px 0px; }

.subsection { margin-top: 14px; }

.subsection h3 { margin: 0px 0px 9px; color: rgb(84, 88, 98); font-size: 13px; }

.empty-state.tight { min-height: 140px; }

.wide-input { height: 38px; padding: 0px 11px; color: var(--text); background: var(--field); caret-color: var(--blue); }

.wide-textarea { min-height: 160px; padding: 12px; resize: vertical; }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }

.choice-chip { display: inline-flex; align-items: center; min-height: 29px; padding: 0px 15px; gap: 6px; border-radius: 7px; color: rgb(85, 89, 99); background: rgb(244, 244, 245); font-size: 12px; font-weight: 750; }

.choice-chip.selected, .choice-chip:active { color: rgb(255, 255, 255); background: var(--blue); }

.choice-chip.bordered { border: 1px solid rgb(215, 217, 223); background: rgb(255, 255, 255); }

.option-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--dot, #cfd2d8); border: 1px solid rgba(0, 0, 0, 0.06); }

.browser-placeholder { min-height: 55vh; }

.page-actions { position: fixed; right: 0px; bottom: var(--stacked-bottom-offset); left: 0px; z-index: 28; display: flex; align-items: center; gap: 12px; min-height: calc(52px + var(--safe-bottom)); padding: 6px 12px calc(6px + var(--safe-bottom)); background: rgba(255, 255, 255, 0.96); border-top: 1px solid rgb(238, 238, 239); backdrop-filter: blur(18px); }

.soft-action { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 999px; color: rgb(154, 160, 168); background: rgb(242, 243, 245); font-size: 22px; }

.primary-action { min-width: 66px; min-height: 32px; padding: 0px 15px; border-radius: 999px; color: rgb(255, 255, 255); background: var(--blue); font-weight: 800; }

.modal-backdrop.transparent { place-items: start end; padding: 72px 12px 0px; background: rgba(0, 0, 0, 0.32); }

.popover-menu { min-width: 154px; overflow: hidden; border-radius: 14px; background: rgb(248, 248, 248); color: rgb(38, 41, 49); box-shadow: rgba(0, 0, 0, 0.18) 0px 18px 45px; }

.popover-menu button { display: grid; grid-template-columns: 28px 1fr; align-items: center; width: 100%; min-height: 46px; padding: 0px 14px; gap: 9px; text-align: left; font-size: 13px; font-weight: 850; color: inherit; }

.popover-menu button + button { border-top: 1px solid rgb(241, 241, 242); }

.popover-menu button.danger { color: rgb(255, 59, 48); }

.popover-menu svg { width: 17px; height: 17px; fill: none; stroke: currentcolor; stroke-width: 1.9; }

.popover-menu button > span:first-child { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: rgb(255, 255, 255); color: rgba(0, 0, 0, 0.62); }

.confirm-card { width: min(330px, -48px + 100vw); padding: 22px 20px 16px; border-radius: 14px; background: rgb(255, 255, 255); box-shadow: var(--shadow); text-align: center; }

.confirm-card strong { color: rgb(32, 35, 42); font-size: 17px; }

.confirm-card p { margin: 12px 0px 18px; color: rgb(118, 123, 133); font-size: 13px; line-height: 1.55; }

.confirm-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.confirm-actions button { min-height: 38px; border-radius: 9px; color: rgb(32, 35, 42); background: rgb(241, 242, 244); font-weight: 800; }

.confirm-actions .danger { color: rgb(255, 255, 255); background: rgb(255, 59, 48); }

.confirm-actions .danger.pale { color: rgb(255, 59, 48); background: rgb(255, 216, 220); }

.wardrobe-backdrop { background: rgba(0, 0, 0, 0.22); }

.wardrobe-sheet { width: min(860px, 100% - 28px); max-width: none; min-height: 250px; margin: 0 auto calc(12px + var(--safe-bottom)); padding: 10px 18px calc(22px + var(--safe-bottom)); border-radius: 18px; background: rgb(248, 248, 248); box-shadow: rgba(0, 0, 0, 0.16) 0px -18px 46px; }

.sheet-grabber { width: 38px; height: 4px; margin: 0px auto 12px; border-radius: 999px; background: rgba(0, 0, 0, 0.14); }

.wardrobe-sheet-head { display: grid; grid-template-columns: minmax(0px, 1fr) auto; align-items: center; min-height: 48px; gap: 14px; padding: 0px 2px 14px; }

.wardrobe-sheet-head strong { display: block; color: var(--title-text); font-size: 19px; line-height: 1.2; font-weight: 900; }

.wardrobe-sheet-head span { display: block; margin-top: 3px; color: var(--caption-text); font-size: 12px; font-weight: 650; }

.wardrobe-actions { display: flex; gap: 8px; }

.wardrobe-sheet-head button { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; color: rgba(0, 0, 0, 0.78); background: rgb(255, 255, 255); box-shadow: rgba(0, 0, 0, 0.06) 0px 0px 0px 1px inset; }

.wardrobe-sheet-head svg { width: 17px; height: 17px; fill: none; stroke: currentcolor; stroke-width: 2; }

.wardrobe-option-list { display: grid; gap: 10px; }

.wardrobe-option { display: grid; grid-template-columns: 44px minmax(0px, 1fr) 30px; align-items: center; width: 100%; min-height: 68px; gap: 12px; padding: 11px 12px; border: 1px solid transparent; border-radius: 14px; color: var(--title-text); background: rgb(255, 255, 255); text-align: left; font-weight: 750; box-shadow: rgba(0, 0, 0, 0.04) 0px 0px 0px 1px inset; }

.wardrobe-option.selected { border-color: rgb(168, 255, 0); background: color-mix(in srgb, rgb(168, 255, 0) 12%, rgb(255, 255, 255)); }

.wardrobe-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: rgba(0, 0, 0, 0.78); background: rgba(0, 0, 0, 0.05); }

.wardrobe-mark svg { width: 18px; height: 18px; fill: none; stroke: currentcolor; stroke-width: 2; }

.wardrobe-copy { min-width: 0px; }

.wardrobe-name, .wardrobe-meta { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.wardrobe-name { color: var(--title-text); font-size: 15px; line-height: 1.35; font-weight: 850; }

.wardrobe-meta { margin-top: 2px; color: var(--caption-text); font-size: 12px; font-weight: 650; }

.wardrobe-check { display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid rgba(0, 0, 0, 0.16); border-radius: 50%; color: rgb(255, 255, 255); background: transparent; font-size: 14px; font-weight: 900; }

.wardrobe-option.selected .wardrobe-check { border-color: rgba(0, 0, 0, 0.75); background: rgba(0, 0, 0, 0.75); }

.bottom-align { place-items: end stretch; padding: 0px; }

.bottom-sheet { width: 100%; max-height: min(62vh, 520px); overflow: auto; padding: 13px 0 calc(16px + var(--safe-bottom)); border-radius: 14px 14px 0px 0px; background: rgb(248, 248, 248); color: var(--text); box-shadow: rgba(0, 0, 0, 0.16) 0px -18px 46px; }

.bottom-sheet.wardrobe-sheet { justify-self: center; width: min(860px, 100% - 28px); max-width: none; padding: 10px 18px calc(22px + var(--safe-bottom)); border-radius: 18px; }

.bulk-edit-sheet { max-height: min(76vh, 720px); padding-bottom: calc(14px + var(--safe-bottom)); overflow: auto; }

.bulk-edit-fields { display: grid; gap: 8px; padding: 0px 14px 12px; }

.bulk-edit-row { display: grid; grid-template-columns: 86px minmax(0px, 1fr); align-items: center; min-height: 42px; gap: 10px; }

.bulk-edit-row span { color: var(--muted); font-size: 13px; font-weight: 760; }

.bulk-edit-row select { width: 100%; min-width: 0px; height: 38px; padding: 0px 10px; border: 0px; border-radius: 8px; color: var(--text); background: var(--field); font-size: 13px; font-weight: 760; }

.bulk-save-action { width: calc(100% - 28px); margin: 2px 14px 0px; }

.sheet-title.left, .sheet-title.split { padding: 0px 14px 9px; text-align: left; }

.sheet-title.split { display: flex; align-items: center; justify-content: space-between; }

.sheet-title.split button { color: var(--blue); font-weight: 800; }

.bottom-option { display: flex; align-items: center; width: 100%; min-height: 37px; padding: 0px 14px; font-size: 13px; font-weight: 750; }

.bottom-option.selected::after { content: ""; width: 9px; height: 9px; margin-left: auto; border-radius: 50%; background: var(--blue); }

.field-option-sheet .bottom-option.selected::after { content: none; display: none; }

.tag-picker-groups { display: grid; gap: 18px; padding: 4px 14px 18px; }

.tag-picker-group { display: grid; gap: 10px; }

.tag-picker-group h3 { font-size: 13px; font-weight: 850; color: var(--muted); }

.tag-picker-chips { display: flex; flex-wrap: wrap; gap: 10px; }

.tag-picker-chip { min-width: 70px; height: 34px; padding: 0px 14px; border-radius: 9px; background: var(--field); color: var(--text); font-size: 13px; font-weight: 800; }

.tag-picker-chip.selected { background: color-mix(in srgb, var(--blue) 18%, var(--field)); color: var(--blue); }

.panel-overlay { place-items: start stretch; padding: 104px 0px 0px; background: rgba(0, 0, 0, 0.28); }

.filter-panel { display: grid; grid-template-rows: 1fr auto; min-height: calc(-104px + 100vh); background: rgb(255, 255, 255); }

.filter-content { overflow: auto; padding: 13px 12px 90px; }

.filter-section { margin-top: 17px; }

.filter-section h3 { margin-bottom: 9px; }

.filter-field-grid { display: grid; grid-template-columns: repeat(2, minmax(0px, 1fr)); gap: 10px; margin-top: 18px; }

.filter-field-card { display: grid; min-width: 0px; min-height: 64px; padding: 11px 12px; border: 1px solid rgba(43, 48, 57, 0.08); border-radius: 8px; background: rgba(246, 247, 249, 0.92); text-align: left; }

.filter-field-card span { color: var(--muted); font-size: 12px; font-weight: 760; }

.filter-field-card strong { align-self: end; min-width: 0px; color: var(--text); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.filter-field-card.selected { border-color: rgba(75, 110, 255, 0.34); background: rgba(75, 110, 255, 0.1); }

.filter-input { display: grid; grid-template-columns: 18px 1fr; align-items: center; gap: 5px; height: 36px; padding: 0px 10px; border-radius: 8px; background: rgb(244, 244, 245); }

.filter-input input { height: 30px; background: transparent; }

.color-chip .option-dot { width: 13px; height: 13px; }

.filter-option-panel .filter-content { padding-bottom: 82px; }

.filter-option-chips, .filter-option-tree .chip-row { gap: 9px; }

.range-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }

.range-row input { height: 34px; text-align: center; }

.range-row span { color: rgb(194, 197, 204); }

.filter-range-row { margin-top: 18px; }

.panel-actions { position: fixed; right: 0px; bottom: var(--stacked-bottom-offset); left: 0px; display: flex; justify-content: center; gap: min(28vw, 210px); padding: 10px 16px calc(10px + var(--safe-bottom)); background: rgba(255, 255, 255, 0.96); border-top: 1px solid rgb(240, 240, 241); backdrop-filter: blur(18px); }

.panel-actions > button:first-child { min-width: 66px; height: 31px; border-radius: 999px; border: 1px solid rgb(217, 219, 225); font-weight: 800; }

.date-jump { min-height: 190px; }

.weather-strip { display: grid; grid-template-columns: 24px minmax(0px, 1fr) auto; align-items: center; min-height: 36px; margin: 8px 14px 0px; padding: 0px 10px; gap: 8px; border-radius: 8px; background: rgb(255, 255, 255); color: rgb(79, 86, 98); text-align: left; }

.weather-strip svg { width: 17px; height: 17px; fill: none; stroke: currentcolor; stroke-width: 1.8; }

.weather-strip strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }

.weather-strip em { color: rgb(142, 148, 158); font-style: normal; font-size: 12px; font-weight: 800; }

.weather-summary { display: grid; gap: 6px; margin-top: 12px; padding: 14px; border-radius: 8px; background: rgb(245, 246, 248); }

.weather-summary span, .weather-summary small { color: rgb(124, 130, 141); font-size: 12px; }

.picker-row { display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; min-height: 28px; color: rgb(91, 95, 104); text-align: center; font-weight: 800; }

.picker-row.muted { color: rgb(190, 194, 202); }

.picker-row.selected { border-radius: 7px; margin: 0px 8px; background: rgb(242, 243, 245); color: rgb(77, 80, 88); }

.date-jump { display: grid; gap: 14px; }

.date-jump-year { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 8px; padding: 2px 8px; }

.date-jump-year strong { text-align: center; font-size: 20px; }

.date-jump-year button, .date-jump-actions button, .date-jump-month-grid button { border-radius: 8px; background: rgb(244, 245, 247); color: rgb(52, 56, 64); font-weight: 800; }

.date-jump-year button { height: 40px; font-size: 20px; }

.date-jump-month-grid { display: grid; grid-template-columns: repeat(4, minmax(0px, 1fr)); gap: 8px; padding: 0px 8px; }

.date-jump-month-grid button { min-height: 42px; font-size: 14px; }

.date-jump-month-grid button.selected { background: rgb(168, 255, 0); color: rgba(0, 0, 0, 0.84); }

.date-jump-actions { display: grid; grid-template-columns: repeat(3, minmax(0px, 1fr)); gap: 8px; padding: 0px 8px 4px; }

.date-jump-actions button { min-height: 40px; font-size: 13px; }

.radio-dot { width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgb(211, 214, 221); }

.radio-dot.active { border-color: var(--blue); box-shadow: rgb(255, 255, 255) 0px 0px 0px 3px inset; background: var(--blue); }

.related-row button { justify-self: end; color: rgb(109, 116, 128); font-weight: 750; max-width: 220px; overflow: hidden; text-align: right; text-overflow: ellipsis; white-space: nowrap; }

.related-row button.has-value { color: rgb(47, 109, 0); }

.related-picker-backdrop { z-index: 65; background: rgba(0, 0, 0, 0.24); }

.related-picker { max-height: min(56vh, 460px); background: rgb(248, 248, 248); }

.related-option { justify-content: space-between; gap: 12px; }

.related-categories { display: flex; gap: 8px; overflow-x: auto; padding: 0px 14px 10px; }

.related-categories button { flex: 0 0 auto; min-height: 30px; padding: 0px 14px; border-radius: 999px; color: rgb(89, 96, 107); background: rgb(242, 243, 246); font-size: 13px; font-weight: 750; }

.related-categories button.active { color: rgb(255, 255, 255); background: var(--blue); }

.related-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0px, 1fr)); gap: 12px; max-height: 320px; overflow-y: auto; padding: 0px 14px 18px; }

.related-card { position: relative; display: grid; gap: 5px; min-width: 0px; padding: 6px; border-radius: 10px; background: rgb(255, 255, 255); text-align: left; }

.related-card.selected { box-shadow: rgb(168, 255, 0) 0px 0px 0px 2px inset; }

.related-thumb { display: grid; place-items: center; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 7px; color: rgb(178, 183, 193); background: rgb(255, 255, 255); }

.related-thumb img { width: 100%; height: 100%; object-fit: cover; }

.related-name, .related-meta { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.related-name { color: rgb(48, 52, 60); font-size: 12px; font-weight: 750; }

.related-meta { color: rgb(150, 156, 166); font-size: 11px; }

.related-card .fake-checkbox { position: absolute; top: 10px; right: 10px; }

.empty-related { padding: 22px 14px 28px; color: var(--muted); text-align: center; font-size: 13px; }

.help-text { margin: 4px 12px 14px; color: var(--muted); font-size: 12px; line-height: 1.55; }

.membership-card { display: grid; gap: 10px; margin: 0px 12px; padding: 16px; border-radius: 8px; background: var(--card); }

.membership-card strong { font-size: 17px; }

.membership-card span { color: var(--muted); line-height: 1.5; }

.stats-card { width: 100%; color: inherit; text-align: left; }

.stats-grid.large { margin: 0px 12px; padding: 18px 12px; border-radius: 8px; background: var(--card); }

.compact-form, .data-manager-page, .theme-settings-page, .card-bg-page { display: grid; gap: 12px; width: min(520px, 100% - 24px); max-width: 100%; margin: 14px auto 0px; overflow-x: hidden; }

.compact-form { align-content: start; }

.full-page > .compact-form, .full-page > .detail-page { min-height: 0px; }

.wardrobe-form-page { gap: 20px; }

.inline-input-row { display: grid; grid-template-columns: 96px minmax(0px, 1fr); align-items: center; min-height: 48px; padding: 0 var(--edge-pad); overflow: hidden; border-radius: 8px; background: var(--card); color: rgba(0, 0, 0, 0.68); font-size: 13px; font-weight: 750; }

.range-row span { display: inline-flex; align-items: center; gap: 8px; color: rgba(0, 0, 0, 0.8); }

.range-row em { font-style: normal; color: rgba(0, 0, 0, 0.8); font-size: 12px; }

.occasion-settings-pill { display: inline-flex; min-width: 64px; min-height: 32px; padding: 0px 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.58); color: rgba(0, 0, 0, 0.72); font-size: 12px; font-weight: 850; white-space: nowrap; }

.inline-input-row input { width: 100%; min-height: 46px; border: 0px; outline: 0px; background: transparent; text-align: right; color: rgba(0, 0, 0, 0.72); }

.option-name-row > span { display: inline-flex; align-items: center; gap: 8px; }

.page-sync-card { margin: 0px; }

.wide-action { width: 100%; min-height: 34px; border-radius: 4px; font-size: 13px; font-weight: 900; }

.data-manager-page .primary-action, .theme-settings-page .primary-action, .password-page .primary-action { color: rgba(0, 0, 0, 0.82); background: rgb(168, 255, 0); }

.secondary-action { color: rgba(0, 0, 0, 0.72); background: var(--card); }

.backup-note { margin: 0px; padding: 0px 12px; text-align: center; }

.range-row { display: grid; grid-template-columns: 98px minmax(0px, 1fr); align-items: center; min-height: 42px; padding: 0px 12px; border-radius: 8px; background: var(--card); font-size: 13px; font-weight: 800; }

.range-row input { accent-color: rgb(123, 230, 0); }

.theme-section { display: grid; gap: 8px; }

.theme-section h3 { margin: 0px; color: rgba(0, 0, 0, 0.6); font-size: 12px; font-weight: 850; }

.theme-section h3 span { color: rgba(0, 0, 0, 0.46); font-weight: 760; }

.theme-grid { display: grid; grid-template-columns: repeat(2, minmax(0px, 112px)); gap: 10px; max-width: 100%; }

.user-theme-grid { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); }

.theme-user-item { position: relative; min-width: 0px; }

.theme-user-item .theme-swatch { width: 100%; }

.theme-delete { position: absolute; top: 6px; right: 6px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; color: rgba(0, 0, 0, 0.7); background: rgba(255, 255, 255, 0.76); box-shadow: rgba(0, 0, 0, 0.12) 0px 4px 12px; backdrop-filter: blur(10px); font-size: 16px; font-weight: 850; }

.theme-grid.default-grid { grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); }

.theme-swatch { position: relative; display: grid; place-items: end start; aspect-ratio: 1.55 / 1; min-height: 70px; padding: 8px; overflow: hidden; border: 2px solid rgba(255, 255, 255, 0.82); border-radius: 8px; background-image: ; background-repeat: ; background-attachment: ; background-origin: ; background-clip: ; background-color: ; background-size: cover; background-position: center center; color: rgba(0, 0, 0, 0.76); box-shadow: rgba(0, 0, 0, 0.08) 0px 0px 0px 1px inset; font-size: 12px; font-weight: 900; }

.theme-swatch i { position: absolute; right: 8px; top: 8px; color: rgba(0, 0, 0, 0.48); font-size: 10px; font-style: normal; font-weight: 780; }

.theme-swatch.selected { border-color: rgb(168, 255, 0); }

.theme-swatch.selected::after { content: "✓"; position: absolute; right: 8px; bottom: 8px; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: rgb(168, 255, 0); }

.theme-swatch.empty { place-items: center; border-style: dashed; background: rgba(255, 255, 255, 0.42); font-size: 22px; }

.card-theme-section { padding: 12px; border-radius: 8px; background: rgb(248, 248, 248); }

.card-color-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(46px, 1fr)); gap: 8px; max-width: 100%; }

.card-color { min-height: 38px; border: 2px solid transparent; border-radius: 6px; background: var(--swatch); color: rgba(0, 0, 0, 0.78); font-size: 12px; font-weight: 900; }

.card-color:nth-child(n+8) { color: rgb(255, 255, 255); }

.card-color:last-child { color: rgba(0, 0, 0, 0.78); }

.card-color.selected { border-color: rgb(168, 255, 0); }

.tiny-photo { width: 38px; height: 38px; margin: 0px 0px 10px; border-radius: 8px; }

.sync-row { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 14px; color: var(--muted); font-size: 12px; }

.as-button { color: inherit; text-align: left; }

.list-card .preview > span { display: grid; place-items: center; width: 100%; height: 100%; color: rgb(183, 186, 195); }

.list-card .preview > span svg { width: 32px; height: 32px; fill: none; stroke: currentcolor; stroke-width: 1.7; }

.list-layout { grid-template-columns: 1fr; }

.list-layout .list-card { display: grid; grid-template-columns: 66px 1fr; align-items: center; }

.list-layout .preview { width: 66px; height: 66px; }

.collage-page { position: relative; z-index: 40; display: grid; grid-template-rows: 84px auto 88px; align-content: start; min-height: 100vh; padding-bottom: var(--bottom-nav-reserved); background: rgb(255, 255, 255); }

.screen[data-page="collage-editor"] { height: 100vh; overflow: hidden; padding-bottom: 0px; }

.screen[data-page="collage-editor"] .main-scroll { height: 100vh; padding: 0px; overflow: hidden; }

.collage-topbar { display: grid; grid-template-columns: 58px 1fr 72px; align-items: center; padding: 18px 16px 0px; border-bottom: 1px solid rgb(243, 243, 244); }

.collage-topbar > button:first-child { justify-self: start; color: rgb(86, 91, 101); font-size: 30px; line-height: 1; }

.collage-topbar strong { justify-self: center; font-size: 15px; }

.done-pill { justify-self: end; min-width: 44px; min-height: 26px; border-radius: 999px; color: rgb(255, 255, 255); background: var(--blue); font-size: 12px; font-weight: 800; }

.collage-canvas { position: relative; display: flex; align-items: flex-end; justify-self: center; width: min(100vw, var(--app-width)); aspect-ratio: 1 / 1; min-height: 0px; background: var(--collage-bg, #fff); }

.collage-objects { position: absolute; inset: 0px; z-index: 1; }

.collage-object { position: absolute; left: var(--x); top: var(--y); display: grid; place-items: center; width: var(--w, auto); height: var(--h, auto); min-width: 92px; min-height: 92px; transform: translate(-50%, -50%); border: 1px solid rgb(229, 229, 231); background: rgb(238, 238, 238); touch-action: none; user-select: none; }

.collage-object[draggable], .category-card[draggable], .list-card[draggable] { cursor: grab; }

.collage-object img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }

.text-object { min-width: 120px; min-height: 48px; padding: 10px 14px; overflow: visible; resize: none; color: var(--text-color, #22262d); background: rgba(255, 255, 255, 0.88); font-size: var(--text-size, 18px); font-family: var(--text-font, -apple-system, BlinkMacSystemFont, sans-serif); font-style: var(--text-style, normal); font-weight: var(--text-weight, 700); }

.text-object.selected { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }

.text-content { display: block; width: 100%; overflow: visible; white-space: pre-wrap; text-align: var(--text-align, center); line-height: 1.2; pointer-events: none; }

.text-object.outlined .text-content { text-shadow: rgb(255, 255, 255) -1.5px -1.5px 0px, rgb(255, 255, 255) 1.5px -1.5px 0px, rgb(255, 255, 255) -1.5px 1.5px 0px, rgb(255, 255, 255) 1.5px 1.5px 0px, rgb(255, 255, 255) 0px 1.5px 0px, rgb(255, 255, 255) 1.5px 0px 0px, rgb(255, 255, 255) 0px -1.5px 0px, rgb(255, 255, 255) -1.5px 0px 0px; }

.draft-text-object { border: 1.5px dashed rgba(91, 110, 255, 0.65); background: rgba(255, 255, 255, 0.38); backdrop-filter: blur(2px); }

.resize-dot { position: absolute; right: -10px; bottom: -10px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgb(207, 210, 216); color: rgb(93, 98, 107); background: rgb(255, 255, 255); font-size: 11px; cursor: nwse-resize; }

.collage-tool-panel { position: relative; z-index: 4; width: calc(100% - 24px); margin: 0px 12px 12px; padding: 12px; border-radius: 12px; background: rgba(247, 248, 250, 0.96); box-shadow: rgba(26, 31, 42, 0.08) 0px 12px 30px; }

.collage-swatches, .collage-item-strip, .action-panel, .material-panel { display: flex; align-items: center; gap: 10px; overflow-x: auto; }

.swatch-button { width: 34px; height: 34px; flex: 0 0 auto; border-radius: 999px; box-shadow: rgba(0, 0, 0, 0.08) 0px 0px 0px 1px inset; }

.swatch-button.active { box-shadow: inset 0 0 0 2px var(--blue), 0 0 0 2px rgba(91, 110, 255, .18); }

.collage-thumb, .collage-add { flex: 0 0 auto; display: grid; place-items: center; width: 60px; height: 60px; overflow: hidden; border-radius: 9px; color: rgb(138, 144, 155); background: rgb(255, 255, 255); }

.collage-thumb img { width: 100%; height: 100%; object-fit: cover; }

.collage-add { width: auto; grid-auto-flow: column; gap: 8px; padding: 0px 14px; font-size: 13px; font-weight: 750; }

.collage-item-browser { position: absolute; inset: 0px; z-index: 5; overflow: hidden; background: rgba(0, 0, 0, 0.38); }

.collage-browser-head { display: grid; grid-template-columns: auto 1fr auto 1px auto; align-items: center; gap: 14px; min-height: 70px; padding: 0px 16px; background: rgb(255, 255, 255); }

.collage-browser-head button { color: rgb(34, 38, 45); font-size: 18px; font-weight: 750; }

.collage-browser-head i { width: 1px; height: 20px; background: rgb(222, 223, 227); }

.collage-browser-head svg { width: 23px; height: 23px; }

.collage-sort-chips { display: flex; gap: 12px; overflow-x: auto; padding: 14px 16px 18px; background: rgb(255, 255, 255); }

.collage-category-rows { display: grid; gap: 8px; padding: 0px 16px 14px; background: rgb(255, 255, 255); }

.collage-category-rows > div { display: flex; gap: 8px; overflow-x: auto; }

.collage-category-rows button { flex: 0 0 auto; min-height: 28px; padding: 0px 12px; border-radius: 999px; color: rgb(51, 56, 66); background: rgb(244, 244, 245); font-size: 13px; font-weight: 750; }

.collage-category-rows button.selected { color: rgb(255, 255, 255); background: rgb(92, 99, 112); }

.collage-sort-chips button { flex: 0 0 auto; min-height: 38px; padding: 0px 15px; border-radius: 8px; color: rgb(51, 56, 66); background: rgb(244, 244, 245); font-size: 15px; font-weight: 750; }

.collage-sort-chips button.selected { color: var(--blue); background: rgb(231, 233, 255); }

.collage-item-list { height: calc(100% - 140px); overflow-y: auto; padding: 16px 16px 40px; }

.collage-item-group { margin-bottom: 22px; }

.collage-item-group h3 { margin: 0px 0px 12px; color: rgb(34, 38, 45); font-size: 16px; }

.collage-picker-grid { display: flex; flex-wrap: wrap; gap: 14px; }

.collage-picker-card { position: relative; display: grid; place-items: center; width: 120px; height: 150px; overflow: hidden; border-radius: 9px; color: rgb(170, 174, 182); background: rgba(255, 255, 255, 0.24); }

.collage-picker-card.selected { outline: 3px solid var(--blue); outline-offset: -3px; }

.picker-check { position: absolute; right: 7px; bottom: 7px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--blue); color: rgb(255, 255, 255); font-size: 13px; font-weight: 900; }

.collage-picker-card img { width: 100%; height: 100%; object-fit: cover; }

.collage-empty-picker { padding-top: 120px; color: rgb(255, 255, 255); text-align: center; font-weight: 750; }

.collage-selection-sheet { position: absolute; left: 14px; right: 14px; bottom: calc(var(--bottom-nav-reserved) + 100px); z-index: 18; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 14px; min-height: 58px; padding: 10px 12px 10px 18px; border-radius: 18px; background: rgba(255, 255, 255, 0.96); box-shadow: rgba(22, 27, 37, 0.18) 0px 14px 36px; }

.collage-selection-sheet span { color: var(--subtitle-text); font-size: 16px; font-weight: 800; }

.collage-selection-sheet button { min-width: 82px; min-height: 38px; border-radius: 999px; color: var(--title-text); background: var(--blue); font-size: 15px; font-weight: 850; }

.action-panel button, .material-panel button, .collage-text-editor button { min-height: 34px; padding: 0px 14px; border-radius: 999px; color: rgb(52, 57, 67); background: rgb(255, 255, 255); font-size: 13px; font-weight: 750; }

.action-panel button { display: inline-flex; align-items: center; gap: 7px; }

.collage-text-editor { position: relative; z-index: 4; width: 100%; padding: 8px 8px 10px; background: rgba(255, 255, 255, 0.96); box-shadow: rgba(28, 31, 40, 0.07) 0px -10px 28px; }

.collage-text-input-row { display: grid; grid-template-columns: minmax(0px, 1fr) auto; gap: 10px; padding-bottom: 9px; }

.collage-text-input-row input { height: 36px; }

.collage-text-input-row button { border-radius: 10px; background: rgb(255, 255, 255); }

.collage-text-tools { display: grid; grid-template-columns: repeat(3, 44px) 1fr; align-items: center; gap: 5px; padding: 2px 0px 8px; border-top: 1px solid rgb(240, 240, 242); }

.collage-text-tools button { min-width: 34px; padding: 0px; border-radius: 7px; color: rgb(51, 56, 66); background: transparent; font-size: 18px; }

.collage-text-tools button.active { color: var(--blue); }

.collage-text-tools svg { width: 18px; height: 18px; fill: none; stroke: currentcolor; stroke-width: 1.8; }

.collage-text-colors, .collage-font-strip { display: flex; gap: 7px; overflow-x: auto; padding: 4px 0px; }

.collage-font-strip button { flex: 0 0 38px; height: 32px; min-height: 32px; padding: 0px; border-radius: 6px; background: rgb(241, 242, 244); font-size: 17px; font-weight: 800; }

.collage-font-strip button.active { box-shadow: inset 0 0 0 2px var(--blue); }

.collage-toolbar { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid rgb(242, 242, 243); background: rgb(255, 255, 255); }

.collage-toolbar button { display: grid; place-items: center; align-content: center; gap: 5px; color: rgb(63, 68, 77); font-size: 11px; font-weight: 750; }

.collage-toolbar button.active { color: var(--blue); }

.collage-toolbar svg { width: 22px; height: 22px; fill: none; stroke: currentcolor; stroke-width: 1.7; }

.screen, .full-page, .settings-group, .editor-card, .action-sheet, .calendar-action-sheet, .bottom-sheet, .popover-menu, .option-form-page, .entry-form-page, .item-detail-page, .outfit-detail-page { color: var(--body-text) !important; }

.page-topbar strong, .topbar .title-button, .calendar-sheet-title, .editor-head strong, .sheet-title, .field-picker-head strong, .category-title, .manager-row .row-label, .settings-row .row-label, .list-card strong, .empty-state strong, .form-page h3, .text-button { color: var(--title-text) !important; }

.calendar-sheet-title { font-size: 25px; line-height: 1.18; }

.calendar-sheet-option { font-size: 21px; line-height: 1.2; color: var(--body-text) !important; }

.page-topbar .text-button { color: rgba(0, 0, 0, 0.82) !important; }

.row-value, .count, .form-row label, .field-label, .settings-row .row-value, .manager-row .row-value, .item-detail-row span:last-child, .outfit-field-row .field-value, .option-inline-input, .wide-input, .search-box input { color: var(--subtitle-text) !important; }

body, input, textarea, select, .bottom-option, .popover-menu button, .sheet-action, .collage-toolbar button, .action-panel button, .material-panel button, .collage-text-editor button { color: var(--body-text) !important; }

.hint, .stat-label, small, .list-card span, .empty-state p, .form-row textarea::placeholder, .form-row input::placeholder, .option-inline-input::placeholder { color: var(--caption-text) !important; }

.calendar-action-sheet, .bottom-sheet, .popover-menu, .action-sheet, .editor-card { background: rgb(248, 248, 248) !important; }

.category-card, .calendar-card, .settings-group, .stats-grid.large, .membership-card, .inline-input-row, .wardrobe-init-card, .wardrobe-copy-source, .entry-form-page .panel-list, .outfit-form-preview, .item-detail-row, .item-relation-card, .item-wear-stats, .range-row, .card-theme-section, .manager-list, .manager-row, .record-panel, .calendar-date-card, .calendar-stack > .calendar-linked-section, .calendar-entry-card, .history-event, .history-empty, .page-topbar, .topbar, .tabbar { border-color: var(--glass-line); box-shadow: var(--glass-shadow); backdrop-filter: blur(18px) saturate(1.12); background: var(--glass-card) !important; }

.page-topbar, .topbar, .tabbar, .outfit-form-preview, .manager-list, .settings-group { background: var(--glass-card-strong) !important; }

.settings-row + .settings-row, .manager-row + .manager-row, .form-row, .item-detail-row + .item-detail-row { border-color: rgba(255, 255, 255, 0.38); }

.popover-menu button.danger, .delete-confirm, .danger { color: rgba(0, 0, 0, 0.7) !important; }

@media (min-width: 860px) {
  .detail-actionbar, .selection-toolbar, .search-type-tabs, .panel-actions, .page-actions { left: 50%; width: min(100vw, 980px); transform: translateX(-50%); }
  .bottom-sheet { width: min(100vw, 980px); margin: 0px auto; }
}

.screen[data-page="home"] > .topbar { position: fixed; top: calc(22px + env(safe-area-inset-top, 0px)); left: 50%; box-sizing: border-box; width: var(--nav-width); margin: 0px; z-index: 120; transform: translateX(-50%); }

.screen[data-page="home"] > .main-scroll { padding-top: calc(92px + env(safe-area-inset-top, 0px)); }

.screen[data-screen][data-page="home"] > .topbar { position: fixed; top: calc(22px + env(safe-area-inset-top, 0px)); left: 50%; box-sizing: border-box; width: var(--nav-width); margin: 0px; transform: translateX(-50%); }

.screen[data-screen][data-page="home"] > .main-scroll { padding-top: calc(92px + env(safe-area-inset-top, 0px)); }

.screen:not([data-page="home"]) .page-topbar { position: fixed; top: env(safe-area-inset-top, 0px); left: 50%; width: var(--app-width); z-index: 120; transform: translateX(-50%); }

.screen:not([data-page="home"]) .full-page { padding-top: calc(72px + env(safe-area-inset-top, 0px)); }

.screen[data-screen][data-page="home"] > .topbar { position: relative; top: auto; left: auto; width: min(860px, 100% - 28px); margin: 22px auto 0px; transform: none; border-radius: 8px; background: rgba(255, 255, 255, 0.82) !important; }

.screen[data-screen][data-page="home"] > .main-scroll { padding-top: 0px; }

.screen[data-screen="closet"][data-page="home"] > .main-scroll { padding-top: 52px; }

.task-quick-nav { position: fixed; top: calc(82px + env(safe-area-inset-top, 0px)); left: 50%; z-index: 118; display: grid; grid-template-columns: repeat(5, minmax(0px, 1fr)); gap: 6px; width: min(860px, 100% - 28px); padding: 6px; border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 8px; background: rgba(255, 255, 255, 0.62); box-shadow: rgba(35, 41, 30, 0.12) 0px 16px 34px; backdrop-filter: blur(18px) saturate(1.15); transform: translateX(-50%); }

.task-quick-nav button { min-width: 0px; min-height: 34px; border-radius: 6px; color: rgba(0, 0, 0, 0.72); font-size: 13px; font-weight: 900; }

.task-quick-nav button.active { color: rgba(0, 0, 0, 0.86); background: rgb(168, 255, 0); }

.screen[data-screen="outfits"][data-page="home"] .main-scroll, .screen[data-screen="calendar"][data-page="home"] .main-scroll, .screen[data-screen="settings"][data-page="home"] .main-scroll { width: min(860px, calc(100% - (var(--edge-pad) * 2))); margin: 0px auto; }

.screen[data-page="home"] .top-settings-button.active, .screen[data-page="home"] .top-settings-button:hover, .screen[data-page="home"] .top-action-pill, .screen[data-page="home"] .calendar-today-button, .screen[data-page="home"] .primary-action { color: rgba(0, 0, 0, 0.82) !important; background: rgb(168, 255, 0) !important; }

.memory-category-row, .category-card, .list-card, .calendar-card, .record-panel, .calendar-date-card, .settings-group, .manager-row { border: 1px solid rgba(255, 255, 255, 0.34); }

.task-masonry { display: block; column-width: 260px; column-gap: 12px; }

.task-masonry .list-card { display: inline-block; width: 100%; min-height: 132px; margin: 0px 0px 12px; border-radius: 6px; backdrop-filter: blur(18px) saturate(1.15); break-inside: avoid; background: rgba(255, 255, 255, 0.46) !important; }

.task-masonry .list-card:nth-child(3n+1) { min-height: 178px; }

.task-masonry .list-card:nth-child(3n+2) { min-height: 146px; }

.task-masonry .list-card .preview { display: none; }

.task-masonry .list-card strong { padding: 22px 18px 8px; white-space: normal; font-size: 19px; line-height: 1.24; font-weight: 850; }

.task-masonry .list-card span.card-attribute { padding: 0px 18px 18px; white-space: normal; font-size: 13px; line-height: 1.4; }

.task-board-home { display: grid; gap: 12px; width: min(1180px, 100% - 28px); min-height: calc(100vh - var(--bottom-nav-reserved) - 96px); margin: 0px auto; padding: 16px 0 calc(var(--bottom-nav-reserved) + 28px); }

.task-waterfall-board { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, calc(33.3333% - 9.33333px)); align-items: start; gap: 14px; width: 100%; overflow-x: auto; padding: 0px 0px 14px; scrollbar-width: none; scroll-snap-type: x; }

.task-waterfall-board::-webkit-scrollbar { display: none; }

.task-column { --task-tone: 214 229 255; position: relative; display: grid; grid-template-rows: auto 1fr auto; gap: 12px; min-height: min(72vh, 920px); padding: 14px; border: 1px solid rgba(255, 255, 255, 0.42); border-radius: 8px; background: var(--task-column-bg); box-shadow: rgba(25, 30, 20, 0.12) 0px 18px 46px; backdrop-filter: blur(18px) saturate(1.12); scroll-snap-align: start; transition: background 0.18s, transform 0.18s; cursor: grab; }

.task-column.drag-over-target { background: rgba(168, 255, 0, 0.28); transform: translateY(-2px); }

.task-column.dragging { cursor: grabbing; opacity: 0.88; }

.task-tone-blue, .task-tone-orange, .task-tone-yellow, .task-tone-green, .task-tone-cyan, .task-tone-purple { --task-tone: 225 228 218; }

.task-column-head { display: grid; grid-template-columns: minmax(0px, auto) minmax(0px, 1fr) 32px; align-items: center; gap: 10px; }

.task-column-title { justify-self: start; min-width: 0px; max-width: 100%; }

.task-column-title span, .task-card-kicker { display: block; max-width: 100%; padding: 4px 18px; overflow: hidden; border-radius: 999px; color: rgba(19, 25, 34, 0.92); background: rgb(var(--task-tone) / .94); font-size: 22px; line-height: 1.08; font-weight: 900; text-overflow: ellipsis; white-space: nowrap; }

.task-card-kicker { width: fit-content; padding: 4px 12px; font-size: 13px; }

.task-column-head > strong { justify-self: end; color: rgba(38, 45, 56, 0.55); font-size: 22px; font-weight: 800; }

.task-column-more { display: grid; place-items: center; width: 32px; height: 32px; color: rgba(35, 39, 46, 0.58); font-size: 22px; line-height: 1; }

.task-column-list { display: grid; align-content: start; gap: 10px; }

.task-board-card { position: relative; display: grid; gap: 10px; width: 100%; min-height: 88px; padding: 10px; overflow: hidden; border: 1px solid rgba(180, 188, 200, 0.48); border-radius: 8px; color: rgba(31, 37, 46, 0.92); text-align: left; background: var(--card); box-shadow: none; cursor: grab; touch-action: none; transition: transform 0.18s, background 0.18s, box-shadow 0.18s; }

.task-board-card strong { display: -webkit-box; overflow: hidden; max-height: calc(2.56em); color: inherit; font-size: 15px; line-height: 1.28; font-weight: 850; -webkit-box-orient: vertical; -webkit-line-clamp: 2; text-overflow: ellipsis; white-space: normal; }

.task-board-card small { display: none; color: rgba(31, 37, 46, 0.66); font-size: 15px; line-height: 1.45; font-weight: 760; }

.task-card-meta { display: none; }

.task-board-card em { position: absolute; top: 0px; right: 0px; min-width: 28px; height: 28px; padding: 3px 8px; border-radius: 0px 8px 0px 5px; color: rgb(255, 255, 255); text-align: center; font-size: 16px; line-height: 22px; font-style: normal; font-weight: 900; background: rgb(255, 186, 20); }

.task-board-card.dragging, .task-board-card.long-dragging { z-index: 5; opacity: 0.9; cursor: grabbing; box-shadow: rgba(18, 23, 32, 0.22) 0px 18px 40px; }

.task-board-card.long-dragging { transform: translate3d(var(--drag-x, 0px), var(--drag-y, 0px), 0) scale(.98); }

.task-board-card.drag-over-target { background: rgba(168, 255, 0, 0.38); box-shadow: rgba(168, 255, 0, 0.9) 0px 0px 0px 2px inset; }

.task-board-empty { min-height: 88px; color: rgba(42, 48, 58, 0.42); background: var(--card); cursor: pointer; }

.task-waterfall-board .task-board-card, .task-waterfall-board .task-board-empty { background: var(--card); }

.task-waterfall-board:is([data-board-view="urgency"], [data-board-view="department"], [data-board-view="status"], [data-board-view="people"]) { grid-auto-columns: minmax(260px, calc(33.3333% - 9.33333px)); }

.task-waterfall-board:is([data-board-view="urgency"], [data-board-view="department"], [data-board-view="status"], [data-board-view="people"]) .task-column-list { gap: 12px; min-height: 0px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }

.task-waterfall-board:is([data-board-view="urgency"], [data-board-view="department"], [data-board-view="status"], [data-board-view="people"]) .task-column-list::-webkit-scrollbar { display: none; }

.task-waterfall-board:is([data-board-view="urgency"], [data-board-view="department"], [data-board-view="status"], [data-board-view="people"]) .task-column { height: min(72vh, 920px); min-height: 0px; border-color: transparent; background: transparent; box-shadow: none; backdrop-filter: none; }

.task-waterfall-board:is([data-board-view="urgency"], [data-board-view="department"], [data-board-view="status"], [data-board-view="people"]) .task-board-card { display: flex; align-items: center; gap: 0px; min-height: 86px; padding: 0px 54px 0px 22px; border: 1px solid rgba(180, 188, 200, 0.58); border-radius: 8px; color: rgba(10, 14, 20, 0.94); background: var(--card); box-shadow: none; }

.task-waterfall-board:is([data-board-view="urgency"], [data-board-view="department"], [data-board-view="status"], [data-board-view="people"]) .task-board-card:hover { border-color: rgba(54, 61, 72, 0.55); background: var(--card); }

.task-waterfall-board:is([data-board-view="urgency"], [data-board-view="department"], [data-board-view="status"], [data-board-view="people"]) .task-board-card strong { display: block; flex: 0 0 min(200px, 100%); width: min(200px, 100%); min-width: 0px; max-height: none; padding-right: 0px; overflow: hidden; font-size: 18px; line-height: 1.08; font-weight: 400; text-overflow: ellipsis; white-space: nowrap; -webkit-line-clamp: initial; }

.task-waterfall-board:is([data-board-view="urgency"], [data-board-view="department"], [data-board-view="status"], [data-board-view="people"]) .task-board-card small, .task-waterfall-board:is([data-board-view="urgency"], [data-board-view="department"], [data-board-view="status"], [data-board-view="people"]) .task-card-tags, .task-waterfall-board:is([data-board-view="urgency"], [data-board-view="department"], [data-board-view="status"], [data-board-view="people"]) .task-card-meta { display: none; }

.task-card-pill, .task-card-tags { max-width: 100%; }

.task-card-pill { display: block; width: fit-content; padding: 4px 12px; overflow: hidden; border-radius: 999px; color: rgb(255, 255, 255); font-size: 13px; line-height: 1.15; font-weight: 850; text-overflow: ellipsis; white-space: nowrap; background: rgba(6, 85, 115, 0.92); }

.task-card-assignee { background: rgba(78, 78, 78, 0.88); }

.task-card-tags { display: flex; flex-wrap: nowrap; gap: 6px; overflow: hidden; }

.task-card-tags span { flex: 0 1 auto; min-width: 0px; max-width: 100%; padding: 4px 9px; overflow: hidden; border-radius: 4px; color: rgba(255, 255, 255, 0.94); font-size: 13px; line-height: 1.15; font-weight: 820; text-overflow: ellipsis; white-space: nowrap; background: rgba(45, 48, 53, 0.78); }

.task-waterfall-board:is([data-board-view="urgency"], [data-board-view="department"], [data-board-view="status"], [data-board-view="people"]) .task-board-card em { top: -1px; right: -1px; min-width: 34px; height: 32px; padding: 2px 8px; border-radius: 0px 8px 0px 5px; color: rgb(255, 255, 255); font-size: 18px; line-height: 28px; background: rgb(245, 185, 26); box-shadow: none; }

.task-waterfall-board:is([data-board-view="urgency"], [data-board-view="department"], [data-board-view="status"], [data-board-view="people"]) .task-board-card em::after { content: none; }

.task-waterfall-board:is([data-board-view="urgency"], [data-board-view="department"], [data-board-view="status"], [data-board-view="people"]) .task-board-empty { min-height: 88px; color: rgba(42, 48, 58, 0.42); }

.task-column-add { display: grid; place-items: center; width: 100%; min-height: 56px; border-radius: 8px; color: rgba(34, 39, 48, 0.66); background: rgba(255, 255, 255, 0.08); }

.task-column-add svg { width: 28px; height: 28px; fill: none; stroke: currentcolor; stroke-width: 1.8; stroke-linecap: round; }

.task-waterfall-board:is([data-board-view="urgency"], [data-board-view="department"], [data-board-view="status"], [data-board-view="people"]) .task-column-add { display: flex; justify-content: flex-start; gap: 10px; padding: 0px 18px; color: rgba(42, 48, 58, 0.48); background: var(--card); border: 1px solid rgba(54, 61, 72, 0.24); }

.task-waterfall-board:is([data-board-view="urgency"], [data-board-view="department"], [data-board-view="status"], [data-board-view="people"]) .task-column-add span { font-size: 16px; font-weight: 760; }

.task-focus-detail-page { gap: 12px; padding: 0 12px calc(var(--bottom-nav-reserved) + 28px); }

.task-focus-card { gap: 16px; min-height: 0px; padding: clamp(16px, 4vw, 24px); border: 1px solid rgba(34, 39, 48, 0.08); border-radius: 8px; background: rgba(255, 255, 255, 0.72); box-shadow: rgba(31, 37, 45, 0.08) 0px 14px 34px; backdrop-filter: none; }

.task-detail-hero-card { gap: 14px; padding-top: 18px; background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(245, 247, 250, 0.72)); }

.task-detail-hero-card .task-detail-field { gap: 10px; }

.task-detail-hero-card .task-detail-field span { color: rgba(31, 37, 45, 0.56); font-size: 12px; font-weight: 850; }

.task-detail-hero-card .task-detail-field input { min-height: 54px; padding: 0px; border: 0px; border-radius: 0px; background: transparent; color: rgba(22, 27, 34, 0.96); font-size: clamp(25px, 6vw, 34px); line-height: 1.18; font-weight: 820; }

.task-title-field-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }

.task-title-ai-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 24px;
  padding: 0 9px;
  border: 1px solid rgb(168, 255, 0);
  border-radius: 0px;
  color: rgba(22, 27, 34, 0.94);
  background: rgb(168, 255, 0);
  font-size: 12px;
  font-weight: 900;
}

.task-detail-kicker, .task-detail-summary-row { display: flex; flex-wrap: wrap; gap: 8px; }

.task-detail-kicker span, .task-detail-kicker .task-kicker-action { min-height: 28px; padding: 5px 10px 0px; border-radius: 999px; color: rgba(22, 27, 34, 0.78); background: rgba(168, 255, 0, 0.72); font-size: 12px; font-weight: 850; }

.task-detail-kicker .task-kicker-action { display: inline-flex; align-items: center; justify-content: center; border: 0; }

.task-detail-kicker span:nth-child(2), .task-detail-kicker .task-kicker-action:nth-child(2) { background: rgba(255, 225, 168, 0.72); }

.task-detail-kicker span:nth-child(3), .task-detail-kicker .task-kicker-action:nth-child(3) { background: rgba(224, 231, 255, 0.82); }

.task-detail-summary-row { color: rgba(42, 48, 58, 0.58); font-size: 13px; line-height: 1.4; font-weight: 760; }

.task-description-card { align-content: start; }

.task-focus-meta-grid { display: grid; grid-template-columns: repeat(2, minmax(0px, 1fr)); gap: 10px; }

.task-focus-meta-grid .record-detail-field span { color: rgba(42, 48, 58, 0.56); font-size: 12px; font-weight: 850; }

.task-focus-meta-grid .record-detail-field input, .task-focus-meta-grid .record-detail-field select { min-height: 44px; border-color: rgba(34, 39, 48, 0.08); border-radius: 7px; background: rgba(255, 255, 255, 0.78); color: rgba(24, 29, 38, 0.82); font-size: 15px; font-weight: 760; }

.task-focus-description { display: grid; gap: 10px; }

.task-focus-description span, .task-focus-attachments header strong { color: rgba(23, 27, 34, 0.88); font-size: 17px; line-height: 1.2; font-weight: 850; }

.task-focus-description textarea { width: 100%; min-height: 170px; padding: 14px; border: 1px solid rgba(34, 39, 48, 0.08); border-radius: 8px; outline: 0px; color: rgba(28, 32, 40, 0.88); background: rgba(255, 255, 255, 0.72); font-size: 16px; line-height: 1.62; font-weight: 560; resize: vertical; }

.task-focus-description textarea::placeholder { color: rgba(60, 66, 76, 0.34); }

.task-focus-attachments { display: grid; gap: 14px; }

.task-focus-attachments header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }

.task-focus-attachments header span, .task-focus-section-head span { color: rgba(73, 78, 88, 0.58); font-size: 14px; font-weight: 760; }

.task-focus-upload { display: inline-grid; place-items: center; justify-self: start; min-height: 40px; padding: 0px 14px; border: 1px dashed rgba(34, 39, 48, 0.22); border-radius: 7px; color: rgba(34, 39, 48, 0.72); background: rgba(255, 255, 255, 0.58); font-size: 14px; font-weight: 850; cursor: pointer; }

.task-focus-upload input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

.task-focus-upload span { transform: none; font-size: 14px; line-height: 1; font-weight: 850; }

.task-focus-attachment-list:empty { display: none; }

.task-focus-section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.task-focus-section-head strong { color: rgba(23, 27, 34, 0.94); font-size: 18px; line-height: 1.2; font-weight: 850; }

.task-subtask-focus-card .task-subtask-list { gap: 12px; }

.task-subtask-focus-card .task-subtask-row { min-height: 56px; border-radius: 8px; background: rgba(255, 255, 255, 0.74); }

.task-subtask-focus-card .task-subtask-add { align-items: center; margin-top: 4px; }

.task-comment-focus-card, .task-history-focus-card, .task-focus-card.record-created-card { gap: 14px; min-height: 0px; padding: clamp(16px, 3.6vw, 22px); }

.personal-record-page { display: grid; gap: 14px; padding: 66px 0 calc(var(--bottom-nav-reserved) + 30px); }

.record-view-tabs { position: fixed; top: calc(92px + env(safe-area-inset-top, 0px)); left: calc((100vw - var(--app-width)) / 2 + (var(--app-width) - var(--nav-width)) / 2); z-index: 115; display: grid; grid-template-columns: repeat(4, minmax(0px, 1fr)); width: var(--nav-width); min-height: var(--bottom-nav-height); padding: 6px; gap: 0px; border: 1px solid rgba(255, 255, 255, 0.48); border-radius: 4px; background: rgba(255, 255, 255, 0.68); box-shadow: rgba(35, 41, 30, 0.12) 0px 16px 34px; backdrop-filter: blur(18px) saturate(1.15); transform: none; }

.record-view-tabs button { min-width: 0px; border-radius: 5px; color: rgba(0, 0, 0, 0.68); font-size: 13px; font-weight: 850; }

.record-view-tabs button.active { color: rgba(0, 0, 0, 0.86); background: rgb(168, 255, 0); }

.record-form-panel { display: grid; gap: 12px; }

.record-form-block { display: grid; grid-template-columns: 38px minmax(0px, 1fr); gap: 12px; padding: 18px; border: 1px solid rgba(255, 255, 255, 0.36); border-radius: 8px; background: rgba(255, 255, 255, 0.44); box-shadow: var(--glass-shadow); backdrop-filter: blur(18px) saturate(1.12); }

.record-form-block > span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 5px; color: rgba(0, 0, 0, 0.82); background: rgb(168, 255, 0); font-weight: 900; }

.record-form-block label { display: grid; gap: 10px; }

.record-source-field { display: grid; gap: 12px; }

.record-field-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.record-form-block strong { color: rgba(0, 0, 0, 0.78); font-size: 18px; }

.record-source-add { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 5px; color: rgba(0, 0, 0, 0.86); background: rgb(168, 255, 0); font-size: 24px; line-height: 1; font-weight: 700; }

.record-source-chips { display: flex; flex-wrap: wrap; gap: 10px; }

.record-author-chips { display: flex; flex-wrap: nowrap; gap: 10px; padding-left: 0px; align-items: center; grid-column: 2; width: 100%; overflow-x: auto; }

.record-author-chip, .record-source-chip { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; min-width: 64px; padding: 0px 18px; border: 1px solid rgba(255, 255, 255, 0.48); border-radius: 999px; color: rgba(0, 0, 0, 0.68); background: rgba(255, 255, 255, 0.48); font-size: 15px; font-weight: 850; white-space: nowrap; }

.record-author-chip.selected, .record-author-chip:hover, .record-source-chip.selected { color: rgba(0, 0, 0, 0.86); background: rgb(168, 255, 0); box-shadow: rgba(55, 70, 25, 0.16) 0px 10px 22px; }

.record-form-block textarea, .record-form-block input { width: 100%; border: 1px solid rgba(255, 255, 255, 0.46); border-radius: 6px; background: rgba(255, 255, 255, 0.58); color: rgba(0, 0, 0, 0.78); }

.record-form-block textarea { min-height: 190px; padding: 14px; resize: vertical; }

.record-form-block input { min-height: 46px; padding: 0px 14px; }

.record-submit-button { justify-self: center; min-width: 132px; min-height: 42px; border-radius: 6px; color: rgba(0, 0, 0, 0.86); background: rgb(168, 255, 0); font-weight: 900; box-shadow: rgba(55, 70, 25, 0.22) 0px 14px 30px; }

.record-table-panel, .record-board-panel, .record-album-panel { min-height: 220px; }

.record-table { display: grid; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.36); border-radius: 8px; background: rgba(255, 255, 255, 0.46); backdrop-filter: blur(18px) saturate(1.12); }

.record-table-row { display: grid; grid-template-columns: minmax(160px, 1.4fr) minmax(88px, 0.7fr) minmax(110px, 0.9fr); gap: 10px; width: 100%; min-height: 48px; padding: 0px 16px; align-items: center; text-align: left; border-top: 1px solid rgba(255, 255, 255, 0.35); }

.record-table-row.head { border-top: 0px; color: rgba(0, 0, 0, 0.78); font-weight: 900; background: rgba(255, 255, 255, 0.42); }

.record-table-row span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.record-waterfall { column-width: 250px; column-gap: 12px; }

.record-board-card { display: inline-grid; gap: 10px; width: 100%; min-height: 150px; margin: 0px 0px 12px; padding: 18px; break-inside: avoid; border: 1px solid rgba(255, 255, 255, 0.34); border-radius: 8px; text-align: left; background: rgba(255, 255, 255, 0.46); backdrop-filter: blur(18px) saturate(1.12); }

.record-board-card:nth-child(3n+1) { min-height: 206px; }

.record-board-card strong, .record-album-card strong { color: rgba(0, 0, 0, 0.8); font-size: 18px; line-height: 1.25; }

.record-board-card span, .record-board-card p, .record-album-card span { margin: 0px; color: rgba(0, 0, 0, 0.58); font-size: 13px; line-height: 1.42; }

.record-album-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }

.record-album-card { display: grid; gap: 9px; padding: 10px 10px 14px; border: 1px solid rgba(255, 255, 255, 0.34); border-radius: 8px; text-align: left; background: rgba(255, 255, 255, 0.46); backdrop-filter: blur(18px) saturate(1.12); }

.record-album-card > div { display: grid; place-items: center; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 6px; background: rgba(255, 255, 255, 0.36); }

.record-album-card img { width: 100%; height: 100%; object-fit: cover; }

.record-source-backdrop { align-items: stretch; padding: calc(176px + env(safe-area-inset-top, 0px)) 18px calc(var(--bottom-nav-reserved) + 18px); background: rgba(0, 0, 0, 0.18); backdrop-filter: blur(2px); }

.record-source-editor { display: grid; grid-template-rows: auto auto minmax(0px, 1fr); width: min(860px, 100%); max-height: none; margin: 0px auto; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.34); border-radius: 8px; background: rgba(255, 255, 255, 0.28); color: rgba(0, 0, 0, 0.82); box-shadow: var(--glass-shadow); backdrop-filter: blur(22px) saturate(1.14); }

.record-source-editor header { position: relative; z-index: 2; display: grid; grid-template-columns: 80px minmax(0px, 1fr) 80px; align-items: center; width: min(620px, 100% - 28px); min-height: 54px; margin: 0px auto 14px; padding: 10px 16px; border: 1px solid rgba(255, 255, 255, 0.56); border-radius: 8px; background: rgba(255, 255, 255, 0.82); box-shadow: rgba(38, 31, 25, 0.12) 0px 14px 35px; backdrop-filter: blur(16px); }

.record-source-editor header strong { justify-self: center; min-height: 32px; min-width: 112px; padding: 5px 18px 0px; border-radius: 4px; text-align: center; background: rgb(168, 255, 0); font-size: 15px; font-weight: 850; }

.record-source-editor header button { justify-self: end; min-height: 32px; padding: 0px 12px; border-radius: 4px; color: rgba(0, 0, 0, 0.86); background: rgb(168, 255, 0); font-size: 13px; font-weight: 850; }

.record-source-search-row { display: grid; grid-template-columns: minmax(0px, 1fr) 54px; align-items: center; gap: 14px; padding: 0px 22px 16px; }

.record-source-search-row label { display: grid; grid-template-columns: 32px minmax(0px, 1fr); align-items: center; min-height: 56px; padding: 0px 16px; border: 1px solid rgba(255, 255, 255, 0.42); border-radius: 8px; background: rgba(255, 255, 255, 0.48); backdrop-filter: blur(14px); }

.record-source-search-row svg { width: 24px; height: 24px; color: rgb(143, 150, 162); fill: none; stroke: currentcolor; stroke-width: 1.9; }

.record-source-search-row input { min-width: 0px; border: 0px; outline: 0px; background: transparent; color: rgba(0, 0, 0, 0.78); font-size: 20px; }

.record-source-search-row > button { display: grid; place-items: center; width: 48px; height: 48px; color: rgba(0, 0, 0, 0.86); border-radius: 6px; background: rgb(168, 255, 0); font-size: 32px; line-height: 1; font-weight: 700; }

.record-source-edit-list { display: grid; align-content: start; gap: 12px; overflow: auto; padding: 0px 22px 22px; }

.record-source-edit-row { display: grid; grid-template-columns: 54px minmax(0px, 1fr) 52px; align-items: center; gap: 12px; min-height: 76px; padding: 0px 12px; border: 1px solid rgba(255, 255, 255, 0.34); border-radius: 8px; background: rgba(255, 255, 255, 0.38); box-shadow: rgba(255, 255, 255, 0.18) 0px 1px 0px inset; backdrop-filter: blur(18px) saturate(1.12); }

.record-source-check { width: 34px; height: 34px; border: 2px solid rgb(141, 148, 158); border-radius: 50%; }

.record-source-check.selected { border-color: rgb(168, 255, 0); background: rgb(168, 255, 0); box-shadow: rgba(255, 255, 255, 0.82) 0px 0px 0px 7px inset; }

.record-source-pill { justify-self: start; min-height: 36px; padding: 3px 18px 0px; border-radius: 999px; font-size: 22px; line-height: 1.35; font-weight: 850; }

.record-source-pill.source-0 { background: rgb(201, 244, 255); }

.record-source-pill.source-1 { background: rgb(223, 232, 255); }

.record-source-pill.source-2 { background: rgb(255, 232, 202); }

.record-source-pill.source-3 { background: rgb(201, 247, 239); }

.record-source-more { color: rgb(141, 148, 158); font-size: 30px; letter-spacing: 2px; }

.personal-record-detail-page { display: grid; gap: 12px; padding: 0 12px calc(var(--bottom-nav-reserved) + 24px); }

.record-detail-card { display: grid; gap: 12px; padding: 16px; border: 1px solid rgba(255, 255, 255, 0.34); border-radius: 8px; background: rgba(255, 255, 255, 0.42); box-shadow: var(--glass-shadow); backdrop-filter: blur(18px) saturate(1.12); }

.record-detail-field { display: grid; gap: 8px; }

.detail-author-chips, .record-detail-source { grid-column: 1 / -1; }

.record-detail-source { display: grid; gap: 12px; }

.record-detail-field span, .record-detail-section-head strong { color: rgba(0, 0, 0, 0.78); font-size: 15px; font-weight: 900; }

.record-detail-field input, .record-detail-field select, .record-detail-field textarea, .record-comment-edit input, .record-comment-compose input { width: 100%; border: 1px solid rgba(255, 255, 255, 0.46); border-radius: 6px; background: rgba(255, 255, 255, 0.56); color: rgba(0, 0, 0, 0.76); }

.record-detail-field input, .record-detail-field select, .record-comment-edit input, .record-comment-compose input { min-height: 44px; padding: 0px 12px; }

.record-detail-field textarea { min-height: 170px; padding: 12px; resize: vertical; }

.record-detail-section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.record-detail-section-head span, .record-history-list span, .record-comment-list span { color: rgba(0, 0, 0, 0.52); font-size: 12px; font-weight: 750; }

.record-history-list, .record-comment-list { display: grid; gap: 8px; }

.record-history-list article, .record-comment-item { display: grid; gap: 4px; padding: 12px; border-radius: 6px; background: rgba(255, 255, 255, 0.58); border: 1px solid rgba(34, 39, 48, 0.06); }

.record-history-list article strong, .record-comment-item strong { color: rgba(22, 27, 34, 0.82); }

.record-comment-item p { margin: 0px; color: rgba(22, 27, 34, 0.76); line-height: 1.55; }

.record-comment-item header, .record-comment-item footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; }

.record-comment-item footer { justify-content: flex-start; }

.record-comment-item footer button { min-height: 28px; padding: 0px 10px; border-radius: 5px; color: rgba(0, 0, 0, 0.7); background: rgba(255, 255, 255, 0.34); font-size: 12px; font-weight: 850; }

.record-comment-replies { display: grid; gap: 8px; margin-top: 4px; padding-left: 16px; border-left: 2px solid rgba(168, 255, 0, 0.55); }

.record-comment-item.reply { background: rgba(255, 255, 255, 0.24); }

.record-comment-edit { display: grid; grid-template-columns: minmax(0px, 1fr) 72px; gap: 8px; }

.record-comment-edit button { border-radius: 6px; color: rgba(0, 0, 0, 0.86); background: rgb(168, 255, 0); font-weight: 900; }

.record-history-list p, .record-comment-list p { margin: 0px; color: rgba(0, 0, 0, 0.58); }

.record-comment-compose { display: grid; grid-template-columns: minmax(0px, 1fr) 72px; gap: 8px; }

.record-comment-compose button { border-radius: 6px; color: rgba(0, 0, 0, 0.86); background: rgb(168, 255, 0); font-weight: 900; }

.record-created-card { grid-template-columns: minmax(0px, 1fr) auto; align-items: center; }

.record-created-card span { color: rgba(0, 0, 0, 0.62); font-size: 14px; font-weight: 850; }

.record-created-card strong { color: rgba(0, 0, 0, 0.78); font-size: 16px; }

.task-detail-page { padding-top: 0px; }

.task-title-card { grid-template-columns: repeat(2, minmax(0px, 1fr)); }

.task-detail-field.full, .task-title-card .task-detail-field:first-child { grid-column: 1 / -1; }

.task-title-card .task-detail-field:first-child input { min-height: 52px; font-size: 20px; font-weight: 900; }

.task-ai-hint { grid-column: 1 / -1; margin: -2px 0px 0px; color: rgba(0, 0, 0, 0.52); font-size: 13px; font-weight: 760; }

.task-attachment-upload { display: grid; place-items: center; min-height: 48px; border: 1px dashed rgba(0, 0, 0, 0.22); border-radius: 7px; color: rgba(0, 0, 0, 0.78); background: rgba(168, 255, 0, 0.54); font-weight: 900; cursor: pointer; }

.task-attachment-upload input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

.task-add-submit { min-height: 48px; border-radius: 7px; color: rgba(0, 0, 0, 0.86); background: rgb(168, 255, 0); font-size: 16px; font-weight: 900; box-shadow: rgba(35, 41, 30, 0.12) 0px 12px 28px; }

.task-chip-list { display: flex; flex-wrap: wrap; gap: 8px; }

.task-chip-list span { max-width: 100%; padding: 7px 10px; overflow: hidden; border-radius: 6px; color: rgba(0, 0, 0, 0.72); background: rgba(255, 255, 255, 0.42); text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 800; }

.task-chip-list p { margin: 0px; color: rgba(0, 0, 0, 0.58); }

@media (max-width: 560px) {
  .task-focus-meta-grid { grid-template-columns: minmax(0px, 1fr); }
  .task-title-card { grid-template-columns: minmax(0px, 1fr); }
  .task-subtask-row { grid-template-columns: 26px minmax(0px, 1fr) auto; }
  .task-subtask-status { display: none; }
}

.task-subtask-list { display: grid; gap: 8px; }

.task-subtask-row { display: grid; grid-template-columns: 26px minmax(0px, 1fr) auto auto; align-items: center; gap: 8px; min-height: 54px; padding: 8px 10px; border: 1px solid rgba(34, 39, 48, 0.07); border-radius: 7px; background: rgba(255, 255, 255, 0.64); }

.task-subtask-row.completed { opacity: 0.58; }

.task-subtask-row.completed .task-subtask-title-input { color: rgba(0, 0, 0, 0.46); text-decoration: line-through; }

.task-subtask-check { width: 22px; height: 22px; border: 2px solid rgb(138, 146, 157); border-radius: 5px; background: rgba(255, 255, 255, 0.78); }

.task-subtask-check[aria-pressed="true"] { border-color: rgb(130, 148, 43); background: rgb(168, 255, 0); box-shadow: rgba(255, 255, 255, 0.82) 0px 0px 0px 5px inset; }

.task-subtask-title-input { min-width: 0px; width: 100%; height: 36px; border: 0px; outline: 0px; background: transparent; overflow: hidden; color: rgba(22, 27, 34, 0.84); text-overflow: ellipsis; white-space: nowrap; font-size: 16px; font-weight: 760; }

.task-subtask-title-input:focus { border-radius: 6px; background: rgba(255, 255, 255, 0.52); box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 0px 1px inset; }

.task-subtask-status { min-height: 28px; padding: 5px 9px 0px; border-radius: 999px; color: rgba(42, 48, 58, 0.58); background: rgba(34, 39, 48, 0.06); font-size: 12px; font-weight: 850; white-space: nowrap; }

.task-subtask-row.completed .task-subtask-status { color: rgba(48, 75, 18, 0.74); background: rgba(168, 255, 0, 0.54); }

.task-subtask-view { min-height: 32px; padding: 0px 11px; border: 1px solid rgba(34, 39, 48, 0.08); border-radius: 7px; color: rgba(0, 0, 0, 0.66); background: rgba(255, 255, 255, 0.64); font-size: 13px; font-weight: 850; }

.task-subtask-empty { margin: 0px; color: rgba(42, 48, 58, 0.58); line-height: 1.5; }

.task-subtask-add { display: grid; grid-template-columns: minmax(0px, 1fr) 68px; gap: 8px; }

.task-subtask-add input { min-height: 44px; padding: 0px 12px; border: 1px solid rgba(34, 39, 48, 0.08); border-radius: 7px; background: rgba(255, 255, 255, 0.72); color: rgba(22, 27, 34, 0.76); }

.task-subtask-add button { border-radius: 6px; color: rgba(0, 0, 0, 0.86); background: rgb(168, 255, 0); font-weight: 900; }

.task-settings-page { display: grid; gap: 12px; padding: 0 12px calc(var(--bottom-nav-reserved) + 24px); }

.task-settings-card textarea { min-height: 150px; padding: 12px; border: 1px solid rgba(255, 255, 255, 0.46); border-radius: 6px; background: rgba(255, 255, 255, 0.56); color: rgba(0, 0, 0, 0.76); line-height: 1.55; resize: vertical; }

@media (max-width: 560px) {
  :root { --edge-pad: 10px; --bottom-nav-height: 50px; --bottom-nav-gap: 8px; }
  .screen { --app-width: 100vw; --nav-width: calc(100vw - 20px); }
  .screen[data-screen][data-page="home"] .topbar { grid-template-columns: 58px minmax(0px, 1fr) 64px; width: var(--nav-width); min-height: 46px; margin-top: calc(10px + env(safe-area-inset-top, 0px)); padding: 7px 8px; }
  .screen[data-screen][data-page="home"] .title-button, .screen[data-screen="calendar"][data-page="home"] .topbar-title, .screen[data-screen="settings"][data-page="home"] .topbar-title, .screen[data-screen="users"][data-page="home"] .topbar-title { min-width: 0px; min-height: 30px; padding: 0px 10px; font-size: 13px; }
  .screen[data-screen][data-page="home"] .top-settings-button { font-size: 12px; }
  .screen[data-screen][data-page="home"] .toolbar-actions { gap: 4px; }
  .screen[data-screen][data-page="home"] .icon-button { width: 30px; height: 30px; }
  .task-quick-nav { top: calc(64px + env(safe-area-inset-top, 0px)); width: var(--nav-width); gap: 4px; padding: 4px; }
  .task-quick-nav button { min-height: 31px; border-radius: 5px; font-size: 12px; }
  .screen[data-screen="closet"][data-page="home"] > .main-scroll { padding-top: calc(0px + env(safe-area-inset-top, 0px)); }
  .memory-home { width: 100%; }
  .task-waterfall-board { grid-auto-columns: minmax(252px, calc(-42px + 100vw)); gap: 10px; padding: 0px 10px 10px 6px; scroll-padding-inline: 6px; }
  .task-column { height: calc(100dvh - var(--bottom-nav-reserved) - 72px); min-height: 0px; padding: 12px 10px 10px; gap: 12px; }
  .task-column-head { grid-template-columns: minmax(0px, auto) minmax(0px, 1fr) 28px; gap: 8px; }
  .task-column-title span { padding: 4px 14px; font-size: 20px; }
  .task-column-head > strong { justify-self: end; font-size: 20px; }
  .task-column-more { width: 28px; height: 28px; font-size: 18px; }
  .task-column-list { gap: 9px; }
  .task-board-card { min-height: 72px; }
  .task-waterfall-board:is([data-board-view="urgency"], [data-board-view="department"], [data-board-view="status"], [data-board-view="people"]) .task-board-card { min-height: 82px; padding: 0px 50px 0px 18px; }
  .task-waterfall-board:is([data-board-view="urgency"], [data-board-view="department"], [data-board-view="status"], [data-board-view="people"]) .task-board-card strong { width: min(200px, 100%); padding-right: 0px; font-size: 18px; font-weight: 400; }
  .task-focus-detail-page { gap: 16px; padding: 0 16px calc(var(--bottom-nav-reserved) + 26px); }
  .task-focus-card { min-height: 170px; padding: 28px; border-radius: 20px; }
  .task-description-card { min-height: 520px; }
  .task-focus-description { gap: 22px; }
  .task-focus-description textarea { min-height: 300px; }
  .task-column-add { min-height: 48px; }
  .tabbar { left: 10px; width: calc(-20px + 100vw); min-height: var(--bottom-nav-height); padding: 5px; }
  .nav-item { height: 38px; font-size: 12px; }
  .tabbar[data-tab-count="5"] .nav-item { font-size: 12px; }
  .fab { right: 14px; bottom: calc(var(--bottom-nav-reserved) + 10px); width: 42px; height: 42px; }
  .task-masonry { }
  .personal-record-page { padding-top: 62px; }
  .record-view-tabs { top: calc(86px + env(safe-area-inset-top, 0px)); width: var(--nav-width); }
  .record-table-row { grid-template-columns: minmax(0px, 1fr); gap: 3px; padding: 10px 14px; }
  .record-table-row.head { display: none; }
}

/* Task create/detail refinement: quiet Apple/Feishu-like surfaces. */
.screen:has(.task-focus-detail-page),
.screen:has(.task-add-page) {
  background: #f5f5f7 !important;
  background-image: none !important;
}

.screen:has(.task-focus-detail-page) .full-page,
.screen:has(.task-add-page) .full-page {
  background: #f5f5f7;
}

.screen:has(.task-focus-detail-page) .page-topbar,
.screen:has(.task-add-page) .page-topbar {
  border-bottom: 1px solid rgba(31, 35, 41, .08);
  background: rgba(245, 245, 247, .92);
  box-shadow: none;
  backdrop-filter: blur(18px) saturate(1.16);
  -webkit-backdrop-filter: blur(18px) saturate(1.16);
}

.screen:has(.task-focus-detail-page) .page-topbar strong,
.screen:has(.task-add-page) .page-topbar strong {
  color: #1f2329;
  font-size: 16px;
  font-weight: 700;
}

.screen:has(.task-focus-detail-page) .plain-back,
.screen:has(.task-add-page) .plain-back {
  min-height: 32px;
  border-radius: 7px;
  color: #3370ff;
  background: transparent;
  box-shadow: none;
  font-weight: 650;
}

.screen:has(.task-focus-detail-page) .page-topbar .text-button,
.screen:has(.task-add-page) .page-topbar .text-button {
  min-height: 32px;
  border-radius: 7px;
  box-shadow: none;
  font-weight: 650;
}

.screen:has(.task-focus-detail-page) .primary-text-button,
.screen:has(.task-add-page) .primary-text-button {
  color: #fff;
  background: #3370ff;
}

.screen:has(.task-focus-detail-page) .page-topbar .danger-text-button {
  color: #d83931;
  background: transparent;
}

.task-focus-detail-page,
.task-add-page {
  gap: 12px !important;
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 0 12px calc(var(--bottom-nav-reserved) + 28px) !important;
}

.task-focus-card,
.task-add-page .record-detail-card {
  gap: 14px !important;
  min-height: 0 !important;
  padding: 16px !important;
  border: 1px solid rgba(31, 35, 41, .08) !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: 0 1px 2px rgba(31, 35, 41, .04) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.task-add-intro-card {
  gap: 6px !important;
}

.task-add-intro-card strong {
  color: #1f2329;
  font-size: 22px;
  line-height: 1.18;
  font-weight: 750;
}

.task-add-intro-card p {
  margin: 0;
  color: #646a73;
  font-size: 14px;
  line-height: 1.55;
}

.task-detail-hero-card {
  gap: 14px !important;
  padding: 18px 16px 16px !important;
  background: #fff !important;
}

.task-detail-hero-card .task-detail-field span,
.task-add-page .record-detail-field span,
.task-focus-meta-grid .record-detail-field span {
  color: #646a73 !important;
  font-size: 12px !important;
  font-weight: 550 !important;
}

.task-detail-hero-card .task-detail-field input {
  min-height: 50px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #1f2329 !important;
  font-size: clamp(24px, 5.6vw, 32px) !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
}

.task-detail-kicker,
.task-detail-summary-row {
  gap: 8px !important;
}

.task-detail-kicker span,
.task-detail-kicker .task-kicker-action {
  min-height: 26px !important;
  padding: 5px 10px 0 !important;
  border-radius: 999px !important;
  color: #245b3d !important;
  background: #e4f7ed !important;
  font-size: 12px !important;
  font-weight: 650 !important;
}

.task-detail-kicker span:nth-child(2),
.task-detail-kicker .task-kicker-action:nth-child(2) {
  color: #8f5c00 !important;
  background: #fff1d6 !important;
}

.task-detail-kicker span:nth-child(3),
.task-detail-kicker .task-kicker-action:nth-child(3) {
  color: #2452cc !important;
  background: #e8f0ff !important;
}

.task-detail-summary-row {
  color: #646a73 !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
  font-weight: 500 !important;
}

.task-focus-meta-grid,
.task-add-main-card {
  overflow: hidden;
  border: 1px solid rgba(31, 35, 41, .08);
  border-radius: 8px;
  background: rgba(31, 35, 41, .08);
}

.task-focus-meta-grid {
  gap: 1px !important;
}

.task-focus-meta-grid .record-detail-field,
.task-add-main-card .record-detail-field {
  gap: 6px !important;
  min-height: 70px;
  padding: 11px 12px 10px;
  background: #fff;
}

.task-add-main-card {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 1px !important;
  padding: 0 !important;
}

.task-add-main-card .record-detail-field.full {
  grid-column: 1 / -1;
}

.task-add-main-card .record-detail-field textarea,
.task-focus-description textarea {
  min-height: 164px !important;
  padding: 14px !important;
  border: 1px solid rgba(31, 35, 41, .08) !important;
  border-radius: 8px !important;
  outline: 0;
  color: #1f2329 !important;
  background: #f7f8fa !important;
  font-size: 16px !important;
  line-height: 1.62 !important;
  font-weight: 400 !important;
}

.task-add-main-card .record-detail-field input,
.task-add-main-card .record-detail-field select,
.task-focus-meta-grid .record-detail-field select,
.record-comment-compose input,
.task-subtask-add input {
  min-height: 40px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #1f2329 !important;
  font-size: 15px !important;
  font-weight: 500 !important;
}

.task-add-main-card .record-detail-field input::placeholder,
.task-add-main-card .record-detail-field textarea::placeholder,
.task-focus-description textarea::placeholder,
.record-comment-compose input::placeholder,
.task-subtask-add input::placeholder {
  color: #a6aab0;
}

.task-ai-hint {
  grid-column: 1 / -1 !important;
  margin: 0 !important;
  padding: 10px 12px !important;
  color: #646a73 !important;
  background: #fff !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
  font-weight: 500 !important;
}

.task-focus-description {
  gap: 10px !important;
}

.task-focus-description span,
.task-focus-attachments header strong,
.task-focus-section-head strong,
.task-add-action-card .record-detail-section-head strong {
  color: #1f2329 !important;
  font-size: 16px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
}

.task-focus-attachments header span,
.task-focus-section-head span,
.task-add-action-card .record-detail-section-head span {
  color: #8f959e !important;
  font-size: 13px !important;
  font-weight: 500 !important;
}

.task-focus-upload,
.task-attachment-upload {
  display: inline-grid !important;
  place-items: center !important;
  justify-self: start;
  min-height: 36px !important;
  padding: 0 12px !important;
  border: 1px solid rgba(51, 112, 255, .22) !important;
  border-radius: 7px !important;
  color: #2452cc !important;
  background: #f0f5ff !important;
  font-size: 13px !important;
  font-weight: 650 !important;
  box-shadow: none !important;
}

.task-chip-list span {
  padding: 6px 10px !important;
  border-radius: 999px !important;
  color: #2452cc !important;
  background: #f0f5ff !important;
  font-size: 13px !important;
  font-weight: 550 !important;
}

.task-chip-list p,
.task-subtask-empty,
.record-history-list p,
.record-comment-list p {
  margin: 0 !important;
  color: #8f959e !important;
  line-height: 1.5 !important;
}

.task-subtask-row {
  grid-template-columns: 24px minmax(0, 1fr) auto auto !important;
  min-height: 52px !important;
  padding: 8px 10px !important;
  border: 1px solid rgba(31, 35, 41, .08) !important;
  border-radius: 8px !important;
  background: #fff !important;
}

.task-subtask-check {
  width: 20px !important;
  height: 20px !important;
  border: 1.5px solid #bbbfc4 !important;
  border-radius: 999px !important;
  background: #fff !important;
}

.task-subtask-check[aria-pressed="true"] {
  border-color: #3370ff !important;
  background: #3370ff !important;
  box-shadow: inset 0 0 0 5px #fff !important;
}

.task-subtask-title-input {
  color: #1f2329 !important;
  font-size: 16px !important;
  font-weight: 500 !important;
}

.task-subtask-status {
  color: #646a73 !important;
  background: #f2f3f5 !important;
  font-weight: 550 !important;
}

.task-subtask-row.completed .task-subtask-status,
.task-subtask-view {
  color: #2452cc !important;
  background: #f0f5ff !important;
}

.task-subtask-view {
  min-height: 30px !important;
  border: 1px solid rgba(51, 112, 255, .18) !important;
  border-radius: 7px !important;
  font-weight: 650 !important;
}

.task-subtask-add button,
.record-comment-compose button,
.task-add-submit {
  min-height: 40px !important;
  border-radius: 7px !important;
  color: #fff !important;
  background: #3370ff !important;
  font-size: 14px !important;
  font-weight: 650 !important;
  box-shadow: none !important;
}

.task-add-submit {
  width: 100%;
}

.record-history-list article,
.record-comment-item {
  border: 1px solid rgba(31, 35, 41, .06) !important;
  border-radius: 8px !important;
  background: #f7f8fa !important;
}

.record-comment-item footer button {
  color: #3370ff !important;
  background: #fff !important;
  font-weight: 650 !important;
}

.record-comment-replies {
  border-left-color: rgba(51, 112, 255, .18) !important;
}

.record-created-card span {
  color: #646a73 !important;
  font-weight: 500 !important;
}

.record-created-card strong {
  color: #1f2329 !important;
  font-weight: 650 !important;
}

.screen:has(.task-focus-detail-page) .bottom-nav,
.screen:has(.task-add-page) .bottom-nav,
.screen:has(.task-focus-detail-page) .tabbar,
.screen:has(.task-add-page) .tabbar {
  border: 1px solid rgba(31, 35, 41, .08);
  border-radius: 10px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 8px 24px rgba(31, 35, 41, .08);
}

.screen:has(.task-focus-detail-page) .bottom-nav .nav-item.active,
.screen:has(.task-add-page) .bottom-nav .nav-item.active,
.screen:has(.task-focus-detail-page) .tabbar .nav-item.active,
.screen:has(.task-add-page) .tabbar .nav-item.active {
  color: #2452cc;
  background: #f0f5ff;
}

@media (max-width: 560px) {
  .task-focus-detail-page,
  .task-add-page {
    gap: 10px !important;
    padding: 0 10px calc(var(--bottom-nav-reserved) + 22px) !important;
  }

  .task-focus-card,
  .task-add-page .record-detail-card {
    padding: 14px !important;
    border-radius: 8px !important;
  }

  .task-add-main-card {
    grid-template-columns: minmax(0, 1fr) !important;
    padding: 0 !important;
  }

  .task-focus-meta-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .task-description-card {
    min-height: 0 !important;
  }

  .task-focus-description textarea,
  .task-add-main-card .record-detail-field textarea {
    min-height: 150px !important;
  }

  .task-subtask-row {
    grid-template-columns: 24px minmax(0, 1fr) auto !important;
  }
}

/* Feishu Bitable-inspired mobile record layout. */
.task-record-eyebrow,
.task-add-intro-card > span {
  justify-self: start;
  min-height: 24px;
  padding: 4px 9px 0;
  border-radius: 999px;
  color: #3370ff;
  background: #f0f5ff;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 650;
}

.task-record-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 28px;
}

.task-record-section-title strong {
  color: #1f2329;
  font-size: 15px;
  font-weight: 700;
}

.task-record-section-title span {
  color: #8f959e;
  font-size: 12px;
  font-weight: 500;
}

.task-detail-hero-card .task-detail-field {
  padding-top: 4px;
}

.task-detail-kicker {
  order: 4;
  padding-top: 2px;
}

.task-detail-summary-row span {
  position: relative;
  padding-left: 10px;
}

.task-detail-summary-row span::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: #c9cdd4;
}

.task-focus-meta-grid,
.task-add-main-card {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 0 !important;
  overflow: hidden;
  border: 1px solid rgba(31, 35, 41, .08) !important;
  border-radius: 8px !important;
  background: #fff !important;
}

.task-focus-meta-grid .record-detail-field,
.task-add-main-card .record-detail-field:not(.full) {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: center;
  min-height: 52px;
  padding: 0 12px !important;
  border-top: 1px solid #eff0f1;
  background: #fff !important;
}

.task-focus-meta-grid .record-detail-field:first-child {
  border-top: 0;
}

.task-focus-meta-grid .record-detail-field span,
.task-add-main-card .record-detail-field:not(.full) span {
  align-self: center;
  color: #646a73 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
}

.task-focus-meta-grid .record-detail-field select,
.task-add-main-card .record-detail-field:not(.full) select {
  min-height: 52px !important;
  padding: 0 2px 0 10px !important;
  text-align: right;
  color: #1f2329 !important;
  font-size: 15px !important;
  font-weight: 500 !important;
}

.task-field-picker {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18px;
  align-items: center;
  width: 100%;
  min-height: 52px;
  padding: 0 2px 0 10px;
  text-align: right;
  color: #1f2329;
  background: transparent;
  font-size: 15px;
  font-weight: 500;
}

.task-field-picker span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.task-field-picker b {
  color: #8f959e;
  font-size: 18px;
  line-height: 1;
  font-weight: 500;
}

.task-field-picker:focus,
.task-field-picker:focus-visible {
  outline: 0;
  background: #f8fbff;
}

.task-add-main-card .record-detail-field.full {
  display: grid;
  gap: 9px !important;
  padding: 13px 12px !important;
  border-top: 1px solid #eff0f1;
}

.task-add-main-card .record-detail-field.full:first-child {
  border-top: 0;
}

.task-add-main-card .record-detail-field.full span,
.task-focus-description span {
  color: #646a73 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
}

.task-add-main-card .record-detail-field input,
.task-add-main-card .record-detail-field textarea,
.task-focus-description textarea {
  border-radius: 7px !important;
}

.task-add-main-card .record-detail-field input {
  min-height: 44px !important;
  padding: 0 12px !important;
  background: #f7f8fa !important;
}

.task-add-main-card .record-detail-field textarea,
.task-focus-description textarea {
  min-height: 132px !important;
}

.task-ai-hint {
  position: relative;
  padding: 11px 12px 11px 34px !important;
  border-top: 1px solid #eff0f1;
  color: #646a73 !important;
  background: #fbfcff !important;
}

.task-ai-hint::before {
  content: "AI";
  position: absolute;
  left: 12px;
  top: 11px;
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  color: #3370ff;
  background: #e8f0ff;
  font-size: 9px;
  font-weight: 700;
}

.task-ai-suggestion {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 8px 10px 8px 12px;
  border: 1px solid rgba(51, 112, 255, .18);
  border-radius: 8px;
  color: #2452cc;
  background: #f8fbff;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 500;
}

.task-ai-suggestion[hidden] {
  display: none;
}

.task-ai-suggestion span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.task-ai-suggestion button {
  min-height: 30px;
  padding: 0 11px;
  border-radius: 7px;
  color: #fff;
  background: #3370ff;
  font-size: 13px;
  font-weight: 650;
}

.task-field-sheet-backdrop {
  background: rgba(15, 23, 42, .18);
}

.task-field-sheet {
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(31, 35, 41, .08);
  border-radius: 16px 16px 0 0;
  background: #fff;
  box-shadow: 0 -12px 34px rgba(31, 35, 41, .16);
}

.task-field-sheet .sheet-grabber {
  justify-self: center;
  width: 36px;
  height: 4px;
  margin: 10px 0 6px;
  border-radius: 999px;
  background: #d8dade;
}

.task-field-sheet-head {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 64px;
  align-items: center;
  min-height: 48px;
  padding: 0 14px 6px;
}

.task-field-sheet-head strong {
  grid-column: 2;
  justify-self: center;
  color: #1f2329;
  font-size: 16px;
  font-weight: 700;
}

.task-field-sheet-head button {
  grid-column: 3;
  justify-self: end;
  min-height: 32px;
  padding: 0 4px;
  color: #3370ff;
  font-size: 14px;
  font-weight: 650;
}

.task-field-option-list {
  display: grid;
  max-height: min(46vh, 360px);
  overflow: auto;
  padding: 0 12px calc(12px + env(safe-area-inset-bottom, 0px));
}

.task-field-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px;
  align-items: center;
  min-height: 50px;
  padding: 0 10px 0 12px;
  border-top: 1px solid #eff0f1;
  color: #1f2329;
  text-align: left;
  font-size: 16px;
  font-weight: 500;
}

.task-field-option:first-child {
  border-top: 0;
}

.task-field-option.selected {
  color: #2452cc;
  background: #f8fbff;
}

.task-field-option b {
  justify-self: end;
  color: #3370ff;
  font-size: 17px;
  font-weight: 700;
}

.task-add-action-card {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.task-add-action-card .record-detail-section-head {
  grid-column: 1 / -1;
}

.task-add-action-card .task-attachment-upload {
  justify-self: start;
}

.task-add-action-card .task-add-submit {
  justify-self: end;
  width: auto;
  min-width: 104px;
}

.task-focus-attachments {
  padding-top: 2px;
}

.task-subtask-focus-card,
.task-comment-focus-card,
.task-history-focus-card {
  gap: 12px !important;
}

.record-history-list,
.record-comment-list,
.task-subtask-list {
  gap: 6px !important;
}

.record-history-list article,
.record-comment-item,
.task-subtask-row {
  box-shadow: none !important;
}

.record-comment-compose,
.task-subtask-add {
  grid-template-columns: minmax(0, 1fr) 64px !important;
  padding-top: 2px;
}

.record-comment-compose input,
.task-subtask-add input {
  min-height: 40px !important;
  padding: 0 12px !important;
  border: 1px solid rgba(31, 35, 41, .08) !important;
  border-radius: 7px !important;
  background: #f7f8fa !important;
}

@media (max-width: 560px) {
  .task-detail-hero-card {
    padding-top: 15px !important;
  }

  .task-detail-hero-card .task-detail-field input {
    font-size: 25px !important;
  }

  .task-focus-meta-grid .record-detail-field,
  .task-add-main-card .record-detail-field:not(.full) {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .task-add-action-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .task-add-action-card .task-add-submit {
    justify-self: stretch;
    width: 100%;
  }
}

/* 1) 统一单列表单流：记录详情与添加任务都走清晰的一列。 */
.screen:has(.task-focus-detail-page) .task-focus-detail-page,
.screen:has(.task-add-page) .task-add-page {
  --task-row-gap: 10px;
}

.screen:has(.task-focus-detail-page) .task-focus-meta-grid,
.screen:has(.task-add-page) .task-add-main-card {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0 !important;
  border-radius: 10px !important;
  border-color: rgba(31, 35, 41, 0.08);
}

.screen:has(.task-focus-detail-page) .task-focus-meta-grid .record-detail-field,
.screen:has(.task-add-page) .task-add-main-card .record-detail-field {
  grid-template-columns: minmax(0, 1fr) !important;
  min-height: 52px;
  padding: 0 13px !important;
}

.screen:has(.task-focus-detail-page) .task-add-main-card .record-detail-field.full,
.screen:has(.task-focus-detail-page) .task-focus-description,
.screen:has(.task-focus-detail-page) .task-subtask-focus-card,
.screen:has(.task-focus-detail-page) .task-comment-focus-card,
.screen:has(.task-focus-detail-page) .task-history-focus-card {
  border-top: 1px solid #eff0f1 !important;
}

/* 2) 更轻量的字段选择弹窗：更低视觉重量、更快手感。 */
.screen:has(.task-focus-detail-page) .task-field-sheet-backdrop,
.screen:has(.task-add-page) .task-field-sheet-backdrop {
  background: rgba(15, 23, 42, 0.14);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.screen:has(.task-focus-detail-page) .task-field-sheet,
.screen:has(.task-add-page) .task-field-sheet {
  width: min(100%, 640px);
  margin: 0 auto;
  border-radius: 14px 14px 0 0 !important;
  border-color: rgba(31, 35, 41, 0.08);
  box-shadow: 0 -10px 30px rgba(31, 35, 41, 0.14);
}

.screen:has(.task-focus-detail-page) .task-field-sheet-head,
.screen:has(.task-add-page) .task-field-sheet-head {
  min-height: 44px;
  padding: 0 12px 6px;
}

.screen:has(.task-focus-detail-page) .task-field-sheet-head strong,
.screen:has(.task-add-page) .task-field-sheet-head strong {
  font-size: 15px;
}

.screen:has(.task-focus-detail-page) .task-field-sheet-head button,
.screen:has(.task-add-page) .task-field-sheet-head button {
  min-height: 28px;
  min-width: 44px;
}

.screen:has(.task-focus-detail-page) .task-field-option,
.screen:has(.task-add-page) .task-field-option {
  min-height: 48px;
  padding-top: 0;
  padding-bottom: 0;
}

.screen:has(.task-focus-detail-page) .task-field-option b,
.screen:has(.task-add-page) .task-field-option b {
  color: #3b6de0;
}

/* 3) AI 建议区域改为聊天式轻量信息样式。 */
.screen:has(.task-focus-detail-page) .task-ai-hint,
.screen:has(.task-add-page) .task-ai-hint {
  display: grid;
  gap: 8px;
  padding: 12px 12px 12px 36px !important;
  border: 1px solid #e6ebff;
  border-radius: 12px;
  background: linear-gradient(180deg, #f7faff, #fcfdff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.screen:has(.task-focus-detail-page) .task-ai-hint::before,
.screen:has(.task-add-page) .task-ai-hint::before {
  top: 12px;
  left: 12px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  color: #1f4de8;
  background: #e9f0ff;
  font-size: 8px;
  font-weight: 800;
}

.screen:has(.task-focus-detail-page) .task-ai-suggestion,
.screen:has(.task-add-page) .task-ai-suggestion {
  margin-top: 2px;
  border-radius: 12px;
  border-color: #d6e2ff;
  background: linear-gradient(180deg, #f8faff, #f0f5ff);
}

.screen:has(.task-focus-detail-page) .task-ai-suggestion button,
.screen:has(.task-add-page) .task-ai-suggestion button {
  min-height: 28px;
  border-radius: 99px;
  padding: 0 14px;
  box-shadow: 0 6px 14px rgba(51, 112, 255, 0.2);
}

/* 去除过于明显的桌面级卡片化，增强滚动时的连续编辑感。 */
.screen:has(.task-focus-detail-page) .task-focus-card,
.screen:has(.task-add-page) .record-detail-card {
  padding: 14px !important;
  border-radius: 10px !important;
}

.screen:has(.task-focus-detail-page) .task-focus-card .record-detail-field,
.screen:has(.task-add-page) .record-detail-card .record-detail-field {
  gap: 8px !important;
}

.screen:has(.task-focus-detail-page),
.screen:has(.task-add-page) {
  --task-mobile-row-h: 52px;
  --task-touch-height: 44px;
}

.screen:has(.task-focus-detail-page) .task-focus-card,
.screen:has(.task-add-page) .task-focus-card,
.screen:has(.task-add-page) .record-detail-card {
  border-radius: 10px !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.screen:has(.task-focus-detail-page) .task-focus-card:hover,
.screen:has(.task-add-page) .record-detail-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(31, 35, 41, 0.08) !important;
}

.screen:has(.task-focus-detail-page) .task-detail-hero-card .task-detail-field input {
  font-size: clamp(24px, 5.4vw, 30px) !important;
}

.screen:has(.task-focus-detail-page) .task-focus-meta-grid .record-detail-field,
.screen:has(.task-add-page) .task-add-main-card .record-detail-field {
  min-height: 54px;
  padding: 10px 12px;
  transition: background 0.16s ease, transform 0.16s ease;
}

.screen:has(.task-focus-detail-page) .task-focus-meta-grid .record-detail-field {
  align-content: start;
  gap: 6px !important;
  border-right: 1px solid rgb(0 0 0 / 0.08) !important;
}

.screen:has(.task-focus-detail-page) .task-focus-meta-grid .record-detail-field:nth-child(2n) {
  border-right-width: 0 !important;
}

.screen:has(.task-focus-detail-page) .task-focus-meta-grid .record-detail-field:nth-child(n + 3) {
  border-bottom-width: 0 !important;
}

.screen:has(.task-focus-detail-page) .task-focus-meta-grid .record-detail-field .task-field-picker {
  width: 100%;
}

.screen:has(.task-add-page) .task-add-main-card {
  grid-template-columns: minmax(0, 1fr) !important;
}

.screen:has(.task-focus-detail-page) .task-focus-meta-grid .record-detail-field:active,
.screen:has(.task-add-page) .task-add-main-card .record-detail-field:active {
  background: #f8fbff;
  transform: translateX(1px);
}

.screen:has(.task-focus-detail-page) .task-focus-meta-grid .record-detail-field span,
.screen:has(.task-add-page) .task-add-main-card .record-detail-field span {
  color: #676f79 !important;
  font-size: 13px !important;
}

.screen:has(.task-focus-detail-page) .task-add-main-card .record-detail-field.full {
  border-radius: 0 0 8px 8px;
}

.screen:has(.task-focus-detail-page) .task-add-main-card .record-detail-field input,
.screen:has(.task-focus-detail-page) .task-add-main-card .record-detail-field select,
.screen:has(.task-add-page) .task-field-picker,
.screen:has(.task-focus-detail-page) .task-focus-meta-grid .record-detail-field select,
.screen:has(.task-focus-detail-page) .record-comment-compose input,
.screen:has(.task-focus-detail-page) .task-subtask-add input {
  min-height: var(--task-touch-height) !important;
}

.screen:has(.task-focus-detail-page) .task-subtask-add input,
.screen:has(.task-focus-detail-page) .record-comment-compose input {
  transition: border-color 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
}

.screen:has(.task-focus-detail-page) .task-subtask-add input:focus-visible,
.screen:has(.task-focus-detail-page) .record-comment-compose input:focus-visible,
.screen:has(.task-add-page) .task-field-picker:focus-visible {
  border-color: #7fa9ff !important;
  background-color: #fff !important;
  box-shadow: inset 0 0 0 1px rgba(51, 112, 255, 0.2);
}

.screen:has(.task-focus-detail-page) .task-subtask-row,
.screen:has(.task-focus-detail-page) .record-comment-item,
.screen:has(.task-focus-detail-page) .record-history-list article {
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.screen:has(.task-focus-detail-page) .task-subtask-row:active,
.screen:has(.task-focus-detail-page) .record-comment-item:active,
.screen:has(.task-focus-detail-page) .record-history-list article:active {
  transform: translateY(1px);
  box-shadow: 0 0 0 1px rgba(31, 35, 41, 0.08);
}

.task-subtask-add button:active,
.task-add-submit:active,
.record-comment-compose button:active {
  transform: translateY(1px);
  background: #2d63d6 !important;
}

.task-ai-suggestion button,
.task-field-option,
.task-field-option.selected {
  transition: background 0.16s ease, color 0.16s ease;
}

.screen:has(.task-focus-detail-page) .task-field-sheet-backdrop,
.screen:has(.task-add-page) .task-field-sheet-backdrop {
  animation: task-flow-sheet-backdrop-in 0.16s ease;
}

.screen:has(.task-focus-detail-page) .task-field-sheet,
.screen:has(.task-add-page) .task-field-sheet {
  animation: task-flow-sheet-slide-up 0.2s ease;
}

.screen:has(.task-focus-detail-page) .task-field-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-height: 48px;
}

.screen:has(.task-focus-detail-page) .task-field-option b,
.screen:has(.task-add-page) .task-field-option b {
  transform: scale(0.97);
  transition: transform 0.15s ease;
}

.screen:has(.task-focus-detail-page) .task-field-option.selected b,
.screen:has(.task-add-page) .task-field-option.selected b {
  transform: scale(1);
}

@keyframes task-flow-sheet-slide-up {
  from {
    transform: translateY(12px);
    opacity: 0.94;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes task-flow-sheet-backdrop-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.task-field-fullsheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  --task-sheet-backdrop: rgba(244, 246, 250, 0.48);
  --task-sheet-surface: rgba(255, 255, 255, 0.98);
  --task-sheet-text: rgba(31, 35, 41, 0.92);
  --task-sheet-subtle-text: rgba(31, 35, 41, 0.62);
  --task-sheet-divider: rgba(31, 35, 41, 0.08);
  --task-sheet-handle: rgba(31, 35, 41, 0.14);
  --task-sheet-search-bg: rgba(15, 23, 42, 0.04);
  --task-sheet-search-line: rgba(15, 23, 42, 0.05);
  --task-sheet-chip-bg: rgba(15, 23, 42, 0.06);
  --task-sheet-chip-active: linear-gradient(180deg, #3370ff, #245bdb);
  --task-sheet-panel-bg: rgba(255, 255, 255, 0.9);
  --task-sheet-action-bg: rgba(15, 23, 42, 0.08);
  background: var(--task-sheet-backdrop);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  animation: task-field-fullsheet-fade 0.18s ease;
}

.task-field-fullsheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 81;
  display: grid;
  grid-template-rows: auto auto auto auto;
  width: min(100vw, 760px);
  height: auto;
  max-height: min(69vh, calc(150px + var(--task-field-visible-count, 4) * 66px + var(--task-field-footer-space, 0px)));
  margin: 0 auto;
  padding: 10px 0 calc(env(safe-area-inset-bottom, 0px) + 10px);
  border-radius: 22px 22px 0 0;
  background: var(--task-sheet-surface);
  color: var(--task-sheet-text);
  box-shadow: 0 -18px 50px rgba(0, 0, 0, 0.34);
  animation: task-field-fullsheet-slide 0.2s ease;
}

.task-field-fullsheet::before {
  content: "";
  justify-self: center;
  width: 88px;
  height: 5px;
  margin: 2px 0 8px;
  border-radius: 999px;
  background: var(--task-sheet-handle);
}

.task-field-fullsheet-chrome {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) 76px;
  align-items: center;
  min-height: 48px;
  padding: 0 18px;
}

.task-field-fullsheet-chrome strong {
  justify-self: center;
  color: var(--task-sheet-text);
  font-size: 15px;
  font-weight: 650;
}

.task-field-fullsheet-text {
  min-height: 34px;
  color: var(--task-sheet-subtle-text);
  font-size: 14px;
  font-weight: 540;
  text-align: left;
}

.task-field-fullsheet-text.primary {
  color: #6287ff;
  text-align: right;
}

.task-field-fullsheet-search {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) 36px;
  align-items: center;
  gap: 10px;
  margin: 8px 16px 4px;
  padding: 0 14px;
  min-height: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--task-sheet-search-bg);
  box-shadow: inset 0 0 0 1px var(--task-sheet-search-line);
}

.task-field-fullsheet-search > span {
  color: color-mix(in srgb, var(--task-sheet-subtle-text), transparent 24%);
  font-size: 18px;
  line-height: 1;
}

.task-field-fullsheet-search input {
  min-width: 0;
  min-height: 34px;
  border: 0;
  outline: 0;
  color: var(--task-sheet-text);
  background: transparent;
  font-size: 14px;
  font-weight: 500;
}

.task-field-fullsheet-search input::placeholder {
  color: color-mix(in srgb, var(--task-sheet-subtle-text), transparent 28%);
}

.task-field-fullsheet-plus {
  justify-self: end;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  color: color-mix(in srgb, var(--task-sheet-subtle-text), transparent 10%);
  background: transparent;
  font-size: 24px;
  line-height: 1;
}

.task-field-fullsheet-list {
  overflow: auto;
  padding: 0 0 12px;
  max-height: min(calc(var(--task-field-visible-count, 4) * 66px + 12px), calc(69vh - 150px - var(--task-field-footer-space, 0px)));
}

.task-field-fullsheet:has(.task-field-fullsheet-footer) .task-field-fullsheet-list {
  padding-bottom: 252px;
}

.task-field-fullsheet-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  align-items: center;
  min-height: 66px;
  border-top: 1px solid var(--task-sheet-divider);
}

.task-field-fullsheet-option:first-child {
  border-top: 0;
}

.task-field-fullsheet-option-main {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 66px;
  padding: 0 18px;
  color: var(--task-sheet-text);
  text-align: left;
}

.task-field-fullsheet-radio {
  width: 16px;
  height: 16px;
  border: 2px solid color-mix(in srgb, var(--task-sheet-subtle-text), transparent 42%);
  border-radius: 50%;
}

.task-field-fullsheet-option.selected .task-field-fullsheet-radio {
  border-color: #4b88ff;
  box-shadow: inset 0 0 0 4px var(--task-sheet-surface), 0 0 0 4px rgba(51, 112, 255, 0.22);
}

.task-field-fullsheet-chip {
  justify-self: start;
  min-height: 34px;
  padding: 7px 16px 0;
  border-radius: 999px;
  color: var(--task-sheet-text);
  background: var(--task-sheet-chip-bg);
  font-size: 14px;
  font-weight: 620;
  line-height: 1.2;
}

.task-field-fullsheet-option.selected .task-field-fullsheet-chip,
.task-field-fullsheet-current-chip {
  color: #fff;
  background: var(--task-sheet-chip-active);
}

.task-field-fullsheet-more {
  display: grid;
  place-items: center;
  width: 34px;
  height: 66px;
  justify-self: end;
  padding: 0;
  color: color-mix(in srgb, var(--task-sheet-subtle-text), transparent 24%);
  font-size: 24px;
  line-height: 1;
  background: transparent;
}

.task-field-fullsheet-empty {
  margin: 0;
  padding: 24px 20px;
  color: color-mix(in srgb, var(--task-sheet-subtle-text), transparent 20%);
  font-size: 14px;
  line-height: 1.6;
}

.task-field-fullsheet-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  gap: 12px;
  padding: 14px 16px calc(env(safe-area-inset-bottom, 0px) + 16px);
  border-top: 0;
  border-radius: 20px 20px 0 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), color-mix(in srgb, var(--task-sheet-panel-bg), transparent 6%) 20%, var(--task-sheet-panel-bg) 100%);
  animation: task-field-fullsheet-footer-in 0.16s ease;
  pointer-events: none;
}

.task-field-fullsheet-current {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 66px;
  padding: 0 14px;
  border-radius: 16px;
  color: var(--task-sheet-text);
  background: var(--task-sheet-search-bg);
  pointer-events: auto;
}

.task-field-fullsheet-close {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--task-sheet-text);
  font-size: 22px;
  line-height: 1;
}

.task-field-fullsheet-current-chip {
  justify-self: center;
  min-height: 38px;
  padding: 8px 20px 0;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 640;
  line-height: 1.2;
}

.task-field-fullsheet-actions {
  display: grid;
  gap: 12px;
  pointer-events: auto;
}

.task-field-fullsheet-action {
  min-height: 62px;
  padding: 0 22px;
  border-radius: 16px;
  color: rgba(255, 255, 255, 0.92);
  background: var(--task-sheet-action-bg);
  text-align: left;
  font-size: 17px;
  font-weight: 600;
}

.task-field-fullsheet-action.danger {
  color: rgba(255, 255, 255, 0.9);
}

@keyframes task-field-fullsheet-slide {
  from {
    transform: translateY(26px);
    opacity: 0.86;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes task-field-fullsheet-fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes task-field-fullsheet-footer-in {
  from {
    transform: translateY(10px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Main code visual normalization: black-opacity text scale and square corners. */
:root {
  --ui-text-strong: rgb(0 0 0 / 0.92);
  --ui-text-medium: rgb(0 0 0 / 0.72);
  --ui-text-regular: rgb(0 0 0 / 0.56);
  --ui-text-muted: rgb(0 0 0 / 0.42);
  --ui-text-faint: rgb(0 0 0 / 0.3);
  --ui-font-display: 30px;
  --ui-font-title: 24px;
  --ui-font-heading: 18px;
  --ui-font-body: 14px;
  --ui-font-caption: 12px;
  --ui-border-color: rgb(0 0 0 / 0.12);
  --ui-border-color-strong: rgb(0 0 0 / 0.18);
  --ui-border-width: 1px;
}

.app-shell,
.app-shell input,
.app-shell textarea,
.app-shell select,
.app-shell button {
  color: var(--ui-text-regular);
}

.app-shell strong,
.app-shell h1,
.app-shell h2,
.app-shell h3,
.app-shell .topbar-title,
.app-shell .page-topbar strong,
.app-shell .task-detail-hero-card .task-detail-field input,
.app-shell .task-focus-description span,
.app-shell .task-focus-attachments header strong,
.app-shell .task-focus-section-head strong,
.app-shell .task-add-action-card .record-detail-section-head strong,
.app-shell .task-field-fullsheet-chrome strong {
  color: var(--ui-text-strong) !important;
}

.app-shell .row-label,
.app-shell .row-value,
.app-shell .count,
.app-shell .field-label,
.app-shell .record-detail-field span,
.app-shell .task-detail-hero-card .task-detail-field span,
.app-shell .task-focus-attachments header span,
.app-shell .task-focus-section-head span,
.app-shell .task-add-action-card .record-detail-section-head span,
.app-shell .task-field-fullsheet-text,
.app-shell .task-field-fullsheet-search input,
.app-shell .task-field-fullsheet-chip,
.app-shell .task-field-fullsheet-action,
.app-shell .task-field-fullsheet-current,
.app-shell .task-field-fullsheet-current-chip,
.app-shell .task-field-fullsheet-close,
.app-shell .task-field-picker,
.app-shell .plain-back,
.app-shell .page-topbar .text-button,
.app-shell .primary-text-button,
.app-shell .danger-text-button,
.app-shell .task-add-submit,
.app-shell .record-comment-compose button,
.app-shell .task-subtask-add button,
.app-shell .record-created-card strong,
.app-shell .nav-item,
.app-shell .task-detail-kicker span,
.app-shell .task-detail-kicker .task-kicker-action,
.app-shell .task-detail-summary-row,
.app-shell .task-subtask-title-input,
.app-shell .task-subtask-status,
.app-shell .task-subtask-view,
.app-shell .record-comment-item footer button,
.app-shell .task-ai-suggestion,
.app-shell .task-ai-suggestion button,
.app-shell .task-field-fullsheet-plus {
  color: var(--ui-text-medium) !important;
}

.app-shell small,
.app-shell .hint,
.app-shell .stat-label,
.app-shell .task-chip-list p,
.app-shell .task-subtask-empty,
.app-shell .record-history-list p,
.app-shell .record-comment-list p,
.app-shell .task-ai-hint,
.app-shell .task-field-fullsheet-empty,
.app-shell .task-field-fullsheet-search input::placeholder {
  color: var(--ui-text-muted) !important;
}

.app-shell h1,
.app-shell .task-detail-hero-card .task-detail-field input {
  font-size: var(--ui-font-display) !important;
  line-height: 1.2 !important;
}

.app-shell h2,
.app-shell .page-topbar strong,
.app-shell .topbar-title,
.app-shell .task-focus-description span,
.app-shell .task-focus-attachments header strong,
.app-shell .task-focus-section-head strong,
.app-shell .task-add-action-card .record-detail-section-head strong,
.app-shell .task-field-fullsheet-chrome strong,
.app-shell .task-field-fullsheet-action,
.app-shell .task-subtask-title-input {
  font-size: var(--ui-font-heading) !important;
  line-height: 1.3 !important;
}

.app-shell h3,
.app-shell strong,
.app-shell .task-detail-kicker span,
.app-shell .task-detail-kicker .task-kicker-action,
.app-shell .task-detail-summary-row,
.app-shell .task-subtask-status,
.app-shell .task-subtask-view,
.app-shell .task-field-fullsheet-current-chip,
.app-shell .task-field-fullsheet-chip,
.app-shell .task-ai-suggestion,
.app-shell .task-ai-suggestion button,
.app-shell .task-add-submit,
.app-shell .record-comment-compose button,
.app-shell .task-subtask-add button,
.app-shell .nav-item {
  font-size: var(--ui-font-body) !important;
  line-height: 1.4 !important;
}

.app-shell,
.app-shell input,
.app-shell textarea,
.app-shell select,
.app-shell button,
.app-shell .record-detail-field span,
.app-shell .row-label,
.app-shell .row-value,
.app-shell .task-field-picker,
.app-shell .plain-back,
.app-shell .page-topbar .text-button,
.app-shell .task-field-fullsheet-search input,
.app-shell .task-field-fullsheet-text {
  font-size: var(--ui-font-body) !important;
  line-height: 1.45 !important;
}

.app-shell small,
.app-shell .hint,
.app-shell .stat-label,
.app-shell .task-ai-hint,
.app-shell .task-field-fullsheet-empty,
.app-shell .task-focus-attachments header span,
.app-shell .task-focus-section-head span,
.app-shell .task-add-action-card .record-detail-section-head span,
.app-shell .task-detail-hero-card .task-detail-field span,
.app-shell .task-field-fullsheet-search input::placeholder {
  font-size: var(--ui-font-caption) !important;
  line-height: 1.4 !important;
}

.app-shell,
.app-shell * {
  border-radius: 0 !important;
}

.app-shell .task-focus-card,
.app-shell .record-detail-card,
.app-shell .task-focus-meta-grid,
.app-shell .task-add-main-card,
.app-shell .task-subtask-row,
.app-shell .record-history-list article,
.app-shell .record-comment-item,
.app-shell .task-field-fullsheet,
.app-shell .task-field-fullsheet-search,
.app-shell .task-field-fullsheet-current,
.app-shell .task-field-fullsheet-action,
.app-shell .task-attachment-upload,
.app-shell .task-focus-upload,
.app-shell .task-subtask-view,
.app-shell .task-add-submit,
.app-shell .record-comment-compose input,
.app-shell .task-subtask-add input,
.app-shell .task-focus-description textarea,
.app-shell .task-add-main-card .record-detail-field textarea,
.app-shell .task-add-main-card .record-detail-field input,
.app-shell .tabbar,
.app-shell .bottom-nav {
  border-width: var(--ui-border-width) !important;
  border-color: var(--ui-border-color) !important;
}

.app-shell .task-field-fullsheet-option,
.app-shell .task-focus-meta-grid .record-detail-field,
.app-shell .task-add-main-card .record-detail-field,
.app-shell .record-comment-replies,
.app-shell .page-topbar,
.app-shell .task-field-fullsheet-search,
.app-shell .task-field-fullsheet-footer {
  border-color: var(--ui-border-color) !important;
}

.app-shell .primary-text-button,
.app-shell .task-add-submit,
.app-shell .record-comment-compose button,
.app-shell .task-subtask-add button,
.app-shell .task-ai-suggestion button {
  border: var(--ui-border-width) solid var(--ui-border-color-strong) !important;
}

.app-shell .task-detail-kicker span,
.app-shell .task-field-fullsheet-chip,
.app-shell .task-field-fullsheet-current-chip,
.app-shell .task-chip-list span,
.app-shell .task-subtask-status {
  border: var(--ui-border-width) solid var(--ui-border-color) !important;
}

/* Task detail readability boost on light backgrounds. */
.screen:has(.task-focus-detail-page) {
  background: #f3f4f6 !important;
}

.screen:has(.task-focus-detail-page) .full-page {
  background: #f3f4f6 !important;
}

.screen:has(.task-focus-detail-page) .page-topbar {
  background: rgb(255 255 255 / 0.94) !important;
  border-bottom: 1px solid rgb(0 0 0 / 0.12) !important;
}

.screen:has(.task-focus-detail-page) .task-focus-card,
.screen:has(.task-focus-detail-page) .record-detail-card,
.screen:has(.task-focus-detail-page) .task-focus-meta-grid,
.screen:has(.task-focus-detail-page) .task-add-main-card,
.screen:has(.task-focus-detail-page) .task-subtask-row,
.screen:has(.task-focus-detail-page) .record-history-list article,
.screen:has(.task-focus-detail-page) .record-comment-item,
.screen:has(.task-focus-detail-page) .task-focus-description textarea,
.screen:has(.task-focus-detail-page) .record-comment-compose input,
.screen:has(.task-focus-detail-page) .task-subtask-add input {
  background: #ffffff !important;
  border-color: rgb(0 0 0 / 0.12) !important;
  box-shadow: none !important;
}

.screen:has(.task-focus-detail-page) .task-detail-hero-card {
  background: #ffffff !important;
}

.screen:has(.task-focus-detail-page) .task-detail-hero-card .task-detail-field input,
.screen:has(.task-focus-detail-page) .task-focus-description textarea,
.screen:has(.task-focus-detail-page) .task-subtask-title-input,
.screen:has(.task-focus-detail-page) .task-field-picker,
.screen:has(.task-focus-detail-page) .record-comment-compose input,
.screen:has(.task-focus-detail-page) .task-subtask-add input,
.screen:has(.task-focus-detail-page) .record-created-card strong,
.screen:has(.task-focus-detail-page) .task-detail-summary-row,
.screen:has(.task-focus-detail-page) .task-subtask-status,
.screen:has(.task-focus-detail-page) .task-subtask-view,
.screen:has(.task-focus-detail-page) .record-comment-item footer button {
  color: rgb(0 0 0 / 0.84) !important;
}

.screen:has(.task-focus-detail-page) .task-focus-description span,
.screen:has(.task-focus-detail-page) .task-focus-attachments header strong,
.screen:has(.task-focus-detail-page) .task-focus-section-head strong,
.screen:has(.task-focus-detail-page) .task-record-section-title strong,
.screen:has(.task-focus-detail-page) .record-detail-field span,
.screen:has(.task-focus-detail-page) .task-detail-hero-card .task-detail-field span {
  color: rgb(0 0 0 / 0.76) !important;
}

.screen:has(.task-focus-detail-page) .task-focus-attachments header span,
.screen:has(.task-focus-detail-page) .task-focus-section-head span,
.screen:has(.task-focus-detail-page) .task-chip-list p,
.screen:has(.task-focus-detail-page) .task-subtask-empty,
.screen:has(.task-focus-detail-page) .record-history-list p,
.screen:has(.task-focus-detail-page) .record-comment-list p,
.screen:has(.task-focus-detail-page) .task-ai-hint,
.screen:has(.task-focus-detail-page) .task-focus-description textarea::placeholder,
.screen:has(.task-focus-detail-page) .record-comment-compose input::placeholder,
.screen:has(.task-focus-detail-page) .task-subtask-add input::placeholder {
  color: rgb(0 0 0 / 0.48) !important;
}

.screen:has(.task-focus-detail-page) .task-detail-kicker span,
.screen:has(.task-focus-detail-page) .task-detail-kicker .task-kicker-action,
.screen:has(.task-focus-detail-page) .task-chip-list span,
.screen:has(.task-focus-detail-page) .task-subtask-status,
.screen:has(.task-focus-detail-page) .task-subtask-view,
.screen:has(.task-focus-detail-page) .task-focus-upload,
.screen:has(.task-focus-detail-page) .task-attachment-upload,
.screen:has(.task-focus-detail-page) .task-ai-suggestion {
  background: #f7f7f8 !important;
  border-color: rgb(0 0 0 / 0.12) !important;
  color: rgb(0 0 0 / 0.72) !important;
}

.screen:has(.task-focus-detail-page) .primary-text-button,
.screen:has(.task-focus-detail-page) .task-add-submit,
.screen:has(.task-focus-detail-page) .record-comment-compose button,
.screen:has(.task-focus-detail-page) .task-subtask-add button,
.screen:has(.task-focus-detail-page) .task-ai-suggestion button {
  background: #ffffff !important;
  color: rgb(0 0 0 / 0.84) !important;
  border-color: rgb(0 0 0 / 0.18) !important;
}

/* Company task flow rollout based on UI spec. */
:root {
  --accent: #a8ff00;
  --font-title-hero: 32px;
  --font-title-lg: 20px;
  --font-title-md: 16px;
  --font-body-md: 14px;
  --font-body-sm: 12px;
  --font-body-xs: 11px;
  --title-text: rgb(0 0 0 / 0.96);
  --subtitle-text: rgb(0 0 0 / 0.72);
  --body-text: rgb(0 0 0 / 0.62);
  --caption-text: rgb(0 0 0 / 0.42);
  --faint-text: rgb(0 0 0 / 0.26);
  --glass-card: rgb(255 255 255 / 0.66);
  --glass-card-strong: rgb(255 255 255 / 0.82);
  --glass-line: rgb(255 255 255 / 0.55);
  --glass-shadow: 0 14px 42px rgb(28 31 36 / 0.12);
  --company-flow-bg: linear-gradient(rgb(255 255 255 / 0.18), rgb(255 255 255 / 0.18)), url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1800&q=85");
}

.screen[data-screen="closet"],
.screen[data-screen="settings"],
.screen:has(.task-focus-detail-page),
.screen:has(.task-add-page) {
  background-image: var(--company-flow-bg) !important;
  background-size: cover !important;
  background-position: center !important;
  background-attachment: fixed !important;
}

.screen[data-screen="closet"][data-page="home"] .topbar,
.screen[data-screen="settings"][data-page="home"] .topbar,
.screen:has(.task-focus-detail-page) .page-topbar,
.screen:has(.task-add-page) .page-topbar {
  background: var(--glass-card-strong) !important;
  border: 1px solid var(--glass-line) !important;
  box-shadow: var(--glass-shadow) !important;
  backdrop-filter: blur(18px) saturate(1.08) !important;
}

.screen[data-screen="closet"][data-page="home"] .title-button,
.screen[data-screen="settings"][data-page="home"] .topbar-title,
.screen:has(.task-focus-detail-page) .primary-text-button,
.screen:has(.task-add-page) .primary-text-button,
.screen:has(.task-focus-detail-page) .task-add-submit,
.screen:has(.task-focus-detail-page) .record-comment-compose button,
.screen:has(.task-focus-detail-page) .task-subtask-add button,
.screen:has(.task-add-page) .task-add-submit {
  background: var(--accent) !important;
  color: rgb(0 0 0 / 0.92) !important;
  border-color: rgb(0 0 0 / 0.14) !important;
  box-shadow: none !important;
}

.screen[data-screen="closet"][data-page="home"] .main-scroll,
.screen[data-screen="settings"][data-page="home"] .main-scroll {
  padding-top: 20px;
}

.task-waterfall-board {
  gap: 16px !important;
}

.task-column {
  border: 1px solid var(--glass-line) !important;
  background: var(--glass-card) !important;
  box-shadow: var(--glass-shadow) !important;
  backdrop-filter: blur(18px) saturate(1.06) !important;
}

.task-column-title span,
.task-card-kicker {
  padding: 5px 16px !important;
  background: var(--accent) !important;
  color: rgb(0 0 0 / 0.92) !important;
  font-size: var(--font-title-md) !important;
  font-weight: 700 !important;
}

.task-column-head > strong {
  color: var(--caption-text) !important;
  font-size: var(--font-title-lg) !important;
  font-weight: 700 !important;
}

.task-column-add,
.task-waterfall-board:is([data-board-view="urgency"], [data-board-view="department"], [data-board-view="status"], [data-board-view="people"]) .task-column-add,
.settings-group,
.stats-card,
.settings-row,
.manager-row,
.manager-list,
.task-focus-card,
.task-add-page .record-detail-card {
  border: 1px solid var(--glass-line) !important;
  background: var(--glass-card-strong) !important;
  box-shadow: var(--glass-shadow) !important;
  backdrop-filter: blur(18px) saturate(1.06) !important;
}

.task-board-card strong,
.task-waterfall-board:is([data-board-view="urgency"], [data-board-view="department"], [data-board-view="status"], [data-board-view="people"]) .task-board-card strong,
.stats-title span:first-child,
.settings-panel-block h2,
.task-record-section-title strong {
  color: var(--title-text) !important;
  font-size: var(--font-title-lg) !important;
  font-weight: 700 !important;
}

.task-board-card small,
.settings-row .row-value,
.stats-title .chev,
.task-column-add span,
.task-focus-attachments header span,
.task-focus-section-head span,
.task-ai-hint,
.record-history-list p,
.record-comment-list p,
.task-chip-list p,
.task-subtask-empty {
  color: var(--caption-text) !important;
  font-size: var(--font-body-sm) !important;
}

.task-column-more,
.icon-button,
.task-board-card em,
.soft-icon,
.mini-text {
  color: var(--body-text) !important;
}

.screen[data-screen="closet"] .tabbar,
.screen[data-screen="settings"] .tabbar,
.screen:has(.task-focus-detail-page) .tabbar,
.screen:has(.task-add-page) .tabbar,
.screen:has(.task-focus-detail-page) .bottom-nav,
.screen:has(.task-add-page) .bottom-nav {
  background: var(--glass-card-strong) !important;
  border: 1px solid var(--glass-line) !important;
  box-shadow: var(--glass-shadow) !important;
  backdrop-filter: blur(18px) saturate(1.06) !important;
}

.screen[data-screen="closet"] .nav-item.active,
.screen[data-screen="settings"] .nav-item.active,
.screen:has(.task-focus-detail-page) .nav-item.active,
.screen:has(.task-add-page) .nav-item.active {
  background: var(--accent) !important;
  color: rgb(0 0 0 / 0.92) !important;
}

.bb-settings-page {
  gap: 16px !important;
  padding-top: 16px !important;
}

.settings-panel-block h2 {
  margin: 0 0 8px;
}

.settings-row,
.manager-row,
.task-board-card,
.task-column-add {
  min-height: 64px;
}

/* Company task flow spec: final alignment layer */
:root {
  --font-title-hero: 32px;
  --font-title-lg: 20px;
  --font-title-md: 16px;
  --font-body-md: 14px;
  --font-body-sm: 12px;
  --font-body-xs: 11px;
  --title-text: rgb(0 0 0 / 0.96);
  --subtitle-text: rgb(0 0 0 / 0.72);
  --body-text: rgb(0 0 0 / 0.62);
  --caption-text: rgb(0 0 0 / 0.42);
  --faint-text: rgb(0 0 0 / 0.26);
  --accent: #a8ff00;
  --glass-line: rgb(255 255 255 / 0.52);
  --glass-shadow: 0 20px 48px rgb(21 25 31 / 0.1);
  --company-flow-bg:
    linear-gradient(rgb(255 255 255 / 0.2), rgb(255 255 255 / 0.2)),
    url("https://images.unsplash.com/photo-1517048676732-d65bc937f952?auto=format&fit=crop&w=1800&q=85");
}

.screen[data-screen="closet"],
.screen[data-screen="settings"],
.screen:has(.task-focus-detail-page),
.screen:has(.task-add-page) {
  background: var(--canvas, var(--company-flow-bg)) !important;
}

.screen[data-screen="closet"] .main-scroll,
.screen[data-screen="settings"] .main-scroll,
.screen:has(.task-focus-detail-page) .full-page,
.screen:has(.task-add-page) .full-page {
  background: transparent !important;
}

.screen[data-screen="closet"] .topbar,
.screen[data-screen="settings"] .topbar,
.screen:has(.task-focus-detail-page) .page-topbar,
.screen:has(.task-add-page) .page-topbar,
.screen[data-screen="closet"] .tabbar,
.screen[data-screen="settings"] .tabbar,
.screen:has(.task-focus-detail-page) .tabbar,
.screen:has(.task-add-page) .tabbar,
.screen:has(.task-focus-detail-page) .bottom-nav,
.screen:has(.task-add-page) .bottom-nav {
  background: var(--glass-card-strong) !important;
  border: 1px solid var(--glass-line) !important;
  box-shadow: var(--glass-shadow) !important;
  backdrop-filter: blur(22px) saturate(1.08) !important;
  -webkit-backdrop-filter: blur(22px) saturate(1.08) !important;
}

.screen[data-screen="closet"] .title-button,
.screen[data-screen="settings"] .topbar-title,
.screen[data-screen="closet"] .page-topbar strong,
.screen[data-screen="settings"] .page-topbar strong,
.screen:has(.task-focus-detail-page) .page-topbar strong,
.screen:has(.task-add-page) .page-topbar strong,
.task-board-card strong,
.task-waterfall-board:is([data-board-view="urgency"], [data-board-view="department"], [data-board-view="status"], [data-board-view="people"]) .task-board-card strong,
.task-detail-hero-card .task-detail-field input,
.task-add-intro-card strong,
.settings-panel-block h2,
.stats-title span:first-child,
.task-record-section-title strong,
.task-focus-section-head strong,
.task-focus-attachments header strong {
  color: var(--title-text) !important;
}

.screen[data-screen="closet"] .title-button,
.screen[data-screen="settings"] .topbar-title,
.screen:has(.task-focus-detail-page) .page-topbar strong,
.screen:has(.task-add-page) .page-topbar strong {
  font-size: var(--font-title-md) !important;
  font-weight: 700 !important;
}

.task-detail-hero-card .task-detail-field input {
  font-size: clamp(28px, 5.8vw, var(--font-title-hero)) !important;
  line-height: 1.18 !important;
  font-weight: 700 !important;
}

.task-add-intro-card strong,
.task-board-card strong,
.task-waterfall-board:is([data-board-view="urgency"], [data-board-view="department"], [data-board-view="status"], [data-board-view="people"]) .task-board-card strong,
.settings-panel-block h2,
.stats-title span:first-child,
.task-record-section-title strong,
.task-focus-section-head strong,
.task-focus-attachments header strong {
  font-size: var(--font-title-lg) !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
}

.screen[data-screen="closet"],
.screen[data-screen="settings"],
.screen:has(.task-focus-detail-page),
.screen:has(.task-add-page),
.screen[data-screen="closet"] button,
.screen[data-screen="settings"] button,
.screen:has(.task-focus-detail-page) button,
.screen:has(.task-add-page) button,
.screen[data-screen="closet"] input,
.screen[data-screen="settings"] input,
.screen:has(.task-focus-detail-page) input,
.screen:has(.task-add-page) input,
.screen[data-screen="closet"] textarea,
.screen[data-screen="settings"] textarea,
.screen:has(.task-focus-detail-page) textarea,
.screen:has(.task-add-page) textarea,
.screen[data-screen="closet"] select,
.screen[data-screen="settings"] select,
.screen:has(.task-focus-detail-page) select,
.screen:has(.task-add-page) select {
  color: var(--body-text) !important;
  font-size: var(--font-body-md) !important;
}

.screen[data-screen="closet"] .row-label,
.screen[data-screen="settings"] .row-label,
.screen[data-screen="closet"] .task-detail-summary-row,
.screen:has(.task-focus-detail-page) .task-detail-summary-row,
.screen:has(.task-focus-detail-page) .task-field-picker,
.screen:has(.task-add-page) .task-field-picker,
.screen:has(.task-focus-detail-page) .record-created-card strong,
.screen:has(.task-focus-detail-page) .task-subtask-title-input,
.screen:has(.task-focus-detail-page) .task-subtask-view,
.screen:has(.task-focus-detail-page) .task-subtask-status,
.screen:has(.task-focus-detail-page) .record-comment-item footer button,
.screen:has(.task-focus-detail-page) .task-focus-upload,
.screen:has(.task-focus-detail-page) .task-attachment-upload,
.screen:has(.task-add-page) .task-attachment-upload,
.screen:has(.task-focus-detail-page) .task-ai-suggestion,
.screen:has(.task-add-page) .task-ai-suggestion,
.screen[data-screen="settings"] .settings-row .row-value,
.screen[data-screen="settings"] .stat-number,
.screen[data-screen="closet"] .task-column-head > strong,
.screen[data-screen="closet"] .task-column-add span,
.screen[data-screen="closet"] .nav-item,
.screen[data-screen="settings"] .nav-item {
  color: var(--subtitle-text) !important;
}

.screen[data-screen="closet"] .count,
.screen[data-screen="settings"] .count,
.screen[data-screen="settings"] .stat-label,
.screen[data-screen="settings"] .stats-title .chev,
.screen:has(.task-focus-detail-page) .task-focus-attachments header span,
.screen:has(.task-focus-detail-page) .task-focus-section-head span,
.screen:has(.task-focus-detail-page) .task-ai-hint,
.screen:has(.task-focus-detail-page) .record-history-list p,
.screen:has(.task-focus-detail-page) .record-comment-list p,
.screen:has(.task-focus-detail-page) .task-chip-list p,
.screen:has(.task-focus-detail-page) .task-subtask-empty,
.screen:has(.task-focus-detail-page) .record-detail-field span,
.screen:has(.task-add-page) .record-detail-field span,
.screen:has(.task-focus-detail-page) .task-focus-description span,
.screen:has(.task-focus-detail-page) .task-detail-kicker span,
.screen:has(.task-focus-detail-page) .task-detail-kicker .task-kicker-action,
.screen:has(.task-add-page) .task-add-intro-card span,
.screen:has(.task-add-page) .task-add-intro-card p,
.screen:has(.task-add-page) .task-ai-hint,
.screen[data-screen="closet"] .task-board-card small {
  color: var(--caption-text) !important;
  font-size: var(--font-body-sm) !important;
}

.screen[data-screen="closet"] .task-column,
.screen[data-screen="closet"] .task-column-add,
.screen[data-screen="settings"] .settings-group,
.screen[data-screen="settings"] .stats-card,
.screen[data-screen="settings"] .settings-row,
.screen[data-screen="settings"] .manager-list,
.screen[data-screen="settings"] .manager-row,
.screen:has(.task-focus-detail-page) .record-detail-card,
.screen:has(.task-focus-detail-page) .task-focus-card,
.screen:has(.task-focus-detail-page) .task-focus-meta-grid,
.screen:has(.task-focus-detail-page) .task-subtask-row,
.screen:has(.task-focus-detail-page) .record-comment-item,
.screen:has(.task-focus-detail-page) .record-history-list article,
.screen:has(.task-focus-detail-page) .task-focus-description textarea,
.screen:has(.task-focus-detail-page) .record-comment-compose input,
.screen:has(.task-focus-detail-page) .task-subtask-add input,
.screen:has(.task-add-page) .record-detail-card,
.screen:has(.task-add-page) .task-add-main-card {
  background: var(--card) !important;
  border: 1px solid var(--glass-line) !important;
  box-shadow: var(--glass-shadow) !important;
  backdrop-filter: blur(20px) saturate(1.08) !important;
  -webkit-backdrop-filter: blur(20px) saturate(1.08) !important;
}

.screen[data-screen="closet"] .task-board-card,
.screen[data-screen="closet"] .task-waterfall-board:is([data-board-view="urgency"], [data-board-view="department"], [data-board-view="status"], [data-board-view="people"]) .task-board-card,
.screen[data-screen="closet"] .task-board-empty {
  background: var(--card) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.screen[data-screen="closet"] .task-column {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 16px !important;
  gap: 14px !important;
}

.screen[data-screen="closet"] .task-column-title span,
.screen[data-screen="closet"] .task-card-kicker,
.screen:has(.task-focus-detail-page) .task-detail-kicker span,
.screen:has(.task-focus-detail-page) .task-chip-list span,
.screen:has(.task-focus-detail-page) .task-subtask-status,
.screen:has(.task-focus-detail-page) .task-subtask-view,
.screen:has(.task-add-page) .task-field-fullsheet-chip,
.screen:has(.task-focus-detail-page) .task-field-fullsheet-chip,
.screen:has(.task-add-page) .task-field-fullsheet-current-chip,
.screen:has(.task-focus-detail-page) .task-field-fullsheet-current-chip {
  background: rgb(255 255 255 / 0.32) !important;
  color: var(--subtitle-text) !important;
  border: 1px solid rgb(0 0 0 / 0.1) !important;
}

.screen[data-screen="closet"] .task-column-title span {
  font-size: var(--font-title-md) !important;
  font-weight: 700 !important;
  padding: 6px 14px !important;
}

.screen[data-screen="closet"] .task-column-head > strong {
  font-size: var(--font-body-md) !important;
  font-weight: 700 !important;
}

.screen[data-screen="closet"] .task-board-card,
.screen[data-screen="closet"] .task-waterfall-board:is([data-board-view="urgency"], [data-board-view="department"], [data-board-view="status"], [data-board-view="people"]) .task-board-card {
  padding: 14px 18px !important;
  min-height: 92px !important;
}

.screen[data-screen="closet"] .task-waterfall-board:is([data-board-view="urgency"], [data-board-view="department"], [data-board-view="status"], [data-board-view="people"]) .task-board-card {
  padding-right: 56px !important;
}

.screen[data-screen="settings"] .top-settings-button.active,
.screen[data-screen="settings"] .top-settings-button:hover,
.screen:has(.task-focus-detail-page) .primary-text-button,
.screen:has(.task-add-page) .primary-text-button,
.screen:has(.task-focus-detail-page) .task-add-submit,
.screen:has(.task-add-page) .task-add-submit,
.screen:has(.task-focus-detail-page) .record-comment-compose button,
.screen:has(.task-focus-detail-page) .task-subtask-add button,
.screen[data-screen="closet"] .nav-item.active,
.screen[data-screen="settings"] .nav-item.active,
.screen:has(.task-focus-detail-page) .nav-item.active,
.screen:has(.task-add-page) .nav-item.active,
.screen:has(.task-focus-detail-page) .task-ai-suggestion button,
.screen:has(.task-add-page) .task-ai-suggestion button {
  background: var(--accent) !important;
  color: rgb(0 0 0 / 0.92) !important;
  border: 1px solid rgb(0 0 0 / 0.12) !important;
  box-shadow: none !important;
}

.screen[data-screen="closet"] .task-column-add span,
.screen[data-screen="closet"] .nav-item.active,
.screen[data-screen="settings"] .nav-item.active,
.screen:has(.task-focus-detail-page) .nav-item.active,
.screen:has(.task-add-page) .nav-item.active,
.screen:has(.task-focus-detail-page) .task-ai-suggestion button,
.screen:has(.task-add-page) .task-ai-suggestion button {
  color: rgb(0 0 0 / 0.92) !important;
}

.screen:has(.task-focus-detail-page) .task-focus-upload,
.screen:has(.task-focus-detail-page) .task-attachment-upload {
  background: var(--accent) !important;
  color: rgb(0 0 0 / 0.92) !important;
  border: 1px solid rgb(0 0 0 / 0.12) !important;
  box-shadow: none !important;
}

.screen[data-screen="closet"] .task-column-add,
.screen[data-screen="closet"] .task-waterfall-board:is([data-board-view="urgency"], [data-board-view="department"], [data-board-view="status"], [data-board-view="people"]) .task-column-add {
  background: var(--card) !important;
  border: 1px solid var(--glass-line) !important;
  box-shadow: var(--glass-shadow) !important;
  min-height: 44px !important;
  padding: 0 14px !important;
  gap: 8px !important;
}

.screen[data-screen="closet"] .task-column-add svg,
.screen[data-screen="closet"] .task-waterfall-board:is([data-board-view="urgency"], [data-board-view="department"], [data-board-view="status"], [data-board-view="people"]) .task-column-add svg {
  width: 20px !important;
  height: 20px !important;
}

.screen[data-screen="closet"] .task-column-add span,
.screen[data-screen="closet"] .task-waterfall-board:is([data-board-view="urgency"], [data-board-view="department"], [data-board-view="status"], [data-board-view="people"]) .task-column-add span {
  font-size: var(--font-body-md) !important;
  font-weight: 700 !important;
}

.screen[data-screen="settings"] .bb-settings-page {
  gap: 18px !important;
  padding-top: 18px !important;
}

.screen[data-screen="settings"] .settings-panel-block {
  display: grid;
  gap: 8px;
}

.screen[data-screen="settings"] .settings-panel-block h2 {
  margin: 0 0 2px !important;
}

.screen[data-screen="settings"] .settings-row,
.screen[data-screen="settings"] .manager-row {
  min-height: 60px !important;
}

.screen:has(.task-focus-detail-page) .task-detail-hero-card,
.screen:has(.task-add-page) .task-add-intro-card,
.screen:has(.task-add-page) .task-add-main-card,
.screen:has(.task-add-page) .task-add-action-card {
  padding: 18px !important;
}

.screen:has(.task-focus-detail-page) .task-detail-summary-row {
  gap: 10px 14px !important;
}

.screen:has(.task-focus-detail-page) .task-focus-meta-grid,
.screen:has(.task-add-page) .task-add-main-card {
  overflow: hidden;
}

.screen:has(.task-focus-detail-page) .task-focus-meta-grid .record-detail-field,
.screen:has(.task-add-page) .task-add-main-card .record-detail-field {
  min-height: 58px !important;
  padding: 0 16px !important;
  background: transparent !important;
  box-shadow: none !important;
  border-width: 0 0 1px !important;
  border-style: solid !important;
  border-color: rgb(0 0 0 / 0.08) !important;
}

.screen:has(.task-focus-detail-page) .task-focus-meta-grid .record-detail-field:last-child,
.screen:has(.task-add-page) .task-add-main-card .record-detail-field:last-of-type {
  border-bottom-width: 0 !important;
}

.screen:has(.task-focus-detail-page) .task-focus-description textarea,
.screen:has(.task-focus-detail-page) .record-comment-compose input,
.screen:has(.task-focus-detail-page) .task-subtask-add input,
.screen:has(.task-focus-detail-page) .task-field-picker,
.screen:has(.task-focus-detail-page) .task-field-picker span,
.screen:has(.task-add-page) .task-field-picker,
.screen:has(.task-add-page) .task-field-picker span,
.screen:has(.task-add-page) .record-detail-field textarea,
.screen:has(.task-add-page) .record-detail-field input {
  background: rgb(255 255 255 / 0.22) !important;
}

.screen:has(.task-focus-detail-page) .task-field-fullsheet,
.screen:has(.task-add-page) .task-field-fullsheet,
.screen:has(.task-focus-detail-page) .task-field-fullsheet-search,
.screen:has(.task-add-page) .task-field-fullsheet-search,
.screen:has(.task-focus-detail-page) .task-field-fullsheet-footer,
.screen:has(.task-add-page) .task-field-fullsheet-footer,
.screen:has(.task-focus-detail-page) .task-field-fullsheet-current,
.screen:has(.task-add-page) .task-field-fullsheet-current,
.screen:has(.task-focus-detail-page) .task-field-fullsheet-action,
.screen:has(.task-add-page) .task-field-fullsheet-action {
  background: #111111 !important;
  border-color: rgb(255 255 255 / 0.12) !important;
  box-shadow: 0 18px 44px rgb(0 0 0 / 0.32) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.screen:has(.task-focus-detail-page) .task-field-fullsheet,
.screen:has(.task-add-page) .task-field-fullsheet,
.screen:has(.task-focus-detail-page) .task-field-fullsheet-chrome strong,
.screen:has(.task-add-page) .task-field-fullsheet-chrome strong,
.screen:has(.task-focus-detail-page) .task-field-fullsheet-head button,
.screen:has(.task-add-page) .task-field-fullsheet-head button,
.screen:has(.task-focus-detail-page) .task-field-fullsheet-text,
.screen:has(.task-add-page) .task-field-fullsheet-text,
.screen:has(.task-focus-detail-page) .task-field-fullsheet-current,
.screen:has(.task-add-page) .task-field-fullsheet-current,
.screen:has(.task-focus-detail-page) .task-field-fullsheet-action,
.screen:has(.task-add-page) .task-field-fullsheet-action,
.screen:has(.task-focus-detail-page) .task-field-fullsheet-more,
.screen:has(.task-add-page) .task-field-fullsheet-more,
.screen:has(.task-focus-detail-page) .task-field-fullsheet-plus,
.screen:has(.task-add-page) .task-field-fullsheet-plus {
  color: rgb(255 255 255 / 0.92) !important;
}

.screen:has(.task-focus-detail-page) .task-field-fullsheet-search input,
.screen:has(.task-add-page) .task-field-fullsheet-search input {
  background: rgb(255 255 255 / 0.08) !important;
  color: rgb(255 255 255 / 0.92) !important;
}

.screen:has(.task-focus-detail-page) .task-field-fullsheet-search input::placeholder,
.screen:has(.task-add-page) .task-field-fullsheet-search input::placeholder {
  color: rgb(255 255 255 / 0.4) !important;
}

.screen:has(.task-focus-detail-page) .task-field-fullsheet-option,
.screen:has(.task-add-page) .task-field-fullsheet-option {
  border-color: rgb(255 255 255 / 0.08) !important;
}

.screen:has(.task-focus-detail-page) .task-field-fullsheet-chip,
.screen:has(.task-add-page) .task-field-fullsheet-chip,
.screen:has(.task-focus-detail-page) .task-field-fullsheet-current-chip,
.screen:has(.task-add-page) .task-field-fullsheet-current-chip {
  background: rgb(255 255 255 / 0.1) !important;
  color: rgb(255 255 255 / 0.92) !important;
  border-color: rgb(255 255 255 / 0.12) !important;
}

.screen:has(.task-focus-detail-page) .task-field-fullsheet-option,
.screen:has(.task-add-page) .task-field-fullsheet-option {
  border-color: rgb(0 0 0 / 0.08) !important;
}

.screen:has(.task-focus-detail-page) .task-field-fullsheet-option.selected .task-field-fullsheet-chip,
.screen:has(.task-add-page) .task-field-fullsheet-option.selected .task-field-fullsheet-chip,
.screen:has(.task-focus-detail-page) .task-field-fullsheet-radio,
.screen:has(.task-add-page) .task-field-fullsheet-radio {
  border-color: rgb(0 0 0 / 0.14) !important;
}

.screen:has(.task-focus-detail-page) .task-focus-card,
.screen:has(.task-focus-detail-page) .task-focus-meta-grid,
.screen:has(.task-focus-detail-page) .task-focus-meta-grid .record-detail-field,
.screen:has(.task-focus-detail-page) .task-focus-description textarea,
.screen:has(.task-focus-detail-page) .task-field-picker,
.screen:has(.task-focus-detail-page) .task-field-picker span,
.screen:has(.task-focus-detail-page) .task-detail-kicker .task-kicker-action,
.screen:has(.task-focus-detail-page) .task-focus-upload,
.screen:has(.task-focus-detail-page) .task-attachment-upload,
.screen:has(.task-focus-detail-page) .task-subtask-row,
.screen:has(.task-focus-detail-page) .task-subtask-view,
.screen:has(.task-focus-detail-page) .task-subtask-status,
.screen:has(.task-focus-detail-page) .task-subtask-add input,
.screen:has(.task-focus-detail-page) .record-comment-item,
.screen:has(.task-focus-detail-page) .record-comment-compose input,
.screen:has(.task-focus-detail-page) .record-comment-compose button,
.screen:has(.task-focus-detail-page) .task-field-fullsheet,
.screen:has(.task-focus-detail-page) .task-field-fullsheet-search,
.screen:has(.task-focus-detail-page) .task-field-fullsheet-current,
.screen:has(.task-focus-detail-page) .task-field-fullsheet-action,
.screen:has(.task-focus-detail-page) .task-field-fullsheet-chip,
.screen:has(.task-focus-detail-page) .task-field-fullsheet-current-chip,
.screen:has(.task-focus-detail-page) .tabbar,
.screen:has(.task-focus-detail-page) .nav-item,
.screen:has(.task-focus-detail-page) .nav-item.active {
  border-radius: 0 !important;
}

/* Fixed dark task field sheet: do not follow system appearance. */
.task-field-fullsheet-backdrop {
  --task-sheet-backdrop: rgba(0, 0, 0, 0.75) !important;
  --task-sheet-surface: #111111 !important;
  --task-sheet-text: rgba(255, 255, 255, 0.94) !important;
  --task-sheet-subtle-text: rgba(255, 255, 255, 0.62) !important;
  --task-sheet-divider: rgba(255, 255, 255, 0.08) !important;
  --task-sheet-handle: rgba(255, 255, 255, 0.16) !important;
  --task-sheet-search-bg: rgba(255, 255, 255, 0.08) !important;
  --task-sheet-search-line: rgba(255, 255, 255, 0.04) !important;
  --task-sheet-chip-bg: rgba(255, 255, 255, 0.08) !important;
  --task-sheet-chip-active: none !important;
  --task-sheet-panel-bg: #111111 !important;
  --task-sheet-action-bg: rgba(255, 255, 255, 0.08) !important;
  background: var(--task-sheet-backdrop) !important;
}

.task-field-fullsheet {
  background: #111111 !important;
  color: rgb(255 255 255 / 0.94) !important;
  box-shadow: 0 -18px 50px rgb(0 0 0 / 0.42) !important;
}

.task-field-fullsheet::before {
  background: rgb(255 255 255 / 0.16) !important;
}

.task-field-fullsheet-chrome strong,
.task-field-fullsheet-text,
.task-field-fullsheet-more,
.task-field-fullsheet-plus,
.task-field-fullsheet-close,
.task-field-fullsheet-current,
.task-field-fullsheet-action {
  color: rgb(255 255 255 / 0.92) !important;
}

.task-field-fullsheet-text.primary {
  color: var(--accent) !important;
}

.task-field-fullsheet-search,
.task-field-fullsheet-current,
.task-field-fullsheet-action,
.task-field-fullsheet-footer {
  background: #111111 !important;
  border-color: rgb(255 255 255 / 0.1) !important;
  box-shadow: none !important;
}

.task-field-fullsheet-search {
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.06) !important;
}

.task-field-fullsheet-search > span,
.task-field-fullsheet-search input,
.task-field-fullsheet-search input::placeholder {
  color: rgb(255 255 255 / 0.6) !important;
}

.task-field-fullsheet-search input {
  background: transparent !important;
}

.task-field-fullsheet-option,
.screen:has(.task-focus-detail-page) .task-field-fullsheet-option,
.screen:has(.task-add-page) .task-field-fullsheet-option {
  border-color: rgb(255 255 255 / 0.08) !important;
}

.task-field-fullsheet-option-main {
  color: rgb(255 255 255 / 0.94) !important;
}

.task-field-fullsheet-chip,
.task-field-fullsheet-current-chip {
  background: rgb(255 255 255 / 0.08) !important;
  color: rgb(255 255 255 / 0.92) !important;
  border: 1px solid rgb(255 255 255 / 0.1) !important;
}

.task-field-fullsheet-option.selected .task-field-fullsheet-chip,
.task-field-fullsheet-current-chip {
  background: var(--accent) !important;
  color: rgb(0 0 0 / 0.92) !important;
  border-color: rgb(0 0 0 / 0.12) !important;
}

.task-field-fullsheet-radio {
  border-color: rgb(255 255 255 / 0.28) !important;
}

.task-field-fullsheet-option.selected .task-field-fullsheet-radio {
  border-color: var(--accent) !important;
  box-shadow: inset 0 0 0 4px #111111, 0 0 0 4px rgb(168 255 0 / 0.22) !important;
}

.screen:has(.task-focus-detail-page) .task-detail-kicker span,
.screen:has(.task-focus-detail-page) .task-detail-kicker .task-kicker-action {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 28px !important;
  padding: 0px 12px !important;
  line-height: 1 !important;
  border-radius: 0px !important;
}

.screen:has(.task-focus-detail-page) .task-detail-kicker .task-kicker-action {
  border-radius: 0px !important;
}

.screen:has(.task-focus-detail-page) .task-description-card {
  border-top: 0 !important;
}

.screen:has(.task-focus-detail-page) .record-history-list article,
.screen:has(.task-focus-detail-page) .record-comment-item,
.screen:has(.task-focus-detail-page) .record-comment-edit input,
.screen:has(.task-focus-detail-page) .record-comment-compose input,
.screen:has(.task-focus-detail-page) .record-comment-compose button,
.screen:has(.task-focus-detail-page) .record-comment-item footer button,
.screen:has(.task-focus-detail-page) .record-comment-launcher,
.screen:has(.task-focus-detail-page) .record-comment-launcher-shell,
.screen:has(.task-focus-detail-page) .record-comment-compose-editor textarea,
.screen:has(.task-focus-detail-page) .record-comment-compose-actions button,
.screen:has(.task-focus-detail-page) .record-comment-attachment,
.screen:has(.task-focus-detail-page) .record-comment-attachment img,
.screen:has(.task-focus-detail-page) .record-comment-attachment video,
.screen:has(.task-focus-detail-page) .record-comment-attachment-file,
.screen:has(.task-focus-detail-page) .record-comment-compose-sheet {
  border-radius: 0px !important;
}

.screen:has(.task-focus-detail-page) .task-focus-card,
.screen:has(.task-focus-detail-page) .record-detail-card,
.screen:has(.task-focus-detail-page) .task-focus-description textarea,
.screen:has(.task-focus-detail-page) .task-focus-upload,
.screen:has(.task-focus-detail-page) .task-attachment-upload,
.screen:has(.task-focus-detail-page) .task-subtask-row,
.screen:has(.task-focus-detail-page) .task-subtask-add input,
.screen:has(.task-focus-detail-page) .task-subtask-add button {
  border-radius: 0px !important;
}

.screen:has(.task-focus-detail-page) .record-history-list article,
.screen:has(.task-focus-detail-page) .record-comment-item {
  background: rgba(255, 255, 255, 0.74) !important;
  border-color: rgba(34, 39, 48, 0.08) !important;
}

.screen:has(.task-focus-detail-page) .record-comment-launcher-shell {
  padding-top: 2px !important;
}

.screen:has(.task-focus-detail-page) .record-comment-launcher {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  padding: 0px 16px;
  border: 1px solid rgb(168, 255, 0);
  background: rgba(255, 255, 255, 0.94);
  color: rgba(22, 27, 34, 0.92);
  text-align: center;
  box-shadow: none;
}

.screen:has(.task-focus-detail-page) .record-comment-launcher strong {
  color: rgba(22, 27, 34, 0.92);
  font-size: 14px;
  font-weight: 800;
}

.screen:has(.task-focus-detail-page) .record-comment-launcher:hover,
.screen:has(.task-focus-detail-page) .record-comment-launcher:focus-visible {
  box-shadow: 0 0 0 2px rgba(168, 255, 0, 0.18);
}

.screen:has(.task-focus-detail-page) .record-comment-compose-sheet {
  width: min(100%, 430px);
  max-height: min(72vh, 680px);
  padding: 12px 0 calc(14px + var(--safe-bottom));
  border: 1px solid rgba(34, 39, 48, 0.08);
  border-radius: 0px;
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 -18px 40px rgba(0, 0, 0, 0.18);
}

.screen:has(.task-focus-detail-page) .record-comment-compose-sheet .sheet-title.split button:last-child {
  min-height: 30px;
  padding: 0px 12px;
  border: 0px;
  border-radius: 0px;
  color: rgba(0, 0, 0, 0.88);
  background: rgb(168, 255, 0);
}

.screen:has(.task-focus-detail-page) .record-comment-compose-editor {
  display: grid;
  gap: 10px;
  padding: 0px 14px 10px;
}

.screen:has(.task-focus-detail-page) .record-comment-compose-editor textarea {
  width: 100%;
  min-height: 170px;
  padding: 12px 14px;
  border: 1px solid rgba(34, 39, 48, 0.16);
  background: rgba(255, 255, 255, 0.94);
  color: rgba(22, 27, 34, 0.9);
  font-size: 16px;
  line-height: 1.62;
  resize: vertical;
}

.screen:has(.task-focus-detail-page) .record-comment-compose-editor textarea::placeholder {
  color: rgba(22, 27, 34, 0.32);
}

.screen:has(.task-focus-detail-page) .record-comment-compose-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0px 14px 10px;
}

.screen:has(.task-focus-detail-page) .record-comment-compose-actions button {
  min-height: 34px;
  padding: 0px 12px;
  border: 1px solid rgba(34, 39, 48, 0.14);
  background: rgba(255, 255, 255, 0.92);
  color: rgba(22, 27, 34, 0.84);
  font-size: 13px;
  font-weight: 850;
}

.screen:has(.task-focus-detail-page) .record-comment-attachment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
  gap: 10px;
  padding: 0px 14px;
}

.screen:has(.task-focus-detail-page) .record-comment-attachment {
  display: grid;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(34, 39, 48, 0.12);
  background: rgba(255, 255, 255, 0.92);
}

.screen:has(.task-focus-detail-page) .record-comment-attachment-preview {
  display: grid;
  gap: 8px;
  width: 100%;
  padding: 0px;
  border: 0px;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.screen:has(.task-focus-detail-page) .record-comment-attachment img,
.screen:has(.task-focus-detail-page) .record-comment-attachment video,
.screen:has(.task-focus-detail-page) .record-comment-attachment-file {
  width: 100%;
  aspect-ratio: 1.2 / 1;
  object-fit: cover;
  background: rgba(242, 244, 248, 0.96);
}

.screen:has(.task-focus-detail-page) .record-comment-attachment-file {
  display: grid;
  place-items: center;
  color: rgba(22, 27, 34, 0.54);
}

.screen:has(.task-focus-detail-page) .record-comment-attachment-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: rgba(22, 27, 34, 0.72);
  font-size: 12px;
  font-weight: 760;
}

.screen:has(.task-focus-detail-page) .record-comment-attachment-meta button {
  min-height: 24px;
  padding: 0px 8px;
  border: 1px solid rgba(34, 39, 48, 0.12);
  background: rgba(255, 255, 255, 0.86);
  color: rgba(22, 27, 34, 0.78);
  font-size: 11px;
  font-weight: 760;
}

.screen:has(.task-focus-detail-page) .record-comment-attachments {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
  margin-top: 4px;
}

.screen:has(.task-focus-detail-page) .record-comment-attachment-empty {
  margin: 0px;
  color: rgba(22, 27, 34, 0.42);
  font-size: 13px;
  font-weight: 760;
}

.screen:has(.task-focus-detail-page) .task-field-fullsheet-chrome strong,
.screen:has(.task-add-page) .task-field-fullsheet-chrome strong {
  color: rgba(0, 0, 0, 0.25) !important;
}

.screen:has(.task-focus-detail-page) .task-description-card {
  margin-top: 12px !important;
  border-top: 0 !important;
  padding-top: 18px !important;
  box-shadow: none !important;
}

.screen:has(.task-focus-detail-page) .task-description-card::before {
  display: none !important;
}

.screen:has(.task-focus-detail-page) .task-focus-description {
  border-top: 0 !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.screen:has(.task-focus-detail-page) .task-field-fullsheet,
.screen:has(.task-add-page) .task-field-fullsheet {
  width: min(100vw, 760px) !important;
  padding: 12px 0 calc(env(safe-area-inset-bottom, 0px) + 12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-bottom: 0 !important;
  border-radius: 22px 22px 0 0 !important;
  background: linear-gradient(180deg, rgba(13, 16, 23, 0.98), rgba(7, 9, 13, 0.96)) !important;
  color: rgba(255, 255, 255, 0.94) !important;
  box-shadow: 0 -24px 60px rgba(0, 0, 0, 0.42) !important;
  backdrop-filter: none !important;
}

.screen:has(.task-focus-detail-page) .task-field-fullsheet::before,
.screen:has(.task-add-page) .task-field-fullsheet::before {
  width: 78px !important;
  height: 4px !important;
  margin: 2px 0 10px !important;
  background: rgba(255, 255, 255, 0.22) !important;
}

.screen:has(.task-focus-detail-page) .task-field-fullsheet-chrome,
.screen:has(.task-add-page) .task-field-fullsheet-chrome {
  min-height: 50px !important;
  padding: 0 16px !important;
}

.screen:has(.task-focus-detail-page) .task-field-fullsheet-chrome strong,
.screen:has(.task-add-page) .task-field-fullsheet-chrome strong {
  color: rgba(255, 255, 255, 0.96) !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
}

.screen:has(.task-focus-detail-page) .task-field-fullsheet-text,
.screen:has(.task-add-page) .task-field-fullsheet-text {
  min-height: 32px !important;
  color: rgba(255, 255, 255, 0.66) !important;
  font-size: 13px !important;
  font-weight: 560 !important;
}

.screen:has(.task-focus-detail-page) .task-field-fullsheet-text.primary,
.screen:has(.task-add-page) .task-field-fullsheet-text.primary {
  color: #a8ff00 !important;
}

.screen:has(.task-focus-detail-page) .task-field-fullsheet-search,
.screen:has(.task-add-page) .task-field-fullsheet-search {
  margin: 6px 14px 4px !important;
  padding: 0 14px !important;
  min-height: 46px !important;
  height: 46px !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  box-shadow: none !important;
}

.screen:has(.task-focus-detail-page) .task-field-fullsheet-search > span,
.screen:has(.task-add-page) .task-field-fullsheet-search > span,
.screen:has(.task-focus-detail-page) .task-field-fullsheet-search input,
.screen:has(.task-add-page) .task-field-fullsheet-search input {
  color: rgba(255, 255, 255, 0.74) !important;
}

.screen:has(.task-focus-detail-page) .task-field-fullsheet-search input::placeholder,
.screen:has(.task-add-page) .task-field-fullsheet-search input::placeholder {
  color: rgba(255, 255, 255, 0.32) !important;
}

.screen:has(.task-focus-detail-page) .task-field-fullsheet-plus,
.screen:has(.task-add-page) .task-field-fullsheet-plus {
  color: rgba(255, 255, 255, 0.6) !important;
}

.screen:has(.task-focus-detail-page) .task-field-fullsheet-list,
.screen:has(.task-add-page) .task-field-fullsheet-list {
  padding: 0 0 10px !important;
}

.screen:has(.task-focus-detail-page) .task-field-fullsheet-option,
.screen:has(.task-add-page) .task-field-fullsheet-option {
  min-height: 62px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.09) !important;
}

.screen:has(.task-focus-detail-page) .task-field-fullsheet-option-main,
.screen:has(.task-add-page) .task-field-fullsheet-option-main {
  min-height: 62px !important;
  padding: 0 16px !important;
}

.screen:has(.task-focus-detail-page) .task-field-fullsheet-radio,
.screen:has(.task-add-page) .task-field-fullsheet-radio {
  border-color: rgba(255, 255, 255, 0.34) !important;
}

.screen:has(.task-focus-detail-page) .task-field-fullsheet-option.selected .task-field-fullsheet-radio,
.screen:has(.task-add-page) .task-field-fullsheet-option.selected .task-field-fullsheet-radio {
  border-color: #a8ff00 !important;
  box-shadow: inset 0 0 0 4px rgba(13, 16, 23, 0.98), 0 0 0 4px rgba(168, 255, 0, 0.18) !important;
}

.screen:has(.task-focus-detail-page) .task-field-fullsheet-chip,
.screen:has(.task-add-page) .task-field-fullsheet-chip {
  min-height: 30px !important;
  padding: 6px 14px 0 !important;
  color: rgba(255, 255, 255, 0.9) !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

.screen:has(.task-focus-detail-page) .task-field-fullsheet-option.selected .task-field-fullsheet-chip,
.screen:has(.task-add-page) .task-field-fullsheet-option.selected .task-field-fullsheet-chip,
.screen:has(.task-focus-detail-page) .task-field-fullsheet-current-chip,
.screen:has(.task-add-page) .task-field-fullsheet-current-chip {
  color: rgba(0, 0, 0, 0.9) !important;
  background: #a8ff00 !important;
}

.screen:has(.task-focus-detail-page) .task-field-fullsheet-more,
.screen:has(.task-add-page) .task-field-fullsheet-more {
  color: rgba(255, 255, 255, 0.42) !important;
}

.screen:has(.task-focus-detail-page) .task-field-fullsheet-empty,
.screen:has(.task-add-page) .task-field-fullsheet-empty {
  color: rgba(255, 255, 255, 0.48) !important;
}

.screen:has(.task-focus-detail-page) .task-field-fullsheet-footer,
.screen:has(.task-add-page) .task-field-fullsheet-footer {
  padding: 14px 14px calc(env(safe-area-inset-bottom, 0px) + 14px) !important;
  border-top: 0 !important;
  background: linear-gradient(180deg, rgba(13, 16, 23, 0), rgba(8, 10, 14, 0.92) 24%, rgba(8, 10, 14, 0.98) 100%) !important;
  backdrop-filter: none !important;
}

.screen:has(.task-focus-detail-page) .task-field-fullsheet-current,
.screen:has(.task-add-page) .task-field-fullsheet-current {
  min-height: 62px !important;
  padding: 0 14px !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  background: rgba(255, 255, 255, 0.06) !important;
}

.screen:has(.task-focus-detail-page) .task-field-fullsheet,
.screen:has(.task-add-page) .task-field-fullsheet,
.screen:has(.task-focus-detail-page) .task-field-fullsheet *,
.screen:has(.task-add-page) .task-field-fullsheet * {
  color: rgba(255, 255, 255, 0.92) !important;
}

.screen:has(.task-focus-detail-page) .task-field-fullsheet .task-field-fullsheet-text.primary,
.screen:has(.task-add-page) .task-field-fullsheet .task-field-fullsheet-text.primary {
  color: #a8ff00 !important;
}

.screen:has(.task-focus-detail-page) .task-field-fullsheet .task-field-fullsheet-chip,
.screen:has(.task-add-page) .task-field-fullsheet .task-field-fullsheet-chip {
  color: rgba(255, 255, 255, 0.94) !important;
}

.screen:has(.task-focus-detail-page) .task-field-fullsheet .task-field-fullsheet-current-chip,
.screen:has(.task-add-page) .task-field-fullsheet .task-field-fullsheet-current-chip,
.screen:has(.task-focus-detail-page) .task-field-fullsheet .task-field-fullsheet-option.selected .task-field-fullsheet-chip,
.screen:has(.task-add-page) .task-field-fullsheet .task-field-fullsheet-option.selected .task-field-fullsheet-chip {
  color: rgba(0, 0, 0, 0.92) !important;
}

.screen:has(.task-focus-detail-page) .task-field-fullsheet .task-field-fullsheet-search input::placeholder,
.screen:has(.task-add-page) .task-field-fullsheet .task-field-fullsheet-search input::placeholder {
  color: rgba(255, 255, 255, 0.38) !important;
}

.screen:has(.task-focus-detail-page) .task-field-fullsheet-backdrop,
.screen:has(.task-add-page) .task-field-fullsheet-backdrop {
  background: rgba(0, 0, 0, 0.48) !important;
}

.screen:has(.task-focus-detail-page) .task-field-fullsheet,
.screen:has(.task-add-page) .task-field-fullsheet {
  top: var(--task-field-anchor-top, auto) !important;
  left: var(--task-field-anchor-left, 12px) !important;
  width: min(calc(100vw - 24px), var(--task-field-anchor-width, 360px)) !important;
  max-height: min(var(--task-field-anchor-max-height, 420px), 420px) !important;
  bottom: auto !important;
  margin: 0 !important;
  transform: none !important;
  border-radius: 18px !important;
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.36) !important;
}

.screen:has(.task-focus-detail-page) .task-field-fullsheet-footer,
.screen:has(.task-add-page) .task-field-fullsheet-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 16px 16px 0 0 !important;
}

.screen:has(.task-focus-detail-page) .task-field-fullsheet-list,
.screen:has(.task-add-page) .task-field-fullsheet-list {
  max-height: min(calc(var(--task-field-visible-count, 4) * 62px + 12px), var(--task-field-anchor-max-height, 420px)) !important;
}

.screen:has(.task-focus-detail-page) .task-field-fullsheet-backdrop,
.screen:has(.task-add-page) .task-field-fullsheet-backdrop {
  background: rgba(0, 0, 0, 0.8) !important;
}

.screen:has(.task-focus-detail-page) .task-field-fullsheet,
.screen:has(.task-add-page) .task-field-fullsheet,
.screen:has(.task-focus-detail-page) .task-field-fullsheet *,
.screen:has(.task-add-page) .task-field-fullsheet * {
  color: rgba(0, 0, 0, 0.3) !important;
}

.screen:has(.task-focus-detail-page) .task-field-fullsheet .task-field-fullsheet-text.primary,
.screen:has(.task-add-page) .task-field-fullsheet .task-field-fullsheet-text.primary,
.screen:has(.task-focus-detail-page) .task-field-fullsheet .task-field-fullsheet-chip,
.screen:has(.task-add-page) .task-field-fullsheet .task-field-fullsheet-chip,
.screen:has(.task-focus-detail-page) .task-field-fullsheet .task-field-fullsheet-current-chip,
.screen:has(.task-add-page) .task-field-fullsheet .task-field-fullsheet-current-chip,
.screen:has(.task-focus-detail-page) .task-field-fullsheet .task-field-fullsheet-search input::placeholder,
.screen:has(.task-add-page) .task-field-fullsheet .task-field-fullsheet-search input::placeholder,
.screen:has(.task-focus-detail-page) .task-field-fullsheet .task-field-fullsheet-more,
.screen:has(.task-add-page) .task-field-fullsheet .task-field-fullsheet-more,
.screen:has(.task-focus-detail-page) .task-field-fullsheet .task-field-fullsheet-empty,
.screen:has(.task-add-page) .task-field-fullsheet .task-field-fullsheet-empty {
  color: rgba(0, 0, 0, 0.3) !important;
}

.screen:has(.task-focus-detail-page) .task-field-fullsheet,
.screen:has(.task-add-page) .task-field-fullsheet {
  background: rgba(255, 255, 255, 0.98) !important;
  border: 1px solid rgba(34, 39, 48, 0.08) !important;
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.16) !important;
}

.screen:has(.task-focus-detail-page) .task-field-fullsheet::before,
.screen:has(.task-add-page) .task-field-fullsheet::before {
  background: rgba(34, 39, 48, 0.16) !important;
}

.screen:has(.task-focus-detail-page) .task-field-fullsheet-search,
.screen:has(.task-add-page) .task-field-fullsheet-search {
  border-color: rgba(34, 39, 48, 0.08) !important;
  background: rgba(34, 39, 48, 0.03) !important;
}

.screen:has(.task-focus-detail-page) .task-field-fullsheet-option,
.screen:has(.task-add-page) .task-field-fullsheet-option {
  border-top-color: rgba(34, 39, 48, 0.08) !important;
}

.screen:has(.task-focus-detail-page) .task-field-fullsheet-chip,
.screen:has(.task-add-page) .task-field-fullsheet-chip {
  color: rgba(0, 0, 0, 0.3) !important;
  background: rgba(34, 39, 48, 0.06) !important;
}

.screen:has(.task-focus-detail-page) .task-field-fullsheet-option.selected .task-field-fullsheet-chip,
.screen:has(.task-add-page) .task-field-fullsheet-option.selected .task-field-fullsheet-chip,
.screen:has(.task-focus-detail-page) .task-field-fullsheet-current-chip,
.screen:has(.task-add-page) .task-field-fullsheet-current-chip {
  color: rgba(0, 0, 0, 0.3) !important;
  background: #a8ff00 !important;
}

.screen:has(.task-focus-detail-page) .task-field-fullsheet-current,
.screen:has(.task-add-page) .task-field-fullsheet-current,
.screen:has(.task-focus-detail-page) .task-field-fullsheet-footer,
.screen:has(.task-add-page) .task-field-fullsheet-footer {
  background: rgba(255, 255, 255, 0.98) !important;
}

/* Final field picker lock: keep this popover white regardless of old dark overrides. */
html body #app [data-task-field-sheet] .task-field-fullsheet {
  background: #fff !important;
  color: rgba(0, 0, 0, 0.78) !important;
  border: 1px solid rgba(0, 0, 0, 0.12) !important;
  border-radius: 0 !important;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html body #app [data-task-field-sheet] .task-field-fullsheet::before {
  background: rgba(0, 0, 0, 0.12) !important;
}

html body #app [data-task-field-sheet] .task-field-fullsheet-backdrop {
  background: rgba(0, 0, 0, 0.32) !important;
}

html body #app [data-task-field-sheet] .task-field-fullsheet-chrome strong {
  color: rgba(0, 0, 0, 0.92) !important;
}

html body #app [data-task-field-sheet] .task-field-fullsheet-text,
html body #app [data-task-field-sheet] .task-field-fullsheet-plus,
html body #app [data-task-field-sheet] .task-field-fullsheet-more,
html body #app [data-task-field-sheet] .task-field-fullsheet-empty {
  color: rgba(0, 0, 0, 0.62) !important;
}

html body #app [data-task-field-sheet] .task-field-fullsheet-text.primary {
  color: rgba(0, 0, 0, 0.92) !important;
  background: #a8ff00 !important;
}

html body #app [data-task-field-sheet] .task-field-fullsheet-search,
html body #app [data-task-field-sheet] .task-field-fullsheet-footer,
html body #app [data-task-field-sheet] .task-field-fullsheet-current,
html body #app [data-task-field-sheet] .task-field-fullsheet-action {
  background: #fff !important;
  color: rgba(0, 0, 0, 0.72) !important;
  border-color: rgba(0, 0, 0, 0.12) !important;
  border-radius: 0 !important;
}

html body #app [data-task-field-sheet] .task-field-fullsheet-search input {
  color: rgba(0, 0, 0, 0.72) !important;
}

html body #app [data-task-field-sheet] .task-field-fullsheet-search input::placeholder {
  color: rgba(0, 0, 0, 0.36) !important;
}

html body #app [data-task-field-sheet] .task-field-fullsheet-option {
  border-color: rgba(0, 0, 0, 0.08) !important;
}

html body #app [data-task-field-sheet] .task-field-fullsheet-chip {
  background: rgba(0, 0, 0, 0.06) !important;
  color: rgba(0, 0, 0, 0.72) !important;
  border-radius: 0 !important;
}

html body #app [data-task-field-sheet] .task-field-fullsheet-option.selected .task-field-fullsheet-chip,
html body #app [data-task-field-sheet] .task-field-fullsheet-current-chip {
  background: #a8ff00 !important;
  color: rgba(0, 0, 0, 0.92) !important;
}

html body #app [data-task-field-sheet] .task-field-fullsheet-radio {
  background: #fff !important;
  border-color: rgba(0, 0, 0, 0.28) !important;
}

html body #app [data-task-field-sheet] .task-field-fullsheet-option.selected .task-field-fullsheet-radio {
  background: #a8ff00 !important;
  border-color: #a8ff00 !important;
}

/* Compact field picker pass. */
html body #app [data-task-field-sheet] .task-field-fullsheet {
  top: auto !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: min(100vw, 760px) !important;
  max-height: min(82vh, calc(136px + var(--task-field-visible-count, 4) * 42px + var(--task-field-footer-space, 0px))) !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 auto !important;
  background: #fff !important;
  padding: 10px 16px calc(env(safe-area-inset-bottom, 0px) + 14px) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  overflow: hidden !important;
  transform: none !important;
  animation: task-field-fullsheet-slide 0.18s ease !important;
}

html body #app [data-task-field-sheet] .task-field-fullsheet::before {
  width: 72px !important;
  height: 4px !important;
  margin: 0 auto 2px !important;
  border-radius: 0 !important;
}

html body #app [data-task-field-sheet] .task-field-fullsheet-chrome {
  grid-template-columns: 64px minmax(0, 1fr) 64px !important;
  min-height: 36px !important;
  padding: 0 !important;
}

html body #app [data-task-field-sheet] .task-field-fullsheet-chrome strong {
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}

html body #app [data-task-field-sheet] .task-field-fullsheet-text {
  min-height: 32px !important;
  padding: 0 !important;
  font-size: 14px !important;
  font-weight: 650 !important;
  line-height: 32px !important;
}

html body #app [data-task-field-sheet] .task-field-fullsheet-text.primary {
  min-height: 32px !important;
  padding: 0 10px !important;
  text-align: center !important;
  line-height: 32px !important;
}

html body #app [data-task-field-sheet] .task-field-fullsheet-search {
  grid-template-columns: 18px minmax(0, 1fr) 28px !important;
  gap: 8px !important;
  min-height: 38px !important;
  height: 38px !important;
  margin: 0 !important;
  padding: 0 10px !important;
  border: 1px solid rgba(0, 0, 0, 0.12) !important;
  box-shadow: none !important;
}

html body #app [data-task-field-sheet] .task-field-fullsheet-search > span {
  color: rgba(0, 0, 0, 0.34) !important;
  font-size: 16px !important;
}

html body #app [data-task-field-sheet] .task-field-fullsheet-search input {
  min-height: 30px !important;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  padding: 0 8px !important;
  font-size: 14px !important;
  font-weight: 520 !important;
}

html body #app [data-task-field-sheet] .task-field-fullsheet-plus {
  width: 28px !important;
  height: 28px !important;
  font-size: 22px !important;
  line-height: 28px !important;
}

html body #app [data-task-field-sheet] .task-field-fullsheet-list {
  max-height: none !important;
  padding: 0 !important;
  overflow: visible !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  background: #fff !important;
}

html body #app [data-task-field-sheet] .task-field-fullsheet:has(.task-field-fullsheet-footer) .task-field-fullsheet-list {
  padding-bottom: 0 !important;
}

html body #app [data-task-field-sheet] .task-field-fullsheet-option {
  grid-template-columns: minmax(0, 1fr) 28px !important;
  min-height: 42px !important;
  border-top: 1px solid rgba(0, 0, 0, 0.1) !important;
  background: #fff !important;
}

html body #app [data-task-field-sheet] .task-field-fullsheet-option:first-child {
  border-top: 0 !important;
}

html body #app [data-task-field-sheet] .task-field-fullsheet-option.selected {
  background: rgba(168, 255, 0, 0.16) !important;
}

html body #app [data-task-field-sheet] .task-field-fullsheet-option-main {
  grid-template-columns: 28px minmax(0, 1fr) !important;
  gap: 10px !important;
  min-height: 42px !important;
  padding: 0 12px !important;
}

html body #app [data-task-field-sheet] .task-field-fullsheet-radio {
  display: grid !important;
  place-items: center !important;
  width: 18px !important;
  min-width: 18px !important;
  height: 18px !important;
  border-width: 2px !important;
  border-style: solid !important;
  border-color: rgba(0, 0, 0, 0.28) !important;
  background: #fff !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  color: rgba(0, 0, 0, 0.92) !important;
}

html body #app [data-task-field-sheet] .task-field-fullsheet-option.selected .task-field-fullsheet-radio {
  border-color: #a8ff00 !important;
  background: #a8ff00 !important;
}

html body #app [data-task-field-sheet] .task-field-fullsheet-chip {
  min-height: auto !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  background: transparent !important;
  color: rgba(0, 0, 0, 0.76) !important;
  font-size: 15px !important;
  font-weight: 650 !important;
  line-height: 1.35 !important;
}

html body #app [data-task-field-sheet] .task-field-fullsheet-option.selected .task-field-fullsheet-chip {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  color: rgba(0, 0, 0, 0.92) !important;
}

html body #app [data-task-field-sheet] .task-field-fullsheet-more {
  width: 28px !important;
  height: 42px !important;
  font-size: 20px !important;
}

html body #app [data-task-field-sheet] .task-field-fullsheet-empty {
  padding: 16px 4px !important;
  font-size: 13px !important;
}

html body #app [data-task-field-sheet] .task-field-fullsheet-footer {
  position: static !important;
  gap: 8px !important;
  padding: 0 !important;
  border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
  background: #fff !important;
  pointer-events: auto !important;
  animation: none !important;
}

html body #app [data-task-field-sheet] .task-field-fullsheet-current {
  min-height: 42px !important;
  grid-template-columns: 28px minmax(0, 1fr) !important;
  gap: 8px !important;
  padding: 0 4px !important;
}

html body #app [data-task-field-sheet] .task-field-fullsheet-close {
  width: 24px !important;
  height: 24px !important;
  font-size: 20px !important;
}

html body #app [data-task-field-sheet] .task-field-fullsheet-current-chip {
  min-height: 30px !important;
  padding: 6px 10px 0 !important;
  font-size: 14px !important;
}

html body #app [data-task-field-sheet] .task-field-fullsheet-actions {
  gap: 8px !important;
}

html body #app [data-task-field-sheet] .task-field-fullsheet-action {
  min-height: 42px !important;
  padding: 0 12px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
}

/* Final attachment preview layout: 3-up square tiles with borders and video support. */
.screen:has(.task-focus-detail-page) .record-comment-attachment-grid,
.screen:has(.task-focus-detail-page) .record-comment-attachments {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px !important;
  margin-top: 4px !important;
}

.screen:has(.task-focus-detail-page) .record-comment-attachment {
  display: grid !important;
  gap: 8px !important;
  padding: 8px !important;
  border: 1px solid rgba(34, 39, 48, 0.14) !important;
  background: rgba(255, 255, 255, 0.94) !important;
  overflow: hidden !important;
}

.screen:has(.task-focus-detail-page) .record-comment-attachment-preview {
  display: grid !important;
  gap: 8px !important;
  width: 100% !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: inherit !important;
  text-align: left !important;
  cursor: pointer !important;
}

.screen:has(.task-focus-detail-page) .record-comment-attachment-preview img,
.screen:has(.task-focus-detail-page) .record-comment-attachment-preview video,
.screen:has(.task-focus-detail-page) .record-comment-attachment-file {
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  border: 1px solid rgba(34, 39, 48, 0.14) !important;
  background: rgba(242, 244, 248, 0.96) !important;
}

.screen:has(.task-focus-detail-page) .record-comment-attachment-file {
  display: grid !important;
  place-items: center !important;
  color: rgba(22, 27, 34, 0.54) !important;
}

.screen:has(.task-focus-detail-page) .record-comment-attachment-meta {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  color: rgba(22, 27, 34, 0.72) !important;
  font-size: 12px !important;
  font-weight: 760 !important;
}

.screen:has(.task-focus-detail-page) .record-comment-attachment-meta button {
  min-height: 24px !important;
  padding: 0 8px !important;
  border: 1px solid rgba(34, 39, 48, 0.12) !important;
  background: rgba(255, 255, 255, 0.86) !important;
  color: rgba(22, 27, 34, 0.78) !important;
  font-size: 11px !important;
  font-weight: 760 !important;
}

/* Final mobile task form fixes: prevent iOS focus zoom and keep attachment thumbnails complete. */
html {
  -webkit-text-size-adjust: 100% !important;
  text-size-adjust: 100% !important;
}

.screen:has(.task-add-page) input:not([type="file"]):not([type="hidden"]),
.screen:has(.task-add-page) textarea,
.screen:has(.task-add-page) select,
.screen:has(.task-focus-detail-page) input:not([type="file"]):not([type="hidden"]),
.screen:has(.task-focus-detail-page) textarea,
.screen:has(.task-focus-detail-page) select {
  font-size: 16px !important;
}

.screen:has(.task-add-page) .task-detail-hero-card .task-detail-field input,
.screen:has(.task-focus-detail-page) .task-detail-hero-card .task-detail-field input {
  font-size: clamp(25px, 6vw, 34px) !important;
}

.screen:has(.task-add-page) .record-comment-attachments,
.screen:has(.task-focus-detail-page) .record-comment-attachments,
.screen:has(.task-focus-detail-page) .record-comment-attachment-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: visible !important;
}

.screen:has(.task-add-page) .record-comment-attachment,
.screen:has(.task-focus-detail-page) .record-comment-attachment {
  min-width: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.screen:has(.task-add-page) .record-comment-attachment-preview,
.screen:has(.task-focus-detail-page) .record-comment-attachment-preview {
  min-width: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.screen:has(.task-add-page) .record-comment-attachment-preview img,
.screen:has(.task-add-page) .record-comment-attachment-preview video,
.screen:has(.task-add-page) .record-comment-attachment-file,
.screen:has(.task-focus-detail-page) .record-comment-attachment-preview img,
.screen:has(.task-focus-detail-page) .record-comment-attachment-preview video,
.screen:has(.task-focus-detail-page) .record-comment-attachment-file {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: contain !important;
  box-sizing: border-box !important;
  background: rgba(242, 244, 248, 0.96) !important;
}

.screen:has(.task-add-page) .record-comment-attachment-meta,
.screen:has(.task-focus-detail-page) .record-comment-attachment-meta {
  min-width: 0 !important;
}

.screen:has(.task-add-page) .record-comment-attachment-meta span,
.screen:has(.task-focus-detail-page) .record-comment-attachment-meta span {
  min-width: 0 !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
}

/* Final mobile field sheet fit: keep top field pickers fully inside the phone viewport. */
html body #app [data-task-field-sheet] {
  position: fixed !important;
  inset: 0 !important;
  z-index: 80 !important;
  pointer-events: none !important;
}

html body #app [data-task-field-sheet] .task-field-fullsheet-backdrop {
  position: fixed !important;
  inset: 0 !important;
  pointer-events: auto !important;
}

html body #app [data-task-field-sheet] .task-field-fullsheet {
  position: fixed !important;
  top: auto !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  max-width: 760px !important;
  max-height: min(var(--task-field-sheet-max-height, 560px), calc(100dvh - 8px)) !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 auto !important;
  padding: 10px 16px calc(env(safe-area-inset-bottom, 0px) + 14px) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  overflow: hidden !important;
  pointer-events: auto !important;
  box-sizing: border-box !important;
}

@supports (height: 100svh) {
  html body #app [data-task-field-sheet] .task-field-fullsheet {
    max-height: min(var(--task-field-sheet-max-height, 560px), calc(100svh - 8px)) !important;
  }
}

html body #app [data-task-field-sheet] .task-field-fullsheet-chrome,
html body #app [data-task-field-sheet] .task-field-fullsheet-search,
html body #app [data-task-field-sheet] .task-field-fullsheet-footer {
  flex: 0 0 auto !important;
}

html body #app [data-task-field-sheet] .task-field-fullsheet-list {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  max-height: min(
    var(--task-field-list-natural-height, 254px),
    calc(var(--task-field-sheet-max-height, 560px) - 112px - var(--task-field-footer-space, 0px))
  ) !important;
  padding: 0 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
}

html body #app [data-task-field-sheet] .task-field-fullsheet:has(.task-field-fullsheet-footer) .task-field-fullsheet-list {
  padding-bottom: 0 !important;
}
