/* Patio Cover Planner — fully scoped; no theme/global overrides */
.pcc-widget, .pcc-widget * { box-sizing: border-box; }
.pcc-widget {
  --pcc-ink: #1a3037; --pcc-muted:#65797d; --pcc-teal:#126c65; --pcc-teal-dark:#0b5c55;
  --pcc-border:#dfe8e6; --pcc-soft:#f4f8f7; --pcc-white:#fff;
  position:relative; isolation:isolate; width:100%; max-width:1100px; min-width:0; margin:20px auto 30px;
  background:var(--pcc-white); color:var(--pcc-ink); border:1px solid #d9e6e2;
  border-radius:20px; overflow:hidden; box-shadow:0 17px 45px rgba(31,64,63,.075),0 2px 7px rgba(31,64,63,.025);
  font:400 15px/1.55 Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.pcc-widget :where(h4,h5,p) { margin:0; padding:0; color:inherit; line-height:inherit; }
.pcc-widget :where(button,input,select) { font:inherit; }
.pcc-widget button { cursor:pointer; }
.pcc-widget :where(input,select,button):focus-visible { outline:3px solid rgba(26,144,130,.33); outline-offset:3px; }
.pcc-topline { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:24px 32px 0; }
.pcc-eyebrow { display:inline-flex; align-items:center; gap:9px; font-size:10px; font-weight:800; letter-spacing:.16em; color:#26796d; }
.pcc-signal { width:7px;height:7px;border-radius:50%;background:#208b7b; box-shadow:0 0 0 5px #e7f5ef; }
.pcc-topnote { font-size:11px; color:#79908a; white-space:nowrap; }
.pcc-heading { padding:12px 32px 25px; border-bottom:1px solid var(--pcc-border); }
.pcc-widget .pcc-title {font-size:clamp(22px,3vw,32px);line-height:1.15;letter-spacing:-.042em;font-weight:770; color:#19383d; max-width:730px; }
.pcc-widget .pcc-lead { margin-top:10px; color:var(--pcc-muted); font-size:13px; line-height:1.6; max-width:600px; }
.pcc-layout {display:grid;grid-template-columns:minmax(0, 0.93fr) minmax(0, 1.07fr);min-width:0;}
.pcc-controls {padding:29px 28px 28px 32px; min-width:0;}
.pcc-section-head { display:flex; align-items:center; gap:10px;font-size:14px;font-weight:760;color:#213c40; margin-bottom:14px;letter-spacing:-.013em; }
.pcc-section-num { display:grid; place-items:center;width:24px;height:24px;flex:none; background:#eaf4f0; border-radius:7px; font-size:10px; font-weight:800; color:#1b806f; }
.pcc-controls-header {display:flex;align-items:center;justify-content:space-between;gap:10px; margin:-1px 0 10px;}
.pcc-widget .pcc-field-hint {font-size:11.5px;color:var(--pcc-muted);}
.pcc-unit-switch {display:flex;gap:2px;padding:3px;border:1px solid var(--pcc-border);border-radius:10px;background:#f7faf9;flex:none;}
.pcc-widget .pcc-unit {border:0;border-radius:7px;background:transparent;color:#657b80;font-size:11px;font-weight:760;min-width:32px;padding:6px 8px;line-height:1.2;}
.pcc-widget .pcc-unit.is-active {background:#fff;color:#155c54;box-shadow:0 1px 4px rgba(13,56,52,.12);}
.pcc-dims,.pcc-select-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;}
.pcc-label {display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:710;color:#31474b;min-width:0;}
.pcc-widget .pcc-label input,.pcc-widget .pcc-label select {width:100%;min-width:0;max-width:100%;height:44px; padding:0 13px; color:#203c40; border:1px solid #d7e2df;border-radius:10px; background:#fff; outline-offset:2px; box-shadow:none;transition: border-color .15s,box-shadow .15s; font-size:14px;font-weight:610;}
.pcc-widget .pcc-label input:focus,.pcc-widget .pcc-label select:focus {border-color:#31a18e; box-shadow:0 0 0 3px rgba(56,155,141,.12);outline:none;}
.pcc-widget .pcc-label select {appearance:auto; font-size:12px;font-weight:600;padding:0 8px;}
.pcc-widget .pcc-tiny {font-size:10.5px;color:#86969a;margin-top:8px;}
.pcc-widget .pcc-error {margin-top:9px;font-size:11px;font-weight:700;color:#a43e35;}
.pcc-rule {height:1px;background:var(--pcc-border); margin:22px 0;}
.pcc-choice-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;}
.pcc-choice {position:relative; min-width:0; cursor:pointer;}
.pcc-choice input {position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer;z-index:1;margin:0;}
.pcc-choice-face {display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;min-height:69px;border:1px solid #dce7e3;border-radius:11px;background:#fff;color:#566c6e;font-size:11.5px;font-weight:750;text-align:center;transition:background .15s,border-color .15s,box-shadow .15s;white-space:nowrap;padding:8px 4px;}
.pcc-choice-icon {font-size:20px;line-height:1.1;font-weight:400;color:#9eaa8a;}
.pcc-choice input:checked + .pcc-choice-face {background:#ecf7f2;color:#13675e;border-color:#63b1a0;box-shadow:inset 0 0 0 1px #63b1a0;}
.pcc-choice input:checked + .pcc-choice-face .pcc-choice-icon {color:#1a8b7c;}
.pcc-choice input:focus-visible + .pcc-choice-face {outline:3px solid rgba(26,144,130,.33);outline-offset:2px;}
.pcc-toggle-row {display:flex;gap:11px;align-items:flex-start;position:relative;min-width:0;margin:17px 0 1px;cursor:pointer;font-size:12px;font-weight:700;color:#375053;}
.pcc-toggle-row input {position:absolute;width:1px;height:1px;opacity:0;}
.pcc-toggle {width:34px;height:20px;border-radius:15px;background:#cddbd7;flex:none;position:relative;margin-top:2px;transition:background .15s;}
.pcc-toggle:after {content:"";width:14px;height:14px;border-radius:50%;background:white;position:absolute;top:3px;left:3px;box-shadow:0 1px 3px #0002;transition:transform .15s;}
.pcc-toggle-row input:checked + .pcc-toggle {background:#1e8c7f;}
.pcc-toggle-row input:checked + .pcc-toggle:after {transform:translateX(14px);}
.pcc-toggle-row input:focus-visible + .pcc-toggle {outline:3px solid rgba(26,144,130,.33);outline-offset:2px;}
.pcc-widget .pcc-toggle-row small {display:block;font-size:10.5px;font-weight:400;color:#83949a;margin-top:1px;line-height:1.45;}
.pcc-actions {display:flex;align-items:center;gap:13px;margin-top:22px;}
.pcc-widget .pcc-primary {border:1px solid #11665e;background:#176d63;color:white;min-height:46px;padding:10px 17px;border-radius:10px;display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:12.5px;font-weight:760; flex:1;box-shadow:0 5px 14px rgba(18,104,94,.13);transition:background .2s,transform .2s;}
.pcc-widget .pcc-primary:hover {background:#0c584f;transform:translateY(-1px);}
.pcc-widget .pcc-primary span {font-size:17px;font-weight:400;}
.pcc-widget .pcc-reset {border:0;background:transparent;color:#6b8585;font-size:11px;font-weight:700;padding:8px 4px;white-space:nowrap;}
.pcc-widget .pcc-reset:hover {color:#183e3d;}
.pcc-results {padding:26px 31px 24px;border-left:1px solid #e0ece7;background:linear-gradient(153deg,#f1f8f5 0%,#f7faf8 47%,#f9fbfa 100%);min-width:0;}
.pcc-results-top {display:flex;justify-content:space-between;align-items:center;gap:10px;}
.pcc-result-kicker {font-size:9.5px;font-weight:850;letter-spacing:.13em;color:#498178;}
.pcc-live-dot {width:7px;height:7px;background:#70ac8c;border-radius:50%;box-shadow:0 0 0 4px #e3f1e8;}
.pcc-metrics {display:flex;justify-content:space-between;align-items:flex-end;gap:10px;margin:10px 0 13px;}
.pcc-metric-main {display:flex;align-items:baseline;gap:7px;flex-wrap:wrap;}
.pcc-metric-main strong {font-size:clamp(40px,5.2vw,54px);line-height:1;font-weight:790;letter-spacing:-.06em;color:#153d3d;font-variant-numeric:tabular-nums;}
.pcc-metric-main > span {font-size:16px;color:#35665f;font-weight:700;}
.pcc-widget .pcc-metric-main small {display:block;flex-basis:100%;font-size:10.5px;color:#819891;margin-top:-1px;}
.pcc-metric-side {display:flex;flex-direction:column;align-items:flex-end;gap:3px;padding-bottom:5px;min-width:0;}
.pcc-metric-side strong {font-size:15px;font-weight:760;color:#315e57;white-space:nowrap;}
.pcc-metric-side small {font-size:10px;color:#869a94;white-space:nowrap;}
.pcc-plan {border:1px solid #e0ece5;background:white;padding:11px 11px 7px;border-radius:12px;box-shadow:0 3px 14px #19483e06;}
.pcc-plan-label {display:flex;justify-content:space-between;gap:7px;font-size:10.5px;font-weight:760;color:#3a5c55;margin:0 3px 5px;}
.pcc-plan-label span {font-size:9.5px;font-weight:500;color:#97aaa4;}
.pcc-plan-svg {display:block;width:100%;height:auto;max-height:183px;}
.pcc-result-divider {height:1px;background:#d9e8e1;margin:20px 0 18px;}
.pcc-recommend-title {display:flex;justify-content:space-between;align-items:center;gap:10px;}
.pcc-widget .pcc-recommend-title h5 {font-size:17px;font-weight:800;letter-spacing:-.03em;line-height:1.25;margin-top:4px;}
.pcc-rec-count {font-size:9px;letter-spacing:.04em;white-space:nowrap;color:#407a71;background:#e2f2e9;border-radius:20px;padding:5px 9px;font-weight:800;}
.pcc-context {font-size:11.5px;color:#6a847f;margin:8px 0 13px;line-height:1.55;}
.pcc-widget .pcc-warning {background:#fff6ea;border:1px solid #f3dec0;color:#865b2a;border-radius:10px;padding:10px 11px;margin:0 0 11px;font-size:11px;line-height:1.6;}
.pcc-picks {display:grid;gap:9px;}
.pcc-pick {background:#fff;border:1px solid #dfe8e5;border-radius:12px;padding:12px 13px;display:grid;grid-template-columns:28px minmax(0,1fr);gap:10px;box-shadow:0 2px 8px rgba(29,69,64,.025);}
.pcc-pick-number {width:27px;height:27px;display:grid;place-items:center;font-size:11px;font-weight:850;color:#387b70;background:#e9f5ee;border-radius:8px;}
.pcc-pick:first-child {border-color:#a6d3c3;background:linear-gradient(100deg,#fff 75%,#f5fbf7 100%);}
.pcc-pick:first-child .pcc-pick-number {color:#fff;background:#1d8074;}
.pcc-pick-heading {display:flex;align-items:baseline;justify-content:space-between;gap:7px;flex-wrap:wrap;}
.pcc-pick-heading strong {font-size:12.3px;line-height:1.35;color:#284548;font-weight:780;}
.pcc-pick-heading span {font-size:9px;color:#52877e;background:#eff7f4;padding:3px 7px;border-radius:20px;font-weight:730;white-space:nowrap;}
.pcc-pick p {font-size:10.7px;line-height:1.52;color:#667d79;margin-top:4px;}
.pcc-widget .pcc-copy {display:flex;align-items:center;justify-content:center;gap:7px;width:100%;padding:9px 12px;border-radius:9px;border:1px solid #c3dbd2;background:#f8fcfa;color:#1c776b;font-size:11px;font-weight:800;margin-top:12px;transition:background .15s;}
.pcc-widget .pcc-copy:hover {background:#e7f6ee;}
.pcc-widget .pcc-caution {font-size:9.7px;color:#819891;line-height:1.6;margin-top:13px;}
.pcc-footer {display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;border-top:1px solid #e4ece8;padding:11px 32px;font-size:9.5px;color:#8da09d;}
@media (max-width:800px) {
  .pcc-layout {grid-template-columns:1fr;}
  .pcc-controls {padding:25px 26px;}
  .pcc-results {border-left:0;border-top:1px solid #dfeae4;padding:25px 26px;}
  .pcc-topline {padding:23px 26px 0;}
  .pcc-heading {padding:11px 26px 22px;}
  .pcc-footer {padding:10px 26px;}
}
@media (max-width:480px) {
  .pcc-widget {border-radius:14px;margin:15px auto 25px;font-size:14px;}
  .pcc-topline {padding:19px 16px 0;}
  .pcc-topnote {font-size:9px;}
  .pcc-eyebrow {font-size:9px;letter-spacing:.11em;}
  .pcc-heading {padding:10px 16px 19px;}
  .pcc-widget .pcc-title {font-size:24px;}
  .pcc-widget .pcc-lead {font-size:12px;}
  .pcc-controls {padding:22px 16px;}
  .pcc-results {padding:21px 16px;}
  .pcc-select-grid {grid-template-columns:1fr;gap:12px;}
  .pcc-dims {gap:10px;}
  .pcc-choice-face {font-size:10.5px;min-height:66px;}
  .pcc-metric-main strong {font-size:43px;}
  .pcc-metric-side strong {font-size:13px;}
  .pcc-metric-side small {font-size:9px;}
  .pcc-footer {padding:10px 16px;gap:3px;}
  .pcc-footer span:last-child {display:none;}
}
@media (prefers-reduced-motion:reduce){ .pcc-widget *, .pcc-widget *::before,.pcc-widget *::after {transition:none!important;animation:none!important;} }

.pcc-empty {border:1px dashed #bed5cc;background:#fff;border-radius:10px;color:#637e78;padding:13px;font-size:11px;line-height:1.6;}

.pcc-checklist {margin:15px 0 0;padding:12px 14px;border:1px solid #dceae4;background:rgba(255,255,255,.8);border-radius:11px;}
.pcc-checks-title{font-size:10px;letter-spacing:.12em;font-weight:820;color:#467d72;}
.pcc-widget .pcc-checklist ul{margin:6px 0 0;padding:0;list-style:none;}
.pcc-widget .pcc-checklist li{position:relative;margin:6px 0 0;padding:0 0 0 17px;font-size:11px;line-height:1.5;color:#657d75;}
.pcc-widget .pcc-checklist li:before{content:"✓";position:absolute;left:0;top:0;color:#278675;font-weight:850;}
.pcc-widget .pcc-caution {font-size:10.5px;}
