/* ============================================================
   The customer portal: their Light Guys page (decided with Brendan 2026-09-25).
   Light Ops' own look and sizes: 240px sidebar, 60px top bar, 12px cards,
   38px buttons and rows, 7px pills; phones get the 56px top bar and the
   five-tab bottom bar. The website's serif is for the Home headline only.
   ============================================================ */
:root{
  --pt-ink:#0a1020;--pt-bar:#080d1a;--pt-panel:#0f1829;--pt-pop:#14213b;--pt-input:#0c1527;--pt-bubble:#16233f;
  --pt-paper:#f4efe4;--pt-muted:#9fb0c8;--pt-label:#c9d2df;--pt-nav:#d6dbe4;
  --pt-gold:#f3d28a;--pt-gold-soft:#ffe9bd;--pt-on-gold:#2a1d05;
  --pt-line:rgba(190,205,235,.1);--pt-line-row:rgba(190,205,235,.07);--pt-line-input:rgba(190,205,235,.16);--pt-line-ghost:rgba(190,205,235,.22);--pt-hover:rgba(190,205,235,.06);
  --pt-ok:#4ce07a;--pt-ok-tint:rgba(48,209,88,.18);--pt-wait:#6cb4ff;--pt-wait-tint:rgba(10,132,255,.18);
  --pt-action:#ffb340;--pt-action-tint:rgba(255,159,10,.18);--pt-done:#c7c7cc;--pt-done-tint:rgba(142,142,147,.18);--pt-bad:#ff7a70;--pt-bad-tint:rgba(255,69,58,.18);
  --pt-sans:"Hanken Grotesk",system-ui,-apple-system,sans-serif;--pt-serif:"Cormorant Garamond",Georgia,serif;--pt-mono:"Space Mono",ui-monospace,monospace;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body.pt-body{margin:0;background:var(--pt-ink);color:var(--pt-paper);font:400 14px/1.4 var(--pt-sans);-webkit-font-smoothing:antialiased}
:where(.pt-body) a{color:var(--pt-gold);text-decoration:none}
:where(.pt-body) a:hover{color:var(--pt-gold-soft)}
.pt-body :focus-visible{outline:2px solid var(--pt-gold);outline-offset:2px}
:where(.pt-body) :where(h1,h2,p,ul,ol,figure,fieldset){margin:0;padding:0}
:where(.pt-body) :where(ul,ol){list-style:none}
:where(.pt-body) fieldset{border:0;min-width:0}
:where(.pt-body) :where(button,input,textarea,select){font:inherit;color:inherit}
:where(.pt-body) img{display:block;max-width:100%}
:where(.pt-body) svg{display:block;flex:none}
.pt-body [hidden]{display:none!important}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* ---- shell ---- */
.pt-app{display:grid;grid-template-columns:240px minmax(0,1fr);min-height:100vh;min-height:100dvh}
.pt-side{position:sticky;top:0;height:100vh;height:100dvh;display:flex;flex-direction:column;padding:16px 12px 12px;background:var(--pt-bar);border-right:1px solid var(--pt-line);overflow-y:auto}
.pt-brand{display:flex;align-items:center;gap:10px;min-height:40px;padding:0 2px;color:var(--pt-paper)!important}
.pt-brand img{width:36px;height:36px;object-fit:contain;flex:none}
.pt-brand span{display:flex;flex-direction:column;min-width:0}
.pt-brand strong{font-size:15px;font-weight:700;line-height:1.15}
.pt-brand small{font-size:12px;color:var(--pt-muted)}
.pt-navs{display:flex;flex-direction:column;gap:2px;margin-top:18px}
.pt-nav{display:flex;align-items:center;gap:11px;height:38px;padding:0 10px;border-radius:8px;color:var(--pt-nav)!important;font-weight:500;font-size:14px}
.pt-nav:hover{background:var(--pt-hover)}
.pt-nav.is-active{background:rgba(243,210,138,.1);color:var(--pt-gold)!important}
.pt-nav .pt-badge{margin-left:auto}
.pt-help{margin-top:auto;display:flex;flex-direction:column;gap:6px;padding:12px 12px 11px;border:1px solid var(--pt-line);border-radius:10px;font-size:13px}
.pt-help-label{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--pt-muted)}
.pt-main{min-width:0;display:flex;flex-direction:column}
.pt-top{position:sticky;top:0;z-index:20;height:60px;display:flex;align-items:center;gap:14px;padding:0 24px;background:var(--pt-ink);border-bottom:1px solid var(--pt-line)}
.pt-addr{display:flex;align-items:center;gap:10px;height:36px;padding:0 6px 0 12px;border:1px solid var(--pt-line);border-radius:8px;font-size:14px;min-width:0}
.pt-addr svg{color:var(--pt-muted)}
.pt-addr span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pt-addr a{padding:0 8px;font-weight:600;font-size:13px}
.pt-menu{position:relative;margin-left:auto}
.pt-menu summary{display:flex;align-items:center;gap:10px;padding:6px 8px;border-radius:9px;cursor:pointer;list-style:none;font-size:14px;font-weight:500;white-space:nowrap}
.pt-menu summary::-webkit-details-marker{display:none}
.pt-menu summary:hover{background:var(--pt-hover)}
.pt-menu-chev{color:var(--pt-muted)}
.pt-menu-pop{position:absolute;right:0;top:calc(100% + 6px);z-index:30;min-width:190px;padding:6px;background:var(--pt-pop);border:1px solid var(--pt-line-ghost);border-radius:10px;box-shadow:0 18px 40px -12px rgba(0,0,0,.6)}
.pt-menu-pop a,.pt-menu-pop button{display:flex;align-items:center;gap:9px;width:100%;padding:10px;border:0;border-radius:7px;background:none;color:var(--pt-paper)!important;font-size:14px;text-align:left;cursor:pointer}
.pt-menu-pop a:hover,.pt-menu-pop button:hover{background:var(--pt-hover)}
.pt-mtop{display:none}
.pt-content{width:100%;max-width:1240px;margin:0 auto;padding:28px 32px 40px;flex:1}
.pt-foot{width:100%;max-width:1240px;margin:0 auto;padding:18px 32px 28px;border-top:1px solid rgba(190,205,235,.08);display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;font-size:12.5px;color:var(--pt-muted)}
.pt-foot nav{display:flex;gap:22px}
.pt-foot a{color:var(--pt-muted)!important}
.pt-foot a:hover{color:var(--pt-paper)!important}
.pt-tabs{display:none}
.pt-preview{position:sticky;top:0;z-index:40;padding:10px 16px;background:#2a2311;border-bottom:1px solid rgba(243,210,138,.4);color:var(--pt-gold-soft);font-size:13.5px;text-align:center}
.pt-preview strong{margin-right:8px;color:var(--pt-gold)}

/* ---- pieces ---- */
.pt-card{background:var(--pt-panel);border:1px solid var(--pt-line);border-radius:12px;min-width:0;display:flex;flex-direction:column}
.pt-card--hi{background:rgba(243,210,138,.06);border-color:rgba(243,210,138,.34)}
.pt-card-head{display:flex;align-items:center;gap:10px;padding:14px 16px 12px;border-bottom:1px solid rgba(190,205,235,.08)}
.pt-card-ico{display:flex;color:var(--pt-muted)}
.pt-card-title{flex:1;display:flex;align-items:center;gap:6px;font-size:14px;font-weight:600}
.pt-card-go{display:flex;padding:12px;margin:-12px;color:var(--pt-muted)!important}
.pt-card-body{flex:1;display:flex;flex-direction:column;gap:14px;padding:16px}
.pt-card-foot{margin-top:auto;padding:12px 16px 16px}
.pt-card-big{font-size:17px;font-weight:600;line-height:1.3}
.pt-card-note{padding:0 16px 14px;font-size:12.5px;color:var(--pt-muted)}
.pt-muted{color:var(--pt-muted)}
.pt-small{font-size:12.5px}
.pt-gold{color:var(--pt-gold)!important}
.pt-center{text-align:center}
.pt-mono{font-family:var(--pt-mono);font-size:13px}
.pt-serif{font-family:var(--pt-serif);font-weight:500;letter-spacing:-.01em}
.pt-eyebrow{font-family:var(--pt-mono);font-size:11px;letter-spacing:.2em;text-transform:uppercase;color:var(--pt-gold)}
.pt-empty{padding:16px;color:var(--pt-muted);font-size:13.5px}
.pt-rows{display:flex;flex-direction:column;gap:2px;padding:8px 6px 4px}
.pt-row{display:flex;align-items:center;gap:10px;min-height:38px;padding:9px 10px;border-radius:8px;color:var(--pt-paper)!important}
a.pt-row:hover{background:rgba(190,205,235,.05)}
.pt-row--top{align-items:flex-start}
.pt-row--flat{margin-top:auto;padding:12px 0 0;border-top:1px solid var(--pt-line-row);border-radius:0}
a.pt-row--flat:hover{background:none}
.pt-row--card{padding:14px 16px;flex-direction:row}
.pt-row-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.pt-row-top{display:flex;align-items:center;gap:8px}
.pt-row-top .pt-row-name,.pt-row-top .pt-row-sub{flex:1}
.pt-row-name{display:block;font-size:14px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pt-row-sub{display:block;font-size:12.5px;color:var(--pt-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pt-wrap{white-space:normal!important}
.pt-row-end{display:flex;flex-direction:column;align-items:flex-end;gap:4px}
.pt-when{font-size:12px;color:var(--pt-muted);white-space:nowrap}
.pt-amt{font-size:14px;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}
.pt-tile{display:inline-flex;align-items:center;justify-content:center;flex:none;width:34px;height:34px;border-radius:9px;background:rgba(190,205,235,.07);color:var(--pt-label)}
.pt-tile--gold{background:rgba(243,210,138,.14);color:var(--pt-gold)}
.pt-pill{display:inline-flex;align-items:center;padding:4px 10px;border-radius:7px;font-size:12px;font-weight:600;white-space:nowrap;line-height:1.2}
.pt-pill--ok{background:var(--pt-ok-tint);color:var(--pt-ok)}
.pt-pill--wait{background:var(--pt-wait-tint);color:var(--pt-wait)}
.pt-pill--action{background:var(--pt-action-tint);color:var(--pt-action)}
.pt-pill--done{background:var(--pt-done-tint);color:var(--pt-done)}
.pt-pill--bad{background:var(--pt-bad-tint);color:var(--pt-bad)}
.pt-badge{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#ff9f0a;color:#000;font-size:11px;font-weight:700;line-height:1}
.pt-dot{width:8px;height:8px;border-radius:999px;background:#ff9f0a;flex:none}
.pt-initials{display:inline-flex;align-items:center;justify-content:center;flex:none;width:32px;height:32px;border-radius:50%;background:rgba(243,210,138,.14);color:var(--pt-gold);font-size:12px;font-weight:600}
.pt-initials--36{width:36px;height:36px}
.pt-avatar{border-radius:50%;object-fit:cover;flex:none}
.pt-avatar--28{width:28px;height:28px}.pt-avatar--36{width:36px;height:36px}.pt-avatar--40{width:40px;height:40px}
.pt-link{color:var(--pt-gold)!important;font-weight:600;background:none;border:0;padding:0;cursor:pointer}
.pt-left{display:flex;justify-content:space-between;gap:12px;margin:4px 16px 0;padding-top:12px;border-top:1px solid var(--pt-line-row);font-size:13px}
.pt-left span{color:var(--pt-muted)}
.pt-left strong{font-weight:600;font-variant-numeric:tabular-nums}
.pt-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:0 16px;border-radius:8px;border:1px solid transparent;background:transparent;font-size:14px;font-weight:600;white-space:nowrap;cursor:pointer;text-decoration:none}
.pt-btn--primary{background:var(--pt-gold);border-color:var(--pt-gold);color:var(--pt-on-gold)!important}
.pt-btn--primary:hover{background:var(--pt-gold-soft);border-color:var(--pt-gold-soft)}
.pt-btn--ghost{border-color:var(--pt-line-ghost);color:var(--pt-paper)!important}
.pt-btn--ghost:hover{background:var(--pt-hover)}
.pt-btn--block{width:100%}
.pt-btn--lg{min-height:46px;font-size:15px}
.pt-btn--sm{min-height:34px;padding:0 12px;font-size:13px}
.pt-btn--hero{align-self:flex-start;min-height:42px;padding:0 18px;margin-top:6px}
.pt-btn[disabled]{opacity:.6;cursor:default}
.pt-icon-btn{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:8px;border:1px solid var(--pt-line-ghost);color:var(--pt-paper)!important}
.pt-icon-btn:hover{background:var(--pt-hover)}
.pt-two{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.pt-field{display:block;width:100%;height:40px;padding:0 12px;border-radius:8px;background:var(--pt-input);border:1px solid var(--pt-line-input);color:var(--pt-paper);font-size:14px}
.pt-field:focus{outline:none;border-color:rgba(243,210,138,.6)}
.pt-field--lg{height:46px;font-size:16px}
.pt-area{height:auto;min-height:92px;padding:11px 12px;line-height:1.45;resize:vertical;font-size:15px}
select.pt-field{appearance:auto}
.pt-field-label{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:600}
.pt-ref-field{font-size:12px;font-weight:400;color:var(--pt-muted)}
.pt-inline{display:flex;gap:8px}
.pt-notice{margin:0 0 16px;padding:12px 14px;border-radius:10px;background:var(--pt-ok-tint);color:#bff3cb;font-size:14px}
.pt-notice--bad{background:var(--pt-bad-tint);color:#ffc4be}
.pt-lock{display:flex;color:var(--pt-muted)}
.pt-card--locked .pt-row-name{color:var(--pt-label)}
.pt-check{width:20px;height:20px;border-radius:999px;background:var(--pt-ok-tint);color:var(--pt-ok);display:inline-flex;align-items:center;justify-content:center;flex:none}
.pt-check--wait{background:none;border:1px dashed rgba(190,205,235,.35)}
.pt-yes{display:flex;align-items:center;gap:8px;color:var(--pt-ok);font-weight:600}

/* ---- the string of lights ---- */
.pt-string{position:relative}
.pt-wire{position:absolute;left:0;right:0;top:4px;width:100%;height:14px;overflow:visible}
.pt-wire path{fill:none;stroke:#3b4a66;stroke-width:1.6;stroke-linecap:round}
.pt-steps{position:relative;display:grid}
.pt-step{display:flex;flex-direction:column;align-items:center;gap:2px;min-width:0;padding-top:7px;text-align:center}
.pt-bulb{margin-bottom:5px;overflow:visible}
.pt-halo{fill:rgba(255,207,118,.34);filter:blur(3px)}
.pt-glow{fill:rgba(255,227,160,.62);filter:blur(3.5px);animation:pt-glow 2.6s ease-in-out infinite}
@keyframes pt-glow{0%,100%{opacity:.45}50%{opacity:1}}
@media (prefers-reduced-motion:reduce){.pt-glow{animation:none}}
.pt-step-label{font-size:12.5px;font-weight:600;line-height:1.2;padding:0 2px;overflow-wrap:anywhere}
.pt-step-sub{font-size:12px;line-height:1.2;padding:0 2px;color:var(--pt-muted)}
.pt-step--now .pt-step-label{color:var(--pt-gold)}
.pt-step--off .pt-step-label{color:var(--pt-muted)}
.pt-string--big .pt-step-label{font-size:13px}
.pt-string--big .pt-wire{top:5px}

/* ---- Home ---- */
.pt-where{display:none}
.pt-hero{position:relative;height:268px;border-radius:12px;overflow:hidden;border:1px solid var(--pt-line);background:var(--pt-panel)}
.pt-hero picture,.pt-hero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 78%}
.pt-hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,#0a1020 0%,rgba(10,16,32,.94) 30%,rgba(10,16,32,.45) 56%,rgba(10,16,32,0) 76%)}
.pt-hero-copy{position:absolute;left:40px;top:0;bottom:0;width:min(560px,62%);display:flex;flex-direction:column;justify-content:center;gap:12px}
.pt-hero-title{font-size:50px;line-height:1.02;text-wrap:balance}
.pt-hero-sub{font-size:15px;color:var(--pt-nav)}
.pt-hero-tag{position:absolute;right:32px;top:28px;font-size:24px;font-style:italic;line-height:1.15;color:var(--pt-gold-soft);text-align:right}
.pt-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-flow:row dense;gap:12px;margin-top:20px}
.pt-c-due{grid-column:1/-1}
.pt-c-services,.pt-c-refer,.pt-c-installs{grid-column:span 2}
.pt-appt-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.pt-appt-top>div{display:flex;flex-direction:column;gap:3px}
.pt-appt-date{font-size:17px;font-weight:600;line-height:1.3}
.pt-appt-steps{display:flex;flex-direction:column;gap:12px}
.pt-appt-steps li{display:grid;grid-template-columns:18px minmax(0,1fr);column-gap:12px;align-items:start}
.pt-appt-steps li>span{display:flex;flex-direction:column;gap:1px;min-width:0}
.pt-project-img{width:100%;height:118px;object-fit:cover;border-radius:8px}
.pt-svcs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:16px}
.pt-svc{position:relative;display:block;height:196px;border-radius:10px;overflow:hidden;color:var(--pt-paper)!important}
.pt-svc img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
.pt-svc:hover img{transform:scale(1.04)}
.pt-svc-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(8,13,26,0) 36%,rgba(8,13,26,.9) 100%)}
.pt-svc-copy{position:absolute;left:14px;right:50px;bottom:13px;display:flex;flex-direction:column;gap:1px}
.pt-svc-name{font-size:15px;font-weight:600;line-height:1.25}
.pt-svc-sub{font-size:12.5px;color:var(--pt-nav)}
.pt-svc-go{position:absolute;right:12px;bottom:14px;width:28px;height:28px;border-radius:999px;border:1px solid rgba(244,239,228,.55);display:flex;align-items:center;justify-content:center}
.pt-refer{display:flex;align-items:flex-end;gap:22px;padding:18px}
.pt-refer-words{flex:1;min-width:0;display:flex;flex-direction:column;gap:12px}
.pt-refer-head{display:flex;align-items:flex-start;gap:12px}
.pt-refer-head p+p{margin-top:2px}
.pt-refer-link{width:300px;flex:none;display:flex;flex-direction:column;gap:10px}
.pt-refer-more{align-self:flex-start;font-size:13px}
.pt-tally{display:flex;flex-direction:column;gap:8px;font-size:13px}
.pt-tally li{display:flex;align-items:center;gap:10px}
.pt-tally strong{font-weight:600}
.pt-review{flex-direction:row;align-items:center;flex-wrap:wrap}
.pt-review>div{flex:1;min-width:160px}
.pt-due-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.pt-due-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px}
.pt-due-amt{font-size:24px;font-weight:700;font-variant-numeric:tabular-nums}

/* ---- pages ---- */
.pt-head{margin-bottom:22px}
.pt-h1{font-size:34px;font-weight:700;line-height:1.15;letter-spacing:-.02em}
.pt-sub{margin-top:4px;font-size:13px;color:var(--pt-muted)}
.pt-cols{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:12px;align-items:start}
.pt-col-main,.pt-col-side{display:flex;flex-direction:column;gap:12px;min-width:0}
.pt-design{position:relative;display:block;margin:16px;border-radius:8px;overflow:hidden;background:var(--pt-input);cursor:zoom-in}
.pt-design img{width:100%;max-height:440px;object-fit:cover}
.pt-design-open{position:absolute;right:12px;bottom:12px;display:flex;align-items:center;gap:6px;padding:6px 10px;border-radius:8px;background:rgba(8,13,26,.78);color:var(--pt-paper);font-size:12.5px;font-weight:600}
.pt-info{display:flex;gap:12px;padding:14px;border-radius:10px;background:rgba(243,210,138,.06);border:1px solid rgba(243,210,138,.25);color:var(--pt-gold)}
.pt-info p{color:var(--pt-label);font-size:13.5px}
.pt-home+.pt-home{margin-top:14px;padding-top:14px;border-top:1px solid var(--pt-line-row)}
.pt-gate{display:flex;flex-direction:column;gap:6px;margin-top:10px}
.pt-gate .pt-field-label{flex-direction:row;flex-wrap:wrap;gap:6px}
.pt-stats{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.pt-stat{padding:18px;gap:4px}
.pt-stat-num{font-size:28px;font-weight:700;letter-spacing:-.01em;font-variant-numeric:tabular-nums}
.pt-card--list{padding:0 0 8px}
.pt-group{margin:16px 16px 6px;font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--pt-muted)}
.pt-sheet .pt-group{margin:8px 0 0}
.pt-docs{display:flex;flex-direction:column}
.pt-doc{display:grid;grid-template-columns:minmax(0,1fr) auto auto 96px 36px;gap:12px;align-items:center;padding:10px 16px;border-top:1px solid var(--pt-line-row)}
.pt-doc .pt-amt{text-align:right}
.pt-doc-main{display:flex;align-items:center;gap:12px;min-width:0;color:var(--pt-paper)!important}
.pt-doc-date{font-size:13px;color:var(--pt-muted);white-space:nowrap}
.pt-methods{padding:4px 16px 0}
.pt-methods li{display:flex;align-items:center;gap:10px;padding:10px 0;border-top:1px solid var(--pt-line-row)}
.pt-methods li:first-child{border-top:0}

/* ---- Messages ---- */
.pt-chat{max-width:820px}
.pt-chat-head{display:flex;align-items:center;gap:12px;padding:14px 16px;border-bottom:1px solid rgba(190,205,235,.08)}
.pt-thread{display:flex;flex-direction:column;gap:10px;padding:18px 20px}
.pt-chat--page .pt-thread{min-height:40vh}
.pt-day{align-self:center;padding:6px 0;font-size:12px;color:var(--pt-muted)}
.pt-msg{align-self:flex-start;display:flex;align-items:flex-end;gap:8px;max-width:78%}
.pt-msg--me{align-self:flex-end}
.pt-msg-col{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:0}
.pt-msg--me .pt-msg-col{align-items:flex-end}
.pt-bubble{padding:10px 13px;border-radius:16px 16px 16px 5px;background:var(--pt-bubble);font-size:14.5px;line-height:1.45;overflow-wrap:anywhere}
.pt-msg--me .pt-bubble{border-radius:16px 16px 5px 16px;background:rgba(243,210,138,.14);border:1px solid rgba(243,210,138,.22)}
.pt-msg-when{padding:0 4px;font-size:11.5px;color:var(--pt-muted)}
.pt-msg-photo img{width:220px;max-width:100%;border-radius:14px;border:1px solid var(--pt-line)}
.pt-msg-file{display:inline-flex;align-items:center;gap:6px;padding:8px 12px;border-radius:10px;background:var(--pt-bubble);color:var(--pt-paper)!important;font-size:13px}
.pt-compose{display:flex;flex-direction:column;gap:8px;padding:12px 16px 14px;border-top:1px solid rgba(190,205,235,.08)}
.pt-compose-row{display:flex;align-items:flex-end;gap:8px}
.pt-attach{position:relative;width:44px;height:44px;flex:none;display:flex;align-items:center;justify-content:center;border-radius:10px;border:1px solid var(--pt-line-ghost);cursor:pointer}
.pt-attach:hover{background:var(--pt-hover)}
.pt-attach input,.pt-add-photos input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%}
.pt-compose-text{flex:1;min-width:0}
.pt-compose-text textarea{display:block;width:100%;min-height:44px;max-height:50vh;padding:11px 14px;border-radius:10px;background:var(--pt-input);border:1px solid var(--pt-line-input);resize:none;overflow-y:hidden;font-size:14.5px;line-height:1.4}
.pt-compose-text textarea:focus{outline:none;border-color:rgba(243,210,138,.6)}
.pt-send{width:44px;height:44px;flex:none;display:flex;align-items:center;justify-content:center;border-radius:10px;border:0;background:var(--pt-gold);color:var(--pt-on-gold);cursor:pointer}
.pt-picked{display:flex;flex-wrap:wrap;gap:8px}
.pt-picked[hidden]{display:none}
.pt-thumb{width:64px;height:64px;border-radius:8px;object-fit:cover;border:1px solid var(--pt-line)}

/* ---- Account ---- */
.pt-narrow{max-width:640px;display:flex;flex-direction:column;gap:12px}
.pt-fields{gap:0}
.pt-kv{display:flex;flex-direction:column;gap:3px;padding:12px 0;border-top:1px solid var(--pt-line-row)}
.pt-kv:first-child{border-top:0;padding-top:0}
.pt-kv .pt-row-name{font-weight:500}
.pt-signout{margin-top:4px}

/* ---- sheets ---- */
.pt-sheet{max-width:560px;margin:0 auto;display:flex;flex-direction:column;gap:16px;padding:8px 22px 24px;background:var(--pt-panel);border:1px solid var(--pt-line);border-radius:16px}
.pt-sheet-head{display:flex;align-items:center;gap:10px;padding-top:12px}
.pt-sheet-title{flex:1;font-size:19px;font-weight:700}
.pt-close{width:40px;height:40px;flex:none;display:flex;align-items:center;justify-content:center;border:0;cursor:pointer;border-radius:999px;background:rgba(190,205,235,.08);color:var(--pt-paper)!important}
.pt-sheet-intro{font-size:14px}
.pt-form{display:flex;flex-direction:column;gap:14px}
.pt-choices{display:flex;flex-direction:column;gap:8px}
.pt-choice{position:relative;display:flex;align-items:center;gap:12px;padding:8px 12px 8px 8px;border-radius:10px;border:1px solid rgba(190,205,235,.12);cursor:pointer}
.pt-choice input{position:absolute;opacity:0;pointer-events:none}
.pt-choice img,.pt-choice-plus{width:52px;height:52px;border-radius:8px;object-fit:cover;flex:none}
.pt-choice-plus{display:flex;align-items:center;justify-content:center;background:rgba(190,205,235,.07);color:var(--pt-label)}
.pt-radio{width:22px;height:22px;flex:none;border-radius:999px;border:1.5px solid rgba(190,205,235,.35)}
.pt-choice:has(input:checked){border-color:rgba(243,210,138,.55);background:rgba(243,210,138,.07)}
.pt-choice:has(input:checked) .pt-radio{border:6px solid var(--pt-gold);background:var(--pt-on-gold)}
.pt-choice:has(input:focus-visible){outline:2px solid var(--pt-gold);outline-offset:2px}
.pt-add-photos{position:relative;display:inline-flex;align-items:center;gap:8px;align-self:flex-start;min-height:44px;padding:0 14px;border-radius:8px;border:1.5px dashed rgba(190,205,235,.35);font-weight:500;color:var(--pt-label);cursor:pointer}
.pt-add-photos:hover{background:var(--pt-hover)}
.pt-refer-big{font-size:40px;line-height:1;color:var(--pt-gold-soft)}
.pt-how{display:flex;flex-direction:column;gap:10px}
.pt-how li{display:flex;gap:12px;align-items:flex-start;font-size:14px}
.pt-num{width:26px;height:26px;flex:none;border-radius:999px;background:rgba(243,210,138,.14);color:var(--pt-gold);display:flex;align-items:center;justify-content:center;font-family:var(--pt-mono);font-size:12px}
.pt-how li span+span{padding-top:3px}
.pt-rows--plain{padding:0;gap:0}
.pt-rows--plain li{display:flex;align-items:center;gap:10px;padding:10px 0;border-top:1px solid var(--pt-line-row)}
.pt-locked{display:flex;gap:10px;align-items:flex-start;color:var(--pt-muted)}
.pt-pick{display:flex;flex-wrap:wrap;gap:8px 20px}
.pt-pick legend{width:100%;margin-bottom:6px}
.pt-pick label{display:flex;align-items:center;gap:8px;font-size:14px;cursor:pointer}
.pt-pick input{accent-color:var(--pt-gold);width:18px;height:18px}

/* ---- sign-in ---- */
.pt-signin{min-height:100vh;min-height:100dvh;display:flex;align-items:center;justify-content:center;padding:24px 16px}
.pt-signin-card{width:100%;max-width:440px;display:flex;flex-direction:column;gap:16px;padding:28px;background:var(--pt-panel);border:1px solid var(--pt-line);border-radius:16px}
.pt-signin-brand{margin-bottom:6px}
.pt-signin-title{font-size:36px;line-height:1.04}
.pt-signin-more{display:flex;justify-content:center;gap:22px;flex-wrap:wrap}
.pt-or{text-align:center;color:var(--pt-muted)}
.pt-code{letter-spacing:.35em;text-align:center;font-family:var(--pt-mono)}

/* ---- phones (Light Ops' 760px) ---- */
@media (max-width:760px){
  .pt-app{grid-template-columns:minmax(0,1fr)}
  .pt-side,.pt-top,.pt-foot,.pt-hide-sm{display:none!important}
  .pt-mtop{position:sticky;top:0;z-index:20;display:flex;align-items:center;gap:8px;height:56px;padding:0 10px 0 14px;background:var(--pt-bar);border-bottom:1px solid var(--pt-line)}
  .pt-mtop .pt-brand{min-height:0}
  .pt-mtop .pt-brand img{width:30px;height:30px}
  .pt-mtop .pt-menu summary{padding:4px}
  .pt-mtop .pt-initials{width:34px;height:34px}
  .pt-content{padding:14px 16px calc(96px + env(safe-area-inset-bottom))}
  .pt-tabs{position:fixed;left:0;right:0;bottom:0;z-index:50;display:flex;padding:4px 4px calc(8px + env(safe-area-inset-bottom));background:var(--pt-bar);border-top:1px solid var(--pt-line)}
  .pt-tab{position:relative;flex:1;min-width:0;min-height:54px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:var(--pt-muted)!important;font-size:11.5px;font-weight:500}
  .pt-tab.is-active{color:var(--pt-gold)!important}
  .pt-tab-badge{position:absolute;top:4px;left:50%;margin-left:6px;min-width:16px;height:16px;padding:0 4px;border-radius:999px;background:#ff9f0a;color:#000;font-size:10px;font-weight:700;display:flex;align-items:center;justify-content:center}
  .pt-where{display:flex;align-items:center;gap:8px;margin-bottom:12px;font-size:13.5px}
  .pt-where svg{color:var(--pt-muted)}
  .pt-where span{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .pt-where a{font-weight:600;font-size:13px;padding:6px 2px}
  .pt-hero{height:auto;display:flex;flex-direction:column}
  .pt-hero picture{position:relative;display:block;height:188px}
  .pt-hero img{position:absolute;inset:0;height:188px;object-position:50% 58%}
  .pt-hero-shade{inset:auto 0 auto 0;top:118px;height:70px;background:linear-gradient(180deg,rgba(15,24,41,0),#0f1829)}
  .pt-hero-copy{position:relative;left:auto;top:auto;bottom:auto;width:auto;gap:8px;padding:2px 18px 18px}
  .pt-hero-title{font-size:36px}
  .pt-hero-sub{font-size:14px;color:var(--pt-label)}
  .pt-btn--hero{align-self:stretch;min-height:44px}
  .pt-hero-tag{display:none}
  .pt-grid{grid-template-columns:minmax(0,1fr);margin-top:12px}
  .pt-c-services,.pt-c-refer,.pt-c-due{grid-column:auto}
  .pt-c-due{order:1}.pt-c-messages{order:3}.pt-c-invoices{order:4}.pt-c-services{order:5}.pt-c-refer{order:6}.pt-c-out{order:7}.pt-c-review{order:8}
  .pt-c-installs{grid-column:auto;order:2}
  .pt-inst{padding:14px}
  .pt-appt-steps{display:none}
  .pt-c-messages .pt-rows li:nth-child(n+3){display:none}
  .pt-svcs{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none}
  .pt-svcs::-webkit-scrollbar{display:none}
  .pt-svc{flex:none;width:236px;height:168px;scroll-snap-align:start}
  .pt-refer{flex-direction:column;align-items:stretch;gap:12px;padding:16px}
  .pt-refer-link{width:auto}
  .pt-ref-field{display:none}
  .pt-tally li:nth-child(n+2){display:none}
  .pt-h1{font-size:28px}
  .pt-head{margin-bottom:16px}
  .pt-cols{grid-template-columns:minmax(0,1fr)}
  .pt-stats{gap:10px}
  .pt-stat{padding:14px}
  .pt-stat-num{font-size:22px}
  .pt-doc{grid-template-columns:minmax(0,1fr) auto 36px;grid-template-areas:"main amt pdf" "main pill pdf";row-gap:4px;padding:12px 14px}
  .pt-doc-main{grid-area:main}.pt-doc .pt-amt{grid-area:amt}.pt-doc .pt-pill{grid-area:pill;justify-self:end}.pt-doc .pt-icon-btn{grid-area:pdf}
  .pt-doc-date{display:none}
  .pt-group{margin:14px 14px 6px}
  .pt-chat--page{margin:0 -16px;border-left:0;border-right:0;border-radius:0}
  .pt-content[data-page="messages"]{padding-bottom:calc(67px + env(safe-area-inset-bottom))}
  .pt-thread{padding:14px}
  .pt-msg{max-width:86%}
  .pt-compose{padding:10px 14px 12px}
  .pt-money strong{font-size:15px}
  .pt-pay{grid-template-columns:34px minmax(0,1fr) 36px}
  .pt-pay-date{display:none}
  .pt-sheet{margin:-14px -16px 0;min-height:calc(100dvh - 56px - 67px);border:0;border-radius:0;padding:4px 18px 24px}
  .pt-design{margin:12px}
  .pt-signin-card{padding:22px}
  .pt-signin-title{font-size:32px}
}

/* ---- a friend's referral link (/r/<code>) ---- */
.pt-gift{max-width:560px;margin:0 auto;min-height:100vh;min-height:100dvh;background:var(--pt-ink)}
.pt-gift-top{display:flex;align-items:center;justify-content:space-between;gap:12px;height:60px;padding:0 16px;border-bottom:1px solid var(--pt-line)}
.pt-gift-top .pt-brand img{width:34px;height:34px}
.pt-gift-hero{position:relative;height:420px;overflow:hidden}
.pt-gift-hero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:55% 70%}
.pt-gift-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(10,16,32,.2) 0%,rgba(10,16,32,0) 28%,rgba(10,16,32,.8) 62%,#0a1020 100%)}
.pt-gift-copy{position:absolute;left:20px;right:20px;bottom:22px;display:flex;flex-direction:column;gap:10px}
.pt-gift-copy h1{font-size:44px;line-height:1}
.pt-gift-body{display:flex;flex-direction:column;gap:18px;padding:4px 20px 32px}
.pt-gift-lead{font-size:15px;line-height:1.5;color:var(--pt-nav)}
.pt-gift-points{display:flex;flex-direction:column;gap:10px}
.pt-gift-points li{display:flex;align-items:center;gap:10px;font-size:14px}
.pt-gift-points svg{color:var(--pt-gold)}

/* ---- add-ons to their install (decided with Brendan 2026-09-25) ---- */
.pt-addon-link{display:inline-flex;align-items:center;gap:6px;margin-top:6px;align-self:flex-start}
.pt-addto{display:flex;gap:12px;align-items:flex-start;padding:12px;border-radius:10px;border:1px solid rgba(243,210,138,.34);background:rgba(243,210,138,.06);cursor:pointer}
.pt-addto input{width:20px;height:20px;margin:1px 0 0;accent-color:var(--pt-gold);flex:none}
.pt-addto>span{display:flex;flex-direction:column;gap:2px;min-width:0}

/* ---- projects (decided with Brendan 2026-09-25): a date tile instead of a photo, money, documents ---- */
.pt-when-row{display:flex;align-items:center;gap:14px}
.pt-when-words{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.pt-where-line{display:flex;align-items:center;gap:5px;margin-top:2px}
.pt-where-line svg{flex:none}
.pt-date{flex:none;width:64px;height:72px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;border-radius:12px;background:rgba(243,210,138,.08);border:1px solid rgba(243,210,138,.3)}
.pt-date-m{font-family:var(--pt-mono);font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--pt-gold)}
.pt-date-d{font-size:28px;font-weight:700;line-height:1;font-variant-numeric:tabular-nums}
.pt-date-w{font-size:11.5px;color:var(--pt-muted)}
.pt-date--none{background:rgba(190,205,235,.05);border-color:var(--pt-line);color:var(--pt-muted)}
.pt-money{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:12px 0 0;border-top:1px solid var(--pt-line-row)}
.pt-money>div{display:flex;flex-direction:column;gap:2px;min-width:0}
.pt-money span{font-size:12px;color:var(--pt-muted)}
.pt-money strong{font-size:16px;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}
.pt-ok-text{color:var(--pt-ok)!important}
.pt-bad-text{color:var(--pt-bad)!important}
.pt-rows--inset{padding:4px 0 0;margin:0 -8px;border-top:1px solid var(--pt-line-row)}
.pt-proj-foot{display:flex;flex-direction:column;gap:10px;margin-top:auto}
.pt-proj-foot .pt-link{display:inline-flex;align-items:center;gap:5px;align-self:flex-start}
.pt-proj .pt-card-head .pt-pill{margin-left:auto}
.pt-also{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--pt-label)}
.pt-also svg{color:var(--pt-muted)}
.pt-past{display:flex;flex-direction:column}
.pt-past summary{display:flex;flex-direction:row;align-items:center;gap:10px;padding:14px 16px;cursor:pointer;list-style:none;font-weight:600;color:var(--pt-label)}
.pt-past summary::-webkit-details-marker{display:none}
.pt-past summary span:first-of-type{flex:1}
.pt-past[open] summary>svg:last-child{transform:rotate(180deg)}
.pt-past-list{display:flex;flex-direction:column;gap:12px;margin-top:12px}
.pt-group-when{font-weight:500;letter-spacing:0;text-transform:none}
.pt-saved{display:flex;align-items:center;gap:6px;color:var(--pt-ok);font-size:13px;font-weight:600}
.pt-saved[hidden]{display:none}

/* ---- Payments ---- */
.pt-pays{display:flex;flex-direction:column;padding:4px 0}
.pt-pay{display:grid;grid-template-columns:34px minmax(0,1fr) auto 36px;gap:12px;align-items:center;padding:12px 16px;border-top:1px solid var(--pt-line-row)}
.pt-pay:first-child{border-top:0}
.pt-pay-date{font-size:13px;color:var(--pt-muted);white-space:nowrap}
.pt-tile--ok{background:var(--pt-ok-tint);color:var(--pt-ok)}

/* ---- popups: Your home and Message Brendan ---- */
dialog.pt-dlg{padding:0;border:0;background:transparent;color:inherit;width:min(560px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 48px);overflow:visible}
dialog.pt-dlg::backdrop{background:rgba(4,8,18,.72);backdrop-filter:blur(2px)}
.pt-dlg-box{display:flex;flex-direction:column;max-height:calc(100dvh - 48px);background:var(--pt-panel);border:1px solid var(--pt-line-ghost);border-radius:16px;overflow:hidden;box-shadow:0 30px 80px -20px rgba(0,0,0,.7)}
.pt-dlg-head{display:flex;align-items:center;gap:10px;padding:12px 12px 12px 18px;border-bottom:1px solid rgba(190,205,235,.08)}
.pt-dlg-title{flex:1;min-width:0;font-size:17px;font-weight:700}
.pt-dlg-body{overflow-y:auto;padding:18px}
dialog.pt-dlg--chat{width:min(640px,calc(100vw - 32px))}
.pt-dlg--chat .pt-dlg-box{height:min(720px,calc(100dvh - 48px))}
.pt-dlg--chat .pt-dlg-body{flex:1;min-height:0;padding:0;display:flex;flex-direction:column;overflow:hidden}
.pt-chat--dialog{flex:1;min-height:0;max-width:none;border:0;border-radius:0;background:none}
.pt-chat--dialog .pt-thread{flex:1;min-height:0;overflow-y:auto}

/* ---- Messages page: the box stays at the bottom of the screen ---- */
.pt-chat--page .pt-compose{position:sticky;bottom:0;z-index:5;background:var(--pt-panel);border-radius:0 0 12px 12px}
@media (max-width:760px){.pt-chat--page .pt-compose{bottom:calc(67px + env(safe-area-inset-bottom));border-radius:0}}

/* ---- a quote or invoice inside the portal (a frame of its page, as tall as it) ---- */
.pt-doc-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:-6px 0 10px}
.pt-back{display:inline-flex;align-items:center;gap:4px;min-height:36px}
.pt-doc-bar{scroll-margin-top:72px}
.pt-doc-frame{display:block;width:100%;height:80vh;scroll-margin-top:72px;border:0;border-radius:12px;background:var(--pt-ink);color-scheme:dark}
@media (max-width:760px){.pt-doc-frame{width:calc(100% + 32px);margin:0 -16px;border-radius:0}.pt-doc-bar{margin-top:-4px}}

/* ---- Home: Your installs (decided with Brendan 2026-09-25): every install once, as the same row ---- */
.pt-insts{display:flex;flex-direction:column}
.pt-inst{display:flex;flex-direction:column;gap:10px;padding:16px;border-top:1px solid var(--pt-line-row)}
.pt-inst:first-child{border-top:0}
.pt-inst .pt-when-row{align-items:flex-start}
.pt-inst-what{margin-top:2px;font-size:13px;font-weight:600;color:var(--pt-label)}
.pt-inst-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-left:78px}
.pt-inst .pt-addon-link{margin:0 0 0 78px}
.pt-inst-end{display:flex;flex-direction:column;gap:12px;border-top:1px solid var(--pt-line-row);padding-top:4px}
.pt-inst-end .pt-row--flat{margin-top:0;border-top:0}
@media (max-width:760px){.pt-inst-foot{padding-left:0}.pt-inst .pt-addon-link{margin-left:0}}
.pt-inst-more{display:inline-flex;align-items:center;gap:5px;margin:0 16px 8px}

/* A quote or invoice loading inside the portal: a quiet "Loading…" until the page inside says it's ready. */
.pt-doc-wrap{position:relative}
.pt-doc-loading{position:absolute;left:0;right:0;top:64px;text-align:center;color:var(--pt-muted);font-size:14px;pointer-events:none}
.pt-doc-wrap.is-ready .pt-doc-loading{display:none}
.pt-doc-wrap .pt-doc-frame{position:relative}
.pt-doc-wrap:not(.is-ready) .pt-doc-frame{opacity:0}

/* ---- their details (decided with Brendan 2026-09-25): name, phone, email, each home's address and gate code ---- */
.pt-home-form{display:flex;flex-direction:column;gap:12px}
.pt-form-end{display:flex;align-items:center;justify-content:flex-end;gap:12px}
.pt-form-end .pt-saved{margin-right:auto}
.pt-kv--line{margin-top:6px;padding-top:14px;border-top:1px solid var(--pt-line-row)}
.pt-email-change{margin-top:6px}
.pt-email-change summary{list-style:none;cursor:pointer;display:inline-block}
.pt-email-change summary::-webkit-details-marker{display:none}
.pt-email-change[open] summary{margin-bottom:10px}
.pt-email-change .pt-muted{margin-top:6px}
.pt-email-step{display:flex;flex-direction:column;gap:8px;margin-top:10px;padding:14px;border-radius:10px;border:1px solid rgba(243,210,138,.34);background:rgba(243,210,138,.06)}
.pt-email-more{display:flex;gap:18px}
.pt-email-step .pt-code{max-width:160px}

/* ---- View invoice: the PDF in a popup, with Download (decided with Brendan 2026-09-25) ---- */
.pt-inst-btns{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
/* Nearly the whole screen (decided with Brendan 2026-09-25: like Wave, big enough to read the invoice). */
dialog.pt-dlg--pdf{width:min(1100px,calc(100vw - 48px));max-height:calc(100dvh - 24px)}
.pt-dlg--pdf .pt-dlg-box{height:calc(100dvh - 24px);max-height:calc(100dvh - 24px)}
.pt-dlg--pdf .pt-dlg-head .pt-btn{margin-left:auto}
.pt-pdf-body{position:relative;flex:1;min-height:0;padding:0;background:#525659}
.pt-pdf-frame{display:block;width:100%;height:100%;border:0;background:transparent}
.pt-pdf-body .pt-doc-loading{top:40%;color:#e8ebf0}
@media (max-width:760px){.pt-pdf-body{background:var(--pt-ink)}}
.pt-home>.pt-card-big{margin-bottom:10px}
.pt-field-label .pt-muted{font-weight:400}

/* ---- Browse our services, Give $50 get $50 and Something's out? as popups (close when you click off them) ---- */
.pt-dlg--sheet .pt-dlg-box{overflow-y:auto}
.pt-dlg--sheet .pt-sheet{max-width:none;margin:0;border:0;border-radius:0;background:none;min-height:0}
@media (max-width:760px){.pt-dlg--sheet .pt-sheet{padding:4px 18px 24px}}

/* ---- addresses: street, city, then state and ZIP side by side (decided with Brendan 2026-09-25) ---- */
.pt-two-fields{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:12px}
select.pt-field{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239fb0c8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;padding-right:36px}
.pt-home-intro{margin:-4px 0 14px;font-size:14px}

/* ---- Give $50, Get $50 as a promo card (decided with Brendan 2026-09-25) ---- */
.pt-promo{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);align-items:center;gap:0;padding:26px 28px}
.pt-promo-words{display:flex;align-items:center;gap:20px;padding-right:28px;border-right:1px solid var(--pt-line)}
.pt-promo-gift{flex:none;width:72px;height:72px;display:flex;align-items:center;justify-content:center;border-radius:16px;background:rgba(190,205,235,.07);border:1px solid var(--pt-line);color:var(--pt-gold)}
.pt-promo-title{font-size:28px;font-weight:700;line-height:1.15;letter-spacing:-.02em}
.pt-promo-sub{margin-top:6px;font-size:15.5px;line-height:1.5;color:var(--pt-muted)}
.pt-promo .pt-tally{margin-top:12px}
.pt-promo-link{display:flex;flex-direction:column;gap:10px;padding-left:28px}
.pt-promo-label{font-size:13px;color:var(--pt-muted)}
.pt-promo-field{display:flex;align-items:stretch;height:44px;border-radius:10px;border:1px solid var(--pt-line-input);background:var(--pt-input);overflow:hidden}
.pt-promo-field input{flex:1;min-width:0;padding:0 14px;border:0;background:none;color:var(--pt-paper);font-size:13.5px;text-overflow:ellipsis}
.pt-promo-field input:focus{outline:none}
.pt-promo-field button{flex:none;width:46px;display:flex;align-items:center;justify-content:center;border:0;border-left:1px solid var(--pt-line-input);background:rgba(190,205,235,.05);color:var(--pt-label);cursor:pointer}
.pt-promo-field button:hover{background:var(--pt-hover);color:var(--pt-paper)}
.pt-promo-btns{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.pt-promo-btns .pt-btn{min-height:44px}
.pt-promo-more{display:inline-flex;align-items:center;gap:6px;align-self:flex-start;font-size:14px}
@media (max-width:1100px){.pt-promo{grid-template-columns:minmax(0,1fr);gap:20px}.pt-promo-words{padding-right:0;border-right:0;padding-bottom:20px;border-bottom:1px solid var(--pt-line)}.pt-promo-link{padding-left:0}}
@media (max-width:760px){.pt-promo{padding:18px 16px}.pt-promo-gift{width:56px;height:56px;border-radius:14px}.pt-promo-title{font-size:23px}.pt-promo-sub{font-size:15px}.pt-promo-words{align-items:flex-start;gap:14px}}

/* ---- Home: Something's out? and the review card share the right column beside the referral card ---- */
.pt-c-stack{display:flex;flex-direction:column;gap:12px;min-width:0}

/* ---- Last, so they win over the rules above ---- */
/* Tablets and small laptops (761–1100px): a narrower sidebar, one column of pages, two of Home cards. */
@media (min-width:761px) and (max-width:1100px){
  .pt-app{grid-template-columns:208px minmax(0,1fr)}
  .pt-content{padding:24px 20px 36px}
  .pt-top{padding:0 20px}
  .pt-cols{grid-template-columns:minmax(0,1fr)}
  .pt-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .pt-c-installs,.pt-c-services,.pt-c-refer,.pt-c-due{grid-column:1/-1}
  .pt-hero{height:auto;min-height:240px;display:flex;align-items:center}
  .pt-hero-copy{position:relative;left:auto;top:auto;bottom:auto;width:min(520px,86%);padding:32px 28px}
  .pt-hero-title{font-size:40px}
  .pt-hero-shade{background:linear-gradient(90deg,#0a1020 0%,rgba(10,16,32,.94) 45%,rgba(10,16,32,.55) 75%,rgba(10,16,32,.2) 100%)}
  .pt-hero-tag{display:none}
  .pt-doc{grid-template-columns:minmax(0,1fr) auto 36px;grid-template-areas:"main amt pdf" "main pill pdf";row-gap:4px;padding:12px 14px}
  .pt-doc-main{grid-area:main}.pt-doc .pt-amt{grid-area:amt}.pt-doc .pt-pill{grid-area:pill;justify-self:end}.pt-doc .pt-icon-btn{grid-area:pdf}
  .pt-doc-date{display:none}
}
/* Phones: popups come up from the bottom, full width; the PDF fills the screen. */
@media (max-width:760px){
  /* 16px fields: an iPhone zooms the page into any smaller field it focuses. */
  .pt-app :is(input:not([type=checkbox]):not([type=radio]):not([readonly]),select,textarea),dialog.pt-dlg :is(input:not([type=checkbox]):not([type=radio]):not([readonly]),select,textarea){font-size:16px}
  dialog.pt-dlg,dialog.pt-dlg--chat,dialog.pt-dlg--pdf{width:100%;max-width:none;margin:auto 0 0;max-height:92dvh}
  .pt-dlg-box{max-height:92dvh;border-radius:16px 16px 0 0;border-bottom:0}
  dialog.pt-dlg:not(.pt-dlg--pdf) .pt-dlg-box{position:relative}
  dialog.pt-dlg:not(.pt-dlg--pdf) .pt-dlg-head{padding-top:20px;touch-action:none}
  dialog.pt-dlg:not(.pt-dlg--pdf) .pt-dlg-box::before{content:"";position:absolute;top:7px;left:50%;z-index:1;width:38px;height:4px;margin-left:-19px;border-radius:2px;background:rgba(190,205,235,.35)}
  .pt-dlg--chat .pt-dlg-box{height:92dvh}
  dialog.pt-dlg--pdf{margin:0;height:100dvh;max-height:100dvh}
  .pt-dlg--pdf .pt-dlg-box{height:100dvh;max-height:100dvh;border-radius:0}
  .pt-inst-foot{flex-direction:column;align-items:stretch;gap:10px}
  .pt-inst-btns{justify-content:stretch}
  .pt-inst-btns>*{flex:1 1 0}
  .pt-c-stack{order:7}
}
/* A copy button whose words are for screen readers only shows "Copied!" above it for a moment. */
.pt-promo-field button{position:relative}
.pt-promo-field button.is-copied{color:var(--pt-ok)}
.pt-promo-field button.is-copied::after{content:"Copied!";position:absolute;right:4px;bottom:calc(100% + 8px);padding:4px 8px;border-radius:6px;background:var(--pt-pop);border:1px solid var(--pt-line-ghost);color:var(--pt-paper);font-size:12px;font-weight:600;white-space:nowrap}
.pt-promo-field{overflow:visible}
.pt-promo-field input{border-radius:10px 0 0 10px}
.pt-promo-field button{border-radius:0 10px 10px 0}
/* Phone menus as app sheets (decided with Brendan 2026-09-25): the account menu opens from the bottom, full width,
   above the tab bar (which steps aside), the page dimmed and still behind it. */
@media (max-width:760px){
  details.pt-menu[open] .pt-menu-pop{position:fixed;top:auto;right:0;bottom:0;left:0;z-index:70;min-width:0;max-height:86dvh;overflow-y:auto;overscroll-behavior:contain;
    padding:26px 10px calc(14px + env(safe-area-inset-bottom));border-radius:20px 20px 0 0;border-bottom:0;
    box-shadow:0 0 0 100vmax rgba(4,8,18,.62),0 -14px 40px rgba(0,0,0,.5);animation:pt-sheet-up .18s cubic-bezier(.2,.8,.2,1)}
  details.pt-menu[open] .pt-menu-pop::before{content:"";position:absolute;top:9px;left:50%;width:38px;height:4px;margin-left:-19px;border-radius:2px;background:rgba(190,205,235,.35)}
  details.pt-menu[open] .pt-menu-pop a,details.pt-menu[open] .pt-menu-pop button{min-height:50px;font-size:16px}
  .pt-app:has(details.pt-menu[open]) .pt-tabs{visibility:hidden}
  html:has(details.pt-menu[open]){overflow:hidden}
}
@keyframes pt-sheet-up{from{transform:translateY(40px);opacity:.6}to{transform:none;opacity:1}}
/* Phone menus (Light Ops Settings → Phone menus, decided with Brendan 2026-09-25): the phone's own menu (an invisible
   select over the account button) or a Light Ops action sheet; popups slide up from the bottom (v6, handoff 11). */
.pt-menu summary:has(> .pt-native-menu){position:relative}
.pt-native-menu{position:absolute;inset:0;z-index:2;width:100%;height:100%;margin:0;padding:0;border:0;opacity:0;font-size:16px;background:transparent;color:transparent;-webkit-appearance:none;appearance:none;cursor:pointer}
.pt-ms-scrim{position:fixed;inset:0;z-index:80;display:flex;align-items:flex-end;justify-content:center;background:rgba(3,6,14,.66);overscroll-behavior:contain}
.pt-ms-scrim[hidden]{display:none}
.pt-ms{display:flex;flex-direction:column;gap:8px;width:100%;max-width:540px;padding:0 10px max(10px,env(safe-area-inset-bottom))}
.pt-ms-group{overflow:hidden;border:1px solid var(--pt-line-ghost);border-radius:16px;background:var(--pt-panel)}
.pt-ms-head{padding:12px 16px 10px;border-bottom:1px solid rgba(190,205,235,.09);color:var(--pt-muted);font-size:13px;text-align:center}
.pt-ms-row{display:flex;align-items:center;gap:12px;width:100%;min-height:56px;padding:8px 16px;border:0;border-bottom:1px solid rgba(190,205,235,.09);background:transparent;color:var(--pt-paper);font-family:inherit;font-size:16px;font-weight:500;line-height:1.2;text-align:left;cursor:pointer}
.pt-ms-row:last-child{border-bottom:0}
.pt-ms-cancel{width:100%;min-height:52px;border:1px solid var(--pt-line-ghost);border-radius:16px;background:var(--pt-panel);color:var(--pt-paper);font-family:inherit;font-size:17px;font-weight:700;cursor:pointer}
@media (hover:none){.pt-body button:active,.pt-body .pt-btn:active{opacity:.72}}
.pt-body,.pt-body *{-webkit-tap-highlight-color:transparent}
@media (max-width:760px){
  dialog.pt-dlg[open]:not(.pt-dlg--pdf) .pt-dlg-box{animation:pt-sheet-in .38s cubic-bezier(.32,.72,0,1)}
  dialog.pt-dlg::backdrop{background:rgba(3,6,14,.66)}
  .pt-dlg-box,.pt-dlg-body{overscroll-behavior:contain}
}
@keyframes pt-sheet-in{from{transform:translateY(100%)}to{transform:none}}
@media (prefers-reduced-motion:reduce){dialog.pt-dlg[open] .pt-dlg-box{animation:none}}

/* ---- an install's popup (decided with Brendan 2026-09-26): tap an install on Home or My Project ---- */
.pt-inst{position:relative;transition:background-color .12s}
.pt-inst-open{position:absolute;inset:0;width:100%;padding:0;border:0;border-radius:0;background:none;cursor:pointer}
.pt-inst-open:focus-visible{outline:2px solid var(--pt-gold,#f3d28a);outline-offset:-3px}
.pt-inst>:not(.pt-inst-open){position:relative;pointer-events:none}
.pt-inst a,.pt-inst button:not(.pt-inst-open){pointer-events:auto}
@media (hover:hover){.pt-inst:hover{background:rgba(190,205,235,.04)}}
.pt-c-installs{overflow:hidden}
.pt-past-list .pt-c-installs{margin-top:12px}
/* The popup itself (owner's design, 2026-09-26) */
dialog.pt-dlg--inst{width:min(880px,calc(100vw - 32px))}
/* One scroll for the whole popup, so its close button scrolls away with the top instead of covering the words. */
.pt-dlg--inst .pt-dlg-box{position:relative;overflow-y:auto}
.pt-dlg--inst .pt-dlg-body{overflow:visible}
.pt-it-head{position:absolute;top:10px;right:10px;z-index:2;padding:0;border:0}
.pt-dlg--inst .pt-dlg-body{padding:30px 32px 32px}
.pt-it-title{margin:10px 0 0;font-size:40px;line-height:1.1;color:var(--pt-paper)}
.pt-it-what{margin:8px 0 14px;font-size:19px;font-weight:500;color:var(--pt-label)}
.pt-it-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:24px;padding-bottom:22px;border-bottom:1px solid var(--pt-line-row)}
.pt-it-tile{display:flex;gap:12px;align-items:flex-start;min-width:0;padding:16px;border-radius:10px;background:rgba(190,205,235,.045);color:var(--pt-label)}
.pt-it-tile>svg{flex:none;margin-top:2px}
.pt-it-tile>div{min-width:0}
.pt-it-label{font-size:12.5px;color:var(--pt-muted)}
.pt-it-value{margin-top:3px;font-size:14px;font-weight:500;line-height:1.45;color:var(--pt-paper);overflow-wrap:anywhere}
.pt-tl{list-style:none;margin:6px 0 0;padding:0}
.pt-tl-step{position:relative;display:flex;align-items:center;gap:16px;padding:14px 0 14px 44px;min-height:66px}
.pt-tl-step::before{content:"";position:absolute;left:12px;top:50%;height:100%;border-left:2px solid rgba(190,205,235,.28)}
.pt-tl-step:last-child::before{display:none}
.pt-tl-step.is-done::before{border-left-color:var(--pt-gold)}
.pt-tl-dot{position:absolute;left:0;top:50%;width:26px;height:26px;margin-top:-13px;border-radius:50%;border:2px solid rgba(190,205,235,.45);background:var(--pt-panel);display:flex;align-items:center;justify-content:center;color:var(--pt-on-gold)}
.pt-tl-step.is-done .pt-tl-dot{border-color:var(--pt-gold);background:var(--pt-gold)}
.pt-tl-step.is-now .pt-tl-dot{border-color:var(--pt-gold);box-shadow:inset 0 0 0 4px var(--pt-panel);background:var(--pt-gold)}
.pt-tl-words{flex:1;min-width:0}
.pt-tl-label{font-size:16px;font-weight:600;color:var(--pt-paper)}
.pt-tl-sub{margin-top:2px;font-size:14px;color:var(--pt-muted)}
.pt-tl-done{display:inline-flex;align-items:center;gap:6px;flex:none;font-size:14px;color:var(--pt-ok)}
.pt-tl-tag{flex:none;padding:5px 12px;border-radius:8px;font-size:14px;font-weight:500;background:rgba(190,205,235,.1);color:var(--pt-label)}
.pt-tl-tag.is-now{background:rgba(243,210,138,.16);color:var(--pt-gold)}
.pt-it-money{margin-top:8px}
.pt-detail-pay{margin-top:14px}
.pt-it-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:22px}
.pt-it-card{display:flex;align-items:center;gap:16px;min-width:0;padding:20px;border:1px solid var(--pt-line-ghost);border-radius:10px;color:var(--pt-paper)!important;transition:background-color .12s,border-color .12s}
.pt-it-card:hover{background:rgba(190,205,235,.04);border-color:rgba(190,205,235,.28)}
.pt-it-card-ico{flex:none;color:var(--pt-label);display:flex}
.pt-it-card-words{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.pt-it-card-title{font-size:16px;font-weight:600}
.pt-it-card-sub{font-size:14px;color:var(--pt-muted)}
.pt-it-card>svg:last-child{flex:none;color:var(--pt-muted)}
@media (max-width:760px){
  .pt-dlg--inst .pt-dlg-body{padding:30px 18px 26px}
  .pt-it-title{font-size:29px;padding-right:40px}
  .pt-it-what{font-size:16px}
  .pt-it-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .pt-it-tile{flex-direction:column;gap:8px;padding:12px}
  .pt-it-cards{grid-template-columns:1fr;gap:8px}
  .pt-it-card{padding:14px 16px}
  .pt-tl-tag,.pt-tl-done{font-size:13px}
}
.pt-dlg--inst .pt-it-what+.pt-pill{padding:6px 14px;font-size:15px;border-radius:8px}
.pt-it-num{color:var(--pt-muted);font-weight:400;white-space:nowrap}
/* Phone field focus (decided with Brendan 2026-09-27): tapping a field turns its own border gold. One border: no
   outline, ring or glow on the field or around it (Safari's own focus ring included), and nothing moves or resizes.
   The link box draws its border on its wrapper, so the wrapper turns gold. The desktop keeps its focus styles. */
@media (max-width:760px){
  .pt-body :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=button]):not([type=submit]),textarea,select):is(:focus,:focus-visible){outline:none!important;box-shadow:none!important;border-color:rgba(243,210,138,.6)!important}
  .pt-body .pt-promo-field:focus-within{border-color:rgba(243,210,138,.6)}
  .pt-body .pt-promo-field input:is(:focus,:focus-visible){border-color:transparent!important}
}
