@font-face {
    font-family: 'Geist';
    src: url('geist.woff2') format('woff2');
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

.sample-page {
    --garage-ink: #282631;
    --garage-divider: #eeedf0;
    --garage-outline: #e7e4eb;
    --garage-focus: #615971;
    --garage-muted: #65616e;
    --garage-ghost: #eeedf1;
    --garage-surface: #fbfafc;
    --garage-wash: #f2f0f4;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
    background: #f8f7fa;
    color: var(--garage-ink);
    font: 14px/1.5 'Geist', system-ui, sans-serif;
    color-scheme: light;
}

.garage-header,
.garage-header *,
.garage-skeleton,
.garage-skeleton * { box-sizing: border-box; }

.garage-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 70px;
    padding-inline: clamp(16px, 2.1vw, 34px);
    background: var(--garage-surface);
    border-bottom: 1px solid var(--garage-divider);
}

.garage-brand {
    position: relative;
    flex: none;
    width: clamp(144px, 16vw, 192px);
    aspect-ratio: 4 / 1;
    overflow: hidden;
    isolation: isolate;
    background: #fff;
    mix-blend-mode: multiply;
}

.garage-brand img {
    position: absolute;
    top: 50%;
    left: -11%;
    width: 122%;
    height: auto;
    transform: translateY(-50%);
    filter: brightness(1.075);
}

.garage-actions {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
}

.garage-docs,
.garage-reset,
.garage-inbox,
.garage-account summary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;
    color: var(--garage-ink);
    font: inherit;
    font-size: 13px;
    font-weight: 560;
    line-height: 1.3;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 130ms ease, border-color 130ms ease, color 130ms ease;
}

.garage-docs { color: var(--garage-muted); }

