/* QuoteGlance: one calm, readable style for homeowners of every age.
   Large type, strong contrast, one column, clear status words with icons
   (never colour alone). Loaded after style.css and friendly.css. */
body.qc{
  --bg:#f4f6f8;--surface:#fff;--surface-2:#f7f9fb;--ink:#14212b;--ink-2:#46555f;--line:#e2e7ec;
  --accent:#1d6b57;--accent-ink:#fff;--accent-soft:#e6f2ee;
  --ok:#17663f;--ok-bg:#e5f4ea;--no:#a3261f;--no-bg:#fbe9e7;--ask:#8a5a00;--ask-bg:#fdf1d8;--you:#2c4ea3;--you-bg:#e7edfb;
  --radius:20px;--radius-s:12px;--shadow:0 1px 2px rgba(20,33,43,.05),0 8px 24px rgba(20,33,43,.06);
  margin:0;background:var(--bg);color:var(--ink);
  font:18px/1.55 system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
@media (prefers-color-scheme:dark){body.qc{
  --bg:#0e151b;--surface:#16212a;--surface-2:#1b2832;--ink:#eef3f6;--ink-2:#a9b7c1;--line:#26343f;
  --accent:#4fbf9a;--accent-ink:#06261c;--accent-soft:#163a30;
  --ok:#7fd8a3;--ok-bg:#15352a;--no:#ff9b91;--no-bg:#3d1c1a;--ask:#f2c56b;--ask-bg:#3a2d12;--you:#9db7ff;--you-bg:#1d2a4a;
  --shadow:0 1px 2px rgba(0,0,0,.3),0 8px 24px rgba(0,0,0,.25)}}
body.qc *{box-sizing:border-box}
body.qc a{color:var(--accent)}
body.qc :focus-visible{outline:3px solid var(--accent);outline-offset:3px;border-radius:8px}

/* Top bar */
.qc-bar{position:sticky;top:0;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:14px max(20px,calc((100% - 880px)/2));background:color-mix(in srgb,var(--bg) 85%,transparent);
  backdrop-filter:saturate(180%) blur(14px);border-bottom:1px solid var(--line)}
.qc-brand{display:flex;align-items:center;gap:10px;font-weight:700;font-size:19px;letter-spacing:-.2px;color:var(--ink)!important;text-decoration:none}
.qc-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:var(--accent);color:var(--accent-ink);font-size:18px}
.qc-nav{display:flex;gap:22px}.qc-nav a{color:var(--ink-2);text-decoration:none;font-size:16px}.qc-nav a:hover{color:var(--ink)}

/* Page */
body.qc .private-workspace{max-width:880px;margin:0 auto;padding:40px 20px 64px}
body.qc h1,body.qc h2,body.qc h3,body.qc h4,body.qc h5{color:var(--ink);letter-spacing:-.4px;line-height:1.2;margin:0 0 .5em}
body.qc h1{font-size:clamp(32px,5.5vw,48px);font-weight:750}
body.qc h2{font-size:clamp(26px,4vw,34px);font-weight:720}
body.qc h3{font-size:22px;font-weight:680}
body.qc p{margin:0 0 .8em}
body.qc .muted{color:var(--ink-2);font-size:16px}
body.qc .notice{border-radius:var(--radius-s);padding:14px 18px;margin:0 0 20px;font-size:17px}
body.qc .notice.danger{background:var(--no-bg);color:var(--no);border:0}
body.qc .notice.review-note{background:var(--ask-bg);color:var(--ink);border:0}

/* Buttons */
body.qc .button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:52px;padding:0 24px;border-radius:14px;
  font-size:18px;font-weight:620;border:0;text-decoration:none;cursor:pointer;transition:transform .08s ease,filter .15s ease}
body.qc .button:active{transform:scale(.98)}
body.qc .button.primary{background:var(--accent);color:var(--accent-ink)}
body.qc .button.primary:hover{filter:brightness(1.07)}
body.qc .button.secondary{background:var(--surface-2);color:var(--ink);box-shadow:inset 0 0 0 1px var(--line)}
body.qc .button:disabled{opacity:.45;cursor:not-allowed}
body.qc .action-row{display:flex;flex-wrap:wrap;gap:12px;margin-top:16px}

