:root {
    --hosh-blue: #2563eb;
    --hosh-blue-soft: #dbeafe;
    --hosh-green: #16a34a;
    --hosh-green-soft: #dcfce7;
    --hosh-amber: #d97706;
    --hosh-amber-soft: #fef3c7;
    --hosh-red: #dc2626;
    --hosh-red-soft: #fee2e2;
    --ink: #111827;
    --muted: #6b7280;
    --line: #e5e7eb;
    --surface: #ffffff;
    --app-bg: #f6f7fb;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--app-bg);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
    text-decoration: none;
}

.app-shell {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    min-height: 100vh;
}

.sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 24px 18px;
    background: #0f172a;
    color: #fff;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    margin-bottom: 28px;
}

.brand:hover {
    color: #fff;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--hosh-blue);
    font-weight: 800;
}

.brand-mark-logo {
    background: transparent;
    box-shadow: none;
}

.brand-mark-logo img {
    display: block;
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.brand small {
    display: block;
    color: #cbd5e1;
    font-size: .78rem;
}

.side-nav {
    display: grid;
    gap: 6px;
}

.side-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding: 0 12px;
    border-radius: 8px;
    color: #dbeafe;
    font-weight: 600;
}

.side-nav-link:hover,
.side-nav-link.active {
    color: #fff;
    background: rgba(37, 99, 235, .28);
}

.side-nav-link.disabled {
    color: #64748b;
}

.main-pane {
    min-width: 0;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 22px 32px;
    background: rgba(255, 255, 255, .86);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(10px);
}

.topbar h1 {
    margin: 0;
    font-size: 1.55rem;
    font-weight: 760;
}

.eyebrow {
    margin: 0;
    color: var(--hosh-blue);
    font-size: .76rem;
    font-weight: 760;
    letter-spacing: 0;
    text-transform: uppercase;
}

.content-wrap {
    padding: 28px 32px 42px;
}

.app-shell:has(.focus-experience) .sidebar {
    background: linear-gradient(180deg, #20283a 0%, #182033 100%);
    opacity: .68;
    filter: saturate(.78) contrast(.94);
    transition: opacity .18s ease, background-color .18s ease, filter .18s ease;
}

.app-shell:has(.focus-experience) .sidebar:hover,
.app-shell:has(.focus-experience) .sidebar:focus-within {
    opacity: .95;
}

.app-shell:has(.focus-experience) .side-nav-link {
    color: rgba(226, 232, 240, .7);
}

.app-shell:has(.focus-experience) .side-nav-link.active {
    background: rgba(96, 165, 250, .14);
}

.app-shell:has(.focus-experience) .topbar {
    padding-top: 14px;
    padding-bottom: 14px;
    background: rgba(255, 255, 255, .82);
    color: #475569;
    box-shadow: 0 1px 0 rgba(226, 232, 240, .72);
    backdrop-filter: blur(8px);
}

.app-shell:has(.focus-experience) .content-wrap {
    background: linear-gradient(180deg, #f8fbff 0%, #f8fafc 48%, #f1f5f9 100%);
}

.app-shell:has(.focus-experience) .topbar h1 {
    font-size: 1.12rem;
    color: #475569;
}

.app-shell:has(.focus-experience) .topbar .eyebrow {
    color: #94a3b8;
    font-size: .68rem;
}

.page-section {
    max-width: 100%;
    min-width: 0;
    margin-bottom: 22px;
    padding: 22px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.section-header.compact {
    margin-bottom: 14px;
}

.section-subtitle {
    margin: 4px 0 0;
    color: var(--muted);
    font-weight: 650;
}

.lane-label {
    display: inline-flex;
    align-items: center;
    margin-right: 6px;
    color: #475569;
    font-size: .78rem;
    font-weight: 760;
    white-space: nowrap;
}

.execution-plan-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.execution-plan-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
}

.execution-plan-item.primary-focus {
    border-color: rgba(37, 99, 235, .35);
    background: #f8fbff;
    box-shadow: 0 12px 30px rgba(37, 99, 235, .08);
}

.execution-plan-copy {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
}

.execution-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    color: #1d4ed8;
    background: #eaf1ff;
    font-size: .86rem;
    font-weight: 800;
}

.execution-plan-item h3 {
    margin: 0 0 4px;
    font-size: .98rem;
    font-weight: 760;
}

.execution-plan-item h3 a {
    color: var(--ink);
}

.execution-plan-item p {
    margin: 0;
    color: var(--muted);
    font-size: .88rem;
    font-weight: 650;
}

.section-header h2,
.command-header h2 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 760;
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.metric-card {
    min-height: 116px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.metric-card span,
.project-row p,
.task-row p,
.followup-row p,
.timeline small,
.command-header p {
    color: var(--muted);
}

.metric-card strong {
    display: block;
    margin-top: 10px;
    font-size: 2rem;
    line-height: 1;
}

.metric-card.focus {
    border-color: var(--hosh-blue);
    background: var(--hosh-blue-soft);
}

.metric-card.good {
    border-color: var(--hosh-green);
    background: var(--hosh-green-soft);
}

.metric-card.warning {
    border-color: var(--hosh-amber);
    background: var(--hosh-amber-soft);
}

.metric-card.risk {
    border-color: var(--hosh-red);
    background: var(--hosh-red-soft);
}

.page-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(320px, .8fr);
    gap: 22px;
    max-width: 100%;
    min-width: 0;
}

.today-command-grid {
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, .8fr);
    gap: 16px;
}

.today-command-page {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    min-width: 0;
}

.today-command-page .page-section {
    margin-bottom: 16px;
}

.today-mode-calmday {
    background: linear-gradient(180deg, rgba(248, 250, 252, .55), transparent 360px);
    border-radius: 18px;
    padding-top: 6px;
}

.today-mode-calmday .shock-insight,
.today-mode-calmday .one-mission-hero {
    box-shadow: 0 10px 28px rgba(15, 23, 42, .05);
}

.today-mode-calmday .shock-risk strong {
    color: #64748b;
}

.today-mode-calmday .focus-muted,
.today-mode-calmday .page-section {
    border-color: rgba(226, 232, 240, .8);
}

.today-mode-executionday .shock-action strong,
.today-mode-executionday .primary-cta {
    color: #fff;
    background: #2563eb;
}

