:root { font-family: system-ui, -apple-system, 'Segoe UI', sans-serif; color: #182b3a; background: #f3f5f7; font-size: 16px; line-height: 1.5; }
* { box-sizing: border-box; }
body { margin: 0; }
button, input, textarea, select { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { min-height: 44px; padding: 10px 18px; border: 1px solid #bbc7d0; border-radius: 5px; color: #193e5a; background: white; font-weight: 600; cursor: pointer; }
button:hover:not(:disabled) { background: #eaf0f5; }
button.primary { color: white; background: #193e5a; border-color: #193e5a; }
button.primary:hover:not(:disabled) { background: #285772; }
button:disabled { opacity: .55; cursor: wait; }
button[aria-pressed="true"] { background: #193e5a; color: white; border-color: #193e5a; }
button[aria-pressed="true"]:hover:not(:disabled) { background: #285772; }
:focus-visible { outline: 3px solid #b96313; outline-offset: 3px; }
a { color: #193e5a; text-underline-offset: 3px; }
h1 { font-size: 26px; line-height: 1.25; margin: 0 0 8px; }
h2 { font-size: 20px; line-height: 1.35; margin: 0; }
h3 { font-size: 17px; margin: 0 0 10px; }
p { margin: 8px 0 16px; }
.topbar { min-height: 76px; background: white; border-bottom: 1px solid #dce2e7; padding: 16px max(24px, calc((100vw - 1180px)/2)); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.brand { font-weight: 800; font-size: 21px; letter-spacing: .04em; }
.brand span { display: block; font-size: 12px; font-weight: 400; letter-spacing: 0; color: #526676; }
.demo-label { font-size: 13px; color: #526676; }
.workspace { max-width: 1180px; margin: auto; padding: 24px; }
.toolbar, .section-head, .actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.toolbar { margin-bottom: 20px; }
.role-tabs { display: flex; gap: 6px; }
.role-tabs button { padding: 8px 16px; }
.subtle { color: #526676; font-size: 14px; }
.notice { padding: 11px 14px; margin: 0 0 22px; border-left: 3px solid #a5b6c4; background: #e9eef2; font-size: 14px; }
.page-head { margin-bottom: 24px; }
.page-head p { margin-bottom: 0; color: #526676; }
.columns { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, 1fr); gap: 24px; align-items: start; }
.panel { background: white; border: 1px solid #dce2e7; padding: 24px; border-radius: 6px; margin-bottom: 20px; min-width: 0; }
.section-head { margin-bottom: 18px; }
.section-head p { margin: 0; }
.step { font-size: 12px; font-weight: 700; color: #526676; letter-spacing: .06em; margin-bottom: 6px; }
.line { border-top: 1px solid #e1e6eb; margin-top: 18px; padding-top: 18px; }
.facts { margin: 0; }
.facts > div { display: grid; grid-template-columns: minmax(110px, .7fr) minmax(0, 1.3fr); gap: 16px; padding: 9px 0; border-bottom: 1px solid #edf0f2; }
.facts dt { color: #526676; }
.facts dd { margin: 0; overflow-wrap: anywhere; }
.facts > div:last-child { border: 0; }
.large-time { font-size: 25px; font-weight: 650; font-variant-numeric: tabular-nums; }
.success { padding: 14px 16px; background: #edf6f0; border-left: 3px solid #327450; margin-bottom: 20px; }
.error { padding: 14px 16px; background: #fff2ec; border-left: 3px solid #b34e27; margin: 16px 0; color: #75321b; }
.success p, .error p { margin: 4px 0 0; }
.control { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
label { font-size: 14px; font-weight: 600; }
input, select, textarea { width: 100%; border: 1px solid #aebdc8; border-radius: 4px; min-height: 46px; padding: 10px 12px; color: #182b3a; background: white; }
textarea { min-height: 88px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.full { width: 100%; }
.list { padding-left: 20px; margin-bottom: 0; }
.list li { margin: 8px 0; }
.progress { display: flex; gap: 16px; margin: 0 0 24px; padding: 0; list-style: none; }
.progress li { border-bottom: 3px solid #d1d9df; flex: 1; padding-bottom: 10px; font-size: 14px; color: #526676; }
.progress li.active { color: #193e5a; border-color: #193e5a; font-weight: 650; }
.progress li.done { border-color: #327450; color: #327450; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { padding: 14px 0; border-top: 1px solid #e1e6eb; }
.timeline li:first-child { border: 0; padding-top: 0; }
.timeline p { margin: 5px 0 0; font-size: 14px; }
.timeline time { color: #526676; font-size: 13px; display: block; }
.report-copy { white-space: pre-wrap; overflow-wrap: anywhere; }
.empty { padding: 20px 0; color: #526676; }
details { margin-top: 18px; }
summary { cursor: pointer; min-height: 44px; padding: 10px 0; color: #193e5a; }
.share { display: flex; gap: 8px; align-items: stretch; }
.share input { font-size: 13px; }
.connection { min-height: 24px; margin: 4px 0 16px; font-size: 13px; color: #526676; }
.connection.failed { color: #9c3d1c; }
.loading { padding: 60px 24px; text-align: center; }
.landing { max-width: 720px; margin: 40px auto; padding: 24px; }
.landing .panel { margin-top: 24px; }
.landing button { margin: 6px 8px 6px 0; }
.caption { font-size: 13px; color: #526676; margin-top: 8px; }
.no-margin { margin: 0; }
@media (max-width: 760px) {
  .topbar { padding: 14px 16px; gap: 8px; }
  .brand { font-size: 18px; }
  .brand span { font-size: 11px; max-width: 240px; }
  .demo-label { font-size: 11px; }
  .workspace { padding: 16px; }
  .columns { grid-template-columns: 1fr; gap: 0; }
  .panel { padding: 18px; }
  h1 { font-size: 23px; }
  .toolbar { gap: 10px; }
  .toolbar > .actions { width: 100%; }
  .role-tabs { width: 100%; }
  .role-tabs button { flex: 1; }
  .toolbar .actions button { font-size: 13px; padding: 8px 10px; }
  .facts > div { grid-template-columns: 1fr; gap: 3px; }
  .progress { gap: 10px; }
  .progress li { font-size: 12px; }
  .share { flex-wrap: wrap; }
  .share button { width: 100%; }
  .landing { margin-top: 12px; padding: 16px; }
}
