*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
    :root{
      --bg:#f8f5f0;
      --card:#ffffff;
      --cream:#f2ede4;
      --border:#e4ddd2;
      --border2:#c8bfb0;
      --ink:#1a1714;
      --ink2:#7a7166;
      --gold:#9a7635;
      --gold2:#c49a45;
      --gold-bg:#fdf6e8;
      --success:#1b7a53;
      --r:16px;
      --sh:0 10px 30px rgba(0,0,0,.06),0 0 1px rgba(0,0,0,.08);
    }
    body{
      background:
        linear-gradient(180deg, rgba(234,204,128,.2) 0%, rgba(234,204,128,.1) 18%, rgba(234,204,128,0) 52%),
        linear-gradient(90deg, rgba(176,133,55,.16) 0%, rgba(176,133,55,0) 12%, rgba(176,133,55,0) 88%, rgba(176,133,55,.16) 100%),
        radial-gradient(circle at 0% 18%, rgba(158,116,46,.22), transparent 24%),
        radial-gradient(circle at 100% 18%, rgba(158,116,46,.2), transparent 24%),
        radial-gradient(circle at top left, rgba(196,154,69,.12), transparent 26%),
        radial-gradient(circle at top right, rgba(154,118,53,.08), transparent 20%),
        var(--bg);
      color:var(--ink);
      font-family:'Manrope',sans-serif;
      min-height:100vh;
      overflow-x:hidden;
    }
    header{
      width:min(1460px,100%);
      margin:0 auto;
      padding:10px 24px 2px;
      display:grid;
      grid-template-columns:minmax(0,1fr) auto;
      align-items:center;
      column-gap:24px;
    }
    .header-row{
      display:flex;
      align-items:center;
      justify-content:flex-start;
      gap:24px;
      min-height:64px;
      min-width:0;
    }
    .brand-lockup{
      display:flex;
      align-items:center;
      justify-content:flex-start;
      flex:1 1 auto;
      min-width:0;
    }
    .brand{
      display:flex;
      align-items:center;
      justify-content:flex-start;
      gap:14px;
      line-height:1;
      padding:4px 0;
    }
    .brand-mark{
      width:76px;
      height:58px;
      display:block;
      flex:0 0 auto;
      filter:drop-shadow(0 10px 20px rgba(201,160,75,.16));
    }
    .brand-wordmark{
      display:flex;
      align-items:flex-end;
      gap:2px;
    }
    .brand-name{
      font-family:'Manrope',sans-serif;
      font-size:44px;
      font-weight:700;
      letter-spacing:-.065em;
      color:#342817;
    }
    .brand-name-accent{
      color:#c79b45;
      text-shadow:0 1px 0 rgba(255,255,255,.45);
    }
    .header-nav{
      display:flex;
      justify-content:flex-end;
      align-items:center;
      gap:10px;
      flex-wrap:wrap;
      flex:0 0 auto;
      justify-self:end;
      align-self:center;
    }
    .header-tab{
      border:none;
      border-radius:999px;
      padding:11px 18px;
      background:rgba(255,255,255,.76);
      border:1px solid rgba(228,221,210,.95);
      color:var(--ink2);
      font:inherit;
      font-size:12px;
      font-weight:700;
      letter-spacing:.14em;
      text-transform:uppercase;
      cursor:pointer;
      transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease;
    }
    .header-tab:hover{
      transform:translateY(-1px);
      border-color:rgba(196,154,69,.5);
      color:var(--ink);
    }
    .header-tab.sel{
      background:linear-gradient(180deg,#fdf8ef 0%,#f2e7d2 100%);
      border-color:rgba(196,154,69,.72);
      color:#6f5218;
      box-shadow:0 10px 22px rgba(180,136,49,.14);
    }
    .app-view{
      opacity:0;
      transition:opacity .16s ease;
    }
    .app-view.is-active{
      opacity:1;
    }
    main{
      width:min(1460px,100%);
      margin:0 auto;
      padding:8px 24px 56px;
      display:grid;
      grid-template-columns:minmax(320px,380px) minmax(0,1fr);
      gap:28px;
      align-items:stretch;
      height:calc(100vh - 84px);
      overflow:hidden;
    }
    main > *{
      min-width:0;
    }
    .panel{
      background:rgba(255,255,255,.84);
      backdrop-filter:blur(10px);
      border:1px solid rgba(228,221,210,.85);
      border-radius:24px;
      box-shadow:var(--sh);
      padding:22px;
    }
    main>.panel{
      min-height:0;
      overflow-y:auto;
      overscroll-behavior:contain;
      scrollbar-gutter:stable;
      -ms-overflow-style:none;
      scrollbar-width:none;
      padding-bottom:28px;
      background:rgba(255,255,255,.95);
      backdrop-filter:none;
      contain:layout paint style;
    }
    html,
    body{
      -ms-overflow-style:none;
      scrollbar-width:none;
    }
    html::-webkit-scrollbar,
    body::-webkit-scrollbar,
    main>.panel::-webkit-scrollbar{
      display:none;
      width:0;
      height:0;
      background:transparent;
    }
    .panel-title{
      font-size:11px;
      letter-spacing:.18em;
      text-transform:uppercase;
      color:var(--ink2);
      margin-bottom:16px;
      display:flex;
      align-items:center;
      gap:10px;
    }
    .panel-title::after{
      content:'';
      flex:1;
      height:1px;
      background:var(--border);
    }
    .photo-frame{
      position:relative;
      width:100%;
      height:460px;
      border-radius:20px;
      overflow:hidden;
      background:var(--cream);
    }
    #drop-zone{
      position:absolute;
      inset:0;
      border:1.5px dashed var(--border2);
      border-radius:20px;
      background:var(--card);
      min-height:0;
      height:100%;
      display:flex;
      flex-direction:column;
      align-items:center;
      justify-content:center;
      gap:12px;
      text-align:center;
      padding:32px 24px;
      cursor:pointer;
      overflow:hidden;
      transition:border-color .18s ease,transform .18s ease,background .18s ease;
    }
    #drop-zone:hover,#drop-zone.drag{
      border-color:var(--gold);
      background:var(--gold-bg);
    }
    .drop-icon{
      width:62px;
      height:62px;
      border-radius:50%;
      border:1px solid var(--border);
      background:var(--cream);
      display:flex;
      align-items:center;
      justify-content:center;
      color:var(--ink2);
    }
    .drop-title{
      font-family:'Fraunces',serif;
      font-size:28px;
      letter-spacing:-.03em;
      width:100%;
      text-align:center;
    }
    .drop-copy{
      color:var(--ink2);
      max-width:250px;
      line-height:1.6;
      width:100%;
      text-align:center;
    }
    .stage{
      display:none;
      position:absolute;
      inset:0;
      min-height:0;
      height:100%;
      border-radius:20px;
      overflow:hidden;
      border:1px solid var(--border);
      background:var(--cream);
    }
    .stage img,
    .stage video,
    .stage canvas{
      position:absolute;
      inset:0;
      width:100%;
      height:100%;
      display:block;
      object-fit:cover;
      background:var(--cream);
      transition:filter .32s ease,transform .42s ease,opacity .35s ease;
    }
    #preview-img{object-fit:contain}
    .stage.processing #preview-img{
      filter:blur(18px) saturate(.84) brightness(.76);
      transform:scale(1.045);
    }
    #camera-video{
      transform:scaleX(-1);
      z-index:1;
      background:#000;
    }
    #camera-overlay{
      display:none;
      transform:scaleX(-1);
      z-index:2;
      pointer-events:none;
      background:transparent;
    }
    #camera-status{
      position:absolute;
      left:14px;
      right:14px;
      bottom:14px;
      padding:10px 12px;
      border-radius:12px;
      background:rgba(26,23,20,.72);
      color:#fffdf8;
      font-size:11px;
      letter-spacing:.08em;
      text-transform:uppercase;
      z-index:3;
    }
    .source-actions,
    .preview-actions,
    .result-actions{
      display:flex;
      flex-wrap:wrap;
      gap:10px;
      margin-top:14px;
    }
    .btn{
      border:none;
      border-radius:14px;
      padding:14px 18px;
      font-family:'Manrope',sans-serif;
      font-size:12px;
      font-weight:500;
      letter-spacing:.14em;
      text-transform:uppercase;
      cursor:pointer;
      transition:transform .18s ease,opacity .18s ease,background .18s ease,border-color .18s ease,color .18s ease;
      display:flex;
      align-items:center;
      justify-content:center;
      gap:8px;
    }
    .btn:hover:not(:disabled){transform:translateY(-1px)}
    .btn:disabled{opacity:.35;cursor:not-allowed}
    .btn-primary{
      background:var(--ink);
      color:#fffdf8;
      flex:1;
    }
    .btn-primary.loading{
      opacity:.75;
      cursor:wait;
      background:linear-gradient(90deg,#1a1714 0%,#3a3330 50%,#1a1714 100%);
      background-size:200% 100%;
      animation:shimmer 1.3s linear infinite;
    }
    .btn-secondary{
      background:var(--card);
      color:var(--ink);
      border:1.5px solid var(--border);
      flex:1;
    }
    #retry-btn{
      white-space:nowrap;
      min-height:50px;
    }
    .btn-secondary:hover:not(:disabled){
      border-color:var(--gold);
      background:var(--gold-bg);
      color:var(--gold);
    }
    .btn-store{
      background:linear-gradient(180deg,#fffdfa 0%,#f9f3ea 100%);
      color:var(--ink);
      border:1.5px solid rgba(200,191,176,.9);
      width:100%;
      box-shadow:0 8px 18px rgba(26,23,20,.05);
    }
    .btn-store:hover:not(:disabled){
      border-color:var(--gold);
      background:linear-gradient(180deg,#fffaf0 0%,#f6ead4 100%);
      color:var(--gold);
    }
    .btn-ghost{
      background:transparent;
      border:1.5px dashed var(--border2);
      color:var(--ink2);
      flex:1;
    }
    .btn-ghost:hover:not(:disabled){
      border-color:var(--gold);
      background:var(--gold-bg);
      color:var(--gold);
    }
    .preview-actions,
    .result-actions{display:none}
    .camera-only{display:none}
    .hint{
      margin-top:14px;
      color:var(--ink2);
      font-size:13px;
      line-height:1.6;
    }
    .bottom-webcam-cta{
      display:none;
      margin-top:16px;
    }
    .studio-cta{
      margin-top:16px;
      display:flex;
      flex-direction:column;
      gap:10px;
    }
    .studio-note{
      font-size:13px;
      color:var(--ink2);
      line-height:1.6;
    }
    .selection-summary{
      display:grid;
      gap:4px;
      padding:12px 14px;
      border-radius:16px;
      border:1px solid rgba(200,191,176,.72);
      background:rgba(255,255,255,.9);
    }
    .selection-summary span{
      font-size:11px;
      letter-spacing:.14em;
      text-transform:uppercase;
      color:var(--ink2);
    }
    .selection-summary strong{
      font-size:15px;
      font-weight:700;
      color:var(--ink);
    }
    .selection-summary em{
      font-style:normal;
      font-size:13px;
      color:var(--ink2);
      line-height:1.5;
    }
    .selection-link-row{
      display:none;
      gap:10px;
    }
    .studio-status{
      min-height:20px;
      font-size:12px;
      color:var(--gold);
      letter-spacing:.04em;
    }
    .run-feedback-card{
      position:absolute;
      inset:0;
      z-index:4;
      display:none;
      align-items:center;
      justify-content:center;
      padding:20px;
      background:linear-gradient(180deg,rgba(18,15,13,.18) 0%, rgba(18,15,13,.12) 100%);
      backdrop-filter:blur(18px) saturate(1.02);
      pointer-events:none;
    }
    .run-feedback-card.show{display:flex}
    .run-feedback-panel{
      width:min(320px,100%);
      padding:24px 22px 20px;
      border-radius:24px;
      border:1px solid rgba(236,227,214,.78);
      background:linear-gradient(180deg,rgba(255,253,249,.86) 0%, rgba(255,249,242,.76) 100%);
      box-shadow:0 20px 44px rgba(26,23,20,.12);
      display:flex;
      flex-direction:column;
      align-items:center;
      justify-content:center;
      text-align:center;
      gap:14px;
      animation:runFeedbackLift .38s ease forwards;
    }
    .run-feedback-spinner{
      width:58px;
      height:58px;
      border-radius:999px;
      display:grid;
      place-items:center;
      background:rgba(255,255,255,.74);
      border:1px solid rgba(224,214,199,.8);
      box-shadow:inset 0 1px 0 rgba(255,255,255,.68),0 10px 26px rgba(26,23,20,.08);
    }
    .run-feedback-spinner::before{
      content:'';
      width:30px;
      height:30px;
      border-radius:999px;
      border:2.5px solid rgba(196,154,69,.18);
      border-top-color:var(--gold);
      border-right-color:rgba(196,154,69,.6);
      animation:runFeedbackSpin .9s linear infinite;
    }
    .run-feedback-kicker{
      padding:6px 10px;
      border-radius:999px;
      border:1px solid rgba(199,166,102,.28);
      background:rgba(255,252,245,.82);
      color:#9b7331;
      font-size:10px;
      font-weight:700;
      letter-spacing:.18em;
      text-transform:uppercase;
    }
    .run-feedback-copy{
      font-family:'Fraunces',serif;
      font-size:26px;
      line-height:1.02;
      letter-spacing:-.04em;
      color:var(--ink);
    }
    .run-feedback-meta{
      max-width:240px;
      color:var(--ink2);
      font-size:13px;
      line-height:1.55;
      text-align:center;
    }
    @keyframes runFeedbackLift{
      from{opacity:.55; transform:translateY(14px)}
      to{opacity:1; transform:translateY(0)}
    }
    @keyframes runFeedbackSpin{
      to{transform:rotate(360deg)}
    }
    .fit-panel{
      margin-top:18px;
      padding:16px;
      border-radius:20px;
      background:linear-gradient(145deg,#fffdf9,#f5efe6);
      border:1px solid rgba(200,191,176,.78);
    }
    .fit-head{
      display:flex;
      align-items:flex-start;
      justify-content:space-between;
      gap:12px;
    }
    .fit-title{
      margin-top:6px;
      font-family:'Fraunces',serif;
      font-size:24px;
      line-height:1.05;
      letter-spacing:-.03em;
      font-weight:500;
    }
    .fit-badge{
      padding:7px 10px;
      border-radius:999px;
      border:1px solid rgba(196,154,69,.25);
      background:rgba(255,255,255,.82);
      color:var(--gold);
      font-size:10px;
      letter-spacing:.14em;
      text-transform:uppercase;
      white-space:nowrap;
    }
    .fit-field{
      display:block;
      margin-top:16px;
    }
    .fit-field span{
      display:block;
      margin-bottom:8px;
      font-size:11px;
      letter-spacing:.14em;
      text-transform:uppercase;
      color:var(--ink2);
    }
    .fit-input{
      width:100%;
      border:1.5px solid var(--border);
      border-radius:14px;
      padding:13px 14px;
      background:#fff;
      color:var(--ink);
      font:inherit;
    }
    .fit-input:focus{
      outline:none;
      border-color:var(--gold);
      box-shadow:0 0 0 3px rgba(196,154,69,.12);
    }
    .fit-preferences{
      margin-top:14px;
      display:grid;
      grid-template-columns:repeat(3,minmax(0,1fr));
      gap:8px;
    }
    .fit-choice{
      border:none;
      border-radius:14px;
      padding:11px 12px;
      background:#fff;
      border:1px solid var(--border);
      color:var(--ink2);
      font:inherit;
      font-size:12px;
      font-weight:600;
      cursor:pointer;
      transition:all .18s ease;
    }
    .fit-choice:hover{
      border-color:var(--gold);
      color:var(--gold);
      transform:translateY(-1px);
    }
    .fit-choice.sel{
      background:var(--gold-bg);
      border-color:var(--gold);
      color:var(--gold);
      box-shadow:0 0 0 2px rgba(196,154,69,.12);
    }
    .fit-note{
      margin-top:12px;
      font-size:12px;
      line-height:1.6;
      color:var(--ink2);
    }
    .fit-diagnostics{
      margin-top:14px;
      display:grid;
      gap:12px;
      padding:14px;
      border-radius:16px;
      border:1px solid rgba(208,196,176,.82);
      background:rgba(255,255,255,.72);
    }
    .fit-diagnostics[hidden]{
      display:none;
    }
    .fit-diagnostics-head{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:10px;
      flex-wrap:wrap;
    }
    .fit-diagnostics-head strong{
      font-size:14px;
      font-weight:700;
      color:var(--ink);
    }
    .fit-confidence-badge{
      display:inline-flex;
      align-items:center;
      gap:6px;
      padding:7px 10px;
      border-radius:999px;
      font-size:10px;
      letter-spacing:.14em;
      text-transform:uppercase;
      border:1px solid rgba(196,154,69,.25);
      color:var(--gold);
      background:rgba(255,249,239,.9);
    }
    .fit-confidence-badge.medium{
      color:#9a7230;
      background:rgba(255,246,230,.92);
      border-color:rgba(181,146,78,.28);
    }
    .fit-confidence-badge.low{
      color:#8e7a58;
      background:rgba(246,242,234,.92);
      border-color:rgba(182,169,144,.4);
    }
    .fit-diagnostic-chips{
      display:flex;
      flex-wrap:wrap;
      gap:8px;
    }
    .fit-chip{
      display:inline-flex;
      align-items:center;
      padding:7px 10px;
      border-radius:999px;
      border:1px solid rgba(208,196,176,.85);
      background:rgba(255,255,255,.9);
      color:var(--ink2);
      font-size:11px;
      letter-spacing:.08em;
      text-transform:uppercase;
    }
    .fit-diagnostics-copy{
      font-size:12px;
      line-height:1.65;
      color:var(--ink2);
    }
    .privacy-panel{
      margin-top:14px;
      padding:16px 16px 14px;
      border-radius:18px;
      border:1px solid rgba(208,196,176,.82);
      background:linear-gradient(180deg,rgba(255,255,255,.92),rgba(248,243,235,.88));
      display:grid;
      gap:12px;
    }
    .privacy-head{
      display:flex;
      align-items:flex-start;
      justify-content:space-between;
      gap:12px;
    }
    .privacy-title{
      margin:4px 0 0;
      font-family:'Fraunces',serif;
      font-size:22px;
      line-height:1.08;
      letter-spacing:-.03em;
      font-weight:500;
    }
    .privacy-note{
      margin:0;
      font-size:12px;
      line-height:1.65;
      color:var(--ink2);
    }
    .privacy-consent{
      display:grid;
      gap:10px;
      padding:12px 14px;
      border-radius:16px;
      border:1px solid rgba(219,208,190,.86);
      background:rgba(255,255,255,.88);
    }
    .privacy-checkbox{
      display:flex;
      align-items:flex-start;
      gap:10px;
      cursor:pointer;
      user-select:none;
    }
    .privacy-checkbox input{
      margin-top:2px;
      accent-color:#8d6b2f;
      width:16px;
      height:16px;
      flex:0 0 auto;
    }
    .privacy-checkbox strong{
      display:block;
      font-size:13px;
      line-height:1.5;
      color:var(--ink);
    }
    .privacy-checkbox span{
      display:block;
      margin-top:4px;
      font-size:12px;
      line-height:1.65;
      color:var(--ink2);
    }
    .privacy-meta{
      display:flex;
      flex-wrap:wrap;
      gap:8px;
    }
    .privacy-chip{
      display:inline-flex;
      align-items:center;
      padding:7px 10px;
      border-radius:999px;
      background:rgba(250,245,236,.94);
      border:1px solid rgba(221,211,194,.9);
      color:#8d6b2f;
      font-size:10px;
      font-weight:700;
      letter-spacing:.14em;
      text-transform:uppercase;
    }
    .privacy-actions{
      display:flex;
      flex-wrap:wrap;
      gap:8px;
    }
    .privacy-status{
      margin:0;
      font-size:12px;
      line-height:1.65;
      color:var(--ink2);
    }
    body.modal-open{
      overflow:hidden;
    }
    .consent-modal{
      position:fixed;
      inset:0;
      display:none;
      align-items:center;
      justify-content:center;
      padding:24px;
      background:rgba(28,22,14,.28);
      backdrop-filter:blur(10px);
      z-index:90;
    }
    .consent-modal.is-open{
      display:flex;
    }
    .consent-modal-card{
      width:min(560px,100%);
      padding:22px;
      border-radius:26px;
      border:1px solid rgba(214,200,178,.9);
      background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(250,245,236,.96));
      box-shadow:0 28px 70px rgba(56,39,12,.18);
      display:grid;
      gap:14px;
    }
    .consent-modal-title{
      margin:2px 0 0;
      font-family:'Fraunces',serif;
      font-size:34px;
      line-height:1.02;
      letter-spacing:-.04em;
      font-weight:500;
    }
    .consent-modal-copy{
      margin:0;
      font-size:15px;
      line-height:1.75;
      color:var(--ink2);
    }
    .consent-modal-meta{
      margin-top:2px;
    }
    .consent-modal-actions{
      display:flex;
      justify-content:flex-end;
      gap:10px;
      flex-wrap:wrap;
    }
    .consent-modal-actions .btn{
      min-width:150px;
    }
    .catalog-grid{
      display:grid;
      grid-template-columns:repeat(2,minmax(0,1fr));
      gap:12px;
    }
    .preset-grid{
      display:grid;
      grid-template-columns:repeat(4,minmax(0,1fr));
      gap:12px;
    }
    .market-panel{
      display:flex;
      flex-direction:column;
      gap:20px;
    }
    .market-panel > .upload-box{
      order:3;
      margin-top:2px;
    }
    .dashboard-shell{
      width:min(1460px,100%);
      margin:0 auto;
      padding:8px 24px 56px;
      display:flex;
      flex-direction:column;
      gap:18px;
    }
    .dashboard-shell .panel{
      border-radius:18px;
      backdrop-filter:blur(8px);
    }
    .dashboard-hero{
      display:grid;
      grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);
      gap:20px;
      align-items:end;
    }
    .dashboard-title{
      font-family:'Fraunces',serif;
      font-size:38px;
      line-height:1.05;
      letter-spacing:-.04em;
      margin-top:12px;
    }
    .dashboard-copy{
      margin-top:12px;
      color:var(--ink2);
      line-height:1.7;
      max-width:640px;
    }
    .dashboard-toolbar{
      display:grid;
      grid-template-columns:minmax(0,1fr) 180px auto;
      gap:14px;
      align-items:end;
    }
    .dashboard-filter-block{
      display:flex;
      flex-direction:column;
      gap:10px;
    }
    .dashboard-filter-label{
      font-size:11px;
      letter-spacing:.18em;
      text-transform:uppercase;
      color:var(--ink2);
    }
    .dashboard-provider-chips{
      display:flex;
      flex-wrap:wrap;
      gap:8px;
    }
    .dashboard-chip{
      border:none;
      border-radius:999px;
      padding:10px 14px;
      background:rgba(255,255,255,.86);
      border:1px solid var(--border);
      color:var(--ink2);
      font:inherit;
      font-size:12px;
      font-weight:700;
      cursor:pointer;
      transition:border-color .18s ease,background .18s ease,color .18s ease,transform .18s ease;
    }
    .dashboard-chip:hover{
      transform:translateY(-1px);
      border-color:rgba(196,154,69,.44);
      color:var(--ink);
    }
    .dashboard-chip.sel{
      background:var(--gold-bg);
      border-color:rgba(196,154,69,.64);
      color:var(--gold);
    }
    .dashboard-range{
      display:flex;
      flex-direction:column;
      gap:10px;
    }
    .dashboard-select{
      min-height:46px;
      border-radius:14px;
      border:1px solid var(--border);
      background:rgba(255,255,255,.92);
      color:var(--ink);
      font:inherit;
      padding:0 14px;
    }
    .dashboard-kpis{
      display:grid;
      grid-template-columns:repeat(5,minmax(0,1fr));
      gap:16px;
    }
    .dashboard-kpi{
      background:rgba(255,255,255,.9);
      border:1px solid rgba(228,221,210,.9);
      border-radius:16px;
      padding:17px;
      box-shadow:0 8px 22px rgba(0,0,0,.04);
      content-visibility:auto;
      contain-intrinsic-size:160px;
    }
    .dashboard-kpi-label{
      font-size:11px;
      letter-spacing:.16em;
      text-transform:uppercase;
      color:var(--ink2);
    }
    .dashboard-kpi-value{
      margin-top:10px;
      font-family:'Fraunces',serif;
      font-size:34px;
      letter-spacing:-.04em;
    }
    .dashboard-kpi-meta{
      margin-top:8px;
      color:var(--ink2);
      font-size:13px;
      line-height:1.5;
    }
    .dashboard-grid{
      display:grid;
      grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr);
      gap:20px;
    }
    .dashboard-card{
      padding:20px;
      content-visibility:auto;
      contain-intrinsic-size:240px;
    }
    .dashboard-funnel{
      display:grid;
      gap:12px;
      margin-top:16px;
    }
    .dashboard-step{
      display:grid;
      grid-template-columns:170px minmax(0,1fr) auto;
      gap:12px;
      align-items:center;
    }
    .dashboard-step-label{
      font-size:14px;
      font-weight:700;
      color:var(--ink);
    }
    .dashboard-step-bar{
      position:relative;
      height:12px;
      border-radius:999px;
      background:rgba(228,221,210,.72);
      overflow:hidden;
    }
    .dashboard-step-fill{
      position:absolute;
      inset:0 auto 0 0;
      width:0;
      border-radius:inherit;
      background:linear-gradient(90deg,#c49a45 0%,#f0d08a 100%);
    }
    .dashboard-step-value{
      font-size:13px;
      font-weight:700;
      color:var(--ink2);
      min-width:48px;
      text-align:right;
    }
    .dashboard-insights{
      display:grid;
      gap:12px;
      margin-top:16px;
    }
    .dashboard-insight{
      border-radius:13px;
      padding:14px 16px;
      background:rgba(249,243,234,.95);
      border:1px solid rgba(200,191,176,.78);
      color:var(--ink);
      line-height:1.65;
    }
    .dashboard-provider-grid{
      display:grid;
      grid-template-columns:repeat(3,minmax(0,1fr));
      gap:14px;
      margin-top:16px;
    }
    .dashboard-provider-card{
      border-radius:15px;
      border:1px solid rgba(228,221,210,.92);
      background:rgba(255,255,255,.92);
      padding:16px;
      display:grid;
      gap:10px;
    }
    .dashboard-provider-card strong{
      font-size:16px;
    }
    .dashboard-provider-stats{
      display:grid;
      grid-template-columns:repeat(2,minmax(0,1fr));
      gap:10px;
    }
    .dashboard-mini-stat{
      border-radius:12px;
      background:var(--gold-bg);
      border:1px solid rgba(196,154,69,.2);
      padding:10px 12px;
    }
    .dashboard-mini-label{
      font-size:10px;
      letter-spacing:.14em;
      text-transform:uppercase;
      color:var(--ink2);
    }
    .dashboard-mini-value{
      margin-top:8px;
      font-size:18px;
      font-weight:700;
      color:var(--ink);
    }
    .dashboard-breakdown{
      display:grid;
      gap:12px;
      margin-top:16px;
    }
    .dashboard-breakdown-row{
      display:grid;
      grid-template-columns:120px minmax(0,1fr) auto;
      gap:12px;
      align-items:center;
    }
    .dashboard-breakdown-label{
      font-size:13px;
      color:var(--ink);
      font-weight:700;
    }
    .dashboard-breakdown-bar{
      height:10px;
      border-radius:999px;
      background:rgba(228,221,210,.72);
      overflow:hidden;
      position:relative;
    }
    .dashboard-breakdown-fill{
      position:absolute;
      inset:0 auto 0 0;
      width:0;
      border-radius:inherit;
      background:linear-gradient(90deg,#1a1714 0%,#8d6b2f 100%);
    }
    .dashboard-breakdown-value{
      font-size:12px;
      color:var(--ink2);
      font-weight:700;
      min-width:42px;
      text-align:right;
    }
    .dashboard-split{
      display:grid;
      grid-template-columns:repeat(2,minmax(0,1fr));
      gap:16px;
    }
    .dashboard-list{
      display:grid;
      gap:12px;
      margin-top:16px;
    }
    .dashboard-product{
      display:grid;
      grid-template-columns:minmax(0,1fr) auto;
      gap:14px;
      padding:16px 18px;
      border-radius:15px;
      border:1px solid rgba(228,221,210,.9);
      background:rgba(255,255,255,.92);
      align-items:center;
    }
    .dashboard-product-head{
      display:grid;
      gap:6px;
    }
    .dashboard-product-head strong{
      font-size:16px;
      line-height:1.4;
    }
    .dashboard-product-meta{
      color:var(--ink2);
      font-size:13px;
      line-height:1.6;
    }
    .dashboard-product-stats{
      display:flex;
      flex-wrap:wrap;
      justify-content:flex-end;
      gap:10px;
    }
    .dashboard-pill{
      padding:8px 10px;
      border-radius:999px;
      background:var(--gold-bg);
      border:1px solid rgba(196,154,69,.24);
      color:var(--gold);
      font-size:11px;
      font-weight:700;
      letter-spacing:.08em;
      text-transform:uppercase;
    }
    .dashboard-activity{
      display:grid;
      gap:12px;
      margin-top:16px;
    }
    .dashboard-activity-item{
      display:grid;
      grid-template-columns:12px minmax(0,1fr) auto;
      gap:12px;
      align-items:start;
      padding:4px 0;
    }
    .dashboard-activity-dot{
      width:12px;
      height:12px;
      border-radius:50%;
      margin-top:4px;
      background:rgba(196,154,69,.86);
      box-shadow:0 0 0 6px rgba(196,154,69,.12);
    }
    .dashboard-activity-dot.error{
      background:#bb5848;
      box-shadow:0 0 0 6px rgba(187,88,72,.12);
    }
    .dashboard-activity-dot.info{
      background:#1b7a53;
      box-shadow:0 0 0 6px rgba(27,122,83,.12);
    }
    .dashboard-activity-title{
      font-size:14px;
      font-weight:700;
      color:var(--ink);
      line-height:1.5;
    }
    .dashboard-activity-meta{
      margin-top:4px;
      color:var(--ink2);
      line-height:1.6;
      font-size:13px;
    }
    .dashboard-activity-time{
      font-size:12px;
      color:var(--ink2);
      white-space:nowrap;
    }
    .dashboard-empty{
      margin-top:16px;
      border-radius:15px;
      border:1px dashed rgba(200,191,176,.9);
      background:rgba(253,246,232,.72);
      color:var(--ink2);
      padding:18px;
      line-height:1.7;
    }
    .dashboard-status-line{
      margin-top:10px;
      font-size:12px;
      color:var(--ink2);
    }
    .dashboard-auth-card{
      max-width:720px;
      margin:0 auto;
      padding:28px;
    }
    .dashboard-auth-title{
      margin-top:10px;
      font-family:'Fraunces',serif;
      font-size:34px;
      line-height:1.08;
      letter-spacing:-.04em;
    }
    .dashboard-auth-copy{
      margin-top:12px;
      color:var(--ink2);
      line-height:1.7;
      max-width:560px;
    }
    .dashboard-auth-grid{
      display:grid;
      grid-template-columns:repeat(2,minmax(0,1fr));
      gap:14px;
      margin-top:20px;
    }
    .dashboard-auth-field{
      display:flex;
      flex-direction:column;
      gap:8px;
    }
    .dashboard-password-wrap{
      position:relative;
      display:flex;
      align-items:center;
    }
    .dashboard-auth-field span{
      font-size:11px;
      letter-spacing:.18em;
      text-transform:uppercase;
      color:var(--ink2);
    }
    .dashboard-auth-input{
      min-height:48px;
      border-radius:14px;
      border:1px solid var(--border);
      background:rgba(255,255,255,.94);
      padding:0 14px;
      color:var(--ink);
      font:inherit;
    }
    .dashboard-password-input{
      padding-right:52px;
      width:100%;
    }
    .dashboard-password-toggle{
      position:absolute;
      right:10px;
      top:50%;
      transform:translateY(-50%);
      width:34px;
      height:34px;
      border:none;
      border-radius:50%;
      background:transparent;
      color:var(--ink2);
      cursor:pointer;
      display:flex;
      align-items:center;
      justify-content:center;
      transition:background .18s ease,color .18s ease;
    }
    .dashboard-password-toggle:hover{
      background:rgba(242,237,228,.92);
      color:var(--ink);
    }
    .dashboard-auth-actions{
      display:flex;
      gap:12px;
      margin-top:16px;
      align-items:center;
      flex-wrap:wrap;
    }
    .dashboard-auth-status{
      color:var(--ink2);
      font-size:13px;
      line-height:1.6;
    }
    .dashboard-session-bar{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:14px;
      padding:14px 18px;
      border-radius:18px;
      border:1px solid rgba(228,221,210,.9);
      background:rgba(255,255,255,.9);
    }
    .dashboard-session-copy{
      display:grid;
      gap:4px;
    }
    .dashboard-session-copy strong{
      font-size:16px;
    }
    .dashboard-session-copy span{
      color:var(--ink2);
      font-size:13px;
      line-height:1.5;
    }
    .dashboard-session-actions{
      display:flex;
      gap:10px;
      flex-wrap:wrap;
    }
    .dashboard-conversion-grid{
      display:grid;
      grid-template-columns:repeat(4,minmax(0,1fr));
      gap:12px;
      margin-top:16px;
    }
    .dashboard-conversion-grid .dashboard-auth-field:last-child{
      grid-column:span 4;
    }
    .dashboard-shell{
      width:min(1480px,100%);
      gap:16px;
      padding:24px 24px 68px;
      background:rgba(255,255,255,.72);
      border:1px solid rgba(224,214,197,.78);
      border-radius:18px;
      box-shadow:0 14px 32px rgba(31,24,17,.04);
      overflow:hidden;
    }
    .dashboard-shell.is-auth-only{
      background:transparent;
      border:none;
      box-shadow:none;
      border-radius:0;
      overflow:visible;
      padding:18px 24px 44px;
      min-height:auto;
    }
    .dashboard-shell.is-auth-only .dashboard-auth-card{
      margin:8px auto 0;
    }
    #dashboard-secure-content{
      display:grid;
      gap:12px;
      padding:0;
      border:none;
      background:transparent;
      box-shadow:none;
      overflow:visible;
    }
    .dashboard-shell .panel{
      border-radius:10px;
      backdrop-filter:none;
      background:rgba(255,255,255,.93);
      border:1px solid rgba(224,214,197,.92);
      box-shadow:0 10px 24px rgba(31,24,17,.045);
      overflow:hidden;
    }
    .dashboard-overview{
      position:relative;
      overflow:hidden;
      padding:24px;
      grid-template-columns:minmax(0,1.16fr) minmax(340px,.84fr);
      align-items:start;
      gap:16px;
    }
    .dashboard-overview .panel-title{
      color:#755112;
      font-weight:800;
      opacity:1;
      margin:2px 0 14px;
      position:relative;
      z-index:1;
      text-shadow:0 1px 0 rgba(255,255,255,.82);
    }
    .dashboard-overview .panel-title::after{
      background:rgba(181,148,80,.78);
    }
    .dashboard-overview::before{
      content:'';
      position:absolute;
      inset:0 0 auto 0;
      height:72px;
      background:
        radial-gradient(circle at top left, rgba(255,244,217,.9), transparent 54%),
        linear-gradient(180deg, rgba(237,221,182,.28), transparent);
      pointer-events:none;
    }
    .dashboard-title{
      font-family:'Manrope',sans-serif;
      font-size:34px;
      font-weight:800;
      line-height:1.02;
      letter-spacing:-.055em;
      margin-top:6px;
      position:relative;
      z-index:1;
    }
    .dashboard-copy{
      margin-top:10px;
      color:var(--ink2);
      line-height:1.65;
      font-size:14px;
      max-width:58ch;
      position:relative;
      z-index:1;
    }
    .dashboard-status-line{
      display:inline-flex;
      align-items:center;
      gap:8px;
      margin-top:12px;
      padding:8px 12px;
      border-radius:999px;
      background:rgba(250,244,233,.94);
      border:1px solid rgba(220,203,170,.72);
      color:var(--ink2);
      font-size:12px;
      letter-spacing:.03em;
      position:relative;
      z-index:1;
    }
    .dashboard-toolbar{
      grid-template-columns:minmax(0,1fr) 156px auto;
      gap:10px;
      align-self:stretch;
      padding:14px;
      border:1px solid rgba(228,221,210,.9);
      border-radius:12px;
      background:linear-gradient(180deg,rgba(255,255,255,.97),rgba(250,246,239,.95));
      box-shadow:inset 0 1px 0 rgba(255,255,255,.88);
      position:relative;
      z-index:1;
    }
    .dashboard-filter-block,
    .dashboard-range{
      gap:8px;
    }
    .dashboard-filter-label{
      font-size:10px;
      letter-spacing:.22em;
      text-transform:uppercase;
      color:var(--ink2);
      font-weight:700;
    }
    .dashboard-provider-chips{
      gap:10px;
    }
    .dashboard-chip{
      min-height:42px;
      padding:10px 14px;
      border-radius:12px;
      background:rgba(255,255,255,.95);
      border:1px solid rgba(224,214,197,.92);
      color:var(--ink2);
      font-size:12px;
      font-weight:700;
      box-shadow:inset 0 1px 0 rgba(255,255,255,.9);
    }
    .dashboard-chip:hover{
      transform:translateY(-1px);
      border-color:rgba(196,154,69,.5);
      color:var(--ink);
      box-shadow:0 8px 18px rgba(31,24,17,.06);
    }
    .dashboard-chip.sel{
      background:linear-gradient(180deg,rgba(253,247,237,.98),rgba(247,237,216,.96));
      border-color:rgba(196,154,69,.68);
      color:#8d6b2f;
      box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 0 0 1px rgba(196,154,69,.12);
    }
    .dashboard-select,
    .dashboard-auth-input{
      min-height:46px;
      border-radius:12px;
      border:1px solid rgba(220,211,196,.94);
      background:rgba(255,255,255,.96);
      color:var(--ink);
      font:inherit;
      box-shadow:inset 0 1px 0 rgba(255,255,255,.82);
    }
    .dashboard-kpis{
      grid-template-columns:repeat(5,minmax(0,1fr));
      gap:14px;
    }
    .dashboard-exec-grid{
      display:grid;
      grid-template-columns:minmax(0,1.24fr) minmax(300px,.76fr);
      gap:12px;
    }
    .dashboard-exec-headline{
      margin:0;
      font-family:'Manrope',sans-serif;
      font-size:28px;
      line-height:1.14;
      letter-spacing:-.04em;
      font-weight:800;
    }
    .dashboard-exec-points{
      display:grid;
      gap:12px;
      margin-top:18px;
    }
    .dashboard-exec-point{
      margin:0;
      padding-left:14px;
      border-left:3px solid rgba(196,154,69,.68);
      color:var(--ink2);
      line-height:1.75;
    }
    .dashboard-exec-priority{
      margin-top:18px;
      padding:14px 16px;
      border-radius:10px;
      background:linear-gradient(180deg,rgba(252,247,239,.96),rgba(248,242,232,.92));
      border:1px solid rgba(226,214,194,.92);
    }
    .dashboard-exec-priority strong{
      display:block;
      margin-bottom:6px;
      font-size:12px;
      letter-spacing:.18em;
      text-transform:uppercase;
      color:#8d6b2f;
    }
    .dashboard-exec-priority span{
      display:block;
      font-size:14px;
      line-height:1.7;
      color:var(--ink);
    }
    .dashboard-export-card{
      display:grid;
      align-content:start;
      gap:16px;
    }
    .dashboard-export-actions{
      display:flex;
      flex-wrap:wrap;
      gap:8px;
    }
    .dashboard-export-status{
      margin:0;
      font-size:13px;
      color:var(--ink2);
      line-height:1.65;
    }
    .dashboard-kpi{
      position:relative;
      overflow:hidden;
      border-radius:10px;
      padding:18px 18px 16px;
      background:linear-gradient(180deg,rgba(255,255,255,.97),rgba(248,244,237,.94));
      border:1px solid rgba(228,221,210,.92);
      box-shadow:0 10px 22px rgba(31,24,17,.04);
      contain-intrinsic-size:170px;
    }
    .dashboard-kpi::before{
      content:'';
      position:absolute;
      inset:0 0 auto 0;
      height:3px;
      background:linear-gradient(90deg,#c49a45 0%,#f1d594 100%);
      opacity:.95;
    }
    .dashboard-kpi-label{
      font-size:10px;
      letter-spacing:.22em;
      text-transform:uppercase;
      color:var(--ink2);
      font-weight:700;
    }
    .dashboard-kpi-value{
      margin-top:12px;
      font-family:'Manrope',sans-serif;
      font-size:32px;
      font-weight:800;
      letter-spacing:-.055em;
    }
    .dashboard-kpi-meta{
      margin-top:8px;
      color:var(--ink2);
      font-size:12px;
      line-height:1.65;
    }
    .dashboard-ops-grid,
    .dashboard-grid,
    .dashboard-lower-grid{
      display:grid;
      gap:12px;
    }
    .dashboard-ops-grid{
      grid-template-columns:1fr;
      align-items:start;
    }
    .dashboard-grid{
      grid-template-columns:minmax(0,1.08fr) minmax(320px,.92fr);
    }
    .dashboard-lower-grid{
      grid-template-columns:minmax(0,1.12fr) minmax(340px,.88fr);
    }
    .dashboard-grid > .panel,
    .dashboard-lower-grid > .panel,
    .dashboard-ops-grid > .panel{
      min-width:0;
      align-self:stretch;
    }
    .dashboard-card{
      padding:20px;
      border-radius:10px;
      border:1px solid rgba(228,221,210,.9);
      background:rgba(255,255,255,.95);
      box-shadow:0 12px 24px rgba(31,24,17,.04);
      content-visibility:auto;
      contain-intrinsic-size:220px;
      overflow:hidden;
    }
    .dashboard-shell .section-head{
      display:flex;
      align-items:flex-end;
      justify-content:space-between;
      gap:14px;
      margin-bottom:18px;
      padding-bottom:14px;
      border-bottom:1px solid rgba(231,223,211,.9);
    }
    .dashboard-shell .search-title{
      margin:0 0 6px;
      font-size:10px;
      letter-spacing:.24em;
      text-transform:uppercase;
      color:#8d6b2f;
      font-weight:700;
      font-family:'Manrope',sans-serif;
    }
    .dashboard-shell .section-title{
      margin:0;
      font-family:'Manrope',sans-serif;
      font-size:22px;
      line-height:1.14;
      letter-spacing:-.035em;
      font-weight:800;
    }
    .dashboard-funnel,
    .dashboard-insights,
    .dashboard-provider-grid,
    .dashboard-breakdown,
    .dashboard-list,
    .dashboard-activity{
      margin-top:0;
    }
    .dashboard-funnel{
      gap:14px;
    }
    .dashboard-step{
      grid-template-columns:150px minmax(0,1fr) auto;
      gap:14px;
    }
    .dashboard-step-label,
    .dashboard-breakdown-label{
      font-size:13px;
      font-weight:700;
    }
    .dashboard-step-bar,
    .dashboard-breakdown-bar{
      height:10px;
      border-radius:999px;
      background:rgba(230,221,208,.78);
    }
    .dashboard-insight{
      border:none;
      border-left:3px solid rgba(196,154,69,.72);
      border-radius:0;
      padding:4px 0 4px 16px;
      background:transparent;
      line-height:1.7;
    }
    .dashboard-provider-grid{
      grid-template-columns:repeat(3,minmax(0,1fr));
      gap:12px;
    }
    .dashboard-provider-card{
      border-radius:10px;
      border:1px solid rgba(228,221,210,.92);
      background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(249,245,238,.93));
      padding:18px;
      gap:12px;
    }
    .dashboard-provider-card strong{
      font-size:15px;
      letter-spacing:-.02em;
    }
    .dashboard-provider-stats{
      gap:8px;
    }
    .dashboard-mini-stat{
      border-radius:8px;
      background:rgba(249,245,237,.95);
      border:1px solid rgba(221,211,194,.85);
      padding:10px 12px;
    }
    .dashboard-mini-label{
      font-size:9px;
      letter-spacing:.18em;
      font-weight:700;
    }
    .dashboard-mini-value{
      margin-top:6px;
      font-size:18px;
      font-weight:800;
    }
    .dashboard-breakdown{
      gap:10px;
    }
    .dashboard-breakdown-row{
      grid-template-columns:110px minmax(0,1fr) auto;
      gap:10px;
    }
    .dashboard-split{
      gap:18px;
      align-items:start;
    }
    .dashboard-split > div{
      min-width:0;
      padding-right:2px;
    }
    .dashboard-product{
      grid-template-columns:minmax(0,1fr) auto;
      gap:16px;
      padding:16px 0;
      border:none;
      border-bottom:1px solid rgba(231,223,211,.88);
      border-radius:0;
      background:transparent;
      align-items:center;
    }
    .dashboard-list .dashboard-product:last-child{
      border-bottom:none;
      padding-bottom:0;
    }
    .dashboard-product-head{
      gap:6px;
    }
    .dashboard-product-head strong{
      font-size:15px;
      line-height:1.45;
    }
    .dashboard-product-meta{
      font-size:13px;
      line-height:1.6;
    }
    .dashboard-product-stats{
      justify-content:flex-start;
      gap:8px;
    }
    .dashboard-pill{
      padding:8px 10px;
      border-radius:999px;
      background:rgba(248,243,235,.94);
      border:1px solid rgba(221,211,194,.9);
      color:#8d6b2f;
      font-size:10px;
      font-weight:700;
      letter-spacing:.14em;
    }
    .dashboard-activity{
      gap:0;
      min-width:0;
    }
    .dashboard-activity-item{
      grid-template-columns:12px minmax(0,1fr) auto;
      gap:12px;
      align-items:center;
      padding:14px 0;
      border-bottom:1px solid rgba(231,223,211,.88);
    }
    .dashboard-activity .dashboard-activity-item:last-child{
      border-bottom:none;
      padding-bottom:0;
    }
    .dashboard-activity-dot{
      box-shadow:none;
    }
    .dashboard-activity-time{
      font-size:12px;
      color:var(--ink2);
      white-space:nowrap;
    }
    .dashboard-empty{
      margin-top:0;
      border-radius:10px;
      border:1px dashed rgba(206,194,174,.9);
      background:rgba(252,247,239,.82);
      padding:16px;
      line-height:1.75;
    }
    .dashboard-auth-card{
      max-width:760px;
      padding:30px;
      border-radius:10px;
    }
    .dashboard-auth-title{
      margin-top:12px;
      font-family:'Manrope',sans-serif;
      font-size:38px;
      font-weight:800;
      line-height:1.03;
      letter-spacing:-.055em;
    }
    .dashboard-auth-copy{
      margin-top:12px;
      font-size:15px;
      line-height:1.75;
      max-width:60ch;
    }
    .dashboard-auth-actions{
      margin-top:18px;
    }
    .dashboard-session-bar{
      display:flex;
      align-items:center;
      justify-content:space-between;
      flex-wrap:wrap;
      align-self:start;
      gap:14px;
      padding:14px 18px;
      min-height:0;
      border-radius:12px;
      background:linear-gradient(180deg,rgba(253,248,240,.98),rgba(247,240,228,.94));
      border-color:rgba(220,205,174,.92);
    }
    .dashboard-session-copy{
      display:grid;
      gap:4px;
      min-width:0;
    }
    .dashboard-session-copy strong{
      font-size:11px;
      letter-spacing:.22em;
      text-transform:uppercase;
      color:#8d6b2f;
    }
    .dashboard-session-copy span{
      font-size:13px;
      line-height:1.6;
      color:var(--ink2);
    }
    .dashboard-session-actions{
      display:flex;
      flex-wrap:wrap;
      gap:8px;
    }
    .dashboard-conversion-card{
      padding-top:20px;
    }
    .dashboard-conversion-grid{
      grid-template-columns:repeat(5,minmax(0,1fr));
      gap:12px;
    }
    .dashboard-conversion-grid .dashboard-auth-field:last-child{
      grid-column:span 5;
    }
    .dashboard-onboarding-card{
      grid-column:1 / -1;
    }
    .dashboard-onboarding-toolbar{
      display:grid;
      grid-template-columns:minmax(0,1fr) auto auto;
      gap:12px;
      align-items:end;
      margin-bottom:16px;
    }
    .dashboard-onboarding-file{
      display:grid;
      gap:8px;
    }
    .dashboard-onboarding-file-name{
      font-size:13px;
      color:var(--ink2);
      line-height:1.55;
    }
    .dashboard-onboarding-actions{
      display:flex;
      gap:8px;
      flex-wrap:wrap;
      align-items:center;
    }
    .dashboard-onboarding-note{
      font-size:12px;
      color:var(--ink2);
      line-height:1.6;
    }
    .dashboard-checkbox{
      display:inline-flex;
      align-items:center;
      gap:8px;
      font-size:13px;
      color:var(--ink2);
      cursor:pointer;
      user-select:none;
    }
    .dashboard-checkbox input{
      accent-color:#8d6b2f;
    }
    .dashboard-onboarding-stats{
      display:grid;
      grid-template-columns:repeat(6,minmax(0,1fr));
      gap:12px;
      margin-top:12px;
    }
    .dashboard-onboarding-stat{
      border-radius:10px;
      border:1px solid rgba(228,221,210,.92);
      background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(249,245,238,.93));
      padding:14px;
    }
    .dashboard-onboarding-stat strong{
      display:block;
      margin-top:8px;
      font-size:24px;
      letter-spacing:-.04em;
    }
    .dashboard-onboarding-list{
      display:grid;
      grid-template-columns:repeat(3,minmax(0,1fr));
      gap:12px;
      margin-top:16px;
    }
    .dashboard-onboarding-item{
      display:grid;
      gap:12px;
      padding:14px;
      border-radius:10px;
      border:1px solid rgba(228,221,210,.92);
      background:rgba(255,255,255,.96);
    }
    .dashboard-onboarding-preview{
      display:flex;
      align-items:center;
      justify-content:center;
      min-height:132px;
      padding:10px;
      border-radius:10px;
      border:1px solid rgba(231,223,211,.92);
      background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(250,246,239,.95));
      overflow:hidden;
    }
    .dashboard-onboarding-preview img{
      width:100%;
      height:110px;
      object-fit:contain;
      display:block;
    }
    .dashboard-onboarding-item-head{
      display:grid;
      gap:6px;
    }
    .dashboard-onboarding-item-head strong{
      font-size:15px;
      line-height:1.45;
    }
    .dashboard-onboarding-item-meta{
      font-size:13px;
      color:var(--ink2);
      line-height:1.6;
    }
    .dashboard-onboarding-badges{
      display:flex;
      flex-wrap:wrap;
      gap:6px;
    }
    .dashboard-onboarding-badge{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      padding:7px 10px;
      border-radius:999px;
      border:1px solid rgba(221,211,194,.9);
      font-size:10px;
      letter-spacing:.12em;
      text-transform:uppercase;
      font-weight:700;
    }
    .dashboard-onboarding-badge.ready{
      color:#2f6a50;
      background:rgba(234,246,239,.92);
      border-color:rgba(172,206,185,.9);
    }
    .dashboard-onboarding-badge.review{
      color:#8d6b2f;
      background:rgba(252,245,229,.96);
      border-color:rgba(221,203,164,.92);
    }
    .dashboard-onboarding-badge.blocked{
      color:#8a3a31;
      background:rgba(251,236,233,.96);
      border-color:rgba(226,186,178,.92);
    }
    .dashboard-onboarding-issues{
      margin:0;
      padding-left:18px;
      font-size:12px;
      line-height:1.7;
      color:var(--ink2);
    }
    .dashboard-integration-box{
      margin-top:18px;
      padding-top:18px;
      border-top:1px solid rgba(223,212,194,.9);
      display:grid;
      gap:14px;
    }
    .dashboard-governance-grid{
      display:grid;
      grid-template-columns:minmax(0,1.04fr) minmax(320px,.96fr);
      gap:18px;
    }
    .dashboard-governance-copy{
      margin:0;
      font-size:14px;
      line-height:1.7;
      color:var(--ink2);
    }
    .dashboard-governance-retention{
      display:flex;
      flex-wrap:wrap;
      gap:8px;
      margin-top:14px;
    }
    .dashboard-governance-chip{
      display:inline-flex;
      align-items:center;
      padding:8px 10px;
      border-radius:999px;
      border:1px solid rgba(221,211,194,.9);
      background:rgba(248,243,235,.94);
      color:#8d6b2f;
      font-size:10px;
      font-weight:700;
      letter-spacing:.14em;
      text-transform:uppercase;
    }
    .dashboard-audit-list{
      display:grid;
      gap:0;
      min-width:0;
    }
    .dashboard-audit-item{
      display:grid;
      grid-template-columns:minmax(0,1fr) auto;
      gap:12px;
      padding:14px 0;
      border-bottom:1px solid rgba(231,223,211,.88);
      align-items:start;
    }
    .dashboard-audit-list .dashboard-audit-item:last-child{
      border-bottom:none;
      padding-bottom:0;
    }
    .dashboard-audit-title{
      margin:0;
      font-size:14px;
      font-weight:700;
      line-height:1.5;
      color:var(--ink);
    }
    .dashboard-audit-meta{
      margin:4px 0 0;
      font-size:12px;
      line-height:1.6;
      color:var(--ink2);
    }
    .dashboard-audit-time{
      font-size:12px;
      line-height:1.4;
      color:var(--ink2);
      white-space:nowrap;
    }
    .dashboard-integration-copy{
      margin-top:0;
      max-width:none;
    }
    .dashboard-setup-grid{
      display:grid;
      grid-template-columns:repeat(2,minmax(0,1fr));
      gap:12px;
    }
    .dashboard-setup-textarea{
      min-height:110px;
      resize:vertical;
      line-height:1.55;
      font-family:'IBM Plex Mono',monospace;
      font-size:12px;
    }
    .dashboard-setup-actions{
      display:flex;
      flex-wrap:wrap;
      gap:8px;
    }
    .market-toolbar{
      padding:20px;
      border-radius:20px;
      background:rgba(255,255,255,.86);
      border:1px solid var(--border);
      box-shadow:0 6px 16px rgba(0,0,0,.04);
      content-visibility:auto;
      contain-intrinsic-size:260px;
    }
    .market-toolbar-head{
      display:flex;
      align-items:center;
      justify-content:flex-start;
      gap:18px;
      margin-bottom:14px;
    }
    .market-inline-title{
      margin-top:0;
      font-family:'Manrope',sans-serif;
      font-size:18px;
      line-height:1.2;
      letter-spacing:-.01em;
      font-weight:700;
    }
    .provider-switch{
      display:grid;
      grid-template-columns:repeat(3,minmax(0,1fr));
      gap:12px;
    }
    .provider-btn{
      border:none;
      padding:14px 16px;
      border-radius:18px;
      background:rgba(255,255,255,.92);
      border:1px solid var(--border);
      color:var(--ink);
      font:inherit;
      cursor:pointer;
      transition:transform .18s ease,border-color .18s ease,background .18s ease,box-shadow .18s ease;
      display:block;
      min-width:0;
      text-align:left;
      box-shadow:0 8px 18px rgba(26,23,20,.05);
      position:relative;
      overflow:hidden;
    }
    .provider-brand{
      display:grid;
      grid-template-columns:88px minmax(0,1fr);
      align-items:center;
      gap:14px;
      width:100%;
    }
    .provider-logo-shell{
      width:88px;
      height:68px;
      border-radius:20px;
      position:relative;
      background:linear-gradient(145deg,#1b1713,#2a2320);
      border:1px solid rgba(255,255,255,.15);
      display:flex;
      align-items:center;
      justify-content:center;
      overflow:hidden;
      flex:0 0 auto;
      box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 10px 24px rgba(26,23,20,.16);
    }
    .provider-logo-shell::before{
      content:'';
      position:absolute;
      inset:0;
      background:radial-gradient(circle at top left, rgba(255,255,255,.22), transparent 44%);
      pointer-events:none;
    }
    .provider-logo{
      max-width:72%;
      max-height:48%;
      object-fit:contain;
      display:block;
      position:relative;
      z-index:1;
      filter:drop-shadow(0 6px 18px rgba(0,0,0,.16));
    }
    .provider-copy{
      min-width:0;
      display:flex;
      flex-direction:column;
      gap:5px;
    }
    .provider-copy em{
      display:block;
      font-style:normal;
      font-size:10px;
      letter-spacing:.18em;
      text-transform:uppercase;
      color:var(--ink2);
      opacity:.9;
    }
    .provider-copy strong{
      display:block;
      font-size:16px;
      line-height:1.15;
      letter-spacing:-.03em;
      margin-bottom:0;
    }
    .provider-copy span{
      display:block;
      color:var(--ink2);
      font-size:12px;
      line-height:1.45;
      max-width:28ch;
    }
    .provider-btn:hover{
      transform:translateY(-1px);
      border-color:var(--gold);
      background:#fffdf9;
    }
    .provider-btn.sel{
      border-color:var(--gold);
      background:#fffdf9;
      box-shadow:0 0 0 2px rgba(196,154,69,.18);
    }
    .provider-btn.provider-diniz .provider-logo-shell{
      background:
        radial-gradient(circle at top left, rgba(255,255,255,.25), transparent 34%),
        linear-gradient(145deg,#6f0d16 0%,#a61922 54%,#df4038 100%);
    }
    .provider-btn.provider-diniz{
      background:linear-gradient(135deg,rgba(255,255,255,.96),rgba(255,247,246,.96));
    }
    .provider-btn.provider-diniz.sel{
      border-color:#bb242b;
      box-shadow:0 0 0 2px rgba(187,36,43,.15),0 12px 24px rgba(111,13,22,.08);
    }
    .provider-btn.provider-diniz .provider-copy em,
    .provider-btn.provider-diniz .provider-copy strong{color:#8a131c}
    .provider-btn.provider-chilli .provider-logo-shell{
      background:
        radial-gradient(circle at top left, rgba(255,255,255,.18), transparent 38%),
        linear-gradient(130deg,#111317 0%,#1a1221 38%,#112530 100%);
    }
    .provider-btn.provider-chilli .provider-logo-shell::after{
      content:'';
      position:absolute;
      left:-8%;
      right:-8%;
      bottom:-12%;
      height:34%;
      border-radius:999px;
      background:linear-gradient(90deg,#ff5f57 0%,#ffbd2e 18%,#f9f871 34%,#52e5ff 55%,#7d6bff 77%,#ff5ed6 100%);
      filter:blur(12px);
      opacity:.88;
      pointer-events:none;
    }
    .provider-btn.provider-chilli{
      background:linear-gradient(135deg,rgba(255,255,255,.96),rgba(247,251,255,.96));
    }
    .provider-btn.provider-chilli.sel{
      border-color:#35c9ff;
      box-shadow:0 0 0 2px rgba(53,201,255,.14),0 12px 24px rgba(17,37,48,.1);
    }
    .provider-btn.provider-chilli .provider-copy em,
    .provider-btn.provider-chilli .provider-copy strong{color:#2d6b8b}
    .provider-btn.provider-eotica .provider-logo-shell{
      background:
        radial-gradient(circle at top left, rgba(255,255,255,.13), transparent 36%),
        linear-gradient(145deg,#050505 0%,#171312 58%,#2a2321 100%);
    }
    .provider-btn.provider-eotica{
      background:linear-gradient(135deg,rgba(255,255,255,.96),rgba(251,250,248,.96));
    }
    .provider-btn.provider-eotica.sel{
      border-color:#1a1714;
      box-shadow:0 0 0 2px rgba(26,23,20,.12),0 12px 24px rgba(26,23,20,.09);
    }
    .provider-btn.provider-eotica .provider-copy em,
    .provider-btn.provider-eotica .provider-copy strong{color:#1a1714}
    .catalog-card{
      background:var(--card);
      border:1.5px solid var(--border);
      border-radius:18px;
      padding:16px;
      cursor:pointer;
      transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease;
      box-shadow:0 4px 14px rgba(0,0,0,.04);
    }
    .catalog-card:hover{
      transform:translateY(-2px);
      border-color:var(--gold);
      background:var(--gold-bg);
      box-shadow:0 8px 18px rgba(154,118,53,.12);
    }
    .catalog-card.sel{
      border-color:var(--gold);
      background:var(--gold-bg);
      box-shadow:0 0 0 2px rgba(196,154,69,.25),0 8px 18px rgba(154,118,53,.15);
    }
    .catalog-thumb{
      width:100%;
      height:116px;
      object-fit:contain;
      display:block;
      margin-bottom:12px;
    }
    .catalog-name{
      font-size:11px;
      line-height:1.5;
      letter-spacing:.08em;
      text-transform:uppercase;
      color:var(--ink2);
    }
    .catalog-card.sel .catalog-name{color:var(--gold)}
    .catalog-card.surprise{
      display:flex;
      align-items:center;
      justify-content:center;
      min-height:176px;
      background:linear-gradient(145deg,var(--cream),#fbf8f1);
      border-style:dashed;
    }
    .surprise-badge{
      text-align:center;
      color:var(--ink2);
    }
    .surprise-badge strong{
      display:block;
      margin-top:10px;
      font-family:'Fraunces',serif;
      font-size:22px;
      font-weight:400;
      color:var(--gold);
    }
    .upload-box{
      margin-top:0;
      border:1.5px dashed var(--border2);
      border-radius:18px;
      padding:16px;
      background:var(--card);
      cursor:pointer;
      transition:border-color .18s ease,background .18s ease;
      display:flex;
      align-items:center;
      gap:14px;
      width:100%;
      box-sizing:border-box;
    }
    .upload-box:hover{
      border-color:var(--gold);
      background:var(--gold-bg);
    }
    .upload-box.has{border-style:solid;border-color:var(--gold)}
    .upload-box-copy{min-width:0}
    .upload-box-copy strong{
      display:block;
      font-size:12px;
      letter-spacing:.14em;
      text-transform:uppercase;
      margin-bottom:4px;
    }
    .upload-box-copy span{
      font-size:13px;
      color:var(--ink2);
      line-height:1.5;
    }
    #custom-glasses-preview{
      margin-left:auto;
      width:70px;
      height:52px;
      object-fit:contain;
      display:none;
      border-radius:10px;
      background:var(--cream);
      border:1px solid var(--border);
      padding:6px;
    }
    .search-title{
      font-size:12px;
      letter-spacing:.14em;
      text-transform:uppercase;
      color:var(--ink);
    }
    .search-row{
      display:flex;
      gap:10px;
    }
    .suggestions{
      margin-top:16px;
      display:flex;
      flex-wrap:wrap;
      gap:10px;
    }
    .chip{
      border:none;
      border-radius:999px;
      padding:10px 14px;
      background:#fff;
      border:1px solid var(--border);
      color:var(--ink2);
      font:inherit;
      font-size:12px;
      letter-spacing:.08em;
      text-transform:uppercase;
      cursor:pointer;
      transition:all .18s ease;
    }
    .chip:hover{
      border-color:var(--gold);
      background:var(--gold-bg);
      color:var(--gold);
      transform:translateY(-1px);
    }
    .market-section{
      padding:20px;
      border-radius:22px;
      background:rgba(255,255,255,.84);
      border:1px solid rgba(228,221,210,.9);
      box-shadow:0 6px 16px rgba(0,0,0,.04);
      content-visibility:auto;
      contain-intrinsic-size:620px;
    }
    .section-head{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:18px;
      margin-bottom:12px;
    }
    .section-title{
      font-family:'Fraunces',serif;
      font-size:26px;
      line-height:1;
      letter-spacing:-.03em;
      font-weight:500;
    }
    .search-input{
      flex:1;
      border:1.5px solid var(--border);
      border-radius:14px;
      padding:14px 16px;
      background:#fff;
      font:inherit;
      color:var(--ink);
    }
    .search-input:focus{
      outline:none;
      border-color:var(--gold);
      box-shadow:0 0 0 3px rgba(196,154,69,.12);
    }
    .search-results{
      margin-top:6px;
      padding:4px 2px 2px;
      margin-left:-2px;
      margin-right:-2px;
      display:grid;
      grid-template-columns:repeat(4,minmax(0,1fr));
      gap:14px;
      align-content:start;
      contain:layout paint style;
    }
    .featured-actions{
      margin-top:18px;
      display:flex;
      justify-content:center;
    }
    .featured-refresh-btn{
      min-width:260px;
      white-space:nowrap;
    }
    .search-empty{
      margin-top:2px;
      font-size:13px;
      color:var(--ink2);
      line-height:1.6;
    }
    .remote-card{
      background:var(--card);
      border:1.5px solid var(--border);
      border-radius:18px;
      padding:15px;
      text-align:left;
      cursor:pointer;
      transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease;
      overflow:hidden;
      content-visibility:auto;
      contain-intrinsic-size:320px 360px;
    }
    .remote-card:hover{
      transform:translateY(-2px);
      border-color:var(--gold);
      box-shadow:0 8px 18px rgba(154,118,53,.12);
    }
    .remote-card.sel{
      border-color:var(--gold);
      background:var(--gold-bg);
      box-shadow:0 0 0 2px rgba(196,154,69,.25),0 8px 18px rgba(154,118,53,.15);
    }
    .remote-thumb-shell{
      height:196px;
      border-radius:14px;
      background:#ffffff;
      border:1px solid rgba(228,221,210,.85);
      display:flex;
      align-items:center;
      justify-content:center;
      padding:14px;
      margin-bottom:12px;
      overflow:hidden;
      contain:paint;
    }
    .remote-thumb{
      width:100%;
      height:100%;
      object-fit:contain;
      display:block;
    }
    .remote-name{
      font-size:14px;
      line-height:1.45;
      color:var(--ink);
      margin-bottom:10px;
      min-height:52px;
    }
    .remote-price{
      font-size:12px;
      color:var(--ink2);
      line-height:1.5;
      min-height:20px;
      margin-bottom:8px;
    }
    .remote-size{
      display:inline-flex;
      align-items:center;
      padding:7px 10px;
      border-radius:999px;
      background:var(--gold-bg);
      border:1px solid rgba(196,154,69,.24);
      color:var(--gold);
      font-size:10px;
      letter-spacing:.12em;
      text-transform:uppercase;
    }
    #toast{
      position:fixed;
      left:50%;
      bottom:26px;
      transform:translateX(-50%) translateY(14px);
      background:var(--ink);
      color:#fffdf8;
      padding:12px 16px;
      border-radius:12px;
      font-size:13px;
      opacity:0;
      transition:all .25s ease;
      pointer-events:none;
      z-index:30;
    }
    #toast.on{
      opacity:1;
      transform:translateX(-50%) translateY(0);
    }
    .btn-spinner{
      width:12px;
      height:12px;
      border:1.5px solid rgba(255,255,255,.25);
      border-top-color:rgba(255,255,255,.95);
      border-radius:50%;
      animation:spin .7s linear infinite;
    }
    @keyframes spin{to{transform:rotate(360deg)}}
    @keyframes shimmer{
      from{background-position:100% 0}
      to{background-position:-100% 0}
    }
    @media (max-width:920px){
      header{
        display:block;
      }
      main{
        grid-template-columns:1fr;
        height:auto;
        overflow:visible;
      }
      main>.panel{
        overflow:visible;
      }
      .panel{padding:18px}
      .header-row{
        flex-direction:column;
        align-items:flex-start;
        min-height:auto;
      }
      .brand-lockup{
        width:100%;
      }
      .dashboard-hero,
      .dashboard-exec-grid,
      .dashboard-ops-grid,
      .dashboard-governance-grid,
      .dashboard-grid,
      .dashboard-lower-grid,
      .dashboard-split{
        grid-template-columns:1fr;
      }
      .dashboard-kpis{
        grid-template-columns:repeat(2,minmax(0,1fr));
      }
      .dashboard-provider-grid{
        grid-template-columns:1fr;
      }
      .dashboard-toolbar{
        grid-template-columns:1fr;
      }
      .dashboard-auth-grid,
      .dashboard-conversion-grid{
        grid-template-columns:1fr;
      }
      .dashboard-conversion-grid .dashboard-auth-field:last-child{
        grid-column:auto;
      }
      .dashboard-onboarding-toolbar,
      .dashboard-onboarding-stats,
      .dashboard-onboarding-list{
        grid-template-columns:1fr;
      }
      .dashboard-setup-grid{
        grid-template-columns:1fr;
      }
      .market-toolbar-head{
        flex-direction:column;
        align-items:flex-start;
      }
      .search-results{grid-template-columns:repeat(2,minmax(0,1fr))}
      .section-head{
        flex-direction:column;
        align-items:flex-start;
      }
      .provider-switch{grid-template-columns:1fr}
      .provider-btn,.provider-brand{grid-template-columns:72px minmax(0,1fr)}
      .provider-logo-shell{width:72px;height:58px}
    }
    @media (max-width:560px){
      header{padding:16px 18px 6px}
      main{padding:12px 18px 40px}
      .brand{gap:10px;padding:4px 0}
      .brand-mark{width:58px;height:44px}
      .brand-name{font-size:34px}
      .header-nav{
        gap:8px;
        width:100%;
        justify-content:flex-start;
      }
      .header-tab{
        flex:1 1 0;
        min-width:0;
      }
      .dashboard-kpis,
      .dashboard-provider-grid,
      .dashboard-ops-grid,
      .dashboard-lower-grid,
      .dashboard-split{
        grid-template-columns:1fr;
      }
      .dashboard-step,
      .dashboard-breakdown-row,
      .dashboard-product,
      .dashboard-activity-item,
      .dashboard-session-bar{
        grid-template-columns:1fr;
      }
      .dashboard-step-value,
      .dashboard-breakdown-value,
      .dashboard-activity-time{
        text-align:left;
      }
      .catalog-grid{grid-template-columns:1fr}
      .fit-preferences,.search-results{grid-template-columns:1fr}
      .search-row{display:grid}
      .fit-title{font-size:24px}
      .market-inline-title{font-size:17px}
      .remote-name,.remote-meta{min-height:auto}
      .photo-frame{height:400px}
    }
    @media (max-width:1024px){
      header{
        padding:14px 18px 4px;
        row-gap:12px;
      }
      main{
        grid-template-columns:1fr;
        gap:20px;
        height:auto;
        overflow:visible;
        padding:10px 18px 36px;
      }
      main>.panel{
        overflow:visible;
        contain:none;
      }
      .panel,
      .market-toolbar,
      .market-section,
      .dashboard-shell .panel{
        border-radius:22px;
        padding:18px;
      }
      .photo-frame{
        height:min(70vw,440px);
        min-height:340px;
      }
      .search-results{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:12px;
      }
      .provider-switch{
        display:grid;
        grid-auto-flow:column;
        grid-auto-columns:minmax(280px,78vw);
        grid-template-columns:none;
        gap:12px;
        overflow-x:auto;
        padding:2px 2px 8px;
        margin:0 -2px;
        scroll-snap-type:x proximity;
        scrollbar-width:none;
      }
      .provider-switch::-webkit-scrollbar{
        display:none;
      }
      .provider-btn{
        scroll-snap-align:start;
      }
      .provider-brand{
        grid-template-columns:76px minmax(0,1fr);
      }
      .provider-logo-shell{
        width:76px;
        height:60px;
      }
      .search-row{
        display:grid;
        grid-template-columns:minmax(0,1fr) auto;
      }
      .suggestions{
        display:flex;
        flex-wrap:nowrap;
        overflow-x:auto;
        gap:8px;
        padding-bottom:4px;
        scroll-snap-type:x proximity;
        scrollbar-width:none;
      }
      .suggestions::-webkit-scrollbar{
        display:none;
      }
      .suggestions .chip{
        white-space:nowrap;
        scroll-snap-align:start;
      }
      .featured-refresh-btn{
        min-width:0;
      }
      .dashboard-shell{
        padding:10px 18px 36px;
      }
      .dashboard-kpis{
        grid-template-columns:repeat(2,minmax(0,1fr));
      }
      .dashboard-provider-chips{
        overflow-x:auto;
        flex-wrap:nowrap;
        padding-bottom:4px;
        scrollbar-width:none;
      }
      .dashboard-provider-chips::-webkit-scrollbar{
        display:none;
      }
      .dashboard-chip{
        white-space:nowrap;
      }
    }
    @media (max-width:680px){
      header{
        padding:14px 14px 4px;
      }
      .header-row{
        flex-direction:row;
        align-items:center;
        justify-content:flex-start;
        gap:14px;
      }
      .brand-lockup{
        justify-content:flex-start;
      }
      .brand{
        gap:8px;
      }
      .brand-mark{
        width:52px;
        height:40px;
      }
      .brand-name{
        font-size:30px;
      }
      .header-nav{
        width:100%;
        gap:8px;
        justify-content:stretch;
      }
      .header-tab{
        flex:1 1 0;
        min-width:0;
        padding:12px 10px;
        font-size:11px;
        letter-spacing:.12em;
      }
      main{
        padding:10px 14px 30px;
        gap:16px;
      }
      .panel,
      .market-toolbar,
      .market-section,
      .dashboard-shell .panel{
        padding:16px;
        border-radius:20px;
      }
      .panel-title{
        margin-bottom:14px;
      }
      .photo-frame{
        height:min(82vw,420px);
        min-height:320px;
      }
      #drop-zone{
        padding:24px 18px;
      }
      .drop-title{
        font-size:24px;
      }
      .drop-copy{
        max-width:none;
        font-size:14px;
      }
      .source-actions,
      .preview-actions,
      .result-actions,
      .selection-link-row,
      .dashboard-auth-actions,
      .dashboard-export-actions,
      .dashboard-session-actions,
      .dashboard-onboarding-actions,
      .dashboard-setup-actions,
      .privacy-actions,
      .consent-modal-actions{
        display:grid;
        grid-template-columns:1fr;
      }
      .source-actions .btn,
      .preview-actions .btn,
      .result-actions .btn,
      .selection-link-row .btn,
      .dashboard-auth-actions .btn,
      .dashboard-export-actions .btn,
      .dashboard-session-actions .btn,
      .dashboard-onboarding-actions .btn,
      .dashboard-setup-actions .btn,
      .privacy-actions .btn,
      .consent-modal-actions .btn{
        width:100%;
      }
      .studio-cta{
        gap:12px;
      }
      .selection-summary{
        padding:12px;
      }
      .fit-panel,
      .privacy-panel{
        padding:16px;
        border-radius:20px;
      }
      .fit-title,
      .privacy-title{
        font-size:22px;
        line-height:1.08;
      }
      .market-inline-title{
        font-size:20px;
      }
      .search-row{
        grid-template-columns:1fr;
      }
      .search-row .btn{
        width:100%;
      }
      .suggestions{
        gap:8px;
      }
      .chip{
        padding:9px 12px;
        font-size:11px;
      }
      .search-results,
      .catalog-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:12px;
      }
      .fit-preferences{
        grid-template-columns:1fr;
      }
      .featured-actions{
        justify-content:stretch;
      }
      .featured-refresh-btn{
        width:100%;
      }
      .provider-btn{
        padding:12px 14px;
        border-radius:16px;
      }
      .provider-brand{
        grid-template-columns:64px minmax(0,1fr);
        gap:12px;
      }
      .provider-logo-shell{
        width:64px;
        height:54px;
        border-radius:16px;
      }
      .provider-copy strong{
        font-size:15px;
      }
      .provider-copy span{
        max-width:none;
      }
      .market-toolbar{
        position:relative;
      }
      .featured-grid{
        gap:12px;
      }
      .catalog-card{
        padding:14px;
        border-radius:16px;
      }
      .card-title{
        font-size:14px;
        line-height:1.4;
      }
      .card-price{
        font-size:14px;
      }
      #custom-glasses-preview{
        width:60px;
        height:46px;
      }
      .dashboard-shell{
        padding:10px 14px 30px;
      }
      .dashboard-auth-title,
      .dashboard-title{
        font-size:clamp(34px, 10vw, 48px);
        line-height:.95;
      }
      .dashboard-copy,
      .dashboard-auth-copy{
        font-size:15px;
        line-height:1.55;
      }
      .dashboard-kpis{
        grid-template-columns:1fr 1fr;
        gap:12px;
      }
      .dashboard-kpi{
        min-height:0;
      }
      .dashboard-kpi-value{
        font-size:30px;
      }
      .dashboard-exec-grid,
      .dashboard-ops-grid,
      .dashboard-grid,
      .dashboard-lower-grid,
      .dashboard-governance-grid,
      .dashboard-split,
      .dashboard-auth-grid,
      .dashboard-conversion-grid,
      .dashboard-onboarding-toolbar,
      .dashboard-onboarding-stats,
      .dashboard-onboarding-list,
      .dashboard-setup-grid{
        grid-template-columns:1fr;
      }
      .dashboard-step,
      .dashboard-breakdown-row,
      .dashboard-product,
      .dashboard-session-bar{
        grid-template-columns:1fr;
      }
      .dashboard-activity-item{
        grid-template-columns:auto minmax(0,1fr);
        align-items:start;
      }
      .dashboard-activity-time{
        grid-column:2;
        text-align:left;
      }
      .dashboard-provider-card,
      .dashboard-product,
      .dashboard-activity-item,
      .dashboard-onboarding-item{
        padding:14px;
      }
      .consent-modal{
        padding:16px;
      }
      .consent-modal-card{
        width:min(100%, 440px);
        padding:18px;
        border-radius:20px;
      }
    }
    @media (max-width:420px){
      header{
        padding:12px 12px 2px;
      }
      main{
        padding:8px 12px 24px;
      }
      .brand-name{
        font-size:28px;
      }
      .panel,
      .market-toolbar,
      .market-section,
      .dashboard-shell .panel{
        padding:14px;
        border-radius:18px;
      }
      .photo-frame{
        height:min(84vw,360px);
        min-height:300px;
      }
      .drop-title{
        font-size:22px;
      }
      .section-title{
        font-size:22px;
      }
      .market-inline-title{
        font-size:18px;
      }
      .dashboard-auth-title,
      .dashboard-title{
        font-size:clamp(30px, 10vw, 40px);
      }
      .provider-switch{
        grid-auto-columns:minmax(260px,86vw);
      }
      .search-results,
      .catalog-grid,
      .dashboard-kpis{
        grid-template-columns:1fr;
      }
    }
    @media (max-width:768px){
      html,
      body{
        width:100%;
        max-width:100%;
        overflow-x:hidden;
      }
      header{
        width:100%;
        max-width:100%;
        grid-template-columns:1fr;
        row-gap:10px;
      }
      .header-row,
      .brand-lockup,
      .header-nav,
      main,
      .panel,
      .market-panel,
      .market-toolbar,
      .market-section,
      .photo-frame,
      .selection-summary,
      .search-row,
      .search-results,
      .provider-switch,
      .provider-btn,
      .provider-brand{
        width:100%;
        max-width:100%;
        min-width:0;
      }
      .header-nav{
        justify-content:stretch;
      }
      .header-tab{
        flex:1 1 0;
      }
      .photo-frame{
        height:clamp(270px,72vw,400px);
        min-height:270px;
      }
      #drop-zone{
        padding:22px 16px;
        gap:10px;
      }
      .drop-icon{
        width:56px;
        height:56px;
      }
      .drop-title{
        font-size:24px;
      }
      .drop-copy{
        max-width:18rem;
        font-size:14px;
        line-height:1.5;
      }
      .source-actions,
      .preview-actions,
      .result-actions,
      .selection-link-row{
        width:100%;
      }
      .source-actions .btn,
      .preview-actions .btn,
      .result-actions .btn,
      .selection-link-row .btn{
        width:100%;
      }
      .search-results{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:10px;
      }
      .remote-card{
        padding:12px;
        border-radius:16px;
      }
      .remote-thumb-shell{
        height:132px;
        padding:10px;
      }
      .remote-name{
        font-size:13px;
        line-height:1.4;
        min-height:auto;
      }
      .remote-price{
        font-size:12px;
        min-height:auto;
      }
      .remote-size{
        font-size:9px;
        letter-spacing:.1em;
      }
    }
    @media (max-width:430px){
      header{
        padding:10px 10px 2px;
      }
      main{
        padding:8px 10px 22px;
        gap:14px;
      }
      .panel,
      .market-toolbar,
      .market-section,
      .dashboard-shell .panel{
        padding:14px;
        border-radius:18px;
      }
      .brand-mark{
        width:48px;
        height:38px;
      }
      .brand-name{
        font-size:28px;
      }
      .header-tab{
        padding:11px 8px;
        font-size:10px;
        letter-spacing:.12em;
      }
      .panel-title{
        font-size:10px;
        letter-spacing:.16em;
      }
      .photo-frame{
        height:clamp(250px,66vw,340px);
        min-height:250px;
      }
      #drop-zone{
        padding:18px 14px;
      }
      .drop-title{
        font-size:22px;
      }
      .drop-copy{
        max-width:16rem;
        font-size:13px;
      }
      .studio-note{
        font-size:12px;
        line-height:1.5;
      }
      .selection-summary strong{
        font-size:14px;
      }
      .provider-switch{
        grid-auto-columns:minmax(236px,88vw);
      }
      .provider-btn{
        padding:12px;
      }
      .provider-brand{
        grid-template-columns:60px minmax(0,1fr);
        gap:10px;
      }
      .provider-logo-shell{
        width:60px;
        height:50px;
      }
      .provider-copy strong{
        font-size:14px;
      }
      .provider-copy span{
        font-size:12px;
      }
      .search-row{
        gap:8px;
      }
      .search-input{
        padding:12px 14px;
      }
      .search-results{
        grid-template-columns:repeat(2,minmax(0,1fr));
      }
      .remote-thumb-shell{
        height:116px;
      }
      .featured-refresh-btn{
        min-width:0;
      }
    }

    /* LensMatch UI Refresh - 2026-03-21
       Based on ui-ux-pro-max guidance: editorial premium retail, stronger hierarchy,
       lighter chrome, and a clearer mobile-first structure. */
    :root{
      --bg:#f6f1e8;
      --bg-strong:#efe5d2;
      --card:#fffdf9;
      --card-soft:#fbf8f2;
      --cream:#f3ede3;
      --border:#dfd3bf;
      --border-strong:#cdb995;
      --ink:#16120d;
      --ink2:#6b6257;
      --ink3:#948979;
      --gold:#9b7330;
      --gold2:#caa35a;
      --gold-bg:#f7efde;
      --success:#1c7b58;
      --r:22px;
      --sh:0 20px 40px rgba(43,31,15,.06), 0 2px 10px rgba(43,31,15,.03);
    }
    html{
      -webkit-text-size-adjust:100%;
      scroll-behavior:smooth;
    }
    body{
      font-family:'Inter',sans-serif;
      background:
        radial-gradient(circle at 10% 0%, rgba(214,174,93,.24), transparent 22%),
        radial-gradient(circle at 88% 0%, rgba(184,129,43,.22), transparent 24%),
        linear-gradient(180deg, rgba(244,233,206,.55) 0%, rgba(244,233,206,.18) 16%, rgba(244,233,206,0) 35%),
        linear-gradient(90deg, rgba(191,149,71,.14) 0%, rgba(191,149,71,0) 12%, rgba(191,149,71,0) 88%, rgba(191,149,71,.14) 100%),
        var(--bg);
      color:var(--ink);
    }
    body::before{
      content:'';
      position:fixed;
      inset:0;
      pointer-events:none;
      background:
        radial-gradient(circle at 50% 12%, rgba(255,255,255,.42), transparent 28%),
        linear-gradient(180deg, rgba(255,255,255,.28), transparent 20%);
      opacity:.9;
      z-index:-1;
    }
    header{
      width:min(1500px,100%);
      padding:18px 28px 8px;
      grid-template-columns:minmax(0,1fr) auto;
      column-gap:28px;
      position:relative;
    }
    .header-row{
      min-height:78px;
    }
    .brand{
      gap:16px;
    }
    .brand-mark{
      width:82px;
      height:62px;
      filter:drop-shadow(0 14px 28px rgba(191,149,71,.18));
    }
    .brand-name{
      font-family:'Inter',sans-serif;
      font-size:52px;
      font-weight:800;
      letter-spacing:-.08em;
      color:#2c2115;
    }
    .brand-name-accent{
      color:#c5963e;
    }
    .header-nav{
      gap:8px;
      padding:8px;
      border-radius:999px;
      background:rgba(255,255,255,.68);
      border:1px solid rgba(223,211,191,.92);
      box-shadow:0 14px 30px rgba(41,29,13,.08);
      backdrop-filter:blur(14px);
    }
    .header-tab{
      min-width:136px;
      padding:13px 20px;
      border-radius:999px;
      background:transparent;
      border:1px solid transparent;
      color:var(--ink3);
      font-size:11px;
      font-weight:800;
      letter-spacing:.2em;
      transition:transform .22s ease, background .22s ease, border-color .22s ease, color .22s ease, box-shadow .22s ease;
    }
    .header-tab:hover{
      transform:translateY(-1px);
      border-color:rgba(202,163,90,.34);
      color:var(--ink);
      background:rgba(255,255,255,.54);
    }
    .header-tab.sel{
      background:linear-gradient(180deg,#fffdf9 0%, #f5ead6 100%);
      border-color:rgba(202,163,90,.64);
      color:#78551d;
      box-shadow:0 10px 22px rgba(191,149,71,.18);
    }
    main,
    .dashboard-shell{
      width:min(1500px,100%);
      padding-left:28px;
      padding-right:28px;
    }
    main{
      grid-template-columns:minmax(340px,408px) minmax(0,1fr);
      gap:24px;
      padding-top:10px;
      height:calc(100vh - 112px);
    }
    .panel,
    .market-toolbar,
    .market-section,
    .dashboard-shell .panel{
      background:
        linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(251,248,242,.96) 100%);
      border:1px solid rgba(223,211,191,.94);
      border-radius:28px;
      box-shadow:var(--sh);
      backdrop-filter:none;
    }
    .panel{
      padding:24px;
    }
    main > .panel{
      background:
        linear-gradient(180deg, rgba(255,255,255,.99) 0%, rgba(251,248,242,.97) 100%);
      padding-bottom:30px;
    }
    .panel-title,
    .search-title{
      font-size:10px;
      font-weight:700;
      letter-spacing:.28em;
      text-transform:uppercase;
      color:#987139;
    }
    .panel-title{
      margin-bottom:18px;
    }
    .panel-title::after{
      background:linear-gradient(90deg, rgba(205,185,149,.56), rgba(205,185,149,.16));
    }
    .drop-title,
    .fit-title,
    .privacy-title,
    .section-title,
    .dashboard-title,
    .dashboard-auth-title,
    .dashboard-exec-headline{
      font-family:'Playfair Display',serif;
      letter-spacing:-.04em;
      color:#20170f;
    }
    .market-inline-title{
      font-family:'Inter',sans-serif;
      font-size:20px;
      font-weight:800;
      letter-spacing:-.03em;
      color:#20170f;
    }
    .drop-title{
      font-size:40px;
      line-height:.98;
    }
    .drop-copy,
    .dashboard-copy,
    .dashboard-auth-copy,
    .privacy-note,
    .studio-note,
    .fit-note,
    .search-empty,
    .upload-box-copy span{
      color:var(--ink2);
      line-height:1.7;
    }
    .photo-frame{
      height:500px;
      border-radius:24px;
      background:
        radial-gradient(circle at 50% 0%, rgba(214,174,93,.12), transparent 35%),
        linear-gradient(180deg,#f7f1e7 0%, #efe8dc 100%);
      border:1px solid rgba(223,211,191,.9);
      box-shadow:inset 0 1px 0 rgba(255,255,255,.8);
    }
    #drop-zone{
      border-radius:24px;
      border:1.5px dashed rgba(205,185,149,.92);
      background:linear-gradient(180deg,#fffefa 0%, #faf5ec 100%);
      padding:36px 30px;
      gap:14px;
    }
    #drop-zone:hover,
    #drop-zone.drag{
      background:linear-gradient(180deg,#fffaf0 0%, #f8efdf 100%);
      border-color:var(--gold2);
    }
    .drop-icon{
      width:70px;
      height:70px;
      background:linear-gradient(180deg,#fffefb 0%, #f0e7da 100%);
      border-color:rgba(221,209,193,.94);
      color:#8d806f;
      box-shadow:0 16px 32px rgba(37,26,11,.08);
    }
    .stage{
      border-radius:24px;
      border-color:rgba(223,211,191,.92);
      background:#efe7dc;
    }
    .run-feedback-panel{
      width:min(340px,100%);
      border-radius:26px;
      background:linear-gradient(180deg, rgba(255,253,248,.94) 0%, rgba(251,247,240,.88) 100%);
      border-color:rgba(222,207,184,.84);
      box-shadow:0 26px 52px rgba(34,24,10,.14);
    }
    .run-feedback-kicker{
      color:#8c672b;
      background:rgba(255,251,242,.9);
      border-color:rgba(202,163,90,.32);
    }
    .run-feedback-copy{
      font-size:30px;
    }
    .btn{
      border-radius:16px;
      font-family:'Inter',sans-serif;
      font-size:11px;
      font-weight:800;
      letter-spacing:.18em;
      min-height:52px;
    }
    .btn-primary{
      background:linear-gradient(180deg,#1d1712 0%, #2b2219 100%);
      box-shadow:0 16px 34px rgba(30,21,11,.18);
    }
    .btn-primary:hover:not(:disabled){
      box-shadow:0 20px 42px rgba(30,21,11,.24);
    }
    .btn-secondary{
      background:rgba(255,255,255,.9);
      border-color:rgba(223,211,191,.94);
    }
    .btn-secondary:hover:not(:disabled),
    .btn-ghost:hover:not(:disabled){
      background:linear-gradient(180deg,#fffdf8 0%, #f7eedf 100%);
      border-color:rgba(202,163,90,.68);
      color:#8c672b;
    }
    .btn-ghost{
      color:#7a6c59;
      border-style:solid;
      background:rgba(255,255,255,.56);
    }
    .selection-summary,
    .fit-panel,
    .privacy-panel{
      border-radius:24px;
      border:1px solid rgba(223,211,191,.88);
      background:linear-gradient(180deg, rgba(255,255,255,.94) 0%, rgba(248,244,237,.92) 100%);
      box-shadow:0 10px 24px rgba(40,29,14,.04);
    }
    .selection-summary{
      padding:14px 16px;
    }
    .selection-summary strong{
      font-size:17px;
      letter-spacing:-.03em;
    }
    .fit-head,
    .privacy-head{
      align-items:flex-start;
    }
    .fit-badge{
      border-radius:999px;
      background:var(--gold-bg);
      color:#8d6b2f;
      border:1px solid rgba(202,163,90,.22);
    }
    .privacy-chip,
    .remote-size,
    .dashboard-pill{
      background:rgba(249,241,226,.95);
      border-color:rgba(202,163,90,.26);
      color:#90692a;
    }
    .market-panel{
      gap:18px;
    }
    .market-toolbar,
    .market-section{
      padding:22px;
    }
    .market-toolbar{
      position:relative;
      overflow:hidden;
    }
    .market-toolbar::before{
      content:'';
      position:absolute;
      inset:0 0 auto 0;
      height:88px;
      background:linear-gradient(180deg, rgba(246,233,205,.36), rgba(246,233,205,0));
      pointer-events:none;
    }
    .provider-switch{
      gap:14px;
    }
    .provider-btn{
      padding:16px 18px;
      border-radius:24px;
      background:linear-gradient(180deg,#fffefb 0%, #faf6ef 100%);
      border:1px solid rgba(223,211,191,.94);
      box-shadow:0 10px 24px rgba(35,25,11,.05);
      transition:transform .22s ease,border-color .22s ease,background .22s ease,box-shadow .22s ease;
    }
    .provider-btn:hover{
      transform:translateY(-2px);
      box-shadow:0 20px 36px rgba(35,25,11,.08);
    }
    .provider-btn.sel{
      background:linear-gradient(180deg,#fffdfa 0%, #f7ecdc 100%);
      border-color:rgba(202,163,90,.72);
      box-shadow:0 0 0 2px rgba(202,163,90,.14), 0 20px 36px rgba(35,25,11,.08);
    }
    .provider-brand{
      grid-template-columns:94px minmax(0,1fr);
      gap:16px;
    }
    .provider-logo-shell{
      width:94px;
      height:72px;
      border-radius:22px;
    }
    .provider-copy{
      gap:6px;
    }
    .provider-copy em{
      font-size:9px;
      font-weight:700;
      color:#9a7a47;
    }
    .provider-copy strong{
      font-size:17px;
      line-height:1.08;
      letter-spacing:-.04em;
      color:#241a10;
    }
    .provider-copy span{
      font-size:13px;
      color:#7b6f60;
      max-width:none;
    }
    .search-row{
      display:grid;
      grid-template-columns:minmax(0,1fr) auto;
      gap:12px;
    }
    .search-input{
      min-height:54px;
      border-radius:18px;
      border-color:rgba(223,211,191,.94);
      background:rgba(255,255,255,.92);
      font-size:15px;
      padding:0 18px;
    }
    .search-input::placeholder{
      color:#a09484;
    }
    .suggestions{
      gap:10px;
    }
    .chip{
      padding:10px 14px;
      border-radius:999px;
      background:rgba(255,255,255,.9);
      border-color:rgba(223,211,191,.92);
      font-size:11px;
      font-weight:700;
      letter-spacing:.14em;
      color:#786d5e;
    }
    .market-section{
      contain-intrinsic-size:560px;
    }
    .section-head{
      margin-bottom:16px;
      align-items:flex-end;
    }
    .section-title{
      font-size:36px;
      line-height:.98;
      font-weight:600;
    }
    .search-results{
      gap:16px;
      margin-top:8px;
    }
    .remote-card{
      padding:16px;
      border-radius:22px;
      background:linear-gradient(180deg,#fffefb 0%, #faf7f1 100%);
      border:1px solid rgba(223,211,191,.92);
      box-shadow:0 12px 24px rgba(35,25,11,.04);
      transition:transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
    }
    .remote-card:hover{
      transform:translateY(-3px);
      background:linear-gradient(180deg,#fffdf9 0%, #f9efdd 100%);
      border-color:rgba(202,163,90,.76);
      box-shadow:0 20px 34px rgba(163,119,47,.12);
    }
    .remote-card.sel{
      background:linear-gradient(180deg,#fffaf2 0%, #f7ead7 100%);
      border-color:rgba(202,163,90,.78);
      box-shadow:0 0 0 2px rgba(202,163,90,.16), 0 18px 34px rgba(163,119,47,.12);
    }
    .remote-thumb-shell{
      height:210px;
      border-radius:18px;
      background:
        radial-gradient(circle at 50% 0%, rgba(214,174,93,.08), transparent 30%),
        #ffffff;
      border-color:rgba(223,211,191,.86);
      padding:16px;
      margin-bottom:14px;
    }
    .remote-name{
      font-size:15px;
      line-height:1.5;
      min-height:68px;
      font-weight:600;
      letter-spacing:-.01em;
    }
    .remote-price{
      font-size:14px;
      color:#7d6f60;
      min-height:24px;
      margin-bottom:10px;
    }
    .featured-actions{
      margin-top:20px;
    }
    .featured-refresh-btn{
      min-width:280px;
    }
    .upload-box{
      border-radius:24px;
      padding:18px 18px;
      background:linear-gradient(180deg,#fffdfa 0%, #faf7f1 100%);
    }
    .upload-box-copy strong{
      color:#241a10;
    }
    .dashboard-shell{
      gap:20px;
      padding-top:10px;
      padding-bottom:72px;
    }
    .dashboard-shell .panel{
      border-radius:26px;
    }
    .dashboard-hero{
      gap:18px;
      grid-template-columns:minmax(0,1.2fr) minmax(330px,.8fr);
      padding:28px;
      background:
        radial-gradient(circle at top left, rgba(214,174,93,.18), transparent 34%),
        linear-gradient(180deg, rgba(255,255,255,.99) 0%, rgba(248,244,237,.96) 100%);
    }
    .dashboard-title{
      font-size:52px;
      line-height:.94;
      margin-top:10px;
      font-weight:600;
    }
    .dashboard-copy{
      max-width:60ch;
      font-size:15px;
    }
    .dashboard-status-line{
      font-size:12px;
      letter-spacing:.04em;
      color:#7b6f60;
    }
    .dashboard-toolbar{
      display:grid;
      grid-template-columns:minmax(0,1fr);
      gap:14px;
      padding:16px;
      border-radius:22px;
      background:linear-gradient(180deg, rgba(255,255,255,.86) 0%, rgba(248,242,232,.94) 100%);
      border:1px solid rgba(223,211,191,.84);
      align-self:stretch;
    }
    .dashboard-filter-label{
      color:#95703a;
      font-size:10px;
      letter-spacing:.22em;
      font-weight:700;
    }
    .dashboard-provider-chips{
      gap:10px;
    }
    .dashboard-chip{
      padding:10px 14px;
      border-radius:999px;
      background:rgba(255,255,255,.92);
      border-color:rgba(223,211,191,.88);
      color:#726656;
      font-size:11px;
      font-weight:800;
      letter-spacing:.12em;
      text-transform:uppercase;
    }
    .dashboard-chip.sel{
      background:linear-gradient(180deg,#fffaf1 0%, #f6ead5 100%);
      border-color:rgba(202,163,90,.7);
      color:#835d20;
    }
    .dashboard-select,
    .dashboard-auth-input{
      min-height:52px;
      border-radius:16px;
      border-color:rgba(223,211,191,.92);
      background:rgba(255,255,255,.94);
      font-family:'Inter',sans-serif;
    }
    .dashboard-kpis{
      gap:16px;
    }
    .dashboard-kpi{
      border-radius:22px;
      padding:20px 20px 18px;
      background:linear-gradient(180deg,#fffefb 0%, #f8f3eb 100%);
      border-color:rgba(223,211,191,.92);
      box-shadow:0 14px 28px rgba(35,25,11,.05);
    }
    .dashboard-kpi::before{
      height:4px;
      background:linear-gradient(90deg,#caa35a 0%, #f3ddab 100%);
    }
    .dashboard-kpi-value{
      font-family:'Inter',sans-serif;
      font-size:34px;
      font-weight:800;
      letter-spacing:-.06em;
    }
    .dashboard-card{
      border-radius:24px;
      padding:22px 24px;
    }
    .dashboard-shell .section-head{
      margin-bottom:16px;
      padding-bottom:14px;
      border-bottom:1px solid rgba(223,211,191,.78);
    }
    .dashboard-shell .section-title{
      font-family:'Playfair Display',serif;
      font-size:28px;
      font-weight:600;
      letter-spacing:-.03em;
    }
    .dashboard-exec-grid,
    .dashboard-grid,
    .dashboard-lower-grid,
    .dashboard-governance-grid{
      gap:18px;
    }
    .dashboard-exec-headline{
      font-size:34px;
      line-height:1.04;
      font-weight:600;
    }
    .dashboard-exec-priority{
      border-radius:18px;
      padding:16px 18px;
      background:linear-gradient(180deg,#fffaf2 0%, #f7ecdb 100%);
      border-color:rgba(223,201,160,.88);
    }
    .dashboard-insight,
    .dashboard-provider-card,
    .dashboard-mini-stat,
    .dashboard-empty{
      border-radius:18px;
    }
    .dashboard-provider-card{
      padding:18px;
      background:linear-gradient(180deg,#fffefb 0%, #f8f3eb 100%);
    }
    .dashboard-product{
      padding:18px 0;
    }
    .dashboard-pill{
      font-size:10px;
      font-weight:800;
    }
    .dashboard-session-bar{
      border-radius:22px;
      padding:16px 18px;
      background:linear-gradient(180deg,#fffaf2 0%, #f7ecd8 100%);
      border-color:rgba(223,201,160,.92);
    }
    .dashboard-session-copy strong{
      color:#8f6a2f;
    }
    .dashboard-auth-card{
      max-width:780px;
      padding:32px;
    }
    .dashboard-auth-title{
      font-size:50px;
      line-height:.96;
      font-weight:600;
      letter-spacing:-.045em;
    }
    .dashboard-auth-status,
    .dashboard-export-status,
    .dashboard-onboarding-note,
    .dashboard-governance-copy{
      color:var(--ink2);
    }
    .consent-modal-card{
      border-radius:28px;
      background:linear-gradient(180deg,#fffefb 0%, #faf6ee 100%);
      border:1px solid rgba(223,211,191,.92);
      box-shadow:0 28px 56px rgba(35,25,11,.12);
    }
    .consent-modal-title{
      font-family:'Playfair Display',serif;
      font-size:38px;
      line-height:.96;
      letter-spacing:-.04em;
    }
    .hint{
      color:#8a7d6e;
    }
    @media (prefers-reduced-motion:reduce){
      *,*::before,*::after{
        animation-duration:.01ms !important;
        animation-iteration-count:1 !important;
        transition-duration:.01ms !important;
        scroll-behavior:auto !important;
      }
    }
    @media (max-width:1100px){
      main{
        grid-template-columns:1fr;
        height:auto;
        min-height:0;
        overflow:visible;
      }
      main > .panel{
        overflow:visible;
        max-height:none;
      }
      .market-panel{
        order:2;
      }
      .dashboard-hero,
      .dashboard-grid,
      .dashboard-lower-grid,
      .dashboard-exec-grid,
      .dashboard-governance-grid{
        grid-template-columns:1fr;
      }
      .dashboard-kpis{
        grid-template-columns:repeat(3,minmax(0,1fr));
      }
    }
    @media (max-width:768px){
      header{
        padding:16px 16px 6px;
        row-gap:14px;
      }
      .header-row{
        min-height:auto;
      }
      .brand-mark{
        width:64px;
        height:48px;
      }
      .brand-name{
        font-size:40px;
      }
      .header-nav{
        width:100%;
        justify-content:stretch;
      }
      .header-tab{
        flex:1 1 0;
        min-width:0;
        padding:12px 10px;
      }
      main,
      .dashboard-shell{
        padding-left:16px;
        padding-right:16px;
      }
      main{
        gap:18px;
        padding-top:8px;
        padding-bottom:28px;
      }
      .panel,
      .market-toolbar,
      .market-section,
      .dashboard-shell .panel{
        border-radius:24px;
        padding:18px;
      }
      .photo-frame{
        height:min(78vw,430px);
        min-height:320px;
      }
      .drop-title{
        font-size:32px;
      }
      .provider-switch{
        display:grid;
        grid-auto-flow:column;
        grid-auto-columns:minmax(280px,82vw);
        overflow-x:auto;
        overscroll-behavior-x:contain;
        scroll-snap-type:x proximity;
        padding-bottom:4px;
      }
      .provider-switch::-webkit-scrollbar,
      .suggestions::-webkit-scrollbar{
        display:none;
      }
      .provider-btn{
        scroll-snap-align:start;
      }
      .suggestions{
        flex-wrap:nowrap;
        overflow-x:auto;
        padding-bottom:2px;
      }
      .chip{
        white-space:nowrap;
        flex:0 0 auto;
      }
      .search-row{
        grid-template-columns:1fr;
      }
      .search-row .btn{
        width:100%;
      }
      .search-results{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:12px;
      }
      .remote-thumb-shell{
        height:164px;
      }
      .remote-name{
        min-height:auto;
        font-size:14px;
      }
      .source-actions,
      .preview-actions,
      .result-actions{
        display:grid;
        grid-template-columns:1fr 1fr;
      }
      .source-actions .btn:first-child:last-child,
      .preview-actions .btn:first-child:last-child,
      .result-actions .btn:first-child:last-child{
        grid-column:1 / -1;
      }
      .dashboard-title,
      .dashboard-auth-title{
        font-size:42px;
      }
      .dashboard-kpis{
        grid-template-columns:repeat(2,minmax(0,1fr));
      }
      .dashboard-toolbar{
        padding:14px;
      }
      .dashboard-ops-grid,
      .dashboard-conversion-grid,
      .dashboard-setup-grid,
      .dashboard-onboarding-toolbar,
      .dashboard-onboarding-stats,
      .dashboard-onboarding-list,
      .dashboard-split{
        grid-template-columns:1fr;
      }
      .dashboard-session-bar{
        align-items:flex-start;
      }
      .dashboard-session-actions,
      .dashboard-export-actions,
      .dashboard-setup-actions,
      .dashboard-auth-actions{
        display:grid;
        grid-template-columns:1fr;
      }
    }
    @media (max-width:430px){
      header{
        padding:14px 12px 4px;
      }
      main,
      .dashboard-shell{
        padding-left:12px;
        padding-right:12px;
      }
      .brand-name{
        font-size:34px;
      }
      .panel,
      .market-toolbar,
      .market-section,
      .dashboard-shell .panel{
        border-radius:22px;
        padding:16px;
      }
      .photo-frame{
        height:min(86vw,392px);
        min-height:286px;
      }
      .drop-icon{
        width:58px;
        height:58px;
      }
      .drop-title{
        font-size:28px;
      }
      .drop-copy{
        font-size:14px;
        max-width:15rem;
      }
      .source-actions,
      .preview-actions,
      .result-actions{
        grid-template-columns:1fr;
      }
      .market-inline-title{
        font-size:18px;
      }
      .section-title{
        font-size:30px;
      }
      .provider-switch{
        grid-auto-columns:minmax(258px,88vw);
      }
      .provider-brand{
        grid-template-columns:74px minmax(0,1fr);
        gap:12px;
      }
      .provider-logo-shell{
        width:74px;
        height:58px;
      }
      .search-results{
        grid-template-columns:1fr;
      }
      .remote-thumb-shell{
        height:176px;
      }
      .remote-price{
        font-size:13px;
      }
      .dashboard-title,
      .dashboard-auth-title,
      .dashboard-exec-headline,
      .consent-modal-title{
        font-size:36px;
      }
      .dashboard-kpis{
        grid-template-columns:1fr;
      }
    }

    /* LensMatch UI reset - performance-first edition */
    :root{
      --bg:#f5f1ea;
      --card:#fffdfa;
      --card-soft:#faf6ef;
      --cream:#f1ebdf;
      --border:#e2d8ca;
      --border-strong:#d0c0a3;
      --ink:#18120d;
      --ink2:#6f665c;
      --ink3:#9a8f81;
      --gold:#9b7330;
      --gold2:#caa057;
      --gold-bg:#f8efdf;
      --sh:0 16px 36px rgba(40,28,14,.05);
      --r:24px;
    }
    html{
      scroll-behavior:smooth;
    }
    body{
      background:
        linear-gradient(180deg, rgba(240,223,186,.42) 0%, rgba(240,223,186,.12) 14%, rgba(240,223,186,0) 30%),
        linear-gradient(90deg, rgba(193,151,73,.14) 0%, rgba(193,151,73,0) 10%, rgba(193,151,73,0) 90%, rgba(193,151,73,.14) 100%),
        var(--bg);
      color:var(--ink);
      font-family:'Inter',sans-serif;
    }
    body::before{
      display:none;
    }
    header{
      width:min(1440px,100%);
      padding:18px 24px 8px;
      display:grid;
      grid-template-columns:minmax(0,1fr) auto;
      gap:20px;
      align-items:center;
    }
    .header-row{
      min-height:auto;
    }
    .brand{
      gap:14px;
    }
    .brand-mark{
      width:68px;
      height:52px;
      filter:none;
    }
    .brand-name{
      font-size:50px;
      font-weight:800;
      letter-spacing:-.08em;
      color:#291e13;
    }
    .brand-name-accent{
      color:#c69439;
      text-shadow:none;
    }
    .header-nav{
      gap:8px;
      padding:6px;
      border-radius:999px;
      background:rgba(255,255,255,.92);
      border:1px solid rgba(226,216,202,.95);
      box-shadow:0 8px 20px rgba(41,29,13,.06);
      backdrop-filter:none;
    }
    .header-tab{
      min-width:132px;
      padding:12px 18px;
      border-radius:999px;
      border:1px solid transparent;
      background:transparent;
      color:var(--ink3);
      font:inherit;
      font-size:11px;
      font-weight:800;
      letter-spacing:.22em;
      text-transform:uppercase;
      transition:transform .16s ease, background .16s ease, border-color .16s ease, color .16s ease;
    }
    .header-tab:hover{
      transform:translateY(-1px);
      border-color:rgba(202,160,87,.42);
      color:var(--ink);
    }
    .header-tab.sel{
      background:linear-gradient(180deg,#fffdf9 0%, #f4ead8 100%);
      border-color:rgba(202,160,87,.72);
      color:#7b5820;
      box-shadow:none;
    }
    .app-view{
      opacity:0;
      transition:opacity .12s ease;
    }
    .app-view.is-active{
      opacity:1;
    }
    main,
    .dashboard-shell{
      width:min(1440px,100%);
      padding-left:24px;
      padding-right:24px;
    }
    main{
      display:grid;
      grid-template-columns:360px minmax(0,1fr);
      gap:20px;
      align-items:stretch;
      height:calc(100vh - 118px);
      min-height:calc(100vh - 118px);
      overflow:hidden;
      padding-top:8px;
      padding-bottom:42px;
    }
    main>.panel{
      overflow-y:auto;
      max-height:100%;
      min-height:0;
      padding-bottom:24px;
      background:transparent;
      contain:none;
      overscroll-behavior:contain;
      scrollbar-gutter:stable;
      scrollbar-width:none;
    }
    main>.panel::-webkit-scrollbar{
      display:none;
      width:0;
      height:0;
      background:transparent;
    }
    .panel,
    .market-toolbar,
    .market-section,
    .dashboard-shell .panel{
      background:var(--card);
      border:1px solid rgba(226,216,202,.96);
      border-radius:24px;
      box-shadow:var(--sh);
      backdrop-filter:none;
    }
    .panel{
      padding:20px;
    }
    .panel-title,
    .search-title{
      font-size:10px;
      font-weight:700;
      letter-spacing:.24em;
      text-transform:uppercase;
      color:#9b7330;
    }
    .panel-title{
      margin-bottom:16px;
    }
    .panel-title::after{
      background:linear-gradient(90deg, rgba(208,192,163,.7), rgba(208,192,163,.16));
    }
    .photo-frame{
      height:500px;
      border-radius:22px;
      border:1px solid rgba(226,216,202,.92);
      background:linear-gradient(180deg,#faf6ef 0%, #efe7db 100%);
      overflow:hidden;
      box-shadow:inset 0 1px 0 rgba(255,255,255,.8);
    }
    #drop-zone{
      border-radius:22px;
      border:1px dashed rgba(208,192,163,.9);
      background:linear-gradient(180deg,#fffdf9 0%, #faf5ec 100%);
      padding:28px 22px;
      gap:12px;
      transition:border-color .16s ease, background .16s ease;
    }
    #drop-zone:hover,
    #drop-zone.drag{
      background:linear-gradient(180deg,#fffaf1 0%, #f7eedf 100%);
      border-color:var(--gold2);
    }
    .drop-icon{
      width:64px;
      height:64px;
      border-radius:999px;
      background:linear-gradient(180deg,#fffefb 0%, #f2e9dd 100%);
      border:1px solid rgba(226,216,202,.96);
      color:#847969;
      box-shadow:none;
    }
    .drop-title{
      font-family:'Playfair Display',serif;
      font-size:30px;
      line-height:.98;
      letter-spacing:-.04em;
      color:#20170f;
    }
    .drop-copy{
      max-width:18rem;
      color:var(--ink2);
      font-size:15px;
      line-height:1.65;
      text-align:center;
    }
    .stage{
      border-radius:22px;
      border-color:rgba(226,216,202,.9);
      background:#efe7dc;
    }
    .run-feedback-card{
      background:rgba(25,20,14,.12);
      backdrop-filter:blur(12px);
    }
    .run-feedback-panel{
      width:min(330px,100%);
      border-radius:24px;
      padding:22px 20px 18px;
      background:linear-gradient(180deg, rgba(255,253,248,.96) 0%, rgba(250,244,235,.92) 100%);
      border:1px solid rgba(226,216,202,.92);
      box-shadow:0 20px 44px rgba(32,22,11,.12);
    }
    .run-feedback-copy{
      font-family:'Playfair Display',serif;
      font-size:28px;
      line-height:.98;
    }
    .run-feedback-meta{
      color:var(--ink2);
      font-size:13px;
      line-height:1.6;
    }
    .source-actions,
    .preview-actions,
    .result-actions{
      display:flex;
      gap:10px;
      margin-top:14px;
    }
    .btn{
      min-height:50px;
      border-radius:16px;
      font-family:'Inter',sans-serif;
      font-size:11px;
      font-weight:800;
      letter-spacing:.18em;
      text-transform:uppercase;
      transition:transform .16s ease, background .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease;
    }
    .btn:hover:not(:disabled){
      transform:translateY(-1px);
    }
    .btn-primary{
      background:linear-gradient(180deg,#1e1711 0%, #2c2218 100%);
      color:#fffdf8;
      box-shadow:0 12px 24px rgba(29,22,14,.16);
    }
    .btn-secondary{
      background:#fff;
      border:1px solid rgba(226,216,202,.96);
      color:var(--ink);
    }
    .btn-secondary:hover:not(:disabled),
    .btn-ghost:hover:not(:disabled){
      background:var(--gold-bg);
      border-color:rgba(202,160,87,.72);
      color:#7d5921;
    }
    .btn-ghost{
      background:#fff;
      border:1px solid rgba(226,216,202,.96);
      color:var(--ink2);
    }
    .btn-store{
      background:var(--card-soft);
      border:1px solid rgba(226,216,202,.96);
      color:var(--ink);
      box-shadow:none;
    }
    .studio-cta,
    .fit-panel,
    .privacy-panel{
      margin-top:16px;
    }
    .studio-note,
    .fit-note,
    .privacy-note,
    .privacy-status,
    .hint{
      color:var(--ink2);
      font-size:13px;
      line-height:1.65;
    }
    .selection-summary,
    .fit-panel,
    .privacy-panel{
      border-radius:20px;
      border:1px solid rgba(226,216,202,.94);
      background:var(--card-soft);
      box-shadow:none;
    }
    .selection-summary{
      padding:14px;
    }
    .selection-summary strong{
      font-size:16px;
      letter-spacing:-.02em;
    }
    .fit-title,
    .privacy-title{
      font-family:'Playfair Display',serif;
      font-size:24px;
      line-height:1.02;
      letter-spacing:-.03em;
      color:#20170f;
    }
    .fit-badge{
      background:var(--gold-bg);
      border:1px solid rgba(202,160,87,.28);
      color:#8b6529;
    }
    .market-panel{
      display:flex;
      flex-direction:column;
      gap:16px;
    }
    .market-toolbar,
    .market-section{
      padding:18px;
    }
    .market-toolbar{
      position:relative;
      overflow:visible;
      content-visibility:visible;
      contain:none;
    }
    .market-toolbar::before{
      content:none;
      display:none;
    }
    .market-toolbar > *{
      position:relative;
      z-index:1;
    }
    .market-toolbar-head{
      margin-bottom:12px;
    }
    .market-inline-title{
      margin:0;
      font-size:18px;
      font-weight:700;
      letter-spacing:-.02em;
      color:#241b12;
      font-family:'Inter',sans-serif;
    }
    .provider-switch{
      display:grid;
      grid-template-columns:repeat(3,minmax(0,1fr));
      gap:12px;
      margin-top:2px;
      min-height:110px;
      align-items:stretch;
    }
    .provider-btn{
      padding:14px;
      border-radius:18px;
      background:#fff;
      border:1px solid rgba(226,216,202,.94);
      box-shadow:none;
      min-height:110px;
      display:block;
      overflow:hidden;
    }
    .provider-btn:hover{
      box-shadow:none;
      background:var(--card-soft);
    }
    .provider-btn.sel{
      background:linear-gradient(180deg,#fffdf8 0%, #f7eedf 100%);
      border-color:rgba(202,160,87,.82);
      box-shadow:0 0 0 2px rgba(202,160,87,.14);
    }
    .provider-brand{
      display:grid;
      grid-template-columns:72px minmax(0,1fr);
      gap:12px;
      align-items:center;
      min-height:100%;
    }
    .provider-logo-shell{
      display:flex;
      align-items:center;
      justify-content:center;
      width:72px;
      height:56px;
      border-radius:16px;
      box-shadow:none;
    }
    .provider-copy{
      display:flex;
      flex-direction:column;
      gap:4px;
      min-width:0;
    }
    .provider-copy em{
      font-size:9px;
      letter-spacing:.18em;
      color:#9a7b48;
    }
    .provider-copy strong{
      font-size:16px;
      line-height:1.12;
      letter-spacing:-.03em;
      font-family:'Inter',sans-serif;
      font-weight:800;
      color:#21170f;
    }
    .provider-copy span{
      font-size:12px;
      line-height:1.45;
      color:#746859;
      max-width:none;
    }
    .search-row{
      display:grid;
      grid-template-columns:minmax(0,1fr) 128px;
      gap:10px;
      margin-top:14px;
    }
    .search-input{
      min-height:50px;
      padding:0 16px;
      border-radius:16px;
      border:1px solid rgba(226,216,202,.96);
      background:#fff;
      font-family:'Inter',sans-serif;
      font-size:15px;
    }
    .search-input::placeholder{
      color:#a09382;
    }
    .search-input:focus{
      box-shadow:0 0 0 3px rgba(202,160,87,.12);
    }
    .suggestions{
      margin-top:14px;
      display:flex;
      flex-wrap:wrap;
      gap:8px;
    }
    .chip{
      padding:9px 12px;
      border-radius:999px;
      background:#fff;
      border:1px solid rgba(226,216,202,.94);
      font-size:11px;
      font-weight:700;
      letter-spacing:.12em;
      color:#766b5c;
      text-transform:uppercase;
    }
    .market-section{
      content-visibility:visible;
      contain:none;
    }
    .section-head{
      display:flex;
      align-items:flex-end;
      justify-content:space-between;
      gap:16px;
      margin-bottom:14px;
    }
    .section-title{
      margin:0;
      font-family:'Playfair Display',serif;
      font-size:28px;
      line-height:.98;
      letter-spacing:-.04em;
      color:#20170f;
    }
    .search-empty{
      color:var(--ink2);
      font-size:13px;
      line-height:1.6;
    }
    .search-results{
      margin:0;
      padding:0;
      display:grid;
      grid-template-columns:repeat(4,minmax(0,1fr));
      gap:14px;
      align-content:start;
      contain:none;
    }
    .remote-card{
      background:#fff;
      border:1px solid rgba(226,216,202,.94);
      border-radius:18px;
      padding:14px;
      box-shadow:none;
      content-visibility:visible;
      contain:none;
    }
    .remote-card:hover{
      transform:translateY(-2px);
      border-color:rgba(202,160,87,.76);
      box-shadow:0 10px 20px rgba(40,28,14,.06);
      background:var(--card-soft);
    }
    .remote-card.sel{
      background:var(--gold-bg);
      border-color:rgba(202,160,87,.82);
      box-shadow:0 0 0 2px rgba(202,160,87,.14);
    }
    .remote-thumb-shell{
      height:168px;
      border-radius:14px;
      background:#fff;
      border:1px solid rgba(226,216,202,.94);
      padding:14px;
      margin-bottom:12px;
    }
    .remote-name{
      font-size:15px;
      line-height:1.48;
      min-height:4.5em;
      margin-bottom:8px;
      color:#241a10;
      font-weight:600;
    }
    .remote-price{
      font-size:14px;
      line-height:1.5;
      color:#776a5b;
      min-height:22px;
      margin-bottom:8px;
    }
    .remote-size{
      font-size:10px;
      letter-spacing:.12em;
      padding:7px 10px;
      border-radius:999px;
    }
    .featured-actions{
      margin-top:18px;
      justify-content:center;
    }
    .featured-refresh-btn{
      min-width:240px;
    }
    .upload-box{
      order:3;
      margin-top:0;
      padding:16px;
      border-radius:18px;
      border:1px dashed rgba(208,192,163,.9);
      background:var(--card-soft);
      box-shadow:none;
    }
    .upload-box:hover{
      background:var(--gold-bg);
    }
    .upload-box-copy strong{
      font-size:11px;
      letter-spacing:.18em;
      color:#241a10;
    }
    .upload-box-copy span{
      font-size:13px;
      line-height:1.55;
    }
    .dashboard-shell{
      display:flex;
      flex-direction:column;
      gap:16px;
      padding-top:8px;
      padding-bottom:40px;
    }
    .dashboard-shell .panel{
      border-radius:20px;
      box-shadow:none;
    }
    .dashboard-hero{
      display:grid;
      grid-template-columns:minmax(0,1fr) auto;
      gap:18px;
      align-items:start;
      padding:22px;
    }
    .dashboard-title{
      font-family:'Playfair Display',serif;
      font-size:40px;
      line-height:.96;
      letter-spacing:-.04em;
      margin-top:8px;
      color:#1f170f;
    }
    .dashboard-copy{
      margin-top:10px;
      font-size:14px;
      line-height:1.65;
      max-width:60ch;
      color:var(--ink2);
    }
    .dashboard-toolbar{
      display:grid;
      grid-template-columns:minmax(0,1fr) 170px auto;
      gap:10px;
      align-items:end;
      background:none;
      border:none;
      padding:0;
    }
    .dashboard-filter-label{
      font-size:10px;
      letter-spacing:.2em;
      text-transform:uppercase;
      color:#9b7330;
      font-weight:700;
    }
    .dashboard-provider-chips{
      gap:8px;
    }
    .dashboard-chip{
      padding:9px 12px;
      border-radius:999px;
      background:#fff;
      border:1px solid rgba(226,216,202,.94);
      color:#736757;
      font-size:11px;
      font-weight:700;
      letter-spacing:.12em;
      text-transform:uppercase;
      box-shadow:none;
    }
    .dashboard-chip.sel{
      background:var(--gold-bg);
      border-color:rgba(202,160,87,.72);
      color:#835d20;
    }
    .dashboard-select,
    .dashboard-auth-input{
      min-height:48px;
      border-radius:14px;
      border:1px solid rgba(226,216,202,.96);
      background:#fff;
      color:#20170f;
      padding:0 14px;
      box-shadow:none;
    }
    .dashboard-kpis{
      display:grid;
      grid-template-columns:repeat(4,minmax(0,1fr));
      gap:12px;
    }
    .dashboard-kpi{
      padding:18px;
      border-radius:18px;
      background:#fff;
      border:1px solid rgba(226,216,202,.94);
      box-shadow:none;
    }
    .dashboard-kpi::before{
      height:3px;
      background:linear-gradient(90deg,#caa057 0%, #ead49b 100%);
    }
    .dashboard-kpi-label{
      font-size:10px;
      letter-spacing:.18em;
      color:#8b7d6c;
      font-weight:700;
    }
    .dashboard-kpi-value{
      margin-top:10px;
      font-family:'Inter',sans-serif;
      font-size:30px;
      font-weight:800;
      letter-spacing:-.06em;
      color:#1e170f;
    }
    .dashboard-kpi-meta{
      margin-top:8px;
      font-size:12px;
      line-height:1.6;
      color:var(--ink2);
    }
    .dashboard-exec-grid,
    .dashboard-grid,
    .dashboard-lower-grid,
    .dashboard-governance-grid{
      display:grid;
      gap:16px;
    }
    .dashboard-exec-grid{
      grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);
    }
    .dashboard-grid{
      grid-template-columns:minmax(0,1.06fr) minmax(320px,.94fr);
    }
    .dashboard-lower-grid{
      grid-template-columns:minmax(0,1.06fr) minmax(320px,.94fr);
    }
    .dashboard-ops-grid{
      display:grid;
      grid-template-columns:1fr;
      gap:16px;
    }
    .dashboard-card{
      padding:20px;
      border-radius:20px;
      background:#fff;
      border:1px solid rgba(226,216,202,.94);
      box-shadow:none;
      overflow:hidden;
      content-visibility:visible;
      contain:none;
    }
    .dashboard-shell .section-head{
      padding-bottom:12px;
      margin-bottom:14px;
      border-bottom:1px solid rgba(226,216,202,.82);
    }
    .dashboard-shell .search-title{
      margin:0 0 4px;
      font-size:10px;
      letter-spacing:.22em;
      color:#9b7330;
      font-weight:700;
      font-family:'Inter',sans-serif;
    }
    .dashboard-shell .section-title{
      margin:0;
      font-family:'Inter',sans-serif;
      font-size:20px;
      font-weight:800;
      letter-spacing:-.03em;
      color:#1f170f;
    }
    .dashboard-exec-headline{
      font-family:'Playfair Display',serif;
      font-size:32px;
      font-weight:600;
      line-height:1.02;
      letter-spacing:-.04em;
      color:#1f170f;
    }
    .dashboard-exec-points{
      gap:10px;
      margin-top:16px;
    }
    .dashboard-exec-point{
      padding-left:12px;
      border-left:3px solid rgba(202,160,87,.72);
      color:var(--ink2);
      line-height:1.7;
    }
    .dashboard-exec-priority,
    .dashboard-empty{
      border-radius:16px;
      background:var(--card-soft);
      border:1px solid rgba(226,216,202,.94);
    }
    .dashboard-exec-priority{
      padding:14px;
    }
    .dashboard-export-actions,
    .dashboard-session-actions,
    .dashboard-auth-actions,
    .dashboard-setup-actions,
    .dashboard-onboarding-actions,
    .privacy-actions,
    .consent-modal-actions{
      display:flex;
      flex-wrap:wrap;
      gap:8px;
    }
    .dashboard-session-bar{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:12px;
      padding:14px 16px;
      border-radius:16px;
      background:var(--card-soft);
      border:1px solid rgba(226,216,202,.94);
    }
    .dashboard-session-copy strong{
      font-size:10px;
      letter-spacing:.22em;
      text-transform:uppercase;
      color:#9b7330;
    }
    .dashboard-session-copy span,
    .dashboard-governance-copy,
    .dashboard-export-status,
    .dashboard-auth-status,
    .dashboard-onboarding-note,
    .dashboard-onboarding-file-name,
    .dashboard-activity-meta,
    .dashboard-product-meta{
      color:var(--ink2);
      line-height:1.6;
    }
    .dashboard-provider-grid{
      display:grid;
      grid-template-columns:repeat(3,minmax(0,1fr));
      gap:12px;
    }
    .dashboard-provider-card,
    .dashboard-mini-stat{
      border-radius:16px;
      background:var(--card-soft);
      border:1px solid rgba(226,216,202,.94);
    }
    .dashboard-provider-card{
      padding:16px;
    }
    .dashboard-provider-stats{
      display:grid;
      grid-template-columns:repeat(2,minmax(0,1fr));
      gap:8px;
    }
    .dashboard-mini-stat{
      padding:10px 12px;
    }
    .dashboard-product{
      padding:16px 0;
      border-bottom:1px solid rgba(226,216,202,.84);
      background:none;
      border-radius:0;
    }
    .dashboard-list .dashboard-product:last-child,
    .dashboard-activity .dashboard-activity-item:last-child{
      border-bottom:none;
      padding-bottom:0;
    }
    .dashboard-pill{
      font-size:10px;
      font-weight:800;
      letter-spacing:.14em;
      text-transform:uppercase;
    }
    .dashboard-activity{
      gap:0;
    }
    .dashboard-activity-item{
      padding:14px 0;
      border-bottom:1px solid rgba(226,216,202,.84);
      align-items:start;
    }
    .dashboard-activity-dot{
      box-shadow:none;
    }
    .dashboard-auth-card{
      max-width:760px;
      margin:0 auto;
      padding:28px;
    }
    .dashboard-auth-title{
      font-family:'Playfair Display',serif;
      font-size:42px;
      line-height:.98;
      letter-spacing:-.04em;
      color:#1f170f;
      margin-top:10px;
    }
    .dashboard-auth-copy{
      margin-top:10px;
      font-size:14px;
      line-height:1.7;
      max-width:60ch;
    }
    .dashboard-governance-retention{
      display:flex;
      flex-wrap:wrap;
      gap:8px;
      margin-top:12px;
      margin-bottom:12px;
    }
    .dashboard-audit-item{
      padding:12px 0;
      border-bottom:1px solid rgba(226,216,202,.84);
    }
    .consent-modal{
      padding:18px;
      backdrop-filter:blur(8px);
      background:rgba(25,20,14,.2);
    }
    .consent-modal-card{
      width:min(100%,460px);
      padding:22px;
      border-radius:22px;
      background:#fffdfa;
      border:1px solid rgba(226,216,202,.96);
      box-shadow:0 20px 44px rgba(30,21,11,.14);
    }
    .consent-modal-title{
      font-family:'Playfair Display',serif;
      font-size:34px;
      line-height:.98;
      letter-spacing:-.04em;
      color:#1f170f;
    }
    @media (max-width:1180px){
      main{
        grid-template-columns:1fr;
      }
      main>.panel:first-child{
        position:static;
      }
      .dashboard-hero,
      .dashboard-exec-grid,
      .dashboard-grid,
      .dashboard-lower-grid,
      .dashboard-governance-grid{
        grid-template-columns:1fr;
      }
      .dashboard-kpis{
        grid-template-columns:repeat(2,minmax(0,1fr));
      }
    }
    @media (max-width:768px){
      header{
        padding:14px 14px 6px;
        grid-template-columns:1fr;
        gap:14px;
      }
      .brand-name{
        font-size:38px;
      }
      .header-nav{
        width:100%;
        justify-content:stretch;
      }
      .header-tab{
        min-width:0;
        flex:1 1 0;
      }
      main,
      .dashboard-shell{
        padding-left:14px;
        padding-right:14px;
      }
      main{
        padding-bottom:28px;
        gap:16px;
      }
      .panel,
      .market-toolbar,
      .market-section,
      .dashboard-shell .panel{
        border-radius:20px;
        padding:16px;
      }
      .photo-frame{
        height:min(88vw,430px);
        min-height:300px;
      }
      .drop-title{
        font-size:28px;
      }
      .provider-switch{
        display:grid;
        grid-auto-flow:column;
        grid-auto-columns:minmax(258px,82vw);
        overflow-x:auto;
        overscroll-behavior-x:contain;
        scroll-snap-type:x proximity;
        padding-bottom:4px;
      }
      .provider-switch::-webkit-scrollbar,
      .suggestions::-webkit-scrollbar{
        display:none;
      }
      .provider-btn{
        scroll-snap-align:start;
      }
      .search-row{
        grid-template-columns:1fr;
      }
      .search-row .btn{
        width:100%;
      }
      .suggestions{
        flex-wrap:nowrap;
        overflow-x:auto;
      }
      .chip{
        flex:0 0 auto;
        white-space:nowrap;
      }
      .search-results{
        grid-template-columns:repeat(2,minmax(0,1fr));
      }
      .remote-thumb-shell{
        height:152px;
      }
      .source-actions,
      .preview-actions,
      .result-actions,
      .selection-link-row,
      .dashboard-auth-actions,
      .dashboard-export-actions,
      .dashboard-session-actions,
      .dashboard-onboarding-actions,
      .dashboard-setup-actions,
      .privacy-actions,
      .consent-modal-actions{
        display:grid;
        grid-template-columns:1fr;
      }
      .dashboard-title,
      .dashboard-auth-title{
        font-size:36px;
      }
      .dashboard-toolbar,
      .dashboard-conversion-grid,
      .dashboard-setup-grid,
      .dashboard-onboarding-toolbar,
      .dashboard-onboarding-stats,
      .dashboard-onboarding-list,
      .dashboard-provider-grid,
      .dashboard-provider-stats,
      .dashboard-split{
        grid-template-columns:1fr;
      }
    }
    @media (max-width:430px){
      header{
        padding:12px 12px 4px;
      }
      main,
      .dashboard-shell{
        padding-left:12px;
        padding-right:12px;
      }
      .brand-mark{
        width:54px;
        height:42px;
      }
      .brand-name{
        font-size:32px;
      }
      .header-tab{
        padding:11px 8px;
        font-size:10px;
      }
      .panel,
      .market-toolbar,
      .market-section,
      .dashboard-shell .panel{
        padding:14px;
      }
      .photo-frame{
        height:min(92vw,392px);
        min-height:270px;
      }
      #drop-zone{
        padding:18px 14px;
      }
      .drop-title{
        font-size:26px;
      }
      .drop-copy{
        font-size:14px;
        max-width:14rem;
      }
      .provider-switch{
        grid-auto-columns:minmax(236px,88vw);
      }
      .provider-brand{
        grid-template-columns:64px minmax(0,1fr);
      }
      .provider-logo-shell{
        width:64px;
        height:50px;
      }
      .search-results{
        grid-template-columns:1fr;
      }
      .remote-thumb-shell{
        height:170px;
      }
      .section-title{
        font-size:24px;
      }
      .dashboard-title,
      .dashboard-auth-title,
      .consent-modal-title,
      .dashboard-exec-headline{
        font-size:32px;
      }
      .dashboard-kpis{
        grid-template-columns:1fr;
      }
    }

    /* Studio stability + mobile carousel refinements */
    @media (min-width:769px){
      main{
        height:calc(100svh - 108px);
        min-height:calc(100svh - 108px);
        grid-template-columns:minmax(320px,392px) minmax(0,1fr);
        gap:18px;
        align-items:stretch;
      }
      main > .panel{
        max-height:100%;
        overflow-y:auto;
      }
      main > .panel:first-child{
        display:flex;
        flex-direction:column;
        gap:16px;
      }
      .photo-frame{
        flex:0 0 auto;
        height:clamp(220px, calc(100svh - 400px), 500px);
        min-height:220px;
      }
      .source-actions,
      .preview-actions,
      .result-actions,
      .studio-cta,
      .fit-panel,
      .privacy-panel,
      .hint,
      .bottom-webcam-cta{
        flex:0 0 auto;
      }
    }

    @media (min-width:769px) and (max-height:760px){
      header{
        padding-top:14px;
        padding-bottom:6px;
      }
      main{
        height:calc(100svh - 92px);
        min-height:calc(100svh - 92px);
        gap:14px;
      }
      .panel,
      .market-toolbar,
      .market-section{
        padding:18px;
      }
      .photo-frame{
        height:clamp(210px, calc(100svh - 430px), 340px);
        min-height:210px;
      }
    }

    @media (max-width:768px){
      main{
        height:auto;
        min-height:0;
        overflow:visible;
      }
      main > .panel{
        max-height:none;
        overflow:visible;
      }
      main > .panel:first-child{
        display:flex;
        flex-direction:column;
        gap:14px;
      }
      .photo-frame{
        height:clamp(250px, 56svh, 420px);
        min-height:250px;
      }
      .source-actions,
      .preview-actions,
      .result-actions{
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:10px;
      }
      .source-actions > .btn:only-child,
      .preview-actions > .btn:only-child,
      .result-actions > .btn:only-child{
        grid-column:1 / -1;
      }
      #featured-grid,
      #catalog-search-results{
        display:grid;
        grid-auto-flow:column;
        grid-auto-columns:minmax(236px,78vw);
        gap:12px;
        overflow-x:auto;
        overscroll-behavior-x:contain;
        scroll-snap-type:x proximity;
        align-items:stretch;
        padding:4px 2px 8px;
        margin:2px -2px 0;
      }
      #featured-grid::-webkit-scrollbar,
      #catalog-search-results::-webkit-scrollbar{
        display:none;
      }
      #featured-grid .remote-card,
      #catalog-search-results .remote-card{
        scroll-snap-align:start;
        min-height:100%;
      }
      .remote-card{
        padding:14px;
        border-radius:18px;
      }
      .remote-thumb-shell{
        height:172px;
      }
      .featured-actions{
        justify-content:flex-start;
      }
      .featured-refresh-btn{
        width:100%;
        min-width:0;
      }
      .selection-summary{
        padding:16px;
      }
      .studio-note{
        font-size:14px;
        line-height:1.55;
      }
    }

    @media (max-width:430px){
      .photo-frame{
        height:clamp(230px, 50svh, 340px);
        min-height:230px;
      }
      #drop-zone{
        padding:16px 12px;
      }
      .drop-title{
        font-size:20px;
      }
      .drop-copy{
        font-size:13px;
        max-width:15rem;
      }
      #featured-grid,
      #catalog-search-results{
        grid-auto-columns:minmax(210px,84vw);
      }
      .remote-thumb-shell{
        height:160px;
      }
      .search-row .btn{
        min-height:48px;
      }
      .source-actions .btn,
      .preview-actions .btn,
      .result-actions .btn{
        min-height:48px;
      }
    }

    /* Brand refinement */
    .brand{
      gap:18px;
      padding:6px 0;
    }
    .brand-mark{
      width:92px;
      height:70px;
      filter:drop-shadow(0 14px 24px rgba(196,148,54,.18));
    }
    .brand-wordmark{
      gap:4px;
      align-items:flex-end;
    }
    .brand-name{
      font-size:56px;
      font-weight:800;
      letter-spacing:-.075em;
      color:#2b2015;
      text-shadow:0 1px 0 rgba(255,255,255,.5);
    }
    .brand-name-accent{
      color:#c89232;
      background:linear-gradient(180deg,#f5d889 0%,#d3a44c 52%,#b97c22 100%);
      -webkit-background-clip:text;
      background-clip:text;
      -webkit-text-fill-color:transparent;
      text-shadow:none;
    }

    .provider-brand{
      grid-template-columns:112px minmax(0,1fr);
      gap:18px;
    }
    .provider-logo-shell{
      width:108px;
      height:78px;
      border-radius:24px;
      box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 12px 28px rgba(26,23,20,.18);
    }
    .provider-logo{
      max-width:78%;
      max-height:58%;
      filter:drop-shadow(0 7px 16px rgba(0,0,0,.18));
    }
    .provider-copy strong{
      font-size:18px;
    }
    .provider-copy span{
      font-size:13px;
    }

    @media (max-width:768px){
      .brand{
        gap:14px;
      }
      .brand-mark{
        width:78px;
        height:60px;
      }
      .brand-name{
        font-size:46px;
      }
      .provider-brand{
        grid-template-columns:88px minmax(0,1fr);
        gap:14px;
      }
      .provider-logo-shell{
        width:84px;
        height:64px;
        border-radius:20px;
      }
      .provider-logo{
        max-width:76%;
        max-height:56%;
      }
    }

    @media (max-width:430px){
      .brand-mark{
        width:68px;
        height:52px;
      }
      .brand-name{
        font-size:38px;
      }
      .provider-brand{
        grid-template-columns:76px minmax(0,1fr);
        gap:12px;
      }
      .provider-logo-shell{
        width:72px;
        height:56px;
        border-radius:18px;
      }
      .provider-copy strong{
        font-size:16px;
      }
      .provider-copy span{
        font-size:12px;
      }
    }

    /* Compact top + photo-first studio refinement */
    header{
      padding:10px 18px 4px;
      gap:14px;
    }
    .brand{
      gap:14px;
      padding:2px 0;
    }
    .brand-mark{
      width:78px;
      height:60px;
      filter:drop-shadow(0 10px 18px rgba(196,148,54,.16));
    }
    .brand-name{
      font-size:46px;
      letter-spacing:-.07em;
    }
    .header-nav{
      gap:8px;
      padding:6px;
    }
    .header-tab{
      min-width:126px;
      padding:10px 16px;
      font-size:11px;
      letter-spacing:.13em;
    }

    @media (min-width:769px){
      main{
        height:calc(100svh - 90px);
        min-height:calc(100svh - 90px);
      }
      main > .panel:first-child{
        gap:12px;
      }
      main > .panel:first-child .panel-title{
        margin-bottom:10px;
      }
      .panel{
        padding:18px;
      }
      .photo-frame{
        height:clamp(260px, calc(100svh - 340px), 560px);
        min-height:260px;
      }
      .source-actions{
        gap:8px;
      }
      .source-actions .btn,
      .preview-actions .btn,
      .result-actions .btn{
        min-height:48px;
      }
      .studio-cta{
        gap:10px;
        margin-top:2px;
      }
      .studio-note{
        font-size:13px;
        line-height:1.55;
      }
      .selection-summary{
        padding:12px 14px;
      }
      .selection-summary strong{
        font-size:15px;
      }
      .selection-summary em{
        font-size:12px;
      }
      .fit-panel,
      .privacy-panel{
        margin-top:12px;
        padding:14px;
      }
      .fit-title,
      .privacy-title{
        font-size:21px;
      }
      .fit-note,
      .privacy-note,
      .privacy-status{
        font-size:12px;
      }
    }

    @media (min-width:769px) and (max-height:760px){
      header{
        padding-top:8px;
        padding-bottom:2px;
      }
      .brand-mark{
        width:72px;
        height:56px;
      }
      .brand-name{
        font-size:42px;
      }
      .header-tab{
        min-width:118px;
        padding:9px 14px;
      }
      .panel{
        padding:16px;
      }
      .photo-frame{
        height:clamp(240px, calc(100svh - 330px), 430px);
        min-height:240px;
      }
    }

    /* Mobile polish for provider row and catalog carousel */
    @media (max-width:768px){
      .market-toolbar,
      .market-section{
        overflow:hidden;
      }
      .market-inline-title{
        font-size:17px;
      }
      .provider-switch{
        display:flex;
        gap:12px;
        overflow-x:auto;
        overscroll-behavior-x:contain;
        scroll-snap-type:x proximity;
        padding:2px 2px 8px;
        margin:0 -2px;
      }
      .provider-switch .provider-btn{
        flex:0 0 min(236px,74vw);
        min-height:108px;
        padding:12px 14px;
        border-radius:20px;
        display:flex;
        align-items:center;
      }
      .provider-switch .provider-brand{
        display:grid;
        grid-template-columns:76px minmax(0,1fr);
        gap:12px;
        align-items:center;
        width:100%;
      }
      .provider-switch .provider-logo-shell{
        width:76px;
        height:58px;
        border-radius:18px;
      }
      .provider-switch .provider-copy{
        gap:4px;
      }
      .provider-switch .provider-copy em{
        font-size:9px;
        letter-spacing:.16em;
      }
      .provider-switch .provider-copy strong{
        font-size:15px;
        line-height:1.05;
      }
      .provider-switch .provider-copy span{
        font-size:11px;
        line-height:1.35;
        max-width:none;
      }

      #featured-grid,
      #catalog-search-results{
        display:flex;
        gap:12px;
        overflow-x:auto;
        overscroll-behavior-x:contain;
        scroll-snap-type:x proximity;
        padding:4px 2px 8px;
        margin:4px -2px 0;
        width:auto;
      }
      #featured-grid .remote-card,
      #catalog-search-results .remote-card{
        flex:0 0 min(238px,78vw);
        width:min(238px,78vw);
        min-height:auto;
        height:auto;
        scroll-snap-align:start;
        display:flex;
        flex-direction:column;
        gap:12px;
        align-self:flex-start;
        content-visibility:visible;
        contain:none;
      }
      #featured-grid .remote-thumb-shell,
      #catalog-search-results .remote-thumb-shell{
        width:100%;
        height:168px;
      }
      #featured-grid .remote-name,
      #catalog-search-results .remote-name{
        min-height:auto;
        font-size:14px;
        line-height:1.45;
      }
      #featured-grid .remote-price,
      #catalog-search-results .remote-price{
        min-height:auto;
      }
      .featured-actions{
        margin-top:12px;
      }
    }

    @media (max-width:430px){
      .market-toolbar,
      .market-section{
        padding:14px;
      }
      .provider-switch .provider-btn{
        flex-basis:min(208px,78vw);
        width:min(208px,78vw);
        min-height:98px;
        padding:10px 12px;
      }
      .provider-switch .provider-brand{
        grid-template-columns:68px minmax(0,1fr);
        gap:10px;
      }
      .provider-switch .provider-logo-shell{
        width:68px;
        height:52px;
        border-radius:16px;
      }
      .provider-switch .provider-copy strong{
        font-size:14px;
      }
      .provider-switch .provider-copy span{
        font-size:10.5px;
      }
      #featured-grid .remote-card,
      #catalog-search-results .remote-card{
        flex-basis:min(212px,80vw);
        width:min(212px,80vw);
        padding:13px;
        border-radius:18px;
      }
      #featured-grid .remote-thumb-shell,
      #catalog-search-results .remote-thumb-shell{
        height:154px;
      }
      #featured-grid .remote-name,
      #catalog-search-results .remote-name{
        font-size:13px;
      }
    }

    /* Mobile text refinement for provider cards and vitrine cards */
    @media (max-width:768px){
      .provider-switch .provider-copy strong,
      .provider-switch .provider-copy span,
      #featured-grid .remote-name,
      #catalog-search-results .remote-name{
        display:-webkit-box;
        -webkit-box-orient:vertical;
        overflow:hidden;
      }
      .provider-switch .provider-copy strong{
        -webkit-line-clamp:2;
      }
      .provider-switch .provider-copy span{
        -webkit-line-clamp:2;
      }
      #featured-grid .remote-card,
      #catalog-search-results .remote-card{
        padding:12px;
        gap:10px;
      }
      #featured-grid .remote-name,
      #catalog-search-results .remote-name{
        -webkit-line-clamp:4;
        font-size:12.5px;
        line-height:1.36;
        min-height:calc(1.36em * 4);
        max-height:calc(1.36em * 4);
        margin-bottom:6px;
      }
      #featured-grid .remote-price,
      #catalog-search-results .remote-price{
        min-height:auto;
        font-size:11.5px;
        line-height:1.34;
        color:#7a6d5f;
        margin-bottom:6px;
      }
      #featured-grid .remote-size,
      #catalog-search-results .remote-size{
        max-width:100%;
        font-size:8.5px;
        letter-spacing:.08em;
        padding:6px 9px;
        white-space:nowrap;
        overflow:hidden;
        text-overflow:ellipsis;
      }
    }

    @media (max-width:430px){
      .provider-switch .provider-btn{
        flex-basis:min(188px,72vw);
        width:min(188px,72vw);
        min-height:88px;
      }
      .provider-switch .provider-brand{
        grid-template-columns:60px minmax(0,1fr);
        gap:9px;
      }
      .provider-switch .provider-logo-shell{
        width:60px;
        height:46px;
        border-radius:14px;
      }
      .provider-switch .provider-copy strong{
        font-size:13px;
        line-height:1.04;
      }
      .provider-switch .provider-copy span{
        font-size:10px;
        line-height:1.24;
      }
      #featured-grid .remote-card,
      #catalog-search-results .remote-card{
        flex-basis:min(196px,74vw);
        width:min(196px,74vw);
        padding:12px;
        gap:9px;
      }
      #featured-grid .remote-thumb-shell,
      #catalog-search-results .remote-thumb-shell{
        height:146px;
      }
      #featured-grid .remote-name,
      #catalog-search-results .remote-name{
        font-size:12px;
        line-height:1.34;
        min-height:calc(1.34em * 4);
        max-height:calc(1.34em * 4);
      }
      #featured-grid .remote-price,
      #catalog-search-results .remote-price{
        font-size:10.5px;
        margin-bottom:5px;
      }
      #featured-grid .remote-size,
      #catalog-search-results .remote-size{
        font-size:7.8px;
        letter-spacing:.07em;
        padding:5px 8px;
      }
    }

    /* Final mobile tune for featured/search card text density */
    @media (max-width:768px){
      #featured-grid .remote-card,
      #catalog-search-results .remote-card{
        justify-content:flex-start;
      }
      #featured-grid .remote-name,
      #catalog-search-results .remote-name{
        -webkit-line-clamp:3;
        font-size:11.8px;
        line-height:1.32;
        min-height:calc(1.32em * 3);
        max-height:calc(1.32em * 3);
        margin-bottom:4px;
        overflow-wrap:anywhere;
        word-break:break-word;
      }
      #featured-grid .remote-price,
      #catalog-search-results .remote-price{
        font-size:10.8px;
        line-height:1.3;
        margin-bottom:4px;
      }
      #featured-grid .remote-size,
      #catalog-search-results .remote-size{
        font-size:8px;
        letter-spacing:.06em;
        padding:5px 8px;
      }
    }

    @media (max-width:430px){
      #featured-grid .remote-card,
      #catalog-search-results .remote-card{
        flex-basis:min(188px,72vw);
        width:min(188px,72vw);
        padding:11px;
      }
      #featured-grid .remote-thumb-shell,
      #catalog-search-results .remote-thumb-shell{
        height:140px;
      }
      #featured-grid .remote-name,
      #catalog-search-results .remote-name{
        font-size:11.2px;
        line-height:1.28;
        min-height:calc(1.28em * 3);
        max-height:calc(1.28em * 3);
      }
      #featured-grid .remote-price,
      #catalog-search-results .remote-price{
        font-size:10px;
      }
      #featured-grid .remote-size,
      #catalog-search-results .remote-size{
        font-size:7.5px;
        padding:5px 7px;
      }
    }

    /* Apple-like refinement + richer feedback layer */
    :root{
      --apple-sans:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text","Helvetica Neue",Inter,"Segoe UI",sans-serif;
      --apple-mono:ui-monospace,"SFMono-Regular",Menlo,Consolas,monospace;
      --ui-bg:#f6f5f2;
      --ui-surface:#ffffff;
      --ui-surface-soft:rgba(255,255,255,.92);
      --ui-line:rgba(20,24,31,.08);
      --ui-line-strong:rgba(20,24,31,.14);
      --ui-text:#14171b;
      --ui-muted:#6d737c;
      --ui-shadow:0 12px 36px rgba(15,23,42,.06),0 2px 8px rgba(15,23,42,.04);
      --ui-shadow-strong:0 22px 48px rgba(15,23,42,.12);
      --ui-accent:#c89d54;
      --ui-focus:#4f8df7;
      --ui-success:#1f8a5a;
      --ui-danger:#c55d4a;
    }

    html{
      background:var(--ui-bg);
    }

    body{
      background:
        radial-gradient(circle at 12% 0%, rgba(255,255,255,.84), transparent 24%),
        radial-gradient(circle at 84% -8%, rgba(223,196,142,.24), transparent 22%),
        linear-gradient(180deg,#fbfaf8 0%, #f4f2ee 48%, #edeae4 100%);
      color:var(--ui-text);
      font-family:var(--apple-sans);
      letter-spacing:-.01em;
    }

    body::before{
      content:'';
      position:fixed;
      inset:0;
      pointer-events:none;
      background:
        linear-gradient(180deg, rgba(255,255,255,.22), transparent 22%),
        radial-gradient(circle at top center, rgba(255,255,255,.38), transparent 38%);
      opacity:.72;
      z-index:-1;
    }

    header{
      width:min(1440px,100%);
      padding:18px 20px 10px;
      column-gap:18px;
    }

    .brand{
      gap:14px;
      padding:4px 0;
    }

    .brand-mark{
      width:74px;
      height:56px;
      filter:drop-shadow(0 12px 18px rgba(200,157,84,.16));
    }

    .brand-wordmark{
      align-items:baseline;
      gap:2px;
    }

    .brand-name{
      font-family:var(--apple-sans) !important;
      font-size:42px;
      font-weight:700;
      letter-spacing:-.085em;
      color:#232629;
      text-shadow:none;
    }

    .brand-name-accent{
      color:var(--ui-accent);
      background:linear-gradient(180deg,#f6dc96 0%, #d4a95a 52%, #bb8030 100%);
      -webkit-background-clip:text;
      background-clip:text;
      -webkit-text-fill-color:transparent;
      text-shadow:none;
    }

    .header-nav{
      gap:6px;
      padding:6px;
      border-radius:999px;
      border:1px solid var(--ui-line);
      background:rgba(255,255,255,.72);
      box-shadow:0 12px 30px rgba(15,23,42,.06);
      backdrop-filter:blur(14px) saturate(1.12);
    }

    .header-tab{
      min-width:116px;
      padding:11px 18px;
      border-radius:999px;
      background:transparent;
      border:1px solid transparent;
      color:var(--ui-muted);
      font-family:var(--apple-sans);
      font-size:11px;
      font-weight:700;
      letter-spacing:.12em;
      transition:transform .26s cubic-bezier(.22,1,.36,1),background .24s ease,border-color .24s ease,color .24s ease,box-shadow .24s ease;
    }

    .header-tab:hover{
      transform:translateY(-1px);
      border-color:var(--ui-line);
      background:rgba(255,255,255,.74);
      color:var(--ui-text);
    }

    .header-tab.sel{
      background:linear-gradient(180deg,#ffffff 0%, #f8f8f7 100%);
      border-color:var(--ui-line);
      color:var(--ui-text);
      box-shadow:0 10px 26px rgba(15,23,42,.08);
    }

    .app-view{
      opacity:0;
      transform:translateY(10px) scale(.996);
      filter:blur(10px);
      transition:opacity .42s cubic-bezier(.22,1,.36,1),transform .42s cubic-bezier(.22,1,.36,1),filter .42s ease;
    }

    .app-view.is-active{
      opacity:1;
      transform:none;
      filter:none;
    }

    main{
      gap:22px;
      padding:6px 20px 48px;
      height:calc(100vh - 98px);
    }

    .panel,
    .market-toolbar,
    .market-section,
    .dashboard-shell .panel{
      border:1px solid var(--ui-line) !important;
      border-radius:28px !important;
      background:rgba(255,255,255,.93) !important;
      box-shadow:var(--ui-shadow) !important;
      backdrop-filter:none;
    }

    main > .panel{
      background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(251,250,247,.94)) !important;
    }

    .panel-title,
    .search-title{
      font-family:var(--apple-sans);
      font-size:11px;
      font-weight:700;
      letter-spacing:.28em;
      text-transform:uppercase;
      color:#b68c46;
    }

    .panel-title::after{
      background:linear-gradient(90deg, rgba(200,185,160,.54), rgba(200,185,160,.12));
    }

    .drop-title,
    .section-title,
    .dashboard-title,
    .dashboard-auth-title,
    .dashboard-exec-headline,
    .consent-modal-title,
    .run-feedback-copy{
      font-family:var(--apple-sans) !important;
      font-weight:740;
      letter-spacing:-.065em;
      color:#121419;
    }

    .drop-title{
      font-size:clamp(2.1rem,3vw,3rem);
      line-height:.94;
    }

    .section-title{
      font-size:clamp(2rem,2.6vw,3rem);
      line-height:.92;
    }

    .market-inline-title{
      font-family:var(--apple-sans);
      font-size:clamp(1.35rem,2vw,1.78rem);
      font-weight:700;
      letter-spacing:-.045em;
      color:#1a1c21;
    }

    .dashboard-title,
    .dashboard-auth-title{
      font-size:clamp(2.3rem,3.8vw,4rem) !important;
      line-height:.92;
    }

    .dashboard-exec-headline,
    .consent-modal-title{
      font-size:clamp(2rem,3.2vw,3.1rem) !important;
      line-height:.95;
    }

    .dashboard-copy,
    .dashboard-auth-copy,
    .drop-copy,
    .studio-note,
    .fit-note,
    .privacy-note,
    .search-empty{
      color:var(--ui-muted);
    }

    .photo-frame{
      border-radius:28px !important;
      border:1px solid var(--ui-line) !important;
      background:linear-gradient(180deg,#fbfaf8 0%, #f1ece4 100%) !important;
      box-shadow:inset 0 1px 0 rgba(255,255,255,.86),0 14px 32px rgba(15,23,42,.06) !important;
    }

    #drop-zone{
      border-radius:28px !important;
      border-color:rgba(191,174,142,.52) !important;
      background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(247,244,238,.96)) !important;
      transition:border-color .28s ease,background .28s ease,box-shadow .28s ease,transform .28s ease;
    }

    #drop-zone:hover,
    #drop-zone.drag{
      border-color:rgba(200,160,87,.62) !important;
      background:linear-gradient(180deg,#fffefb 0%, #fbf5eb 100%) !important;
      box-shadow:0 20px 42px rgba(200,160,87,.09);
      transform:translateY(-2px);
    }

    .drop-icon{
      background:linear-gradient(180deg,#fff 0%, #f5f2ed 100%);
      border:1px solid var(--ui-line);
      box-shadow:0 14px 28px rgba(15,23,42,.06);
    }

    .stage{
      border-radius:28px !important;
      border:1px solid var(--ui-line) !important;
    }

    #image-stage.processing::after{
      content:'';
      position:absolute;
      inset:0;
      pointer-events:none;
      background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.16));
    }

    .selection-summary,
    .fit-panel,
    .privacy-panel{
      border-radius:22px !important;
      border:1px solid var(--ui-line) !important;
      background:linear-gradient(180deg,rgba(255,255,255,.95),rgba(249,248,245,.94)) !important;
      box-shadow:0 10px 24px rgba(15,23,42,.04);
    }

    .selection-summary{
      transition:transform .28s cubic-bezier(.22,1,.36,1),border-color .28s ease,box-shadow .28s ease;
    }

    .selection-summary[data-state='selected']{
      border-color:rgba(200,155,78,.34) !important;
      box-shadow:0 16px 34px rgba(15,23,42,.06),0 0 0 1px rgba(200,155,78,.14);
    }

    .selection-summary span{
      color:#90794f;
      font-weight:700;
    }

    .selection-summary strong{
      font-family:var(--apple-sans);
      letter-spacing:-.03em;
    }

    .selection-summary em{
      color:var(--ui-muted);
    }

    .search-row{
      gap:12px;
      align-items:center;
    }

    .search-input,
    .dashboard-auth-input,
    .dashboard-select,
    .fit-input{
      background:linear-gradient(180deg,#fff 0%, #fbfbfa 100%);
      border:1px solid var(--ui-line-strong) !important;
      border-radius:18px !important;
      box-shadow:inset 0 1px 0 rgba(255,255,255,.95);
      transition:border-color .24s ease,box-shadow .24s ease,background .24s ease,transform .24s ease;
    }

    .search-input:focus,
    .dashboard-auth-input:focus,
    .dashboard-select:focus,
    .fit-input:focus{
      border-color:rgba(79,141,247,.48) !important;
      background:#fff;
      box-shadow:0 0 0 4px rgba(79,141,247,.12),inset 0 1px 0 rgba(255,255,255,.95) !important;
    }

    .btn{
      position:relative;
      overflow:hidden;
      min-height:52px;
      border-radius:18px !important;
      font-family:var(--apple-sans) !important;
      font-weight:700 !important;
      letter-spacing:.12em !important;
      text-transform:uppercase;
      transition:transform .28s cubic-bezier(.22,1,.36,1),background .24s ease,border-color .24s ease,color .24s ease,box-shadow .24s ease;
      transform:translateZ(0);
    }

    .btn::after{
      content:'';
      position:absolute;
      inset:0;
      background:linear-gradient(180deg,rgba(255,255,255,.22),rgba(255,255,255,0));
      opacity:0;
      transition:opacity .24s ease;
      pointer-events:none;
    }

    .btn:hover:not(:disabled)::after{
      opacity:.95;
    }

    .btn:active:not(:disabled){
      transform:translateY(0) scale(.985);
    }

    .btn:focus-visible,
    .provider-btn:focus-visible,
    .remote-card:focus-visible,
    .search-input:focus-visible,
    .header-tab:focus-visible{
      outline:none;
      box-shadow:0 0 0 4px rgba(79,141,247,.16) !important;
    }

    .btn-primary{
      background:linear-gradient(180deg,#171a1e 0%, #25292f 100%) !important;
      color:#fff !important;
      box-shadow:0 18px 38px rgba(17,21,26,.16) !important;
    }

    .btn-primary.loading{
      background:linear-gradient(90deg,#171a1e 0%, #2d3239 50%, #171a1e 100%) !important;
      background-size:200% 100%;
    }

    .btn-secondary,
    .btn-ghost,
    .btn-store{
      background:linear-gradient(180deg,#fff 0%, #f8f8f7 100%) !important;
      border:1px solid var(--ui-line) !important;
      color:#15171b !important;
      box-shadow:0 10px 20px rgba(15,23,42,.04);
    }

    .btn-secondary:hover:not(:disabled),
    .btn-ghost:hover:not(:disabled),
    .btn-store:hover:not(:disabled){
      background:linear-gradient(180deg,#fff 0%, #f2f2f1 100%) !important;
      border-color:rgba(20,24,31,.16) !important;
      color:#111 !important;
    }

    .provider-btn,
    .remote-card,
    .dashboard-kpi,
    .dashboard-card,
    .upload-box{
      transition:transform .32s cubic-bezier(.22,1,.36,1),box-shadow .32s ease,border-color .28s ease,background .28s ease !important;
    }

    .provider-btn{
      border-radius:24px !important;
      padding:18px !important;
      background:linear-gradient(180deg,#ffffff 0%, #f8f8f7 100%) !important;
      border:1px solid var(--ui-line) !important;
      box-shadow:0 12px 28px rgba(15,23,42,.06) !important;
      animation:appleReveal .52s calc(var(--reveal-index,0) * 60ms) both;
    }

    .provider-btn:hover{
      transform:translateY(-3px) scale(1.01) !important;
      border-color:rgba(20,24,31,.14) !important;
      box-shadow:0 18px 38px rgba(15,23,42,.1) !important;
    }

    .provider-btn.sel{
      border-color:rgba(200,155,78,.58) !important;
      box-shadow:0 0 0 4px rgba(200,155,78,.12),0 20px 42px rgba(15,23,42,.12) !important;
    }

    .provider-brand{
      grid-template-columns:104px minmax(0,1fr);
      gap:16px;
    }

    .provider-logo-shell{
      width:100px;
      height:72px;
      border-radius:24px;
      box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 12px 28px rgba(15,23,42,.16);
    }

    .provider-logo{
      max-width:76%;
      max-height:56%;
      filter:drop-shadow(0 8px 18px rgba(0,0,0,.18));
    }

    .provider-copy em{
      color:#9b8a68 !important;
      font-weight:700;
    }

    .provider-copy strong{
      color:#14171a !important;
      font-size:17px;
      letter-spacing:-.03em;
    }

    .provider-copy span{
      color:var(--ui-muted) !important;
      font-size:12.5px;
      max-width:30ch;
    }

    .remote-card{
      border-radius:24px !important;
      background:linear-gradient(180deg,#fff 0%, #fafafa 100%) !important;
      border:1px solid var(--ui-line) !important;
      box-shadow:0 12px 28px rgba(15,23,42,.05) !important;
      animation:appleReveal .56s calc(var(--reveal-index,0) * 45ms) both;
    }

    .remote-card:hover{
      transform:translateY(-4px) !important;
      border-color:rgba(20,24,31,.14) !important;
      box-shadow:0 22px 44px rgba(15,23,42,.12) !important;
    }

    .remote-card.sel{
      border-color:rgba(200,155,78,.58) !important;
      background:linear-gradient(180deg,#fffdf9 0%, #fbf6ec 100%) !important;
      box-shadow:0 0 0 4px rgba(200,155,78,.12),0 24px 44px rgba(15,23,42,.14) !important;
      animation:appleSelectPulse .48s ease;
    }

    .remote-thumb-shell{
      border-radius:20px !important;
      background:linear-gradient(180deg,#fff 0%, #f5f6f7 100%) !important;
      border:1px solid rgba(20,24,31,.08) !important;
    }

    .remote-name{
      font-family:var(--apple-sans) !important;
      font-weight:650;
      letter-spacing:-.025em;
      color:var(--ui-text);
      line-height:1.38;
    }

    .remote-price{
      color:var(--ui-muted);
      font-weight:600;
    }

    .remote-size{
      background:rgba(247,243,236,.98) !important;
      border:1px solid rgba(200,155,78,.22) !important;
      color:#9a7635 !important;
      font-weight:700;
    }

    .market-toolbar,
    .market-section,
    .dashboard-hero,
    .dashboard-card,
    .dashboard-kpi,
    .dashboard-auth-card{
      animation:appleReveal .58s both;
    }

    .market-section.is-loading .search-empty{
      animation:pulseHint 1.2s ease-in-out infinite;
    }

    .dashboard-shell{
      background:transparent !important;
      border:none !important;
      box-shadow:none !important;
    }

    .dashboard-card,
    .dashboard-kpi,
    .dashboard-session-bar,
    .dashboard-auth-card{
      border-radius:24px !important;
      border:1px solid var(--ui-line) !important;
      background:linear-gradient(180deg,rgba(255,255,255,.97),rgba(248,248,247,.94)) !important;
      box-shadow:0 18px 42px rgba(15,23,42,.06) !important;
    }

    .dashboard-status-line,
    .dashboard-auth-status,
    .dashboard-export-status,
    .studio-status,
    #camera-status,
    .privacy-status,
    .dashboard-onboarding-note,
    .dashboard-onboarding-file-name,
    .dashboard-activity-meta,
    .dashboard-product-meta,
    #conversion-status,
    #conversion-setup-status,
    #embed-setup-status,
    #catalog-import-status{
      display:flex;
      align-items:center;
      gap:9px;
      min-height:auto !important;
      padding:10px 12px;
      border-radius:16px;
      border:1px solid rgba(20,24,31,.08);
      background:rgba(247,247,248,.96);
      color:#6f747c !important;
      font-size:12px !important;
      line-height:1.55 !important;
      transition:transform .24s ease,border-color .24s ease,background .24s ease,color .24s ease,box-shadow .24s ease;
    }

    .dashboard-status-line::before,
    .dashboard-auth-status::before,
    .dashboard-export-status::before,
    .studio-status::before,
    #camera-status::before,
    .privacy-status::before,
    .dashboard-onboarding-note::before,
    .dashboard-onboarding-file-name::before,
    .dashboard-activity-meta::before,
    .dashboard-product-meta::before,
    #conversion-status::before,
    #conversion-setup-status::before,
    #embed-setup-status::before,
    #catalog-import-status::before{
      content:'';
      width:8px;
      height:8px;
      border-radius:999px;
      background:#b8bcc5;
      flex:0 0 8px;
      box-shadow:0 0 0 5px rgba(184,188,197,.16);
    }

    .dashboard-status-line[data-tone='success'],
    .dashboard-auth-status[data-tone='success'],
    .dashboard-export-status[data-tone='success'],
    .studio-status[data-tone='success'],
    #camera-status[data-tone='success'],
    .privacy-status[data-tone='success'],
    .dashboard-onboarding-note[data-tone='success'],
    .dashboard-onboarding-file-name[data-tone='success'],
    .dashboard-activity-meta[data-tone='success'],
    .dashboard-product-meta[data-tone='success'],
    #conversion-status[data-tone='success'],
    #conversion-setup-status[data-tone='success'],
    #embed-setup-status[data-tone='success'],
    #catalog-import-status[data-tone='success']{
      background:rgba(239,250,245,.96);
      border-color:rgba(31,138,90,.18);
      color:#2b6f50 !important;
    }

    .dashboard-status-line[data-tone='success']::before,
    .dashboard-auth-status[data-tone='success']::before,
    .dashboard-export-status[data-tone='success']::before,
    .studio-status[data-tone='success']::before,
    #camera-status[data-tone='success']::before,
    .privacy-status[data-tone='success']::before,
    .dashboard-onboarding-note[data-tone='success']::before,
    .dashboard-onboarding-file-name[data-tone='success']::before,
    .dashboard-activity-meta[data-tone='success']::before,
    .dashboard-product-meta[data-tone='success']::before,
    #conversion-status[data-tone='success']::before,
    #conversion-setup-status[data-tone='success']::before,
    #embed-setup-status[data-tone='success']::before,
    #catalog-import-status[data-tone='success']::before{
      background:var(--ui-success);
      box-shadow:0 0 0 5px rgba(31,138,90,.14);
    }

    .dashboard-status-line[data-tone='error'],
    .dashboard-auth-status[data-tone='error'],
    .dashboard-export-status[data-tone='error'],
    .studio-status[data-tone='error'],
    #camera-status[data-tone='error'],
    .privacy-status[data-tone='error'],
    .dashboard-onboarding-note[data-tone='error'],
    .dashboard-onboarding-file-name[data-tone='error'],
    .dashboard-activity-meta[data-tone='error'],
    .dashboard-product-meta[data-tone='error'],
    #conversion-status[data-tone='error'],
    #conversion-setup-status[data-tone='error'],
    #embed-setup-status[data-tone='error'],
    #catalog-import-status[data-tone='error']{
      background:rgba(253,243,241,.98);
      border-color:rgba(197,93,74,.18);
      color:#964638 !important;
    }

    .dashboard-status-line[data-tone='error']::before,
    .dashboard-auth-status[data-tone='error']::before,
    .dashboard-export-status[data-tone='error']::before,
    .studio-status[data-tone='error']::before,
    #camera-status[data-tone='error']::before,
    .privacy-status[data-tone='error']::before,
    .dashboard-onboarding-note[data-tone='error']::before,
    .dashboard-onboarding-file-name[data-tone='error']::before,
    .dashboard-activity-meta[data-tone='error']::before,
    .dashboard-product-meta[data-tone='error']::before,
    #conversion-status[data-tone='error']::before,
    #conversion-setup-status[data-tone='error']::before,
    #embed-setup-status[data-tone='error']::before,
    #catalog-import-status[data-tone='error']::before{
      background:var(--ui-danger);
      box-shadow:0 0 0 5px rgba(197,93,74,.14);
    }

    .dashboard-status-line[data-tone='info'],
    .dashboard-auth-status[data-tone='info'],
    .dashboard-export-status[data-tone='info'],
    .studio-status[data-tone='info'],
    #camera-status[data-tone='info'],
    .privacy-status[data-tone='info'],
    .dashboard-onboarding-note[data-tone='info'],
    .dashboard-onboarding-file-name[data-tone='info'],
    .dashboard-activity-meta[data-tone='info'],
    .dashboard-product-meta[data-tone='info'],
    #conversion-status[data-tone='info'],
    #conversion-setup-status[data-tone='info'],
    #embed-setup-status[data-tone='info'],
    #catalog-import-status[data-tone='info']{
      background:rgba(241,246,255,.98);
      border-color:rgba(79,141,247,.18);
      color:#3a65a7 !important;
    }

    .dashboard-status-line[data-tone='info']::before,
    .dashboard-auth-status[data-tone='info']::before,
    .dashboard-export-status[data-tone='info']::before,
    .studio-status[data-tone='info']::before,
    #camera-status[data-tone='info']::before,
    .privacy-status[data-tone='info']::before,
    .dashboard-onboarding-note[data-tone='info']::before,
    .dashboard-onboarding-file-name[data-tone='info']::before,
    .dashboard-activity-meta[data-tone='info']::before,
    .dashboard-product-meta[data-tone='info']::before,
    #conversion-status[data-tone='info']::before,
    #conversion-setup-status[data-tone='info']::before,
    #embed-setup-status[data-tone='info']::before,
    #catalog-import-status[data-tone='info']::before{
      background:var(--ui-focus);
      box-shadow:0 0 0 5px rgba(79,141,247,.14);
    }

    .is-flashing{
      animation:statusPulse .42s ease;
    }

    .run-feedback-card{
      background:linear-gradient(180deg,rgba(235,238,243,.12) 0%, rgba(235,238,243,.24) 100%) !important;
      backdrop-filter:blur(10px) saturate(1.04);
    }

    .run-feedback-panel{
      position:relative;
      width:min(340px,100%);
      padding:24px 22px 20px;
      border-radius:30px !important;
      background:linear-gradient(180deg,rgba(255,255,255,.84) 0%, rgba(248,248,247,.78) 100%) !important;
      border:1px solid rgba(255,255,255,.68) !important;
      box-shadow:0 30px 70px rgba(15,23,42,.16) !important;
    }

    .run-feedback-panel::before{
      content:'';
      position:absolute;
      inset:1px;
      border-radius:inherit;
      background:linear-gradient(180deg,rgba(255,255,255,.92),rgba(255,255,255,.42));
      pointer-events:none;
    }

    .run-feedback-panel > *{
      position:relative;
      z-index:1;
    }

    .run-feedback-spinner{
      background:rgba(255,255,255,.72) !important;
      border:1px solid rgba(20,24,31,.06) !important;
      box-shadow:0 18px 34px rgba(15,23,42,.08),inset 0 1px 0 rgba(255,255,255,.9) !important;
    }

    .run-feedback-spinner::before{
      width:32px;
      height:32px;
      border-width:3px;
      border-color:rgba(79,141,247,.16);
      border-top-color:#4f8df7;
      border-right-color:rgba(200,155,78,.62);
    }

    .run-feedback-kicker{
      background:rgba(255,255,255,.84) !important;
      border:1px solid rgba(200,155,78,.16) !important;
      color:#99783f !important;
      box-shadow:inset 0 1px 0 rgba(255,255,255,.8);
    }

    .run-feedback-copy{
      font-size:32px !important;
      line-height:.94;
    }

    .run-feedback-meta{
      color:var(--ui-muted) !important;
      font-size:13px !important;
    }

    #toast{
      min-width:min(460px,calc(100vw - 28px));
      max-width:min(560px,calc(100vw - 28px));
      display:flex;
      align-items:center;
      gap:10px;
      padding:14px 16px;
      border-radius:20px;
      background:rgba(22,24,28,.88) !important;
      border:1px solid rgba(255,255,255,.08);
      box-shadow:0 22px 52px rgba(15,23,42,.24);
      backdrop-filter:blur(18px) saturate(1.35);
      color:#fff;
    }

    #toast::before{
      content:'';
      width:9px;
      height:9px;
      border-radius:999px;
      background:var(--toast-accent,#d6b36a);
      flex:0 0 9px;
      box-shadow:0 0 0 6px rgba(255,255,255,.08);
    }

    #toast[data-tone='success']{
      --toast-accent:#35c58a;
      background:rgba(18,78,55,.92) !important;
    }

    #toast[data-tone='error']{
      --toast-accent:#ff7d6c;
      background:rgba(86,34,29,.92) !important;
    }

    #toast[data-tone='info']{
      --toast-accent:#63a1ff;
      background:rgba(20,33,61,.92) !important;
    }

    @keyframes appleReveal{
      from{
        opacity:0;
        transform:translateY(16px) scale(.992);
      }
      to{
        opacity:1;
        transform:none;
      }
    }

    @keyframes appleSelectPulse{
      0%{
        box-shadow:0 0 0 0 rgba(200,155,78,.18),0 14px 34px rgba(15,23,42,.08);
      }
      100%{
        box-shadow:0 0 0 4px rgba(200,155,78,.12),0 24px 44px rgba(15,23,42,.14);
      }
    }

    @keyframes pulseHint{
      0%,100%{
        opacity:.68;
        transform:translateY(0);
      }
      50%{
        opacity:1;
        transform:translateY(-1px);
      }
    }

    @keyframes statusPulse{
      0%{
        transform:translateY(0);
        box-shadow:none;
      }
      40%{
        transform:translateY(-1px);
        box-shadow:0 12px 24px rgba(15,23,42,.08);
      }
      100%{
        transform:none;
        box-shadow:none;
      }
    }

    @media (prefers-reduced-motion:reduce){
      *,
      *::before,
      *::after{
        animation:none !important;
        transition:none !important;
        scroll-behavior:auto !important;
      }
    }

    @media (max-width:768px){
      header{
        padding:14px 14px 8px !important;
        grid-template-columns:1fr !important;
        gap:12px;
      }

      .brand-mark{
        width:68px !important;
        height:52px !important;
      }

      .brand-name{
        font-size:38px !important;
      }

      .header-nav{
        width:100%;
        justify-content:space-between;
      }

      .header-tab{
        flex:1 1 0;
        min-width:0;
      }

      main{
        padding:4px 14px 36px !important;
        gap:16px !important;
      }

      .panel,
      .market-toolbar,
      .market-section{
        padding:16px !important;
        border-radius:24px !important;
      }

      .photo-frame{
        height:clamp(260px,52svh,410px) !important;
        border-radius:24px !important;
      }

      .drop-title{
        font-size:clamp(1.9rem,9vw,2.55rem) !important;
      }

      .drop-copy{
        font-size:14px !important;
        max-width:17rem !important;
      }

      .source-actions,
      .preview-actions,
      .result-actions{
        gap:10px !important;
      }

      .provider-switch{
        padding:2px 0 8px !important;
        margin:0 !important;
      }

      .provider-switch .provider-btn{
        flex:0 0 min(212px,74vw) !important;
        width:min(212px,74vw) !important;
        min-height:96px !important;
        padding:12px !important;
      }

      .provider-switch .provider-brand{
        grid-template-columns:64px minmax(0,1fr) !important;
        gap:10px !important;
      }

      .provider-switch .provider-logo-shell{
        width:64px !important;
        height:48px !important;
        border-radius:16px !important;
      }

      .provider-switch .provider-copy strong{
        font-size:14px !important;
        line-height:1.08 !important;
      }

      .provider-switch .provider-copy span{
        font-size:10.5px !important;
        line-height:1.28 !important;
      }

      #featured-grid,
      #catalog-search-results{
        gap:12px !important;
        padding:4px 0 8px !important;
        margin:8px 0 0 !important;
      }

      #featured-grid .remote-card,
      #catalog-search-results .remote-card{
        flex:0 0 min(198px,72vw) !important;
        width:min(198px,72vw) !important;
        padding:12px !important;
        gap:10px !important;
      }

      #featured-grid .remote-thumb-shell,
      #catalog-search-results .remote-thumb-shell{
        height:146px !important;
      }

      #featured-grid .remote-name,
      #catalog-search-results .remote-name{
        font-size:12.6px !important;
        line-height:1.34 !important;
        -webkit-line-clamp:3 !important;
        min-height:calc(1.34em * 3) !important;
        max-height:calc(1.34em * 3) !important;
        margin-bottom:4px !important;
      }

      #featured-grid .remote-price,
      #catalog-search-results .remote-price{
        font-size:11px !important;
        margin-bottom:4px !important;
      }

      #featured-grid .remote-size,
      #catalog-search-results .remote-size{
        font-size:8px !important;
        padding:5px 8px !important;
      }

      .featured-actions{
        margin-top:10px !important;
      }

      .featured-refresh-btn{
        min-width:0 !important;
      }

      #toast{
        min-width:calc(100vw - 24px);
        max-width:calc(100vw - 24px);
        left:12px !important;
        right:12px !important;
        bottom:18px !important;
        transform:translateY(12px) !important;
      }

      #toast.on{
        transform:translateY(0) !important;
      }
    }

    @media (max-width:430px){
      .brand-mark{
        width:62px !important;
        height:48px !important;
      }

      .brand-name{
        font-size:34px !important;
      }

      .provider-switch .provider-btn{
        flex:0 0 min(188px,72vw) !important;
        width:min(188px,72vw) !important;
        min-height:90px !important;
      }

      .provider-switch .provider-brand{
        grid-template-columns:58px minmax(0,1fr) !important;
        gap:9px !important;
      }

      .provider-switch .provider-logo-shell{
        width:58px !important;
        height:44px !important;
        border-radius:14px !important;
      }

      .provider-switch .provider-copy strong{
        font-size:13px !important;
      }

      .provider-switch .provider-copy span{
        font-size:10px !important;
      }

      #featured-grid .remote-card,
      #catalog-search-results .remote-card{
        flex:0 0 min(186px,72vw) !important;
        width:min(186px,72vw) !important;
        padding:11px !important;
      }

      #featured-grid .remote-thumb-shell,
      #catalog-search-results .remote-thumb-shell{
        height:138px !important;
      }

      #featured-grid .remote-name,
      #catalog-search-results .remote-name{
        font-size:11.8px !important;
      }

      #featured-grid .remote-price,
      #catalog-search-results .remote-price{
        font-size:10px !important;
      }

      #featured-grid .remote-size,
      #catalog-search-results .remote-size{
        font-size:7.5px !important;
        padding:5px 7px !important;
      }
    }

    /* 20260327g Marketplace + Studio frontend refresh */
    :root{
      --lm-sans:'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
      --lm-serif:'Fraunces', 'Playfair Display', serif;
      --lm-surface:rgba(255,255,255,.96);
      --lm-surface-soft:rgba(255,252,246,.98);
      --lm-border:rgba(226,216,202,.94);
      --lm-border-strong:rgba(202,160,87,.42);
      --lm-shadow:0 14px 32px rgba(38,27,15,.06);
      --lm-shadow-soft:0 8px 18px rgba(38,27,15,.045);
    }

    body,
    button,
    input,
    textarea,
    select{
      font-family:var(--lm-sans);
    }

    .market-inline-title,
    .provider-copy,
    .provider-copy em,
    .provider-copy strong,
    .provider-copy span,
    .search-input,
    .chip,
    .remote-name,
    .remote-price,
    .remote-size,
    .featured-refresh-btn,
    .drop-copy,
    .selection-meta,
    .selection-link-row,
    .studio-note{
      font-family:var(--lm-sans) !important;
    }

    .market-inline-title{
      font-size:17px !important;
      line-height:1.25 !important;
      letter-spacing:-.02em !important;
      font-weight:650 !important;
      color:#2b241d !important;
    }

    .market-section .section-title{
      font-family:var(--lm-serif) !important;
      font-size:clamp(2.05rem,2.55vw,3.15rem) !important;
      line-height:.94 !important;
      letter-spacing:-.045em !important;
      font-weight:500 !important;
      color:#21170f !important;
    }

    .provider-switch{
      display:grid !important;
      grid-template-columns:repeat(3,minmax(0,1fr)) !important;
      gap:14px !important;
      align-items:stretch !important;
    }

    .provider-btn{
      min-height:132px !important;
      padding:16px 17px !important;
      border-radius:20px !important;
      background:var(--lm-surface) !important;
      border:1px solid var(--lm-border) !important;
      box-shadow:var(--lm-shadow-soft) !important;
      overflow:hidden !important;
    }

    .provider-btn::after{
      content:'';
      position:absolute;
      inset:0;
      background:linear-gradient(180deg, rgba(255,255,255,.28), rgba(255,255,255,0));
      pointer-events:none;
    }

    .provider-btn:hover:not(.is-disabled){
      transform:translateY(-2px) !important;
      border-color:var(--lm-border-strong) !important;
      box-shadow:var(--lm-shadow) !important;
      background:var(--lm-surface-soft) !important;
    }

    .provider-btn.sel{
      box-shadow:0 0 0 2px rgba(202,160,87,.16), 0 16px 34px rgba(38,27,15,.08) !important;
    }

    .provider-brand{
      grid-template-columns:96px minmax(0,1fr) !important;
      gap:16px !important;
      align-items:center !important;
    }

    .provider-logo-shell{
      width:96px !important;
      height:72px !important;
      border-radius:22px !important;
      box-shadow:inset 0 1px 0 rgba(255,255,255,.16), 0 12px 26px rgba(26,23,20,.16) !important;
    }

    .provider-copy{
      gap:4px !important;
    }

    .provider-copy em,
    .provider-copy strong,
    .provider-copy span{
      display:-webkit-box;
      -webkit-box-orient:vertical;
      overflow:hidden;
    }

    .provider-copy em{
      font-size:10px !important;
      letter-spacing:.17em !important;
      text-transform:uppercase !important;
      color:#8b7d6d !important;
      -webkit-line-clamp:1;
    }

    .provider-copy strong{
      font-size:17px !important;
      line-height:1.15 !important;
      letter-spacing:-.03em !important;
      color:#241910 !important;
      font-weight:650 !important;
      -webkit-line-clamp:2;
    }

    .provider-copy span{
      font-size:12px !important;
      line-height:1.5 !important;
      color:#7a6d5e !important;
      max-width:none !important;
      -webkit-line-clamp:2;
    }

    .provider-placeholder{
      cursor:default !important;
      opacity:1 !important;
      background:linear-gradient(180deg, rgba(255,255,255,.98), rgba(250,246,239,.98)) !important;
      border-color:rgba(214,204,188,.92) !important;
      box-shadow:none !important;
    }

    .provider-placeholder:hover{
      transform:none !important;
      box-shadow:none !important;
    }

    .provider-logo-shell-placeholder{
      background:linear-gradient(145deg,#fbf5e9 0%,#efe4cf 100%) !important;
      border:1px solid rgba(205,188,152,.58) !important;
      display:flex !important;
      align-items:center !important;
      justify-content:center !important;
    }

    .provider-placeholder-mark{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      width:38px;
      height:38px;
      border-radius:999px;
      background:rgba(255,255,255,.68);
      border:1px solid rgba(202,160,87,.28);
      color:#9a7635;
      font-family:var(--lm-sans);
      font-size:12px;
      font-weight:700;
      letter-spacing:.16em;
      text-transform:uppercase;
    }

    .search-row{
      display:grid !important;
      grid-template-columns:minmax(0,1fr) 140px !important;
      gap:12px !important;
      align-items:center !important;
    }

    .search-input{
      min-height:54px !important;
      border-radius:18px !important;
      border:1px solid var(--lm-border) !important;
      background:rgba(255,255,255,.94) !important;
      color:#241910 !important;
      font-size:15px !important;
      letter-spacing:-.01em !important;
    }

    .suggestions{
      margin-top:14px !important;
      gap:10px !important;
    }

    .chip{
      padding:9px 13px !important;
      border-radius:999px !important;
      border:1px solid rgba(223,211,191,.92) !important;
      background:rgba(255,255,255,.92) !important;
      color:#7a6e60 !important;
      font-size:10.5px !important;
      letter-spacing:.13em !important;
      font-weight:650 !important;
    }

    .market-section{
      overflow:hidden;
    }

    .remote-card{
      display:flex !important;
      flex-direction:column !important;
      min-height:0 !important;
      gap:0 !important;
      padding:16px !important;
      border-radius:22px !important;
      background:var(--lm-surface) !important;
      border:1px solid var(--lm-border) !important;
      box-shadow:var(--lm-shadow-soft) !important;
    }

    .remote-card:hover{
      background:var(--lm-surface-soft) !important;
      border-color:var(--lm-border-strong) !important;
      box-shadow:var(--lm-shadow) !important;
    }

    .remote-card.sel{
      border-color:rgba(202,160,87,.8) !important;
      box-shadow:0 0 0 2px rgba(202,160,87,.16), 0 18px 34px rgba(38,27,15,.08) !important;
    }

    .remote-thumb-shell{
      position:relative !important;
      overflow:hidden !important;
      isolation:isolate !important;
      height:198px !important;
      padding:16px !important;
      margin-bottom:14px !important;
      border-radius:18px !important;
      background:linear-gradient(180deg,#ffffff 0%,#f8f6f1 100%) !important;
      border:1px solid rgba(223,211,191,.88) !important;
      box-shadow:inset 0 1px 0 rgba(255,255,255,.84), 0 10px 24px rgba(33,24,14,.05) !important;
    }

    .remote-thumb-shell::before{
      content:'';
      position:absolute;
      inset:0;
      border-radius:inherit;
      background:
        radial-gradient(circle at 50% 0%, rgba(214,174,93,.12), transparent 30%),
        linear-gradient(180deg, rgba(255,255,255,.12), rgba(240,233,220,.22));
      pointer-events:none;
      z-index:2;
    }

    .remote-thumb-shell::after{
      content:'';
      position:absolute;
      inset:0;
      border-radius:inherit;
      box-shadow:inset 0 -24px 30px rgba(106,88,60,.07), inset 0 0 0 1px rgba(255,255,255,.32);
      pointer-events:none;
      z-index:3;
    }

    .remote-thumb{
      position:relative !important;
      z-index:1 !important;
      width:100% !important;
      height:100% !important;
      object-fit:contain !important;
      filter:drop-shadow(0 16px 20px rgba(86,69,43,.12));
    }

    .remote-name{
      display:-webkit-box !important;
      -webkit-box-orient:vertical !important;
      -webkit-line-clamp:3 !important;
      overflow:hidden !important;
      min-height:calc(1.42em * 3) !important;
      max-height:calc(1.42em * 3) !important;
      margin-bottom:10px !important;
      font-size:14px !important;
      line-height:1.42 !important;
      font-weight:600 !important;
      letter-spacing:-.012em !important;
      color:#241910 !important;
    }

    .remote-price{
      min-height:20px !important;
      margin-bottom:9px !important;
      font-size:13px !important;
      line-height:1.45 !important;
      font-weight:500 !important;
      color:#7a6d5e !important;
    }

    .remote-size{
      display:inline-flex !important;
      align-items:center !important;
      justify-content:center !important;
      max-width:100% !important;
      padding:7px 10px !important;
      border-radius:999px !important;
      background:rgba(249,241,226,.96) !important;
      border:1px solid rgba(202,163,90,.22) !important;
      color:#946b29 !important;
      font-size:9px !important;
      letter-spacing:.12em !important;
      font-weight:650 !important;
      white-space:nowrap !important;
      overflow:hidden !important;
      text-overflow:ellipsis !important;
    }

    .featured-actions{
      margin-top:18px !important;
      justify-content:center !important;
    }

    .featured-refresh-btn{
      min-width:240px !important;
    }

    @media (max-width:768px){
      .provider-switch{
        display:grid !important;
        grid-template-columns:none !important;
        grid-auto-flow:column !important;
        grid-auto-columns:minmax(236px,78vw) !important;
        gap:12px !important;
        overflow-x:auto !important;
        padding:2px 0 10px !important;
        margin:0 !important;
        scroll-snap-type:x proximity !important;
      }

      .provider-switch::-webkit-scrollbar,
      .suggestions::-webkit-scrollbar,
      #featured-grid::-webkit-scrollbar,
      #catalog-search-results::-webkit-scrollbar{
        display:none !important;
      }

      .provider-btn{
        width:auto !important;
        min-height:120px !important;
        padding:14px !important;
        scroll-snap-align:start !important;
      }

      .provider-brand{
        grid-template-columns:74px minmax(0,1fr) !important;
        gap:12px !important;
      }

      .provider-logo-shell{
        width:74px !important;
        height:56px !important;
        border-radius:18px !important;
      }

      .provider-copy strong{
        font-size:15px !important;
      }

      .provider-copy span{
        font-size:11px !important;
      }

      .search-row{
        grid-template-columns:1fr !important;
      }

      .search-row .btn{
        width:100% !important;
        min-height:50px !important;
      }

      .suggestions{
        flex-wrap:nowrap !important;
        overflow-x:auto !important;
        gap:8px !important;
        padding-bottom:2px !important;
      }

      .chip{
        flex:0 0 auto !important;
        white-space:nowrap !important;
      }

      #featured-grid,
      #catalog-search-results{
        display:grid !important;
        grid-auto-flow:column !important;
        grid-auto-columns:minmax(216px,77vw) !important;
        gap:14px !important;
        overflow-x:auto !important;
        align-items:stretch !important;
        padding:4px 2px 10px !important;
        margin:8px -2px 0 !important;
        scroll-snap-type:x proximity !important;
      }

      #featured-grid .remote-card,
      #catalog-search-results .remote-card{
        flex:0 0 auto !important;
        width:auto !important;
        min-height:0 !important;
        padding:14px !important;
        scroll-snap-align:start !important;
      }

      #featured-grid .remote-thumb-shell,
      #catalog-search-results .remote-thumb-shell{
        height:156px !important;
        padding:12px !important;
      }

      #featured-grid .remote-name,
      #catalog-search-results .remote-name{
        font-size:12.4px !important;
        line-height:1.35 !important;
        -webkit-line-clamp:3 !important;
        min-height:calc(1.35em * 3) !important;
        max-height:calc(1.35em * 3) !important;
        margin-bottom:6px !important;
      }

      #featured-grid .remote-price,
      #catalog-search-results .remote-price{
        font-size:11px !important;
        margin-bottom:6px !important;
      }

      #featured-grid .remote-size,
      #catalog-search-results .remote-size{
        font-size:8px !important;
        letter-spacing:.08em !important;
        padding:6px 8px !important;
      }

      .featured-actions{
        justify-content:stretch !important;
        margin-top:12px !important;
      }

      .featured-refresh-btn{
        width:100% !important;
        min-width:0 !important;
      }

      .preview-actions,
      .result-actions{
        gap:10px !important;
      }
    }

    @media (max-width:430px){
      .provider-switch{
        grid-auto-columns:minmax(208px,80vw) !important;
      }

      .provider-btn{
        min-height:112px !important;
        padding:13px !important;
      }

      .provider-brand{
        grid-template-columns:66px minmax(0,1fr) !important;
        gap:10px !important;
      }

      .provider-logo-shell{
        width:66px !important;
        height:50px !important;
        border-radius:16px !important;
      }

      .provider-copy strong{
        font-size:14px !important;
      }

      .provider-copy span{
        font-size:10.5px !important;
      }

      #featured-grid,
      #catalog-search-results{
        grid-auto-columns:minmax(194px,82vw) !important;
      }

      #featured-grid .remote-card,
      #catalog-search-results .remote-card{
        padding:12px !important;
      }

      #featured-grid .remote-thumb-shell,
      #catalog-search-results .remote-thumb-shell{
        height:146px !important;
      }

      #featured-grid .remote-name,
      #catalog-search-results .remote-name{
        font-size:11.6px !important;
      }

      #featured-grid .remote-price,
      #catalog-search-results .remote-price{
        font-size:10.4px !important;
      }
    }

    /* 20260327h - frontend stabilization pass */
    :root{
      --lensmatch-ui-sans:-apple-system,BlinkMacSystemFont,"SF Pro Text","SF Pro Display","Inter","Segoe UI",sans-serif;
      --lensmatch-editorial-serif:"Playfair Display",serif;
    }

    html,
    body{
      overflow-x:hidden !important;
    }

    body,
    button,
    input,
    select,
    textarea{
      font-family:var(--lensmatch-ui-sans) !important;
    }

    main{
      display:grid !important;
      grid-template-columns:360px minmax(0,1fr) !important;
      gap:20px !important;
      align-items:stretch !important;
      height:calc(100vh - 118px) !important;
      min-height:calc(100vh - 118px) !important;
      overflow:hidden !important;
    }

    main > .panel{
      min-height:0 !important;
      max-height:100% !important;
      overflow-y:auto !important;
      overflow-x:hidden !important;
      scrollbar-width:none !important;
    }

    main > .panel::-webkit-scrollbar{
      display:none !important;
    }

    .market-panel{
      padding-bottom:34px !important;
    }

    .market-toolbar,
    .market-section{
      overflow:visible !important;
    }

    .preview-actions[hidden],
    .result-actions[hidden],
    .source-actions[hidden]{
      display:none !important;
    }

    .preview-actions:not([hidden]),
    .result-actions:not([hidden]),
    .source-actions:not([hidden]){
      display:flex !important;
    }

    .panel-title,
    .search-title,
    .market-inline-title,
    .drop-title,
    .drop-copy,
    .studio-note,
    .studio-status,
    .fit-title,
    .fit-note,
    .privacy-title,
    .privacy-note,
    .privacy-status,
    .selection-summary span,
    .selection-summary strong,
    .selection-summary em,
    .provider-copy em,
    .provider-copy strong,
    .provider-copy span,
    .remote-name,
    .remote-price,
    .remote-size,
    .search-input,
    .btn,
    .hint,
    .search-empty{
      font-family:var(--lensmatch-ui-sans) !important;
    }

    .drop-title{
      font-size:clamp(2rem,2.65vw,2.7rem) !important;
      line-height:1.02 !important;
      letter-spacing:-.055em !important;
      font-weight:650 !important;
      color:#1f1a14 !important;
    }

    .drop-copy{
      font-size:clamp(1rem,1.2vw,1.14rem) !important;
      line-height:1.52 !important;
      max-width:25ch !important;
      margin-inline:auto !important;
      color:#72685c !important;
    }

    .market-inline-title{
      font-size:17px !important;
      line-height:1.14 !important;
      font-weight:650 !important;
      letter-spacing:-.02em !important;
      color:#2a2119 !important;
    }

    .market-section .section-title{
      font-family:var(--lensmatch-editorial-serif) !important;
      font-size:clamp(2rem,2.25vw,2.8rem) !important;
      line-height:.97 !important;
      letter-spacing:-.042em !important;
      font-weight:600 !important;
      color:#21170f !important;
    }

    .provider-switch{
      display:grid !important;
      grid-template-columns:repeat(3,minmax(0,1fr)) !important;
      gap:14px !important;
      align-items:stretch !important;
      margin:0 !important;
      padding:2px 0 6px !important;
    }

    .provider-btn{
      min-height:116px !important;
      padding:14px 15px !important;
      border-radius:20px !important;
    }

    .provider-brand{
      grid-template-columns:88px minmax(0,1fr) !important;
      gap:14px !important;
      align-items:center !important;
    }

    .provider-logo-shell{
      width:88px !important;
      height:66px !important;
      border-radius:20px !important;
    }

    .provider-copy{
      gap:4px !important;
    }

    .provider-copy strong{
      font-size:16px !important;
      line-height:1.12 !important;
      letter-spacing:-.026em !important;
      font-weight:630 !important;
    }

    .provider-copy span{
      font-size:12px !important;
      line-height:1.42 !important;
    }

    .provider-placeholder{
      background:linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,244,237,.98)) !important;
      border-color:rgba(221,212,197,.96) !important;
      box-shadow:0 8px 22px rgba(42,31,16,.04) !important;
    }

    .provider-placeholder .provider-logo-shell{
      box-shadow:none !important;
      background:linear-gradient(145deg,#fbf6eb 0%,#f1e7d4 100%) !important;
    }

    .provider-placeholder .provider-copy em{
      color:#9a8a74 !important;
    }

    .provider-placeholder .provider-copy strong{
      color:#54473a !important;
    }

    .provider-placeholder .provider-copy span{
      color:#8a7d6e !important;
    }

    .search-row{
      grid-template-columns:minmax(0,1fr) 156px !important;
      gap:12px !important;
    }

    #featured-grid,
    #catalog-search-results{
      display:grid !important;
      grid-template-columns:repeat(4,minmax(0,1fr)) !important;
      grid-auto-flow:row !important;
      gap:16px !important;
      padding:0 !important;
      margin:12px 0 0 !important;
      overflow:visible !important;
    }

    .remote-card{
      min-height:0 !important;
      height:auto !important;
      padding:14px !important;
      border-radius:20px !important;
    }

    .remote-thumb-shell{
      height:176px !important;
      padding:14px !important;
      margin-bottom:12px !important;
    }

    .remote-name{
      font-size:14px !important;
      line-height:1.42 !important;
      min-height:calc(1.42em * 3) !important;
      max-height:calc(1.42em * 3) !important;
      margin-bottom:8px !important;
    }

    .remote-price{
      font-size:13px !important;
      line-height:1.4 !important;
      margin-bottom:8px !important;
    }

    .remote-size{
      font-size:8.6px !important;
      letter-spacing:.1em !important;
      padding:6px 9px !important;
    }

    .featured-actions{
      margin-top:18px !important;
      justify-content:center !important;
    }

    .featured-refresh-btn{
      min-width:240px !important;
    }

    @media (max-width:768px){
      main{
        grid-template-columns:1fr !important;
        gap:18px !important;
        height:auto !important;
        min-height:0 !important;
        overflow:visible !important;
        padding:10px 14px 28px !important;
      }

      main > .panel{
        max-height:none !important;
        overflow:visible !important;
        padding:18px !important;
      }

      .drop-title{
        font-size:clamp(1.95rem,10vw,2.55rem) !important;
      }

      .drop-copy{
        max-width:24ch !important;
        font-size:1rem !important;
      }

      .provider-switch{
        display:flex !important;
        gap:12px !important;
        overflow-x:auto !important;
        padding:2px 0 10px !important;
        scroll-snap-type:x proximity !important;
      }

      .provider-switch::-webkit-scrollbar,
      .suggestions::-webkit-scrollbar,
      #featured-grid::-webkit-scrollbar,
      #catalog-search-results::-webkit-scrollbar{
        display:none !important;
      }

      .provider-btn{
        flex:0 0 min(224px,78vw) !important;
        width:min(224px,78vw) !important;
        min-height:102px !important;
        padding:12px !important;
        scroll-snap-align:start !important;
      }

      .provider-brand{
        grid-template-columns:66px minmax(0,1fr) !important;
        gap:10px !important;
      }

      .provider-logo-shell{
        width:66px !important;
        height:50px !important;
        border-radius:16px !important;
      }

      .provider-copy strong{
        font-size:14px !important;
      }

      .provider-copy span{
        font-size:10.5px !important;
        line-height:1.32 !important;
      }

      .search-row{
        grid-template-columns:1fr !important;
      }

      .search-row .btn{
        width:100% !important;
      }

      .suggestions{
        flex-wrap:nowrap !important;
        overflow-x:auto !important;
        gap:8px !important;
      }

      #featured-grid,
      #catalog-search-results{
        display:flex !important;
        gap:12px !important;
        overflow-x:auto !important;
        padding:4px 0 10px !important;
        margin:8px 0 0 !important;
        scroll-snap-type:x proximity !important;
      }

      #featured-grid .remote-card,
      #catalog-search-results .remote-card{
        flex:0 0 min(206px,78vw) !important;
        width:min(206px,78vw) !important;
        padding:13px !important;
        scroll-snap-align:start !important;
      }

      #featured-grid .remote-thumb-shell,
      #catalog-search-results .remote-thumb-shell{
        height:150px !important;
        padding:12px !important;
      }

      #featured-grid .remote-name,
      #catalog-search-results .remote-name{
        font-size:12.2px !important;
        line-height:1.34 !important;
        min-height:calc(1.34em * 3) !important;
        max-height:calc(1.34em * 3) !important;
        margin-bottom:6px !important;
      }

      #featured-grid .remote-price,
      #catalog-search-results .remote-price{
        font-size:10.8px !important;
        margin-bottom:6px !important;
      }

      #featured-grid .remote-size,
      #catalog-search-results .remote-size{
        font-size:8px !important;
        padding:6px 8px !important;
      }

      .featured-actions{
        justify-content:stretch !important;
        margin-top:12px !important;
      }

      .featured-refresh-btn{
        width:100% !important;
        min-width:0 !important;
      }
    }

    @media (max-width:430px){
      main{
        padding:8px 12px 24px !important;
      }

      .provider-btn{
        flex-basis:min(198px,82vw) !important;
        width:min(198px,82vw) !important;
      }

      #featured-grid .remote-card,
      #catalog-search-results .remote-card{
        flex-basis:min(188px,80vw) !important;
        width:min(188px,80vw) !important;
        padding:12px !important;
      }

      #featured-grid .remote-thumb-shell,
      #catalog-search-results .remote-thumb-shell{
        height:142px !important;
      }

      #featured-grid .remote-name,
      #catalog-search-results .remote-name{
        font-size:11.6px !important;
      }

      #featured-grid .remote-price,
      #catalog-search-results .remote-price{
        font-size:10.2px !important;
      }
    }

    /* 20260327j - dashboard recovery, Diniz card cleanup and final typography pass */
    :root{
      --lensmatch-ui-sans:-apple-system,BlinkMacSystemFont,"SF Pro Text","SF Pro Display","Inter","Segoe UI",sans-serif;
    }

    .app-view[hidden]{
      display:none !important;
    }

    body,
    button,
    input,
    select,
    textarea{
      font-family:var(--lensmatch-ui-sans) !important;
    }

    main{
      display:grid !important;
      grid-template-columns:360px minmax(0,1fr) !important;
      gap:20px !important;
      align-items:stretch !important;
      height:calc(100vh - 118px) !important;
      min-height:calc(100vh - 118px) !important;
      overflow:hidden !important;
    }

    main > .panel{
      min-height:0 !important;
      max-height:100% !important;
      overflow-y:auto !important;
      overflow-x:hidden !important;
      scrollbar-width:none !important;
    }

    main > .panel::-webkit-scrollbar{
      display:none !important;
    }

    .market-panel{
      padding-bottom:72px !important;
    }

    .market-toolbar,
    .market-section{
      overflow:visible !important;
    }

    #dashboard-view{
      width:min(1440px,100%) !important;
      margin:0 auto !important;
      padding:10px 24px 48px !important;
      display:flex !important;
      flex-direction:column !important;
      gap:18px !important;
      overflow:visible !important;
    }

    #dashboard-view[hidden]{
      display:none !important;
    }

    #dashboard-view.is-auth-only{
      align-items:stretch !important;
    }

    #dashboard-auth-card[hidden],
    #dashboard-secure-content[hidden]{
      display:none !important;
    }

    .dashboard-auth-card{
      max-width:980px !important;
      margin:0 auto !important;
      width:100% !important;
    }

    #dashboard-secure-content:not([hidden]){
      display:grid !important;
      gap:12px !important;
    }

    .panel-title,
    .search-title,
    .market-inline-title,
    .drop-title,
    .drop-copy,
    .studio-note,
    .studio-status,
    .fit-title,
    .fit-note,
    .privacy-title,
    .privacy-note,
    .privacy-status,
    .selection-summary span,
    .selection-summary strong,
    .selection-summary em,
    .provider-copy em,
    .provider-copy strong,
    .provider-copy span,
    .remote-name,
    .remote-price,
    .remote-size,
    .search-input,
    .btn,
    .hint,
    .search-empty,
    .dashboard-title,
    .dashboard-copy,
    .dashboard-auth-title,
    .dashboard-auth-copy,
    .dashboard-shell .section-title,
    .market-section .section-title{
      font-family:var(--lensmatch-ui-sans) !important;
    }

    .drop-title{
      font-size:clamp(1.8rem,2.25vw,2.35rem) !important;
      line-height:1.06 !important;
      letter-spacing:-.042em !important;
      font-weight:650 !important;
      color:#1f1a14 !important;
    }

    .market-inline-title,
    .market-section .section-title,
    .dashboard-title,
    .dashboard-auth-title{
      letter-spacing:-.028em !important;
      color:#221a12 !important;
    }

    .market-inline-title{
      font-size:18px !important;
      line-height:1.14 !important;
      font-weight:650 !important;
    }

    .market-section .section-title{
      font-size:clamp(2rem,2.3vw,2.85rem) !important;
      line-height:1.02 !important;
      font-weight:680 !important;
    }

    .dashboard-shell .section-title{
      font-size:clamp(1.18rem,1.5vw,1.42rem) !important;
      line-height:1.1 !important;
      font-weight:650 !important;
    }

    .provider-btn{
      min-height:108px !important;
      padding:13px 14px !important;
      border-radius:20px !important;
    }

    .provider-placeholder{
      background:linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,243,236,.94)) !important;
      border-color:rgba(224,216,204,.92) !important;
      box-shadow:0 6px 18px rgba(40,31,18,.035) !important;
    }

    .provider-placeholder .provider-logo-shell{
      background:linear-gradient(145deg,#fbf7ee 0%,#f3ebdd 100%) !important;
      box-shadow:none !important;
    }

    .provider-placeholder .provider-copy em{
      color:#a69680 !important;
    }

    .provider-placeholder .provider-copy strong{
      color:#605346 !important;
      font-size:15px !important;
    }

    .provider-placeholder .provider-copy span{
      color:#8c7f71 !important;
      font-size:11px !important;
    }

    .remote-thumb-shell{
      background:linear-gradient(180deg,#ffffff 0%,#f7f7f5 100%) !important;
      border:1px solid rgba(221,223,228,.92) !important;
      box-shadow:inset 0 1px 0 rgba(255,255,255,.86), 0 10px 22px rgba(32,36,43,.04) !important;
    }

    .remote-thumb-shell::before{
      content:'' !important;
      position:absolute !important;
      inset:0 !important;
      border-radius:inherit !important;
      background:
        radial-gradient(circle at 50% -10%, rgba(118,129,148,.065), transparent 34%),
        linear-gradient(180deg, rgba(255,255,255,.04), rgba(234,238,244,.14)) !important;
      pointer-events:none !important;
      z-index:2 !important;
    }

    .remote-thumb-shell::after{
      content:'' !important;
      position:absolute !important;
      inset:0 !important;
      border-radius:inherit !important;
      box-shadow:inset 0 -18px 24px rgba(118,126,141,.05), inset 0 0 0 1px rgba(255,255,255,.28) !important;
      pointer-events:none !important;
      z-index:3 !important;
    }

    .remote-thumb{
      filter:drop-shadow(0 8px 12px rgba(61,69,80,.07)) !important;
    }

    @media (max-width:768px){
      main{
        grid-template-columns:1fr !important;
        gap:18px !important;
        height:auto !important;
        min-height:0 !important;
        overflow:visible !important;
        padding:10px 14px 28px !important;
      }

      main > .panel{
        max-height:none !important;
        overflow:visible !important;
        padding:18px !important;
      }

      #dashboard-view{
        padding:8px 14px 28px !important;
      }

      .provider-btn{
        min-height:96px !important;
      }
    }

    @media (max-width:430px){
      .drop-title{
        font-size:clamp(1.7rem,9vw,2.15rem) !important;
      }

      .market-section .section-title{
        font-size:clamp(1.72rem,8.2vw,2.2rem) !important;
      }
    }

    @media not all {
    /* 20260327k - mobile studio restructure + neutral catalog media shell */
    :root{
      --lensmatch-ui-sans:-apple-system,BlinkMacSystemFont,"SF Pro Text","SF Pro Display","Inter","Segoe UI",sans-serif;
    }

    body,
    button,
    input,
    select,
    textarea{
      font-family:var(--lensmatch-ui-sans) !important;
    }

    #studio-view{
      display:grid !important;
      grid-template-columns:360px minmax(0,1fr) !important;
      grid-template-rows:auto minmax(0,1fr) !important;
      grid-template-areas:
        "studio market"
        "support market" !important;
      gap:20px !important;
      align-items:start !important;
      height:calc(100vh - 118px) !important;
      min-height:calc(100vh - 118px) !important;
      overflow:hidden !important;
    }

    .studio-primary-panel{
      grid-area:studio !important;
      display:flex !important;
      flex-direction:column !important;
      overflow:visible !important;
    }

    .market-panel{
      grid-area:market !important;
      min-height:0 !important;
      overflow-y:auto !important;
      overflow-x:hidden !important;
      padding-bottom:76px !important;
    }

    .studio-support-panel{
      grid-area:support !important;
      min-height:0 !important;
      overflow-y:auto !important;
      overflow-x:hidden !important;
      display:grid !important;
      gap:14px !important;
      padding:0 4px 20px 0 !important;
      scrollbar-width:none !important;
    }

    .studio-support-panel::-webkit-scrollbar{
      display:none !important;
    }

    .studio-support-panel .privacy-panel,
    .studio-support-panel .fit-panel{
      margin-top:0 !important;
    }

    .studio-support-panel .hint{
      margin-top:2px !important;
    }

    .drop-title,
    .market-inline-title,
    .market-section .section-title,
    .privacy-title,
    .fit-title,
    .dashboard-title,
    .dashboard-auth-title,
    .run-feedback-copy{
      font-family:var(--lensmatch-ui-sans) !important;
      color:#1f1a14 !important;
    }

    .drop-title{
      font-size:clamp(1.86rem,2.3vw,2.42rem) !important;
      line-height:1.04 !important;
      letter-spacing:-.044em !important;
      font-weight:650 !important;
    }

    .market-inline-title{
      font-size:18px !important;
      line-height:1.14 !important;
      letter-spacing:-.028em !important;
      font-weight:650 !important;
    }

    .market-section .section-title{
      font-size:clamp(2rem,2.15vw,2.72rem) !important;
      line-height:1.02 !important;
      letter-spacing:-.036em !important;
      font-weight:680 !important;
    }

    .privacy-title,
    .fit-title{
      font-size:20px !important;
      line-height:1.12 !important;
      letter-spacing:-.028em !important;
      font-weight:650 !important;
    }

    .remote-thumb-shell{
      background:#ffffff !important;
      border:1px solid rgba(226,229,235,.96) !important;
      box-shadow:0 8px 18px rgba(24,29,37,.03), inset 0 1px 0 rgba(255,255,255,.92) !important;
    }

    .remote-thumb-shell::before{
      content:'' !important;
      position:absolute !important;
      inset:0 !important;
      border-radius:inherit !important;
      background:linear-gradient(180deg, rgba(255,255,255,.01), rgba(241,244,248,.045)) !important;
      pointer-events:none !important;
      z-index:2 !important;
    }

    .remote-thumb-shell::after{
      content:'' !important;
      position:absolute !important;
      inset:0 !important;
      border-radius:inherit !important;
      box-shadow:inset 0 0 0 1px rgba(255,255,255,.16) !important;
      pointer-events:none !important;
      z-index:3 !important;
    }

    .remote-thumb{
      filter:drop-shadow(0 4px 8px rgba(67,75,88,.035)) !important;
    }

    .provider-btn,
    .remote-card,
    .header-tab{
      transition:transform .22s cubic-bezier(.22,1,.36,1), box-shadow .22s ease, border-color .22s ease, background .22s ease, color .22s ease !important;
    }

    .remote-card:hover{
      transform:translateY(-4px) !important;
      border-color:rgba(214,203,186,.95) !important;
      box-shadow:0 18px 28px rgba(27,31,38,.08) !important;
      background:#fff !important;
    }

    .remote-card:active{
      transform:translateY(-1px) scale(.996) !important;
    }

    .provider-btn:hover{
      transform:translateY(-2px) !important;
    }

    @media (max-width:768px){
      header{
        grid-template-columns:1fr !important;
        justify-items:center !important;
        row-gap:10px !important;
        padding:14px 14px 6px !important;
      }

      .header-row,
      .brand-lockup{
        width:100% !important;
        justify-content:center !important;
      }

      .brand{
        justify-content:center !important;
        gap:10px !important;
      }

      .brand-mark{
        width:60px !important;
        height:46px !important;
      }

      .brand-name{
        font-size:34px !important;
      }

      .header-nav{
        justify-self:center !important;
        justify-content:center !important;
      }

      #studio-view{
        grid-template-columns:1fr !important;
        grid-template-rows:none !important;
        grid-template-areas:none !important;
        gap:18px !important;
        height:auto !important;
        min-height:0 !important;
        overflow:visible !important;
        padding:10px 14px 28px !important;
      }

      .studio-primary-panel,
      .market-panel{
        grid-area:auto !important;
      }

      .studio-support-panel{
        grid-area:auto !important;
        overflow:visible !important;
        padding:0 !important;
      }

      .studio-primary-panel,
      .market-panel{
        padding:18px !important;
      }

      .drop-title{
        font-size:clamp(1.78rem,8.8vw,2.18rem) !important;
      }

      .market-section .section-title{
        font-size:clamp(1.74rem,8.2vw,2.16rem) !important;
      }

      .privacy-title,
      .fit-title{
        font-size:18px !important;
      }
    }

    @media (max-width:430px){
      header{
        padding:12px 12px 4px !important;
      }

      .brand-mark{
        width:56px !important;
        height:42px !important;
      }

      .brand-name{
        font-size:31px !important;
      }

      #studio-view{
        padding:8px 12px 24px !important;
      }
    }

    }

    @media not all {
    /* 20260327l - restore desktop left column and dashboard visibility */
    #studio-view{
      width:min(1440px,100%) !important;
      margin:0 auto !important;
      padding:10px 24px 40px !important;
      display:grid !important;
      grid-template-columns:minmax(320px,380px) minmax(0,1fr) !important;
      grid-template-rows:auto auto !important;
      grid-template-areas:
        "studio market"
        "support market" !important;
      gap:20px !important;
      align-items:start !important;
      height:auto !important;
      min-height:0 !important;
      overflow:visible !important;
    }

    #studio-view > .studio-primary-panel{
      grid-area:studio !important;
      display:flex !important;
      flex-direction:column !important;
      overflow:visible !important;
    }

    #studio-view > .market-panel{
      grid-area:market !important;
      align-self:start !important;
      min-height:0 !important;
      max-height:calc(100vh - 148px) !important;
      overflow-y:auto !important;
      overflow-x:hidden !important;
      padding-bottom:88px !important;
    }

    #studio-view > .studio-support-panel{
      grid-area:support !important;
      align-self:start !important;
      min-height:0 !important;
      overflow:visible !important;
      display:grid !important;
      gap:14px !important;
      padding:0 !important;
    }

    #studio-view > .studio-support-panel .privacy-panel,
    #studio-view > .studio-support-panel .fit-panel{
      margin:0 !important;
    }

    #studio-view > .studio-support-panel .hint{
      margin-top:2px !important;
    }

    #studio-view > .studio-support-panel .bottom-webcam-cta{
      display:none !important;
    }

    #dashboard-view{
      width:min(1380px,100%) !important;
      margin:0 auto !important;
      padding:10px 24px 48px !important;
      display:block !important;
      overflow:visible !important;
    }

    #dashboard-view[hidden]{
      display:none !important;
    }

    #dashboard-view.is-active{
      opacity:1 !important;
      transform:none !important;
      filter:none !important;
    }

    #dashboard-view .dashboard-auth-card{
      display:block !important;
      width:min(780px,100%) !important;
      max-width:780px !important;
      margin:6px auto 0 !important;
    }

    #dashboard-secure-content:not([hidden]){
      display:grid !important;
      gap:12px !important;
    }

    #dashboard-auth-card[hidden],
    #dashboard-secure-content[hidden]{
      display:none !important;
    }

    @media (max-width:768px){
      #studio-view{
        grid-template-columns:1fr !important;
        grid-template-rows:none !important;
        grid-template-areas:none !important;
        gap:18px !important;
        height:auto !important;
        min-height:0 !important;
        overflow:visible !important;
        padding:10px 14px 28px !important;
      }

      #studio-view > .studio-primary-panel,
      #studio-view > .market-panel,
      #studio-view > .studio-support-panel{
        grid-area:auto !important;
      }

      #studio-view > .market-panel{
        max-height:none !important;
        overflow:visible !important;
        padding-bottom:0 !important;
      }

      #studio-view > .studio-support-panel{
        overflow:visible !important;
        padding:0 !important;
      }

      #studio-view > .studio-support-panel .bottom-webcam-cta{
        display:block !important;
      }

      #dashboard-view{
        padding:8px 14px 28px !important;
      }
    }

    @media (max-width:430px){
      #studio-view{
        padding:8px 12px 24px !important;
      }
    }
    }