.today-mode-executionday .ready-work-section,
.today-mode-executionday .execution-plan-section {
    border-color: rgba(37, 99, 235, .22);
}

.today-mode-recoveryday .shock-insight {
    border-left-color: #f59e0b;
    background: linear-gradient(180deg, #fffbeb 0%, #ffffff 72%);
}

.today-mode-recoveryday .shock-risk strong,
.today-mode-recoveryday .stat.risk strong {
    color: #b45309;
}

.today-mode-criticalday .one-mission-hero,
.today-mode-criticalday .shock-insight {
    border-color: rgba(239, 68, 68, .2);
    box-shadow: 0 18px 52px rgba(127, 29, 29, .1);
}

.today-mode-criticalday .shock-copy h2 {
    font-size: clamp(2.25rem, 4.4vw, 3.7rem);
}

.today-mode-criticalday .focus-muted {
    opacity: .74;
}

.today-mode-criticalday .execution-plan-section,
.today-mode-criticalday .energy-section {
    background: rgba(255, 255, 255, .78);
}

.today-mode-overloadedday .shock-insight {
    border-left-color: #f59e0b;
    background:
        radial-gradient(circle at 0% 0%, rgba(245, 158, 11, .13), transparent 30%),
        linear-gradient(180deg, #fff7ed 0%, #ffffff 72%);
}

.today-mode-overloadedday .shock-action strong {
    color: #b45309;
}

.today-mode-overloadedday .focus-muted {
    opacity: .82;
}

.one-mission-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 16px;
    padding: 24px;
    border: 0;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .05);
    animation: focusEnter .18s ease;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.one-mission-copy {
    min-width: 0;
}

.one-mission-copy h2 {
    margin: 6px 0 12px;
    font-size: 1.38rem;
    line-height: 1.25;
    font-weight: 600;
    letter-spacing: 0;
}

.focus-experience .one-mission-copy h2 {
    margin: 8px 0 8px;
    font-size: clamp(1.75rem, 3vw, 2.45rem);
    line-height: 1.1;
    font-weight: 780;
}

.one-mission-copy h2 a {
    color: var(--ink);
}

.mission-reason-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    max-width: 860px;
}

.mission-insights {
    display: grid;
    gap: 6px;
    margin: 0 0 16px;
    padding-left: 18px;
    color: #374151;
    font-size: .92rem;
    font-weight: 650;
}

.mission-insights li {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mission-reason-grid strong {
    display: block;
    color: #374151;
    font-size: .92rem;
    font-weight: 650;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.mission-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
    flex: 0 0 auto;
}

.mission-primary {
    min-height: 36px;
    min-width: 128px;
    padding: 0 14px;
    border-radius: 8px;
    font-size: .86rem;
    font-weight: 760;
}

.focus-experience .mission-primary {
    min-height: 40px;
    min-width: 158px;
    padding: 0 18px;
    font-size: .9rem;
}

.primary-cta {
    border-color: #2563eb;
    color: #fff;
    background: #2563eb;
    font-weight: 600;
    letter-spacing: .2px;
    box-shadow: 0 4px 14px rgba(37, 99, 235, .25);
    transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease;
}

.primary-cta:hover {
    border-color: #1d4ed8;
    color: #fff;
    background: #1d4ed8;
    box-shadow: 0 7px 18px rgba(37, 99, 235, .28);
    transform: translateY(-1px);
}

.mission-secondary {
    min-height: 34px;
    padding: 6px 12px;
    border-radius: 8px;
}

.focus-experience .mission-secondary {
    min-height: 36px;
    padding: 7px 12px;
    border-color: transparent;
    background: transparent;
}

.exit-focus {
    opacity: .6;
    transition: opacity .16s ease;
}

.exit-focus:hover {
    opacity: 1;
}

.execution-mode-hero {
    min-height: 300px;
    align-items: center;
    padding: 32px;
}

.execution-mode-hero .one-mission-copy h2 {
    font-size: 1.5rem;
}

.focus-session-card {
    max-width: 920px;
    margin: 0 auto 20px;
    padding: 28px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(15, 23, 42, .08);
}

.focus-session-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.focus-session-header h2 {
    margin: 4px 0 8px;
    font-size: 1.7rem;
    font-weight: 760;
}

.focus-timer {
    min-width: 150px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #f8fbff;
    text-align: center;
}

.focus-experience .focus-timer {
    width: min(240px, 100%);
    margin: 12px auto 0;
    padding: 12px 18px;
    border: 1px solid #dbeafe;
    background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
    box-shadow: 0 14px 34px rgba(37, 99, 235, .12);
    animation: timerBreath 4s ease-in-out infinite;
}

.focus-timer span {
    display: block;
    color: #2563eb;
    font-size: 2rem;
    font-weight: 780;
    letter-spacing: 0;
    line-height: 1;
}

.focus-experience .focus-timer span {
    font-size: clamp(2.05rem, 4.35vw, 2.8rem);
    letter-spacing: .02em;
}

.focus-timer small {
    display: block;
    margin-top: 4px;
    color: #64748b;
    font-size: .74rem;
    font-weight: 650;
}

.focus-session-actions,
.focus-blocked-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.focus-session-actions {
    margin-bottom: 18px;
}

.focus-blocked-form {
    max-width: 620px;
}

.active-focus-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 22px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 14px 40px rgba(15, 23, 42, .08);
}

.active-focus-card h2 {
    margin: 4px 0 6px;
    font-size: 1.22rem;
    font-weight: 760;
}

.active-focus-card h2 a {
    color: var(--ink);
}

.active-focus-timer {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
}

.active-focus-timer span {
    color: #2563eb;
    font-size: 1.45rem;
    font-weight: 780;
}

.active-focus-running .focus-muted {
    opacity: .46;
}

.has-one-mission .focus-muted {
    opacity: 1;
    filter: none;
    pointer-events: auto;
}

.has-one-mission > .command-header {
    opacity: 1;
}

.today-command-page.active-focus-running .focus-muted {
    opacity: .46;
}

.today-command-page.today-mode-overloadedday .one-mission-hero,
.today-command-page.today-mode-overloadedday .shock-insight {
    position: relative;
    z-index: 2;
    border-color: rgba(245, 158, 11, .28);
    background:
        radial-gradient(circle at 0 0, rgba(245, 158, 11, .1), transparent 34%),
        #ffffff;
    box-shadow: 0 20px 54px rgba(120, 53, 15, .12);
}

