/* Venanto pages in the homepage's design (owner 2026-11-03: "farklı sayfalarda bazı tipler değişiyor, hepsi
   anasayfadaki tasarımdan miras almalı, box köşeleri falan değişiyor").
   Loaded last on every page that is not the homepage (sign-up, log-in, try, setup, inbox, account, the chat page and
   the documents), after vilrio-v3.css and its page sheet: the v3 names every older sheet reads take v4's values, and
   the shared parts take v4's shapes: the night band on top, pill buttons and fields in the sunrise colour, Instrument
   Sans headings, cards with the homepage's corners. */
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/static/fonts/instrument-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/static/fonts/instrument-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  /* v4's palette (vilrio-v4.css) under the names the v3 sheets use */
  --gece: #101B3A;
  --gece-2: #1C2552;
  --gece-text: #EEF2F8;
  --gece-soft: #A9B6CC;
  --lamba: #FFC53D;
  --lamba-deep: #E5A40E;
  --gunduz: #FFFFFF;
  --sis: #F4F3FA;
  --sis-line: #DCE3EC;
  --murekkep: #13203A;
  --murekkep-soft: #4A5772;
  --font: "Atkinson Hyperlegible Next", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Instrument Sans", "Atkinson Hyperlegible Next", system-ui, sans-serif;
  --sunrise: linear-gradient(135deg, #FFB06E 0%, #FFD45C 100%);
  --night: radial-gradient(120% 90% at 78% 30%, #1C2552 0%, #101B3A 38%, #060A18 75%);
  /* v4's shapes: cards 24, panels 26, pills for every one-line field and button, 22 for text areas */
  --r-panel: 26px;
  --r-card: 24px;
  --r-bubble: 20px;
  --r-field: 999px;
  --r-area: 22px;
}

body { font: 400 19px/1.6 var(--font); }
h1, h2, h3 { font-family: var(--display); font-weight: 650; letter-spacing: -0.025em; text-wrap: balance; }
:focus-visible { outline: 3px solid var(--lamba); outline-offset: 3px; border-radius: 8px; }

/* Buttons: the homepage's pill in the sunrise colour; the quiet one is a pill outline. */
.v3-btn {
  border-radius: 999px; background: var(--sunrise); font-family: var(--font);
  box-shadow: 0 12px 32px -12px rgba(255, 160, 90, 0.7), inset 0 -2px 0 rgba(196, 112, 34, 0.45);
  transition: transform 140ms ease, box-shadow 140ms ease;
}
.v3-btn:hover { transform: translateY(-1px); box-shadow: 0 18px 40px -12px rgba(255, 160, 90, 0.85), inset 0 -2px 0 rgba(196, 112, 34, 0.45); }
.v3-btn:active, .v3-btn[disabled] { transform: none; }
.v3-btn--small { border-radius: 999px; }
.v3-btn--ghost { background: transparent; box-shadow: inset 0 0 0 2px var(--murekkep); }
.v3-btn--ghost:hover { transform: none; box-shadow: inset 0 0 0 2px var(--murekkep), 0 0 0 4px rgba(19, 32, 58, 0.1); }
.setup-hero .v3-btn--ghost, .v3-chatbox .v3-btn--ghost { box-shadow: inset 0 0 0 2px rgba(238, 242, 248, 0.5); color: var(--gece-text); }

/* The header is the homepage's night band, with the light logo (templates use logo-night.svg). */
.v3-top { background: var(--night); border-bottom: 0; color: var(--gece-text); }
.v3-top__row { min-height: 84px; }
.v3-top .v3-brand img { height: 38px; }
.v3-top .v3-nav a { color: var(--gece-soft); }
.v3-top .v3-nav a:hover { color: var(--gece-text); }
.v3-top .v3-lang summary { border-radius: 999px; box-shadow: inset 0 0 0 1.5px rgba(238, 242, 248, 0.25); color: var(--gece-text); }
.v3-top .v3-lang[open] summary { box-shadow: inset 0 0 0 1.5px rgba(238, 242, 248, 0.6); }
.v3-top .v3-lang ul { color: var(--murekkep); border-radius: 16px; }
.v3-top .app-nav__tab { color: var(--gece-soft); }
.v3-top .app-nav__tab:hover { background: rgba(238, 242, 248, 0.08); color: var(--gece-text); }
.v3-top .app-nav__tab.is-active { background: rgba(238, 242, 248, 0.14); color: var(--gece-text); }
.v3-top .app-nav__out { color: var(--gece-soft); }
.v3-top .app-nav__out:hover { background: rgba(238, 242, 248, 0.08); color: var(--gece-text); }
.chat-top { background: var(--night); }

/* Fields: one-line fields are pills (through --r-field); text areas keep a softer corner; the lamp shows focus. */
.v3-start__form input, .v3-chat-form input, .setup-copy input, .app-input, .setup-hours select, .setup-rules select,
.setup-hours__row input[type=time] { border-radius: 999px; padding-inline: 20px; }
.setup-copy textarea, .setup-form > textarea, .setup-rules__list textarea { border-radius: var(--r-area); padding-inline: 20px; }
.v3-start__form input:focus, .setup-copy input:focus, .setup-copy textarea:focus, .app-input:focus, .setup-form > textarea:focus,
.setup-rules__list textarea:focus {
  border-color: var(--lamba-deep); box-shadow: 0 0 0 3px rgba(255, 197, 61, 0.28);
}
.v3-chat-form input:focus { box-shadow: 0 0 0 3px rgba(255, 197, 61, 0.35); }

/* Cards and panels: the homepage's corners. */
.setup-row, .setup-all, .v3-start__card { border-radius: var(--r-card); }
.setup-hero, .v3-chatbox, .v3-night { border-radius: var(--r-panel); }
.app-item, .app-conv, .setup-choice { border-radius: 18px; }
.setup-hero, .v3-chatbox { background: radial-gradient(120% 90% at 85% 0%, var(--gece-2) 0%, var(--gece) 45%, #060A18 100%); }

/* The footer is the homepage's dark band, at the bottom of the screen even when the page is short (sign-in, the
   error page): no white strip under it. */
.v3-foot { background: linear-gradient(180deg, var(--gece) 0%, #060A18 100%); }
body:has(> .v3-foot) { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
body:has(> .v3-foot) > main { flex: 1 0 auto; }
