/* ikSpace portal. Fonts: Onest, Unbounded (SIL OFL 1.1, fonts/OFL-*.txt), self-hosted. */

@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/onest-cyrillic-400-normal.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/onest-latin-400-normal.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;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/onest-cyrillic-500-normal.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/onest-latin-500-normal.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;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/onest-cyrillic-600-normal.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/onest-latin-600-normal.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;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/unbounded-cyrillic-600-normal.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/unbounded-latin-600-normal.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;
}

/* ---- ikSpace portal ---------------------------------------------------------------------- */

:root {
  --accent: #2F5BD3;
  --accent-hover: #1F45AE;
  --accent-soft: #E8EEFC;
  --ground: #F5F6F8;
  --ink: #14171F;
  --panel: #12161F;
  --panel-line: #343B49;
  --panel-text: #B9C0CC;
  --muted: #4A5160;
  --muted-2: #5B6270;
  --line: #E3E6EB;
  --field: #CFD4DC;
  --white: #FFFFFF;
  --green: #1E8A6E;
  --orange: #C2611F;
  --danger: #B42318;
  --danger-soft: #FEF3F2;
  --display: 'Unbounded', 'Onest', system-ui, sans-serif;
  --body: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--ground);
}

body.login { background: var(--panel); }

h1, h2, h3 { margin: 0; line-height: 1.2; }
h1, h2 { font-family: var(--display); font-weight: 600; }
h3 { font-size: 19px; font-weight: 600; }
p { margin: 0; }

a { color: var(--accent); }
a:hover { color: var(--accent-hover); }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