/* Start screen */
.qc-hero{text-align:center;max-width:720px;margin:12px auto 32px}
.qc-lead{font-size:20px;color:var(--ink-2)}
.qc-panel,.qc-job,body.qc .card,.qc-steps li{background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow)}
.qc-panel{padding:28px}
.qc-drop{border:2px dashed var(--line);border-radius:16px;padding:36px 20px;text-align:center;background:var(--surface-2);transition:border-color .15s,background .15s}
.qc-drop.is-over{border-color:var(--accent);background:var(--accent-soft)}
.qc-drop-icon{display:inline-grid;place-items:center;width:56px;height:56px;border-radius:50%;background:var(--accent-soft);color:var(--accent);font-size:26px;margin-bottom:10px}
.qc-drop-title{font-size:21px;font-weight:650;margin-bottom:4px}
.qc-drop-hint{color:var(--ink-2);font-size:16px;margin:8px 0}
body.qc .selected-files{list-style:none;margin:20px 0 0;padding:0;display:grid;gap:10px}
body.qc .selected-file{display:flex;align-items:center;gap:14px;padding:12px 14px;border-radius:var(--radius-s);background:var(--surface-2);box-shadow:inset 0 0 0 1px var(--line)}
body.qc .pdf-icon{display:grid;place-items:center;width:40px;height:44px;border-radius:8px;background:var(--no-bg);color:var(--no);font-size:12px;font-weight:750;flex:none}
body.qc .file-name{flex:1;min-width:0;overflow-wrap:anywhere;font-weight:560}
body.qc .file-size{color:var(--ink-2);font-size:15px;white-space:nowrap}
body.qc .remove-file{width:44px;height:44px;border-radius:50%;border:0;background:transparent;color:var(--ink-2);font-size:24px;cursor:pointer}
body.qc .remove-file:hover{background:var(--line);color:var(--ink)}
.qc-selection{margin:16px 0 4px;color:var(--ink-2);font-size:16px;text-align:center}
.qc-progress{text-align:center;font-weight:600}
.qc-go{width:100%;margin-top:12px;min-height:58px!important;font-size:20px!important}
.qc-trust{list-style:none;padding:0;margin:20px 0 0;display:flex;flex-wrap:wrap;justify-content:center;gap:8px 22px;color:var(--ink-2);font-size:15px}
.qc-trust span{margin-right:6px}
.qc-steps{list-style:none;counter-reset:step;padding:0;margin:32px 0 0;display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.qc-steps li{counter-increment:step;padding:22px}
.qc-steps li::before{content:counter(step);display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--accent-soft);color:var(--accent);font-weight:750;margin-bottom:12px}
.qc-steps strong{display:block;font-size:18px;margin-bottom:4px}.qc-steps span{color:var(--ink-2);font-size:16px}
.qc-more,.qc-manage,.qc-tech{margin-top:28px;color:var(--ink-2);font-size:16px}
body.qc details>summary{cursor:pointer;font-weight:600;color:var(--ink);padding:10px 0;list-style-position:outside}
body.qc .project-context-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;margin:12px 0}
body.qc .project-context-grid label{display:grid;gap:6px;font-size:15px}
body.qc input[type=text],body.qc input[type=date],body.qc input[type=url],body.qc select{font:inherit;font-size:17px;padding:12px 14px;border-radius:12px;border:1px solid var(--line);background:var(--surface);color:var(--ink);width:100%}

/* Progress and saved link */
.qc-job{padding:22px 24px;margin-bottom:24px}
.qc-job h2{font-size:22px;margin-bottom:6px}
.qc-manage{margin-top:8px}

/* Report */
.qc-report{display:grid;gap:20px}
.qc-verdict{background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow);padding:28px}
.qc-verdict h2{margin-bottom:10px}
.qc-verdict p{color:var(--ink-2);font-size:18px}
.qc-callout{display:flex;gap:12px;align-items:flex-start;padding:14px 16px;border-radius:var(--radius-s);background:var(--ask-bg);color:var(--ink);font-size:17px;margin-top:12px}
.qc-callout::before{content:"!";flex:none;display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--ask);color:var(--surface);font-weight:800;font-size:15px}
.qc-section{background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow);padding:24px}
.qc-section>h3{margin-bottom:14px}
.qc-group{font-weight:650;color:var(--ink-2);font-size:16px;margin:4px 0 10px}