/* 20260327o - studio copy polish */
.studio-cta{
  margin-top:30px !important;
}

/* 20260327p - flatten catalog media shell + slower hover */
.remote-thumb-shell{
  background:transparent !important;
  border:none !important;
  box-shadow:none !important;
}

.remote-thumb-shell::before,
.remote-thumb-shell::after{
  content:none !important;
  display:none !important;
}

.remote-thumb{
  filter:none !important;
}

.remote-card{
  transition:
    transform .48s cubic-bezier(.22,1,.36,1),
    box-shadow .42s ease,
    border-color .34s ease,
    background .34s ease !important;
}

.remote-card:hover{
  transform:translateY(-2px) !important;
  box-shadow:0 16px 30px rgba(15,23,42,.08) !important;
}

.remote-card:active{
  transform:translateY(-1px) scale(.998) !important;
}

/* 20260403a - servicos landing + three-tab navigation */
#services-view{
  width:min(1380px,100%) !important;
  margin:0 auto !important;
  padding:10px 24px 56px !important;
  display:grid !important;
  gap:20px !important;
  overflow:visible !important;
}

#services-view[hidden]{
  display:none !important;
}

#services-plans-section,
#services-contact-section{
  scroll-margin-top:120px;
}

.services-shell .panel{
  border:1px solid var(--ui-line, rgba(223,211,191,.94)) !important;
  border-radius:28px !important;
  background:linear-gradient(180deg,rgba(255,255,255,.97) 0%,rgba(248,247,244,.94) 100%) !important;
  box-shadow:var(--ui-shadow, 0 18px 40px rgba(15,23,42,.08)) !important;
  overflow:hidden;
}

