:root {
  --green-950: #123f4a;
  --green-900: #17647a;
  --green-800: #237f9a;
  --green-600: #2994b2;
  --lime: #ffb400;
  --ink: #123f4a;
  --muted: #416b78;
  --line: #2994b2;
  --paper: #fffbe0;
  --white: #fffbe0;
  --amber: #ffb400;
  --red: #c84b3f;
  --blue: #2994b2;
  --shadow: 10px 10px 0 #ffb400, 14px 14px 0 #2994b2;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 88% 5%, rgba(181,211,52,.13), transparent 27rem),
    radial-gradient(circle at 4% 17%, rgba(0,168,107,.10), transparent 30rem),
    var(--paper);
  font-family: "Nunito Sans", "Segoe UI Variable", "Segoe UI", ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea, dialog { font: inherit; }
button, select { cursor: pointer; }

.topbar {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 64px);
  position: sticky;
  z-index: 20;
  top: 0;
  background: rgba(255,255,255,.90);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.primary-brand-logo { display: block; width: auto; height: 72px; max-width: 178px; object-fit: contain; object-position: left center; }
.topbar-meta { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 13px; font-weight: 650; letter-spacing: .04em; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-600); box-shadow: 0 0 0 4px rgba(0,168,107,.13); }

.shell { width: min(1540px, calc(100% - 40px)); margin: 0 auto; padding: 44px 0 60px; }
.hero { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 28px; }
.hero h1 { margin: 3px 0 8px; font-size: clamp(34px, 4vw, 58px); line-height: .98; letter-spacing: -.045em; color: var(--green-950); }
.hero-copy { max-width: 720px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
.hero-actions { display: flex; gap: 10px; flex: 0 0 auto; }
.eyebrow { margin: 0; color: var(--green-600); font-size: 11px; font-weight: 850; letter-spacing: .19em; }

.button { border: 0; border-radius: 12px; min-height: 44px; padding: 0 18px; font-weight: 750; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.button:hover { transform: translateY(-1px); }
.button.primary { color: white; background: var(--green-800); box-shadow: 0 8px 20px rgba(0,107,79,.18); }
.button.primary:hover { background: var(--green-900); }
.button.whatsapp { color: #08673c; background: #dcf8e8; border: 1px solid #a9e7c6; }
.button.whatsapp:hover { background: #c9f2dc; }
.button.install { color: var(--green-950); background: linear-gradient(135deg, #d9ef54, var(--lime)); box-shadow: 0 10px 24px rgba(130,164,0,.18); }
.button.install:hover { background: linear-gradient(135deg, #e2f66a, #bddb38); }
.button:disabled { cursor: wait; opacity: .65; transform: none; }
.button.subtle { color: var(--green-900); background: #e9f2ee; }

.control-strip {
  display: grid;
  grid-template-columns: minmax(300px, 1.4fr) minmax(220px, .9fr) auto;
  gap: 20px;
  align-items: end;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 8px 26px rgba(0,55,42,.04);
  border-radius: 18px;
}
.control-group { display: grid; gap: 8px; min-width: 0; }
.control-label { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; background: #edf3f0; border-radius: 13px; }
.segmented button { min-height: 38px; border: 0; background: transparent; color: var(--muted); font-weight: 750; }
.segmented button.active { border-radius: 9px; background: var(--white); color: var(--green-900); box-shadow: 0 2px 9px rgba(0,50,38,.1); }
select { width: 100%; height: 46px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); padding: 0 42px 0 13px; color: var(--ink); font-weight: 650; }
.source-control strong { min-height: 46px; display: flex; align-items: center; color: var(--green-900); font-size: 14px; }

.notice { margin-top: 14px; padding: 13px 16px; border-left: 4px solid var(--amber); background: #fff7e4; color: #75500b; font-size: 14px; }
.notice.error { border-color: var(--red); background: #fff0ee; color: #8c3029; }

.workspace { display: grid; grid-template-columns: minmax(320px, 390px) minmax(0, 1fr); gap: 22px; margin-top: 22px; align-items: start; }
.score-panel, .kpi-panel { border-radius: 20px; background: rgba(255,255,255,.96); border: 1px solid var(--line); box-shadow: var(--shadow); }
.score-panel { padding: 24px; position: sticky; top: 20px; }
.score-head, .section-title-row { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; }
.score-head h2, .table-heading h2, .dialog-head h2 { margin: 4px 0 3px; color: var(--green-950); font-size: 21px; letter-spacing: -.025em; }
.muted { color: var(--muted); }
.score-head .muted { margin: 0; font-size: 13px; }
.icon-button { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 11px; background: var(--white); color: var(--green-900); font-size: 18px; }
.score-main { display: flex; align-items: center; justify-content: space-between; margin-top: 28px; }
.score-number { font-size: 54px; line-height: 1; font-weight: 850; letter-spacing: -.055em; color: var(--green-950); }
.score-max { color: var(--muted); font-size: 14px; font-weight: 650; }
.pl-badge { min-width: 124px; padding: 11px 13px; border-radius: 999px; color: white; text-align: center; font-size: 12px; font-weight: 900; letter-spacing: .045em; }
.pl-1 { background: var(--green-600); } .pl-2 { background: var(--blue); } .pl-3 { background: #918116; } .pl-4 { background: var(--amber); } .pl-5 { background: var(--red); }
.score-caption { margin: 6px 0 18px; color: var(--muted); font-size: 12px; }
.meter { height: 9px; background: #e7ecea; overflow: hidden; }
.meter span { display: block; height: 100%; width: 25%; background: linear-gradient(90deg, var(--red), var(--amber), var(--green-600)); transition: width .25s ease; }
.meter-labels { display: flex; justify-content: space-between; margin-top: 6px; color: #89948f; font-size: 10px; }
.next-target { display: flex; justify-content: space-between; margin: 16px 0 20px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 13px; }
.next-target strong { color: var(--green-900); }
.index-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.index-stat { padding: 10px 7px; border-radius: 12px; background: #f1f5f3; text-align: center; }
.index-stat strong { display: block; color: var(--green-950); font-size: 20px; }
.index-stat span { color: var(--muted); font-size: 10px; }
.definitive-block { margin-top: 22px; padding: 17px; border: 1px solid #cfe1d9; border-radius: 16px; background: #f7fbf9; }
.definitive-block .section-title-row { align-items: center; }
.basis-label { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; }
.calculation-status { padding: 6px 8px; background: #e5ece9; color: var(--muted); font-size: 10px; white-space: nowrap; }
.calculation-status.ready { color: white; background: var(--green-800); }
.formula-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin: 14px 0; }
.formula-strip div { padding: 9px 7px; border-radius: 10px; background: white; border-top: 3px solid var(--green-600); text-align: center; }
.formula-strip span, .formula-strip em { display: block; color: var(--muted); font-size: 9px; font-style: normal; }
.formula-strip strong { display: block; margin: 3px 0; color: var(--green-950); font-size: 14px; }
.assessment-field { display: grid; grid-template-columns: 1fr 104px; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.assessment-field strong, .assessment-field small { display: block; }
.assessment-field strong { font-size: 11px; line-height: 1.35; }
.assessment-field small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.assessment-field select { height: 38px; padding-left: 9px; font-size: 11px; }
.definitive-button { width: 100%; margin-top: 8px; font-size: 12px; }
.priority-block { margin-top: 24px; }
.section-title-row h3 { margin: 0; font-size: 15px; color: var(--green-950); }
.section-title-row > span { color: var(--muted); font-size: 10px; text-align: right; }
.priority-list { margin: 12px 0 0; padding: 0; list-style: none; counter-reset: priority; }
.priority-list li { counter-increment: priority; display: grid; grid-template-columns: 26px 1fr auto; gap: 9px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); font-size: 12px; }
.priority-list li::before { content: counter(priority); display: grid; place-items: center; width: 22px; height: 22px; background: var(--green-950); color: white; font-size: 10px; font-weight: 850; }
.priority-list em { font-style: normal; color: var(--red); font-weight: 750; }
.official-note { margin-top: 22px; padding: 13px; background: #f4f0e4; color: #665c40; font-size: 11px; line-height: 1.55; }

.kpi-panel { padding: 24px; min-width: 0; }
.table-heading { align-items: end; margin-bottom: 18px; }
.table-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; align-items: center; }
.weight-status { color: var(--green-900); background: #eaf4ef; padding: 9px 12px; font-size: 12px; font-weight: 800; white-space: nowrap; }
.weight-status.warning { color: #815608; background: #fff4d6; }
.target-save-state { padding: 9px 11px; color: var(--green-900); background: #eaf4ef; font-size: 11px; font-weight: 800; white-space: nowrap; }
.target-save-state.unsaved { color: #8a5800; background: #fff1c7; }
.save-target-button { min-height: 36px; padding-inline: 13px; color: white; background: var(--green-800); font-size: 11px; }
.save-target-button:disabled { color: #74817c; background: #e5ebe8; cursor: default; }
.table-wrap { overflow-x: auto; border-top: 1px solid var(--line); }
table { width: 100%; min-width: 850px; border-collapse: collapse; font-size: 12px; }
th { padding: 13px 9px; color: var(--muted); font-size: 10px; letter-spacing: .075em; text-transform: uppercase; text-align: right; border-bottom: 1px solid var(--line); }
th:first-child { text-align: left; }
td { padding: 12px 9px; border-bottom: 1px solid #ebf0ee; text-align: right; vertical-align: middle; }
td:first-child { text-align: left; }
.kpi-name { min-width: 235px; font-weight: 700; color: var(--ink); line-height: 1.35; }
.kpi-direction { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; color: var(--muted); font-size: 10px; font-weight: 600; }
.kpi-direction i { width: 6px; height: 6px; border-radius: 50%; }
.kpi-direction.positive i { background: var(--green-600); }
.kpi-direction.negative i { background: var(--red); }
.realization-input { width: 148px; height: 38px; padding: 0 9px; border: 1px solid #cbd8d3; background: #fbfdfc; text-align: right; font-weight: 750; font-variant-numeric: tabular-nums; color: var(--green-950); }
.realization-input:focus { outline: 2px solid rgba(0,168,107,.2); border-color: var(--green-600); }
.target-cell { min-width: 160px; }
.target-input { width: 148px; height: 38px; padding: 0 9px; border: 1px solid #cbd8d3; background: #fbfdfc; text-align: right; font-weight: 750; font-variant-numeric: tabular-nums; color: var(--green-950); }
.target-input.unsaved { border-color: var(--amber); background: #fffaf0; }
.saved-target-note { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; }
.index-pill { display: inline-grid; place-items: center; min-width: 29px; height: 29px; color: white; font-weight: 900; }
.idx-1 { background: var(--red); } .idx-2 { background: var(--amber); } .idx-3 { background: var(--blue); } .idx-4 { background: var(--green-600); }
.empty { color: #9ba5a1; }
.legend { display: flex; flex-wrap: wrap; gap: 17px; margin-top: 16px; color: var(--muted); font-size: 10px; }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 5px; }
.dot.positive { background: var(--green-600); } .dot.negative { background: var(--red); } .dot.neutral { background: var(--blue); }
.dot.saved { background: var(--amber); }

dialog { width: min(520px, calc(100% - 30px)); border: 0; padding: 0; box-shadow: 0 28px 90px rgba(0,40,30,.25); }
dialog::backdrop { background: rgba(0,36,28,.55); backdrop-filter: blur(3px); }
.dialog-card { padding: 25px; }
.dialog-head { display: flex; justify-content: space-between; }
.dialog-card > .muted { margin: 12px 0 18px; line-height: 1.55; font-size: 13px; }
.predicate-reference { display: grid; gap: 8px; }
.predicate-row { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border-left: 5px solid; background: #f2f6f4; font-size: 13px; }
.predicate-row strong { color: var(--green-950); }
.predicate-row span { font-weight: 750; }
.predicate-row em { color: var(--muted); font-style: normal; font-variant-numeric: tabular-nums; }
.pl-ref-1 { border-color: var(--green-600); } .pl-ref-2 { border-color: var(--blue); } .pl-ref-3 { border-color: #918116; } .pl-ref-4 { border-color: var(--amber); } .pl-ref-5 { border-color: var(--red); }
.field-error { margin-top: 10px; color: var(--red); font-size: 12px; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }
.install-dialog { border-radius: 22px; overflow: hidden; }
.install-dialog-card { padding: 24px; background: linear-gradient(155deg, #ffffff 0%, #f1f8f7 100%); }
.install-dialog-brand { display: flex; align-items: center; gap: 15px; }
.install-dialog-brand img { width: 68px; height: 68px; border-radius: 18px; box-shadow: 0 10px 28px rgba(0,87,119,.22); }
.install-dialog-brand h2 { margin: 3px 0 0; color: var(--green-950); font-size: 25px; letter-spacing: -.035em; }
.install-dialog-text { margin: 18px 0 14px; color: var(--ink); font-size: 15px; line-height: 1.55; }
.install-guide { padding: 14px 15px; border: 1px solid #cfe2dc; border-radius: 14px; background: rgba(255,255,255,.8); }
.install-guide strong { color: var(--green-900); font-size: 14px; }
.install-guide p { margin: 6px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.install-dialog-actions .button { min-width: 124px; }

/* PLAB maximalist theme: Sunburst Gold, Moon Cream, Riviera Blue */
body {
  background:
    radial-gradient(circle at 8% 8%, #ffb400 0 5px, transparent 6px) 0 0 / 34px 34px,
    linear-gradient(135deg, transparent 0 72%, rgba(41,148,178,.15) 72% 78%, transparent 78%) 0 0 / 54px 54px,
    #fffbe0;
}
.topbar {
  background: #ffb400;
  border-bottom: 4px solid #2994b2;
  box-shadow: 0 7px 0 #fffbe0, 0 11px 0 #2994b2;
  backdrop-filter: none;
}
.topbar-meta {
  padding: 10px 14px;
  color: #123f4a;
  background: #fffbe0;
  border: 2px solid #2994b2;
  border-radius: 999px;
  box-shadow: 4px 4px 0 #2994b2;
  font-weight: 850;
}
.live-dot { background: #ffb400; box-shadow: 0 0 0 4px rgba(41,148,178,.22); border: 2px solid #2994b2; }
.shell { padding-top: 52px; }
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 28px;
  background: #2994b2;
  border: 4px solid #123f4a;
  border-radius: 26px;
  box-shadow: 10px 10px 0 #ffb400, 15px 15px 0 #123f4a;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border: 4px solid #fffbe0;
  border-radius: 50%;
}
.hero::before { width: 150px; height: 150px; right: 19%; top: -95px; background: #ffb400; }
.hero::after { width: 92px; height: 92px; right: 4%; bottom: -58px; background: #fffbe0; }
.hero h1 { color: #fffbe0; font-size: clamp(42px, 5vw, 72px); text-shadow: 4px 4px 0 #123f4a; }
.hero-copy { color: #fffbe0; font-weight: 650; }
.eyebrow { color: #237f9a; font-weight: 950; }
.hero .button { position: relative; z-index: 1; }
.button {
  border: 2px solid #123f4a;
  border-radius: 11px;
  box-shadow: 4px 4px 0 #123f4a;
  font-weight: 900;
}
.button:hover { transform: translate(-1px, -1px); box-shadow: 6px 6px 0 #123f4a; }
.button.primary, .save-target-button { color: #fffbe0; background: #2994b2; box-shadow: 4px 4px 0 #ffb400; }
.button.primary:hover { background: #237f9a; }
.button.whatsapp { color: #123f4a; background: #fffbe0; border-color: #123f4a; }
.button.whatsapp:hover { background: #fffbe0; }
.button.install { color: #123f4a; background: #ffb400; box-shadow: 4px 4px 0 #fffbe0; }
.button.install:hover { background: #ffb400; }
.button.subtle { color: #123f4a; background: #fffbe0; }
.control-strip {
  padding: 22px;
  background: #ffb400;
  border: 4px solid #123f4a;
  border-radius: 22px;
  box-shadow: 8px 8px 0 #2994b2;
}
.control-label { color: #123f4a; font-weight: 950; }
.segmented { background: #2994b2; border: 2px solid #123f4a; }
.segmented button { color: #fffbe0; font-weight: 900; }
.segmented button.active { color: #123f4a; background: #fffbe0; box-shadow: 3px 3px 0 #123f4a; }
select { color: #123f4a; background: #fffbe0; border: 2px solid #2994b2; border-radius: 10px; }
.source-control strong { color: #123f4a; }
.notice { border: 3px solid #123f4a; border-left-width: 10px; background: #ffb400; color: #123f4a; box-shadow: 5px 5px 0 #2994b2; }
.workspace { gap: 30px; margin-top: 30px; }
.score-panel, .kpi-panel {
  background: #fffbe0;
  border: 4px solid #123f4a;
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.score-panel { top: 100px; }
.score-head h2, .table-heading h2, .dialog-head h2 { color: #123f4a; font-weight: 950; }
.icon-button { color: #123f4a; background: #ffb400; border: 2px solid #123f4a; box-shadow: 3px 3px 0 #2994b2; }
.score-main { padding: 16px; background: #ffb400; border: 3px solid #123f4a; border-radius: 18px; box-shadow: 6px 6px 0 #2994b2; }
.score-number { color: #123f4a; }
.pl-badge { border: 2px solid #123f4a; border-radius: 10px; box-shadow: 3px 3px 0 #fffbe0; }
.pl-1, .pl-2 { background: #2994b2; color: #fffbe0; }
.pl-3, .pl-4 { background: #ffb400; color: #123f4a; }
.pl-5 { background: #123f4a; color: #fffbe0; }
.meter { height: 13px; background: #fffbe0; border: 2px solid #123f4a; }
.meter span { background: linear-gradient(90deg, #ffb400 0 35%, #fffbe0 35% 62%, #2994b2 62%); }
.index-stat { background: #fffbe0; border: 2px solid #2994b2; border-radius: 9px; box-shadow: 3px 3px 0 #ffb400; }
.definitive-block { background: #2994b2; border: 3px solid #123f4a; box-shadow: 6px 6px 0 #ffb400; }
.definitive-block h3, .definitive-block .basis-label, .definitive-block .assessment-field strong, .definitive-block .assessment-field small { color: #fffbe0; }
.calculation-status { color: #123f4a; background: #ffb400; border: 2px solid #123f4a; }
.calculation-status.ready { color: #123f4a; background: #ffb400; }
.formula-strip div { background: #fffbe0; border: 2px solid #123f4a; border-top: 7px solid #ffb400; border-radius: 8px; }
.assessment-field { border-top-color: rgba(255,251,224,.5); }
.priority-list li { border-top: 2px dashed #2994b2; }
.priority-list li::before { background: #2994b2; color: #fffbe0; box-shadow: 2px 2px 0 #ffb400; }
.official-note { color: #123f4a; background: #ffb400; border: 2px solid #123f4a; box-shadow: 4px 4px 0 #2994b2; }
.table-heading { padding-bottom: 14px; border-bottom: 5px solid #ffb400; }
.weight-status, .target-save-state { color: #123f4a; background: #ffb400; border: 2px solid #123f4a; }
.table-wrap { border: 3px solid #123f4a; border-radius: 14px; }
th { color: #fffbe0; background: #2994b2; border-bottom: 3px solid #123f4a; }
td { border-bottom: 1px solid rgba(41,148,178,.36); }
tbody tr:nth-child(even) { background: rgba(255,180,0,.12); }
tbody tr:hover { background: rgba(41,148,178,.13); }
.realization-input, .target-input { color: #123f4a; background: #fffbe0; border: 2px solid #2994b2; }
.realization-input:focus, .target-input:focus { outline: 3px solid rgba(255,180,0,.55); border-color: #123f4a; }
.index-pill { border: 2px solid #123f4a; box-shadow: 2px 2px 0 #ffb400; }
.idx-1, .idx-2 { background: #ffb400; color: #123f4a; }
.idx-3, .idx-4 { background: #2994b2; color: #fffbe0; }
dialog { background: #fffbe0; border: 4px solid #123f4a; border-radius: 20px; box-shadow: 10px 10px 0 #ffb400, 15px 15px 0 #2994b2; }
dialog::backdrop { background: rgba(18,63,74,.72); }
.dialog-card, .install-dialog-card { background: #fffbe0; }
.predicate-row, .install-guide { background: #fffbe0; border: 2px solid #2994b2; border-left-width: 8px; }
.install-dialog-brand img { border: 3px solid #123f4a; box-shadow: 5px 5px 0 #ffb400; }

/* PLAB: expressive color, restrained surfaces, product-first hierarchy. */
body { background: #fffbe0; }
.topbar { background: #fff; border-bottom: 1px solid #c3d8da; box-shadow: none; }
.topbar-meta { background: transparent; border: 0; box-shadow: none; }
.shell { padding-top: 32px; }
.hero { border: 0; border-radius: 8px; box-shadow: none; align-items: center; }
.hero h1 { text-shadow: none; font-size: clamp(32px, 3.3vw, 52px); line-height: 1.06; }
.hero-copy { font-size: 14px; font-weight: 450; max-width: 610px; }
.hero-actions { flex-wrap: wrap; justify-content: flex-end; max-width: 440px; }
.hero::before { border: 0; }
.hero::after { border: 0; }
.button, .button.primary, .button.install, .save-target-button { box-shadow: none; border-radius: 7px; font-weight: 750; }
.button:hover { box-shadow: none; transform: translateY(-2px); }
.button.primary, .save-target-button { background: #17647a; }
.hero .button.primary { background: #ffb400; color: #123f4a; border-color: #ffb400; }
.control-strip { background: transparent; padding: 0 0 22px; border: 0; border-bottom: 1px solid #adc9cd; border-radius: 0; box-shadow: none; }
.segmented { background: #e8eedc; border: 1px solid #abc7cc; }
.segmented button { color: #416b78; transition: background .22s ease, color .22s ease; }
.segmented button.active { background: #17647a; color: #fffbe0; box-shadow: none; }
.workspace { gap: 24px; }
.score-panel, .kpi-panel { border: 1px solid #b9cfd0; border-radius: 12px; box-shadow: none; }
.score-panel { border-top: 5px solid #ffb400; }
.kpi-panel { background: #fffef4; }
.score-main { padding: 18px 0; background: transparent; border: 0; box-shadow: none; gap: 12px; flex-wrap: wrap; }
.score-number { font-variant-numeric: tabular-nums; }
.pl-badge, .index-pill { border: 0; box-shadow: none; border-radius: 6px; }
.icon-button { box-shadow: none; background: transparent; border: 1px solid #adc9cd; }
.meter { height: 7px; border: 0; background: #e5e7ce; }
.meter span { background: #2994b2; }
.index-stat { border: 0; border-right: 1px solid #b9cfd0; box-shadow: none; background: transparent; border-radius: 0; }
.index-stat:last-child { border: 0; }
.definitive-block { border: 0; background: #17647a; box-shadow: none; }
.formula-strip div { border: 0; border-top: 3px solid #ffb400; }
.calculation-status { border: 0; }
.official-note { background: #f6edc5; border: 0; border-left: 3px solid #ffb400; box-shadow: none; }
.priority-list li { border-top: 1px solid #cad8cc; }
.priority-list li::before { box-shadow: none; }
.table-heading { border-bottom: 2px solid #ffb400; }
.weight-status, .target-save-state { background: #f4edc8; border: 0; }
.table-wrap { border: 1px solid #b9cfd0; border-radius: 6px; }
th { background: #17647a; border-bottom: 0; }
tbody tr:nth-child(even) { background: #ffb40008; }
td { border-bottom-color: #dce4d7; }
.realization-input, .target-input { border: 1px solid #9abcc4; background: #fffef4; }
dialog { border: 1px solid #abc7cc; box-shadow: 0 24px 80px #123f4a40; }
.install-dialog-brand img { border: 0; box-shadow: none; }
button:focus-visible, select:focus-visible { outline: 3px solid #ffb400; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
@media (max-width: 1100px) {
  .control-strip { grid-template-columns: 1fr 1fr; }
  .workspace { grid-template-columns: 1fr; }
  .score-panel { position: static; }
}
@media (max-width: 680px) {
  .topbar { height: 70px; padding-inline: 14px; }
  .primary-brand-logo { width: auto; height: 62px; max-width: 142px; } .topbar-meta { display: none; }
  .install-dialog-card { padding: 21px; }
  .install-dialog-brand img { width: 60px; height: 60px; border-radius: 16px; }
  .install-dialog-brand h2 { font-size: 23px; }
  .install-dialog-actions { display: grid; grid-template-columns: 1fr 1.35fr; }
  .install-dialog-actions .button { min-width: 0; padding-inline: 12px; }
  .shell { width: min(100% - 24px, 1540px); padding-top: 28px; }
  .hero { align-items: stretch; flex-direction: column; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .hero { padding: 23px 20px; }
  .hero h1 { font-size: 34px; }
  .hero-actions { max-width: none; }
  .hero-actions .button { padding: 10px; font-size: 12px; }
  .table-heading { flex-direction: column; }
  .control-strip { grid-template-columns: 1fr; }
  .score-panel, .kpi-panel { padding: 18px; }
  .score-number { font-size: 48px; }
}