/* At-a-glance table */
.qc-glance{width:100%;border-collapse:separate;border-spacing:0;font-size:17px}
.qc-glance th,.qc-glance td{padding:14px 12px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line)}
.qc-glance thead th{font-size:16px;color:var(--ink-2);font-weight:650}
.qc-glance thead th .qc-who{display:block;color:var(--ink);font-size:17px;font-weight:700}
.qc-glance tbody th{font-weight:600;color:var(--ink-2);width:24%}
.qc-glance tr:last-child td,.qc-glance tr:last-child th{border-bottom:0}
.qc-price{font-size:22px;font-weight:750;letter-spacing:-.3px;color:var(--ink)}
.qc-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:0 -8px;padding:0 8px}

/* Status chips: icon + word, colour as a second cue */
.qc-chip{display:inline-flex;align-items:center;gap:7px;padding:5px 12px 5px 8px;border-radius:999px;font-size:16px;font-weight:620;white-space:nowrap}
.qc-chip::before{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;font-size:12px;font-weight:800;color:var(--surface)}
.qc-chip.included{background:var(--ok-bg);color:var(--ok)}.qc-chip.included::before{content:"✓";background:var(--ok)}
.qc-chip.not_included{background:var(--no-bg);color:var(--no)}.qc-chip.not_included::before{content:"✕";background:var(--no)}
.qc-chip.yours{background:var(--you-bg);color:var(--you)}.qc-chip.yours::before{content:"●";background:var(--you)}
.qc-chip.partly{background:var(--ask-bg);color:var(--ask)}.qc-chip.partly::before{content:"½";background:var(--ask)}
.qc-chip.unclear,.qc-chip.not_mentioned,.qc-chip.unknown{background:var(--ask-bg);color:var(--ask)}
.qc-chip.unclear::before,.qc-chip.not_mentioned::before,.qc-chip.unknown::before{content:"?";background:var(--ask)}
.qc-chip.info{background:var(--surface-2);color:var(--ink);box-shadow:inset 0 0 0 1px var(--line)}.qc-chip.info::before{content:"i";background:var(--ink-2)}

/* Differences list */
.qc-list{list-style:none;margin:0;padding:0;display:grid;gap:2px}
.qc-list li{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 12px;padding:12px 0;border-bottom:1px solid var(--line)}
.qc-list li:last-child{border-bottom:0}
.qc-list li>span:first-child{flex:1 1 320px}

/* Quote cards */
.qc-quotes{display:grid;gap:20px}
.qc-quote{background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow);padding:24px}
.qc-quote-head{display:flex;gap:14px;align-items:center;margin-bottom:16px}
.qc-letter{flex:none;display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:var(--accent-soft);color:var(--accent);font-weight:800;font-size:20px}
.qc-quote-head h3{margin:0;font-size:21px}
.qc-quote-head p{margin:2px 0 0;color:var(--ink-2);font-size:15px}
.qc-quote-price{display:flex;flex-wrap:wrap;align-items:baseline;gap:10px;padding:16px 18px;border-radius:var(--radius-s);background:var(--surface-2);margin-bottom:16px}
.qc-quote-price strong{font-size:30px;letter-spacing:-.5px}
.qc-quote-price .qc-missing{font-size:19px;color:var(--ask)}
.qc-rows{display:grid;gap:0;margin:0 0 8px}
.qc-row{display:grid;grid-template-columns:minmax(140px,30%) 1fr;gap:6px 16px;padding:14px 0;border-top:1px solid var(--line)}
.qc-row>dt{font-weight:620;color:var(--ink-2)}
.qc-row>dd{margin:0}
.qc-row .qc-fact{margin:8px 0 0;color:var(--ink-2);font-size:16px}
.qc-ask{margin-top:16px;padding:18px;border-radius:var(--radius-s);background:var(--you-bg)}
.qc-ask h4{font-size:18px;margin-bottom:8px;color:var(--you)}
.qc-ask ol{margin:0;padding-left:22px}.qc-ask li{margin:6px 0}
.qc-details{margin-top:12px}
.qc-details .plain-block{padding:12px 0;border-top:1px solid var(--line)}
.qc-details h5{font-size:16px;color:var(--ink-2);margin-bottom:6px;letter-spacing:0}
.qc-details ul{margin:0;padding-left:20px}.qc-details li{margin:4px 0;font-size:16px}
.qc-quote .button.secondary{margin-top:12px}

