/* The saved website journey reuses Signal Grid's paired semantic tokens. */
#website-panel{max-width:1080px;margin:0 auto;padding-bottom:24px;min-width:0}
.website-local-nav,.website-detail-filters,.website-tool-list{display:flex;gap:12px;flex-wrap:wrap;align-items:end}
.website-local-nav{margin-bottom:20px}.route-link{display:inline-flex;min-height:44px;min-width:44px;align-items:center;justify-content:center;padding:10px 16px;border:1px solid var(--control);border-radius:6px;background:var(--surface);color:var(--ink);text-decoration:none;font-weight:600}
.website-local-nav [aria-current=page]{border-color:var(--accent);color:var(--ink)}
.website-section{border-top:1px solid var(--line);padding:22px 0;margin-top:16px;min-width:0}
.website-section h2{font-size:1.2rem;margin:0 0 12px}.website-section h3{font-size:1rem;margin:0 0 8px}
.website-split{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.website-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.website-metrics strong{font-size:1.5rem}.website-metrics p{margin:8px 0}.website-facts{margin:8px 0}.website-facts>div{display:grid;grid-template-columns:minmax(130px,1fr) minmax(0,2fr);gap:16px;padding:10px 0;border-bottom:1px solid var(--line)}
.website-facts dt{color:var(--muted)}.website-facts dd{margin:0;overflow-wrap:anywhere}.website-read{margin:16px 0;overflow-wrap:anywhere}.website-status{font-weight:600}.website-attention{color:var(--warn);font-weight:600}
.website-check-row{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);align-items:center;gap:8px 20px;border-bottom:1px solid var(--line);padding:16px 0}
.website-check-row>.route-link{justify-content:start}.website-hop{padding:16px 0;border-bottom:1px solid var(--line)}.website-hop p{overflow-wrap:anywhere}.website-section .chart-control{width:100%}
.website-detail-filters>div{flex:1;min-width:140px}.website-detail-filters label{display:block;margin-bottom:8px}.website-detail-filters select{width:100%}.website-tool-list>section{flex:1;min-width:220px;border-top:1px solid var(--line);padding:20px 0}
.website-configure{max-width:720px;margin-top:24px;min-width:0}.website-configure .dialog-actions{position:static;background:transparent;padding:16px 0;display:flex;flex-wrap:wrap;max-width:100%;min-width:0}.website-configure .dialog-actions button{flex:1 1 140px;max-width:100%;white-space:normal;overflow-wrap:anywhere}.website-configure form{min-width:0}.website-configure .dialog-heading h2{font-size:1.2rem}
.route-link,.website-check-row{transition:border-color 160ms cubic-bezier(.2,.8,.2,1)}
@media(max-width:640px){.website-split{grid-template-columns:1fr;gap:0}.website-metrics{grid-template-columns:1fr;gap:16px}.website-metrics>div{display:grid;grid-template-columns:1fr auto;column-gap:12px}.website-metrics p{grid-column:1/-1}.website-check-row{grid-template-columns:1fr}.website-facts>div{grid-template-columns:1fr;gap:4px}.website-local-nav{gap:8px}.website-section{padding:18px 0}.website-local-nav a{flex:1;font-size:1rem;padding:10px}.website-local-nav a:first-child{flex-basis:100%}}
@media(prefers-reduced-motion:reduce){.route-link,.website-check-row{transition:none}}

.response-inspection {min-width:0;overflow-wrap:anywhere}.response-inspection h3 {margin-top:var(--space-4,1rem)}.inspection-row {padding-block:.35rem;border-bottom:1px solid var(--line)}

.website-change-form{display:flex;flex-wrap:wrap;gap:16px;align-items:end;margin-top:20px}
.website-change-form>div{flex:1 1 240px;min-width:0}.website-change-form label{display:block;margin-bottom:8px}.website-change-form select{width:100%;min-width:0}
.saved-change-field{margin-top:24px;min-width:0}.saved-change-field dd{white-space:pre-wrap}.saved-change-field .website-status{margin:8px 0}
#saved-check-changes .website-split>div{min-width:0;overflow-wrap:anywhere}
@media(max-width:640px){.website-change-form>div,.website-change-form>button{flex-basis:100%;width:100%}}

