/*
 * Tell Tale.
 *
 * Paper, ink and one crimson. Headlines and figures are set in Instrument
 * Serif, the interface in Instrument Sans, and the wordmark in Pirata One.
 * Corners stay nearly square; the ornament is a small crimson diamond.
 *
 * This is the only stylesheet. A screen is built from the components in
 * page/ and never writes a class or a style of its own.
 */

@font-face { font-family: 'Instrument Sans'; font-weight: 400; font-display: swap; src: url('fonts/instrument-sans-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Instrument Sans'; font-weight: 500; font-display: swap; src: url('fonts/instrument-sans-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Instrument Sans'; font-weight: 600; font-display: swap; src: url('fonts/instrument-sans-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Instrument Sans'; font-weight: 700; font-display: swap; src: url('fonts/instrument-sans-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Instrument Serif'; font-weight: 400; font-display: swap; src: url('fonts/instrument-serif-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Instrument Serif'; font-weight: 400; font-style: italic; font-display: swap; src: url('fonts/instrument-serif-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'Pirata One'; font-weight: 400; font-display: swap; src: url('fonts/pirata-one-400-normal.woff2') format('woff2'); }

:root {
    --sans: 'Instrument Sans', ui-sans-serif, system-ui, sans-serif;
    --serif: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
    --display: 'Pirata One', 'Instrument Serif', Georgia, serif;

    --paper: #faf8f5;
    --surface: #ffffff;
    --hover: #fcfaf7;
    --tint-half: #f9f7f3;
    --rule: #e6e1da;
    --rule-soft: #f0ece6;
    --rule-faint: #f4f0ea;

    --ink: #17141c;
    --ink-label: #4a4551;
    --ink-soft: #5e5866;
    --ink-muted: #767080;

    --accent: #a11229;
    --accent-strong: #7a0e20;
    --accent-tint: #fbf2f3;
    --selection: #f6dbe0;

    --good: #2f5d3a;
    --good-tint: #edf3ed;
    --working: #22264b;
    --working-tint: #eceef6;
    --attention: #8a5a12;
    --attention-tint: #fbf3e4;

    --plum: #2b2136;
    --plum-ink: #f6f2ec;

    color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html, body { height: 100%; margin: 0; }

body {
    background: var(--paper);
    color: var(--ink);
    font: 13px/1.5 var(--sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: var(--accent); text-decoration: none; transition: color .15s; }
a:hover { color: var(--accent-strong); }
button { font: inherit; }
button:not(:disabled) { cursor: pointer; }
p, h1, h2, h3, dl, dd { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
::selection { background: var(--selection); }
svg { display: block; flex: none; }

/* The frame: the side, the bar, the paper. */

.tt-frame { display: flex; height: 100%; }

.tt-side {
    width: 236px; flex: none; display: flex; flex-direction: column;
    border-right: 1px solid var(--rule); background: var(--surface);
}

.tt-brand {
    height: 60px; flex: none; display: flex; align-items: center; gap: 8px;
    padding: 0 20px; border-bottom: 1px solid var(--rule);
}
.tt-brand a { display: inline-flex; align-items: center; gap: 8px; }
.tt-wordmark { font: 21px/1 var(--display); color: var(--ink); }
.tt-heart { width: 15px; height: 15px; color: var(--accent); transform-origin: 50% 58%; animation: tt-beat 2.6s ease-in-out infinite; }
.tt-brand .tt-badge { margin-left: auto; }

/* Whose screens these are, and the way to anywhere else: the head of the
   side is a button, and what it opens lists the organization's sites, the
   person's other places, and the way out. */

.tt-switch { position: relative; flex: none; border-bottom: 1px solid var(--rule); }
.tt-context {
    width: 100%; display: flex; align-items: center; gap: 12px; padding: 14px 16px 14px 20px;
    border: 0; background: transparent; color: var(--ink); text-align: left; transition: background .15s;
}
.tt-context:hover, .tt-context[aria-expanded='true'] { background: var(--tint-half); }
.tt-context > svg { width: 14px; height: 14px; margin-left: auto; color: var(--ink-muted); }
.tt-context-words { min-width: 0; display: grid; }
.tt-context-name, .tt-context-note { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tt-switch-menu {
    position: absolute; top: calc(100% - 6px); left: 10px; z-index: 6; width: 264px; max-height: min(70vh, 560px); overflow-y: auto;
    display: grid; gap: 14px; padding: 14px 0 0; border: 1px solid var(--rule); border-radius: 3px; background: var(--surface); box-shadow: 0 18px 48px rgb(23 20 28 / .18);
}
.tt-switch-menu[hidden] { display: none; }
.tt-switch-menu .tt-navlink[aria-current] { box-shadow: none; }
.tt-switch-person {
    display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px 10px 20px;
    border-top: 1px solid var(--rule); background: var(--tint-half); font-size: 12.5px; font-weight: 600;
}
.tt-switch-person > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tt-avatar {
    width: 28px; height: 28px; flex: none; display: grid; place-items: center;
    background: var(--plum); color: var(--plum-ink); border-radius: 2px; font: 16px/1 var(--serif);
}
.tt-context-name { font-size: 13.5px; font-weight: 600; line-height: 1.2; }
.tt-context-note { font-size: 11.5px; color: var(--ink-muted); line-height: 1.3; display: flex; align-items: center; gap: 6px; }
.tt-context-note > span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
/* The way to see the site on the web, under its name, once it is there. */
.tt-viewsite { display: inline-flex; align-items: center; gap: 6px; margin: -8px 0 12px 60px; font-size: 12.5px; font-weight: 600; color: var(--accent); }
.tt-viewsite:hover { text-decoration: underline; }
.tt-viewsite svg { width: 12px; height: 12px; }
.tt-switch-all { color: var(--ink-muted); }
/* A small heading inside a group: what the rows under it are about. */
.tt-nav-heading { margin: 0; padding: 10px 16px 4px 20px; font-size: 11.5px; font-weight: 600; color: var(--ink-muted); }
.tt-nav-heading:first-child { padding-top: 0; }

.tt-nav { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 0; padding: 18px 0 12px; }
.tt-nav-group { display: grid; }
.tt-nav-group > .tt-caps { padding: 0 20px; margin-bottom: 8px; }

.tt-navlink {
    display: flex; align-items: center; gap: 10px; min-height: 36px; padding: 0 16px 0 20px;
    color: var(--ink-soft); font-size: 13px; line-height: 1; transition: background .15s, color .15s;
}
.tt-navlink svg { width: 16px; height: 16px; color: var(--ink-muted); }
.tt-navlink:hover { background: var(--tint-half); color: var(--ink); }
.tt-navlink[aria-current] { background: var(--rule-faint); color: var(--ink); font-weight: 600; box-shadow: inset 3px 0 0 var(--accent); }
.tt-navlink[aria-current] svg { color: var(--ink); }

/* Every row of the side is one place to go, in one even run. A section
   is a row like the rest: it leads to its first page, and its own rows
   show under it, indented and without marks, while the person is on one.
   Settings stands at the foot, apart. */
.tt-section-in > .tt-section-head { color: var(--ink); font-weight: 600; }
.tt-section-in > .tt-section-head svg { color: var(--ink); }
.tt-section-rows { display: grid; padding-bottom: 6px; }
.tt-section-rows .tt-navlink { padding-left: 46px; min-height: 32px; }
.tt-section-rows .tt-navlink svg { display: none; }
.tt-section-rows .tt-nav-heading { padding-left: 46px; }
.tt-section-rows .tt-nav-heading:first-child { padding-top: 4px; }
.tt-nav-pinned { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--rule-soft); }
.tt-uplink { margin-bottom: -8px; color: var(--ink-muted); font-size: 12.5px; }
.tt-uplink svg { width: 12px; height: 12px; }

.tt-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }

.tt-bar {
    height: 60px; flex: none; display: flex; align-items: center; gap: 12px; padding: 0 36px;
    border-bottom: 1px solid var(--rule); background: var(--surface); color: var(--ink-soft); font-size: 12.5px;
}

.tt-bar-line { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Where this screen is, from the organization down. */
.tt-crumbs { min-width: 0; display: flex; align-items: center; gap: 8px; font-size: 13px; white-space: nowrap; overflow: hidden; }
.tt-crumbs a { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; color: var(--ink-soft); }
.tt-crumbs a:hover { color: var(--ink); }
.tt-crumbs a::after { content: '/'; margin-left: 8px; color: var(--rule); }
.tt-crumbs [aria-current] { flex: none; color: var(--ink); font-weight: 600; }

.tt-banner {
    flex: none; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px;
    padding: 10px 36px; border-bottom: 1px solid rgb(138 90 18 / .35); background: var(--attention-tint); font-size: 12.5px;
}

.tt-scroll { flex: 1; min-height: 0; overflow-y: auto; }
.tt-measure { max-width: 1180px; margin: 0 auto; padding: 28px 36px 80px; display: flex; flex-direction: column; gap: 24px; }
/* A record's own screen, such as the editor: what is opened has the whole width. */
.tt-measure-wide { max-width: none; }
/* A tool with the whole work area, such as the editor: no measure, no head. */
.tt-canvas { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.tt-surface-whole { flex: 1; min-height: 0; }

/* The head of a screen: where it sits, its name, then the double rule. */

.tt-head { display: grid; gap: 14px; }
.tt-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; }
.tt-title { font: 400 34px/1.1 var(--serif); letter-spacing: -.01em; margin: 10px 0 0; }
.tt-head-note { margin-top: 8px; color: var(--ink-soft); font-size: 13px; max-width: 68ch; }
.tt-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tt-rules { display: grid; gap: 3px; }
.tt-rules span { display: block; height: 1px; background: rgb(23 20 28 / .85); }
.tt-rules span + span { background: var(--rule); }

.tt-caps { font-size: 10px; line-height: 1; font-weight: 600; color: var(--ink-muted); text-transform: uppercase; letter-spacing: .2em; }
.tt-caps-title { color: var(--ink-label); letter-spacing: .22em; }
.tt-ornament { display: flex; align-items: center; gap: 8px; }
/* On a record's own screen, the way back to the page it is one of, where the eyebrow would be. */
.tt-back { justify-self: start; font-size: 12.5px; font-weight: 600; color: var(--ink-soft); text-decoration: none; }
.tt-back:hover { color: var(--ink); }
.tt-ornament::before { content: '◆'; color: var(--accent); font-size: 8px; line-height: 1; }

/* A panel: a section of the paper. */

.tt-panel {
    display: flex; flex-direction: column; min-width: 0; overflow: hidden;
    border: 1px solid var(--rule); border-radius: 3px; background: var(--surface); box-shadow: 0 1px 0 var(--rule-soft);
}
.tt-panel-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 13px 16px; border-bottom: 1px solid var(--rule-soft); }
.tt-panel-head h2 { font-size: 10px; }
.tt-panel-note { font-size: 11.5px; line-height: 1; color: var(--ink-muted); }
.tt-panel-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.tt-panel-body { padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.tt-panel-foot { padding: 10px 16px; border-top: 1px solid var(--rule-soft); font-size: 11.5px; color: var(--ink-muted); }
.tt-panel-good { box-shadow: inset 3px 0 0 var(--good), 0 1px 0 var(--rule-soft); }
.tt-panel-working { box-shadow: inset 3px 0 0 var(--working), 0 1px 0 var(--rule-soft); }
.tt-panel-attention { box-shadow: inset 3px 0 0 var(--attention), 0 1px 0 var(--rule-soft); }

/* A table: hairlines, tracked capitals over each column. */

.tt-table-wrap { overflow-x: auto; }
.tt-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.tt-table th {
    text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--rule-soft); white-space: nowrap;
    font-size: 10px; line-height: 1; font-weight: 600; color: var(--ink-muted); text-transform: uppercase; letter-spacing: .2em;
}
.tt-table td { padding: 13px 16px; border-bottom: 1px solid var(--rule-soft); vertical-align: middle; color: var(--ink-soft); }
.tt-table tr:last-child td { border-bottom: 0; }
.tt-table tbody tr:hover td { background: var(--hover); }
.tt-table .tt-num, .tt-num { text-align: right; font-variant-numeric: tabular-nums; }
.tt-table .tt-center { text-align: center; }
.tt-table .tt-row { justify-content: flex-end; }
.tt-leads, .tt-leads .tt-strong, .tt-leads .tt-key { color: var(--accent); }
.tt-leads:hover, .tt-leads:hover .tt-strong, .tt-leads:hover .tt-key { color: var(--accent-strong); }

/* Type a screen may use. */

.tt-strong { color: var(--ink); font-weight: 600; }
.tt-muted { color: var(--ink-muted); }
.tt-small { font-size: 11.5px; line-height: 1.45; }
.tt-key { font: 11px/1 ui-monospace, 'SF Mono', Menlo, monospace; color: var(--ink-muted); }
.tt-lines { display: grid; gap: 3px; }

/* A chip: a fact beside a name. */

.tt-badge {
    display: inline-flex; align-items: center; gap: 6px; padding: 3px 6px; border-radius: 2px; white-space: nowrap;
    font-size: 10px; line-height: 1; font-weight: 600; text-transform: uppercase; letter-spacing: .09em;
    background: var(--rule-faint); color: var(--ink-label);
}
.tt-badge-good { background: var(--good-tint); color: var(--good); }
.tt-badge-working { background: var(--working-tint); color: var(--working); }
.tt-badge-attention { background: var(--attention-tint); color: var(--attention); }
.tt-badge-accent { background: var(--accent-tint); color: var(--accent-strong); }

/* A label: one of a few names, such as a role or a kind. Never good or bad,
   so never a status's chip: plain words, set off by a hairline. */
.tt-tag {
    display: inline-flex; align-items: center; padding: 2px 6px; border-radius: 2px; white-space: nowrap;
    font-size: 12px; line-height: 1.2; color: var(--ink-label); box-shadow: inset 0 0 0 1px var(--rule);
}

/* A status: a light and a word. */

.tt-status { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.tt-led { width: 7px; height: 7px; border-radius: 50%; flex: none; background: var(--ink-muted); }
.tt-led-good { background: var(--good); }
.tt-led-working { background: var(--working); }
.tt-led-attention { background: var(--attention); }
.tt-led-accent { background: var(--accent); }
.tt-led-off { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink-muted); }
.tt-status-off { color: var(--ink-muted); font-weight: 500; }

/* A menu under a button: what can be done to one row, or the moves out of
   a status. A panel or table with one open lets it hang over its edge. */

.tt-menu { position: relative; display: inline-flex; }
.tt-menu-list {
    position: absolute; top: calc(100% + 4px); right: 0; z-index: 8; min-width: 180px; padding: 4px;
    display: grid; gap: 1px; border: 1px solid var(--rule); border-radius: 3px; background: var(--surface);
    box-shadow: 0 8px 24px rgba(23, 20, 28, .1), 0 1px 0 var(--rule-soft); text-align: left;
}
.tt-menu-list[hidden] { display: none; }
.tt-menu-item {
    display: flex; align-items: center; width: 100%; padding: 8px 10px; border: 0; border-radius: 2px; background: transparent;
    color: var(--ink-label); font-size: 12.5px; font-weight: 500; line-height: 1.2; text-align: left; white-space: nowrap;
}
.tt-menu-item:hover, .tt-menu-item:focus-visible { background: var(--hover); color: var(--ink); }
.tt-menu-item:disabled { opacity: .5; }
.tt-panel:has(.tt-menu-list:not([hidden])), .tt-table-wrap:has(.tt-menu-list:not([hidden])) { overflow: visible; }
.tt-more { width: 30px; padding: 0; font-size: 16px; }
.tt-table .tt-row-end { width: 1%; white-space: nowrap; }

/* A status: its word, what more it says, and the moves out of it. */

.tt-status-cell { display: inline-flex; align-items: center; gap: 8px; }
.tt-status-pick { display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.tt-status-pick:hover .tt-badge, .tt-status-pick[aria-expanded='true'] .tt-badge { box-shadow: inset 0 0 0 1px currentColor; }
.tt-status-pick + .tt-menu-list { left: 0; right: auto; }
.tt-caret { display: inline-block; width: 5px; height: 5px; margin: -2px 1px 0 0; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); font-size: 0; }
.tt-status-note { font-size: 11.5px; color: var(--ink-muted); white-space: nowrap; }

/* Tabs over a table's rows, one for each status, with how many are in it. */

.tt-tabs { display: flex; flex-wrap: wrap; gap: 2px; padding: 10px 16px; border-bottom: 1px solid var(--rule-soft); }
.tt-tab-count { margin-left: 6px; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.tt-segment[aria-pressed='true'] .tt-tab-count { color: rgba(255, 255, 255, .7); }

/* Buttons. The crimson is for the one thing a screen is for. */

.tt-button {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: none; height: 34px; padding: 0 14px;
    border: 1px solid var(--rule); border-radius: 2px; background: var(--surface); color: var(--ink-label);
    font-size: 12.5px; font-weight: 600; line-height: 1; white-space: nowrap; transition: background .15s, color .15s;
}
.tt-button:hover { background: var(--hover); color: var(--ink); }
.tt-button svg { width: 13px; height: 13px; }
.tt-button-sm { height: 30px; padding: 0 10px; font-size: 12px; gap: 6px; }
.tt-button-primary { border-color: var(--accent); background: var(--accent); color: #fff; }
.tt-button-primary:hover { border-color: var(--accent-strong); background: var(--accent-strong); color: #fff; }
.tt-button-quiet { border-color: transparent; background: transparent; color: var(--ink-soft); }

/* A choice of one. */

.tt-segmented { display: inline-flex; align-items: center; gap: 2px; padding: 2px; border: 1px solid var(--rule); border-radius: 2px; background: var(--surface); margin: 0; }
.tt-segment {
    display: inline-flex; align-items: center; padding: 6px 10px; border: 0; border-radius: 2px; background: transparent;
    color: var(--ink-soft); font-size: 12px; line-height: 1; white-space: nowrap; transition: background .15s, color .15s;
}
.tt-segment:hover { color: var(--ink); background: var(--hover); }
.tt-segment[aria-pressed='true'] { background: var(--ink); color: #fff; font-weight: 600; }

/* A figure. */

.tt-stat { display: grid; gap: 10px; padding: 16px; }
.tt-stat-value { font: 400 30px/1 var(--serif); font-variant-numeric: tabular-nums; }
.tt-stat-note { font-size: 11.5px; color: var(--ink-muted); }

/* Layout a screen may ask for. */

.tt-grid { display: grid; gap: 16px; }
.tt-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tt-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tt-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tt-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }

/* Facts: a name and what it is. */

.tt-facts { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; font-size: 13px; }
.tt-facts dt { color: var(--ink-muted); }
.tt-facts dd { color: var(--ink); }

/* Something said once, in passing. */

.tt-notice { display: flex; gap: 10px; align-items: baseline; padding: 11px 14px; border: 1px solid var(--rule); border-radius: 2px; background: var(--surface); font-size: 12.5px; color: var(--ink-soft); }
.tt-notice::before { content: '◆'; color: var(--accent); font-size: 8px; }
.tt-notice-good { border-color: rgb(47 93 58 / .3); background: var(--good-tint); color: var(--good); }
.tt-notice-good::before { color: var(--good); }
.tt-notice-attention { border-color: rgb(138 90 18 / .3); background: var(--attention-tint); color: var(--attention); }
.tt-notice-attention::before { color: var(--attention); }

.tt-empty { display: grid; justify-items: center; gap: 8px; padding: 44px 16px; text-align: center; color: var(--ink-muted); }
.tt-empty-title { font: 400 22px/1.2 var(--serif); color: var(--ink); }

/* A form: each thing asked for under its name, and what is wrong with it. */

.tt-form { display: grid; gap: 14px; max-width: 420px; margin: 0; }
.tt-field { display: grid; gap: 6px; }
.tt-field-label { font-size: 12px; line-height: 1; font-weight: 600; color: var(--ink-label); }
/* A line under a field's name that says what to put in it, and a column of boxes to tick. */
.tt-field-hint { font-size: 12.5px; line-height: 1.45; color: var(--ink-muted); }
.tt-checks { display: grid; gap: 8px; padding: 4px 0; }
.tt-field-optional { font-weight: 400; color: var(--ink-muted); }
.tt-field-problem { font-size: 11.5px; line-height: 1.35; color: var(--attention); }
.tt-input {
    width: 100%; min-height: 34px; padding: 7px 10px; border: 1px solid var(--rule); border-radius: 2px;
    background: var(--surface); color: var(--ink); font: 13px/1.4 var(--sans);
}
.tt-input::placeholder { color: var(--ink-muted); }
.tt-input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.tt-input-long { min-height: 108px; resize: vertical; }
.tt-input-code { font: 12px/1.5 ui-monospace, 'SF Mono', Menlo, monospace; }
.tt-check { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-label); }
.tt-check input { width: 15px; height: 15px; margin: 0; accent-color: var(--accent); }

/* The form a button opens, over the screen. */

.tt-sheet {
    width: min(460px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0; overflow-y: auto;
    border: 1px solid var(--rule); border-radius: 3px; background: var(--surface); color: var(--ink);
    font: 13px/1.5 var(--sans); text-align: left; white-space: normal; box-shadow: 0 18px 48px rgb(23 20 28 / .18);
}
.tt-sheet::backdrop { background: rgb(23 20 28 / .32); }
.tt-sheet form { margin: 0; }
.tt-sheet-head { padding: 15px 16px; border-bottom: 1px solid var(--rule-soft); }
.tt-sheet-body { display: grid; gap: 14px; padding: 16px; }
.tt-sheet-foot { display: flex; justify-content: flex-end; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--rule-soft); background: var(--tint-half); }

/* Cards: things better seen than read. */

.tt-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; padding: 16px; }
.tt-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--rule); border-radius: 2px; background: var(--surface); }
.tt-card-image { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-bottom: 1px solid var(--rule-soft); background: var(--rule-faint); }
.tt-card-body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 14px; }
.tt-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.tt-card-title { min-width: 0; font: 400 19px/1.2 var(--serif); color: var(--ink); overflow-wrap: anywhere; }
.tt-card-note { font-size: 12.5px; color: var(--ink-soft); }
.tt-card-body > .tt-row { margin-top: auto; padding-top: 4px; }

/* A chart: one bar for each point, standing on a rule. */

.tt-chart { display: grid; gap: 8px; margin: 0; }
.tt-chart-top { font-size: 11.5px; line-height: 1; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.tt-bars { display: flex; align-items: stretch; gap: 2px; height: 220px; margin: 0; padding: 0; list-style: none; border-top: 1px dashed var(--rule); }
.tt-bar-slot { position: relative; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; padding-top: 6px; border-radius: 2px; }
.tt-bar-slot:hover, .tt-bar-slot:focus-visible { background: var(--tint-half); }
.tt-bar-value { height: 12px; font-size: 11px; line-height: 12px; color: var(--ink-label); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tt-bar-track { flex: 1; min-height: 0; width: 100%; display: flex; align-items: flex-end; justify-content: center; border-bottom: 1px solid var(--ink-muted); }
.tt-bar-fill { display: block; width: 100%; max-width: 28px; min-height: 1px; border-radius: 4px 4px 0 0; background: var(--plum); }
.tt-bar-slot:hover .tt-bar-fill, .tt-bar-slot:focus-visible .tt-bar-fill { background: var(--accent); }
.tt-bar-label { height: 14px; font-size: 11px; line-height: 14px; color: var(--ink-muted); white-space: nowrap; }
.tt-bars-many .tt-bar-value { display: none; }
.tt-bars-many .tt-bar-label { align-self: flex-start; }
/* What a bar says when it is pointed at. A reader that speaks hears it always. */
.tt-bar-said {
    position: absolute; left: 50%; top: -6px; z-index: 1; transform: translate(-50%, -100%); padding: 6px 8px; border-radius: 2px;
    background: var(--ink); color: var(--plum-ink); font-size: 11.5px; line-height: 1; white-space: nowrap; pointer-events: none;
    clip-path: inset(50%); opacity: 0;
}
.tt-bar-slot:hover .tt-bar-said, .tt-bar-slot:focus-visible .tt-bar-said { clip-path: none; opacity: 1; }

/* A notice with steps to take, and values to take away. */

.tt-said { font-size: 13px; color: var(--ink-soft); max-width: 72ch; }
.tt-steps { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; counter-reset: tt-step; font-size: 13px; color: var(--ink); max-width: 72ch; }
.tt-steps li { counter-increment: tt-step; display: flex; align-items: baseline; gap: 10px; }
.tt-steps li::before { content: counter(tt-step); flex: none; min-width: 12px; font: 400 17px/1 var(--serif); color: var(--accent); font-variant-numeric: tabular-nums; }
.tt-copies { display: grid; grid-template-columns: max-content 1fr; align-items: center; gap: 8px 24px; font-size: 13px; }
.tt-copies dt { color: var(--ink-muted); }
.tt-copies dd { display: flex; align-items: center; gap: 8px; min-width: 0; }
.tt-copy-value {
    min-width: 0; padding: 7px 9px; border: 1px solid var(--rule-soft); border-radius: 2px; background: var(--tint-half);
    font: 12px/1.3 ui-monospace, 'SF Mono', Menlo, monospace; color: var(--ink); overflow-wrap: anywhere;
}

/* A plug: the panel is the tool's to draw in. */

.tt-surface { min-width: 0; }

/* Asking: the prompt home is made of. A greeting and one rounded line to
   type on at the top, Cattalina's answer under it once she is asked, what
   a search finds under that, then the quick actions as cards. Asking is set in the interface's own type throughout, the
   greeting included: it is for reading, not for show. */

.tt-ask { display: grid; justify-items: center; gap: 22px; width: 100%; padding: 22px 0 4px; }
.tt-ask-title { font: 600 34px/1.1 var(--sans); letter-spacing: -.03em; text-align: center; text-wrap: balance; }
.tt-prompt, .tt-answer, .tt-ask-found { max-width: 720px; }

.tt-prompt {
    width: 100%; display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 0 9px 0 22px;
    border: 1px solid var(--rule); border-radius: 29px; background: var(--surface); box-shadow: 0 1px 0 var(--rule-soft), 0 10px 28px rgb(23 20 28 / .06);
    transition: border-color .15s, box-shadow .15s;
}
.tt-prompt:focus-within { border-color: var(--ink-muted); box-shadow: 0 1px 0 var(--rule-soft), 0 12px 32px rgb(23 20 28 / .1); }
.tt-prompt > svg { width: 17px; height: 17px; color: var(--ink-muted); }
.tt-prompt-input {
    flex: 1; min-width: 0; height: 56px; padding: 0; border: 0; outline: 0; background: transparent;
    color: var(--ink); font: 400 16px/1.3 var(--sans); text-overflow: ellipsis;
}
.tt-prompt-input::placeholder { color: var(--ink-muted); }

/* The round button that sends what is typed to Cattalina. */

.tt-send {
    flex: none; width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%;
    background: var(--accent); color: #fff; transition: background .15s;
}
.tt-send:hover { background: var(--accent-strong); }
.tt-send:disabled { background: var(--rule-faint); color: var(--ink-muted); }
.tt-send svg { width: 16px; height: 16px; }

/* What a search finds, between the prompt and the cards. It takes its
   height from what is inside it and gets there gently, so the cards under
   it are pushed down and let back up without a jump. Closed, it has no
   height and takes back the gap that would stand around it. */

.tt-ask-found { width: 100%; height: 0; overflow: hidden; opacity: 0; margin-bottom: -22px; transition: height .23s ease-out, opacity .23s ease-out, margin-bottom .23s ease-out; }
.tt-ask-found[data-open='yes'] { opacity: 1; margin-bottom: 0; }
.tt-ask-picks { padding: 14px 8px 8px; border: 1px solid var(--rule); border-radius: 14px; background: var(--surface); }
.tt-ask-none { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; padding: 6px 2px; font-size: 13.5px; color: var(--ink-soft); }

/* Quick actions on home: a card for each, with the one button that does it.
   The whole card answers to the pointer and presses as its button. */

.tt-quick { width: 100%; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
/* A heading over a run of quick cards: how far along getting set up is, or "Quick actions". */
.tt-quick-heading { width: 100%; margin: 6px 0 -4px; font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.tt-quick-card {
    position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto 1fr auto; align-items: center; gap: 8px 12px; min-width: 0; padding: 16px;
    border: 1px solid var(--rule); border-radius: 12px; background: var(--surface); box-shadow: 0 1px 0 var(--rule-soft);
    transition: border-color .15s, box-shadow .15s, transform .15s;
}
.tt-quick-card:hover, .tt-quick-card:focus-within { border-color: var(--ink-muted); box-shadow: 0 10px 24px rgb(23 20 28 / .08); transform: translateY(-1px); }
.tt-quick-mark { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; background: var(--accent-tint); color: var(--accent); transition: background .15s, color .15s; }
.tt-quick-card:hover .tt-quick-mark, .tt-quick-card:focus-within .tt-quick-mark { background: var(--accent); color: #fff; }
.tt-quick-mark svg { width: 16px; height: 16px; }
.tt-quick-label { min-width: 0; padding-right: 20px; font: 600 15px/1.3 var(--sans); color: var(--ink); overflow-wrap: anywhere; }
.tt-quick-note { grid-column: 1 / -1; align-self: start; font-size: 13px; line-height: 1.5; color: var(--ink-soft); }
.tt-quick-foot { grid-column: 1 / -1; grid-row: 3; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; padding-top: 6px; }
.tt-quick-does { position: static; }
.tt-quick-does::after { content: ''; position: absolute; inset: 0; border-radius: 12px; }
.tt-quick-card:hover .tt-quick-does, .tt-quick-does:focus-visible { border-color: var(--ink); background: var(--ink); color: #fff; }
.tt-quick-whose { min-width: 0; font-size: 11.5px; color: var(--ink-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tt-quick-remove {
    position: absolute; top: 10px; right: 10px; z-index: 1; width: 24px; height: 24px; display: grid; place-items: center; padding: 0;
    border: 0; border-radius: 6px; background: transparent; color: var(--ink-muted); transition: background .15s, color .15s;
}
.tt-quick-remove:hover { background: var(--rule-faint); color: var(--ink); }
.tt-quick-remove svg { width: 11px; height: 11px; }

/* Cattalina's answer, under the prompt and above what the search found,
   the way a search engine answers above its links: a few words, then the
   picks that take the person there. Asking again replaces it. */

.tt-answer { width: 100%; display: grid; gap: 10px; padding: 12px 8px 8px; border: 1px solid var(--rule); border-radius: 14px; background: var(--surface); box-shadow: inset 3px 0 0 var(--accent), 0 1px 0 var(--rule-soft); }
.tt-answer-head { display: flex; align-items: center; gap: 8px; min-height: 26px; padding: 0 0 0 12px; }
.tt-answer-head > svg { width: 14px; height: 14px; color: var(--accent); }
.tt-answer-close {
    margin-left: auto; width: 26px; height: 26px; display: grid; place-items: center; padding: 0;
    border: 0; border-radius: 6px; background: transparent; color: var(--ink-muted); transition: background .15s, color .15s;
}
.tt-answer-close:hover { background: var(--rule-faint); color: var(--ink); }
.tt-answer-close svg { width: 11px; height: 11px; }
.tt-answer-said { display: grid; gap: 10px; max-width: 68ch; padding: 0 12px 4px; font-size: 15px; line-height: 1.6; color: var(--ink); overflow-wrap: anywhere; }
.tt-answer-said p { margin: 0; }
.tt-answer-working { display: flex; align-items: center; gap: 10px; padding: 0 12px 6px; font-size: 14px; color: var(--ink-soft); }
.tt-answer-working::before { content: ''; width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--accent); animation: tt-wait 1.2s ease-in-out infinite; }

/* The conversation inside it: what the person said in a small bubble on
   the right, what she said under it. Where she asked, the replies to tap,
   and a line to type one. Once she has given the picks it is closed, and
   says so in one quiet line. */

.tt-talk-turns { display: grid; gap: 18px; min-width: 0; }
.tt-talk-turn { display: grid; gap: 10px; min-width: 0; }
.tt-talk-asked { justify-self: end; max-width: 85%; margin: 0 4px 0 0; padding: 7px 14px; border-radius: 16px 16px 4px 16px; background: var(--rule-faint); font-size: 14.5px; line-height: 1.5; color: var(--ink); overflow-wrap: anywhere; }

.tt-replies { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 12px 2px; }
.tt-reply {
    max-width: 100%; min-height: 34px; padding: 6px 16px; border: 1px solid var(--ink-muted); border-radius: 17px; background: var(--surface);
    color: var(--ink); font: 500 13.5px/1.3 var(--sans); text-align: left; transition: background .15s, border-color .15s, color .15s;
}
.tt-reply:hover { border-color: var(--ink); background: var(--ink); color: #fff; }

.tt-talk-reply { display: flex; align-items: center; gap: 8px; margin: 2px 4px 0; padding: 4px 4px 4px 14px; border: 1px solid var(--rule); border-radius: 20px; background: var(--paper); transition: border-color .15s; }
.tt-talk-reply:focus-within { border-color: var(--ink-muted); }
.tt-talk-reply-input { flex: 1; min-width: 0; height: 32px; margin: 0; padding: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font: 400 14.5px/1.4 var(--sans); }
.tt-talk-reply-input::placeholder { color: var(--ink-muted); }
.tt-talk-reply .tt-send { width: 32px; height: 32px; }
.tt-talk-reply .tt-send svg { width: 14px; height: 14px; }

/* A change she would make, waiting for a yes, and what it came to once
   somebody chose. */

.tt-proposed { display: grid; gap: 8px; margin: 0 4px; padding: 12px 14px; border: 1px solid var(--rule); border-radius: 6px; background: var(--paper); }
.tt-proposed-waits { border-color: rgb(161 18 41 / .3); background: var(--accent-tint); }
.tt-proposed-says { font-size: 14px; line-height: 1.5; color: var(--ink); overflow-wrap: anywhere; }
.tt-proposed-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.tt-proposed-choices:empty { display: none; }
.tt-proposed-problem { font-size: 12.5px; color: var(--attention); }

/* Picks: what a search or Cattalina offers, under a heading for each kind. */

.tt-picks { display: grid; gap: 14px; }
.tt-picks-group { display: grid; gap: 6px; }
.tt-picks-group > .tt-caps { padding: 0 12px; }
.tt-picks-rows { display: grid; margin: 0; padding: 0; list-style: none; }
.tt-pick-row { display: flex; align-items: center; gap: 4px; min-width: 0; padding-right: 6px; border-radius: 2px; }
.tt-pick-row:hover { background: var(--tint-half); }
.tt-pick-row.tt-pick-lit { background: var(--rule-faint); box-shadow: inset 3px 0 0 var(--accent); }
.tt-pick {
    flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 4px 10px; min-height: 38px; padding: 10px 6px 10px 12px;
    border: 0; background: transparent; color: var(--ink); font-size: 13.5px; line-height: 1.3; text-align: left;
}
.tt-pick:hover { color: var(--ink); }
.tt-pick svg { width: 16px; height: 16px; align-self: center; color: var(--ink-muted); }
.tt-pick-lit .tt-pick svg { color: var(--accent); }
.tt-pick-label { flex: none; max-width: 100%; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tt-pick-note { min-width: 0; font-size: 12.5px; color: var(--ink-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tt-pick-keep {
    flex: none; height: 26px; padding: 0 9px; border: 1px solid var(--rule); border-radius: 2px; background: var(--surface);
    color: var(--ink-label); font-size: 11.5px; font-weight: 600; line-height: 1; transition: background .15s, color .15s;
}
.tt-pick-keep:hover { background: var(--hover); color: var(--ink); }

/* The prompt in the bar of every screen. What it finds, and what
   Cattalina says, drop down under it and over the screen, which stays
   where it is. */

.tt-search { position: relative; flex: 0 1 460px; min-width: 180px; margin-left: auto; display: flex; align-items: center; }
.tt-search > svg { position: absolute; left: 12px; width: 14px; height: 14px; color: var(--ink-muted); pointer-events: none; }
.tt-search:focus-within > svg { color: var(--accent); }
.tt-search-input {
    width: 100%; height: 36px; padding: 0 34px 0 34px; border: 1px solid var(--rule); border-radius: 18px;
    background: var(--paper); color: var(--ink); font: 13px/1.4 var(--sans); transition: background .15s, border-color .15s;
}
.tt-search-input::placeholder { color: var(--ink-muted); }
.tt-search-input:focus { outline: 0; border-color: var(--ink-muted); background: var(--surface); }
.tt-search-key {
    position: absolute; right: 10px; min-width: 18px; padding: 3px 5px; border: 1px solid var(--rule); border-radius: 2px;
    background: var(--surface); color: var(--ink-muted); font: 600 10px/1 var(--sans); text-align: center; pointer-events: none;
}
.tt-search:focus-within .tt-search-key { display: none; }
.tt-search-panel {
    position: absolute; top: calc(100% + 8px); right: 0; z-index: 5; width: max(100%, min(560px, calc(100vw - 32px))); max-height: min(72vh, 640px); overflow-y: auto;
    display: grid; gap: 10px; padding: 10px 6px 6px; border: 1px solid var(--rule); border-radius: 14px; background: var(--surface); box-shadow: 0 18px 48px rgb(23 20 28 / .18);
}
.tt-search-panel[hidden] { display: none; }
.tt-search-found { display: grid; padding-top: 4px; }
.tt-search-none { padding: 2px 10px 8px; font-size: 12.5px; color: var(--ink-soft); }
.tt-search-ask {
    width: 100%; display: flex; align-items: baseline; gap: 4px 10px; min-height: 38px; margin-top: 6px; padding: 10px 6px 10px 12px;
    border: 0; border-top: 1px solid var(--rule-soft); background: transparent; color: var(--ink); font-size: 13.5px; line-height: 1.3; text-align: left;
}
.tt-search-ask:first-child { margin-top: 0; border-top: 0; }
.tt-search-ask:hover { background: var(--tint-half); color: var(--ink); }
.tt-search-ask svg { flex: none; width: 16px; height: 16px; align-self: center; color: var(--accent); }
.tt-search-ask-label { flex: none; font-weight: 600; }
.tt-search-ask-text { min-width: 0; font-size: 12.5px; color: var(--ink-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* The conversation there is the panel's own, so it has no card around it,
   and is set a little smaller than on home. */

.tt-search-panel .tt-answer { padding: 0 0 4px; border: 0; border-radius: 0; box-shadow: none; }
.tt-search-panel .tt-answer + .tt-search-found { border-top: 1px solid var(--rule-soft); padding-top: 10px; }
.tt-search-panel .tt-answer-said { font-size: 14px; }
.tt-search-panel .tt-talk-asked { font-size: 13.5px; }

/* Before the door: signing in, registering, an invitation. */

.tt-door { min-height: 100%; display: grid; align-content: center; justify-content: center; grid-template-columns: minmax(0, 400px); gap: 20px; padding: 32px 16px; }
.tt-door-brand { display: flex; justify-content: center; }
.tt-door-brand a { display: inline-flex; align-items: center; gap: 8px; }
.tt-door .tt-panel-body { gap: 18px; padding: 24px; }
.tt-door .tt-title { margin-top: 0; }
.tt-door-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; font-size: 12.5px; }

@keyframes tt-beat {
    0%, 100% { transform: scale(1); }
    10% { transform: scale(1.16); }
    22% { transform: scale(1); }
    32% { transform: scale(1.07); }
    44% { transform: scale(1); }
}

@keyframes tt-wait {
    0%, 100% { opacity: .25; }
    50% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .tt-heart, .tt-answer-working::before { animation: none; }
    .tt-ask-found, .tt-quick-card { transition: none; }
    .tt-quick-card:hover, .tt-quick-card:focus-within { transform: none; }
}

/* Below this the side sits above the paper. */
@media (max-width: 820px) {
    html, body { height: auto; }
    .tt-frame { display: block; height: auto; }
    .tt-side { width: auto; border-right: 0; border-bottom: 1px solid var(--rule); }
    .tt-nav { padding: 12px 0; gap: 12px; }
    .tt-bar, .tt-banner { padding-left: 16px; padding-right: 16px; }
    .tt-bar { height: auto; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
    .tt-bar-line { flex: 1; }
    .tt-search { order: 1; flex: 1 0 100%; margin-left: 0; }
    .tt-search-panel { left: 0; right: auto; }
    .tt-switch-menu { width: calc(100% - 20px); }
    .tt-search-key { display: none; }
    .tt-ask { padding-top: 12px; }
    .tt-ask-title { font-size: 26px; }
    .tt-prompt { padding-left: 18px; }
    .tt-pick { flex-wrap: wrap; }

    .tt-measure { padding: 20px 16px 56px; }
    .tt-grid-2, .tt-grid-3, .tt-grid-4 { grid-template-columns: minmax(0, 1fr); }
    .tt-title { font-size: 28px; }
    .tt-copies { grid-template-columns: minmax(0, 1fr); gap: 4px; }
    .tt-copies dd { margin-bottom: 8px; }
}

/* A site's home: whether it is on the web, what waits, what is next. */
.tt-home { display: grid; gap: 20px; max-width: 880px; }
.tt-home-status { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border: 1px solid var(--rule); border-radius: 2px; background: var(--surface); }
.tt-home-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--rule); box-shadow: 0 0 0 4px var(--rule-faint); }
.tt-home-live .tt-home-dot { background: var(--good); box-shadow: 0 0 0 4px var(--good-tint); }
.tt-home-status-text { flex: 1; min-width: 0; }
.tt-home-status-title { margin: 0; font: 400 22px/1.2 var(--serif); color: var(--ink); }
.tt-home-status-note { margin: 4px 0 0; font-size: 13px; color: var(--ink-soft); overflow-wrap: anywhere; }
.tt-home-block { border: 1px solid var(--rule); border-radius: 2px; background: var(--surface); }
.tt-home-block > h2 { margin: 0; padding: 14px 20px; border-bottom: 1px solid var(--rule-soft); }
.tt-home-needs { box-shadow: inset 3px 0 0 var(--attention); }
.tt-home-lines { list-style: none; margin: 0; padding: 0; }
.tt-home-line { display: flex; align-items: flex-start; gap: 14px; padding: 14px 20px; }
.tt-home-line + .tt-home-line { border-top: 1px solid var(--rule-soft); }
.tt-home-line-text { flex: 1; min-width: 0; }
.tt-home-line-title { margin: 0; font-size: 14px; font-weight: 600; color: var(--ink); }
.tt-home-line-says { margin: 3px 0 0; font-size: 13px; line-height: 1.45; color: var(--ink-soft); overflow-wrap: anywhere; }
.tt-home-line-way { flex: none; display: flex; align-items: center; min-height: 22px; }
.tt-home-goes { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; color: var(--ink-muted); text-decoration: none; }
.tt-home-goes svg { width: 12px; height: 12px; }
a.tt-home-goes:hover, .tt-home-count:hover .tt-home-goes { color: var(--accent); }
.tt-home-block[hidden] { display: none; }
.tt-home-check { flex: none; display: grid; place-items: center; width: 20px; height: 20px; margin-top: 1px; border: 1.5px dashed var(--rule); border-radius: 50%; color: #fff; }
.tt-home-check svg { width: 11px; height: 11px; stroke-width: 2; }
.tt-home-check-good { border: 0; background: var(--good); }
.tt-home-counts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.tt-home-count { display: grid; gap: 10px; padding: 16px 20px; border: 1px solid var(--rule); border-radius: 2px; background: var(--surface); text-decoration: none; }
.tt-home-count:hover { background: var(--hover); }
.tt-home-number { font: 400 34px/1 var(--serif); color: var(--ink); }
@media (max-width: 560px) {
    .tt-home-status, .tt-home-line { flex-wrap: wrap; }
    .tt-home-line-way { flex-basis: 100%; padding-left: 34px; }
}