/* Source links */
body.qc .simple-source,body.qc .evidence-link,body.qc .qc-report details.evidence>summary{font-size:14px}
.qc-report details{color:var(--ink-2)}
.qc-report details>summary{font-weight:560;font-size:15px;padding:2px 0;color:var(--accent)}

.qc-files{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px}
.qc-file{padding:16px;border-radius:var(--radius-s);background:var(--surface-2);box-shadow:inset 0 0 0 1px var(--line)}
.qc-file h4{font-size:17px;margin-bottom:4px;overflow-wrap:anywhere}.qc-file p{font-size:15px;color:var(--ink-2)}
.qc-limits{font-size:15px;color:var(--ink-2)}

/* Differences only */
.qc-totals{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;margin:18px 0 14px}
.qc-total{display:flex;flex-direction:column;gap:2px;padding:14px 16px;border-radius:var(--radius-s);background:var(--surface-2);box-shadow:inset 0 0 0 1px var(--line)}
.qc-total.qc-low{background:var(--ok-bg);box-shadow:inset 0 0 0 1px var(--ok)}
.qc-total-who{font-size:15px;color:var(--ink-2)}.qc-total-sum{font-size:28px;letter-spacing:-.4px}
.qc-verdict p.qc-verdict-line{color:var(--ink);font-size:20px;font-weight:650;margin:0}
.qc-reasons{margin:10px 0 0;padding-left:22px;font-size:17px}.qc-reasons li{margin:6px 0}
.qc-keep{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin-top:18px}
.qc-keep-note{color:var(--ink-2);font-size:15px}
.qc-only{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px}
.qc-only-box{padding:14px 16px;border-radius:var(--radius-s);box-shadow:inset 0 0 0 1px var(--line)}
.qc-only-box h4{font-size:17px;margin-bottom:6px}
.qc-only-box ul{margin:0;padding-left:20px}.qc-only-box li{margin:8px 0}
.qc-note{display:block;font-size:15px;color:var(--ink-2)}
.qc-lines th,.qc-lines td{font-size:16px}
.qc-lines .num{text-align:right;white-space:nowrap;width:1%;min-width:0}
.qc-lines tbody th{width:auto;min-width:220px;color:var(--ink);font-weight:500}
.qc-lines .qc-same{color:var(--ink-2)}
.qc-tag{display:inline-block;margin-left:6px;padding:1px 9px;border-radius:999px;font-size:13px;font-weight:600;background:var(--you-bg);color:var(--you);white-space:nowrap}
.qc-tag.warn{background:var(--ask-bg);color:var(--ask)}
.qc-questions{margin:0;padding-left:24px}.qc-questions li{margin:10px 0}
.qc-to{display:inline-block;margin-right:8px;font-size:13px;font-weight:700;letter-spacing:.03em;text-transform:uppercase;color:var(--you)}
.qc-each>summary{cursor:pointer;font-weight:650;font-size:18px}
.qc-each[open]>summary{margin-bottom:16px}

.qc-tech .card{padding:20px;margin-top:16px}
.qc-foot{margin-top:48px;padding-top:24px;border-top:1px solid var(--line);color:var(--ink-2);font-size:15px}
body.qc blockquote{white-space:pre-wrap;overflow-wrap:anywhere}

