/* teceer.com: one stylesheet for the landing page and the legal pages. */
@layer ui-sdk;
@font-face { font-family: "Archivo"; src: url("/fonts/archivo.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Martian Mono"; src: url("/fonts/martian-mono.woff2") format("woff2"); font-weight: 100 800; font-stretch: 75% 112.5%; font-display: swap; }

:root {
  --ink: #0b0b0a;
  --ink-2: #141412;
  --paper: #ece8dc;
  --dim: #9a9587;
  --line: rgba(236, 232, 220, .16);
  --line-2: rgba(236, 232, 220, .32);
  --a1: #ff6b2c; /* platform: schematic orange */
  --a2: #ff5fa8; /* web-art: pink */
  --a3: #8fb4ff; /* processes: blueprint blue */
  --acc: var(--a1);
  --bg: var(--ink);
  --fg: var(--paper);
  --gut: 16px;
  --max: 1280px;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "Martian Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: dark;
}
@media (min-width: 760px) { :root { --gut: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--ink); color: var(--paper); font: 400 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--acc); }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }
::selection { background: var(--acc); color: var(--ink); }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.mono { font: 400 11px/1.5 var(--mono); letter-spacing: .04em; text-transform: uppercase; font-stretch: 87.5%; }
.dim { color: var(--dim); }
.acc { color: var(--acc); }

/* Display type: condensed, heavy, tight. */
.d1, .d2 { font-family: var(--sans); font-weight: 800; font-stretch: 68%; text-transform: uppercase; line-height: .9; letter-spacing: -.012em; text-wrap: balance; }
.d1 { font-size: clamp(46px, 8.2vw, 118px); }
.d2 { font-size: clamp(40px, 8vw, 104px); }
.lede { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.45; max-width: 34em; text-wrap: pretty; }

/* Header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.logo { font: 900 22px/1 var(--sans); font-stretch: 125%; letter-spacing: .02em; text-decoration: none; text-transform: uppercase; }
.logo:hover { color: var(--paper); }
.top nav { display: none; gap: 28px; }
.top nav a { text-decoration: none; }
.top nav a span { color: var(--dim); margin-right: .5em; }
@media (min-width: 900px) { .top nav { display: flex; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 20px; border: 1px solid var(--fg); font: 500 12px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; font-stretch: 87.5%; text-decoration: none; white-space: nowrap; transition: background-color .15s, color .15s, transform .12s; }
.btn:active { transform: scale(.98); }
.btn-fill { background: var(--fg); color: var(--bg); }
.btn-fill:hover { background: var(--acc); border-color: var(--acc); color: var(--ink); }
.btn-line:hover { background: var(--fg); color: var(--bg); }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: 11px; }
.btn i { font-style: normal; }

/* Landing: one narrow column of text, no decoration. */
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 28px; }
.cta .note { flex-basis: 100%; color: var(--dim); }
.stream h1 { font: 800 clamp(32px, 5.4vw, 56px)/1 var(--sans); font-stretch: 75%; letter-spacing: -.01em; text-wrap: balance; }
.lede { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.5; max-width: 40em; text-wrap: pretty; }