.services-shell .section-title,
.services-title{
  font-family:'Playfair Display',serif;
  color:#1b140f;
}

.services-shell .search-title{
  margin:0 0 6px;
  font-size:10px;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:#987338;
  font-weight:700;
}

.services-shell .section-title{
  margin:0;
  font-size:clamp(1.8rem,2.5vw,2.55rem);
  line-height:1.02;
  letter-spacing:-.035em;
}

.services-section{
  padding:30px !important;
}

.services-section-head{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:flex-end;
  gap:18px;
  margin-bottom:22px;
}

.services-section-head > *{
  min-width:0;
}

.services-section-head-spread{
  grid-template-columns:minmax(0,1.14fr) minmax(340px,.86fr);
  align-items:flex-start;
  column-gap:28px;
}

.services-section-note{
  max-width:45ch;
  color:var(--ui-muted, #5c5349);
  line-height:1.7;
  font-size:14px;
  justify-self:end;
}

.services-hero{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,720px) minmax(360px,420px);
  justify-content:start;
  gap:28px;
  padding:36px !important;
  isolation:isolate;
  align-items:start;
}

.services-hero::before{
  content:'';
  position:absolute;
  inset:-18% auto auto -6%;
  width:340px;
  height:340px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(210,174,101,.22) 0%,rgba(210,174,101,0) 68%);
  pointer-events:none;
  z-index:-1;
}