/* Phones */
@media (max-width:640px){
  body.qc{font-size:17px}
  body.qc .private-workspace{padding:24px 16px 48px}
  .qc-nav{gap:14px}.qc-nav a{font-size:15px}
  .qc-panel,.qc-section,.qc-quote,.qc-verdict{padding:20px}
  .qc-steps{grid-template-columns:1fr}
  .qc-row{grid-template-columns:1fr}
  .qc-glance thead{display:none}
  .qc-glance,.qc-glance tbody,.qc-glance tr,.qc-glance th,.qc-glance td{display:block;width:100%}
  .qc-glance tr{padding:10px 0;border-bottom:1px solid var(--line)}
  .qc-glance tbody th{width:100%;border:0;padding:6px 0 2px}
  .qc-glance td{border:0;padding:6px 0;display:flex;gap:10px;align-items:baseline;flex-wrap:wrap}
  .qc-glance td::before{content:attr(data-who);font-weight:700;min-width:28px;color:var(--ink)}
  /* Each quote's price and the difference side by side under the work name */
  .qc-lines td.num{display:inline-flex;width:auto;min-width:0;margin-right:18px;text-align:left}
}

/* Keep wide tables inside their card instead of widening the page. */
.qc-report>*,.qc-section,.qc-scroll{min-width:0;max-width:100%}
body.qc .qc-glance th,body.qc .qc-glance td{background:none;font-size:17px;letter-spacing:0;text-transform:none}
body.qc .qc-glance thead th{font-size:15px}
body.qc .qc-glance tbody th{font-size:16px}
.qc-brand,.qc-nav a{white-space:nowrap}
@media (max-width:640px){
  .qc-bar{padding:10px 16px}
  .qc-brand{font-size:17px;gap:8px}.qc-mark{width:30px;height:30px;font-size:16px}
  .qc-nav{gap:12px}.qc-nav a{font-size:14px}
}

