:root {
  --edge-ed-blue: #e9f3f6;
  --edge-ed-border: #c7dce4;
  --edge-ed-dark: #213941;
  --edge-ed-muted: #425c66;
  --edge-ed-accent: #446923;
}

[data-planning-layout] h1 { max-width:24ch; margin-bottom:clamp(22px,4vw,43px); text-wrap:balance; }
.edge-editorial { display:grid; gap:clamp(28px,5vw,58px); }
.edge-editorial > *, .edge-editorial :is(.edge-ed-hero,.edge-ed-feature,.edge-ed-field,.edge-ed-split) > * { min-width:0; }
.edge-editorial > .edge-exp-quote { margin:0; }
.edge-editorial h2 { font-size:clamp(1.38rem,2.8vw,2.05rem); }
.edge-editorial :is(.edge-ed-hero,.edge-ed-feature,.edge-ed-field,.edge-ed-split,.edge-ed-duo,.edge-ed-timeline) {
  display:grid; align-items:start; gap:clamp(16px,3.5vw,39px);
}
.edge-editorial :is(.edge-ed-hero,.edge-ed-feature,.edge-ed-field) { grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
.edge-editorial :is(.edge-ed-split,.edge-ed-duo,.edge-ed-timeline) { grid-template-columns:repeat(2,minmax(0,1fr)); }
.edge-ed-hero { align-items:center!important; }
.edge-ed-lead p { max-width:66ch; margin:0 0 17px; font-size:clamp(1.03rem,2vw,1.29rem); color:var(--edge-ed-dark); }
.edge-ed-jump { display:inline-block; font-weight:800; line-height:1.5; padding:5px 0; }
.edge-ed-photo { margin:0; min-width:0; background:var(--edge-ed-blue); color:var(--edge-ed-dark); border:1px solid var(--edge-ed-border); border-radius:13px; overflow:hidden; }
.edge-ed-photo a { display:block; position:relative; overflow:hidden; background:#d9e7ec; }
.edge-ed-photo a:focus-visible { outline-offset:-4px; }
.edge-ed-photo :is(picture,img) { display:block; width:100%; height:auto; aspect-ratio:16/10; object-fit:cover; object-position:50% 44%; }
.edge-ed-photo figcaption { display:grid; gap:3px; padding:10px 15px 13px; line-height:1.45; }
.edge-ed-photo figcaption span { color:var(--edge-ed-muted); font-size:.83rem; }
.edge-ed-expand { position:absolute; inset:auto 12px 12px auto; background:#fff; color:#213941; border:1px solid var(--edge-ed-border); border-radius:50%; display:grid; place-items:center; width:40px; height:40px; font-weight:800; text-decoration:none; }
.edge-ed-reading { max-width:74ch; }
.edge-ed-reading :is(ol,ul) { margin:0; padding-inline-start:22px; line-height:1.65; }
.edge-ed-reading li + li { margin-top:8px; }
.edge-ed-reading + .edge-ed-reading { margin-top:20px; }
.edge-ed-split > .edge-ed-reading + .edge-ed-reading,.edge-ed-timeline > .edge-ed-reading + .edge-ed-reading { margin-top:0; }
.edge-ed-focus { border-radius:10px; border-left:4px solid #7aa236; background:var(--edge-ed-blue); padding:clamp(16px,3vw,25px); }
.edge-ed-focus h2 { margin-bottom:8px; }
.edge-ed-focus p,.edge-ed-next p:last-child,.edge-ed-reading p:last-child { margin:0; }
.edge-ed-lead + .edge-ed-focus,.edge-ed-focus + .edge-ed-reading { margin-top:20px; }
.edge-ed-feature { align-items:center!important; }
.edge-ed-field { align-items:center!important; }
.edge-ed-timeline { position:relative; border-top:3px solid #8eaeb8; padding-top:18px; }
.edge-ed-timeline > .edge-ed-reading { border-left:2px solid var(--edge-ed-border); padding-inline-start:16px; }
.edge-ed-timeline li::marker { font-weight:800; color:var(--edge-ed-accent); }
.edge-ed-feedback { padding:clamp(16px,3vw,28px); background:#edf5f6; border-radius:14px; }
.edge-ed-feedback header { display:flex; gap:10px 24px; justify-content:space-between; align-items:end; flex-wrap:wrap; margin:0 0 14px; }
.edge-ed-feedback header h2 { margin:0 0 5px; }
.edge-ed-feedback header p { color:var(--edge-ed-muted); margin:0; font-size:.9rem; }
.edge-ed-feedback header a { font-size:.89rem; font-weight:750; }
.edge-ed-feedback ul { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); list-style:none; margin:0; padding:0; gap:12px; }
.edge-ed-review { min-width:0; background:#fff; border:1px solid var(--edge-ed-border); padding:13px 15px; border-radius:10px; }
.edge-ed-review-head { display:flex; align-items:center; gap:9px; }
.edge-ed-review-head > img:first-child { border-radius:50%; object-fit:cover; }
.edge-ed-review-head > div { display:grid; gap:2px; }
.edge-ed-review-head > div span { color:var(--edge-ed-muted); font-size:.77rem; }
.edge-ed-review-head > :is(picture,img):last-child { width:22px; height:22px; flex:0 0 22px; object-fit:contain; margin-inline-start:auto; }
.edge-ed-review-head > picture img { width:100%; height:100%; object-fit:contain; }
.edge-ed-review > p { margin:7px 0; }
.edge-editorial .edge-ed-stars { color:#765700; margin:5px 0; }
.edge-ed-review > a { display:inline-block; font-size:.86rem; font-weight:750; }
.edge-ed-next { border-top:1px solid var(--edge-ed-border); padding-top:20px; }
.edge-ed-next .edge-cleaning-button { margin-top:9px; }
.edge-editorial .edge-planning-sheet { min-width:0; }
.edge-editorial .edge-planning-sheet > h2 { scroll-margin-top:105px; }

[data-planning-layout="inspection"] .edge-ed-hero { grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr); }
[data-planning-layout="inspection"] .edge-ed-split > .edge-ed-reading { padding:18px; background:#edf5f6; border-radius:10px; }
[data-planning-layout="finishes"] .edge-ed-duo { gap:14px; }
[data-planning-layout="finishes"] .edge-ed-duo .edge-ed-photo :is(picture,img) { aspect-ratio:2/1; }
[data-planning-layout="arrival"] .edge-ed-hero { grid-template-columns:minmax(0,1.18fr) minmax(0,.82fr); }
[data-planning-layout="arrival"] .edge-ed-photo--cover :is(picture,img) { aspect-ratio:4/3; }
[data-planning-layout="arrival"] .edge-ed-feature { border-top:1px solid var(--edge-ed-border); padding-top:22px; }
[data-planning-layout="routine"] .edge-ed-hero .edge-ed-photo { grid-column:1; grid-row:1; }
[data-planning-layout="routine"] .edge-ed-hero .edge-ed-lead { grid-column:2; grid-row:1; }
[data-planning-layout="routine"] .edge-ed-hero,.edge-editorial .edge-ed-field { padding:clamp(12px,2.5vw,28px); background:#f2f7f8; border-radius:14px; }
[data-planning-layout="timing"] .edge-ed-hero { grid-template-columns:1fr; gap:16px; }
[data-planning-layout="timing"] .edge-ed-photo--cover :is(picture,img) { aspect-ratio:3/1; }
[data-planning-layout="workplace"] .edge-ed-hero { background:var(--edge-ed-dark); padding:clamp(14px,3vw,32px); border-radius:14px; }
[data-planning-layout="workplace"] .edge-ed-lead p { color:#fff; }
[data-planning-layout="compare"] .edge-ed-split { grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr); }
[data-planning-layout="compare"] .edge-ed-split > .edge-planning-sheet { border-top:4px solid #7aa236; }
[data-planning-layout="walkthrough"] .edge-ed-hero .edge-ed-photo { grid-column:1; grid-row:1; }
[data-planning-layout="walkthrough"] .edge-ed-hero .edge-ed-lead { grid-column:2; grid-row:1; }
[data-planning-layout="walkthrough"] .edge-planning-sheet { max-width:740px; width:100%; }
[data-planning-layout="timeline"] .edge-ed-hero { grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr); }
[data-planning-layout="timeline"] .edge-ed-photo--cover :is(picture,img) { aspect-ratio:4/3; }
[data-planning-layout="handoff"] .edge-ed-field { grid-template-columns:minmax(0,1.06fr) minmax(0,.94fr); }
[data-planning-layout="record"] .edge-planning-sheet { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
[data-planning-layout="record"] .edge-planning-sheet > :is(h2,[data-sheet-actions],[data-sheet-status],[data-sheet-fallback]) { grid-column:1/-1; }
[data-planning-layout="record"] .edge-planning-sheet label { margin-bottom:0; }
[data-planning-layout="decision"] .edge-ed-split { align-items:start; background:#f2f7f8; border-radius:14px; padding:clamp(15px,3vw,32px); }

@media(max-width:740px) {
  .edge-editorial :is(.edge-ed-hero,.edge-ed-feature,.edge-ed-field,.edge-ed-split,.edge-ed-duo,.edge-ed-timeline),
  [data-planning-layout="record"] .edge-planning-sheet { grid-template-columns:minmax(0,1fr); }
  [data-planning-layout] .edge-ed-hero > :is(.edge-ed-photo,.edge-ed-lead) { grid-row:auto; grid-column:auto; }
  [data-planning-layout="timing"] .edge-ed-photo--cover :is(picture,img) { aspect-ratio:16/10; }
  .edge-ed-timeline { border-top:0; padding-top:0; }
  .edge-ed-feedback ul { grid-template-columns:1fr; }
  .edge-ed-feedback header { align-items:start; }
}
@media print {
  .edge-editorial { display:block; }
  .edge-editorial > * { margin-bottom:12px; }
  .edge-editorial :is(.edge-ed-photo,.edge-ed-feedback,.edge-ed-jump,.edge-ed-next) { display:none!important; }
  .edge-editorial :is(.edge-ed-hero,.edge-ed-feature,.edge-ed-field,.edge-ed-split,.edge-ed-duo,.edge-ed-timeline) { display:block; }
  .edge-editorial .edge-planning-sheet textarea { field-sizing:content; }
}

.edge-planning-decision,.edge-planning-example { border:1px solid var(--edge-ed-border); border-radius:14px; padding:clamp(17px,3vw,30px); background:#f4f8f9; }
.edge-planning-decision > h2,.edge-planning-example > h2 { scroll-margin-top:105px; }
.edge-planning-options { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.edge-planning-options > div { padding:clamp(13px,2vw,18px); border:1px solid var(--edge-ed-border); border-radius:9px; background:#fff; min-width:0; }
.edge-planning-decision p:last-child,.edge-planning-example p:last-child { margin:0; }
.edge-planning-sample { border-left:3px solid #7a9e32; margin-top:18px; padding:8px 15px; }
.edge-planning-sample h3 { margin-bottom:6px; }
.edge-planning-example-label { color:var(--edge-ed-muted); font-size:.84rem; font-weight:750; }
.edge-planning-example dl { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin:15px 0 0; }
.edge-planning-example dl > div { background:#fff; border:1px solid var(--edge-ed-border); border-radius:8px; padding:11px 12px; min-width:0; }
.edge-planning-example dt { font-weight:800; }
.edge-planning-example dd { margin:3px 0 0; line-height:1.5; }
@media(max-width:650px) {
  .edge-planning-options,.edge-planning-example dl { grid-template-columns:minmax(0,1fr); }
}
@media print {
  .edge-planning-example,.edge-planning-decision { background:#fff; break-inside:avoid; }
}