.services-hero::after{
  content:'';
  position:absolute;
  inset:auto -8% -30% auto;
  width:360px;
  height:260px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(31,23,15,.08) 0%,rgba(31,23,15,0) 72%);
  pointer-events:none;
  z-index:-1;
}

.services-hero-copy{
  max-width:none;
  padding-right:0;
}

.services-kicker{
  display:inline-flex;
  align-items:center;
  min-height:0;
  margin-top:2px;
  max-width:34rem;
  padding:10px 16px;
  border-radius:999px;
  background:rgba(244,235,218,.95);
  border:1px solid rgba(202,160,87,.34);
  color:#7f5d28;
  font-size:12px;
  font-weight:700;
  letter-spacing:.08em;
  line-height:1.35;
  text-transform:uppercase;
}

.services-title{
  margin-top:20px;
  font-size:clamp(2.18rem,2.7vw,3rem);
  line-height:.99;
  letter-spacing:-.042em;
  max-width:19ch;
  text-wrap:pretty;
}

.services-lead{
  margin-top:20px;
  max-width:72ch;
  color:var(--ui-muted, #5c5349);
  font-size:16px;
  line-height:1.72;
}

.services-hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:30px;
}

.services-hero-actions .btn{
  flex:0 0 auto !important;
  min-width:220px;
}