[hidden] { display: none !important; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* The mark: "ik" in a rounded square. */
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.brand:hover { color: inherit; }
.mark {
  width: 36px; height: 36px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ink); color: var(--white);
  font-family: var(--display); font-size: 13px; font-weight: 600;
}
.brand-name { font-family: var(--display); font-size: 20px; font-weight: 600; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 18px; border-radius: 10px;
  border: 1px solid transparent; background: var(--accent); color: var(--white);
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--accent-hover); color: var(--white); }
.btn:disabled { opacity: .6; cursor: progress; }
.btn-lg { min-height: 48px; padding: 12px 22px; border-radius: 12px; }
.btn-dark { background: var(--ink); }
.btn-dark:hover { background: #2A2F3A; }
.btn-ghost { background: var(--white); border-color: var(--field); color: var(--ink); }
.btn-ghost:hover { background: var(--ground); color: var(--ink); }

/* ---- login page ---------------------------------------------------------------------------- */

.split { min-height: 100vh; display: flex; flex-wrap: wrap; }

.side {
  flex: 1 1 420px; min-width: 0;
  background: var(--panel); color: var(--white);
  padding: 48px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
}
.side .mark { width: 40px; height: 40px; border-radius: 11px; background: var(--white); color: var(--panel); font-size: 14px; }
.side .brand-name { font-size: 22px; }
.side-text { display: flex; flex-direction: column; gap: 16px; max-width: 460px; }
.side h1 { font-size: 36px; }
.side p { font-size: 18px; line-height: 1.55; color: var(--panel-text); }
.side-link {
  align-self: flex-start; padding: 10px 0;
  color: var(--white); font-weight: 600; text-decoration: underline; text-underline-offset: 4px;
}
.side-link:hover { color: var(--panel-text); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--panel-line); color: #D5DAE2; font-size: 14px; }

.main {
  flex: 1 1 480px; min-width: 0;
  background: var(--ground); padding: 48px 24px;
  display: flex; align-items: center; justify-content: center;
}

.card {
  width: 100%; max-width: 400px;
  background: var(--white); border: 1px solid var(--line); border-radius: 20px;
  padding: 36px; display: flex; flex-direction: column; gap: 18px;
}
.card h2 { font-size: 24px; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 500; font-size: 15px; }
.label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.field input {
  height: 46px; padding: 0 14px; width: 100%;
  border: 1px solid var(--field); border-radius: 10px; background: var(--white); color: var(--ink);
  font: inherit; font-size: 16px;
}
.field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field input[aria-invalid="true"] { border-color: var(--danger); }

.link-button {
  padding: 0; border: 0; background: none; cursor: pointer;
  color: var(--accent); font: inherit; font-size: 14px;
}
.link-button:hover { color: var(--accent-hover); text-decoration: underline; }

.hint { padding: 12px 14px; border-radius: 10px; background: var(--ground); color: var(--muted); font-size: 14px; }

.error { padding: 10px 14px; border-radius: 10px; background: var(--danger-soft); color: var(--danger); font-size: 15px; }
.error:empty { display: none; }

.divider { height: 1px; background: var(--line); }
.card-link { text-align: center; text-decoration: none; font-weight: 500; padding: 4px 0; }
.card-note { text-align: center; color: var(--muted-2); font-size: 14px; }

/* ---- the invite link's page (/join) ----------------------------------------------------------- */

.join-form { display: flex; flex-direction: column; gap: 18px; }
.join-steps { gap: 20px; }
.join-steps li > * + * { margin-top: 10px; }
.join-steps li > b { display: block; }
.join-steps .btn { display: flex; width: 100%; }
.join-alt { align-self: center; font-size: 15px; padding: 4px 0; }
.big-check {
  width: 56px; height: 56px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: #E3F4EE; color: #155E48; font-size: 28px; font-weight: 600;
}

/* ---- pages with a top bar: «О проекте», the signed-in home ------------------------------------ */

.wrap { max-width: 1160px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

.topbar { background: var(--white); border-bottom: 1px solid var(--line); }
.topbar .wrap {
  padding-top: 14px; padding-bottom: 14px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px;
}
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.nav a:not(.btn) { padding: 10px 12px; text-decoration: none; color: #3A4150; font-weight: 500; border-radius: 8px; }
.nav a:not(.btn):hover { color: var(--ink); background: var(--ground); }
.nav .btn { margin-left: 8px; }

.section { padding-top: 56px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 24px; }
.section h2 { font-size: 28px; }
.band { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.hero { padding-top: 72px; padding-bottom: 56px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.hero-text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.hero h1 { font-size: 44px; line-height: 1.15; }
.lead { font-size: 19px; line-height: 1.55; color: var(--muted); }
.badge {
  align-self: flex-start; padding: 6px 12px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent-hover); font-size: 14px; font-weight: 600;
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* The decorative "spaces" preview next to the hero text. */
.preview {
  flex: 1 1 420px; min-width: 0;
  background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 24px;
  display: flex; flex-direction: column; gap: 16px; box-shadow: 0 12px 32px rgba(20, 23, 31, .06);
}
.preview-top { display: flex; align-items: center; justify-content: space-between; }
.tabs { display: flex; gap: 8px; }
.tabs span { padding: 6px 12px; border-radius: 8px; background: #F0F2F5; color: var(--muted); font-size: 14px; font-weight: 600; }
.tabs span:first-child { background: var(--ink); color: var(--white); }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--accent-soft); }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tile { border-radius: 14px; background: var(--ground); padding: 16px; display: flex; flex-direction: column; gap: 10px; font-weight: 600; }
.tile .bar { height: 8px; width: 65%; border-radius: 4px; background: #DDE1E7; }
.tile .dot { width: 40px; height: 40px; border-radius: 12px; }
.tile-more { background: none; border: 2px dashed var(--field); align-items: center; justify-content: center; color: #6B7280; font-weight: 500; }

.c-blue { background: var(--accent); }
.c-green { background: var(--green); }
.c-orange { background: var(--orange); }
.c-grey { background: #E9ECF0; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }

.app-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 24px;
  display: flex; flex-direction: column; gap: 12px;
}
.app-card.soon { background: none; border: 2px dashed var(--field); }
.app-card p { color: var(--muted); }
.app-card > a, .app-card .links { margin-top: auto; }
.app-card a { font-weight: 600; text-decoration: none; }
.app-card .links { display: flex; flex-direction: column; gap: 6px; }
.app-card-top { display: flex; align-items: center; justify-content: space-between; }
.app-icon { width: 48px; height: 48px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; }
.app-icon svg { width: 24px; height: 24px; }
.status { padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; background: #E3F4EC; color: #155E48; }
.status.soon { background: #FDF0DC; color: #7A4300; }

.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; }
.section-head span { color: var(--muted); }

.dl-card {
  border: 1px solid var(--line); border-radius: 16px; padding: 24px; background: var(--white);
  display: flex; flex-direction: column; gap: 14px;
}
.dl-card svg { width: 32px; height: 32px; }
.dl-card p { color: var(--muted); }
.dl-card .btn { margin-top: auto; }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }
.facts div { display: flex; flex-direction: column; gap: 8px; }
.facts h3 { font-size: 18px; }
.facts p { color: var(--muted); }

.footer { border-top: 1px solid var(--line); }
.footer .wrap { padding-top: 24px; padding-bottom: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--muted-2); font-size: 14px; }
.footer a { color: var(--muted-2); }

/* ---- the cabinet ------------------------------------------------------------------------------ */

.wrap.wide { max-width: 1240px; }
.topbar-left { display: flex; align-items: center; gap: 12px 20px; flex-wrap: wrap; }
.space-switch select {
  height: 40px; padding: 0 36px 0 14px; max-width: 220px;
  border: 1px solid var(--field); border-radius: 10px; background: var(--white); color: var(--ink);
  font: inherit; font-weight: 600; cursor: pointer;
}
.account { display: flex; align-items: center; gap: 12px; }
.account-name { font-weight: 500; overflow-wrap: anywhere; }

.cabinet { padding-top: 32px; padding-bottom: 56px; display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.side-nav { flex: 1 1 200px; max-width: 240px; display: flex; flex-direction: column; gap: 4px; position: sticky; top: 16px; }
.side-nav a { padding: 12px 14px; border-radius: 10px; color: #3A4150; text-decoration: none; font-weight: 500; }
.side-nav a:hover { background: var(--accent-soft); color: var(--accent-hover); }
.cabinet-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.cabinet-main h1 { font-size: 28px; }
.cabinet-main h2 { font-family: var(--body); font-size: 18px; }
.cabinet-main h3 { font-size: 15px; color: var(--muted); font-weight: 600; }
.cabinet section { scroll-margin-top: 16px; }
.block { display: flex; flex-direction: column; gap: 14px; }

.app-tile {
  background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 20px;
  display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: var(--ink);
}
.app-tile:hover { color: var(--ink); border-color: var(--field); box-shadow: 0 8px 24px rgba(20, 23, 31, .06); }
.app-tile-top { display: flex; justify-content: space-between; align-items: center; }
.app-tile .app-icon { width: 44px; height: 44px; border-radius: 12px; }
.app-tile-name { font-weight: 600; font-size: 18px; }
.app-tile-note { color: var(--muted-2); font-size: 15px; }
.count {
  min-width: 28px; height: 28px; padding: 0 8px; border-radius: 999px;
  background: var(--accent); color: var(--white); font-size: 14px; font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center;
}

.panels { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; align-items: start; }
.panel {
  min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 22px;
  display: flex; flex-direction: column; gap: 14px;
}
.panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }

.rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.rows .row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid #EEF0F3; }
.rows .row:last-child { border-bottom: 0; }
.rows.compact .row { padding: 7px 0; }
.rows .row.warn .row-title { color: #7A4300; }
.row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.row-title { font-weight: 500; overflow-wrap: anywhere; }
.row-sub { color: var(--muted-2); font-size: 14px; overflow-wrap: anywhere; }
.row-note { padding-top: 10px; color: var(--muted-2); font-size: 14px; }
.muted { color: var(--muted-2); }
.avatar-sq {
  width: 36px; height: 36px; border-radius: 10px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: #E9ECF0; color: var(--ink); font-weight: 600;
}
.avatar-sq.on { background: var(--ink); color: var(--white); }
.photo {
  width: 32px; height: 32px; border-radius: 50%; flex: none; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  background: #E9ECF0; color: var(--ink); font-weight: 600;
}
.photo[hidden] { display: none; }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo.large { width: 96px; height: 96px; font-size: 36px; }
.profile-photo { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.profile-photo p { margin: 0; }
.btn-sm { min-height: 36px; padding: 6px 12px; font-size: 14px; font-weight: 500; border-radius: 8px; flex: none; }
.status { flex: none; }

.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 12px; font-size: 15px; }
.notice svg { width: 22px; height: 22px; flex: none; }
.notice.warn { background: #FDF0DC; color: #5C3300; }
.notice.info { background: var(--accent-soft); color: var(--accent-hover); display: block; }

.password summary { cursor: pointer; color: var(--accent); font-weight: 500; padding: 4px 0; }
.password summary:hover { color: var(--accent-hover); }
.panel form .btn { align-self: flex-start; }
.password form, #profile-form { display: flex; flex-direction: column; gap: 14px; margin-top: 12px; }
#profile-form { margin-top: 0; }
.success { color: #155E48; font-size: 15px; }
.success:empty { display: none; }
.small-link { font-size: 14px; text-decoration: none; }
.field-note { margin: 0; color: var(--muted-2); font-size: 14px; }

/* ---- two-factor sign-in, dialogs ------------------------------------------------------------- */

.two-factor { display: flex; flex-direction: column; gap: 12px; }
.two-factor form { display: flex; flex-direction: column; gap: 14px; }
.two-factor > .btn { align-self: flex-start; }
.notice.ok { background: #E3F4EE; color: #155E48; }
.button-row { display: flex; gap: 8px; flex-wrap: wrap; }
.btn-ghost.danger { color: var(--danger); }
.btn-ghost.danger:hover { background: var(--danger-soft); color: var(--danger); }
.steps { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 12px; }
.steps li::marker { font-weight: 600; }
.qr { display: block; width: 184px; height: 184px; margin-top: 10px; padding: 6px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.mono { font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; letter-spacing: .03em; }
.secret-key { margin-top: 6px; font-size: 15px; overflow-wrap: anywhere; user-select: all; }
.codes {
  list-style: none; margin: 0; padding: 12px 14px; border-radius: 10px; background: var(--ground);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 16px; font-size: 16px;
}

dialog {
  width: min(420px, calc(100vw - 32px)); border: 0; border-radius: 16px; padding: 24px;
  background: var(--white); color: var(--ink); box-shadow: 0 20px 60px rgba(20, 23, 31, .25);
}
dialog::backdrop { background: rgba(20, 23, 31, .45); }
dialog form { display: flex; flex-direction: column; gap: 14px; }
dialog h2 { margin: 0; font-size: 20px; }
dialog p { margin: 0; }
.dialog-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }

/* ---- narrow screens -------------------------------------------------------------------------- */

@media (max-width: 720px) {
  .side { padding: 32px 20px; gap: 24px; }
  .side h1 { font-size: 28px; }
  .side p { font-size: 17px; }
  .main { padding: 32px 16px; }
  .card { padding: 24px 20px; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .hero { padding-top: 40px; gap: 32px; }
  .hero h1 { font-size: 30px; }
  .lead { font-size: 17px; }
  .section { padding-top: 40px; padding-bottom: 40px; }
  .section h2 { font-size: 24px; }
  .nav a:not(.btn) { display: none; }  /* one scrolling page: the button is enough */
  .nav .btn { margin-left: 0; }
  .chips { display: none; }
  .cabinet { padding-top: 20px; gap: 16px; }
  .side-nav { position: static; max-width: none; flex-direction: row; overflow-x: auto; gap: 4px; scrollbar-width: none; }
  .side-nav a { white-space: nowrap; padding: 8px 12px; }
  .cabinet-main h1 { font-size: 24px; }
  .panels { grid-template-columns: minmax(0, 1fr); }
  .panel { padding: 18px 16px; }
  .account-name { display: none; }
  .preview { padding: 16px; }
  /* The invite page: who invites, then the steps right away — no half-screen dark header. */
  .join .split { min-height: 0; }
  .join .side { flex-basis: auto; padding: 20px 16px 24px; gap: 16px; }
  .join .side h1 { font-size: 24px; }
  .join .side p { font-size: 16px; }
  .join .side-link { display: none; }
  .join .main { align-items: flex-start; padding-top: 20px; }
}

/* ---- «Согласование»: a guest's questionnaire (/round#TOKEN) ---------------------------------- */

body.round-page { background: var(--ground); }
.round-top { padding: 16px 24px; background: var(--white); border-bottom: 1px solid var(--line); }
.round-main { padding: 24px 16px 48px; display: flex; justify-content: center; }
.round-card { max-width: 640px; padding: 28px; gap: 16px; }
.round-card h2 { font-size: 22px; }
.round-meta { color: var(--muted); font-size: 15px; }
.round-note { white-space: pre-wrap; }
.round-q { display: flex; flex-direction: column; gap: 10px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; }
.round-q h3 { font-size: 18px; }
.round-q .round-note { color: var(--muted); font-size: 15px; }
.round-opt { display: flex; gap: 10px; align-items: flex-start; padding: 8px 10px; border-radius: 10px; cursor: pointer; }
.round-opt:hover { background: var(--ground); }
.round-opt input { margin-top: 4px; width: 18px; height: 18px; flex: none; accent-color: var(--accent); }
.round-text {
  width: 100%; min-height: 72px; padding: 10px 12px; resize: vertical;
  border: 1px solid var(--field); border-radius: 10px; background: var(--white); color: var(--ink); font: inherit; font-size: 16px;
}
.round-text:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.round-text:disabled { background: var(--ground); }
.round-buttons { display: flex; gap: 10px; }
.round-buttons .btn { flex: 1; }
.round-docs { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; }
.round-docs a { word-break: break-word; }
.round-list { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.round-list li { padding: 10px 12px; border-radius: 10px; background: var(--ground); }
.round-list li b { display: block; }
.round-list .link-button { margin-top: 4px; }
.round-closed { padding: 10px 14px; border-radius: 10px; background: var(--ground); color: var(--muted); font-size: 15px; }
.round-saved { color: var(--green); font-size: 14px; min-height: 20px; }
@media (max-width: 480px) { .round-card { padding: 20px 16px; } }

/* «Разрешить доступ» (oauth.html, app.mcp_oauth): an outside AI program's sign-in to MCP. */
.consent-who { margin: 0; }
.consent-group { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.consent-group legend { font-weight: 500; margin-bottom: 4px; padding: 0; }
.check { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 0; }
.check-list { display: flex; flex-direction: column; gap: 6px; padding-left: 26px; }
.check-list[hidden] { display: none; }
.consent-buttons { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