/* Local calculators use the existing paired tokens and section structure. */
#sla-panel{max-width:1080px;margin:0 auto;min-width:0;padding-bottom:24px}
.sla-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px;border-top:1px solid var(--line);padding-top:20px}
.sla-layout>*,.sla-layout form{min-width:0}.sla-layout .small{margin:8px 0}.sla-layout .form-error:empty{display:none}
.sla-actions,.sla-errors{display:flex;gap:12px;flex-wrap:wrap}.sla-actions{margin-top:24px}.sla-actions button{flex:1}
.sla-errors .route-link{width:100%;justify-content:start}.sla-layout input[aria-invalid=true]{border-color:var(--red)}
#sla-result{margin-top:0;padding-top:0;border:0;scroll-margin:100px 0 110px}
#sla-result:focus-visible,.sla-errors:focus-visible{outline:3px solid var(--lime);outline-offset:4px}
@media(max-width:720px){.sla-layout{grid-template-columns:1fr;gap:24px}}

.saved-timing-comparison{margin-top:24px;border-top:1px solid var(--line);padding-top:8px}

/* v0.33.1 — Mobile website detail and in-page configuration spacing.
   These are content panels, not edge-to-edge dividers: shadows require real insets. */
#website-panel .website-section{
  padding:20px 22px;
  margin:18px 0;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:8px;
  min-width:0;
}
#website-panel .website-section > :is(p,div,a,button,dl){
  max-width:100%;
}
#website-panel .website-split{gap:16px}
#website-panel .website-split > .website-section{margin:0}
#website-panel .website-section .route-link,
#website-panel .website-section button{max-width:100%;min-height:44px;overflow-wrap:break-word}
#website-panel .website-read{display:flex;align-items:center;justify-content:flex-start;gap:8px 12px;flex-wrap:wrap;margin:18px 0;min-width:0}
#website-panel .website-read > p{margin:0;min-width:0;overflow-wrap:anywhere}
#website-panel .website-read > .info-context{flex:0 0 auto}
/* The form was moved out of a modal, but inherited its negative-margin sticky
   action footer. Prevent Back/Continue/Save from bleeding outside the form. */
#website-panel .website-configure{width:100%;min-width:0;max-width:720px;margin:24px 0 0}
#website-panel .website-configure form{width:100%;min-width:0}
#website-panel .website-configure .dialog-actions{
  position:static;
  inset:auto;
  margin:24px 0 0;
  padding:18px 0 6px;
  border-top:1px solid var(--line);
  background:transparent;
  display:flex;
  align-items:stretch;
  justify-content:stretch;
  flex-wrap:nowrap;
  gap:12px;
  width:100%;
  max-width:100%;
  min-width:0;
}
#website-panel .website-configure .dialog-actions > button:not([hidden]){
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:1 1 0;
  width:auto;
  min-width:0;
  max-width:100%;
  min-height:48px;
  margin:0;
  padding:12px 14px;
  text-align:center;
  white-space:normal;
  overflow-wrap:normal;
  word-break:normal;
  line-height:1.3;
}
#website-panel .website-configure #delete-monitor{max-width:100%;min-height:44px;margin:18px 0 4px;padding:10px 16px;white-space:normal}
#website-panel .website-configure .response-checks,
#website-panel .website-configure .form-review{min-width:0;padding-inline:16px}
@media(max-width:640px){
  #website-panel .website-section{padding:18px 16px;margin:16px 0}
  #website-panel .website-split{gap:16px}
  #website-panel .website-configure .dialog-actions{gap:12px;padding-top:16px}
  #website-panel .website-configure .dialog-actions > button:not([hidden]){padding-inline:10px}
}
@media(max-width:340px){
  #website-panel .website-configure .dialog-actions{gap:8px}
  #website-panel .website-configure .dialog-actions > button:not([hidden]){font-size:.9375rem;padding-inline:8px}
}