.services-proof-card{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  align-content:start;
  align-self:start;
  justify-self:start;
  max-width:420px;
  padding:14px;
  border-radius:22px;
  border:1px solid rgba(202,160,87,.2);
  background:
    linear-gradient(180deg,rgba(248,243,234,.88) 0%,rgba(241,233,218,.74) 100%);
  box-shadow:none;
}

.services-proof-block{
  display:grid;
  gap:7px;
  min-height:100%;
  padding:14px;
  border-radius:18px;
  border:1px solid rgba(202,160,87,.18);
  background:linear-gradient(180deg,rgba(248,243,234,.9) 0%,rgba(241,233,218,.78) 100%);
}

.services-proof-label{
  font-size:11px;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:#8c672b;
  font-weight:700;
}

.services-proof-block strong{
  font-size:15px;
  line-height:1.18;
  letter-spacing:-.03em;
  color:#1d1711;
}

.services-proof-block p{
  color:#665a4e;
  font-size:12px;
  line-height:1.5;
}

.services-proof-list{
  display:grid;
  gap:10px;
  align-content:start;
  grid-column:1 / -1;
  min-height:0;
  padding:14px;
  border-radius:18px;
  border:1px solid rgba(202,160,87,.18);
  background:linear-gradient(180deg,rgba(248,243,234,.9) 0%,rgba(241,233,218,.78) 100%);
}