.garage-reset-form { display: flex; flex: none; margin: 0; }
.garage-reset { border-color: var(--garage-outline); background: #fff; }

.garage-docs:hover,
.garage-reset:hover,
.garage-account summary:hover,
.garage-account[open] summary {
    border-color: var(--garage-outline);
    background: var(--garage-wash);
    color: var(--garage-ink);
}

.garage-inbox {
    background: #29292e;
    color: #fff;
}

.garage-inbox:hover { background: #42404a; }

.garage-action-icon {
    display: block;
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.garage-account {
    position: relative;
    min-width: 0;
}

.garage-account[open] { z-index: 10005; }

.garage-account summary {
    max-width: 200px;
    padding-inline: 5px 12px;
    border-color: var(--garage-outline);
    background: #fff;
    list-style: none;
}

.garage-account summary::-webkit-details-marker { display: none; }

.garage-account-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.garage-chevron {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    margin: -3px 2px 0 2px;
    border: solid var(--garage-muted);
    border-width: 0 1px 1px 0;
    transform: rotate(45deg);
    transition: transform 130ms ease;
}

.garage-account[open] .garage-chevron { transform: translateY(3px) rotate(225deg); }

.garage-avatar {
    display: grid;
    flex: 0 0 30px;
    height: 30px;
    place-items: center;
    border-radius: 50%;
    background: #eeeaf4;
    color: #554a69;
    font-size: 11px;
    font-weight: 650;
    line-height: 1;
}

.garage-avatar[data-person='jay'] { background: #e9ecf1; color: #475468; }
.garage-avatar[data-person='milo'] { background: #e8eef0; color: #3f5a64; }
.garage-avatar[data-person='tessa'] { background: #f0e9f0; color: #674c65; }

.garage-account-menu {
    position: absolute;
    inset-block-start: calc(100% + 8px);
    inset-inline-end: 0;
    width: min(284px, calc(100vw - 24px));
    padding: 8px;
    border: 1px solid var(--garage-outline);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 28px rgb(40 38 49 / 9%), 0 1px 3px rgb(40 38 49 / 4%);
}

.garage-account-menu p {
    margin: 4px 9px 7px;
    color: var(--garage-muted);
    font-size: 12px;
    font-weight: 560;
}

.garage-account-menu ul { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }

.garage-account-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 7px 8px;
    border-radius: 11px;
    color: var(--garage-ink);
    font-size: 13px;
    font-weight: 560;
    text-decoration: none;
    transition: background-color 130ms ease;
}

.garage-account-menu a[aria-current] { background: #efedf3; }
.garage-account-menu a:hover { background: var(--garage-wash); }
.garage-account-menu a[aria-current]:hover { background: #e9e6ee; }
.garage-account-person { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.garage-account-person small { display: block; color: var(--garage-muted); font-size: 11px; font-weight: 450; }
.garage-account-check { color: var(--garage-focus); }

.garage-actions :focus-visible { outline: 2px solid var(--garage-focus); outline-offset: 2px; }
.garage-account-menu a:focus-visible { outline-offset: -2px; }

@media (prefers-reduced-motion: reduce) {
    .garage-actions :is(a, button, summary, .garage-chevron) { transition: none; }
}

.garage-shell {
    display: grid;
    flex: 1;
}

.garage-skeleton {
    display: grid;
    grid-template-columns: clamp(132px, 15vw, 205px) minmax(0, 1fr);
    overflow: hidden;
    background: var(--garage-surface);
}

.garage-skeleton i {
    display: block;
    height: 7px;
    border-radius: 99px;
    background: var(--garage-ghost);
}

.garage-rail {
    padding: 23px 15px;
    border-right: 1px solid var(--garage-divider);
    background: #fcfbfd;
}

.garage-rail-heading,
.garage-rail-row {
    display: grid;
    grid-template-columns: 14px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-height: 39px;
    padding-inline: 8px;
}

.garage-rail-heading { margin-bottom: 19px; }
.garage-rail-heading i:first-child { height: 14px; border-radius: 4px; }
.garage-rail-heading i:last-child { max-width: 87px; }
.garage-rail-row i:first-child { width: 11px; height: 11px; border-radius: 4px; }
.garage-rail-row i:last-child { width: 60%; }
.garage-rail-row:nth-child(2) { border-radius: 8px; background: #f6f4f8; }
.garage-rail-row:nth-child(3n) i:last-child { width: 76%; }

.garage-board {
    display: flex;
    flex-direction: column;
    padding: clamp(16px, 3vw, 35px);
}

.garage-board-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 24px;
}

.garage-board-heading div { width: min(240px, 70%); }
.garage-board-heading div i:first-child { width: 72%; height: 16px; margin-bottom: 12px; }
.garage-board-heading > i { width: 72px; height: 26px; border-radius: 7px; }

.garage-tiles,
.garage-work-area {
    display: grid;
    gap: 14px;
}

.garage-tiles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 15px;
}

.garage-tile,
.garage-table,
.garage-notes {
    overflow: hidden;
    border: 1px solid #f0eff3;
    border-radius: 12px;
    background: #fefeff;
}

.garage-tile { min-height: 96px; padding: 15px; }
.garage-tile i:first-child { width: 44%; }
.garage-tile i:nth-child(2) { width: 23%; height: 15px; margin: 12px 0 9px; }
.garage-tile i:last-child { width: 56%; }

.garage-work-area {
    flex: 1;
    grid-template-columns: minmax(0, 2.4fr) minmax(0, 1fr);
}

.garage-table {
    display: grid;
    grid-template-rows: auto;
    grid-auto-rows: 1fr;
}

.garage-table-heading,
.garage-table-row {
    display: grid;
    grid-template-columns: 1.3fr 1fr 0.72fr;
    align-items: center;
    gap: 16px;
    min-height: 46px;
    padding-inline: 16px;
    border-bottom: 1px solid #f3f2f5;
}

.garage-table-heading { min-height: 53px; background: #fcfbfd; }
.garage-table-heading i:first-child { width: 66%; height: 9px; }
.garage-table-heading i:last-child { grid-column: 3; justify-self: end; width: 70%; }
.garage-table-row:last-child { border-bottom: 0; }
.garage-table-row i:nth-child(2) { width: 78%; }
.garage-table-row i:nth-child(3) { width: 62%; height: 13px; }
.garage-table-row:nth-child(2n) i:first-child { width: 74%; }

.garage-notes { align-self: start; padding: 16px; }
.garage-notes > i { width: 53%; height: 9px; margin-bottom: 17px; }
.garage-notes div { margin-top: 13px; padding: 12px; border-radius: 8px; background: #f8f7fa; }
.garage-notes div i:first-child { width: 73%; margin-bottom: 7px; }
.garage-notes div i:last-child { width: 46%; }

@media (min-width: 651px) {
    .sample-page > .inner-threads { --inner-threads-height: min(720px, calc(100dvh - 164px)); }
}

@media (max-width: 740px) {
    .garage-work-area { grid-template-columns: minmax(0, 1fr); }
    .garage-notes { display: none; }
}

@media (max-width: 840px) {
    .garage-docs { flex-shrink: 0; width: 42px; padding: 0; background: var(--garage-wash); }
    .garage-docs > span { display: none; }
}

@media (max-width: 700px) {
    .garage-header { min-height: 65px; gap: 8px; padding-inline: 12px; }
    .garage-brand { width: clamp(114px, calc(100vw - 248px), 134px); }
    .garage-skeleton { grid-template-columns: minmax(0, 1fr); }
    .garage-rail { display: none; }
    .garage-actions { gap: 6px; }
    .garage-account-name { display: none; }
    .garage-account summary { gap: 4px; padding-inline: 5px 7px; }
}

@media (max-width: 560px) {
    .garage-reset { width: 42px; padding: 0; }
    .garage-reset > span { display: none; }
}

@media (max-width: 520px) {
    .garage-inbox { gap: 6px; padding-inline: 8px; }
    .garage-tiles { gap: 7px; }
    .garage-tile { min-height: 82px; padding: 12px 9px; }
}

@media (max-width: 440px) {
    .garage-inbox { flex-shrink: 0; width: 42px; padding: 0; }
    .garage-inbox > span { display: none; }
}

@media (max-width: 360px) {
    .garage-brand { width: 114px; }
    .garage-actions { gap: 4px; }
    .garage-docs, .garage-reset, .garage-inbox, .garage-account summary {
        width: 40px;
        min-height: 40px;
        padding: 0;
    }
    .garage-account .garage-chevron { display: none; }
}
