/* p-solar-module-testing-lab-software (smt): sequence-tree hero, leg strip, lab picker, leg matrix, lanes, Pmax check, offers, local. Prefix smt-. */
.smt-hero__art { position: relative; }
.smt-art { aspect-ratio: 5 / 4; }
.smt-strip { position: relative; z-index: 1; margin: 30px 0 0; padding: 16px 18px; border-radius: 16px; background: #2A1E0F; color: #F3EADB;
  box-shadow: 0 22px 44px -30px rgba(42, 30, 15, .8); }
.smt-strip__k { margin: 0 0 10px; font: 700 12px/1.2 var(--font-ui); letter-spacing: .08em; text-transform: uppercase; color: #FCD34D; }
.smt-strip__k em { font-style: normal; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: #FCD34D; color: #2A1E0F; letter-spacing: .04em; }
.smt-strip ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.smt-strip li { padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, .07); border-top: 3px solid #C4B5FD; }
.smt-strip li.is-flag { border-top-color: #FCD34D; background: rgba(252, 211, 77, .12); }
.smt-strip b { display: block; font: 800 13px/1.2 var(--font-ui); letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.smt-strip span { display: block; margin-top: 4px; font: 500 13.5px/1.35 var(--font-ui); color: #E7DFD0; }
@media (max-width: 1000px) { .smt-strip ol { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .smt-strip ol { grid-template-columns: 1fr; } }

/* fit: lab picker */
.smt-who { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 20px; align-items: start; }
.smt-who__tabs { display: grid; gap: 10px; }
.smt-who__tabs button { display: grid; grid-template-columns: 40px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 12px; text-align: left; padding: 14px 16px; min-height: 64px;
  border-radius: 14px; border: 1px solid var(--line); background: #fff; cursor: pointer; font: 500 13.5px/1.3 var(--font-ui); color: #475569; transition: border-color .2s, box-shadow .2s; }
.smt-who__tabs button span { grid-row: 1 / 3; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #FDF1DC; color: #8A4B00; font: 800 16px/1 var(--font-ui); }
.smt-who__tabs button b { font-size: 16px; color: var(--ink); }
.smt-who__tabs button:hover { border-color: #D9B98A; }
.smt-who__tabs button[aria-selected="true"] { border-color: #8A4B00; box-shadow: inset 4px 0 0 #8A4B00; background: #FFFAF2; }
.smt-who__tabs button[aria-selected="true"] span { background: #8A4B00; color: #fff; }
.smt-who__tabs button:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.smt-who__panel { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px 28px; box-shadow: var(--shadow); }
.smt-who__panel h3 { margin: 0 0 10px; font-size: 22px; }
.smt-who__meta { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.smt-who__meta li { padding: 12px 14px; border-radius: 12px; background: var(--paper); font-size: 14.5px; }
.smt-who__meta b { display: block; font: 700 12px/1.2 var(--font-ui); letter-spacing: .06em; text-transform: uppercase; color: #8A4B00; margin-bottom: 4px; }
@media (max-width: 860px) { .smt-who { grid-template-columns: 1fr; } .smt-who__meta { grid-template-columns: 1fr; } .smt-who__panel { padding: 20px; } }

/* split, ticks, note */
.smt-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
@media (max-width: 960px) { .smt-split { grid-template-columns: 1fr; } }
.smt-ticks { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.smt-ticks li { position: relative; padding-left: 26px; font-size: 15px; }
.smt-ticks li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 12px; height: 12px; border-radius: 50%; border: 3px solid #7C3AED; }
.smt-note { margin: 20px 0 0; font-size: 14.5px; color: #475569; }

/* leg matrix */
.smt-mx { background: #fff; }
.smt-mx__body { padding: 16px 18px 18px; display: grid; gap: 14px; overflow-x: auto; }
.smt-mx__tbl { width: 100%; border-collapse: separate; border-spacing: 4px; font: 500 13.5px/1.35 var(--font-ui); }
.smt-mx__tbl th, .smt-mx__tbl td { padding: 8px; text-align: left; }
.smt-mx__tbl thead th { font: 700 11.5px/1.2 var(--font-ui); letter-spacing: .06em; text-transform: uppercase; color: #475569; }
.smt-mx__tbl tbody th { font-weight: 700; color: var(--ink); }
.smt-mx__tbl tbody th small { display: block; font-weight: 500; color: #475569; }
.smt-mx__tbl td { border-radius: 8px; background: #F1F5F9; color: #334155; white-space: nowrap; }
.smt-mx__tbl td.is-done { background: #DCF2EC; color: #0F5C4E; font-weight: 700; }
.smt-mx__tbl td.is-due { background: #E6EEF8; color: #1E4F80; font-weight: 700; }
.smt-mx__tbl td.is-late { background: #FDECC8; color: #7A4100; font-weight: 700; }
.smt-mx__tbl td.is-q { background: #EDE7FB; color: #5B21B6; font-weight: 700; outline: 2px dashed #7C3AED; outline-offset: -2px; }
.smt-mx__note { margin: 0; font-size: 13px; color: #475569; }
@media (max-width: 520px) { .smt-mx__tbl { font-size: 12.5px; } }

/* boundary lanes */
.smt-lanes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.smt-lane { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; border-top-width: 6px; }
.smt-lane--n { border-top-color: #0F766E; } .smt-lane--c { border-top-color: #8A4B00; } .smt-lane--x { border-top-color: #5B21B6; }
.smt-lane h3 { margin: 0 0 12px; font-size: 19px; }
.smt-lane h3 .ps-tag { display: table; margin-bottom: 8px; }
.smt-lane ul { margin: 0; padding-left: 18px; display: grid; gap: 8px; font-size: 15px; }
@media (max-width: 900px) { .smt-lanes { grid-template-columns: 1fr; } }

/* Pmax check */
.smt-deg { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; box-shadow: var(--shadow); display: grid; gap: 14px; }
.smt-deg::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; border-radius: 18px 18px 0 0; background: linear-gradient(90deg, #8A4B00, #FCD34D, #7C3AED); }
.smt-deg__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.smt-deg__row { display: grid; gap: 6px; }
.smt-deg__row label { font: 600 14px/1.3 var(--font-ui); color: var(--ink); }
.smt-deg__row input { min-height: 44px; padding: 8px 12px; border: 1px solid #94A3B8; border-radius: 10px; font: 600 16px/1.2 var(--font-ui); color: var(--ink); background: #fff; }
.smt-deg__row input:focus-visible { outline: 3px solid var(--blue); outline-offset: 1px; }
.smt-deg__res { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.smt-deg__res div { padding: 12px; border-radius: 12px; background: #FFFAF2; text-align: center; }
.smt-deg__res b { display: block; font: 800 26px/1.1 var(--font); color: #7A4100; }
.smt-deg__res span { font: 500 12.5px/1.3 var(--font-ui); color: #475569; }
.smt-deg__msg { margin: 0; padding: 12px 14px; border-radius: 12px; font: 600 14.5px/1.4 var(--font-ui); background: #F1F5F9; color: #334155; border-left: 5px solid #64748B; }
.smt-deg__msg.is-ok { background: #DCF2EC; color: #0F5C4E; border-left-color: #0F766E; }
.smt-deg__msg.is-close { background: #FDECC8; color: #6B3A00; border-left-color: #B45309; }
.smt-deg__msg.is-over { background: #FDE4E4; color: #8F1D1D; border-left-color: #B91C1C; }
.smt-deg__note { margin: 0; font-size: 13px; color: #475569; }
@media (max-width: 480px) { .smt-deg__grid, .smt-deg__res { grid-template-columns: 1fr; } .smt-deg { padding: 16px; } }

/* offers */
.smt-offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.smt-offer { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; border-left: 5px solid #8A4B00; transition: transform .25s, box-shadow .25s; }
.smt-offer:nth-child(2) { border-left-color: #7C3AED; } .smt-offer:nth-child(3) { border-left-color: #0F766E; }
.smt-offer:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.smt-offer__k { margin: 0 0 6px; font: 700 12px/1 var(--font-ui); letter-spacing: .08em; text-transform: uppercase; color: #8A4B00; }
.smt-offer h3 { margin: 0 0 10px; font-size: 21px; }
.smt-offer p:last-child { margin: 0; }
@media (max-width: 900px) { .smt-offers { grid-template-columns: 1fr; } }

/* local */
.smt-local { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.smt-local > div { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; border-bottom: 4px solid #FCD34D; }
.smt-local h3 { margin: 0 0 8px; font-size: 17px; }
.smt-local p { margin: 0; font-size: 14.5px; }
@media (max-width: 1100px) { .smt-local { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .smt-local { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .smt-offer, .smt-who__tabs button { transition: none; } }