/* About and How it works */
.qc-page .qc-hero{margin-bottom:28px}
.qc-center{justify-content:center}
.qc-gap{margin-top:20px}
.qc-section h2{font-size:26px;margin-bottom:14px}
.qc-section h3{font-size:20px}
.qc-section p{color:var(--ink-2)}
.qc-checks,.qc-crosses{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.qc-checks li,.qc-crosses li{position:relative;padding-left:36px}
.qc-checks li::before,.qc-crosses li::before{position:absolute;left:0;top:2px;display:grid;place-items:center;width:24px;height:24px;border-radius:50%;font-size:13px;font-weight:800;color:var(--surface)}
.qc-checks li::before{content:"✓";background:var(--ok)}
.qc-crosses li::before{content:"✕";background:var(--no)}
.qc-two{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.qc-two .qc-section{margin:0}
.qc-chips-nav{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:8px}
.qc-chips-nav a{padding:8px 16px;border-radius:999px;background:var(--surface);box-shadow:inset 0 0 0 1px var(--line);color:var(--ink);text-decoration:none;font-size:16px}
.qc-chips-nav a:hover{box-shadow:inset 0 0 0 2px var(--accent)}
.qc-numbered{margin:0;padding-left:24px;display:grid;gap:10px}
.qc-legend{display:grid;gap:10px;margin-top:20px;padding-top:16px;border-top:1px solid var(--line)}
.qc-legend p{margin:0;display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.qc-faq{margin:0}.qc-faq dt{font-weight:650;margin-top:14px}.qc-faq dd{margin:4px 0 0;color:var(--ink-2)}
.qc-nav a[aria-current=page]{color:var(--ink);font-weight:650}
body.qc .qc-page section[id]{scroll-margin-top:80px}
@media (max-width:640px){.qc-two{grid-template-columns:1fr}}

/* Questions: copy or email them to the contractor */
.qc-ask-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:14px}
.qc-ask-actions .button{min-height:46px;font-size:16px;padding:0 18px}
.qc-ask-status{color:var(--ink-2);font-size:15px}
.qc-ask-text{width:100%;min-height:160px;margin-top:12px;font:inherit;font-size:15px;padding:12px;border-radius:12px;border:1px solid var(--line);background:var(--surface);color:var(--ink)}

/* QuoteGlance logo: two quote sheets side by side, checked at a glance */
svg.qc-mark{display:block;width:36px;height:36px;background:none;border-radius:11px;flex:none}
.qc-word{font-weight:600;letter-spacing:-.3px}.qc-word b{font-weight:800;color:var(--accent)}
@media (prefers-color-scheme:dark){svg.qc-mark rect:first-child{fill:#2a8a6f}}
@media (max-width:640px){svg.qc-mark{width:30px;height:30px}}

/* "See an example" */
.qc-sample-line{text-align:center;margin:14px 0 0;color:var(--ink-2);font-size:16px}
.qc-link-button{background:none;border:0;padding:4px;color:var(--accent);font:inherit;font-weight:600;text-decoration:underline;cursor:pointer}
.qc-sample-note{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}

/* "Something looks wrong?" */
.qc-report-wrong{margin-top:14px;font-size:16px}
.qc-report-wrong>summary{color:var(--ink-2);font-weight:560}
.qc-wrong-form{padding:12px 0}
.qc-wrong-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:8px;margin:10px 0}
.qc-wrong-item{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:12px;background:var(--surface-2);box-shadow:inset 0 0 0 1px var(--line);cursor:pointer}
.qc-wrong-item input{width:20px;height:20px;accent-color:var(--accent)}
.qc-wrong-form textarea{width:100%;font:inherit;font-size:16px;padding:12px;border-radius:12px;border:1px solid var(--line);background:var(--surface);color:var(--ink)}
/* Photo quotes: a camera button on phones and an "Add page" button per photo quote. */
.qc-pick{display:flex;flex-wrap:wrap;gap:12px;justify-content:center}
.camera-label{display:none}
@media (pointer:coarse){.camera-label{display:inline-flex}}
body.qc .add-page{flex:none;min-height:44px;padding:0 14px;border-radius:var(--radius-s);border:1px solid var(--line);background:var(--surface);color:var(--accent);font-weight:650;cursor:pointer}
body.qc .add-page:hover{border-color:var(--accent)}
@media (max-width:520px){body.qc .selected-file{flex-wrap:wrap}body.qc .add-page{order:5;flex:1 1 100%}}
/* Crop a photo to the quote before upload: each side moves on its own. */
.qc-crop{width:min(96vw,900px);max-height:96vh;padding:16px;border:0;border-radius:var(--radius);background:var(--surface);color:var(--ink);box-shadow:var(--shadow);text-align:center}
.qc-crop::backdrop{background:rgba(10,16,22,.6)}
.qc-crop h2{font-size:22px;margin:0 0 4px}
.qc-crop-hint{color:var(--ink-2);font-size:16px;margin:0 0 12px}
.qc-crop-stage{position:relative;display:inline-block;overflow:hidden;line-height:0;touch-action:none;user-select:none;max-width:100%}
.qc-crop-stage canvas{display:block;max-width:100%;max-height:62vh;width:auto;height:auto}
.qc-crop-frame{position:absolute;box-sizing:border-box;border:2px solid #fff;outline:1px solid rgba(0,0,0,.4);box-shadow:0 0 0 9999px rgba(0,0,0,.55)}
.qc-crop-handle{position:absolute;padding:0;border:0;background:transparent;cursor:grab;touch-action:none}
.qc-crop-handle::after{content:"";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);background:#fff;border-radius:4px;box-shadow:0 0 0 1px rgba(0,0,0,.45)}
.qc-crop-handle.left,.qc-crop-handle.right{top:50%;width:44px;height:72px;transform:translateY(-50%);cursor:ew-resize}
.qc-crop-handle.left{left:-22px}.qc-crop-handle.right{right:-22px}
.qc-crop-handle.left::after,.qc-crop-handle.right::after{width:8px;height:44px}
.qc-crop-handle.top,.qc-crop-handle.bottom{left:50%;width:72px;height:44px;transform:translateX(-50%);cursor:ns-resize}
.qc-crop-handle.top{top:-22px}.qc-crop-handle.bottom{bottom:-22px}
.qc-crop-handle.top::after,.qc-crop-handle.bottom::after{width:44px;height:8px}
.qc-crop-handle:focus-visible::after{background:var(--accent)}
.qc-crop-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:14px}