.services-proof-list span{
  display:flex;
  align-items:center;
  min-height:0;
  padding:0 0 0 18px;
  border-radius:0;
  background:none;
  border:none;
  color:#2a221b;
  font-size:12px;
  line-height:1.45;
  position:relative;
}

.services-proof-list span::before{
  content:'';
  position:absolute;
  left:0;
  top:.48rem;
  width:8px;
  height:8px;
  border-radius:50%;
  background:linear-gradient(180deg,#d2ab5a 0%,#8f692d 100%);
}

.services-intro-grid{
  display:grid;
  grid-template-columns:minmax(0,1.04fr) minmax(380px,.96fr);
  gap:20px;
  align-items:start;
}

.services-contact-grid{
  display:grid;
  grid-template-columns:minmax(0,1.16fr) minmax(340px,.84fr);
  gap:20px;
  align-items:start;
}

.services-copy-stack{
  display:grid;
  gap:16px;
  max-width:72ch;
  color:#4f463d;
  line-height:1.85;
  font-size:15px;
}

.services-intro-highlight,
.services-contact-aside{
  display:grid;
  gap:12px;
  align-content:start;
  padding:22px;
  border-radius:22px;
  background:linear-gradient(180deg,rgba(250,247,240,.98) 0%,rgba(243,237,228,.94) 100%);
  border:1px solid rgba(221,205,176,.66);
}

.services-highlight-kicker{
  font-size:11px;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:#8c672b;
  font-weight:700;
}

.services-intro-highlight h3,
.services-contact-aside h3{
  font-size:clamp(1.8rem,1.95vw,2.15rem);
  line-height:1.06;
  letter-spacing:-.04em;
  color:#1c1611;
  font-family:'Playfair Display',serif;
}

.services-intro-highlight h3{
  max-width:none;
  text-wrap:balance;
}

.services-bullet-list,
.services-plan-features,
.services-process-list{
  list-style:none;
  padding:0;
  margin:0;
}

.services-bullet-list{
  display:grid;
  gap:12px;
}

.services-bullet-list li,
.services-plan-features li,
.services-process-list li{
  position:relative;
  padding-left:24px;
  color:#4f463d;
  line-height:1.75;
}

.services-bullet-list li::before,
.services-plan-features li::before{
  content:'';
  position:absolute;
  left:0;
  top:.72em;
  width:10px;
  height:10px;
  border-radius:50%;
  background:linear-gradient(180deg,#d2ab5a 0%,#8f692d 100%);
}

.services-plans-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:20px;
  align-items:stretch;
}

.services-shell .services-plans{
  position:relative;
  isolation:isolate;
  background:linear-gradient(180deg,rgba(249,239,211,.98) 0%,rgba(239,221,176,.92) 100%) !important;
  border-color:rgba(196,154,69,.48) !important;
  box-shadow:0 22px 48px rgba(173,132,59,.16) !important;
}

.services-shell .services-plans::before{
  content:'';
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at top left,rgba(255,255,255,.45) 0%,rgba(255,255,255,0) 32%),
    radial-gradient(circle at bottom right,rgba(180,136,49,.16) 0%,rgba(180,136,49,0) 34%);
  pointer-events:none;
  z-index:0;
}

