:root {
  --bg: #fbfaff;
  --paper: #fff;
  --ink: #15182d;
  --muted: #686d84;
  --line: #e9e7f1;
  --purple: #6033f5;
  --purple-dark: #4820ce;
  --soft: #f0eaff;
  --green: #187c43;
  --radius: 16px;
  --shadow: 0 5px 24px #39257205, 0 1px 3px #39257203;
}
* { box-sizing: border-box; }
html { color-scheme: light; }
body {
  margin: 0;
  background: radial-gradient(ellipse 65% 460px at 85% 80px, #ece5ff80, transparent),
    linear-gradient(180deg, #fcfbff, #fff 950px);
  background-color: var(--bg);
  color: var(--ink);
  font: 400 1rem/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--purple); text-underline-offset: 4px; }
a:hover { color: var(--purple-dark); }
button, input, textarea, select { font: inherit; }
button, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 22px;
  background: linear-gradient(115deg, #713dff, #5225ed);
  box-shadow: 0 3px 8px #6033f512, inset 0 1px 0 #ffffff24;
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  font-size: .9375rem;
  font-weight: 550;
  line-height: 1.45;
  transition: background-color .15s, box-shadow .15s, border-color .15s;
}
button:hover, .button:hover {
  background: var(--purple-dark);
  box-shadow: 0 4px 14px #6033f524;
  color: #fff;
}
button:disabled, button:disabled:hover {
  background: #f1f0f5;
  border-color: #e5e3ed;
  box-shadow: none;
  color: #777489;
  cursor: not-allowed;
}
.secondary {
  background: #ffffff90;
  border-color: #b29bff;
  color: var(--purple);
  box-shadow: none;
}
.secondary:hover { background: var(--soft); color: var(--purple-dark); border-color: var(--purple); }
.text-button {
  min-height: auto;
  border: 0;
  background: none;
  box-shadow: none;
  color: var(--purple);
  padding: 0;
  font-weight: 400;
}
.text-button:hover { background: none; box-shadow: none; color: var(--purple-dark); }
.danger, .danger-button { color: #b52843; }
.danger-button { background: #fff; border-color: #dfadba; box-shadow: none; }
.danger-button:hover { background: #fff0f3; color: #9c1832; border-color: #b52843; }
.full { width: 100%; margin-top: 14px; }
.icon { display: inline-block; width: 22px; height: 22px; flex-shrink: 0; vertical-align: middle; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon-tile { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 13px; background: linear-gradient(140deg, #f0e9ff, #faf8ff); color: var(--purple); flex-shrink: 0; }
.icon-tile .icon { width: 26px; height: 26px; }
.site-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 8%;
  padding: 14px max(4%, calc((100% - 1400px) / 2));
  border-bottom: 1px solid #eeebf580;
  background: #fcfbffb3;
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 1.375rem; font-weight: 650; letter-spacing: -.6px; white-space: nowrap; text-decoration: none; color: var(--ink); }
.brand-mark { color: var(--purple); width: 32px; height: 32px; stroke-width: 1.7; }
.brand-logo { display: block; width: 270px; height: auto; max-width: 100%; aspect-ratio: 3 / 1; object-fit: contain; }
.brand.small .brand-logo { width: 195px; }
@media (max-width: 760px) { .brand-logo { width: 222px; } }
.brand span span { color: var(--purple); }
.site-header nav { display: flex; align-items: center; gap: 30px; flex: 1; font-size: .9375rem; }
.site-header nav > a { white-space: nowrap; }
.site-header nav > a:first-child { margin-right: auto; }
.site-header nav > a:not(.button) { text-decoration: none; color: var(--ink); }
.site-header nav > a:hover { color: var(--purple); }
.site-header nav > .button:hover { color: #fff; }
.site-header .button { font-size: .875rem; padding: 10px 18px; }
.site-content { max-width: 1496px; margin: auto; padding: 0 48px; }
.main { min-width: 0; padding: 36px 0 64px; min-height: calc(100vh - 164px); }
.workspace { display: grid; grid-template-columns: 250px minmax(0, 1fr); max-width: 1600px; margin: auto; }
.workspace > .main { padding: 32px 32px 60px; }
.sidebar { border-right: 1px solid var(--line); background: #fdfcffb3; padding: 24px 12px; min-height: 75vh; }
.sidebar nav { display: grid; gap: 6px; }
.sidebar a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 48px;
  padding: 10px 12px;
  border-radius: 9px;
  text-decoration: none;
  color: #30334c;
  font-size: .875rem;
  line-height: 1.45;
}
.sidebar a .icon { color: #74748e; }
.sidebar a:hover { background: #f6f2ff; color: var(--purple); }
.sidebar a.selected { background: linear-gradient(90deg, #eee6ff, #f4eeff); color: var(--purple); font-weight: 550; }
.sidebar a.selected .icon { color: var(--purple); }
.sidebar a.selected::before { content: ""; position: absolute; left: -6px; width: 2px; top: 9px; bottom: 9px; background: var(--purple); border-radius: 2px; }
.sidebar form { margin: 24px 14px 8px; padding-top: 20px; border-top: 1px solid var(--line); }
.sidebar .text-button { gap: 14px; color: var(--muted); font-size: .875rem; }
h1, h2, h3 { line-height: 1.25; letter-spacing: -.65px; font-weight: 600; overflow-wrap: anywhere; }
h1 { font-size: 2.125rem; margin: 8px 0 18px; }
h2 { font-size: 1.5rem; margin: 30px 0 18px; }
h3 { font-size: 1.1875rem; margin: 8px 0 12px; }
p { margin: 10px 0 18px; }
small, .muted { color: var(--muted); }
small { display: block; font-size: .8125rem; line-height: 1.55; }
strong { font-weight: 600; }
.hero { position: relative; padding: 20px 0 36px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; color: var(--purple); font-size: .875rem; }
.hero .eyebrow .icon { width: 18px; height: 18px; }
.hero h1 { font-size: clamp(2.25rem, 3.6vw, 3.25rem); font-weight: 500; letter-spacing: -1.65px; line-height: 1.16; margin: 0 0 18px; max-width: 850px; }
.lead { max-width: 690px; font-size: 1.0625rem; color: #62657b; line-height: 1.65; margin: 0; }
.lead-small { font-size: 1.0625rem; color: var(--muted); }
.catalog-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.catalog-heading h2 { margin: 0; font-size: 1.375rem; }
.catalog-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.project-card {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
  align-items: start;
  gap: 22px;
  padding: 22px;
  background: #ffffffde;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  transition: border-color .18s, box-shadow .18s;
}
.project-card:hover { border-color: #d6c9fb; box-shadow: 0 9px 30px #5434980c; }
.project-card.no-cover { grid-template-columns: minmax(0, 1fr); }
.cover-link { display: block; overflow: hidden; border-radius: 10px; border: 1px solid #edeaf4; background: #f4f1fb; }
.cover { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.card-body { min-width: 0; display: flex; flex-direction: column; height: 100%; }
.card-body h3 { font-size: 1.1875rem; margin: 10px 0 0; letter-spacing: -.35px; line-height: 1.4; }
.card-body h3 a { color: var(--ink); text-decoration: none; }
.card-body h3 a:hover { color: var(--purple); }
.card-body > p { color: #62657c; margin: 10px 0; }
.card-body > .card-summary { font-size: 1rem; line-height: 1.5; }
.badge { display: inline-flex; align-items: center; gap: 6px; align-self: start; width: fit-content; max-width: 100%; border: 1px solid transparent; border-radius: 20px; padding: 4px 11px; background: #f1f1f6; font-size: .8125rem; color: #5f6175; line-height: 1.45; }
.purple { background: #f1ebff; border-color: #e7ddff; color: #6233ed; }
.green { background: #edf8f0; color: var(--green); }
.amber { background: #fff4e5; color: #9a5711; }
.compact { margin: 8px 0 0 !important; font-size: .875rem; }
.traffic { display: flex; gap: 8px; margin: 10px 0 18px; font-size: .875rem; color: #535970; align-items: flex-start; }
.traffic > .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--purple); }
.traffic small { margin-top: 3px; font-size: .75rem; }
.price-list { margin: 8px 0; font-variant-numeric: tabular-nums; }
.price-list > div { display: flex; gap: 12px; justify-content: space-between; padding: 5px 0; }
.price-list dt { font-size: .875rem; color: #62667b; }
.price-list dd { margin: 0; text-align: right; font-size: 1rem; overflow-wrap: anywhere; }
.price-list .large, .large { font-size: 1.5rem; font-weight: 600; line-height: 1.35; }
.card-body .price-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; border-top: 1px solid var(--line); padding-top: 16px; margin: auto 0 16px; }
.card-body .price-list > div { display: block; padding: 0; }
.card-body .price-list dt { font-size: .75rem; margin-bottom: 5px; }
.card-body .price-list dd { text-align: left; font-size: .9375rem; font-weight: 550; }
.card-body .price-list .large { color: var(--purple); font-size: 1.0625rem; }
.card-foot { display: flex; align-items: flex-start; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); margin: 0 !important; font-size: .875rem; }
.card-foot .icon { width: 18px; height: 18px; margin-top: 3px; }
.card-foot small { margin-top: 3px; }
.empty { grid-column: 1 / -1; border: 1px solid var(--line); border-radius: 18px; text-align: center; padding: 42px 24px; color: var(--muted); background: radial-gradient(ellipse 260px 170px at 50% 0, #efe8ff80, transparent), #ffffffd9; box-shadow: var(--shadow); }
.empty h2, .empty h3 { color: var(--ink); margin-top: 22px; font-weight: 500; }
.empty-icon { display: inline-flex; align-items: center; justify-content: center; width: 62px; height: 62px; background: linear-gradient(140deg, #eae0ff, #f8f5ff); color: var(--purple); border: 1px solid #e9dfff; border-radius: 18px; }
.empty-icon .icon { width: 30px; height: 30px; }
.empty p { max-width: 530px; margin: 12px auto 24px; }
.compact-empty { padding: 30px; }
.breadcrumbs { font-size: .875rem; color: var(--muted); margin: 0 0 20px; overflow-wrap: anywhere; }
.breadcrumbs a { text-decoration: none; }
.title-row { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }
.title-row h1, .title-row h3 { margin: 0; }
.title-row > .badge { margin-left: auto; }
.title-row h1 + .badge { margin-left: 0; }
.project-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(320px, .95fr); gap: 34px; margin-top: 26px; align-items: start; }
.project-layout > article { min-width: 0; }
.project-hero { display: block; width: 100%; height: auto; max-height: 490px; object-fit: contain; border: 1px solid var(--line); border-radius: 16px; background: #f5f3fa; }
.gallery { display: flex; gap: 12px; flex-wrap: wrap; }
.gallery img { height: 84px; width: 138px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); margin-top: 12px; }
.panel { background: #ffffffed; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin: 20px 0; box-shadow: var(--shadow); }
.project-side > .panel:first-child { margin-top: 0; }
.project-side { min-width: 0; }
.panel h2 { margin-top: 0; font-size: 1.25rem; }
.panel h3 { font-size: 1.125rem; margin: 0 0 16px; }
.small-panel { padding: 18px 22px; margin: 12px 0; }
.small-panel p:last-child { margin-bottom: 0; }
.offer-panel { padding: 28px; background: linear-gradient(150deg, #fff, #fcfaff); }
.offer-panel h3 { font-size: .9375rem; font-weight: 400; letter-spacing: 0; }
.offer-heading { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.offer-heading > div { min-width: 0; }
.offer-heading h3 { margin-bottom: 5px; }
.headline-price { font-size: clamp(1.6rem, 2.25vw, 2.125rem); font-weight: 550; letter-spacing: -.6px; line-height: 1.3; margin: 8px 0 22px; color: var(--purple); overflow-wrap: anywhere; }
.offer-heading .headline-price { margin: 0; }
.offer-summary { display: flex; align-items: flex-start; gap: 16px; }
.offer-summary > div { min-width: 0; }
.offer-summary .deadline { margin-bottom: 6px; }
.offer-summary small:first-child { font-size: .875rem; color: var(--ink); }
.section-title { display: flex; align-items: center; gap: 10px; }
.section-title > .icon { color: var(--purple); }
.project-section { margin-bottom: 24px; }
.project-section > p:last-child { margin-bottom: 0; font-size: .875rem; color: var(--muted); }
.deadline { font-size: 1.125rem; font-weight: 500; margin: 7px 0 18px; }
.rule { height: 1px; background: var(--line); margin: 24px 0; }
.metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 26px 0; font-variant-numeric: tabular-nums; }
.metrics > div { padding: 0 20px; border-right: 1px solid var(--line); min-width: 0; }
.metrics > div:first-child { padding-left: 0; }
.metrics > div:last-child { border: 0; }
.metrics strong { display: block; font-size: 1.5rem; line-height: 1.4; margin: 8px 0; overflow-wrap: anywhere; letter-spacing: -.4px; }
.metrics.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.metrics.four strong { font-size: 1.375rem; }
.metrics .date-value { font-size: 1.25rem; }
.metrics .icon-tile { margin-bottom: 14px; width: 42px; height: 42px; border-radius: 11px; }
.metrics .icon-tile .icon { width: 23px; height: 23px; }
.metrics > div > small:first-of-type { font-size: .875rem; }
.project-metrics { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: #fff; }
table { width: 100%; border-collapse: collapse; background: #fff; }
th, td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--line); font-size: .875rem; }
th { font-weight: 500; }
thead th { font-weight: 500; color: #64677e; background: #faf9fd; }
tr:last-child > td, tr:last-child > th { border-bottom: 0; }
.table-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: auto; background: #fff; }
.prose { overflow-wrap: anywhere; color: #41465f; }
.prose p { margin: 10px 0; }
.components-table td { text-align: right; }
.components-table td .icon { width: 18px; height: 18px; margin-left: 10px; }
.notice { background: #f6f3fc; border: 1px solid #eae3f8; padding: 16px 18px; border-radius: 10px; color: #54596f; font-size: .875rem; overflow-wrap: anywhere; }
.notice.error, .errorlist { color: #a72842; background: #fff1f4; border-color: #f3d5de; }
.notice.success { color: #1a7444; background: #edf8f1; border-color: #d4ebdc; }
.errorlist { list-style: none; padding: 10px 14px; border-radius: 8px; font-size: .875rem; }
.field { min-width: 0; }
label { display: block; margin: 14px 0 6px; font-size: .875rem; color: #34384f; }
input:not([type=checkbox]):not([type=radio]), textarea, select {
  display: block;
  width: 100%;
  min-width: 0;
  background: #fff;
  border: 1px solid #dcd8e9;
  border-radius: 8px;
  padding: 11px 13px;
  color: var(--ink);
  margin: 6px 0;
  line-height: 1.5;
  min-height: 44px;
}
input::placeholder, textarea::placeholder { color: #797d92; }
textarea { resize: vertical; min-height: 108px; }
input:disabled { background: #f3f2f7 !important; color: #777489; }
input[type=checkbox], input[type=radio] { accent-color: var(--purple); width: 18px; height: 18px; vertical-align: middle; }
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid #9471ef; outline-offset: 3px; }
details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; margin: 14px 0; }
summary { cursor: pointer; font-weight: 500; font-size: 1.0625rem; }
details[open] > summary { margin-bottom: 16px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
.form-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wide { grid-column: 1 / -1; }
.component-row { display: grid; grid-template-columns: 1fr 1.2fr; gap: 14px; align-items: center; border-bottom: 1px solid var(--line); padding: 8px 0; font-size: .875rem; }
.component-row:last-child { border-bottom: 0; }
.component-row > div { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.component-row label { margin: 0; }
.actions, .owner-tools { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; margin: 22px 0; }
.actions form { margin: 0; }
.form-panel { max-width: 760px; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin: 20px 0; }
.tabs > * { padding: 12px 16px; border-bottom: 2px solid transparent; font-size: .875rem; text-decoration: none; }
.tabs .selected { border-color: var(--purple); color: var(--purple); }
.compose { display: flex; gap: 12px; align-items: center; }
.compose .grow { flex: 1; min-width: 0; }
.compose button { margin-top: 6px; }
.message { padding: 18px 20px; background: #f6f4fb; border: 1px solid #f0ecf8; border-radius: 12px; margin: 15px 0; overflow-wrap: anywhere; }
.message.own { background: #f1ebff; border-color: #e6ddf7; }
.message p { margin: 7px 0; }
.chat-log { max-height: 650px; overflow: auto; }
.bid-amount { border-top: 1px solid var(--line); font-size: 1.1875rem; padding-top: 14px; margin: 15px 0 0; font-variant-numeric: tabular-nums; }
.transfer-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 22px; }
.transfer-layout .panel { margin-top: 0; }
.transfer-layout aside { align-self: start; }
.confirmation { display: grid; grid-template-columns: 1fr 1.7fr; padding: 24px 0; border-bottom: 1px solid var(--line); gap: 16px; }
.confirmation small { margin-top: 8px; }
.confirmation button { margin-top: 14px; }
.confirmation > span { color: var(--muted); font-size: .875rem; }
.success-text { color: var(--green); }
.participation { padding: 26px 30px; }
.participation h3 { font-size: 1.375rem; }
.auth-card { max-width: 530px; background: #ffffffed; border: 1px solid var(--line); border-radius: 20px; margin: 32px auto; padding: 38px; box-shadow: 0 16px 60px #5d39980a; }
.auth-card h1 { font-size: 1.875rem; font-weight: 550; }
.auth-card .actions { font-size: .875rem; gap: 16px; }
.auth-card .helptext { display: block; color: var(--muted); font-size: .8125rem; }
.auth-card ul { font-size: .8125rem; color: var(--muted); padding-left: 18px; }
.pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 20px; margin: 32px 0; font-size: .875rem; }
.pagination a { border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 9px 14px; text-decoration: none; }
.pagination a:hover { background: var(--soft); border-color: #c8b4ff; }
.site-footer { border-top: 1px solid var(--line); padding: 24px 4%; display: flex; justify-content: space-between; gap: 20px; align-items: center; color: var(--muted); font-size: .8125rem; background: #fcfbff80; }
.brand.small { font-size: 1rem; letter-spacing: -.25px; }
.sr-only, .skip { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.skip:focus { position: fixed; top: 8px; left: 10px; width: auto; height: auto; clip: auto; background: #fff; z-index: 100; padding: 10px; }
.chart svg { width: 100%; height: 210px; display: block; }
.chart svg .series-a { stroke: var(--purple); fill: none; stroke-width: 2; }
.chart svg .series-b { stroke: #199e88; fill: none; stroke-width: 2; }
.chart table { margin-top: 20px; }
.chart .legend { display: flex; flex-wrap: wrap; gap: 20px; font-size: .875rem; }
.chart .legend span:first-child { color: var(--purple); }
.chart .legend span:last-child { color: #167b6b; }
@media (max-width: 1200px) {
  .site-header { gap: 30px; }
  .site-header nav { gap: 22px; }
  .site-content { padding: 0 32px; }
  .workspace { grid-template-columns: 224px minmax(0, 1fr); }
  .workspace > .main { padding: 28px 24px 50px; }
  .sidebar a { gap: 10px; padding: 10px; }
  .catalog-grid { gap: 18px; }
  .project-card { padding: 18px; gap: 18px; grid-template-columns: minmax(0, 1fr); }
  .cover { aspect-ratio: 16 / 9; max-height: 260px; }
  .project-layout { gap: 24px; grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); }
  .offer-panel { padding: 22px; }
  .metrics.four { grid-template-columns: 1fr 1fr; gap: 24px 0; }
  .metrics.four > div:nth-child(3) { padding-left: 0; }
  .metrics.four > div:nth-child(2) { border: 0; }
  .metrics strong { font-size: 1.25rem; }
  .transfer-layout { grid-template-columns: 1fr; }
  .component-row { grid-template-columns: 1fr; }
  .form-grid.three { grid-template-columns: 1fr; }
}
@media (max-width: 850px) {
  .site-header { padding: 16px 24px; flex-wrap: wrap; gap: 16px 26px; }
  .brand { font-size: 1.25rem; }
  .site-header nav { width: 100%; gap: 20px; font-size: .875rem; flex-basis: 100%; flex-wrap: wrap; }
  .site-header .button { padding: 9px 14px; }
  .workspace { display: block; }
  .sidebar { padding: 10px 16px; min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .sidebar nav { display: flex; overflow-x: auto; gap: 7px; padding: 4px; }
  .sidebar nav a { white-space: nowrap; font-size: .875rem; padding: 10px 12px; }
  .sidebar a.selected::before { left: 12px; right: 12px; width: auto; height: 2px; top: auto; bottom: 0; }
  .sidebar form { margin: 8px 8px 4px; padding-top: 10px; }
  .sidebar .text-button { min-height: 32px; }
  .workspace > .main { padding: 26px 24px 48px; }
  .site-content { padding: 0 24px; }
  .main { padding-top: 26px; }
  .hero { padding: 10px 0 28px; }
  .hero h1 { font-size: 2.5rem; letter-spacing: -1.1px; }
  .lead { font-size: 1rem; }
  .desktop { display: none; }
  h1 { font-size: 1.875rem; }
  h2 { font-size: 1.375rem; }
  .project-layout { display: flex; flex-direction: column; }
  .project-layout > article { width: 100%; }
  .project-side { width: 100%; order: -1; }
  .panel { padding: 22px; }
  .metrics { grid-template-columns: 1fr 1fr; gap: 24px 0; }
  .metrics > div:nth-child(3) { padding-left: 0; }
  .metrics > div:nth-child(2) { border: 0; }
  .form-grid { grid-template-columns: 1fr; }
  .site-footer { align-items: flex-start; flex-direction: column; padding: 24px; gap: 12px; }
  .title-row { gap: 10px; }
  .title-row > .badge { margin-left: 0; }
  .auth-card { margin: 12px auto; padding: 28px; }
}
@media (max-width: 560px) {
  .site-header { padding: 14px 18px; gap: 14px; }
  .site-header nav { gap: 12px 18px; }
  .site-header nav > a:first-child { margin-right: 0; }
  .site-content { padding: 0 18px; }
  .workspace > .main { padding: 24px 18px 44px; }
  .hero h1 { font-size: 2.125rem; }
  .catalog-grid { grid-template-columns: 1fr; }
  .card-body .price-list dt { font-size: .8125rem; }
  .card-body .price-list dd { font-size: 1rem; }
  .card-body h3 { font-size: 1.25rem; }
  .empty { padding: 32px 20px; }
  .empty p { font-size: 1rem; }
  .panel { padding: 20px; }
  .metrics > div { padding: 0 12px; }
  .metrics strong, .metrics.four strong { font-size: 1.125rem; }
  .project-metrics { padding: 20px; }
  .confirmation { grid-template-columns: 1fr; gap: 8px; }
  .compose { align-items: stretch; flex-direction: column; gap: 6px; }
  .compose button { margin: 0; }
  .component-row > div { grid-template-columns: 1fr 1fr; }
  .actions { gap: 14px; }
  .gallery img { height: 70px; width: 112px; }
  .headline-price { font-size: 1.75rem; }
  .auth-card { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