.today-command-page.today-mode-overloadedday .decision-queue .page-section,
.today-command-page.today-mode-overloadedday .execution-stream-section {
    border-color: rgba(245, 158, 11, .2);
    background: rgba(255, 255, 255, .94);
}

.today-command-page.today-mode-overloadedday .ready-work-section,
.today-command-page.today-mode-overloadedday .energy-section,
.today-command-page.today-mode-overloadedday .hidden-risk-section {
    opacity: .62;
    border-color: rgba(226, 232, 240, .72);
    background: rgba(248, 250, 252, .62);
    box-shadow: none;
}

.today-command-page.today-mode-overloadedday .ready-work-section .pill,
.today-command-page.today-mode-overloadedday .energy-section .pill {
    opacity: .78;
}

.today-command-page.today-mode-criticalday .one-mission-hero,
.today-command-page.today-mode-criticalday .shock-insight {
    position: relative;
    z-index: 3;
    border-color: rgba(220, 38, 38, .26);
    box-shadow: 0 22px 60px rgba(127, 29, 29, .14);
}

.today-command-page.today-mode-criticalday .shock-copy h2 {
    font-size: clamp(2.4rem, 4.8vw, 3.9rem);
}

.today-command-page.today-mode-criticalday .focus-muted {
    opacity: .52;
    filter: saturate(.78);
}

.today-command-page.today-mode-criticalday .decision-queue,
.today-command-page.today-mode-criticalday .execution-plan-section {
    opacity: .72;
}

.today-command-page.today-mode-criticalday .followups,
.today-command-page.today-mode-criticalday .ready-work-section,
.today-command-page.today-mode-criticalday .energy-section {
    opacity: .42;
}

.today-command-page.today-mode-criticalday .followups .followup-row,
.today-command-page.today-mode-criticalday .ready-work-section .task-row {
    padding-top: 7px;
    padding-bottom: 7px;
}

.today-command-page.today-mode-calmday {
    padding: 10px;
}

.today-command-page.today-mode-calmday .page-section {
    margin-bottom: 20px;
}

.today-command-page.today-mode-calmday .shock-insight,
.today-command-page.today-mode-calmday .ready-work-section,
.today-command-page.today-mode-calmday .one-mission-hero {
    border-color: rgba(203, 213, 225, .62);
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 12px 32px rgba(15, 23, 42, .045);
}

.today-command-page.today-mode-calmday .ready-work-section {
    padding: 26px;
}

.today-command-page.today-mode-calmday .shock-risk strong,
.today-command-page.today-mode-calmday .stat.risk,
.today-command-page.today-mode-calmday .pill.risk {
    color: #64748b;
    background: #f8fafc;
}

.today-command-page.today-mode-executionday .ready-work-section {
    border-color: rgba(37, 99, 235, .24);
    background:
        linear-gradient(180deg, rgba(239, 246, 255, .72), rgba(255, 255, 255, .94));
    box-shadow: 0 14px 38px rgba(37, 99, 235, .075);
}

.today-command-page.today-mode-executionday .ready-work-section .task-row {
    border-bottom-color: rgba(147, 197, 253, .45);
}

.today-command-page.today-mode-executionday .decision-queue {
    opacity: .82;
}

.today-command-page.today-mode-executionday .shock-buttons .btn-outline-primary,
.today-command-page.today-mode-executionday .ready-work-section .btn-outline-primary {
    border-color: rgba(37, 99, 235, .42);
    background: rgba(239, 246, 255, .72);
}

.today-command-page.today-mode-recoveryday .shock-insight,
.today-command-page.today-mode-recoveryday .followups,
.today-command-page.today-mode-recoveryday .execution-plan-section {
    border-color: rgba(245, 158, 11, .24);
    background:
        linear-gradient(180deg, rgba(255, 251, 235, .76), rgba(255, 255, 255, .94));
}

.today-command-page.today-mode-recoveryday .shock-risk strong {
    color: #92400e;
}

.today-command-page.today-mode-recoveryday .ready-work-section,
.today-command-page.today-mode-recoveryday .energy-section {
    opacity: .66;
    background: rgba(248, 250, 252, .7);
    box-shadow: none;
}

.today-command-page.today-mode-recoveryday .risk-row,
.today-command-page.today-mode-recoveryday .warning-row {
    background: rgba(255, 251, 235, .34);
}

.focus-experience {
    display: flex;
    flex-direction: column;
    width: min(100%, 1180px);
    min-height: calc(100vh - 118px);
    padding: clamp(10px, 1.4vw, 18px) clamp(16px, 3vw, 40px) 74px;
    border-radius: 24px;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 48%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
    isolation: isolate;
    animation: focusSurfaceIn .2s ease-out;
}

.focus-experience .focus-command-header {
    margin: 0 auto 6px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    text-align: center;
    opacity: .74;
}

.focus-experience .focus-command-header .capacity-suggestion,
.focus-experience .focus-command-header .workload-line,
.focus-experience .focus-command-header .strategy-line {
    display: none;
}

