/* The owner app. */
.bar{position:sticky;top:0;z-index:5;background:color-mix(in srgb,var(--paper) 92%,transparent);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.barIn{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:64px}
.logo{font-size:24px;color:var(--wine);text-decoration:none;white-space:nowrap}
nav{display:flex;gap:4px;flex-wrap:wrap;justify-content:flex-end}
nav a{padding:8px 14px;border-radius:999px;text-decoration:none;color:var(--brown);font-weight:700;font-size:15px}
nav a.on{background:var(--paper);box-shadow:var(--shadow)}
#view{padding-top:56px;padding-bottom:70px}
.loading{text-align:center;color:var(--brown-2);padding:60px 0}

.pageHead{display:grid;justify-items:center;text-align:center;gap:10px;margin:0 auto 28px;max-width:720px}
.pageHead h1{font-size:clamp(30px,5vw,44px)}
.pageHead p{margin:0;color:var(--brown-2);font-size:17px;text-wrap:pretty}
.pageHead .actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin-top:6px}

/* sign in */
.signin{max-width:440px;margin:6vh auto 0;padding:34px 28px;display:grid;gap:16px;text-align:center}
.signin h1{font-size:34px}
.signin p{margin:0;color:var(--brown-2)}
.code{font-size:28px;letter-spacing:10px;text-align:center;font-weight:700}

