
  :root{--brand:#25364a;--brand-text:#fff;--processing:#a9dcf4;--processing-text:#182333;--accent:#f1dce5;--ink:#171717;--muted:#655a63;--paper:#fffefa;--bg:#f7f1f7;--ok:#176b43;--bad:#a12d2d;--line:#e5dce2;--shadow:0 14px 38px rgba(37,54,74,.08);--overview-direct:#69bff0;--overview-referral:#df7898;--overview-reward:#74b693;--overview-no-reward:#d7d1d6}
  *{box-sizing:border-box}html{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg)}
  body{margin:0;min-height:100vh;background:radial-gradient(circle at top right,color-mix(in srgb,var(--accent) 55%,transparent),transparent 35%),var(--bg)}
  button,input,select,textarea{font:inherit}button{cursor:pointer}.shell{max-width:1100px;margin:0 auto;padding:24px 18px 56px}
  header{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:24px;padding:14px 18px;background:#fff;border-radius:16px}.brand{display:flex;align-items:center;gap:12px;min-height:54px}.brand img{display:block;max-height:54px;max-width:180px}.brand-text{font-size:25px;font-weight:850;letter-spacing:.08em;color:var(--brand)}
  .customer-header,.verification-header,.worker-header{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center}.customer-header .brand,.verification-header .brand,.worker-header .brand{justify-self:start}.portal-header-title{justify-self:center;color:var(--muted);font-size:14px;font-weight:400;text-align:center}.portal-header-link{text-decoration:none}.portal-header-link:hover,.portal-header-link:focus-visible{color:var(--brand);text-decoration:underline;text-underline-offset:3px}.language-picker{position:relative;justify-self:end}.language-picker:after{content:"⌄";position:absolute;right:14px;top:50%;transform:translateY(-56%);pointer-events:none;color:#4d4650;font-size:18px}.language-picker select{width:auto;min-width:128px;appearance:none;-webkit-appearance:none;border-color:#ded4dc;border-radius:999px;background:#fff;padding:10px 40px 10px 15px;color:#25364a;box-shadow:0 3px 12px rgba(37,54,74,.07);cursor:pointer}.worker-account{justify-self:end;min-width:0;text-align:right;display:flex;flex-direction:column;align-items:flex-end;gap:2px}.worker-header #workerIdentity{text-align:right}.worker-signout{color:var(--muted);font-size:12px;line-height:1.25;text-decoration:underline;text-underline-offset:2px}.worker-signout:hover,.worker-signout:focus-visible{color:var(--brand)}
  .subtitle{color:var(--muted);font-size:14px}.panel{background:var(--paper);border:1px solid color-mix(in srgb,var(--brand) 10%,transparent);border-radius:18px;box-shadow:var(--shadow);padding:24px}
  .nav{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 18px}.nav button{border:1px solid var(--line);background:#fff;padding:10px 14px;border-radius:999px;color:var(--ink)}.nav button.active{background:var(--brand);border-color:var(--brand);color:var(--brand-text)}
  .view{display:none}.view.active{display:block}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.grid>*{min-width:0}.grid .wide{grid-column:1/-1}
  label{display:block;font-size:13px;font-weight:700;margin:0 0 7px}.hint{font-size:12px;color:var(--muted);margin-top:5px}input,select,textarea{width:100%;min-width:0;max-width:100%;border:1px solid #d7cac2;border-radius:10px;background:#fff;padding:11px 12px;color:var(--ink);outline:none}input:focus,select:focus,textarea:focus{border-color:#8ecded;box-shadow:0 0 0 3px rgba(169,220,244,.42)}textarea{min-height:115px;resize:vertical}
  h1{font-size:27px;margin:0 0 7px}h2{font-size:21px;margin:0 0 8px}h3{font-size:16px;margin:20px 0 10px}.lead{color:var(--muted);margin:0 0 22px;line-height:1.55}.actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:20px}.primary,.secondary,.danger{border-radius:10px;padding:11px 17px;font-weight:750}.primary{background:#fff0f6;color:#111;border:1px solid #e3a5c4;box-shadow:0 0 0 3px rgba(241,183,207,.22)}.customer-portal form .actions{margin-top:14px}.customer-portal form .actions>.primary{min-width:112px}.secondary{background:var(--accent);color:var(--ink);border:0}.danger{background:#fee2e2;color:#8d2020;border:0}.primary:disabled,.secondary:disabled,.danger:disabled{opacity:.55;cursor:wait}button[data-processing="true"]{display:inline-flex;align-items:center;justify-content:center;gap:9px;background:var(--processing)!important;color:var(--processing-text)!important;border-color:#8ecded!important;box-shadow:0 0 0 3px rgba(169,220,244,.42)!important;opacity:1!important;cursor:wait}button[data-processing="true"]::before{content:"";width:14px;height:14px;border:2px solid rgba(24,35,51,.3);border-top-color:#182333;border-radius:50%;animation:krust-processing-spin .8s linear infinite}@keyframes krust-processing-spin{to{transform:rotate(360deg)}}
  .customer-verification .email-confirm-action{background:#fee2e2;color:#111;border:0;border-radius:8px;box-shadow:none}.customer-verification .email-confirm-action[data-processing="true"]{border:1px solid #8ecded}
  .notice{display:none;margin:16px 0 0;padding:12px 14px;border-radius:10px;line-height:1.45}.notice.show{display:block}.notice.info,.notice.pending{background:#edf4ff;color:#244970}.notice.success{background:#e9f7ef;color:var(--ok)}.notice.error{background:#fdecec;color:var(--bad);font-weight:700}
  .card{border:1px solid var(--line);border-radius:12px;padding:15px;background:#fff}.cards{display:grid;gap:12px}.customer-portal .check{background:#fbf7fa}.badge{display:inline-block;border-radius:999px;background:var(--accent);padding:4px 9px;font-size:12px;font-weight:750}.badge.status-success{background:#e9f7ef;color:#111}.money{font-variant-numeric:tabular-nums}.hidden{display:none!important}.loading{pointer-events:none}
  .privacy-promise{margin:0 0 18px;padding:14px 16px;border:1px solid #dbe8f2;border-radius:12px;background:#f5faff;color:#25364a;line-height:1.5}.privacy-promise p{margin:6px 0}.privacy-heading-row{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap}.privacy-toggle-separator{margin-left:auto;color:#6f7986}.privacy-footer{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:8px}.privacy-footer .privacy-toggle{margin-left:auto}.privacy-toggle{appearance:none;border:0;background:none;padding:0;color:#255f84;font:inherit;font-weight:400;text-decoration:underline;text-underline-offset:2px;cursor:pointer}.privacy-toggle:hover{text-decoration-thickness:2px}.privacy-toggle:focus-visible{outline:2px solid #8ecded;outline-offset:3px;border-radius:2px}.legal-confirmation{align-items:flex-start}.legal-confirmation input{margin-top:3px;flex:0 0 auto}.legal-confirmation>span{line-height:1.45}.legal-link,.legal-footer a{color:#255f84;text-decoration:underline;text-underline-offset:2px}.legal-footer{margin:18px auto 0;padding:12px 16px;text-align:center;color:#586174;font-size:13px;line-height:1.6}.legal-footer a{white-space:nowrap}.legal-footer .separator{padding:0 7px;color:#8f96a3}
  table{width:100%;border-collapse:collapse;font-size:14px}th,td{text-align:left;padding:10px 8px;border-bottom:1px solid var(--line);vertical-align:top}th{font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:.03em}.table-wrap{overflow:auto}
  .inline{display:flex;gap:10px;align-items:end}.inline>*{flex:1;min-width:0}.redemption-code-row>button{flex:0 0 auto}.checkboxes{display:flex;min-width:0;gap:10px;flex-wrap:wrap}.check{display:flex;align-items:center;gap:7px;max-width:100%;border:1px solid var(--line);border-radius:9px;padding:9px 11px;background:#fff}.check input{width:auto;margin:0}
  .review-flag{align-items:flex-start;margin:0}.review-flag small{display:block;margin-top:3px;color:var(--muted);font-weight:400;line-height:1.4}
  .purchase-scope-note{margin:0 0 16px;color:var(--muted);font-size:13px;font-weight:400;line-height:1.4}
  .overview-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.overview-updated{margin:0 0 18px;font-size:12px}.overview-loading{padding:22px 0}.overview-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:16px}.overview-kpi{padding:16px;border:1px solid var(--line);border-radius:14px;background:#fff}.overview-kpi-label{display:block;color:var(--muted);font-size:12px;font-weight:700}.overview-kpi-value{display:block;margin-top:5px;color:var(--brand);font-size:30px;font-weight:850;line-height:1;font-variant-numeric:tabular-nums}.overview-test-note{margin:0 0 16px;padding:9px 12px;border-radius:9px;background:#f5f3f5;color:var(--muted);font-size:12px}.overview-dashboard{display:grid;grid-template-columns:minmax(250px,.75fr) minmax(0,1.45fr);gap:16px}.overview-chart-card,.overview-purchase-card{border:1px solid var(--line);border-radius:14px;background:#fff;padding:17px}.overview-chart-card h2,.overview-purchase-card h2{font-size:17px;margin:0}.overview-card-subtitle{margin:3px 0 15px;color:var(--muted);font-size:12px}.overview-legend{display:flex;gap:16px;flex-wrap:wrap;color:var(--muted);font-size:12px}.overview-legend-item{display:inline-flex;align-items:center;gap:6px}.overview-swatch{width:10px;height:10px;border-radius:3px;background:var(--swatch)}.overview-bars{display:grid;grid-template-columns:repeat(7,minmax(24px,1fr));align-items:end;gap:9px;height:214px;margin:12px 0 10px;padding-top:20px;border-bottom:1px solid var(--line)}.overview-bar-column{height:100%;display:grid;grid-template-rows:18px minmax(0,1fr) 32px;align-items:end;text-align:center;min-width:0}.overview-bar-value{align-self:start;color:var(--brand);font-size:12px;font-weight:800}.overview-bar-track{height:100%;display:flex;align-items:flex-end;justify-content:center}.overview-bar-stack{width:min(34px,76%);min-height:2px;display:flex;flex-direction:column-reverse;border-radius:6px 6px 0 0;overflow:hidden;background:#eee9ed}.overview-bar-segment.direct{background:var(--overview-direct)}.overview-bar-segment.referral{background:var(--overview-referral)}.overview-bar-day{align-self:center;color:var(--muted);font-size:11px;line-height:1.15}.overview-bar-day strong{display:block;color:var(--ink);font-size:12px}.overview-doughnut-wrap{display:grid;place-items:center;margin:18px 0}.overview-doughnut{--direct-share:0%;width:154px;aspect-ratio:1;border-radius:50%;display:grid;place-items:center;background:conic-gradient(var(--overview-direct) 0 var(--direct-share),var(--overview-referral) var(--direct-share) 100%)}.overview-doughnut.empty{background:var(--overview-no-reward)}.overview-doughnut-centre{width:92px;aspect-ratio:1;border-radius:50%;display:grid;place-content:center;text-align:center;background:#fff;color:var(--muted);font-size:11px}.overview-doughnut-centre strong{display:block;color:var(--brand);font-size:26px;line-height:1.1}.overview-source-counts{display:grid;gap:8px}.overview-source-row{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:13px}.overview-source-row strong{font-variant-numeric:tabular-nums}.overview-purchases{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:16px}.overview-purchase-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:15px 0}.overview-purchase-metric{padding:11px;border-radius:10px;background:#faf8fa}.overview-purchase-metric span{display:block;color:var(--muted);font-size:11px;line-height:1.3}.overview-purchase-metric strong{display:block;margin-top:5px;color:var(--brand);font-size:19px;font-variant-numeric:tabular-nums}.overview-split-bar{height:12px;display:flex;overflow:hidden;border-radius:999px;background:var(--overview-no-reward)}.overview-split-with{background:var(--overview-reward)}.overview-split-without{background:var(--overview-no-reward)}.overview-split-labels{display:flex;justify-content:space-between;gap:12px;margin-top:8px;color:var(--muted);font-size:12px}.overview-split-labels strong{color:var(--ink)}
  .auth-card{max-width:540px;margin:60px auto;text-align:center}.divider{height:1px;background:var(--line);margin:24px 0}.muted{color:var(--muted)}.right{margin-left:auto}
  .payment-decision,.cancellation-decision{padding:24px;border-width:2px}.payment-decision h2,.cancellation-decision h2{font-size:26px;line-height:1.35}.cancellation-decision{border-color:var(--bad);background:#fff8f8}.cancellation-decision h2{color:var(--bad);font-weight:850}.purchase-cancel-link{display:inline-block;appearance:none;border:0;background:none;padding:0;margin-top:5px;color:var(--bad);font:inherit;font-size:13px;text-decoration:underline;text-underline-offset:2px}.purchase-cancel-link:hover{text-decoration-thickness:2px}.purchase-cancel-link:focus-visible{outline:2px solid #8ecded;outline-offset:3px;border-radius:2px}
  .finalized{opacity:.62;pointer-events:none}.benefit-row.unavailable,.benefit-row.conflict-disabled{opacity:.52}.benefit-row input[type="checkbox"]{width:auto}.benefit-row .applied-value{max-width:130px}.benefit-reason{display:block;color:var(--muted);font-size:12px;margin-top:3px}.duo-applied.invalid{color:var(--bad);font-size:12px;font-weight:750}.duo-prices{display:flex;gap:8px;margin-top:8px}.duo-prices label{font-size:11px;min-width:0}.duo-prices input{width:105px;margin-top:3px;padding:7px}.customer-details{display:grid;grid-template-columns:minmax(0,max-content) minmax(0,1fr);gap:6px 14px;max-width:100%;margin:14px 0 0}.customer-details dt{min-width:0;font-weight:750}.customer-details dd{min-width:0;margin:0;overflow-wrap:anywhere}.modal-backdrop{position:fixed;inset:0;z-index:20;background:rgba(41,35,33,.48);display:flex;align-items:center;justify-content:center;padding:18px}.modal-card{width:min(560px,100%);background:var(--paper);border-radius:18px;box-shadow:0 24px 70px rgba(0,0,0,.25);padding:24px}.modal-card h2{margin-bottom:16px}
  @media (prefers-reduced-motion:reduce){button[data-processing="true"]::before{animation:none}}
  @media(max-width:700px){.shell{padding:16px 12px 40px}.panel{min-width:0;padding:18px}.grid{grid-template-columns:minmax(0,1fr)}.grid .wide{grid-column:auto}header{align-items:center;gap:8px;padding:12px 10px}.customer-header,.verification-header,.worker-header{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}.customer-header .portal-header-title,.verification-header .portal-header-title,.worker-header .portal-header-title{grid-column:auto;grid-row:auto;margin-top:0;line-height:1.2}.customer-header .brand,.verification-header .brand,.worker-header .brand{min-width:0}.customer-header .brand img,.verification-header .brand img,.worker-header .brand img{max-width:100%;max-height:46px}.language-picker{min-width:0;width:100%;max-width:108px}.language-picker select{width:100%;min-width:0;padding:9px 30px 9px 11px}.language-picker:after{right:10px}.worker-header .worker-account{min-width:0}.worker-header #workerIdentity{min-width:0;overflow-wrap:anywhere;font-size:12px}.inline{display:grid;grid-template-columns:minmax(0,1fr)}.inline>*{width:100%}.right{margin-left:0}.customer-details{grid-template-columns:minmax(115px,42%) minmax(0,1fr);gap:7px 10px}.benefit-table{width:100%;table-layout:fixed;font-size:12px}.benefit-table th,.benefit-table td{padding:8px 5px;overflow-wrap:anywhere}.benefit-table th:nth-child(1),.benefit-table td:nth-child(1){width:36%}.benefit-table th:nth-child(2),.benefit-table td:nth-child(2){width:34%}.benefit-table th:nth-child(3),.benefit-table td:nth-child(3){width:10%;text-align:center}.benefit-table th:nth-child(4),.benefit-table td:nth-child(4){width:20%}.benefit-row .applied-value{width:100%;max-width:100%;padding:8px 6px}.benefit-reason{font-size:11px}.duo-prices{display:grid;grid-template-columns:minmax(0,1fr);gap:5px}.duo-prices input{width:100%}.overview-dashboard,.overview-purchases{grid-template-columns:minmax(0,1fr)}.overview-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.overview-purchase-metrics{grid-template-columns:minmax(0,1fr)}}
  @media(max-width:600px){.customer-portal form .actions>button,.customer-verification #confirmActions .primary{width:100%}}
  @media(max-width:420px){.shell{padding-inline:8px}.panel{padding:16px}.nav{gap:6px}.nav button{padding:9px 12px}.portal-header-title{font-size:13px}.language-picker select{padding-left:9px;padding-right:27px}.language-picker:after{right:8px}}
  .privacy-heading-row .privacy-toggle{margin-left:auto}
  .overview-period-control{margin:0 0 0 auto;display:flex;align-items:center;gap:8px;color:var(--muted);font-size:12px;font-weight:700}.overview-period-control select{width:auto;min-width:104px;padding:8px 30px 8px 10px;border-radius:999px;background:#fff}.overview-bars.period-30{grid-template-columns:repeat(30,minmax(16px,1fr));gap:4px;overflow-x:auto}.overview-bars.period-30 .overview-bar-stack{width:min(20px,72%)}.overview-bar-day.is-hidden{visibility:hidden}.overview-purchases{grid-template-columns:minmax(0,1fr)}


.krust-rich-output{white-space:pre-wrap;overflow-wrap:anywhere}.krust-rich-output a{text-decoration:underline}.krust-rich-editor{border:1px solid #cbbdce;border-radius:9px;background:#fff;overflow:hidden;margin:5px 0 12px;min-width:0}.krust-rich-toolbar{display:flex;flex-wrap:wrap;gap:5px;padding:7px;background:#f6f0f7;border-bottom:1px solid #dfd3df}.krust-rich-toolbar button,.krust-rich-toolbar select{font:13px Arial,sans-serif!important;line-height:1.2!important;padding:7px 9px!important;min-height:34px!important;width:auto!important;margin:0!important;color:#25364a!important;background:#fff!important;border:1px solid #c9b9ca!important;border-radius:5px!important;box-shadow:none!important}.krust-rich-toolbar button[aria-label=Bold]{font-weight:900!important}.krust-rich-toolbar button[aria-label=Italic]{font-style:italic!important}.krust-rich-toolbar button[aria-label=Underline]{text-decoration:underline!important}.krust-rich-input{padding:12px;min-height:64px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere;color:#25364a;font:16px Arial,sans-serif;outline:none}.krust-rich-input:focus{box-shadow:inset 0 0 0 2px #699bb8}.krust-rich-help{display:block!important;padding:6px 10px;color:#5a5a68;font-size:11px!important;line-height:1.4}.krust-rich-input[aria-disabled=true]{opacity:.6}.website-editor .we-photo{grid-template-columns:100px minmax(0,1fr)}.website-editor .we-photo img{width:100px}@media(max-width:600px){.website-editor .we-photo{grid-template-columns:1fr}.website-editor .we-photo img{width:110px}.krust-rich-toolbar button,.krust-rich-toolbar select{min-height:40px!important}.krust-rich-input{font-size:16px}}



.website-editor label{display:block;margin:12px 0 5px}.website-editor .check{display:flex}.website-editor .check input{width:auto}.website-editor fieldset{border:1px solid #dfd3df;border-radius:12px;padding:18px;margin:20px 0}.website-editor legend{font-weight:bold;padding:0 8px}.website-editor .we-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.website-editor .we-photo{display:grid;grid-template-columns:130px 1fr;gap:18px;align-items:start;border-top:1px solid #ddd;padding:18px 0}.website-editor .we-photo img{width:130px;height:auto}.website-editor .we-photo .actions{flex-wrap:wrap}.website-editor .we-preview{width:100%;height:680px;border:1px solid #ddd;background:white;margin:12px auto;display:block}.website-editor .we-status{min-height:28px;white-space:pre-line;font-weight:bold}.website-editor textarea{min-height:100px}.website-editor .we-toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.website-editor .we-toolbar select{width:auto}.website-editor [hidden]{display:none!important}@media(max-width:600px){.website-editor .we-row{grid-template-columns:1fr}.website-editor .we-photo{grid-template-columns:80px 1fr}.website-editor .we-photo img{width:80px}}
#weHoursGrid{display:grid;grid-template-columns:minmax(75px,1fr) minmax(90px,1fr) minmax(90px,1fr) 60px;gap:10px 8px;align-items:center}.we-time-box{display:flex;min-width:0;position:relative}.website-editor .we-time-box input{width:100%;min-width:0;padding:10px 4px;font-size:16px}.website-editor .we-time-picker{padding:6px;min-width:28px}.website-editor #weHoursGrid input[type=checkbox]{width:20px;height:20px;margin:auto}.website-editor #weHoursGrid strong{font-size:13px}.we-time-box input[type=time]{position:absolute;top:100%;z-index:2;background:white;min-width:110px}@media(max-width:420px){#weHoursGrid{grid-template-columns:minmax(62px,1fr) minmax(77px,1fr) minmax(77px,1fr) 48px;gap:10px 4px}.website-editor .we-time-picker{min-width:22px;padding:2px}.website-editor #weHoursGrid{font-size:13px}}.we-translation-row{display:grid;grid-template-columns:28px minmax(0,1fr);gap:8px;align-items:start}.website-editor .we-translation-row>label{font-weight:bold;font-size:13px;margin-top:18px}.we-translation-row>.krust-rich-editor{grid-column:2;min-width:0}.we-translation-row>input[hidden],.we-translation-row>textarea[hidden]{display:none}.we-shared-formatting{position:sticky;top:0;z-index:8;background:#f6f0f7;border:1px solid #dfd3df;border-radius:8px;padding:8px;margin-top:16px}.we-shared-formatting .krust-rich-toolbar{border:0}.we-shared-formatting strong{font-size:13px}.krust-rich-help{display:none!important}.we-format-arrow{display:none}@media(max-width:600px){.we-shared-formatting{display:flex;align-items:flex-start;gap:4px;padding:5px}.we-shared-formatting>strong{display:none}.we-shared-formatting #weFormatControls{min-width:0;flex:1}.we-shared-formatting .krust-rich-toolbar{flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;padding:0;gap:4px}.we-shared-formatting .krust-rich-toolbar>*{flex-shrink:0}.website-editor .we-format-arrow{display:block;flex:none;min-width:40px;min-height:40px;padding:4px;font-size:24px;line-height:1;border:1px solid #c9b9ca;border-radius:5px;background:white;color:#25364a}.we-shared-formatting.we-format-active{position:fixed;top:var(--we-toolbar-top,8px);left:8px;right:8px;width:auto;margin:0;z-index:100;box-shadow:0 4px 16px rgba(37,54,74,.18)}.krust-rich-input{scroll-margin-top:70px}}.we-image-choice{display:flex;flex-direction:column;align-items:center;gap:6px;padding:5px;background:white;border:1px solid #cbbdce;border-radius:8px;cursor:pointer}.we-image-choice span{font-size:12px}.website-editor .we-image-choice img{display:block;max-width:100%;height:auto}.we-banner-choice{max-width:220px}.website-editor .we-banner-choice img{width:200px}.we-image-library{width:min(800px,calc(100vw - 24px));max-height:85vh;overflow:auto;border:1px solid #cbbdce;border-radius:12px;padding:18px;color:#25364a;background:#fff}.we-image-library::backdrop{background:rgba(25,35,50,.5)}.we-library-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.we-library-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:16px 0}.we-library-grid button{display:flex;flex-direction:column;gap:6px;padding:6px;border:1px solid #dfd3df;background:white;border-radius:8px;min-width:0}.we-library-grid button[aria-current=true]{border:2px solid #25364a}.we-library-grid img{width:100%;height:110px;object-fit:contain}.we-library-grid span{font-size:12px;overflow-wrap:anywhere}.we-image-library input[type=file]{max-width:100%}@media(max-width:600px){.we-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.we-image-library{padding:12px}.we-library-grid img{height:130px}}.we-library-tile{position:relative;min-width:0}.we-library-tile>[data-library-image]{width:100%;height:100%}.we-library-grid .we-library-delete{position:absolute;top:4px;right:4px;display:grid;place-items:center;width:44px;height:44px;padding:9px;background:#fff;color:#7d2039;border:1px solid #cbbdce;box-shadow:0 1px 4px #0002}.we-library-delete svg{width:22px;height:22px}#weDeleteImageDialog{width:min(420px,calc(100vw - 24px))}#weDeleteConfirm{background:#7d2039;color:white;border-color:#7d2039}.we-library-progress{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);z-index:10;display:flex;align-items:center;gap:14px;width:min(340px,calc(100vw - 48px));padding:24px;background:white;border:2px solid #25364a;border-radius:12px;box-shadow:0 8px 40px #0004;font-weight:bold;color:#25364a}.we-library-spinner{width:28px;height:28px;flex:none;border:4px solid #e7dce7;border-top-color:#25364a;border-radius:50%;animation:we-library-spin .9s linear infinite}@keyframes we-library-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.we-library-spinner{animation:none}}#weImageLibrary[open]{display:flex;flex-direction:column;height:min(85vh,850px);height:min(85dvh,850px);max-height:85dvh;overflow:hidden;box-sizing:border-box}.we-library-fixed{flex:none}.we-library-fixed .we-library-heading{gap:8px;flex-wrap:wrap}.we-library-fixed h2{flex:1 1 130px;min-width:0;font-size:20px;margin:0}.we-library-fixed .we-toolbar{gap:6px;flex:none;margin-left:auto}.we-library-fixed>p{margin:8px 0}.we-library-fixed>label{margin:8px 0 4px}#weLibraryStatus{min-height:2.4em;font-weight:bold;line-height:1.2}#weLibraryScroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior-y:contain;touch-action:pan-y;padding:4px 4px 4px 0}#weLibraryGrid{margin:0 0 10px;align-content:start}@media(max-height:550px){.we-library-fixed>p,.we-library-fixed>label{margin:4px 0;font-size:13px}#weLibraryStatus{min-height:1.2em}.we-library-fixed h2{font-size:18px}}.we-library-status-row{display:flex;align-items:center;gap:10px;margin:8px 0}.we-library-status-row #weLibraryStatus{flex:1;min-width:0;margin:0;overflow-wrap:anywhere}.we-library-status-row #weLibraryRefresh{flex:none;margin-left:auto;white-space:nowrap}