.focus-experience .focus-command-header h2 {
    margin-bottom: 2px;
    font-size: .86rem;
    font-weight: 780;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.focus-experience .focus-command-header p:not(.eyebrow) {
    margin: 0;
    color: #64748b;
    font-size: .82rem;
    font-weight: 650;
}

.focus-experience .one-mission-hero {
    flex-direction: column;
    justify-content: center;
    width: 100%;
    max-width: 940px;
    min-height: min(395px, calc(100vh - 205px));
    margin: auto;
    padding: clamp(20px, 2.4vw, 30px);
    border: 1px solid rgba(219, 234, 254, .86);
    border-radius: 26px;
    background:
        radial-gradient(circle at 50% 0, rgba(37, 99, 235, .035), transparent 30%),
        linear-gradient(135deg, rgba(255, 255, 255, .98), #ffffff 42%, #ffffff 100%);
    box-shadow: 0 34px 96px rgba(15, 23, 42, .16), 0 0 0 12px rgba(255, 255, 255, .38);
    transform: none;
    z-index: 2;
    animation: focusCardIn .32s ease-out;
}

.focus-experience .one-mission-copy {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.focus-experience .one-mission-copy h2 {
    margin: 6px 0 10px;
    font-size: clamp(1.95rem, 3.85vw, 3rem);
    line-height: 1.06;
}

.focus-experience .mission-actions {
    align-self: center;
    justify-content: center;
    gap: 14px;
}

.focus-experience .focus-sticky-actions {
    position: fixed;
    right: 0;
    bottom: 16px;
    left: 280px;
    z-index: 50;
    width: fit-content;
    max-width: calc(100vw - 320px);
    margin: 0 auto;
    padding: 7px;
    border: 1px solid rgba(226, 232, 240, .86);
    border-radius: 16px;
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 14px 36px rgba(15, 23, 42, .12);
    backdrop-filter: blur(14px);
}

.focus-progress {
    margin-bottom: 6px;
    color: #64748b;
    font-size: .75rem;
    font-weight: 650;
}

.focus-progress-bar {
    width: min(320px, 100%);
    height: 5px;
    margin: 0 auto 10px;
    overflow: hidden;
    border-radius: 999px;
    background: #eaf1ff;
}

.focus-progress-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #93c5fd, #2563eb);
    animation: progressPulse 3.4s ease-in-out infinite;
}

.focus-label {
    color: #64748b;
    margin-bottom: 5px;
}

.focus-guidance {
    margin: 0 0 8px;
    color: #64748b;
    font-size: .88rem;
    font-weight: 650;
}

.focus-pressure {
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 8px;
    padding: 6px 12px;
    border: 1px solid rgba(191, 219, 254, .8);
    border-radius: 999px;
    color: #1d4ed8;
    background: rgba(239, 246, 255, .74);
    font-size: .87rem;
    font-weight: 720;
}

.focus-reason-panel {
    max-width: 720px;
    margin: 11px auto 0;
    padding: 10px;
    border: 1px solid rgba(229, 238, 252, .88);
    border-radius: 14px;
    background: rgba(248, 251, 255, .72);
    text-align: left;
}

.focus-reason-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 6px;
}

.focus-reason-header h3 {
    margin: 0;
    font-size: .92rem;
    font-weight: 760;
}

.focus-reason-header span {
    color: #64748b;
    font-size: .7rem;
    font-weight: 650;
    text-align: right;
    opacity: .74;
}

.focus-reason-panel ul {
    display: grid;
    gap: 4px;
    margin: 0 0 8px;
    padding-left: 18px;
    color: #374151;
    font-size: .88rem;
    font-weight: 650;
}

.focus-blocker-line {
    display: grid;
    gap: 3px;
    margin: 0 0 8px;
    padding: 8px 10px;
    border-radius: 10px;
    color: #991b1b;
    background: rgba(254, 242, 242, .82);
}

.focus-blocker-line span {
    font-size: .7rem;
    font-weight: 780;
    text-transform: uppercase;
}

.focus-blocker-line strong {
    color: #7f1d1d;
    font-size: .9rem;
    font-weight: 720;
    line-height: 1.35;
}

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

.focus-signal-grid div {
    min-width: 0;
    padding: 8px 9px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .74);
}

.focus-signal-grid span {
    display: block;
    margin-bottom: 3px;
    color: #64748b;
    font-size: .7rem;
    font-weight: 780;
    text-transform: uppercase;
}

.focus-signal-grid strong {
    display: block;
    color: var(--ink);
    font-size: .82rem;
    font-weight: 720;
    line-height: 1.28;
    overflow-wrap: anywhere;
}

.ignore-line {
    margin: 0 0 10px;
    color: #64748b;
    font-size: .9rem;
    font-weight: 650;
}

.next-step-line {
    display: grid;
    gap: 2px;
}

.next-step-line span {
    color: #64748b;
    font-size: .74rem;
    font-weight: 760;
    text-transform: uppercase;
}

.next-step-line strong {
    color: var(--ink);
    font-size: .95rem;
    font-weight: 760;
}

.focus-complete-state {
    justify-content: flex-start;
}

.focus-done-icon {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    color: #166534;
    background: var(--hosh-green-soft);
    font-size: 1.5rem;
}

.fade-out {
    opacity: 0;
    transform: translateY(6px);
    transition: all .25s ease;
}

.focus-experience .one-mission.fade-out {
    opacity: 0;
    transform: translateY(6px);
}