.services-shell .services-plans > *{
  position:relative;
  z-index:1;
}

.services-shell .services-plans .search-title{
  color:#8a6324;
}

.services-shell .services-plans .section-title{
  max-width:19ch;
}

.services-shell .services-plans .services-section-note{
  color:#695740;
  max-width:46ch;
}

.services-shell .services-plans .services-section-head-spread{
  grid-template-columns:minmax(0,1.18fr) minmax(340px,.82fr);
}

.services-plan-card{
  display:grid;
  gap:18px;
  padding:26px;
  border-radius:24px;
  border:1px solid rgba(220,207,183,.92);
  background:rgba(255,255,255,.9);
  box-shadow:0 12px 24px rgba(76,58,24,.06);
}

.services-plan-card-featured{
  background:linear-gradient(180deg,rgba(255,252,246,.98) 0%,rgba(247,238,219,.94) 100%);
  border-color:rgba(202,160,87,.58);
  box-shadow:0 18px 38px rgba(173,132,59,.14);
}

.services-plan-top{
  display:grid;
  gap:10px;
}

.services-plan-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:max-content;
  min-height:34px;
  padding:7px 12px;
  border-radius:999px;
  background:rgba(27,20,15,.08);
  color:#4d3b22;
  font-size:11px;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.services-plan-badge-featured{
  background:rgba(202,160,87,.16);
  color:#7a5820;
}

