/* Fresh Coat Painters of Wellington: quote wizard, customer portal and owner dashboard. */
.site.sub, .site.app { background: linear-gradient(180deg, #eaf3fa 0%, var(--fc-cloud) 18%, #f7f1e8 55%, #f8eef4 100%); }
.sched-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.sched-photos figure { margin: 0; position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; }
.sched-photos img { width: 100%; height: 100%; object-fit: cover; }
.sched-photos figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 10px 8px; font-size: 12.5px; font-weight: 700; color: #fff; background: linear-gradient(0deg, rgba(10, 20, 30, .7), transparent); }
.btn.block { width: 100%; }
.fine { font-size: 12.5px; color: #6b7685; margin: 10px 0 0; }
.muted { color: #8090a0; font-size: 13px; }
.demo-note { font-size: 12px; font-weight: 700; color: #7d540c; background: #fbefd6; padding: 5px 10px; border-radius: 999px; }
.app-who { margin-left: auto; gap: 10px; }
.app-who .who { display: grid; line-height: 1.15; }
.app-who .who small { color: #6b7685; font-weight: 600; }
.av.sm { width: 30px; height: 30px; font-size: 11px; }
.card { background: #fff; border-radius: 20px; padding: 22px; box-shadow: 0 1px 0 rgba(23, 34, 49, .04), 0 12px 34px rgba(29, 58, 92, .08); }
.card h2 { font-size: 22px; color: var(--fc-navy); margin: 0 0 14px; }
.card h3 { font-size: 18px; color: var(--fc-navy); margin: 0 0 12px; }
.card-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.card-h h2 { margin: 0; }

/* ================= quote wizard ================= */
.quote-page { padding-top: var(--head-h); }
.q-hero { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--fc-sky-soft), var(--fc-linen) 60%, var(--fc-bloom-soft)); padding: 56px 0 120px; }
.q-hero-photos { position: absolute; right: -40px; top: 26px; display: flex; gap: 14px; transform: rotate(-4deg); }
.q-hero-photos img { width: 150px; height: 200px; object-fit: cover; border-radius: 18px; box-shadow: 0 16px 34px rgba(29, 58, 92, .18); outline: 5px solid #fff; }
.q-hero-photos img:nth-child(even) { margin-top: 36px; }
.q-hero-in { position: relative; max-width: 620px; margin-left: max(24px, calc((100vw - 1240px) / 2)); }
.q-hero h1 { font-size: clamp(36px, 4.4vw, 58px); line-height: 1.02; color: var(--fc-navy); margin: 0 0 14px; font-weight: 800; }
.q-hero p { font-size: 18px; color: #3a4757; max-width: 540px; }
.q-grid { display: grid; grid-template-columns: 1fr 360px; gap: 28px; margin-top: -84px; position: relative; padding-bottom: 90px; align-items: start; }
.q-card { background: #fff; border-radius: 26px; padding: 30px; box-shadow: 0 30px 70px rgba(29, 58, 92, .14); }
.q-steps { display: flex; list-style: none; margin: 0 0 26px; padding: 0; gap: 6px; flex-wrap: wrap; }
.q-steps li { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: #8a96a5; padding: 6px 12px 6px 6px; border-radius: 999px; }
.q-steps li span { width: 26px; height: 26px; border-radius: 50%; background: #edf1f5; display: grid; place-items: center; font-size: 12px; }
.q-steps li.is-on { background: var(--fc-sky-soft); color: var(--fc-navy); }
.q-steps li.is-on span { background: var(--fc-red); color: #fff; }
.q-steps li.is-done span { background: var(--fc-navy); color: #fff; }
.q-step { display: none; border: 0; margin: 0; padding: 0; min-width: 0; animation: qIn .5s var(--ease); }
.q-step.is-on { display: block; }
@keyframes qIn { from { opacity: 0; transform: translate3d(0, 12px, 0); } to { opacity: 1; transform: none; } }
.q-step legend { font-family: var(--display); font-size: clamp(26px, 2.6vw, 34px); font-weight: 700; letter-spacing: -.02em; color: var(--fc-navy); padding: 0; margin-bottom: 6px; outline: none; }
.q-help { color: #5a6676; margin: 0 0 18px; }
.q-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.q-tile { position: relative; border-radius: 18px; overflow: hidden; cursor: pointer; aspect-ratio: 1 / .9; outline: 3px solid transparent; transition: outline-color .2s, transform .25s var(--ease); }
.q-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.q-tile:hover img { transform: scale(1.05); }
.q-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15, 28, 45, .7), rgba(15, 28, 45, 0) 55%); }
.q-tile span { position: absolute; left: 14px; bottom: 12px; z-index: 1; color: #fff; font-family: var(--display); font-weight: 700; font-size: 19px; }
.q-tile input { position: absolute; top: 12px; right: 12px; z-index: 2; width: 24px; height: 24px; accent-color: var(--fc-red); }
.q-tile:has(input:checked) { outline-color: var(--fc-red); transform: translateY(-2px); }
.q-tile:has(input:focus-visible) { outline-color: var(--fc-navy); }
.q-err { color: #a3121a; font-weight: 700; margin: 14px 0 0; }
.q-block { margin: 0 0 22px; }
.q-block h3 { font-size: 17px; color: var(--fc-ink); margin: 0 0 10px; }
.q-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.q-chip { display: inline-flex; align-items: center; gap: 10px; border-radius: 999px; background: #f2f5f8; border: 1.5px solid #e1e7ee; font-weight: 600; font-size: 14.5px; }
.q-chip > span:first-child { padding: 8px 4px 8px 16px; }
.q-chip.is-on { background: #fff1f1; border-color: var(--fc-red); color: #8f1117; }
.q-tog { border: 0; background: none; padding: 9px 16px; cursor: pointer; font-weight: 600; color: inherit; }
.q-step-ctl { display: inline-flex; align-items: center; gap: 4px; padding-right: 5px; }
.q-step-ctl button { width: 28px; height: 28px; border-radius: 50%; border: 0; background: #fff; cursor: pointer; font-weight: 800; box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.q-step-ctl b { min-width: 18px; text-align: center; }
.q-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.q-pills label { cursor: pointer; }
.q-pills input { position: absolute; opacity: 0; pointer-events: none; }
.q-pills span { display: inline-block; padding: 10px 16px; border-radius: 999px; background: #f2f5f8; border: 1.5px solid #e1e7ee; font-weight: 600; font-size: 14.5px; }
.q-pills input:checked + span { background: var(--fc-navy); border-color: var(--fc-navy); color: #fff; }
.q-pills input:focus-visible + span { outline: 3px solid var(--fc-red); outline-offset: 2px; }
.q-check { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 16px; background: #fff4f4; border: 1.5px dashed rgba(215, 25, 33, .35); cursor: pointer; }
.q-check input { width: 22px; height: 22px; accent-color: var(--fc-red); margin-top: 2px; }
.q-check small { display: block; color: #6b5357; }
.q-drop { display: block; position: relative; border: 2px dashed #c9d4e0; border-radius: 18px; padding: 26px; text-align: center; background: #f8fafc; cursor: pointer; }
.q-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.q-drop b { display: block; font-family: var(--display); font-size: 20px; color: var(--fc-navy); }
.q-drop small { color: #6b7685; }
.q-files { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 6px; font-size: 14px; }
.q-field { display: grid; gap: 6px; font-weight: 700; font-size: 14px; margin-bottom: 14px; }
.q-field input, .q-field select, .q-field textarea, .dlg-field textarea, .punch-add input, .punch-add select, .qb select, .qb input { font: inherit; font-weight: 500; padding: 12px 14px; border-radius: 12px; border: 1.5px solid #d7dee7; background: #f9fbfd; width: 100%; }
.q-field :focus, .punch-add :focus, .qb :focus { outline: none; border-color: var(--fc-red); box-shadow: 0 0 0 4px rgba(215, 25, 33, .12); }
.q-two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.q-nav { display: flex; align-items: center; gap: 14px; margin-top: 28px; padding-top: 20px; border-top: 1px solid #edf1f5; }
.q-progress { flex: 1; height: 4px; border-radius: 4px; background: #edf1f5; overflow: hidden; }
.q-progress i { display: block; height: 100%; background: var(--fc-red); transform: scaleX(.2); transform-origin: 0 50%; transition: transform .5s var(--ease); }
.q-side { position: sticky; top: calc(var(--bar-h) + var(--head-h) + 20px); display: grid; gap: 16px; }
.q-sum, .q-pledge { background: #fff; border-radius: 22px; padding: 22px; box-shadow: 0 16px 40px rgba(29, 58, 92, .1); }
.q-sum h2 { font-size: 20px; color: var(--fc-navy); margin: 0 0 12px; }
.q-sum dl { margin: 0; display: grid; gap: 10px; }
.q-sum dl div { display: grid; gap: 2px; }
.q-sum dt { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #8a96a5; }
.q-sum dd { margin: 0; font-weight: 600; }
.q-pledge { background: var(--fc-navy); color: #fff; }
.q-pledge h3 { color: #fff; font-size: 18px; margin: 0 0 14px; }
.q-pledge ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.q-pledge li { display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: start; }
.q-pledge .n { width: 38px; height: 42px; border-radius: 10px; background: var(--fc-red); display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 22px; }
.q-pledge small { display: block; color: #c4d2e2; }
.q-pledge em { font-style: normal; color: #fff; font-weight: 700; }
.q-photo { margin: 0; border-radius: 22px; overflow: hidden; position: relative; aspect-ratio: 7 / 5; }
.q-photo img { width: 100%; height: 100%; object-fit: cover; }
.q-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 12px; color: #fff; font-weight: 700; background: linear-gradient(0deg, rgba(10, 20, 30, .7), transparent); }
.q-done { margin-top: -84px; position: relative; padding-bottom: 90px; }
.q-done-card { background: #fff; border-radius: 28px; padding: clamp(28px, 4vw, 54px); box-shadow: 0 30px 70px rgba(29, 58, 92, .14); max-width: 860px; }
.q-done-brush { width: 160px; height: 60px; fill: var(--fc-red); margin-bottom: 10px; animation: swipe .9s cubic-bezier(.7, 0, .2, 1) both; transform-origin: 0 50%; }
.q-done-card h2 { font-size: clamp(30px, 3.4vw, 46px); color: var(--fc-navy); margin: 0 0 12px; }
.q-done-steps { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 10px; }
.q-done-steps li { display: flex; gap: 12px; align-items: center; font-weight: 600; padding: 12px 14px; background: #f6f8fb; border-radius: 14px; }
.q-done-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* ================= app shell (portal + dashboard) ================= */
.app-shell { display: grid; grid-template-columns: 240px 1fr; gap: 28px; width: min(1360px, 100% - 40px); margin: 0 auto; padding: calc(var(--head-h) + 26px) 0 80px; }
.app-nav { position: sticky; top: calc(var(--bar-h) + var(--head-h) + 20px); align-self: start; display: grid; gap: 4px; }
.app-nav a { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 12px; text-decoration: none; font-weight: 600; color: #3e4a5a; transition: background .2s, color .2s; }
.app-nav a .ic { font-style: normal; font-size: 8px; color: #c2ccd8; transition: color .2s; }
.app-nav a:hover { background: #fff; }
.app-nav a.is-on { background: #fff; color: var(--fc-navy); box-shadow: 0 6px 18px rgba(29, 58, 92, .08); }
.app-nav a.is-on .ic { color: var(--fc-red); }
.app-nav-help { margin-top: 16px; padding: 16px; border-radius: 16px; background: var(--fc-navy); color: #fff; display: grid; gap: 4px; }
.app-nav-help a { padding: 0; color: #fff; font-family: var(--display); font-size: 20px; font-weight: 700; background: none; box-shadow: none; }
.app-nav-help small { color: #c4d2e2; }
.app-main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; min-width: 0; }
.pane { min-width: 0; }
.pane { scroll-margin-top: calc(var(--bar-h) + var(--head-h) + 16px); }
.pane-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 18px; }
.pane-head h2 { font-size: clamp(28px, 2.8vw, 38px); color: var(--fc-navy); margin: 0; }
.pane-head .sub { color: #5a6676; margin: 6px 0 0; max-width: 620px; }
.pane-head .eyebrow { margin-bottom: 8px; }

/* portal: job hero */
.job-hero { position: relative; border-radius: 28px; overflow: hidden; min-height: 330px; display: flex; align-items: flex-end; padding: 26px; isolation: isolate; }
.job-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.job-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(247, 250, 252, .94) 0%, rgba(247, 250, 252, .72) 45%, rgba(247, 250, 252, 0) 75%); }
.job-hero-card { max-width: 560px; }
.job-hero h1 { font-size: clamp(34px, 3.8vw, 52px); color: var(--fc-navy); margin: 0; font-weight: 800; }
.jh-sub { font-weight: 700; color: #4a5767; margin: 4px 0 16px; }
.jh-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.jh-steps li { font-size: 12.5px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .85); color: #6b7685; border: 1px solid #dfe6ee; }
.jh-steps li.is-done { background: var(--fc-navy); border-color: var(--fc-navy); color: #fff; }
.jh-steps li.is-done::before { content: "\2713  "; }
.ring { position: absolute; right: 26px; top: 26px; width: 130px; height: 130px; display: grid; place-items: center; text-align: center; background: rgba(255, 255, 255, .92); border-radius: 50%; box-shadow: 0 12px 30px rgba(29, 58, 92, .18); }
.ring svg { position: absolute; inset: 9px; width: calc(100% - 18px); height: calc(100% - 18px); transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 9; }
.ring .rt, .gauge .rt { stroke: #edf1f5; }
.ring .rv { stroke: var(--fc-red); stroke-dasharray: 327; stroke-dashoffset: 327; stroke-linecap: round; transition: stroke-dashoffset 1s var(--ease); }
.ring b { font-family: var(--display); font-size: 28px; color: var(--fc-navy); line-height: 1; margin-top: 30px; }
.ring small { font-size: 11px; font-weight: 700; color: #6b7685; margin-bottom: 34px; }
.ov-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px; margin-top: 18px; }
.need { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 12px; border-radius: 14px; text-decoration: none; background: #f7f9fb; margin-bottom: 8px; transition: background .2s; }
.need:hover { background: #fff1f1; }
.need-n { width: 34px; height: 34px; border-radius: 50%; background: var(--fc-red); color: #fff; display: grid; place-items: center; font-weight: 800; }
.need small { display: block; color: #6b7685; }
.all-set p { margin: 8px 0 0; color: #4a5767; }
.nu { display: flex; gap: 14px; align-items: center; }
.nu p { margin: 2px 0 0; color: #5a6676; }
.cal-chip { width: 64px; height: 70px; border-radius: 14px; background: var(--fc-red); color: #fff; display: grid; place-items: center; align-content: center; font-weight: 700; font-size: 13px; text-transform: uppercase; flex: none; }
.cal-chip b { font-family: var(--display); font-size: 28px; line-height: 1; }
.cal-chip.wait { background: var(--fc-navy); }
.nu-last { margin-top: 16px; padding-top: 14px; border-top: 1px dashed #dfe6ee; }
.nu-last small { font-weight: 800; color: #8a96a5; text-transform: uppercase; letter-spacing: .08em; font-size: 11px; }
.nu-last p { margin: 4px 0 0; }

/* portal: quote */
.q-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; align-items: start; }
.areas-rows { display: grid; gap: 8px; }
.arow { display: grid; grid-template-columns: 58px 1fr auto 52px; gap: 14px; align-items: center; padding: 8px; border-radius: 16px; background: #f7f9fb; cursor: pointer; transition: background .2s, opacity .2s; }
.arow img { width: 58px; height: 58px; object-fit: cover; border-radius: 12px; transition: filter .3s; }
.arow:not(.is-on) { opacity: .62; }
.arow:not(.is-on) img { filter: grayscale(1); }
.arow:not(.is-on) .arow-p { text-decoration: line-through; }
.arow-t small { display: block; color: #6b7685; }
.arow-p { font-weight: 800; color: var(--fc-navy); }
.switch { position: relative; width: 48px; height: 28px; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch i { position: absolute; inset: 0; border-radius: 999px; background: #cdd6e0; transition: background .2s; }
.switch i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .25s var(--ease); }
.switch input:checked + i { background: var(--fc-red); }
.switch input:checked + i::after { transform: translateX(20px); }
.switch input:focus-visible + i { outline: 3px solid var(--fc-navy); outline-offset: 2px; }
.q-tot { position: sticky; top: calc(var(--bar-h) + var(--head-h) + 20px); }
.tier { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 14px; background: #eef2f6; }
.tier button { border: 0; background: none; padding: 10px; border-radius: 10px; font-weight: 700; cursor: pointer; color: #5a6676; }
.tier button.is-on { background: #fff; color: var(--fc-red); box-shadow: 0 2px 8px rgba(0, 0, 0, .08); }
.tier-note { color: #5a6676; font-size: 14px; margin: 8px 2px 4px; }
.sheen { font-size: 14px; color: #4a5767; }
.sheen b { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: #8a96a5; }
.tot { margin: 14px 0 16px; display: grid; gap: 8px; }
.tot div { display: flex; justify-content: space-between; }
.tot dt { color: #5a6676; } .tot dd { margin: 0; font-weight: 700; }
.tot .big { padding-top: 10px; border-top: 1px dashed #d6dde6; }
.tot .big dt { color: var(--fc-ink); font-weight: 700; } .tot .big dd { font-family: var(--display); font-size: 30px; color: var(--fc-red); }
.tot .ep dd { color: var(--fc-navy); }

/* portal: colors */
.color-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ccard { background: #fff; border-radius: 22px; overflow: hidden; box-shadow: 0 12px 34px rgba(29, 58, 92, .08); outline: 2px solid transparent; transition: outline-color .3s; }
.ccard.is-ok { outline-color: #9ccfaf; }
.wall { display: block; width: 100%; height: auto; }
.wall rect:first-child { transition: fill .6s var(--ease); }
.ccard-b { padding: 16px 18px 18px; }
.ccard-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.ccard-h h3 { margin: 0; }
.cname { margin: 6px 0 12px; color: #6b7685; font-size: 13px; }
.cname b { color: var(--fc-ink); font-size: 15px; }
.sw { display: grid; gap: 6px; margin-bottom: 14px; }
.swb { display: flex; align-items: center; gap: 10px; padding: 6px; border-radius: 12px; border: 1.5px solid #e4e9ef; background: #fff; cursor: pointer; font-weight: 600; text-align: left; }
.swb i { width: 30px; height: 30px; border-radius: 8px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); flex: none; }
.swb.is-on { border-color: var(--fc-red); background: #fff6f6; }
.swb[disabled] { cursor: default; opacity: .7; }
.swb[disabled].is-on { opacity: 1; }

/* portal: schedule */
.sched-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 18px; }
.week { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.wday { border-radius: 16px; padding: 14px 10px; text-align: center; display: grid; gap: 2px; }
.wday small { font-weight: 800; font-size: 12px; text-transform: uppercase; opacity: .8; }
.wday b { font-family: var(--display); font-size: 30px; line-height: 1.05; }
.wday span { font-size: 12.5px; font-weight: 700; line-height: 1.25; }
.wday.prep { background: var(--fc-sky-soft); color: var(--fc-navy); }
.wday.paint { background: var(--fc-red); color: #fff; }
.wday.walk { background: #e2f1e6; color: #22603c; }
.wday.is-tent { opacity: .45; background-image: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .35) 0 8px, transparent 8px 16px); }
.crew-line { display: flex; gap: 12px; align-items: center; margin-top: 16px; }
.crew-line p { margin: 0; }
.crew-line small { color: #6b7685; }
.prep { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.prep label { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: #f7f9fb; cursor: pointer; font-weight: 600; }
.prep input { width: 20px; height: 20px; accent-color: var(--fc-palm); }
.prep label:has(input:checked) span { text-decoration: line-through; color: #8a96a5; }
.prep-note { font-size: 13.5px; color: #4a5767; padding: 6px 2px 0; }

/* portal: feed */
.feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.feed li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; }
.fb { background: #fff; border-radius: 18px; padding: 14px 16px; box-shadow: 0 8px 24px rgba(29, 58, 92, .06); }
.fb p { margin: 0; }
.fm { font-size: 13px; color: #6b7685; margin-bottom: 4px !important; }
.fb img { margin-top: 10px; width: min(320px, 100%); height: 180px; object-fit: cover; border-radius: 12px; }

/* portal: punch list */
.punch-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; align-items: start; }
.punch { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pi { display: grid; grid-template-columns: 54px 1fr auto; gap: 14px; align-items: center; padding: 12px; border-radius: 16px; background: #f7f9fb; }
.pi p { margin: 2px 0 0; color: #4a5767; }
.pi small { color: #6b7685; }
.tape { width: 54px; height: 22px; background: #4f8fd1; opacity: .85; transform: rotate(-8deg); border-radius: 2px; clip-path: polygon(0 10%, 4% 0, 8% 12%, 92% 0, 96% 14%, 100% 4%, 100% 90%, 96% 100%, 91% 88%, 6% 100%, 2% 90%, 0 100%); }
.pi.is-fixed .tape { background: #9ccfaf; }
.pi.is-fixed b, .pi.is-fixed p { text-decoration: line-through; color: #8a96a5; }
.review-ask { display: flex; gap: 14px; align-items: center; justify-content: space-between; padding: 16px; border-radius: 16px; background: var(--fc-bloom-soft); }
.review-ask p { margin: 2px 0 0; color: #5b3b50; }
.punch-add { display: grid; gap: 12px; }
.punch-add label { display: grid; gap: 6px; font-weight: 700; font-size: 14px; }

/* portal: docs + pay */
.docs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.doc { display: grid; gap: 6px; justify-items: start; text-align: left; padding: 18px; border-radius: 20px; background: #fff; border: 0; cursor: pointer; box-shadow: 0 12px 34px rgba(29, 58, 92, .08); transition: transform .25s var(--ease); }
.doc:hover { transform: translateY(-3px); }
.doc-ic { width: 70px; height: 40px; }
.doc-ic svg { width: 100%; height: 100%; fill: var(--fc-red); }
.doc b { font-family: var(--display); font-size: 17px; color: var(--fc-navy); }
.doc small { color: #6b7685; margin-bottom: 4px; }
.doc-t { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.doc-t th, .doc-t td { text-align: left; padding: 9px 8px; border-bottom: 1px solid #edf1f5; }
.doc-t td:last-child, .doc-t th:last-child { text-align: right; }
.doc-t tfoot td { font-weight: 800; color: var(--fc-red); border: 0; }
.dot-c { display: inline-block; width: 14px; height: 14px; border-radius: 4px; margin-right: 8px; vertical-align: -2px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.pay-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pay-c { display: grid; gap: 8px; justify-items: start; }
.pay-c small { font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: #8a96a5; font-size: 11.5px; }
.pay-c b { font-family: var(--display); font-size: 30px; color: var(--fc-navy); line-height: 1.05; }
.pay-c p { margin: 0; color: #5a6676; font-size: 14px; }
.pay-c.ep { background: var(--fc-red); color: #fff; }
.pay-c.ep small, .pay-c.ep p { color: rgba(255, 255, 255, .85); }
.pay-c.ep b { color: #fff; font-size: 24px; }
.dlg-field { display: grid; gap: 6px; font-weight: 700; }

/* ================= dashboard ================= */
.dash-hero { position: relative; border-radius: 28px; overflow: hidden; min-height: 210px; display: flex; align-items: flex-end; padding: 26px 28px; isolation: isolate; color: #fff; }
.dash-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; z-index: -2; }
.dash-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(29, 58, 92, .92), rgba(29, 58, 92, .55) 55%, rgba(163, 48, 127, .25)); }
.dash-hero h1 { font-size: clamp(32px, 3.6vw, 48px); font-weight: 800; margin: 0; }
.dash-hero p { margin: 6px 0 0; color: #dbe6f2; font-weight: 600; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 18px 0; }
.kpi { background: #fff; border-radius: 18px; padding: 16px 18px; box-shadow: 0 10px 28px rgba(29, 58, 92, .07); border-top: 4px solid; }
.kpi b { display: block; font-family: var(--display); font-size: 36px; color: var(--fc-navy); line-height: 1; }
.kpi small { font-weight: 700; color: #5a6676; }
.k-red { border-color: var(--fc-red); } .k-warn { border-color: #e2a72e; } .k-info { border-color: var(--fc-sky); } .k-ok { border-color: #58a876; }
.today-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 18px; align-items: start; }
.prio { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.p { display: grid; grid-template-columns: 118px 1fr auto auto; gap: 12px; align-items: center; padding: 12px 12px 12px 14px; border-radius: 16px; background: #f7f9fb; border-left: 4px solid; }
.p-red { border-color: var(--fc-red); } .p-warn { border-color: #e2a72e; } .p-info { border-color: var(--fc-sky); }
.p-tag { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: #6b7685; }
.p-b small { display: block; color: #6b7685; font-size: 13px; }
.p-clock { font-size: 12.5px; font-weight: 800; color: #a3121a; background: #fde3e4; padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.p-empty { padding: 14px; }
.act { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.act li { display: grid; grid-template-columns: 12px 1fr; gap: 10px; }
.act .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--fc-red); margin-top: 6px; }
.act p { margin: 0; font-size: 14.5px; }
.act small { display: block; color: #8a96a5; font-size: 12.5px; }
.gauges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 16px; }
.gauge { display: flex; align-items: center; gap: 16px; }
.gauge svg { width: 96px; height: 96px; transform: rotate(-90deg); flex: none; }
.gauge circle { fill: none; stroke-width: 10; }
.gauge .rv { stroke: var(--fc-red); stroke-dasharray: 251; stroke-linecap: round; }
.gauge b { display: block; font-family: var(--display); font-size: 32px; color: var(--fc-navy); line-height: 1; }
.gauge small { display: block; font-weight: 700; color: #4a5767; margin: 4px 0 8px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.tbl th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: #8a96a5; padding: 8px; border-bottom: 1px solid #edf1f5; }
.tbl td { padding: 12px 8px; border-bottom: 1px solid #f1f4f7; vertical-align: middle; }
.tbl td small { display: block; color: #6b7685; }
.pipe { display: grid; grid-template-columns: repeat(5, minmax(200px, 1fr)); gap: 12px; overflow-x: auto; padding-bottom: 8px; }
.col { background: #eef3f8; border-radius: 18px; padding: 12px; display: grid; gap: 10px; align-content: start; min-height: 220px; }
.col h3 { font-size: 15px; color: var(--fc-navy); margin: 2px 4px 4px; display: flex; justify-content: space-between; }
.col h3 span { background: #fff; border-radius: 999px; padding: 0 9px; font-size: 13px; }
.col-new { background: #fdeced; } .col-won { background: #e6f3ea; } .col-quoted { background: #eef0fa; }
.lc { background: #fff; border-radius: 14px; padding: 12px; display: grid; gap: 6px; justify-items: start; box-shadow: 0 4px 12px rgba(29, 58, 92, .06); }
.lc-h { display: flex; justify-content: space-between; gap: 6px; width: 100%; align-items: center; }
.lc p { margin: 0; font-size: 13.5px; color: #5a6676; }
.lc-clock { font-size: 12px; font-weight: 800; color: #a3121a; }
.col-empty { color: #8a96a5; font-size: 13px; margin: 6px 4px; }
.cal-card { overflow-x: auto; }
.cal { display: grid; grid-template-columns: 120px repeat(6, minmax(110px, 1fr)); gap: 6px; min-width: 820px; }
.cal-h { text-align: center; padding: 6px; border-radius: 12px; }
.cal-h small { display: block; font-weight: 800; color: #8a96a5; font-size: 12px; text-transform: uppercase; }
.cal-h b { font-family: var(--display); font-size: 22px; color: var(--fc-navy); }
.cal-h.is-today { background: var(--fc-red); } .cal-h.is-today small, .cal-h.is-today b { color: #fff; }
.cal-crew { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--fc-navy); }
.cal-c { min-height: 70px; background: #f7f9fb; border-radius: 12px; padding: 4px; }
.job { display: grid; height: 100%; border-radius: 9px; padding: 8px 10px; align-content: center; }
.job b { font-size: 13px; line-height: 1.2; } .job small { font-size: 11.5px; opacity: .85; }
.k-exterior { background: var(--fc-sky-soft); color: var(--fc-navy); }
.k-cabinets { background: var(--fc-palm-soft); color: #1f3517; }
.k-interior { background: var(--fc-bloom-soft); color: #4d1a3c; }
.qb { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; align-items: start; }
.qb-f { display: grid; gap: 6px; font-weight: 700; font-size: 14px; margin-bottom: 14px; }
.qb-rows { display: grid; gap: 8px; margin-bottom: 12px; }
.qbr { display: grid; grid-template-columns: 1fr 74px 100px 34px; gap: 8px; align-items: center; }
.qbr span { font-weight: 800; color: var(--fc-navy); text-align: right; }
.qbr .x { width: 34px; height: 34px; border-radius: 50%; border: 0; background: #f2f5f8; cursor: pointer; font-size: 18px; }
.rv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.rv-stat { background: var(--fc-navy); color: #fff; display: grid; gap: 8px; align-content: start; justify-items: start; }
.rv-stat b { font-family: var(--display); font-size: 40px; line-height: 1; }
.rv-stat small { color: #c4d2e2; font-weight: 600; }
.rvq { margin: 0; display: grid; gap: 10px; align-content: start; }
.rvq blockquote { margin: 0; font-family: var(--display); font-weight: 600; font-size: 17px; line-height: 1.3; }
.rvq figcaption { font-weight: 700; } .rvq figcaption small { color: #8a96a5; font-weight: 600; }
.bars { display: grid; gap: 12px; }
.bar { display: grid; grid-template-columns: 110px 1fr 40px; gap: 12px; align-items: center; font-weight: 700; }
.bar i { display: block; height: 16px; border-radius: 8px; background: linear-gradient(90deg, var(--fc-red), #e85a60); width: var(--w); }
.bar b { color: var(--fc-navy); }
.slots { display: grid; gap: 8px; margin-top: 12px; }
.slots label { display: flex; gap: 10px; align-items: center; padding: 12px; border-radius: 12px; background: #f6f8fb; cursor: pointer; font-weight: 600; }
.slots input { accent-color: var(--fc-red); width: 18px; height: 18px; }

/* ================= responsive ================= */
@media (max-width: 1100px) {
  .q-grid { grid-template-columns: 1fr; }
  .q-side { position: relative; top: 0; grid-template-columns: 1fr 1fr; }
  .q-photo { display: none; }
  .app-shell { grid-template-columns: 1fr; padding-top: calc(var(--head-h) + 10px); }
  .app-nav { position: sticky; top: calc(var(--bar-h) + var(--head-h)); z-index: 50; display: flex; overflow-x: auto; gap: 6px; padding: 10px 0; background: rgba(238, 245, 251, .94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); margin: 0 -20px; padding-inline: 20px; scrollbar-width: none; }
  .app-nav a { white-space: nowrap; padding: 8px 14px; background: #fff; }
  .app-nav-help { display: none; }
  .color-list { grid-template-columns: 1fr 1fr; }
  .docs { grid-template-columns: 1fr 1fr; }
  .rv-grid { grid-template-columns: 1fr 1fr; }
  .today-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .app-who .who, .app-who .demo-note { display: none; }
  .q-hero { padding: 30px 0 100px; }
  .q-hero-photos { opacity: .25; right: -120px; }
  .q-card { padding: 20px; border-radius: 22px; }
  .q-steps li { font-size: 0; padding: 4px; gap: 0; }
  .q-steps li.is-on { font-size: 13px; padding-right: 12px; gap: 8px; }
  .q-tiles { grid-template-columns: 1fr 1fr; gap: 10px; }
  .q-two { grid-template-columns: 1fr; }
  .q-side { grid-template-columns: 1fr; }
  .app-shell { width: calc(100% - 28px); }
  .app-nav { margin: 0 -14px; padding-inline: 14px; }
  .app-main { gap: 40px; }
  .pane-head { flex-direction: column; align-items: flex-start; }
  .job-hero { min-height: 380px; padding: 18px; align-items: flex-end; }
  .job-hero::after { background: linear-gradient(0deg, rgba(247, 250, 252, .97) 0%, rgba(247, 250, 252, .85) 55%, rgba(247, 250, 252, 0) 85%); }
  .ring { width: 96px; height: 96px; right: 16px; top: 16px; }
  .ring b { font-size: 21px; margin-top: 22px; } .ring small { font-size: 10px; margin-bottom: 24px; }
  .ov-grid, .q-layout, .sched-grid, .punch-grid, .qb { grid-template-columns: 1fr; }
  .q-tot { position: relative; top: 0; }
  .arow { grid-template-columns: 46px 1fr auto 50px; gap: 10px; }
  .arow img { width: 46px; height: 46px; }
  .color-list, .docs, .pay-grid, .gauges, .rv-grid { grid-template-columns: 1fr; }
  .week { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
  .wday { padding: 10px 4px; } .wday b { font-size: 22px; } .wday span { font-size: 10.5px; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .p { grid-template-columns: 1fr auto; }
  .p-tag { grid-column: 1 / -1; }
  .p .btn { grid-column: 1 / -1; justify-self: start; }
  .tbl { font-size: 13px; display: block; overflow-x: auto; }
  .pipe { grid-template-columns: repeat(5, 78vw); }
  .qbr { grid-template-columns: 1fr 60px 34px; }
  .qbr span { grid-column: 1 / 3; text-align: left; }
  .qbr .x { grid-row: 1; grid-column: 3; }
  .dash-hero { min-height: 170px; padding: 20px; }
}