@keyframes focusEnter {
    from {
        opacity: 0;
        transform: scale(.97) translateY(12px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes focusSurfaceIn {
    from {
        opacity: .92;
    }

    to {
        opacity: 1;
    }
}

@keyframes focusCardIn {
    from {
        opacity: 0;
        transform: translateY(10px) scale(.985);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes timerBreath {
    0%,
    100% {
        box-shadow: 0 14px 34px rgba(37, 99, 235, .12);
        border-color: #dbeafe;
    }

    50% {
        box-shadow: 0 16px 38px rgba(37, 99, 235, .18);
        border-color: rgba(147, 197, 253, .92);
    }
}

@keyframes progressPulse {
    0%,
    100% {
        opacity: .86;
    }

    50% {
        opacity: 1;
    }
}

@media (max-height: 860px) and (min-width: 901px) {
    .app-shell:has(.focus-experience) .topbar {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .app-shell:has(.focus-experience) .content-wrap {
        padding-top: 18px;
        padding-bottom: 26px;
    }

    .focus-experience {
        min-height: calc(100vh - 96px);
        padding-top: 8px;
        padding-bottom: 76px;
        border-radius: 22px;
    }

    .focus-experience .focus-command-header {
        margin-bottom: 4px;
    }

    .focus-experience .focus-command-header .eyebrow {
        margin-bottom: 2px;
        font-size: .62rem;
    }

    .focus-experience .focus-command-header h2 {
        font-size: .78rem;
    }

    .focus-experience .focus-command-header p:not(.eyebrow) {
        font-size: .76rem;
    }

    .focus-experience .one-mission-hero {
        max-width: 920px;
        min-height: auto;
        padding: 18px 24px;
        border-radius: 22px;
    }

    .focus-experience .one-mission-copy h2 {
        margin: 5px 0 8px;
        font-size: clamp(1.75rem, 3.35vw, 2.55rem);
    }

    .focus-experience .focus-timer {
        width: min(220px, 100%);
        margin-top: 9px;
        padding: 10px 16px;
    }

    .focus-experience .focus-timer span {
        font-size: clamp(1.95rem, 3.85vw, 2.45rem);
    }

    .focus-reason-panel {
        max-width: 690px;
        margin-top: 8px;
    }

    .focus-signal-grid strong {
        line-height: 1.22;
    }

    .focus-experience .focus-sticky-actions {
        bottom: 12px;
    }
}

.today-command-page .section-header h2,
.today-command-page .command-header h2 {
    font-size: 1.12rem;
}

.today-command-page .section-header.compact {
    margin-bottom: 10px;
}

.today-command-grid > .page-section:nth-child(2) {
    width: 100%;
    max-width: 360px;
    justify-self: end;
}

.today-command-grid > .page-section:first-child {
    min-width: 0;
}

.list-stack,
.task-stack,
.timeline {
    display: grid;
    gap: 12px;
    min-width: 0;
}

.project-row,
.task-row,
.followup-row {
    max-width: 100%;
    min-width: 0;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

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

.team-member-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-width: 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.team-member-main {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.team-member-main h3 {
    margin: 0 0 2px;
    font-size: 1rem;
    font-weight: 760;
}

.team-member-main p {
    margin: 0;
    color: var(--muted);
}

.team-avatar {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #1d4ed8;
    background: var(--hosh-blue-soft);
    font-weight: 800;
}

.team-pulse-metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.team-pulse-list {
    display: grid;
    gap: 12px;
}

.team-pulse-row {
    display: grid;
    grid-template-columns: minmax(220px, .95fr) minmax(120px, .42fr) minmax(260px, 1.1fr) minmax(280px, 1fr);
    gap: 16px;
    align-items: center;
    min-width: 0;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.team-pulse-member,
.team-pulse-workload,
.team-pulse-counts,
.team-pulse-top-task {
    min-width: 0;
}

.team-pulse-member {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.team-pulse-workload strong,
.team-pulse-top-task h3 {
    display: block;
    margin: 0;
    font-size: .98rem;
    font-weight: 760;
    overflow-wrap: anywhere;
}

.team-pulse-top-task h3 a {
    color: var(--ink);
}

.team-pulse-top-task p,
.team-pulse-top-task small {
    display: block;
    margin: 3px 0 0;
    color: var(--muted);
    font-weight: 650;
    overflow-wrap: anywhere;
}

.team-pulse-counts {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.project-row,
.task-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 18px;
}

.risk-row {
    border-color: var(--hosh-red);
    background: linear-gradient(90deg, var(--hosh-red-soft), #fff 42%);
}

.warning-row {
    border-color: var(--hosh-amber);
    background: linear-gradient(90deg, var(--hosh-amber-soft), #fff 42%);
}

.focus-row {
    border-color: var(--hosh-blue);
    background: linear-gradient(90deg, var(--hosh-blue-soft), #fff 42%);
}

.project-row h3,
.task-row h3,
.followup-row h3 {
    margin: 0 0 4px;
    font-size: 1rem;
    font-weight: 740;
}

.project-row p,
.task-row p,
.followup-row p {
    margin: 0;
}

.status-cluster,
.task-meta,
.command-stats,
.task-title-line {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 100%;
    min-width: 0;
}

.task-main {
    flex: 1 1 420px;
    min-width: 0;
    max-width: 100%;
}

.task-main > *,
.followup-row > *,
.project-row > * {
    min-width: 0;
}

.task-title-line h3,
.followup-row h3,
.project-row h3,
.task-row p,
.followup-row p,
.project-row p {
    max-width: 100%;
    overflow-wrap: anywhere;
}

.task-meta {
    flex: 1 1 220px;
    justify-content: flex-end;
    align-content: flex-start;
    min-width: 0;
    max-width: 100%;
}

.pill,
.stat {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 760;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
}

.pill.focus,
.stat.focus {
    color: #1d4ed8;
    background: var(--hosh-blue-soft);
}

.pill.good,
.stat.good {
    color: #166534;
    background: var(--hosh-green-soft);
}

.pill.neutral {
    color: #374151;
    background: #f3f4f6;
}

.pill.warning,
.stat.warning {
    color: #92400e;
    background: var(--hosh-amber-soft);
}

.pill.risk,
.stat.risk {
    color: #991b1b;
    background: var(--hosh-red-soft);
}

.command-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.command-stats .stat {
    min-height: 44px;
    border-radius: 8px;
}

.decision-note,
.risk-note,
.done-preview {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    font-weight: 650;
    max-width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
}

.decision-note {
    color: #1d4ed8;
    background: var(--hosh-blue-soft);
}

.risk-note {
    color: #991b1b;
    background: var(--hosh-red-soft);
}

.done-preview {
    color: #166534;
    background: var(--hosh-green-soft);
}

.workload-line {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.capacity-suggestion,
.strategy-line {
    margin-top: 6px;
    font-weight: 700;
}

.hidden-risk-section {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}

.intelligence-strip {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    margin-top: 10px;
    padding: 8px 0 0;
    border-top: 1px solid #eef2f7;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 8px;
    background: transparent;
    max-width: 100%;
    min-width: 0;
}

.intelligence-strip .detail-label {
    margin-bottom: 2px;
}

.intelligence-strip .pill {
    width: auto;
    min-height: 24px;
    justify-content: center;
    border-radius: 8px;
    white-space: nowrap;
}

.intelligence-strip strong {
    display: block;
    overflow-wrap: anywhere;
    color: #374151;
    font-size: .86rem;
    font-weight: 650;
}

.intelligence-strip > div {
    min-width: 0;
}

.intelligence-strip .suggested-action-cell {
    display: none;
}

.insight-panel {
    border-color: #dbeafe;
    border-left: 3px solid var(--hosh-blue);
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    box-shadow: none;
}

.hosh-insight {
    padding: 16px;
}

.shock-insight {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(220px, .55fr);
    gap: 14px 24px;
    align-items: center;
    padding: 22px 24px;
}

.shock-copy {
    min-width: 0;
}

.shock-control {
    max-width: 680px;
    margin: 4px 0 8px;
    color: #334155;
    font-size: 1rem;
    font-weight: 720;
    line-height: 1.35;
}

.shock-copy h2 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 820;
    line-height: 1.02;
    overflow-wrap: anywhere;
}

.shock-context,
.shock-activity,
.shock-guidance,
.shock-behavior {
    margin: 8px 0 0;
    color: #64748b;
    font-size: .84rem;
    font-weight: 650;
    line-height: 1.25;
}

.shock-guidance {
    margin-top: 4px;
    color: #334155;
    font-size: .92rem;
}

.shock-behavior {
    margin-top: 4px;
    color: #64748b;
}

.shock-activity {
    margin-top: 4px;
    color: #2563eb;
}

.shock-priority,
.shock-risk,
.shock-action {
    min-width: 0;
}

.shock-priority span,
.shock-risk span,
.shock-action span {
    display: block;
    margin-bottom: 3px;
    color: #64748b;
    font-size: .72rem;
    font-weight: 780;
    text-transform: uppercase;
}

.shock-priority strong,
.shock-risk strong,
.shock-action strong {
    display: block;
    color: #1f2937;
    font-size: .95rem;
    font-weight: 760;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.shock-action strong {
    color: #1d4ed8;
    font-size: 1.1rem;
}

.shock-risk strong {
    color: #92400e;
}

.shock-buttons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
}

.shock-buttons .btn {
    min-height: 38px;
    border-radius: 8px;
    font-weight: 760;
}

.insight-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr);
    gap: 16px;
    align-items: start;
    min-width: 0;
}

.insight-list {
    display: grid;
    gap: 8px;
    margin: 0;
    padding-left: 20px;
}

.insight-list li {
    color: #374151;
    line-height: 1.35;
    font-weight: 650;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.next-action-box {
    padding: 10px 12px;
    border: 0;
    border-left: 2px solid #93c5fd;
    border-radius: 8px;
    background: rgba(219, 234, 254, .48);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}

.next-action-box strong {
    display: block;
    margin-top: 4px;
    color: #1f2937;
    font-size: .98rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.focus-brief {
    margin-bottom: 10px;
    padding: 12px 0 4px;
    border: 0;
    border-bottom: 1px solid #eef2f7;
    border-radius: 8px;
    background: transparent;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.focus-brief h3 {
    margin: 0 0 8px;
    font-size: 1.2rem;
}

.focus-brief p {
    margin: 6px 0 0;
    color: var(--ink);
}

.focus-mode-section {
    grid-column: 1 / -1;
}

.focus-task-card {
    padding: 18px 2px;
    background: #fff;
}

.focus-task-card .task-main h3 {
    font-size: 1.35rem;
}

.consequence-note {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 8px;
    padding: 7px 0 0;
    border-radius: 8px;
    color: #374151;
    background: transparent;
    font-weight: 650;
    max-width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
}

.primary-action {
    width: auto;
    max-width: 100%;
}

.primary-action .btn,
.primary-action form {
    width: auto;
}

.primary-action .btn {
    min-width: 96px;
    min-height: 34px;
    font-weight: 760;
    padding: 0 12px;
    border-radius: 8px;
    font-size: .82rem;
}

.focus-task-card .intelligence-strip,
.focus-task-card .done-preview,
.focus-task-card .consequence-note {
    font-size: 1rem;
}

.focus-task-card .quick-actions .btn,
.focus-task-card .block-inline-form .btn {
    opacity: .78;
}

.today-command-page .task-row {
    padding: 10px 0;
}

.today-command-page .followup-row {
    padding: 10px 12px;
}

.today-command-page .task-row {
    gap: 12px;
}

.today-command-page .task-title-line {
    gap: 6px;
}

.today-command-page .task-title-line h3 {
    margin-bottom: 2px;
}

.today-command-page .decision-note,
.today-command-page .risk-note,
.today-command-page .done-preview {
    margin-top: 7px;
    padding: 7px 9px;
}

.today-command-page .task-meta {
    gap: 6px;
}

.execution-stream-section {
    padding: 16px 20px;
}

.execution-stream-section .task-stack {
    gap: 0;
}

.execution-stream-section .task-row {
    border: 0;
    border-bottom: 1px solid #eef1f5;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.execution-stream-section .task-row:first-child {
    border-top: 0;
}

.execution-stream-section .task-row:last-child {
    border-bottom: 0;
}

.execution-stream-section .risk-row,
.execution-stream-section .warning-row,
.execution-stream-section .focus-row {
    background: transparent;
}

.execution-stream-section .risk-row {
    box-shadow: inset 2px 0 0 rgba(220, 38, 38, .22);
    padding-left: 12px;
}

.execution-stream-section .warning-row {
    box-shadow: inset 2px 0 0 rgba(217, 119, 6, .2);
    padding-left: 12px;
}

.execution-stream-section .focus-row {
    box-shadow: inset 2px 0 0 rgba(37, 99, 235, .18);
    padding-left: 12px;
}

.execution-stream-section .task-title-line h3 {
    font-size: .96rem;
}

.execution-stream-section .task-main > p {
    font-size: .86rem;
}

.execution-stream-section .decision-note,
.execution-stream-section .risk-note,
.execution-stream-section .done-preview {
    background: transparent;
    border-left: 2px solid currentColor;
    border-radius: 0;
    padding: 2px 0 2px 8px;
    font-weight: 620;
}

.execution-stream-section .done-preview {
    color: #15803d;
}

.execution-stream-section .decision-note,
.execution-stream-section .done-preview,
.execution-stream-section .consequence-note {
    display: none;
}

.execution-stream-section .task-meta {
    flex: 0 1 132px;
}

.execution-stream-section .quick-actions .btn,
.execution-stream-section .block-inline-form .btn {
    min-height: 30px;
    padding: 0 8px;
}

.execution-stream-section .block-inline-form .form-control {
    min-height: 30px;
}

.execution-stream-section .pill {
    min-height: 24px;
    padding: 0 8px;
    font-size: .72rem;
}

.timeline-item {
    display: flex;
    gap: 10px;
}

.timeline-dot {
    width: 10px;
    height: 10px;
    margin-top: 7px;
    border-radius: 50%;
    background: var(--hosh-blue);
}

.timeline-item strong,
.timeline-item small {
    display: block;
}

.user-menu,
.auth-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-avatar {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: #fff;
    background: var(--hosh-blue);
    font-weight: 800;
}

.user-name {
    font-weight: 700;
}

.empty-state {
    display: grid;
    justify-items: start;
    gap: 8px;
    padding: 32px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.empty-state i {
    font-size: 2rem;
}

.auth-panel {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(320px, 480px);
    gap: 28px;
    align-items: start;
    max-width: 980px;
    padding: 28px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.auth-panel h2 {
    margin: 6px 0 10px;
    font-weight: 780;
}

.auth-panel p {
    color: var(--muted);
}

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

.auth-form .btn {
    justify-content: center;
}

.app-shell:has(.auth-login-page),
.app-shell:has(.auth-register-page) {
    grid-template-columns: 1fr;
    background:
        radial-gradient(circle at 18% 18%, rgba(37, 99, 235, .045), transparent 28%),
        linear-gradient(180deg, #f8fafc 0%, #ffffff 52%, #f6f8fb 100%);
}

.app-shell:has(.auth-login-page) .sidebar,
.app-shell:has(.auth-login-page) .topbar,
.app-shell:has(.auth-register-page) .sidebar,
.app-shell:has(.auth-register-page) .topbar {
    display: none;
}

.app-shell:has(.auth-login-page) .content-wrap,
.app-shell:has(.auth-register-page) .content-wrap {
    min-height: 100vh;
    padding: 0;
}

.auth-login-page,
.auth-register-page {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: clamp(26px, 5vw, 60px);
}

.auth-login-shell {
    display: grid;
    width: min(920px, 100%);
    grid-template-columns: minmax(240px, .68fr) minmax(360px, 420px);
    gap: clamp(28px, 5.5vw, 76px);
    align-items: center;
}

.auth-register-shell {
    width: min(980px, 100%);
    grid-template-columns: minmax(240px, .62fr) minmax(380px, 480px);
}

.auth-login-card {
    border: 1px solid rgba(17, 24, 39, .065);
    border-radius: 21px;
    background: rgba(255, 255, 255, .965);
    box-shadow: 0 16px 48px rgba(15, 23, 42, .068), 0 1px 0 rgba(255, 255, 255, .92) inset;
}

.auth-login-brand-panel {
    display: flex;
    min-height: 360px;
    flex-direction: column;
    justify-content: center;
    gap: clamp(28px, 5vw, 52px);
    padding: clamp(8px, 1.5vw, 16px);
}

.auth-login-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
}

.auth-login-brand:hover {
    color: var(--ink);
}

.auth-login-mark {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 10px;
    background: #0f172a;
    color: #fff;
    font-weight: 800;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .14);
}

.auth-login-symbol {
    display: block;
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.auth-login-brand strong,
.auth-login-brand small {
    display: block;
}

.auth-login-brand strong {
    font-size: 1.08rem;
    letter-spacing: 0;
}

.auth-login-brand small {
    color: var(--muted);
    font-size: .78rem;
}

.auth-login-brand-panel p:not(.eyebrow) {
    max-width: 390px;
    margin: 0;
    color: #526079;
    font-size: clamp(1.02rem, 1.45vw, 1.18rem);
    line-height: 1.68;
}

.auth-login-reassurance {
    position: relative;
    padding-top: 14px;
    color: #7b8798 !important;
    font-size: .84rem !important;
    font-weight: 600;
}

.auth-login-reassurance::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 42px;
    height: 1px;
    background: rgba(37, 99, 235, .22);
    content: "";
}

.auth-login-card {
    display: grid;
    align-content: center;
    padding: clamp(30px, 4vw, 44px);
}

.auth-register-card {
    padding: clamp(28px, 3.6vw, 40px);
}

.auth-login-card-header {
    margin-bottom: 24px;
}

.auth-login-card-header h2 {
    margin: 7px 0 9px;
    color: #0f172a;
    font-size: clamp(1.65rem, 2.65vw, 2.32rem);
    font-weight: 780;
    letter-spacing: 0;
}

.auth-login-card-header p:not(.eyebrow) {
    margin: 0;
    color: #64748b;
    line-height: 1.62;
}

.auth-login-form {
    gap: 15px;
}

.auth-register-form {
    gap: 13px;
}

.auth-login-form .form-control {
    min-height: 55px;
    border-color: rgba(15, 23, 42, .085);
    border-radius: 11px;
    color: #0f172a;
    background-color: rgba(248, 250, 252, .64);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset;
}

.auth-login-form .form-floating > label {
    color: #758197;
}

.auth-login-form .form-floating > .form-control:focus ~ label,
.auth-login-form .form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: #526079;
}

.auth-login-form .form-control:focus {
    border-color: rgba(37, 99, 235, .44);
    background-color: #fff;
    box-shadow: 0 0 0 .17rem rgba(37, 99, 235, .085);
}

.auth-login-form .form-control:-webkit-autofill,
.auth-login-form .form-control:-webkit-autofill:hover,
.auth-login-form .form-control:-webkit-autofill:focus {
    -webkit-text-fill-color: #0f172a;
    box-shadow: 0 0 0 1000px #f8fafc inset, 0 0 0 .18rem rgba(37, 99, 235, .055);
    transition: background-color 9999s ease-in-out 0s;
}

.auth-login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    color: #64748b;
    font-size: .92rem;
}

.auth-login-options a,
.auth-login-secondary a {
    color: var(--hosh-blue);
    font-weight: 720;
}

.auth-login-secondary a {
    color: #4f6fc4;
    font-weight: 650;
}

.auth-login-submit {
    min-height: 52px;
    border: 0;
    border-radius: 11px;
    background: #2457d6;
    box-shadow: 0 13px 30px rgba(36, 87, 214, .19);
    font-weight: 760;
}

.auth-login-submit:hover,
.auth-login-submit:focus {
    background: #1d4ed8;
}

.auth-login-secondary {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;
    color: #738095;
    font-size: .9rem;
}

.auth-validation {
    margin-bottom: 0;
    padding: 12px 14px;
    border: 1px solid rgba(220, 38, 38, .18);
    border-radius: 12px;
    background: rgba(254, 226, 226, .55);
}

.auth-external-logins {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(17, 24, 39, .08);
}

.auth-external-logins p {
    margin: 0 0 12px;
    color: #64748b;
    font-size: .92rem;
}

.auth-external-logins form {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-tab {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    font-weight: 700;
    background: #fff;
}

.filter-tab.active,
.filter-tab:hover {
    color: #1d4ed8;
    border-color: var(--hosh-blue);
    background: var(--hosh-blue-soft);
}

.task-form,
.team-form,
.form-shell,
.form-actions,
.quick-status-form,
.block-form {
    display: grid;
    gap: 14px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.span-2 {
    grid-column: span 2;
}

.textarea-lg {
    min-height: 140px;
}

.textarea-md {
    min-height: 100px;
}

.form-actions {
    justify-items: start;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 18px 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.detail-grid > div,
.info-grid > div,
.detail-block {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.project-progress {
    height: 8px;
    max-width: 420px;
    border-radius: 999px;
    background: #eef2f7;
}

.project-progress .progress-bar {
    background: #2563eb;
}

.detail-label {
    margin: 0 0 4px;
    color: var(--muted);
    font-size: .78rem;
    font-weight: 760;
    text-transform: uppercase;
}

.detail-block {
    margin-top: 14px;
}

.detail-block h3 {
    margin: 0 0 8px;
    font-size: 1rem;
    font-weight: 760;
}

.detail-block p {
    margin: 0;
}

.good-block {
    border-color: var(--hosh-green);
    background: var(--hosh-green-soft);
}

.risk-block {
    border-color: var(--hosh-red);
    background: var(--hosh-red-soft);
}

.quick-status-form {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
}

.block-form {
    margin-top: 18px;
}

.quick-actions,
.block-inline-form {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    max-width: 100%;
    min-width: 0;
}

.quick-actions .btn,
.block-inline-form .btn {
    display: inline-grid;
    place-items: center;
    width: 34px;
    min-width: 34px;
    height: 32px;
    padding: 0;
}

.block-inline-form .form-control {
    width: min(120px, 100%);
    min-width: 0;
}

.dependency-note {
    margin-top: 6px !important;
    color: var(--ink) !important;
    font-weight: 700;
}

.quick-create-panel,
.advanced-panel {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.advanced-panel {
    background: #fafafa;
}

.compact-empty {
    padding: 18px;
}

.compact-empty h2 {
    margin: 0;
    font-size: 1rem;
}

.energy-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.energy-section h2 {
    margin: 4px 0 0;
    font-size: 1.2rem;
    font-weight: 760;
}

.energy-score {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 58px;
    padding: 0 16px;
    border-radius: 8px;
    font-weight: 760;
}

.energy-score strong {
    font-size: 1.7rem;
}

.energy-score.good {
    color: #166534;
    background: var(--hosh-green-soft);
}

.energy-score.warning {
    color: #92400e;
    background: var(--hosh-amber-soft);
}

@media (max-width: 1080px) {
    .app-shell {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
        height: auto;
    }

    .side-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .metric-grid,
    .page-grid,
    .today-command-grid,
    .auth-panel,
    .info-grid,
    .detail-grid {
        grid-template-columns: 1fr 1fr;
    }

    .today-command-grid {
        grid-template-columns: 1fr;
    }

    .auth-login-shell {
        grid-template-columns: 1fr;
    }

    .auth-login-brand-panel {
        min-height: auto;
        gap: 32px;
    }

    .today-command-grid > .page-section:nth-child(2) {
        max-width: 100%;
        justify-self: stretch;
    }

    .intelligence-strip {
        grid-template-columns: 1fr;
    }

    .task-meta {
        justify-content: flex-start;
    }

    .focus-experience .focus-sticky-actions {
        left: 0;
        right: 0;
        max-width: none;
    }

    .team-pulse-row {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }
}

@media (max-width: 1200px) {
    .today-command-grid {
        grid-template-columns: 1fr;
    }

    .today-command-grid > .page-section:nth-child(2) {
        max-width: 100%;
        justify-self: stretch;
    }

    .today-command-page .task-meta {
        justify-content: flex-start;
    }
}

@media (max-width: 900px) {
    .one-mission-hero {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
        padding: 20px;
    }

    .focus-experience {
        min-height: auto;
        padding: 12px 14px 96px;
        border-radius: 18px;
    }

    .focus-experience .one-mission-hero {
        align-items: stretch;
        min-height: auto;
        padding: 20px;
    }

    .mission-reason-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .focus-signal-grid {
        grid-template-columns: 1fr;
    }

    .mission-actions {
        justify-content: flex-start;
        width: 100%;
    }

    .focus-experience .mission-actions {
        justify-content: center;
    }

    .focus-experience .focus-sticky-actions {
        align-items: stretch;
        flex-direction: column;
        right: 12px;
        left: 12px;
        bottom: 12px;
        width: auto;
        max-width: none;
        margin: 0;
        padding: 12px;
    }

    .focus-experience .focus-sticky-actions form,
    .focus-experience .focus-sticky-actions .btn {
        width: 100%;
    }
}

@media (max-width: 720px) {
    .topbar,
    .command-header,
    .energy-section,
    .execution-plan-item,
    .team-member-row,
    .project-row,
    .task-row {
        align-items: stretch;
        flex-direction: column;
    }

    .content-wrap,
    .topbar {
        padding-left: 18px;
        padding-right: 18px;
    }

    .metric-grid,
    .page-grid,
    .insight-grid,
    .shock-insight,
    .mission-reason-grid,
    .auth-panel,
    .form-grid,
    .detail-grid,
    .info-grid,
    .intelligence-strip,
    .quick-status-form {
        grid-template-columns: 1fr;
    }

    .team-pulse-row {
        grid-template-columns: 1fr;
    }

    .team-pulse-member {
        align-items: flex-start;
        flex-direction: column;
    }

    .span-2 {
        grid-column: span 1;
    }

    .side-nav {
        grid-template-columns: 1fr;
    }

    .task-meta {
        justify-content: flex-start;
    }

    .one-mission-copy h2 {
        font-size: 1.22rem;
    }

    .mission-primary {
        width: 100%;
    }

    .mission-actions form,
    .mission-actions .btn,
    .shock-buttons form,
    .shock-buttons .btn {
        width: 100%;
    }

    .auth-login-page {
        padding: 18px;
    }

    .auth-login-brand-panel,
    .auth-login-card {
        border-radius: 22px;
        padding: 24px;
    }

    .auth-login-options {
        align-items: flex-start;
        flex-direction: column;
    }

    .auth-login-submit {
        width: 100%;
    }

    .insight-list li {
        white-space: normal;
    }
}