/* The agent: the conversation on the left, the work table on the right */
/* The home page is one screen: only the conversation and the table scroll, and nothing moves when they grow. */
.app { height: 100vh; height: 100dvh; overflow: hidden; display: flex; flex-direction: column; }
.app .top { flex: none; }
/* Phone and e-mail in the header: plain text on a wide screen, two touch targets on a phone. One line, always. */
.reach { display: flex; align-items: center; gap: 24px; white-space: nowrap; }
.reach > .mono { text-decoration: none; }
.reach .short { display: none; }
.app .wrap { max-width: 1680px; }
.work { flex: 1; min-height: 0; display: flex; }
.chat { flex: 1; min-width: 0; min-height: 0; position: relative; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; padding: 20px 0 24px; }
.chat::-webkit-scrollbar { display: none; }
.chat:focus-visible { outline-offset: -2px; }
.chat > .stream, .bar > * { width: 100%; max-width: 920px; margin-left: auto; margin-right: auto; }
.stream { display: grid; gap: 18px; align-content: start; }
.stream > li { min-width: 0; display: grid; gap: 14px; justify-items: start; }
.stream .open { gap: 0; }
.stream .you { display: inline-block; padding: 8px 12px; background: var(--paper); color: var(--ink); font-weight: 500; max-width: 40em; }
.stream .bot { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.45; max-width: 38em; text-wrap: pretty; }
.stream .bot.q { font-weight: 700; }
.stream .err { color: var(--a1); }
.stream > li.in { animation: view-in .28s ease-out both; }
@keyframes view-in { from { opacity: 0; } to { opacity: 1; } }
/* Skeletons keep the place of the text and of a question while the model writes them */
.skel { width: 100%; max-width: 920px; display: grid; gap: 10px; }
.sk { display: block; height: 14px; background: linear-gradient(90deg, rgba(236, 232, 220, .07) 25%, rgba(236, 232, 220, .16) 50%, rgba(236, 232, 220, .07) 75%); background-size: 200% 100%; animation: sk 1.3s linear infinite; }
@keyframes sk { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.sk.line { height: 18px; width: min(34em, 100%); }
.sk.short { width: min(20em, 70%); }
.sk.chip { height: 46px; width: 11em; display: inline-block; }
.skel.zapytaj { display: flex; flex-wrap: wrap; gap: 8px; }
.skel.zapytaj .line { flex-basis: 100%; margin-bottom: 6px; }
/* "More below": offered, never forced */
.down { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 50%; background: var(--ink-2); color: var(--paper); font: 400 18px/1 var(--sans); }
.down:hover { border-color: var(--paper); }
.down[hidden] { display: none; }

/* The person to talk to when the conversation has reached its limit */
.view { border: 1px solid var(--line-2); padding: 16px; display: grid; gap: 14px; max-width: 920px; width: 100%; }
.view.person { border-color: var(--a1); max-width: 560px; }
.view.person .who { display: flex; align-items: center; gap: 14px; }
.view.person img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.view.person .who div { display: grid; gap: 2px; }
.view.person .who b { font: 700 18px/1.2 var(--sans); }
.view.person .who .mono { color: var(--dim); }
.view.person .who .mono.on { color: #a9d6a0; }
.view.person .acts { display: flex; flex-wrap: wrap; gap: 10px; }
.view .sum { font-size: 18px; line-height: 1.45; }

.bar { flex: none; display: grid; gap: 8px; padding: 12px 0 10px; border-top: 1px solid var(--line); }
.options { display: flex; flex-wrap: wrap; gap: 8px; }
.options button { text-align: left; border: 1px solid var(--paper); padding: 12px 14px; font: 500 clamp(16px, 1.4vw, 18px)/1.25 var(--sans); transition: background-color .12s, color .12s; }
.options button:hover:not(:disabled), .options button:focus-visible { background: var(--paper); color: var(--ink); }
#agent .options button.picked { background: var(--paper); color: var(--ink); opacity: 1; }
#agent button:disabled { opacity: .45; cursor: default; }
#agent .bar form { display: flex; height: 52px; border: 1px solid var(--line-2); background: var(--ink-2); }
#agent .bar textarea { flex: 1; min-width: 0; height: 100%; padding: 14px 16px; background: none; border: 0; color: var(--paper); font: 400 16px/22px var(--sans); border-radius: 0; resize: none; overflow-y: auto; scrollbar-width: none; display: block; }
#agent .bar textarea::placeholder { color: var(--dim); }
#agent .bar textarea:focus-visible { outline-offset: -2px; }
#agent .bar form button { padding: 0 18px; background: var(--paper); color: var(--ink); font: 600 12px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
#agent .bar form button i { font-style: normal; }
.fine { color: var(--dim); font-size: 12px; line-height: 1.4; }

/* The split. These rules lay the panes out before the components start, with the sizes the components then keep,
   so nothing moves when the script arrives. */
.split { flex: 1; min-width: 0; min-height: 0; display: flex; }
.pane { display: flex; flex-direction: column; min-width: 0; min-height: 0; overflow: hidden; }
.pane.talk { flex: 46 1 0; }
.pane.desk { flex: 54 1 0; padding: 20px 0 14px; }
.divider { flex: none; width: 33px; display: flex; justify-content: center; cursor: col-resize; touch-action: none; }
.divider span { width: 1px; background: var(--line); transition: background-color .15s, width .15s; }
.divider[data-hovering] span, .divider[data-dragging] span { background: var(--paper); }
.divider:focus-visible { outline: 0; }
.divider:focus-visible span { background: var(--acc); width: 3px; }
.divider[data-disabled], .divider[disabled] { cursor: default; }
.divider[data-disabled] span, .divider[disabled] span { background: transparent; }

/* The conversation */
.chatwrap { flex: 1; min-height: 0; display: flex; position: relative; }
/* Two views of the conversation: the talk itself and its map. The switch has a fixed height, so choosing a view moves nothing. */
.views { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.viewtabs { flex: none; height: 40px; display: flex; align-items: stretch; gap: 0; border-bottom: 1px solid var(--line); }
.viewtabs ui-tabs-tab { display: block; }
.viewtabs button { height: 100%; min-width: 44px; padding: 0 14px 0 0; margin-right: 14px; color: var(--dim); border-bottom: 2px solid transparent; font: inherit; letter-spacing: inherit; text-transform: inherit; transition: color .12s, border-color .12s; }
.viewtabs button:hover { color: var(--paper); }
.viewtabs button[data-selected] { color: var(--paper); border-bottom-color: var(--acc); }
.viewtabs button:focus-visible { outline-offset: -3px; }
.viewpane { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.viewpane[hidden] { display: none; }
.mapa-host { flex: 1; min-height: 0; position: relative; }
.stream .open .lede { margin-top: 14px; color: #cfcabd; }
.stream .open .options { margin-top: 24px; }
.bar ui-textarea { flex: 1; min-width: 0; display: block; }
#agent .bar textarea { width: 100%; }
.stream .onstol { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border: 1px dashed var(--line-2); color: var(--paper); text-align: left; transition: border-color .15s, background-color .15s; }
.stream .onstol i { font-style: normal; color: var(--acc); }
.stream .onstol:hover:not(:disabled), .stream .onstol:focus-visible { border-style: solid; border-color: var(--paper); }
#agent .stream .onstol.pending { opacity: 1; color: var(--dim); background: linear-gradient(90deg, rgba(236, 232, 220, .04) 25%, rgba(236, 232, 220, .12) 50%, rgba(236, 232, 220, .04) 75%); background-size: 200% 100%; animation: sk 1.3s linear infinite; }
.stream .sent { color: var(--dim); font-size: 10px; }
.stream .sent::before { content: "+ "; color: var(--acc); }

/* The table's seat. Before the first view it is an empty outline, so the question is the one thing on the screen. */
.seat { flex: 1; min-height: 0; position: relative; display: flex; flex-direction: column; }
/* Before the first message there is one thing on the screen: the question, its answers and the message field, together
   in the middle. The table and the split are not there at all. The visitor's first action brings them in. */
.work.empty .pane.talk { flex: 1 1 100% !important; justify-content: center; }
.work.empty :is(.pane.desk, .divider, .grip) { display: none !important; }
.work.empty .chatwrap { flex: none; }
.work.empty :is(.views, .viewpane) { flex: none; }
.work.empty .viewtabs { display: none; }
.work.empty .chat { overflow: visible; padding-bottom: 20px; }
.work.empty .bar { border-top: 0; padding-top: 0; }
/* From the first action the table's place is there, saying that the agent is preparing the first view. */
.ghost { position: absolute; inset: 0; display: grid; place-items: center; border: 1px dashed var(--line); color: rgba(154, 149, 135, .55); pointer-events: none; transition: opacity .25s; }
.has-table .ghost { opacity: 0; }
.stol { flex: 1; min-height: 0; display: flex; flex-direction: column; border: 1px solid var(--line-2); background: var(--ink); opacity: 0; visibility: hidden; transition: opacity .25s; }
.has-table .stol, .sheet .stol { opacity: 1; visibility: visible; }
.stol-head { flex: none; height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 16px; border-bottom: 1px solid var(--line-2); }
.stol-head h2 { font-weight: 500; color: var(--paper); white-space: nowrap; }
.stol-head .log { flex: 1; text-align: right; min-width: 0; font-size: 13px; line-height: 1.3; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Elements of the table: one tab each, one panel shown at a time, so the table never grows */
.secs { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.tabs { flex: none; height: 44px; display: flex; gap: 0; overflow-x: auto; overscroll-behavior: contain; scrollbar-width: none; border-bottom: 1px solid var(--line); position: relative; }
.tabs::-webkit-scrollbar { display: none; }
.tabs ui-tabs-tab { display: block; flex: none; }
.tabs button { height: 100%; display: flex; align-items: center; gap: 8px; padding: 0 16px; color: var(--dim); border-bottom: 2px solid transparent; white-space: nowrap; transition: color .12s, border-color .12s; }
.tabs button:hover { color: var(--paper); }
.tabs button[data-selected] { color: var(--paper); border-bottom-color: var(--acc); }
.tabs button:focus-visible { outline-offset: -3px; }
.tabs .t { font: 700 16px/1 var(--sans); }
.tabs .meta { font-size: 10px; color: var(--dim); }
.tabs button[data-selected] .meta { color: var(--acc); }
.stol-scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; position: relative; }
.sec-body { display: grid; gap: 12px; padding: 14px 16px 18px; align-content: start; }
ui-tabs-panel.sec-body[hidden] { display: none; }
ui-tabs-panel.sec-body { transition: opacity .15s; }
ui-tabs-panel.sec-body[data-starting-style] { opacity: 0; }
.sec-body .cap { color: var(--dim); }
.sec-body .hint { color: var(--dim); font-size: 10px; text-transform: none; letter-spacing: 0; }
.sec-body .small { color: var(--dim); font-size: 13px; line-height: 1.5; }
.flash { animation: touched 1.2s ease-out; }
@keyframes touched { from { background-color: rgba(255, 107, 44, .3); } to { background-color: transparent; } }

/* Lists to tick and to put in order */
stol-list { display: block; border-top: 1px solid var(--line); }
stol-item.row { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: start; border-bottom: 1px solid var(--line); background-color: var(--ink); color: var(--paper); }
stol-item.step { grid-template-columns: 40px 2.2em minmax(0, 1fr); }
stol-item[data-moving] { background-color: #241a12; box-shadow: inset 2px 0 0 var(--acc); }
/* While a pointer drags an item the core writes how far it has gone; the item follows it above its neighbours. */
stol-item[data-dragging] { position: relative; z-index: 1; transform: translate(0, var(--drag-y, 0)); background-color: var(--ink-2); box-shadow: 0 10px 28px rgba(0, 0, 0, .6), inset 0 0 0 1px var(--acc); }
stol-list[data-moving] { user-select: none; -webkit-user-select: none; }
.handle { user-select: none; -webkit-user-select: none; width: 40px; height: 46px; display: grid; place-items: center; color: var(--dim); cursor: grab; touch-action: none; }
.handle:hover { color: var(--paper); }
.handle[aria-pressed="true"] { color: var(--acc); cursor: grabbing; }
.handle:focus-visible { outline-offset: -4px; }
.pick { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; padding: 11px 8px 11px 0; min-height: 46px; cursor: pointer; }
ui-checkbox { width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid var(--paper); margin-top: 1px; cursor: pointer; transition: background-color .12s, border-color .12s; }
ui-checkbox[data-checked] { background: var(--acc); border-color: var(--acc); }
ui-checkbox:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }
ui-checkbox-indicator { width: 6px; height: 11px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); rotate: 45deg; translate: 0 -1px; }
ui-checkbox-indicator[hidden] { display: none; }
.txt { display: grid; gap: 2px; min-width: 0; }
.txt b { font-weight: 700; line-height: 1.3; }
.txt .why { color: #cfcabd; font-size: 15px; line-height: 1.4; }
.txt .new { margin-left: 8px; font-style: normal; font-weight: 400; font-size: 9px; color: var(--acc); }
.step .pos { padding-top: 15px; color: var(--acc); }
.step .txt { padding: 11px 8px 11px 0; }

/* Plain sections */
.areas { display: grid; gap: 0; border-top: 1px solid var(--line); }
.area { display: grid; gap: 4px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.area h3 { font: 700 17px/1.2 var(--sans); }
.area.marked { box-shadow: inset 2px 0 0 var(--acc); padding-left: 12px; }
.area.marked h3 { color: var(--acc); }
.area p { color: #cfcabd; font-size: 15px; line-height: 1.4; }
.area ul { display: grid; gap: 2px; font-size: 13px; line-height: 1.4; color: var(--dim); }
.area ul li::before { content: "+ "; color: var(--paper); }
.works { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.works .work { display: grid; gap: 8px; align-content: start; flex: none; padding: 0; min-height: 0; }
.works img { width: 100%; height: auto; aspect-ratio: 1440 / 900; border: 1px solid var(--line); }
.works h3 { font: 700 16px/1.2 var(--sans); }
.works p { color: #cfcabd; font-size: 14px; line-height: 1.4; }
.sec-body .rows { border-top: 1px solid var(--line); }
.sec-body .rows > div { padding: 9px 0; border-bottom: 1px solid var(--line); display: grid; gap: 2px; }
.sec-body .rows dt { font-weight: 700; }
.sec-body .rows dd { color: #cfcabd; font-size: 15px; }

/* The call card: the last tab, "Kontakt". It has the whole height of the table, so the summary and every point are in
   view; the tab scrolls only when the card is longer than the table. */
.tabs .tab-kontakt { margin-left: auto; }
.tabs .tab-kontakt .t { color: var(--acc); }
.call ui-textarea { display: block; }
.call textarea { display: block; width: 100%; background: none; border: 0; border-bottom: 1px dashed var(--line); color: var(--paper); font: inherit; line-height: 1.45; padding: 2px 0; border-radius: 0; resize: none; overflow: hidden; }
.call textarea::placeholder { color: var(--dim); }
.call textarea:hover { border-bottom-color: var(--line-2); }
.call textarea:focus { outline: 0; border-bottom-color: var(--acc); }
.call .sum textarea { font-size: 18px; min-height: 56px; }
.call .needs { display: grid; gap: 2px; }
.call .needs:empty { display: none; }
.call .needs li { display: grid; grid-template-columns: 1.1em minmax(0, 1fr) auto; align-items: baseline; gap: 0 8px; color: #cfcabd; }
.call .needs li::before { content: "+"; color: var(--acc); }
.call .needs textarea { color: #cfcabd; }
.call .needs.picked li { padding: 2px 0; }
.call .needs.picked i { font-style: normal; font-size: 9px; color: var(--dim); }
.call .more { justify-self: start; color: var(--dim); text-decoration: underline; text-underline-offset: .2em; }
.call .more:hover { color: var(--paper); }
.call .acts { display: flex; flex-wrap: wrap; gap: 8px; }
.call .acts .btn { flex: 1 1 200px; }
/* Saving the summary on one's own e-mail. The line under the fields keeps room for two lines, so a message moves nothing. */
.keep { display: grid; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.keep .fields { display: flex; flex-wrap: wrap; gap: 8px; }
.keep input { flex: 1 1 150px; min-width: 0; height: 44px; padding: 0 12px; background: var(--ink-2); border: 1px solid var(--line-2); color: var(--paper); font: 400 16px/1 var(--sans); border-radius: 0; }
.keep input[type="email"] { flex: 1.4 1 190px; }
.keep input::placeholder { color: var(--dim); }
.keep input:focus-visible { outline-offset: 0; }
.keep .btn { min-height: 44px; flex: 0 1 auto; }
.keep .status { min-height: 3em; }
.keep .status.bad { color: var(--a1); }
.keep.done .status { color: #a9d6a0; }

/* The contact bar: one line under every tab, of fixed height. It is there from the moment the table appears. */
.pasek { flex: none; height: 56px; display: flex; align-items: center; gap: 8px; padding: 0 16px; border-top: 1px solid var(--acc); }
.pasek p { flex: 1; min-width: 0; color: var(--paper); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pasek .btn { flex: none; }
.pasek .tel { flex: none; text-decoration: none; padding: 0 8px; }
/* The phone number sits in the bar only when the table is wide enough to keep everything on one line. */
.stol { container-type: inline-size; }
@container (max-width: 660px) { .pasek .tel { display: none; } }
.call .direct { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; color: var(--dim); }
.call .direct a { color: var(--paper); }
.call .direct a:hover, .pasek .tel:hover { color: var(--acc); }

/* Phone: the conversation fills the screen, the table is a sheet with its handle above the message field */
.grip { display: none; }
ui-drawer-backdrop { background: rgba(0, 0, 0, .62); }
.sheet { width: 100%; height: calc(100dvh - 56px); display: flex; flex-direction: column; gap: 10px; padding: 8px 8px 12px; background: var(--ink); border-top: 1px solid var(--line-2); color: var(--paper); }
.sheet[hidden] { display: none; }
.sheet-grip { flex: none; align-self: center; width: 44px; height: 4px; background: var(--line-2); }
.sheet-foot { flex: none; display: flex; gap: 8px; }
.sheet-foot .btn { min-height: 44px; flex: none; }
.sheet-foot ui-drawer-close { flex: 1; display: flex; }
.sheet-close { flex: 1; }
@media (max-width: 899px) {
  .pane.talk { flex: 1 1 100% !important; }
  .pane.desk, .divider { display: none !important; }
  .grip { display: block; flex: none; height: 44px; margin-bottom: 8px; }
  .viewtabs { height: 45px; }
  .viewtabs button { padding: 0 16px 0 0; }
  .grip button { width: 100%; height: 100%; display: flex; align-items: center; gap: 10px; padding: 0 12px; border: 1px solid var(--acc); color: var(--paper); }
  .grip button span { white-space: nowrap; }
  .grip .count { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; text-align: left; color: var(--dim); }
  .grip .act { text-decoration: underline; text-underline-offset: .2em; }
  .bar { padding-top: 0; border-top: 0; padding-bottom: 6px; }
  #agent .bar textarea { padding-left: 12px; padding-right: 8px; }
  .fine { font-size: 11px; }
  /* Touch targets: at least 44px */
  .reach { gap: 8px; }
  .reach .long, .reach > .btn { display: none; }
  .reach .short { display: inline; }
  .reach > .mono { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid var(--fg); }
  .call .direct a { min-height: 44px; display: inline-flex; align-items: center; }
  .top .logo { min-height: 44px; display: inline-flex; align-items: center; }
  .stream .onstol { min-height: 44px; }
  .tabs { height: 46px; }
  .tabs .tab-kontakt { margin-left: 0; }
  .handle { width: 44px; height: 48px; }
  stol-item.row { grid-template-columns: 44px minmax(0, 1fr); }
  stol-item.step { grid-template-columns: 44px 2.2em minmax(0, 1fr); }
  .works h3 a, .sec-body .rows dt a { min-height: 44px; display: inline-flex; align-items: center; }
  .stol-head { padding: 0 12px; }
  .sec-body { padding-left: 12px; padding-right: 12px; }
  .call .more { min-height: 44px; }
  .call .needs textarea { padding: 11px 0; }
  .call .needs.picked li { padding: 9px 0; }
  .call .acts .btn { flex: 1 1 140px; padding: 0 10px; white-space: normal; text-align: center; }
  .keep input, .keep input[type="email"], .keep .btn { flex: 1 1 100%; }
  .pasek { padding: 0 8px; gap: 6px; }
  .pasek .btn { min-height: 44px; padding: 0 10px; }
  /* The company's data stay one line that can be swiped sideways, so the conversation keeps its height. */
  .app .foot.mini { flex-wrap: nowrap; gap: 0 24px; overflow-x: auto; scrollbar-width: none; padding-top: 0; padding-bottom: max(0px, env(safe-area-inset-bottom)); border-top: 0; }
  .foot.mini::-webkit-scrollbar { display: none; }
  .foot.mini .mono { flex: none; flex-wrap: nowrap; white-space: nowrap; align-items: center; min-height: 44px; }
  .foot.mini a { min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; }
  .pasek .pre { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .sk { animation: none; }
  .stream > li.in { animation: none; }
  .ghost, .stol, ui-tabs-panel.sec-body { transition: none; }
  .flash { animation: none; }
  #agent .stream .onstol.pending { animation: none; }
}

/* Footer */
.foot { border-top: 1px solid var(--line-2); padding-top: 24px; padding-bottom: 40px; display: grid; gap: 24px; color: var(--dim); }
.foot .mono { line-height: 1.9; }
.foot a { color: var(--paper); }
.foot a:hover { color: var(--a1); }
@media (min-width: 760px) { .foot { grid-template-columns: 1.4fr 1fr 1fr; } }
.foot.mini { flex: none; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 32px; padding-top: 12px; padding-bottom: 14px; }
.foot.mini .mono { font-size: 10px; line-height: 1.8; display: flex; flex-wrap: wrap; gap: 0 16px; }
.foot.mini strong { font-weight: 400; color: var(--paper); }
.foot.mini a { text-decoration: none; }
.foot.mini a:hover { text-decoration: underline; }
address { font-style: normal; }
.foot address strong { font-weight: 400; color: var(--paper); }

/* Legal pages */
.doc { max-width: 46em; padding-top: 40px; padding-bottom: 96px; }
.doc h1 { font: 800 clamp(34px, 6vw, 64px)/.95 var(--sans); font-stretch: 68%; text-transform: uppercase; text-wrap: balance; }
.doc .meta { margin-top: 16px; color: var(--dim); }
.doc h2 { margin-top: 48px; padding-top: 16px; border-top: 1px solid var(--line); font: 700 24px/1.1 var(--sans); font-stretch: 75%; text-transform: uppercase; }
.doc p, .doc ul { margin-top: 16px; }
.doc ul { list-style: square; padding-left: 1.2em; display: grid; gap: 8px; }
.doc a { color: var(--a1); }

/* 404 */
.lost { min-height: 70vh; display: grid; align-content: center; gap: 24px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
.btn[hidden] { display: none; }