/* setup */
.steps{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin:0 auto 24px;padding:0;list-style:none}
.steps li{display:flex;align-items:center;gap:8px;padding:6px 14px 6px 6px;border-radius:999px;background:var(--lilac-3);font-weight:700;font-size:14px;color:var(--brown-2)}
.steps b{width:26px;height:26px;border-radius:50%;display:grid;place-content:center;background:var(--paper);border:1.5px solid var(--brown);font-size:13px}
.steps .now{background:var(--paper);color:var(--brown);box-shadow:var(--shadow)}.steps .now b{background:var(--wine);border-color:var(--wine);color:#fff}
.steps .done b{background:var(--brown);border-color:var(--brown);color:var(--cream)}
.setup{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start}
.setup.one{grid-template-columns:minmax(0,760px);justify-content:center}
.pane{padding:28px;display:grid;gap:16px}
.pane h2{font-size:28px;text-align:center}
.pane>p{margin:0;color:var(--brown-2);text-align:center;text-wrap:pretty}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.navRow{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:6px;flex-wrap:wrap}
.navRow .right{margin-left:auto;display:flex;gap:10px;align-items:center}

/* live preview of their look */
.preview{position:sticky;top:90px;padding:18px;display:grid;gap:12px}
.preview .label{text-align:center;font-weight:700;color:var(--brown-2);font-size:14px;margin:0}
.mini{border-radius:18px;padding:22px 18px;display:grid;gap:12px;justify-items:center;text-align:center;border:1px solid var(--line)}
.mini .mlogo img{max-height:52px;max-width:200px;display:block}
.mini .mname{font-size:26px;font-weight:700}
.mini .mcard{width:100%;max-width:340px;background:#fff;border-radius:16px;overflow:hidden;border:2px solid var(--pa);text-align:left}
.mini .mtop{background:var(--pa);color:var(--pon);padding:14px;text-align:center}
.mini .mtop b{font-size:20px;display:block}
.mini .mbody{padding:12px 14px;display:grid;gap:8px;font-size:14px}
.mini .mline{display:flex;justify-content:space-between;gap:10px;border-bottom:1px solid #eee;padding-bottom:6px}
.mini .mbtn{justify-self:center;background:var(--pa);color:var(--pon);border-radius:999px;padding:9px 18px;font-weight:700;font-size:14px}

.logoDrop{display:grid;justify-items:center;gap:10px;border:1px solid var(--soft-line);border-radius:16px;padding:18px;text-align:center;background:#fff}
.logoDrop img{max-height:64px;max-width:240px}
.colors{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.color{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:12px;padding:8px 10px;background:#fff}
.color input[type=color]{width:44px;height:36px;border:0;padding:0;background:none;cursor:pointer}
.color input[type=text]{border:0;min-height:36px;padding:4px;width:100%;font-family:monospace}
.swatches{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}
.swatches button{width:30px;height:30px;border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 1px var(--line);cursor:pointer}

/* the price list */
.items{display:grid;gap:12px}
.item{padding:16px;display:grid;grid-template-columns:minmax(0,1fr) 150px auto;gap:10px 12px;align-items:start}
.item .why{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:start}
.item .why textarea{min-height:64px}
.item .tools{display:flex;gap:4px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.money{position:relative}.money input{padding-left:26px}.money::before{content:"$";position:absolute;left:12px;top:12px;color:var(--brown-2);font-weight:700}
.iconBtn{background:none;border:0;cursor:pointer;padding:8px;border-radius:10px;color:var(--brown-2);font-weight:700}
.iconBtn:hover{background:var(--lilac-3);color:var(--brown)}
.empty{text-align:center;padding:40px 20px;color:var(--brown-2);display:grid;gap:12px;justify-items:center}

/* quotes */
.filters{display:flex;justify-content:center;gap:6px;flex-wrap:wrap;margin:0 0 18px}
.filters button{border:1px solid var(--line);background:var(--paper);border-radius:999px;padding:7px 14px;font-weight:700;font-size:14px;cursor:pointer}
.filters button.on{background:var(--brown);color:var(--cream);border-color:var(--brown)}
.qlist{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px}
.qcard{padding:20px;display:grid;gap:10px;text-decoration:none;color:inherit;transition:transform .12s ease}
.qcard:hover{transform:translateY(-2px)}
.qcard .who{font-family:var(--display);font-style:italic;font-weight:800;font-size:22px;line-height:1.15}
.qcard .what{color:var(--brown-2);font-size:15px}
.qcard .foot{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:auto;padding-top:10px;border-top:1px solid var(--line);font-size:14px;color:var(--brown-2)}
.qcard .amt{font-weight:700;color:var(--brown);font-size:16px}
.pill{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:4px 11px;font-size:12.5px;font-weight:700;background:var(--lav-2);color:var(--brown-2);justify-self:start}
.pill.sent{background:#eef1fb;color:#2c3e8f}.pill.signed{background:#fff3df;color:#8a5a00}.pill.paid{background:#e5f3e8;color:#1f5a2e}.pill.expired,.pill.off{background:#f1ecec;color:#6d5f5f}.pill.test{background:var(--brown);color:var(--cream)}

/* the editor */
.editor{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:22px;align-items:start}
.editor .side{position:sticky;top:90px;padding:20px;display:grid;gap:12px}
.editor .side h3{font-size:22px;text-align:center}
.sumRow{display:flex;justify-content:space-between;gap:10px;font-size:15px;border-bottom:1px solid var(--line);padding:8px 0}
.sumRow b{font-size:16px}
.optEd{padding:22px;display:grid;gap:14px}
.optEd.pick{border:2px solid var(--wine)}
.optHead{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.optHead h3{font-size:24px}
.lineEd{display:grid;grid-template-columns:minmax(0,1fr) 96px 130px 36px;gap:8px;align-items:start;padding:12px;border-radius:14px;background:var(--lilac-3)}
.lineEd textarea{grid-column:1/4;min-height:56px}
.qty{position:relative}.qty input{padding-left:44px}.qty::before{content:"Qty";position:absolute;left:12px;top:14px;color:var(--brown-2);font-weight:700;font-size:13px}
.lineEd .lineTot{grid-column:1/-1;font-size:14px;color:var(--brown-2);margin-top:-2px}
.lineEd .tax{grid-column:1/-1;font-size:14px}
.addRow{display:flex;gap:8px;flex-wrap:wrap}
.addRow select{flex:1;min-width:200px}
.seg{display:inline-flex;gap:4px;border:1px solid var(--line);border-radius:999px;padding:5px;background:#fff}
.seg button{border:0;background:none;padding:10px 20px;border-radius:999px;font-weight:700;font-size:15px;cursor:pointer;line-height:1.2;white-space:nowrap}
.seg button.on{background:var(--brown);color:var(--cream)}

/* one quote */
.detail{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:22px;align-items:start}
.timeline{list-style:none;margin:0;padding:0;display:grid;gap:0}
.timeline li{display:grid;grid-template-columns:28px 1fr;gap:10px;padding:0 0 16px;position:relative}
.timeline li::before{content:"";position:absolute;left:13px;top:24px;bottom:0;width:2px;background:var(--line)}
.timeline li:last-child::before{display:none}
.timeline .dot{width:28px;height:28px;border-radius:50%;border:2px solid var(--line);background:var(--paper);display:grid;place-content:center;font-size:13px;font-weight:700}
.timeline .yes .dot{background:var(--ok);border-color:var(--ok);color:#fff}
.timeline b{display:block}.timeline span{color:var(--brown-2);font-size:14px}
.facts2{display:grid;grid-template-columns:auto 1fr;gap:6px 14px;font-size:14.5px}
.facts2 dt{color:var(--brown-2)}.facts2 dd{margin:0;font-weight:700;overflow-wrap:anywhere}
.linkBox{display:flex;gap:8px}.linkBox input{flex:1;font-size:16px}

/* settings */
.tabs{display:flex;justify-content:center;flex-wrap:wrap;gap:6px;margin:0 0 22px}
.tabs a{padding:8px 16px;border-radius:999px;text-decoration:none;color:var(--brown);font-weight:700;font-size:15px;background:var(--lilac-3)}
.tabs a.on{background:var(--paper);box-shadow:var(--shadow)}
.status{display:grid;justify-items:center;gap:10px;text-align:center;padding:24px;border-radius:18px;background:var(--lilac-3)}
.status .big{font-family:var(--display);font-style:italic;font-weight:800;font-size:28px}
.toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);background:var(--brown);color:var(--cream);padding:12px 20px;border-radius:999px;font-weight:700;box-shadow:var(--shadow);z-index:20;max-width:calc(100vw - 32px);text-align:center}
.toast.bad{background:#8a1c1c}

@media (max-width:900px){
  .setup,.editor,.detail{grid-template-columns:minmax(0,1fr)}
  .preview,.editor .side{position:static}
}
@media (max-width:600px){
  .grid2,.colors{grid-template-columns:1fr}
  .seg button{padding:9px 13px;font-size:14px}
  .item{grid-template-columns:1fr}
  .lineEd{grid-template-columns:96px minmax(0,1fr) 36px}
  .lineEd [data-lf=text]{grid-column:1/-1}
  .lineEd textarea{grid-column:1/-1}
  nav a{padding:8px 10px;font-size:14px}
  .logo{font-size:20px}
  .barIn{flex-wrap:wrap;padding-top:8px;padding-bottom:8px}
}

/* centered forms (Kasey, Nov 24: most of it should be centered) */
.centered .field{text-align:center}
.centered .field input,.centered .field select{text-align:center;text-align-last:center}
.centered .navRow{justify-content:center}.centered .navRow .right{margin-left:0}
.centered .grid2{align-items:start}

/* your look: named swatches, colors from the logo, fonts shown in themselves, cropping */
.pickBlock{display:grid;gap:10px;justify-items:center;text-align:center;padding-top:18px;border-top:1px solid var(--line)}
.pickBlock h3{font-size:22px}.pickBlock>p{margin:0;color:var(--brown-2);font-size:14.5px}
.swRow{display:flex;flex-wrap:wrap;justify-content:center;gap:6px}
.sw{display:grid;justify-items:center;gap:6px;background:none;border:0;cursor:pointer;width:74px;padding:6px 2px;border-radius:12px}
.sw i{width:38px;height:38px;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(0,0,0,.14)}
.sw span{font-size:12px;color:var(--brown-2);line-height:1.2}
.sw:hover{background:var(--beige-3)}
.sw.on i{box-shadow:0 0 0 3px var(--paper),0 0 0 5px var(--brown)}.sw.on span{color:var(--brown);font-weight:700}
.fromLogo{display:grid;gap:6px;justify-items:center;background:var(--lav-2);border-radius:14px;padding:10px 12px;width:100%}
.own{display:flex;align-items:center;gap:8px;font-size:14px;color:var(--brown-2);font-weight:600}
.own input[type=color]{width:36px;height:30px;border:0;background:none;padding:0;cursor:pointer}
.own input[type=text]{width:96px;padding:6px 8px;border:1px solid var(--line);border-radius:8px;font-family:monospace;text-align:center;background:#fff}
.fontRow{display:grid;grid-template-columns:1fr 1fr;gap:12px;width:100%}
.fontRow>div{display:grid;gap:6px;justify-items:center}
.fontBtn{width:100%;padding:14px 10px;border:1px solid var(--line);border-radius:14px;background:#fff;font-size:22px;cursor:pointer;line-height:1.2}
.fontBtn:hover{border-color:var(--brown)}
.fontGrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:10px;width:100%;max-height:440px;overflow:auto;padding:4px}
.gridHead{grid-column:1/-1;text-align:center}
.fontCard{display:grid;gap:6px;padding:14px 10px;border:1px solid var(--line);border-radius:14px;background:#fff;cursor:pointer;text-align:center}
.fontCard .big{font-size:20px;line-height:1.25;overflow-wrap:anywhere}.fontCard .nm{font-size:12px;color:var(--brown-2)}
.fontCard:hover{border-color:var(--brown)}.fontCard.on{border:2px solid var(--wine)}
.cropWrap{position:fixed;inset:0;background:rgba(30,22,18,.55);display:grid;place-items:center;z-index:50;padding:16px}
.cropCard{padding:24px;display:grid;gap:14px;max-width:640px;width:100%;text-align:center}
.cropCard h2{font-size:28px}.cropCard p{margin:0;color:var(--brown-2)}
.cropStage{position:relative;margin:0 auto;overflow:hidden;border-radius:6px;background:repeating-conic-gradient(#ece6dd 0 25%,#fff 0 50%) 0 0/16px 16px;touch-action:none}
.cropStage canvas{display:block}
.cropBox{position:absolute;border:2px solid var(--wine);box-shadow:0 0 0 9999px rgba(30,22,18,.38);cursor:move;touch-action:none}
.cropBox i{position:absolute;width:22px;height:22px;background:#fff;border:2px solid var(--wine);border-radius:5px}
.cropBox [data-h=nw]{left:-2px;top:-2px;cursor:nwse-resize}.cropBox [data-h=ne]{right:-2px;top:-2px;cursor:nesw-resize}
.cropBox [data-h=sw]{left:-2px;bottom:-2px;cursor:nesw-resize}.cropBox [data-h=se]{right:-2px;bottom:-2px;cursor:nwse-resize}

/* emails and payments: clear cards */
.setup.wide{grid-template-columns:minmax(0,980px);justify-content:center}
.sub{border:1px solid var(--line);border-radius:18px;padding:20px;display:grid;gap:14px;background:#fff;text-align:center}
.sub h3{font-size:22px}.sub>p{margin:0;color:var(--brown-2);font-size:14.5px}
.toggles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.tog{display:grid;gap:8px;justify-items:center;border:1px solid var(--line);border-radius:16px;padding:16px 12px;cursor:pointer;background:var(--paper)}
.tog b{font-size:16px}.tog span{font-size:13.5px;color:var(--brown-2)}
.tog input{appearance:none;-webkit-appearance:none;width:46px;height:26px;border-radius:999px;background:var(--beige-2);position:relative;cursor:pointer;margin:0;transition:background .15s}
.tog input::after{content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.25);transition:left .15s}
.tog input:checked{background:var(--wine)}.tog input:checked::after{left:23px}
.tog:has(input:checked){border-color:var(--wine)}
.payCards{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:stretch}
.payCard{border:1px solid var(--line);border-radius:18px;padding:22px 20px;display:grid;gap:12px;justify-items:center;align-content:start;text-align:center;background:#fff}
.payCard h3{font-size:24px}.payCard p{margin:0;color:var(--brown-2);font-size:14.5px}
.payCard .field{width:100%}
.payCard .fine{font-size:13px;color:var(--brown-2)}
@media (max-width:760px){
  .payCards{grid-template-columns:1fr}
}
.swRow.four{max-width:340px}

/* the Look page, compact (Kasey, Nov 24: too much scrolling to see the preview) */
.look{gap:12px;padding:24px}
.look .pickBlock{gap:8px;padding-top:12px}
.pickHead{display:flex;align-items:center;justify-content:center;gap:10px}
.look .pickBlock h3{font-size:19px}
.chosen{font-size:13px;font-weight:700;color:var(--brown-2);background:var(--beige-3);border-radius:999px;padding:3px 10px}
.look .swRow{gap:6px}
.look .sw{width:auto;padding:3px;border-radius:50%}
.look .sw i{width:30px;height:30px}
.look .sw:hover{background:none;transform:scale(1.08)}
.look .fromLogo{display:flex;align-items:center;justify-content:center;gap:10px;padding:6px 12px;flex-wrap:wrap}
.look .fromLogo b{font-size:13px}
.look .own{font-size:13px}
.logoRow{display:flex;align-items:center;justify-content:center;gap:16px;flex-wrap:wrap}
.logoBox{width:150px;height:72px;border:1px solid var(--soft-line);border-radius:12px;display:grid;place-items:center;background:#fff;overflow:hidden}
.logoBox img{max-width:136px;max-height:60px;display:block}
.logoBox span{color:var(--brown-2);font-size:13px;font-weight:700}
.logoActs{display:grid;gap:4px;justify-items:center}
.logoActs span{display:flex;gap:10px}.logoActs small{color:var(--brown-2);font-size:12.5px}
.look .fontRow small{font-size:12.5px;color:var(--brown-2);font-weight:700}
.look .fontBtn{padding:10px;font-size:19px}
.fontCardWrap{max-width:820px}
.fontCardWrap .fontGrid{max-height:min(58vh,520px)}
@media (max-width:900px){
  .setup .preview{order:-1;padding:12px}
  .setup .preview .mini{padding:14px 12px;gap:8px}
  .setup .preview .mini .mcard .mbody{display:none}
}
.look .fontRow{grid-template-columns:1fr 1fr}
@media (max-width:600px){
  .look .mainRow{display:grid;grid-template-columns:repeat(6,auto);justify-content:center}
  .look .backRow{display:grid;grid-template-columns:repeat(8,auto);justify-content:center;gap:2px}
  .look .backRow .sw i{width:28px;height:28px}
  .look .fontBtn{font-size:17px;padding:10px 6px}
}

/* the color picker (drag shade, slide color, or type the code) */
.colorPair{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding-top:12px;border-top:1px solid var(--line)}
.colorPair .pickBlock{border-top:0;padding-top:0;align-content:start}
.picker{display:grid;gap:10px;width:100%;max-width:300px}
.sv{position:relative;height:130px;border-radius:12px;background-image:linear-gradient(to top,#000,rgba(0,0,0,0)),linear-gradient(to right,#fff,rgba(255,255,255,0));cursor:crosshair;touch-action:none;outline-offset:3px}
.svKnob{position:absolute;width:18px;height:18px;border:3px solid #fff;border-radius:50%;box-shadow:0 0 0 1px rgba(0,0,0,.35),0 2px 6px rgba(0,0,0,.25);transform:translate(-50%,-50%);pointer-events:none}
.hue{-webkit-appearance:none;appearance:none;width:100%;height:14px;border-radius:999px;background:linear-gradient(to right,#f00,#ff0,#0f0,#0ff,#00f,#f0f,#f00);margin:0;cursor:pointer}
.hue::-webkit-slider-thumb{-webkit-appearance:none;width:20px;height:20px;border-radius:50%;background:#fff;border:2px solid var(--brown);box-shadow:0 1px 4px rgba(0,0,0,.3)}
.hue::-moz-range-thumb{width:18px;height:18px;border-radius:50%;background:#fff;border:2px solid var(--brown)}
.pkRow{display:flex;align-items:center;justify-content:center;gap:8px}
.pkSwatch{width:30px;height:30px;border-radius:8px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.15)}
.pkHex{width:110px;padding:7px 10px;border:1px solid var(--line);border-radius:10px;font-family:monospace;font-size:16px;text-align:center;background:#fff}
@media (max-width:600px){ .colorPair{grid-template-columns:1fr} .picker{max-width:none} }

/* their documents (Settings > Terms) */
.docsBox{display:grid;gap:14px;width:100%}
.docEd{border:1px solid var(--line);border-radius:16px;padding:14px;display:grid;gap:10px;background:#fff;text-align:left}
.docTop{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.docTop .docNameIn{flex:1;min-width:180px;font-weight:700;font-size:16px}
.docEd textarea{min-height:200px;width:100%}
.mini-tog{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:700;color:var(--brown-2);cursor:pointer}
.mini-tog input{appearance:none;-webkit-appearance:none;width:40px;height:23px;border-radius:999px;background:var(--beige-2);position:relative;cursor:pointer;margin:0;transition:background .15s}
.mini-tog input::after{content:"";position:absolute;top:3px;left:3px;width:17px;height:17px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.25);transition:left .15s}
.mini-tog input:checked{background:var(--wine)}.mini-tog input:checked::after{left:20px}
.docAdd{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
.docHelp{display:block;text-align:center;color:var(--brown-2);font-size:13.5px;max-width:62ch;margin:0 auto}
.docPicks{display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:8px;justify-content:center}
/* the three alert boxes stay side by side, small (Kasey, Nov 24) */
.toggles{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.tog{padding:12px 8px;gap:6px}
.tog b{font-size:15px}.tog span{font-size:12.5px;line-height:1.3}
@media (max-width:480px){ .toggles{gap:6px} .tog{padding:10px 4px} .tog b{font-size:13.5px} .tog span{font-size:11.5px} .tog input{width:40px;height:23px} .tog input::after{width:17px;height:17px} .tog input:checked::after{left:20px} }

/* audit, Nov 24: long names wrap instead of pushing the page wide */
.qcard>*,.qcard .foot>*{min-width:0;overflow-wrap:anywhere}
.pageHead h1,.pageHead p{overflow-wrap:anywhere}
/* the documents' checkboxes sit beside their names */
.docPicks .check input{width:20px;height:20px;min-height:0;padding:0;margin:2px 0 0;font-weight:500}
.docPicks{justify-content:flex-start}.docPicks .check{font-weight:600}
/* setup steps: on phones only the current step shows its name, so they fit on one row */
@media (max-width:600px){
  .steps{flex-wrap:nowrap;gap:6px}
  .steps li{padding:5px}.steps li:not(.now) span{display:none}.steps li.now{padding-right:12px}
  /* the main button on its own line, the quieter links under it */
  .navRow{flex-direction:column-reverse;gap:10px}
  .navRow>span:empty{display:none}
  .navRow .right{margin-left:0;flex-direction:column-reverse;align-items:center;gap:10px;width:100%}
  .navRow .right .btn.main{min-width:220px}
  /* the look preview stays in view while picking, short */
  .setup .preview{position:sticky;top:66px;z-index:4;box-shadow:var(--shadow)}
}

/* centered by default (Kasey, Nov 24: names and titles centered, everywhere it makes sense) */
.qcard{text-align:center;justify-items:center}
.qcard>span:first-child{justify-content:center}
.qcard .foot{flex-direction:column;justify-content:center;gap:2px;width:100%}
.qcard .foot .amt{order:-1;font-size:17px}
.item .field{text-align:center}
.item .field input{text-align:center}
.item .why{grid-template-columns:1fr}
.item .why>div{padding-top:0!important;justify-items:center}
.item .tools{justify-content:center}
.centered .optHead,.optHead{flex-direction:column;justify-content:center;text-align:center}
.centered .docPicks{justify-content:center}
.centered .check{justify-content:center}
.centered .addRow{justify-content:center}
.item .field>.money,.centered .field>.money{max-width:220px;margin-left:auto;margin-right:auto}
.qlist{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),360px));justify-content:center}
.navRow{justify-content:center}.navRow .right{margin-left:0}
.docNameIn{text-align:center;font-weight:700}
/* price list cards read top to bottom: name, price, why, then one row for tax and the small actions (Kasey, Nov 24) */
.item{grid-template-columns:minmax(0,1fr) 170px;gap:14px 14px;padding:18px}
.item .why{grid-column:1/-1;display:block}
.item .why textarea{min-height:88px;text-align:left}
.item .writeRow{grid-column:1/-1;display:flex;justify-content:center;margin-top:-4px}
.item .itemFoot{grid-column:1/-1;display:flex;justify-content:center;align-items:center;gap:10px 22px;flex-wrap:wrap;padding-top:12px;border-top:1px solid var(--line)}
.item .itemFoot .check{font-size:14.5px;font-weight:600;align-items:center}
.item .itemFoot .check input{margin:0}
.item .itemFoot .acts{display:flex;gap:18px}
.item .itemFoot .linkish{font-size:14.5px}
@media (max-width:600px){ .item{grid-template-columns:1fr;padding:16px 14px;gap:12px} .items{gap:14px} }

/* calmer on phones (Kasey, Nov 24: "so jumpy"): no tap nudge on cards, the look preview scrolls with the page */
.qcard:hover{transform:none}
@media (hover:hover){ .qcard:hover{transform:translateY(-2px)} }
@media (max-width:600px){ .setup .preview{position:static;box-shadow:none} }
/* color pickers: inline on computers; on phones a tap opens them, and they're smaller */
.pkOpen{display:none}
@media (max-width:600px){
  .pkOpen{display:inline-block;margin:2px auto 0;font-size:15px}
  .picker:not(.open){display:none}
  .picker{max-width:260px!important;margin:0 auto}
  .sv{height:96px}
}
/* quote cards use the whole card: status top left, number top right, name centered, price across the bottom */
.qcard>span.top{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;width:100%;text-align:left}
.qcard .top .pills{display:flex;gap:6px;flex-wrap:wrap}
.qcard .top .ref{font-size:13.5px;color:var(--brown-2);text-align:right;line-height:1.35;white-space:nowrap}
.qcard .who{margin-top:2px}
.status .field{text-align:center}.status .field select,.status .field input{text-align:center;text-align-last:center}.status .field>.money{max-width:200px;margin-left:auto;margin-right:auto}
/* a quote's link card breathes (Kasey, Nov 24: "a bit too close together") */
.linkSide{padding:26px 24px;display:grid;gap:22px}
.linkSide>h3{margin-bottom:-6px}
.paidBox{padding:26px 22px;gap:14px;margin:4px 0}
.paidBox>b{font-size:17px}
.paidFields{width:100%;max-width:460px;gap:14px 18px;margin:6px 0 4px}
.paidBox .btn{margin-top:4px}
@media (max-width:600px){ .linkSide{padding:22px 18px;gap:20px} .paidBox{padding:22px 16px} }
.paidFields .field>select{max-width:220px;margin-left:auto;margin-right:auto}
/* Due to start: centered, with the sales tax box under it (Kasey, Nov 24) */
.depRow{display:grid;justify-items:center;gap:12px;text-align:center}
.depRow .field{width:100%;max-width:300px;text-align:center}
.depRow .check{justify-content:center}
/* room between a heading and what's under it (Kasey, Nov 24: "What you're quoting feels too close to the form") */
.optHead{margin-bottom:10px}
.pane>h2,.side>h3,.pickBlock>h3,.sub>h3{margin-bottom:8px}
.pane>h2+p{margin-top:-4px;margin-bottom:6px}
.detail .pane>h2{margin-top:10px}.detail .pane>h2:first-child{margin-top:0}
.depRow{margin:2px 0 8px}
/* the quote's buttons: Send (red), Preview, Save draft, side by side (Kasey, Nov 24) */
@media (min-width:901px){ .editor{grid-template-columns:minmax(0,1fr) 350px} }
.sendRow{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}
.sendRow .btn{padding-left:20px;padding-right:20px}
@media (min-width:601px){ .sendRow{flex-wrap:nowrap} }
.sendRow{flex-wrap:nowrap!important;gap:8px;justify-content:center}
.sendRow .btn{white-space:nowrap;padding:11px 16px;font-size:15px;min-height:46px;flex:0 0 auto}
/* price list: Add an item and Save side by side, the same size (Kasey, Nov 24) */
.itemsNav{margin-top:8px}
.itemsNav .right{flex-direction:row!important;flex-wrap:wrap;justify-content:center;gap:10px}
.itemsNav .right .btn{min-width:150px!important;width:auto!important}
@media (max-width:600px){ .itemsNav .right .btn{min-width:136px!important;padding-left:18px;padding-right:18px} }
.colorPair{align-items:start}


/* ===================================================================================== polish (Kasey, Nov 24)
   Same palette and rules (centered titles, details in the corners, no long buttons). What changes: the big italic
   is kept for page titles; working headings are clean and bold; typing sits at the left of its box; buttons are
   shorter and quieter with one filled main button; cards sit flatter; a few small icons. */
:root{ --brown-2:#5A4A42; --soft-line:rgba(43,32,27,.10); --r:16px;
  --shadow:0 1px 2px rgba(43,32,27,.05),0 6px 18px -12px rgba(43,32,27,.22) }

/* headings: the italic display face for page titles only */
.pane h2,.pane>h2,.side h3,.editor .side h3,.optHead h3,.pickBlock h3,.look .pickBlock h3,.sub h3,.cropCard h2,.fontCardWrap h2{
  font-family:var(--body);font-style:normal;font-weight:700;letter-spacing:-.015em;font-variation-settings:normal}
.pane h2,.pane>h2{font-size:22px}
.optHead h3{font-size:20px}
.side h3,.editor .side h3,.pickBlock h3,.look .pickBlock h3,.sub h3{font-size:17px}
.pageHead h1{letter-spacing:-.02em}
.qcard .who{font-family:var(--body);font-style:normal;font-weight:700;font-size:19px;letter-spacing:-.01em;font-variation-settings:normal}

/* fields: labels stay centered; what's typed starts at the left of its box */
.field{font-size:14.5px}
.input,.field input,.field select,.field textarea,.centered .field input,.centered .field select,.item .field input,.status .field input,.status .field select{
  text-align:left!important;text-align-last:auto!important;border-radius:11px;border-color:rgba(43,32,27,.17);min-height:46px;
  background-color:#fff;box-shadow:inset 0 1px 1px rgba(43,32,27,.03)}
.centered select,.status select,.depRow select{padding-left:14px!important}
.input:focus,.field input:focus,.field select:focus,.field textarea:focus{outline:none;border-color:var(--wine);box-shadow:0 0 0 3px rgba(163,38,59,.13)}
.input.code{text-align:center!important}
.pkHex{text-align:center!important}
.field small,.docHelp{font-size:13.5px;color:var(--brown-2);line-height:1.45}
.field em{color:#8a7a71}
::placeholder{color:#a3958c;opacity:1}

/* buttons: one filled main button, quiet soft ones beside it */
.btn{min-height:44px;padding:10px 20px;border:1px solid rgba(43,32,27,.16);background:#fff;font-size:15.5px;font-weight:700;
  box-shadow:0 1px 2px rgba(43,32,27,.06);transition:background .12s ease,border-color .12s ease,box-shadow .12s ease}
.btn:hover{transform:none;border-color:rgba(43,32,27,.32)}
.btn.main{background:var(--wine);border-color:var(--wine);color:#fff;box-shadow:0 1px 2px rgba(127,26,44,.35),inset 0 1px 0 rgba(255,255,255,.14)}
.btn.main:hover{background:var(--wine-2);border-color:var(--wine-2)}
.btn.quiet{background:transparent;border-color:transparent;box-shadow:none;color:var(--brown-2)}
.btn.quiet:hover{background:rgba(43,32,27,.05);border-color:transparent}
.btn.small{min-height:36px;padding:6px 14px;font-size:14px}
.btn .ic{width:17px;height:17px;flex:none;margin-left:-3px}
.btn.small .ic{width:15px;height:15px}
.linkish{font-weight:600;text-decoration-thickness:1px;text-decoration-color:rgba(163,38,59,.45)}
.actRow{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}

/* cards sit flatter; cards inside cards are just outlined */
.card{border-color:var(--soft-line)}
.pane .card,.pane .sub,.pane .docEd,.item.card{box-shadow:none;border-color:var(--soft-line)}
.qcard{box-shadow:0 1px 2px rgba(43,32,27,.05)}
.qcard:hover{box-shadow:0 1px 2px rgba(43,32,27,.05),0 8px 20px -14px rgba(43,32,27,.35)}
@media (hover:hover){ .qcard:hover{transform:none} }

/* status pills read clearly */
.pill{font-size:12.5px;padding:4px 10px;letter-spacing:.01em}

/* the top bar and tabs: quieter selected states */
nav a{font-weight:600;color:var(--brown-2)}
nav a.on{background:transparent;box-shadow:none;color:var(--wine)}
nav a:hover{color:var(--brown)}
.logo{font-size:26px}
.tabs a{font-weight:600;background:transparent;color:var(--brown-2);border:1px solid transparent}
.tabs a.on{background:#fff;color:var(--brown);border-color:var(--soft-line);box-shadow:0 1px 2px rgba(43,32,27,.06)}
.filters button{font-weight:600;background:transparent;border-color:var(--soft-line)}
.filters button.on{background:var(--brown);border-color:var(--brown);color:var(--cream)}

/* a quote's progress runs across the card on wider screens */
@media (min-width:761px){
  .timeline{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:6px 0 10px}
  .timeline li{grid-template-columns:none;justify-items:center;text-align:center;gap:8px;padding:0}
  .timeline li::before{left:calc(50% + 20px);right:calc(-50% + 8px);top:13px;bottom:auto;width:auto;height:2px}
  .timeline li.yes::before{background:var(--ok)}
  .timeline span{font-size:13.5px;line-height:1.4}
}
/* labels line up with the box they name; titles, switches and the main button stay centered */
.field,.centered .field,.item .field,.status .field,.depRow .field{text-align:left}
.field small,.centered .field small{text-align:left}
.depRow .field{text-align:left}
.timeline{align-items:start}
.timeline li{align-content:start}
.linkSide .actRow .btn{min-height:38px;padding:7px 14px;font-size:14.5px}
.field .check input,.docPicks .check input,.centered .field .check input{min-height:0!important;width:20px!important;height:20px!important;padding:0!important;box-shadow:none!important;margin:1px 0 0!important}
.docPicks,.centered .docPicks{justify-content:flex-start;margin-top:10px}
.docPicks .check{align-items:center;font-weight:600}
@media (max-width:600px){ .logo{font-size:22px} nav a{padding:8px 9px;font-size:14.5px} .barIn{flex-wrap:nowrap} }
#view h2,#view h3{font-family:var(--body);font-style:normal;font-weight:700;letter-spacing:-.015em;font-variation-settings:normal}
#view h3{font-size:17px}
.payCard h3{font-size:19px}
.payCard .pill,.status .pill{justify-self:center}
.depRow{justify-items:start;text-align:left}.depRow .check,.centered .depRow .check{justify-content:flex-start}

/* the font picker: smaller boxes, all the same height, shown together once loaded (Kasey, Nov 24) */
.fontCardWrap{max-width:640px;padding:22px 20px}
.fontCardWrap .fontGrid{grid-template-columns:repeat(auto-fill,minmax(148px,1fr));gap:8px;max-height:min(60vh,460px);transition:opacity .15s ease}
.fontGrid.loading{opacity:0}
.fontCard{height:68px;padding:8px 10px;gap:3px;align-content:center;border-radius:11px;border-color:var(--soft-line)}
.fontCard .big{font-size:17px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal}
.fontCard .nm{font-size:11.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fontCard.on{border:2px solid var(--wine);padding:7px 9px}
@media (max-width:600px){ .fontCardWrap .fontGrid{grid-template-columns:repeat(2,minmax(0,1fr))} .fontCard .big{font-size:16px} }
.sub .grid2{align-items:end}

/* documents: a small word processor (Kasey, Nov 24) */
.rteWrap{border:1px solid rgba(43,32,27,.17);border-radius:12px;background:#fff;overflow:hidden;text-align:left}
.rteWrap:focus-within{border-color:var(--wine);box-shadow:0 0 0 3px rgba(163,38,59,.13)}
.rteBar{display:flex;flex-wrap:wrap;gap:4px;padding:6px;border-bottom:1px solid var(--soft-line);background:var(--beige-3)}
.rteBar button{display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:5px 11px;border:1px solid transparent;border-radius:8px;background:transparent;font-weight:600;font-size:14px;color:var(--brown);cursor:pointer}
.rteBar button b{font-size:15px;min-width:12px;text-align:center}
.rteBar button .ic{width:17px;height:17px}
.rteBar button:hover{background:#fff;border-color:var(--soft-line)}
.rteBar button.on{background:#fff;border-color:rgba(163,38,59,.35);color:var(--wine)}
.rte{min-height:200px;max-height:460px;overflow:auto;padding:14px 16px;font-size:16px;line-height:1.6;outline:none;color:var(--brown)}
.rte:empty::before{content:attr(data-placeholder);color:#a3958c}
.rte h3{font-family:var(--body)!important;font-style:normal!important;font-size:18px!important;font-weight:700;margin:14px 0 6px}
.rte h3:first-child{margin-top:0}
.rte p{margin:0 0 10px}
.rte ol,.rte ul{margin:0 0 10px;padding-left:24px}
.rte li{margin:2px 0}
@media (max-width:600px){ .rteBar button span{display:none} .rteBar button{padding:5px 10px} .rteBar{justify-content:center} }
.sub .grid2{row-gap:20px}

/* one layer of boxes (Kasey, Nov 24: too many containers) */
.pane.flat{background:none;border:0;box-shadow:none;padding:0}
.pane.flat>h2{margin-top:4px}
.sub{border:0;border-top:1px solid var(--soft-line);border-radius:0;background:none;padding:22px 0 0}
.docEd{border-color:var(--soft-line);border-radius:16px;padding:16px;box-shadow:0 1px 2px rgba(43,32,27,.05)}
.payCard{background:var(--paper)!important;box-shadow:0 1px 2px rgba(43,32,27,.05)}
.item.card{box-shadow:0 1px 2px rgba(43,32,27,.05)!important}
/* the editor bar: fill-ins and undo */
.rteFill{position:relative;display:inline-flex}
.fillMenu{position:absolute;top:calc(100% + 6px);left:0;z-index:6;display:grid;min-width:170px;padding:6px;background:#fff;border:1px solid var(--soft-line);border-radius:12px;box-shadow:0 12px 30px -14px rgba(43,32,27,.4)}
.fillMenu[hidden]{display:none}
.fillMenu button{justify-content:flex-start;width:100%;text-align:left}
.rteHist{margin-left:auto;display:inline-flex;gap:2px}
.rteBar [data-fillmenu]{font-family:ui-monospace,monospace;letter-spacing:-.05em}
.rteBar [data-fillmenu] span{font-family:var(--body);letter-spacing:0}
.tok{display:inline-block;padding:0 7px;margin:0 1px;border-radius:6px;background:var(--lav-2);border:1px solid var(--lav);color:var(--wine);font-weight:600;font-size:.92em;line-height:1.5;white-space:nowrap}
@media (max-width:600px){ .rteHist{margin-left:0} .fillMenu{left:50%;transform:translateX(-50%)} }
/* section headings stand out a little more (Kasey, Nov 24) */
#view h3{font-size:18.5px}
#view .pane h2,#view .pane>h2{font-size:23px}
@media (min-width:761px){ #view h3{font-size:20px} #view .pane h2,#view .pane>h2{font-size:25px} #view .optHead h3{font-size:21px} }

.agreeLine{margin:0;font-size:13px;color:var(--brown-2);text-align:center}
.agreeLine a{color:var(--wine)}

/* the price list reads as a list; only the item being edited opens (Kasey, Nov 24) */
.topRow{display:flex;justify-content:center;margin:0 0 18px}
.plist{max-width:820px;width:100%;margin:0 auto;overflow:hidden;padding:0}
.prow{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:4px 18px;align-items:baseline;padding:18px 22px;border-top:1px solid var(--soft-line);text-align:left}
.prow:first-child{border-top:0}
.prow .nm{font-weight:700;font-size:16.5px;color:var(--brown);overflow-wrap:anywhere}
.prow .pr{font-weight:700;font-size:16.5px;font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap}
.prow .nopr{font-weight:500;font-size:14px;color:var(--brown-2)}
.prow .ed{font-weight:600;font-size:14.5px;color:var(--wine);background:none;border:0;padding:2px 0;cursor:pointer;font-family:inherit}
.prow .ed:hover{text-decoration:underline;text-underline-offset:3px}
.prow .why{grid-column:1/2;color:var(--brown-2);font-size:14.5px;line-height:1.45}
.prow .tag{grid-column:2/4;justify-self:end;font-size:12px;font-weight:600;color:var(--brown-2);background:var(--beige-3);border:1px solid var(--soft-line);border-radius:999px;padding:2px 9px}
.prow.open{display:block;background:#fff;padding:20px 22px;box-shadow:inset 3px 0 0 var(--wine)}
.prow.open .grid{display:grid;grid-template-columns:minmax(0,1fr) 170px;gap:14px}
.prow.open .whyField{display:block;margin-top:14px}
.prow.open .whyField textarea{min-height:72px}
.prow.open .writeRow{display:flex;justify-content:flex-start;margin-top:8px}
.prow.open .err{margin-top:12px}
.prow.open .acts{display:flex;align-items:center;gap:10px 14px;margin-top:16px;flex-wrap:wrap}
.prow.open .acts .linkish{color:var(--brown-2);font-size:14.5px}
.prow.open .acts .linkish+.linkish{margin-left:-2px}
.prow.open .acts .check{margin-left:auto;font-size:14.5px;align-items:center}
.prow.open .acts .check input{min-height:0!important;width:20px!important;height:20px!important;padding:0!important;margin:0!important;box-shadow:none!important}
.prow.open .acts .btn.quiet{margin-left:auto}
.prow.open .acts .check~.btn.quiet{margin-left:0}
@media (max-width:600px){
  .prow{padding:16px;gap:4px 12px;grid-template-columns:minmax(0,1fr) auto}
  .prow .ed{grid-column:2;grid-row:3;justify-self:end}
  .prow .why{grid-column:1/3}
  .prow .tag{grid-column:1;grid-row:3;justify-self:start}
  .prow.open{padding:18px 16px}
  .prow.open .grid{grid-template-columns:1fr}
  .prow.open .acts{display:grid;grid-template-columns:auto auto 1fr auto auto;gap:12px 8px}
  .prow.open .acts .check{grid-column:1/-1;grid-row:1;margin-left:0}
  .prow.open .acts .linkish{grid-row:2}
  .prow.open .acts .btn.quiet{grid-column:4;grid-row:2;margin:0}
  .prow.open .acts .btn.main{grid-column:5;grid-row:2}
}

/* phones: the look preview stays in view, compact and a fixed size, while choosing (Kasey, Nov 24) */
@media (max-width:600px){
  .setup .preview{position:sticky;top:62px;z-index:4;padding:8px;border-radius:14px;box-shadow:0 10px 24px -14px rgba(43,32,27,.45)}
  .setup .preview .mini{padding:10px 12px;gap:6px;border-radius:12px}
  .setup .preview .mini .mlogo img{max-height:32px}
  .setup .preview .mini .mname{font-size:18px}
  .setup .preview .mini>div:nth-child(2){font-size:16px!important;line-height:1.2}
  .setup .preview .mini .mcard .mtop{padding:8px 10px}
  .setup .preview .mini .mcard .mtop b{font-size:16px}
  .setup .preview .mini .mcard .mtop span{font-size:12px!important}
}

/* a pop-up holds the page still behind it; only the pop-up scrolls (Kasey, Nov 24) */
html:has(.cropWrap),html:has(.cropWrap) body{overflow:hidden}
.cropWrap{overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.cropWrap .fontGrid{overscroll-behavior:contain}
/* logos read at a real size, in the phone preview and the logo box (Kasey, Nov 24) */
@media (max-width:600px){
  .setup .preview .mini .mlogo img{max-height:64px;max-width:200px}
}
.logoBox{width:180px;height:100px}
.logoBox img{max-width:164px;max-height:86px}

/* logo shape (Kasey, Nov 24) */
.shapeRow{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap}
.shapeRow>span{font-weight:700;font-size:14.5px}
.shapeRow .seg button{padding:8px 16px;font-size:14px}
img.shape-square,img.shape-circle{width:64px!important;height:64px!important;max-width:none!important;max-height:none!important;object-fit:cover;border-radius:12px}
img.shape-circle{border-radius:50%}
.logoBox img.shape-square,.logoBox img.shape-circle{width:80px!important;height:80px!important}
.cropBox.round{border-radius:50%}
/* the look preview on phones: pinned, at a readable size (Kasey, Nov 24: "too small") */
@media (max-width:600px){
  .setup .preview{padding:10px}
  .setup .preview .mini{padding:16px 14px;gap:10px}
  .setup .preview .mini .mname{font-size:23px}
  .setup .preview .mini>div:nth-child(2){font-size:20px!important;line-height:1.2}
  .setup .preview .mini .mcard .mtop{padding:12px 12px}
  .setup .preview .mini .mcard .mtop b{font-size:19px}
  .setup .preview .mini .mcard .mtop span{font-size:13.5px!important}
}
.prow.open{box-shadow:inset 2px 0 0 rgba(163,38,59,.55)}

.vh{position:absolute!important;width:1px!important;height:1px!important;opacity:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;pointer-events:none}
.docAdd{margin-bottom:4px}
@media (max-width:600px){ .status .big{font-size:23px} }

/* Payments: three cards, the one that works differently (Stripe) in the middle (Kasey, Nov 24) */
.payCards.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.payCard .fine.more{font-size:13px;color:var(--brown-2);border-top:1px solid var(--soft-line);padding-top:10px;margin-top:2px}
@media (max-width:980px){ .payCards.three{grid-template-columns:1fr;max-width:520px;margin:0 auto} }

/* Payments, organized (Kasey, Nov 24): Stripe on top, the two apps as a pair */
.payPage{gap:18px}
.payPage .appHead{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.payPage .appHead h3{font-size:19px}
.stripeCard{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px 28px;padding:24px 26px;text-align:left;align-items:center}
.stripeCard .scMain{display:grid;gap:8px}
.stripeCard .scMain p{margin:0;color:var(--brown)}
.stripeCard .fine{font-size:13.5px;color:var(--brown-2)}
.stripeCard .scAct{display:grid;gap:8px;justify-items:center}
.stripeCard .scMore{grid-column:1/-1;border-top:1px solid var(--soft-line);padding-top:16px;display:grid;gap:8px}
.stripeCard .scMore b{font-size:14.5px}
.stripeCard .scMore>span{font-size:13.5px;color:var(--brown-2)}
.stripeCard .chips{display:flex;flex-wrap:wrap;gap:8px}
.stripeCard .chips span{font-size:13px;font-weight:600;color:var(--brown);background:var(--beige-3);border:1px solid var(--soft-line);border-radius:999px;padding:5px 12px}
.payAppsTitle{margin-top:10px}
.payApps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.appCard{background:var(--paper);border:1px solid var(--soft-line);border-radius:var(--r);box-shadow:0 1px 2px rgba(43,32,27,.05);padding:22px;display:grid;gap:12px;text-align:left;align-content:start}
.appCard p{margin:0;color:var(--brown);font-size:15px}
.appCard .btn{justify-self:start}
.payNote{margin:0;text-align:center;font-size:13.5px;color:var(--brown-2);max-width:640px;justify-self:center}
@media (max-width:760px){
  .stripeCard{grid-template-columns:1fr;padding:20px 18px}
  .stripeCard .scAct{justify-items:start}
  .payApps{grid-template-columns:1fr}
  .appCard{padding:20px 18px}
}
.payAppsTitle{text-align:center}
.appCard .btn{justify-self:end}
@media (max-width:760px){ .appCard .btn,.stripeCard .scAct .btn{justify-self:center} .stripeCard .scAct{justify-items:center} }

/* the home screen: the icon in the bar, room under the phone's clock when opened from the home screen, the add card */
.logoMark{width:30px;height:30px;border-radius:8px;vertical-align:-7px;margin-right:9px}
@media (max-width:600px){ .logoMark{display:none} }
.bar{padding-top:env(safe-area-inset-top,0px)}
.installCard{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px 14px;align-items:start;text-align:left;padding:16px;margin:8px auto 0;max-width:520px;width:100%}
.installCard[hidden]{display:none}
.installIcon{width:52px;height:52px;border-radius:13px}
.installText{display:grid;gap:4px;font-size:14.5px;color:var(--brown-2)}
.installText b{color:var(--brown);font-size:15.5px}
.installSteps{margin:6px 0 0;padding-left:20px;display:grid;gap:6px;color:var(--brown)}
.installSteps .ic{width:17px;height:17px;vertical-align:-3px;color:var(--wine)}
.installActs{grid-column:1/-1;display:flex;justify-content:flex-end;align-items:center;gap:14px}

/* the look preview fades in once its fonts are in (Kasey, Nov 24: "very flashy") */
#pv{transition:opacity .16s ease}
#pv.fontwait{opacity:0}
/* the add-to-home-screen card, centered (Kasey, Nov 25) */
.installCard{display:grid;grid-template-columns:1fr;justify-items:center;text-align:center;gap:6px;padding:22px 18px 16px;max-width:440px}
.installIcon{width:60px;height:60px;border-radius:15px;margin-bottom:6px;box-shadow:0 4px 12px -6px rgba(163,38,59,.5)}
.iTitle{font-size:17px;color:var(--brown)}
.iLead{font-size:14.5px;color:var(--brown-2)}
.iSteps{width:100%;display:grid;gap:8px;margin:12px 0 4px;padding:12px;background:var(--beige-3);border-radius:14px;text-align:left}
.iStep{display:grid;grid-template-columns:24px minmax(0,1fr);gap:10px;align-items:start;font-size:14.5px;line-height:1.45;color:var(--brown)}
.iStep i{font-style:normal;width:24px;height:24px;border-radius:50%;background:var(--wine);color:#fff;font-size:13px;font-weight:700;display:grid;place-items:center;margin-top:-1px}
.iStep .ic{width:17px;height:17px;vertical-align:-3px;color:var(--wine)}
.installActs{grid-column:auto;justify-content:center;gap:16px;margin-top:4px}

.docHelp a{color:var(--wine);font-weight:600}
.docHelp{margin-top:-6px}

/* help, inside the app (Kasey, Nov 25) */
.helpGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px;max-width:1000px;margin:8px auto 0;align-items:start}
.helpGrid details{background:var(--paper);border:1px solid var(--soft-line);border-radius:16px;padding:4px 20px;margin:0;box-shadow:0 1px 2px rgba(43,32,27,.05);scroll-margin-top:84px}
.helpGrid summary{cursor:pointer;font-weight:700;padding:14px 0;list-style:none;display:flex;justify-content:space-between;gap:12px}
.helpGrid summary::-webkit-details-marker{display:none}
.helpGrid summary::after{content:"+";font-size:22px;line-height:1;color:var(--wine)}
.helpGrid details[open] summary::after{content:"–"}
.helpGrid details p{margin:0 0 14px;color:var(--brown-2);font-size:15.5px}
.helpContact{max-width:640px;margin:22px auto 0;padding:22px;display:grid;gap:8px;justify-items:center;text-align:center}
.helpContact h2{font-size:22px!important}
@media (max-width:760px){ .helpGrid{grid-template-columns:1fr} }

/* Help, grouped by topic (Kasey, Nov 25) */
.helpBody{display:grid;gap:30px;max-width:1000px;margin:10px auto 0}
.helpSection{display:grid;gap:12px}
.helpSection h2{font-family:var(--body);font-style:normal;font-weight:700;font-size:21px;letter-spacing:-.015em;text-align:center;margin:0;max-width:none}
.helpSection .helpGrid{margin:0}
.helpGrid details p+p{margin-top:-4px}
.hSteps{margin:0 0 14px;padding-left:22px;display:grid;gap:6px;color:var(--brown-2)}
.hSteps li::marker{color:var(--wine);font-weight:700}
.qDel{justify-self:center;color:var(--brown-2)!important;font-size:14px}

/* audit, Nov 25 */
/* inputs stay 16px so phones never zoom in on them */
.field input,.field select,.field textarea,.input,.pkHex{font-size:16px}
/* the open price item gets a full soft border, not a side stripe */
.prow.open{box-shadow:none;outline:1.5px solid rgba(163,38,59,.35);outline-offset:-1.5px}
/* shadows only on the main button and main cards */
.btn:not(.main){box-shadow:none}
.qcard:hover{box-shadow:0 1px 2px rgba(43,32,27,.05)}
.helpGrid details,.appCard{box-shadow:none}
/* names centered, status in the corner */
.payPage .appHead{display:flex;flex-direction:column;align-items:center;gap:8px;width:100%}.payPage .appHead h3{text-align:center;margin:0}

.signin{margin-top:40px}
/* the three editor buttons fit side by side on the smallest phones */
@media (max-width:380px){.sendRow .btn{padding-left:13px!important;padding-right:13px!important;gap:6px}.sendRow .btn svg{width:15px;height:15px}}
.logoActs small #cropNext{display:inline}.logoActs small #cropNext[hidden]{display:none}

/* set-amount deposit box lines up with the Due to start list (Nov 25) */
.depRow .field>.money{max-width:none;margin-left:0;margin-right:0}
/* phones: the name sits centered on its own line and the four links sit centered under it, so nothing squeezes or wraps */
@media (max-width:430px){
  .barIn{flex-wrap:wrap!important;justify-content:center;row-gap:8px;padding-top:10px;padding-bottom:6px}
  .barIn .logo{width:100%;display:flex;justify-content:center;align-items:center;font-size:23px}
  .barIn nav{width:100%;justify-content:center;flex-wrap:nowrap}
}
/* Settings, Emails: their own wording for each customer email, with a live preview (Kasey, Nov 26) */
.mailIntro{text-align:center;max-width:62ch;margin:0 auto 8px!important;justify-self:center;color:var(--brown-2);text-wrap:balance}
.mailKind{border:1px solid var(--line);border-radius:14px;background:#fff;margin:12px 0 0;text-align:left}
.mailKind summary{cursor:pointer;list-style:none;padding:15px 18px;font-weight:700;display:flex;align-items:center;gap:12px}
.mailKind summary::-webkit-details-marker{display:none}
.mailKind summary span{flex:1}
.mailKind summary em{font-style:normal;font-weight:600;font-size:13.5px;color:var(--wine)}
.mailKind summary::after{content:"Edit";font-size:14.5px;color:var(--wine);text-decoration:underline;text-underline-offset:4px}
.mailKind[open] summary::after{content:"Close"}
.mailFields{display:grid;gap:16px;padding:4px 18px 20px}
.mailFields .linkish{justify-self:center}
.mailPrev{display:grid;gap:10px;border-top:1px solid var(--line);padding-top:16px}
.mailPrev b{font-size:14.5px;text-align:center}
.mailPrev iframe{width:100%;height:560px;border:1px solid var(--line);border-radius:12px;background:#f4f1ee;display:block}
@media (max-width:600px){ .mailKind summary{padding:14px} .mailFields{padding:2px 14px 18px} .mailPrev iframe{height:520px} }
/* no bouncing past the top bar or the end of the page (Kasey, Nov 26) */
html,body{overscroll-behavior:none}

/* the step label at the top of a quote: larger, in wine red with cream words (Kasey, Nov 26: no lavender, keep it neutral) */
.pill.stage{font-size:15px;padding:8px 18px;background:var(--wine);color:var(--cream);letter-spacing:0}
.pill.stage.test{background:var(--brown);color:var(--cream)}

/* the logo colors come first under Main color, with a plain line saying so, and no lavender box (Kasey, Nov 26) */
.look .fromLogo{display:grid;justify-items:center;gap:6px;background:none;padding:0;border-radius:0}
.look .fromLogo b{font-size:13.5px;color:var(--brown-2)}
@media (min-width:981px){ .look #accSw{max-width:130px;margin:0 auto} }

/* the tour's one line at the very top (Kasey, Nov 26) */
.tourNote{margin:0;padding:9px 16px;text-align:center;background:var(--brown);color:var(--cream);font-size:14px;font-weight:600}
html.tour #installCard{display:none!important}

/* changing the sign-in email (Kasey, Nov 26) */
.chEmail{display:grid;gap:14px;width:100%;max-width:440px;margin:0 auto 6px;padding:18px;border:1px solid var(--line);border-radius:16px;background:#fff}
.chEmail .field input{font-size:16px}

/* phones (Kasey, Nov 26): the menu has the top bar to itself, and the 2Quoted name sits at the bottom of every page.
   Signed out there's no menu, so the name stays at the top. */
.appFoot{display:none}
@media (max-width:430px){
  body:has(#nav:not([hidden])) .barIn .logo{display:none}
  body:has(#nav:not([hidden])) .barIn{padding-top:8px;padding-bottom:8px}
  body:has(#nav:not([hidden])) .appFoot{display:block;text-align:center;padding:0 16px calc(34px + env(safe-area-inset-bottom))}
  .appFoot .logo{font-size:23px}
}

/* an option in the quote editor (Kasey, Nov 26): Remove in the card's top right corner, and "Our pick" under the title
   with a line saying what it does. The pick's card has the wine border. */
.optEd{position:relative}
.optEd .optDrop{position:absolute;top:12px;right:12px;font-size:14.5px;padding:8px 10px}
/* lined up on the left with the fields under it (Kasey, Nov 26) */
.optHead .optPick,.centered .optHead .optPick{align-self:flex-start;align-items:flex-start;justify-content:flex-start;text-align:left;gap:12px;width:auto;max-width:100%;margin:6px 0 0}
.optPick small{text-wrap:balance}
.optPick input{margin-top:3px!important}
.optPick span{display:grid;gap:2px}
.optPick b{font-size:15.5px}
.optPick small{font-size:13.5px;color:var(--brown-2);line-height:1.4}
@media (max-width:560px){ .optEd .optDrop{top:8px;right:8px} .optEd .optHead{padding-top:6px} }

/* phone alerts, under the heads-up choices (Kasey, Nov 26) */
.phoneAlerts{display:grid;gap:12px;justify-items:center;padding-top:16px;border-top:1px solid var(--soft-line)}
.phoneAlerts:empty{display:none}
.phoneAlerts p{margin:0;max-width:52ch;color:var(--brown-2);font-size:15px;line-height:1.55;text-wrap:pretty}
.phoneAlerts p b{color:var(--brown)}
.paRow{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:14px}

/* the help answers in the app: the plus turns into an x as a question opens, like the site (Kasey, Nov 26) */
.helpGrid summary::after{content:"+";display:inline-block;transition:rotate .35s cubic-bezier(.3,1.5,.5,1)}
.helpGrid details[open]>summary::after{content:"+";rotate:45deg}

/* Your look's colors, like the try page (Kasey, Nov 26): one tidy row of circles in each column, ending in a
   color-wheel circle; the big picker opens under the row only when the wheel is tapped */
.look .swRow{flex-wrap:nowrap;gap:10px;justify-content:center}
.look .sw{padding:3px}
.look .sw i{width:34px;height:34px}
.look .pkOpen{display:none!important}
.look .picker:not(.open){display:none!important}
.look .picker.open{display:grid;margin:14px auto 0;max-width:300px}
.look .swAny i{background:conic-gradient(#1E5A66,#4F6D8A,#8A5A78,#9C4A3A,#E9C46A,#6F8569,#1E5A66)}
.look .swAny.on i{background:radial-gradient(circle,var(--c) 0 52%,transparent 53%),conic-gradient(#1E5A66,#4F6D8A,#8A5A78,#9C4A3A,#E9C46A,#6F8569,#1E5A66)}
.look .swAny.soft i{background:conic-gradient(#E9B9BC,#CDB9E6,#AECBEA,#B7D8B4,#F1DB9C,#E9B9BC)}
.look .swAny.soft.on i{background:radial-gradient(circle,var(--c) 0 52%,transparent 53%),conic-gradient(#E9B9BC,#CDB9E6,#AECBEA,#B7D8B4,#F1DB9C,#E9B9BC)}
.look .swAny[aria-expanded="true"] i{box-shadow:0 0 0 3px var(--paper),0 0 0 5px var(--brown)}
@media (max-width:400px){ .look .swRow{gap:7px} .look .sw i{width:30px;height:30px} }
/* the two color rows stacked on every screen, so each row of circles has the room it needs */
.look .colorPair{grid-template-columns:1fr!important;row-gap:22px;justify-items:center}
.look .colorPair .pickBlock{width:100%;justify-items:center}
/* Every switch (Kasey, Nov 26, said many times): equal sides, and the chosen side fills its whole side, edge to edge,
   with a soft line between sides. Never a pill sitting inside the outline. */
.seg,.seg[style]{display:inline-grid!important;grid-auto-flow:column;grid-auto-columns:1fr;gap:0!important;padding:0!important;overflow:hidden;border:1px solid var(--line);border-radius:999px;background:#fff}
.seg button{border-radius:0!important;min-height:46px;padding:11px 18px;margin:0}
.seg button+button{border-left:1px solid var(--line)}
.seg button.on,.seg button.on+button{border-left-color:transparent}
.seg button:focus-visible{outline:3px solid var(--lav);outline-offset:-3px}
@media (max-width:600px){ .seg button{padding:10px 12px;min-height:44px} }

/* setup's last step (Kasey, Nov 27): one plain card, no boxes inside it */
.tryPane{display:grid;justify-items:center;gap:16px;text-align:center}
.tryLead{margin:0;font-size:17px;line-height:1.6;max-width:44ch;text-wrap:pretty;overflow-wrap:anywhere}
.tryNote{margin:4px 0 0;max-width:46ch;color:var(--brown-2);font-size:15px;line-height:1.55;text-wrap:pretty}
.tryPane .okmsg{overflow-wrap:anywhere}
.tryPane .navRow{width:100%;margin-top:10px}
/* Venmo and Zelle buttons centered on computers too (Kasey's rule: buttons are centered) */
.appCard .btn{justify-self:center}

/* the "not a robot" box (Kasey, Nov 27): takes no room unless Cloudflare asks them to tick it */
.bot{position:absolute;width:0;height:0;overflow:hidden}
.bot.shown{position:static;display:flex;justify-content:center;width:100%;height:auto;overflow:visible}

/* a help message from inside the app (Kasey, Nov 29) */
.helpContact .askLead,.signin .askLead{margin:0;max-width:46ch;color:var(--brown-2);line-height:1.6;text-wrap:pretty;overflow-wrap:anywhere}
.askField{width:100%;max-width:480px;display:grid;gap:6px;text-align:center}
.askField textarea{min-height:150px;resize:vertical;line-height:1.55;font:inherit;padding:12px 14px}
.helpContact{gap:16px}
.helpContact .btn,.signin .btn{width:fit-content}
.helpContact .linkish{justify-self:center}
.welcomeLinks{display:flex;justify-content:center;gap:28px;flex-wrap:wrap}

/* what you send is called (Kasey, Nov 29) */
.wordField{text-align:center;display:grid;justify-items:center;gap:10px;margin:6px 0 4px}
.wordField select,.wordField input{width:100%;max-width:320px;text-align:left}
.wordField small{max-width:44ch;text-wrap:pretty;text-align:center!important;margin:0!important}
/* "usually have": the label on top, the switch centered under it, then the note (Kasey, Nov 29) */
.usualField{display:grid;justify-items:center;text-align:center;gap:12px}
.usualField .seg{margin:0!important}
.usualField small{margin:0!important;text-align:center!important}

/* Signature: they sign, or no signature (Kasey, Nov 29) */
.signField{display:grid;justify-items:center;text-align:center;gap:12px}
.signField .seg{margin:0!important}
.signField small{margin:0!important;max-width:44ch;text-align:center!important;text-wrap:pretty}

/* review requests (Kasey, Nov 29) */
.reviewsPane .grid2{width:100%}
.reviewsPane .rvNote{margin:0 auto;text-align:center;justify-self:center;max-width:52ch;color:var(--brown-2);font-size:14.5px;line-height:1.55;text-wrap:pretty}
.reviewBox{display:grid;justify-items:center;gap:10px;text-align:center}
.reviewBox .btn{width:fit-content}
.reviewsPane .rvSave{width:fit-content;justify-self:center;margin-top:6px}
/* Your look on phones (Kasey, Nov 29): the color rows never push the card wider than the screen. Each dot shrinks to
   fit its share of the row, so every row and heading stays centered in the card on any phone. */
.look .colorPair{grid-template-columns:minmax(0,1fr)!important}
.look .pickBlock,.look .colorPair .pickBlock{min-width:0;max-width:100%}
.look .swRow{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,40px);justify-content:center;gap:clamp(4px,2.2vw,10px);width:100%;max-width:100%}
.look .swRow .sw{min-width:0;width:100%;padding:3px;display:grid;place-items:center}
.look .swRow .sw i{width:100%;max-width:34px;height:auto;aspect-ratio:1}
.look .fontRow{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.look .fontBtn{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* Our pick (Kasey, Nov 29): the note sits on the same line as the box and "Our pick", not under them */
.optHead .optPick,.centered .optHead .optPick{align-items:center}
.optPick input{margin-top:0!important;flex:none}
.optPick span{display:block;line-height:1.45}
.optPick b{display:inline;margin-right:8px}
.optPick small{display:inline;text-wrap:pretty}
/* the price list (Kasey, Nov 29): an open item is a plain white panel (no colored edge), and a just-saved row glows
   softly once so you can see where it went */
.prow.open{box-shadow:none;outline:0;background:#fff}
.prow.open+.prow,.prow+.prow.open{border-top:1px solid var(--soft-line)}
@keyframes prowSaved{0%{background:#F1DFF2}100%{background:transparent}}
.prow.justSaved{animation:prowSaved 1.5s ease-out}
.optHead .optPick,.centered .optHead .optPick{align-items:flex-start}
.optPick input{margin-top:1px!important}
/* take out the logo's background (Kasey, Nov 29) */
.cropBgRow{display:flex;justify-content:center;align-items:center;gap:10px;margin:16px auto 2px;font-size:15px;font-weight:600;color:var(--brown);cursor:pointer;width:fit-content}
/* search your quotes (Kasey, Nov 29) */
.qFind{display:flex;justify-content:center;margin:0 auto 14px;max-width:460px}
.qFind input{width:100%;min-height:48px;padding:12px 18px;border:1px solid var(--line);border-radius:999px;background:#fff;font:500 16px var(--body);color:var(--brown);-webkit-appearance:none;appearance:none}
.qFind input:focus{outline:none;border-color:var(--brown)}
.qFind input::placeholder{color:var(--brown-2)}
/* on a computer the color dots get the full row too (the old narrow limit squeezed them, Kasey Nov 29) */
.look #accSw,.look #logoSw,.look #backSw{max-width:none!important}
/* search and the filters share one row on a computer, the width of the quotes under them (Kasey, Nov 29) */
@media (min-width:900px){
  .qTools{display:flex;align-items:center;justify-content:space-between;gap:20px;max-width:1112px;margin:0 auto 22px}
  .qTools .qFind{margin:0;flex:0 1 400px;max-width:400px}
  .qTools .qFind input{min-height:44px}
  .qTools .filters{margin:0}
}
/* in the quote editor the signature lines up on the left with the fields around it (Kasey, Nov 29) */
.editor .signField{justify-items:start;text-align:left}
.editor .signField small{text-align:left!important;max-width:52ch}
/* what you send is called and how many options, side by side when there's room (Kasey, Nov 29) */
.wordUsual{display:grid;gap:26px;margin-top:8px}
@media (min-width:760px){
  .wordUsual{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;column-gap:28px}
  .wordUsual .wordField,.wordUsual .usualField{margin:0;align-content:start}
  .wordUsual .usualField .seg{margin-top:0!important}
  .wordUsual small{margin-top:0!important}
}
@media (min-width:760px){
  .wordUsual .wordField,.wordUsual .usualField{justify-items:stretch;text-align:left;gap:8px}
  .wordUsual .wordField select,.wordUsual .wordField input{max-width:none}
  .wordUsual .usualField .seg{display:grid!important;grid-template-columns:1fr 1fr;width:100%!important;margin:0!important}
  .wordUsual small{text-align:left!important;max-width:none}
}
@media (min-width:760px){ .wordUsual{column-gap:14px} }
/* the font cards show the full business name, wrapping if it's long, instead of cutting it off (Kasey, Nov 29) */
.fontCard .big{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;text-wrap:balance;line-height:1.2}
.fontGrid{align-items:stretch}
.fontCard{display:grid;align-content:center;gap:6px}
.fontCard{height:auto!important;min-height:68px}
.fontGrid{grid-auto-rows:max-content!important}
.fontCard{overflow:visible!important}
/* email previews (Kasey, Nov 29): no wider than an email needs, centered, and as tall as the email itself */
.mailPrev{justify-items:center}
/* shown at three quarters size: the email laid out at its real width inside a smaller box */
.mailFrame{width:100%;max-width:377px;height:342px;margin:0 auto;overflow:hidden;border:1px solid var(--line);border-radius:14px;background:#f4f1ee;box-sizing:border-box}
.mailPrev .mailFrame iframe{width:133.3334%;max-width:none;height:454px;border:0;border-radius:0;transform:scale(.75);transform-origin:0 0}
.mailFields [data-reset][hidden],.mailKind summary em[hidden]{display:none}
/* the totals card's rows stay inside it, with the same space on both sides (Kasey, Nov 29) */
.editor .side{grid-template-columns:minmax(0,1fr)}
@media (min-width:901px){
  .editor .side .sendRow{gap:6px}
  .editor .side .sendRow .btn{padding-left:13px;padding-right:13px}
}
/* a review request's days, on a quote (Kasey, Nov 29) */
.rvDays{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;width:100%;max-width:300px;text-align:left}
.rvDays .field{margin:0}
.rvDays input{width:100%;min-width:0}
.reviewsPane .grid2.one{grid-template-columns:minmax(0,1fr)}
.reviewsPane .grid2 [hidden]{display:none}
.reviewsPane .rvNote,.reviewBox>span,.jobDay small{text-wrap:balance}
/* date boxes are the same size as every other box, on an iPhone too (its own style made them shorter) (Kasey, Nov 30) */
input[type=date]{-webkit-appearance:none;appearance:none;display:block;width:100%;min-width:0;max-width:100%;text-align:left}
input[type=date]::-webkit-date-and-time-value{text-align:left;min-height:1.4em}
.ldWords{display:none}
/* the new quote on a phone: every box runs the same length, edge to edge (Kasey, Nov 30) */
@media (max-width:600px){
  .editor .depRow .field,.editor .centered .field>.money{max-width:none;margin-left:0;margin-right:0}
  .editor .pane,.editor .optEd{padding:24px 22px}
  .editor .optEd.pick{padding:23px 21px}
  .editor .lineEd{grid-template-columns:repeat(2,minmax(0,1fr));margin-left:-12px;margin-right:-12px;padding:12px}
  .editor .lineEd [data-ldel]{grid-column:1/-1;justify-self:center;width:auto;min-width:0;padding:8px 12px;order:9}
  .editor .lineEd .tax{order:8}
  .ldX{display:none}
  .ldWords{display:inline;font-size:14.5px;font-weight:700}
  .editor .addRow select{width:100%;flex:1 1 100%}
}
/* which option to take away, by name */
.fewCard{max-width:420px}
.fewCard p{margin-top:-4px}
.fewList{display:grid;border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#fff}
.fewList button{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:54px;padding:12px 18px;border:0;background:none;color:var(--brown);font:inherit;font-size:16px;text-align:left;cursor:pointer}
.fewList button+button{border-top:1px solid var(--line)}
.fewList b{overflow-wrap:anywhere}
.fewList span{flex:none}
.fewList button.on{background:var(--brown);color:var(--cream)}
.fewList button:focus-visible{outline:3px solid var(--lav);outline-offset:-3px}
.fewBtns{justify-content:center}
.fewBtns .btn{min-width:130px;justify-content:center}
/* on a phone every page's title sits a third closer to the menu (Kasey, Nov 30) */
@media (max-width:760px){ #view{padding-top:37px} }
/* Settings, Security (Kasey, Nov 30) */
.secPane{gap:0}
.secPane h2{margin-bottom:8px}
.secRow{display:grid;justify-items:center;gap:8px;text-align:center;padding:24px 0}
.secRow+.secRow,.chEmail+.secRow{border-top:1px solid var(--line)}
.secRow:last-child{padding-bottom:4px}
.secRow b{font-size:17px}
.secRow>span{font-weight:700;overflow-wrap:anywhere}
.secRow small{font-size:14.5px;line-height:1.55;color:var(--brown-2);max-width:46ch;text-wrap:balance}
.secRow .btn{margin-top:6px;width:fit-content}
.secPane .chEmail{margin-bottom:24px}
/* the sample app's customer page, over the app */
.tourPage{position:fixed;inset:0;z-index:70;background:var(--beige)}
.tourPage iframe{display:block;width:100%;height:100%;border:0}
html.tourPageOn,html.tourPageOn body{overflow:hidden}
/* on a phone the settings tabs are two even rows of four */
@media (max-width:600px){
  .tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px 4px}
  .tabs a{padding:8px 2px;text-align:center;font-size:14.5px}
}
/* the app's own "are you sure" (Kasey, Nov 30) */
.askWrap{z-index:80}
.askCard{max-width:400px;gap:20px}
.askCard p{color:var(--brown);font-size:17px;font-weight:600;line-height:1.5;text-wrap:balance}
.askBtns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;width:100%;max-width:330px;margin:0 auto}
.askBtns .btn{width:100%;justify-content:center;padding-left:10px;padding-right:10px;white-space:nowrap}
/* backgrounds on a phone: four light, four dark under them, and the picker beside both rows (Kasey, Nov 30) */
@media (max-width:600px){
  .look #backSw{grid-auto-flow:row;grid-template-columns:repeat(5,40px);justify-content:center;align-items:center;gap:8px 10px}
  #backSw>:last-child{grid-column:5;grid-row:1 / span 2}
}
.mini .mcard{color:#2B201B}
.mini .logoPlate{box-sizing:content-box;background:#fff;border-radius:12px;padding:8px 14px}.mini .logoPlate.onDark{background:#2b2420}
/* the same eight main colors as the homepage (Kasey, Nov 30), two rows of four on a phone */
@media (max-width:600px){ .look #accSw{grid-auto-flow:row;grid-template-columns:repeat(4,40px);justify-content:center;gap:8px 14px} }
/* the settings menu: a strip edge to edge under the app's menu, with a line below it, then the page (Kasey, Nov 30: the
   menu ran into the page's content). The picked one is filled, like a switch. */
.tabs{position:relative;margin:-56px 0 44px;padding:12px 0;border-image:linear-gradient(var(--beige-3) calc(100% - 1px),var(--line) 0) fill 0 // 0 100vw}
.tabs a{border:0}
.tabs a:hover{color:var(--brown)}
.tabs a.on{background:var(--brown);color:var(--cream);border:0;box-shadow:none}
@media (max-width:760px){ .tabs{margin:-37px 0 32px;padding:10px 0 11px} }
.signCard{padding:24px 22px}
.signCard .signField{margin:0}
/* their records: the download under Settings, Business, and the list kept after a plan ends (audit, Nov 30) */
.myRecords{border-top:1px solid var(--line);margin-top:26px;padding-top:26px}
.oldRecords{max-width:520px;margin-top:24px}
.oldRecords ul{list-style:none;margin:0;padding:0;width:100%}
.oldRecords li{display:grid;gap:4px;padding:16px 0;text-align:center}
.oldRecords li+li{border-top:1px solid var(--line)}
.oldRecords li a{font-weight:700;color:var(--wine);overflow-wrap:anywhere}
.oldRecords li span{font-size:15px;color:var(--brown-2);overflow-wrap:anywhere}

/* the audit of Nov 30 */
.askField textarea{font-size:16px}
.noConnect,.keptCard{max-width:520px;margin:0 auto}
.keptCard{display:grid;gap:14px;justify-items:center;text-align:center;padding:24px 20px;margin-bottom:28px}
.keptCard b{font-size:17px;overflow-wrap:anywhere}
.keptCard span{color:var(--brown-2)}
.pageHead .keptCard{margin:22px auto 4px}
.noConnect span,.keptCard b,.keptCard span{text-wrap:balance}
@media (max-width:600px){ .filters.six{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));max-width:300px;margin-left:auto;margin-right:auto} .filters.six button{padding-left:4px;padding-right:4px} }
.askCard>.linkish{justify-self:center}
/* setup's steps can be tapped */
.steps a{display:flex;align-items:center;gap:8px;color:inherit;text-decoration:none}
.signOver .signin{margin:0;width:100%;max-height:100%;overflow-y:auto}
/* the signing record sits under the quote on a computer and last on a phone, so what's waiting on them comes first */
.detail{grid-template-rows:auto 1fr}
.detail>aside{grid-row:span 2}
.recordCard{grid-column:1}
.recordCard .finger{font-family:monospace;font-size:12px}
.exField{width:100%;max-width:220px}
@media (max-width:900px){ .detail{grid-template-rows:none} .detail>aside{grid-row:auto} }
/* a longer message keeps its shape */
.toast{border-radius:26px;width:max-content;max-width:min(440px,calc(100vw - 32px))}
/* how and how much: the boxes sit right under their words */
.paidFields .field>select,.status .paidFields .field>.money{max-width:none;margin-left:0;margin-right:0}
/* on a computer no step hangs alone on its own row: four or five across, six as two rows of three */
@media (min-width:761px){
  .timeline li span{overflow-wrap:anywhere}
  .timeline.n5{grid-template-columns:repeat(5,minmax(0,1fr))}
  .timeline.n6{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:22px}
  .timeline.n6 li:nth-child(3n)::before{display:none}
}
/* a discount's amount is taken off */
.money.minus::before{content:"−$"}
.money.minus input,.editor .lineEd .money.minus input{padding-left:38px}
/* saving it as a copy, under the message that says why */
#qErr .btn{margin:12px auto 2px;background:#fff}
/* the payment boxes use the full card on a computer, two across */
@media (min-width:601px){
  .editor .depRow{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 18px;justify-items:stretch}
  .editor .depRow .field{max-width:none}
  .editor .depRow .check,.editor .depRow .jobDay{grid-column:1/-1}
  .editor .depRow .jobDay input{max-width:calc(50% - 9px)}
}
.newQuotes{width:100%;max-width:640px;margin:0 auto;text-align:center}
.newQuotes .grid2{text-align:left}