.services-plan-top h3{
  font-size:30px;
  line-height:1.02;
  letter-spacing:-.045em;
  color:#1b140f;
  font-family:'Playfair Display',serif;
}

.services-plan-top p{
  color:#5c5349;
  line-height:1.8;
}

.services-plan-features{
  display:grid;
  gap:12px;
}

.services-plan-emphasis{
  padding:16px 18px;
  border-radius:18px;
  background:rgba(255,255,255,.88);
  border:1px solid rgba(202,160,87,.22);
  color:#2a221b;
  line-height:1.7;
}

.services-benefits-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  grid-auto-rows:1fr;
}

.services-benefit-card{
  display:grid;
  gap:14px;
  min-height:0;
  height:100%;
  padding:24px;
  border-radius:22px;
  border:1px solid rgba(223,211,191,.92);
  background:rgba(255,255,255,.84);
}

.services-icon{
  width:52px;
  height:52px;
  border-radius:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(244,235,218,.94);
  border:1px solid rgba(202,160,87,.28);
  color:#8f692d;
}

.services-icon svg{
  width:24px;
  height:24px;
}

.services-benefit-card h3{
  font-size:20px;
  line-height:1.15;
  letter-spacing:-.03em;
  color:#1b140f;
  max-width:16ch;
}

.services-benefit-card p{
  color:#5a5248;
  font-size:15px;
  line-height:1.72;
}

.services-contact-form{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}

.services-field{
  display:grid;
  gap:8px;
}

.services-field-full{
  grid-column:1 / -1;
}

.services-field span{
  font-size:11px;
  font-weight:800;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:#7f735f;
}

.services-field input,
.services-field textarea{
  width:100%;
  border-radius:18px;
  border:1px solid rgba(223,211,191,.96);
  background:rgba(255,255,255,.92);
  color:#171411;
  font:inherit;
  padding:15px 16px;
  line-height:1.6;
  resize:vertical;
  transition:border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.services-field input::placeholder,
.services-field textarea::placeholder{
  color:#96897a;
}

.services-field input:focus,
.services-field textarea:focus{
  outline:none;
  border-color:rgba(202,160,87,.72);
  box-shadow:0 0 0 4px rgba(202,160,87,.12);
  background:#fff;
}

.services-contact-actions{
  display:grid;
  gap:10px;
}

.services-contact-actions .btn{
  width:100%;
  flex:0 0 auto !important;
}

.services-contact-actions .btn:disabled{
  opacity:.72;
  background:linear-gradient(180deg,#dfd8ce 0%,#d0c7ba 100%) !important;
  color:#5d5348 !important;
  box-shadow:none !important;
}

.services-contact-helper{
  color:#73675a;
  line-height:1.7;
  font-size:14px;
}

.services-process-list{
  display:grid;
  gap:12px;
  counter-reset:services-step;
}

.services-process-list li{
  padding:16px 18px 16px 56px;
  border-radius:18px;
  background:rgba(255,255,255,.72);
  border:1px solid rgba(221,205,176,.5);
}

.services-process-list li::before{
  counter-increment:services-step;
  content:counter(services-step);
  position:absolute;
  left:16px;
  top:50%;
  transform:translateY(-50%);
  width:28px;
  height:28px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(180deg,#d2ab5a 0%,#8f692d 100%);
  color:#fff;
  font-size:12px;
  font-weight:800;
}

.services-contact-note{
  display:grid;
  gap:8px;
  padding:18px;
  border-radius:18px;
  background:rgba(28,22,17,.04);
  border:1px solid rgba(28,22,17,.08);
}

.services-contact-note strong{
  color:#1f1812;
}

.services-contact-note p{
  color:#5a5148;
  line-height:1.75;
}

@media (max-width:1120px){
  .services-hero,
  .services-intro-grid,
  .services-contact-grid,
  .services-plans-grid{
    grid-template-columns:1fr;
  }

  .services-proof-card{
    grid-template-columns:1fr;
  }

  .services-benefits-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .services-title{
    max-width:16ch;
    font-size:clamp(2.2rem,4.1vw,3rem);
  }

  .services-shell .services-plans .section-title{
    max-width:none;
  }

  .services-section-head,
  .services-section-head-spread{
    grid-template-columns:1fr;
  }

  .services-section-note{
    justify-self:start;
    max-width:58ch;
  }

  .services-proof-card{
    max-width:none;
    justify-self:stretch;
  }

  .services-intro-highlight h3{
    max-width:none;
  }
}

@media (max-width:768px){
  #services-view{
    padding:8px 14px 28px !important;
  }

  .services-shell .panel{
    border-radius:22px !important;
  }

  .services-hero,
  .services-section{
    padding:22px !important;
  }

  .services-proof-card{
    padding:16px;
  }

  .services-section-head{
    grid-template-columns:1fr;
    align-items:flex-start;
    margin-bottom:18px;
  }

  .services-title{
    max-width:13ch;
    font-size:clamp(2.2rem,8.7vw,3.05rem);
  }

  .services-hero-actions{
    display:grid;
    grid-template-columns:1fr;
  }

  .services-hero-actions .btn{
    min-width:0;
    width:100%;
  }

  .services-benefits-grid,
  .services-contact-form{
    grid-template-columns:1fr;
  }

  .services-field-full{
    grid-column:auto;
  }
}

@media (max-width:430px){
  #services-view{
    padding:8px 12px 24px !important;
  }

  .services-hero,
  .services-section{
    padding:18px !important;
  }

  .services-title{
    max-width:12ch;
    font-size:clamp(1.95rem,10.6vw,2.7rem);
  }

  .services-proof-block strong,
  .services-plan-top h3,
  .services-intro-highlight h3,
  .services-contact-aside h3{
    font-size:24px;
  }

  .services-benefit-card{
    min-height:0;
  }
}

/* 20260403b - premium marketplace catalog refresh */
#selection-summary{
  position:relative;
  overflow:hidden;
  border:1px solid rgba(154,118,53,.18) !important;
  background:
    radial-gradient(circle at top right, rgba(196,154,69,.16), transparent 36%),
    linear-gradient(180deg, rgba(255,255,255,.97) 0%, rgba(248,244,236,.94) 100%) !important;
  box-shadow:0 18px 38px rgba(33,24,14,.08), inset 0 1px 0 rgba(255,255,255,.7) !important;
  transition:transform .28s ease, box-shadow .32s ease, border-color .28s ease, background .32s ease !important;
}

#selection-summary::after{
  content:'';
  position:absolute;
  inset:auto -12% -54% 28%;
  height:138px;
  background:radial-gradient(circle, rgba(154,118,53,.14), transparent 72%);
  pointer-events:none;
}

#selection-summary[data-state='selected']{
  border-color:rgba(154,118,53,.34) !important;
  box-shadow:0 22px 44px rgba(33,24,14,.11), inset 0 1px 0 rgba(255,255,255,.82) !important;
}

#selection-summary[data-kind='sunglasses']{
  background:
    radial-gradient(circle at top right, rgba(97,135,132,.16), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.97) 0%, rgba(241,247,245,.94) 100%) !important;
}

.selection-summary-head{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:8px;
}

.selection-kind-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:66px;
  padding:7px 12px;
  border-radius:999px;
  border:1px solid rgba(154,118,53,.18);
  background:rgba(253,246,232,.92);
  color:#7d5f28;
  font-size:11px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.6);
}

.selection-kind-pill[data-kind='prescription']{
  background:rgba(253,246,232,.96);
  color:#8a692d;
}

.selection-kind-pill[data-kind='sunglasses']{
  background:rgba(229,241,239,.96);
  border-color:rgba(90,132,127,.22);
  color:#36534f;
}

.selection-kind-pill[data-kind='custom'],
.selection-kind-pill[data-kind='local']{
  background:rgba(245,241,234,.96);
  color:#54483a;
}

.selection-feedback{
  position:relative;
  z-index:1;
  margin:10px 0 0 !important;
  color:#6f665d;
  font-size:13px;
  line-height:1.5;
}

.selection-feedback[data-tone='success']{
  color:#436039;
}

.selection-feedback[data-tone='info']{
  color:#37576b;
}

.selection-feedback[data-tone='error']{
  color:#9b3f33;
}

.selection-link-row{
  margin-top:14px;
}

.selection-link-row .btn-store{
  width:100%;
  min-height:48px;
  border-radius:16px;
  box-shadow:0 12px 26px rgba(154,118,53,.16);
}

.catalog-quick-filters{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:16px;
}

.catalog-quick-chip{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:3px;
  min-width:132px;
  padding:12px 14px;
  border-radius:18px;
  border:1px solid rgba(154,118,53,.12);
  background:linear-gradient(180deg, rgba(255,255,255,.97) 0%, rgba(248,244,236,.92) 100%);
  color:#2f261d;
  box-shadow:0 10px 24px rgba(27,20,15,.05);
  transition:transform .24s ease, box-shadow .28s ease, border-color .24s ease, background .24s ease;
}

.catalog-quick-chip:hover{
  transform:translateY(-1px);
  border-color:rgba(154,118,53,.24);
  box-shadow:0 14px 28px rgba(27,20,15,.08);
}

.catalog-quick-chip.is-active{
  border-color:rgba(154,118,53,.35);
  background:linear-gradient(180deg, rgba(253,246,232,.98) 0%, rgba(249,239,221,.94) 100%);
  box-shadow:0 16px 32px rgba(154,118,53,.14);
}

.catalog-quick-chip[data-kind='sunglasses']{
  background:linear-gradient(180deg, rgba(247,251,250,.98) 0%, rgba(235,244,241,.95) 100%);
}

.catalog-quick-chip-label{
  font-size:13px;
  font-weight:800;
  line-height:1.2;
}

.catalog-quick-chip-meta{
  color:#7c7268;
  font-size:11px;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.market-curation-note{
  margin:14px 0 0 !important;
  padding:12px 14px;
  border-radius:16px;
  border:1px solid rgba(154,118,53,.12);
  background:rgba(255,251,244,.84);
  color:#6a6258;
  font-size:13px;
  line-height:1.55;
}

.market-curation-note[data-tone='success']{
  border-color:rgba(95,137,82,.2);
  background:rgba(245,251,243,.94);
  color:#47633d;
}

.market-curation-note[data-tone='info']{
  border-color:rgba(61,100,123,.18);
  background:rgba(244,249,252,.94);
  color:#37566a;
}

.chip[data-kind='prescription']{
  background:rgba(253,246,232,.78);
  border-color:rgba(154,118,53,.15);
}

.chip[data-kind='sunglasses']{
  background:rgba(233,243,240,.86);
  border-color:rgba(84,125,120,.16);
}

.search-results[data-state='loading']{
  pointer-events:none;
}

.remote-card{
  position:relative;
  display:grid;
  gap:12px;
  align-content:start;
  padding:18px;
  border-radius:24px !important;
  border:1px solid rgba(154,118,53,.13) !important;
  background:
    radial-gradient(circle at top right, rgba(196,154,69,.12), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(248,244,236,.95) 100%) !important;
  box-shadow:0 16px 34px rgba(27,20,15,.08) !important;
  transition:transform .28s ease, box-shadow .32s ease, border-color .28s ease, background .32s ease !important;
}

.remote-card:hover{
  transform:translateY(-3px) !important;
  border-color:rgba(154,118,53,.28) !important;
  box-shadow:0 22px 40px rgba(27,20,15,.11) !important;
}

.remote-card.sel{
  border-color:rgba(154,118,53,.42) !important;
  background:
    radial-gradient(circle at top right, rgba(196,154,69,.16), transparent 36%),
    linear-gradient(180deg, rgba(255,252,246,.99) 0%, rgba(248,238,218,.96) 100%) !important;
  box-shadow:0 26px 44px rgba(154,118,53,.16) !important;
}

.remote-card[data-kind='sunglasses']{
  background:
    radial-gradient(circle at top right, rgba(98,140,135,.14), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(240,247,245,.95) 100%) !important;
}

.remote-card-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

.remote-provider-note{
  color:#7a7166;
  font-size:11px;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.remote-kind-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:56px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(154,118,53,.14);
  background:rgba(253,246,232,.92);
  color:#7c5d24;
  font-size:10px;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.remote-kind-pill[data-kind='sunglasses']{
  background:rgba(229,241,239,.94);
  border-color:rgba(84,125,120,.16);
  color:#31514d;
}

.remote-provider-meta{
  margin:-4px 0 0;
  color:#7a7166;
  font-size:12px;
  line-height:1.45;
}

.remote-card-specs{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
}

.remote-thumb-shell{
  position:relative;
  min-height:212px;
  border-radius:20px !important;
  background:
    radial-gradient(circle at top, rgba(255,255,255,.92), rgba(255,255,255,0) 62%),
    linear-gradient(180deg, rgba(250,247,241,.98), rgba(243,237,227,.94)) !important;
}

.remote-thumb{
  width:100%;
  height:100%;
  min-height:212px;
  object-fit:contain;
  padding:16px;
}

.remote-thumb-badge{
  position:absolute;
  left:12px;
  bottom:12px;
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.88);
  border:1px solid rgba(154,118,53,.12);
  color:#665d55;
  font-size:11px;
  font-weight:700;
}

.remote-price,
.remote-size{
  margin:0 !important;
}

.remote-price{
  font-size:17px;
  font-weight:800;
  color:#201811;
}

.remote-size{
  display:inline-flex !important;
  align-items:center;
  padding:7px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.76);
  color:#6d645b;
  font-size:12px;
  line-height:1.2;
}

.remote-size.is-muted{
  opacity:.82;
}

.remote-card-hint{
  margin:0;
  color:#8b6b2d;
  font-size:12px;
  font-weight:700;
  letter-spacing:.04em;
}

.remote-card.sel .remote-card-hint{
  color:#6f531f;
}

.remote-card-skeleton{
  overflow:hidden;
  pointer-events:none;
}

.remote-card-skeleton::after{
  content:'';
  position:absolute;
  inset:-10% auto -10% -28%;
  width:42%;
  background:linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.5), rgba(255,255,255,0));
  animation:lensmatch-shimmer 1.45s ease-in-out infinite;
}

.remote-skeleton-thumb{
  min-height:212px;
}

.remote-skeleton-pill{
  width:56px;
  height:24px;
  border-radius:999px;
  background:rgba(255,255,255,.68);
}

.remote-skeleton-line{
  display:block;
  height:12px;
  border-radius:999px;
  background:rgba(255,255,255,.72);
}

.remote-skeleton-line-short{
  width:104px;
  height:14px;
}

.remote-skeleton-line-title{
  width:78%;
  height:15px;
}

.remote-skeleton-line-price{
  width:42%;
  height:18px;
}

.remote-skeleton-line-size{
  width:56%;
}

.remote-skeleton-line-hint{
  width:48%;
}

@keyframes lensmatch-shimmer{
  from{
    transform:translateX(0);
  }
  to{
    transform:translateX(320%);
  }
}

@media (max-width:768px){
  .catalog-quick-filters{
    flex-wrap:nowrap;
    overflow-x:auto;
    padding-bottom:4px;
  }

  .catalog-quick-filters::-webkit-scrollbar{
    display:none;
  }

  .catalog-quick-chip{
    min-width:148px;
  }

  .remote-card{
    padding:16px;
  }

  .remote-thumb-shell,
  .remote-thumb,
  .remote-skeleton-thumb{
    min-height:180px;
  }
}

@media (prefers-reduced-motion: reduce){
  .remote-card,
  .catalog-quick-chip,
  #selection-summary,
  .remote-card-skeleton::after{
    animation:none !important;
    transition:none !important;
  }

  .remote-card:hover,
  .catalog-quick-chip:hover{
    transform:none !important;
  }
}

/* 20260403c - minimal catalog cleanup */
.market-toolbar,
#market-featured-section,
#market-results-section{
  background:#fff !important;
  border-color:rgba(23,23,23,.08) !important;
  box-shadow:0 10px 24px rgba(15,23,42,.04) !important;
}

.market-curation-note,
.catalog-quick-chip,
.chip{
  background:#fff !important;
  border-color:rgba(23,23,23,.09) !important;
  box-shadow:none !important;
}

.market-curation-note{
  color:#6c6a67 !important;
}

.catalog-quick-chip.is-active{
  background:#f8f8f6 !important;
  border-color:rgba(23,23,23,.18) !important;
}

.remote-card,
.remote-card[data-kind='sunglasses'],
.remote-card.sel{
  background:#fff !important;
  border:1px solid rgba(23,23,23,.08) !important;
  box-shadow:0 12px 28px rgba(15,23,42,.05) !important;
}

.remote-card:hover{
  transform:translateY(-2px) !important;
  border-color:rgba(23,23,23,.16) !important;
  box-shadow:0 16px 30px rgba(15,23,42,.07) !important;
}

.remote-card.sel{
  border-color:rgba(33,33,33,.22) !important;
  box-shadow:0 16px 32px rgba(15,23,42,.08) !important;
}

.remote-provider-note{
  color:#7d7a75 !important;
}

.remote-kind-pill{
  background:#faf9f7 !important;
  border-color:rgba(23,23,23,.08) !important;
  color:#4c4945 !important;
}

.remote-kind-pill[data-kind='sunglasses']{
  background:#f3f7f7 !important;
  color:#445a59 !important;
  border-color:rgba(68,90,89,.14) !important;
}

.remote-thumb-shell,
.remote-skeleton-thumb{
  background:#fff !important;
  border:1px solid rgba(23,23,23,.06) !important;
  box-shadow:none !important;
}

.remote-thumb-shell::before,
.remote-thumb-shell::after{
  display:none !important;
}

.remote-thumb{
  padding:22px !important;
  background:#fff !important;
}

.remote-thumb-badge{
  background:rgba(255,255,255,.96) !important;
  border-color:rgba(23,23,23,.08) !important;
  color:#67635e !important;
  box-shadow:none !important;
}

.remote-provider-meta,
.remote-size{
  color:#706c66 !important;
}

.remote-size{
  background:#faf9f7 !important;
  border:1px solid rgba(23,23,23,.06) !important;
}

.remote-card-hint{
  color:#2e2a26 !important;
  letter-spacing:0 !important;
}

.remote-card-skeleton,
.remote-card-skeleton::after,
.remote-skeleton-line,
.remote-skeleton-pill{
  background:#f6f5f2 !important;
}

.remote-card-skeleton::after{
  background:linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.72), rgba(255,255,255,0)) !important;
}

/* 20260403d - cleaner catalog top + larger eyewear previews */
.catalog-quick-filters,
.market-curation-note{
  display:none !important;
}

.remote-provider-note,
.remote-kind-pill,
.remote-card-hint{
  display:none !important;
}

.remote-card,
.remote-card[data-kind='sunglasses'],
.remote-card.sel{
  gap:8px;
  padding:14px 14px 15px;
  background:#fff !important;
  transition:border-color .14s ease, box-shadow .14s ease !important;
}

.remote-card:hover,
.remote-card:active,
.remote-card.sel{
  transform:none !important;
}

.remote-card:hover{
  border-color:rgba(23,23,23,.14) !important;
  box-shadow:0 14px 24px rgba(15,23,42,.06) !important;
}

.remote-card.sel{
  border-color:rgba(23,23,23,.22) !important;
  box-shadow:0 0 0 1px rgba(23,23,23,.08), 0 16px 28px rgba(15,23,42,.07) !important;
}

.remote-thumb-shell,
.remote-skeleton-thumb{
  min-height:196px;
  border-radius:16px !important;
  background:#fff !important;
  border:1px solid rgba(23,23,23,.05) !important;
}

.remote-thumb{
  min-height:196px;
  padding:8px 10px 10px !important;
  background:#fff !important;
}

.remote-thumb-badge{
  left:8px;
  bottom:8px;
  padding:4px 8px;
  font-size:9px;
}

.remote-name{
  margin:0;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
  font-size:14px;
  line-height:1.24;
  min-height:calc(1.24em * 2);
  max-height:calc(1.24em * 2);
}

.remote-provider-meta{
  margin:0;
  font-size:11px;
  line-height:1.28;
  text-transform:none;
}

.remote-card-specs{
  gap:8px;
}

.remote-price{
  font-size:16px;
}

.remote-size{
  padding:5px 8px;
  font-size:10px;
}

@media (max-width:768px){
  .remote-thumb-shell,
  .remote-thumb,
  .remote-skeleton-thumb{
    min-height:174px;
  }

  .remote-card{
    gap:7px;
    padding:12px 12px 13px;
  }

  .remote-name{
    font-size:13px;
  }

  .remote-price{
    font-size:14px;
  }

  .remote-size{
    font-size:9px;
  }
}

/* 20260404a - hide catalog suggestions and empty search section by default */
#search-suggestions{
  display:none !important;
}

#market-results-section{
  display:none;
}
