:root{
  --ogw-bg:#f5f7fb;
  --ogw-surface:#fff;
  --ogw-text:#0f172a;
  --ogw-muted:#6b7280;
  --ogw-line:#e6ebf3;
  --ogw-blue:#0b63ce;
  --ogw-blue-dark:#084d9f;
  --ogw-green:#16a34a;
  --ogw-red:#d92d20;
  --ogw-shadow:0 18px 42px rgba(15,23,42,.08);
  --ogw-radius:26px;
}
body.ogw-body{background:var(--ogw-bg);color:var(--ogw-text);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;}
.ogw-shell{min-height:100vh;}
.ogw-topbar{position:sticky;top:0;z-index:40;background:rgba(255,255,255,.85);backdrop-filter:saturate(160%) blur(18px);border-bottom:1px solid rgba(230,235,243,.8);}
.ogw-topbar-inner{max-width:1280px;margin:0 auto;padding:18px 24px;display:flex;align-items:center;justify-content:space-between;gap:18px;}
.ogw-brand{display:flex;align-items:center;gap:14px;color:inherit;text-decoration:none;}
.ogw-brand-mark img{width:48px;height:48px;border-radius:14px;display:block;box-shadow:0 8px 20px rgba(11,99,206,.15);}
.ogw-brand-text{display:flex;flex-direction:column;line-height:1.05}
.ogw-brand-text strong{font-size:1.9rem;font-weight:800;letter-spacing:-.04em}
.ogw-brand-text em{font-style:normal;color:var(--ogw-muted);font-size:.92rem}
.ogw-top-actions{display:flex;align-items:center;gap:22px;font-weight:700}
.ogw-top-actions a{color:#111827;text-decoration:none}
.ogw-top-actions a.is-primary,.ogw-btn.ogw-btn-primary,.ogw-btn.ogw-btn-secondary,.ogw-btn.ogw-btn-light,.ogw-btn.ogw-btn-success,.ogw-btn.ogw-btn-danger,.ogw-btn-icon{appearance:none;border:0;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:18px;padding:14px 18px;font-weight:800;letter-spacing:-.02em;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,background .18s ease,color .18s ease}
.ogw-top-actions a.is-primary,.ogw-btn.ogw-btn-primary{background:linear-gradient(180deg,var(--ogw-blue),var(--ogw-blue-dark));color:#fff;box-shadow:0 12px 24px rgba(11,99,206,.22)}
.ogw-btn.ogw-btn-secondary{background:#0f172a;color:#fff;box-shadow:0 12px 24px rgba(15,23,42,.18)}
.ogw-btn.ogw-btn-light{background:#fff;color:#0f172a;border:1px solid var(--ogw-line);box-shadow:0 8px 20px rgba(15,23,42,.06)}
.ogw-btn.ogw-btn-success{background:#ecfdf3;color:#0f7a36;border:1px solid #b7ebc6;box-shadow:0 10px 22px rgba(15,122,54,.10)}
.ogw-btn.ogw-btn-danger{background:#fff3f2;color:var(--ogw-red);border:1px solid rgba(217,45,32,.18)}
.ogw-btn-icon{width:44px;height:44px;padding:0;background:#fff;color:#0f172a;border:1px solid var(--ogw-line);box-shadow:0 8px 18px rgba(15,23,42,.06)}
.ogw-top-actions a.is-primary:hover,.ogw-btn:hover,.ogw-btn-icon:hover{transform:translateY(-1px)}
.ogw-eyebrow{display:inline-flex;align-items:center;justify-content:center;background:#e8f0fb;color:var(--ogw-blue);border-radius:999px;padding:8px 14px;font-size:.82rem;font-weight:900;letter-spacing:.02em;text-transform:uppercase}
.ogw-auth-wrap,.ogw-wallet-page,.ogw-public-card-page{max-width:1280px;margin:0 auto;padding:42px 24px 56px}
.ogw-auth-card,.ogw-wallet-hero,.ogw-panel-hero,.ogw-panel-card,.ogw-empty-state,.ogw-flash,.ogw-auth-form,.ogw-public-card-side,.ogw-public-card-main{background:rgba(255,255,255,.88);border:1px solid rgba(230,235,243,.9);box-shadow:var(--ogw-shadow);border-radius:var(--ogw-radius)}
.ogw-auth-card{max-width:720px;margin:40px auto;padding:34px}
.ogw-auth-copy h1,.ogw-wallet-hero h1,.ogw-panel-hero h1,.ogw-public-card-side h1{font-size:clamp(2rem,3vw,3.4rem);letter-spacing:-.06em;line-height:.98;margin:18px 0 18px}
.ogw-auth-copy p,.ogw-wallet-hero p,.ogw-panel-hero p,.ogw-public-card-side p,.ogw-preview-note,.ogw-selected-actions p{color:var(--ogw-muted);font-size:1.12rem;line-height:1.65}
.ogw-auth-form{display:grid;gap:18px;padding:0;background:transparent;border:0;box-shadow:none}
.ogw-field{display:grid;gap:8px;color:#111827}
.ogw-field>span,.ogw-field>strong{font-weight:700}
.ogw-field input,.ogw-field textarea,.ogw-field select,.ogw-wallet-toolbar input,.ogw-wallet-toolbar select{width:100%;padding:16px 18px;border-radius:18px;border:1px solid var(--ogw-line);background:#fff;color:#0f172a;font:inherit;font-weight:400;box-sizing:border-box;outline:none;transition:border-color .18s ease, box-shadow .18s ease}
.ogw-field input:focus,.ogw-field textarea:focus,.ogw-field select:focus,.ogw-wallet-toolbar input:focus,.ogw-wallet-toolbar select:focus{border-color:#8bb6ea;box-shadow:0 0 0 4px rgba(11,99,206,.08)}
.ogw-field.is-error input,.ogw-field.is-error textarea,.ogw-field.is-error select{border-color:#ef4444;background:#fff7f7;box-shadow:0 0 0 4px rgba(239,68,68,.08)}
.ogw-check{display:flex;align-items:center;gap:10px;font-weight:700}
.ogw-check input{width:18px;height:18px}
.ogw-auth-alt{color:var(--ogw-muted);margin:0}
.ogw-auth-alt a{color:var(--ogw-blue);font-weight:800}
.ogw-flash{padding:18px 22px;margin:0 0 18px;position:relative;overflow:hidden;display:flex;align-items:center;min-height:62px}
.ogw-flash span{display:block;position:relative;z-index:1;font-weight:800;line-height:1.45;letter-spacing:-.01em}
.ogw-flash-success{background:#dcfce7;border-color:#86efac;color:#166534}
.ogw-flash-error{background:#fff1f2;border-color:#fecdd3;color:#b42318}
.ogw-flash::after{content:"";position:absolute;left:0;bottom:0;height:3px;width:100%;background:currentColor;opacity:.16;animation:ogwFlash 4s linear forwards}
@keyframes ogwFlash{from{transform:scaleX(1);transform-origin:left}to{transform:scaleX(0);transform-origin:left}}
.ogw-wallet-hero,.ogw-panel-hero{padding:30px 34px;display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:26px}
.ogw-wallet-hero-meta,.ogw-panel-hero-stats{display:flex;gap:14px;flex-wrap:wrap}
.ogw-wallet-hero-meta>div,.ogw-panel-hero-stats>div{min-width:128px;padding:18px 20px;border-radius:22px;background:#fff;border:1px solid var(--ogw-line)}
.ogw-wallet-hero-meta strong,.ogw-panel-hero-stats strong{display:block;font-size:1.8rem;letter-spacing:-.04em}
.ogw-wallet-hero-meta span,.ogw-panel-hero-stats span{color:var(--ogw-muted)}
.ogw-wallet-toolbar{display:grid;grid-template-columns:2fr 1fr 1fr auto;gap:14px;margin:0 0 24px}
.ogw-carousel-wrap{position:relative}
.ogw-carousel-controls{display:flex;justify-content:flex-end;gap:10px;margin-bottom:14px}
.ogw-carousel{display:flex;gap:22px;align-items:stretch;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;padding:14px 6px 18px;scrollbar-width:none;-ms-overflow-style:none;perspective:1600px}
.ogw-carousel-card-shell{display:grid;gap:14px;cursor:pointer;outline:none;flex:0 0 calc(50% - 11px);min-width:calc(50% - 11px);scroll-snap-align:center;transform-style:preserve-3d;transition:transform .28s ease,filter .28s ease;will-change:transform}
.ogw-card-list-actions{display:flex;gap:10px;flex-wrap:wrap;padding:2px 4px 6px}
.ogw-carousel::-webkit-scrollbar{display:none}
.ogw-card-list-actions-inline{padding-top:10px}
.ogw-carousel-card-shell .ogw-visual-card{transition:transform .24s ease,box-shadow .24s ease,filter .24s ease;transform-origin:center center;will-change:transform;backface-visibility:hidden}
.ogw-carousel-card-shell:hover .ogw-visual-card,.ogw-carousel-card-shell:focus-visible .ogw-visual-card{box-shadow:0 52px 94px rgba(15,23,42,.30),0 22px 40px rgba(15,23,42,.16),inset 0 1px 1px rgba(255,255,255,.14)}
.ogw-carousel-card-shell[aria-expanded="true"] .ogw-visual-card{box-shadow:0 54px 98px rgba(15,23,42,.32),0 24px 42px rgba(15,23,42,.18),inset 0 1px 1px rgba(255,255,255,.16)}
.ogw-carousel-card-shell:hover,.ogw-carousel-card-shell:focus-visible{filter:saturate(1.06)}
.ogw-visual-card[data-ogw-tilt-surface]{transform:perspective(1700px) rotateX(var(--ogw-tilt-x,0deg)) rotateY(var(--ogw-tilt-y,0deg)) translateY(var(--ogw-tilt-lift,0px)) scale(var(--ogw-tilt-scale,1));transition:transform .14s ease,box-shadow .22s ease,filter .22s ease;will-change:transform;transform-style:preserve-3d}
.ogw-visual-card[data-ogw-tilt-surface]:hover{box-shadow:0 54px 96px rgba(15,23,42,.30),0 22px 40px rgba(15,23,42,.16),inset 0 1px 1px rgba(255,255,255,.16);}
.ogw-carousel-card-shell .ogw-visual-card::before{content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:radial-gradient(circle at var(--ogw-gloss-x,18%) var(--ogw-gloss-y,18%),rgba(255,255,255,.28),rgba(255,255,255,0) 38%);mix-blend-mode:screen;opacity:.8;transition:opacity .2s ease}
.ogw-carousel-card-shell:hover .ogw-visual-card::before{opacity:1}
.ogw-panel-preview-card .ogw-live-preview .ogw-visual-card{box-shadow:0 24px 52px rgba(15,23,42,.16),inset 0 1px 1px rgba(255,255,255,.12)}
.ogw-panel-preview-card .ogw-live-preview{width:min(100%,620px)}
.ogw-panel-preview-card{overflow:visible;}

.ogw-panel-grid-wallet{display:flex;flex-direction:column;gap:18px}
.ogw-panel-preview-card-top{margin-top:0}
.ogw-panel-preview-card{overflow:visible}
.ogw-panel-settings-card{position:relative;z-index:2}
.ogw-panel-settings-card .ogw-business-card-form{margin-top:0}

.ogw-empty-state{padding:34px;text-align:center}
.ogw-empty-state strong{display:block;font-size:1.4rem;letter-spacing:-.04em;margin-bottom:8px}
.ogw-empty-state p{color:var(--ogw-muted);margin:0}
.ogw-visual-card{position:relative;display:flex;flex-direction:column;justify-content:space-between;gap:18px;min-height:0;aspect-ratio:1.586/1;width:100%;padding:24px;border-radius:30px;overflow:hidden;color:#fff;background:linear-gradient(145deg,#08101f 0%, var(--ogw-accent, #0f172a) 38%, color-mix(in srgb, var(--ogw-accent-2, #60a5fa) 50%, #0b1020) 100%);box-shadow:0 28px 60px rgba(15,23,42,.22), inset 0 1px 1px rgba(255,255,255,.12);transform-style:preserve-3d;}
.ogw-visual-card.is-midnight{background:linear-gradient(145deg,#030712 0%, color-mix(in srgb, var(--ogw-accent, #0f172a) 62%, #020617) 48%, color-mix(in srgb, var(--ogw-accent-2, #1d4ed8) 72%, #0f172a) 100%)}
.ogw-visual-card.is-aurora{background:radial-gradient(circle at top right, color-mix(in srgb, var(--ogw-accent-2, #60a5fa) 75%, transparent), transparent 40%), linear-gradient(145deg,#08101f 0%, var(--ogw-accent, #0f172a) 38%, color-mix(in srgb, var(--ogw-accent-2, #60a5fa) 50%, #0b1020) 100%)}
.ogw-visual-card.is-cobalt{background:radial-gradient(circle at 14% 16%, color-mix(in srgb, var(--ogw-accent-2, #60a5fa) 85%, rgba(255,255,255,.08)), transparent 32%), radial-gradient(circle at 88% 8%, color-mix(in srgb, var(--ogw-accent, #0f172a) 68%, rgba(255,255,255,.06)), transparent 34%), linear-gradient(155deg, color-mix(in srgb, var(--ogw-accent, #0f172a) 74%, #020617) 0%, color-mix(in srgb, var(--ogw-accent-2, #60a5fa) 58%, #0b1020) 52%, #020617 100%)}
.ogw-visual-card.is-sunset{background:radial-gradient(circle at 82% 18%, color-mix(in srgb, var(--ogw-accent-2, #fb7185) 82%, rgba(255,255,255,.08)), transparent 28%), radial-gradient(circle at 18% 86%, color-mix(in srgb, var(--ogw-accent, #f59e0b) 76%, rgba(255,255,255,.06)), transparent 34%), linear-gradient(155deg, #1f1124 0%, color-mix(in srgb, var(--ogw-accent, #f97316) 66%, #241118) 44%, color-mix(in srgb, var(--ogw-accent-2, #fb7185) 58%, #241118) 100%)}
.ogw-visual-card.is-emerald{background:radial-gradient(circle at 50% 8%, rgba(255,255,255,.10), transparent 26%), radial-gradient(circle at 88% 24%, color-mix(in srgb, var(--ogw-accent-2, #34d399) 74%, rgba(255,255,255,.04)), transparent 32%), linear-gradient(150deg, #04130f 0%, color-mix(in srgb, var(--ogw-accent, #065f46) 74%, #03110d) 46%, color-mix(in srgb, var(--ogw-accent-2, #34d399) 62%, #052018) 100%)}
.ogw-visual-card-noise{position:absolute;inset:0;background:linear-gradient(180deg,rgba(255,255,255,.18),transparent 32%,transparent 72%,rgba(255,255,255,.06));pointer-events:none}
.ogw-visual-card::before{content:"";position:absolute;inset:1px;border-radius:29px;border:1px solid rgba(255,255,255,.16);pointer-events:none}
.ogw-visual-card-top,.ogw-visual-card-brand,.ogw-visual-card-actions,.ogw-visual-card-footer{position:relative;z-index:1}
.ogw-visual-card-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.ogw-chip{display:inline-flex;align-items:center;justify-content:center;padding:8px 12px;border-radius:999px;font-size:.82rem;font-weight:900;backdrop-filter:blur(12px)}
.ogw-chip-light{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.15);color:#fff}
.ogw-favorite-icon{width:42px;height:42px;border-radius:999px;border:1px solid rgba(255,255,255,.2);background:rgba(255,255,255,.1);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:1.15rem;text-decoration:none;backdrop-filter:blur(10px)}
.ogw-favorite-icon.is-active{background:#fff;color:#e11d48}
.ogw-visual-card-brand{display:flex;align-items:center;gap:16px;margin-top:12px}
.ogw-visual-card-brand img,.ogw-visual-card-logo-fallback{width:74px;height:74px;border-radius:22px;object-fit:cover;background:#fff;display:flex;align-items:center;justify-content:center;color:#111827;font-weight:900;box-shadow:0 10px 24px rgba(0,0,0,.18)}
.ogw-visual-card-brand strong{display:block;font-size:clamp(1.55rem,2.3vw,2.25rem);line-height:1.02;letter-spacing:-.05em}
.ogw-visual-card-brand span{display:block;margin-top:6px;color:rgba(255,255,255,.78);font-size:1rem}
.ogw-visual-card-description{position:relative;z-index:1;margin:0;color:rgba(255,255,255,.88);font-size:1.02rem;line-height:1.65;max-width:92%}
.ogw-visual-card-footer{display:flex;justify-content:space-between;gap:14px;align-items:flex-end;color:rgba(255,255,255,.76);font-size:.95rem}
.ogw-visual-card-callout{max-width:72%;font-weight:700}
.ogw-visual-card-slug{font-weight:800;letter-spacing:.02em;text-transform:lowercase}
.ogw-visual-card-actions{display:flex;gap:10px;flex-wrap:wrap}
.ogw-visual-card-actions .ogw-btn{backdrop-filter:blur(12px)}
.ogw-public-card-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);gap:28px;align-items:start}
.ogw-public-card-main,.ogw-public-card-side{padding:28px}
.ogw-public-card-side{display:grid;gap:18px}
.ogw-public-card-side h1{margin:0}
.ogw-public-card-fixed-links{display:grid;grid-template-columns:1fr;gap:12px}
.ogw-public-card-actions-list{display:grid;gap:12px}
.ogw-public-card-actions-list a{display:flex;align-items:center;justify-content:center;padding:15px 16px;border-radius:18px;background:#fff;color:#0f172a;border:1px solid var(--ogw-line);font-weight:800;text-decoration:none;box-shadow:0 8px 20px rgba(15,23,42,.05)}
.ogw-public-card-hero{max-width:760px;margin:0 auto}
.ogw-preview-toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px}
.ogw-preview-toolbar-vertical{flex-direction:column}
.ogw-preview-toolbar h2{font-size:clamp(1.7rem,2.6vw,2.4rem);letter-spacing:-.05em;margin:10px 0 4px}
.ogw-preview-toolbar-actions{display:flex;gap:12px;flex-wrap:wrap}
.ogw-panel-grid-stacked{display:grid;gap:22px}
.ogw-panel-preview-card,.ogw-panel-settings-card{padding:28px 30px}
.ogw-panel-preview-sticky{position:relative;top:auto;z-index:3}
.ogw-live-preview-wrap{max-width:620px;margin:0 auto;display:flex;justify-content:center}
.ogw-live-preview{max-width:620px;margin:0 auto}
.ogw-panel-settings-card-wide{padding-top:24px}
.ogw-business-card-form{display:grid;gap:20px}
.ogw-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.ogw-form-row{margin-bottom:2px}
.ogw-selected-actions{display:grid;gap:8px;padding:20px;border-radius:24px;background:#fbfcfe;border:1px solid var(--ogw-line)}
.ogw-form-actions,.ogw-preview-quicklinks{display:flex;gap:12px;flex-wrap:wrap}
.ogw-autosave-status{display:inline-flex;align-items:center;min-height:42px;font-size:13px;color:#64748b}
.ogw-autosave-status[data-state="saving"]{color:#9a6700}
.ogw-autosave-status[data-state="success"]{color:#0f9f63}
.ogw-autosave-status[data-state="error"]{color:#d92d20}
.ogw-preview-note{margin:12px 2px 2px}
.ogw-panel-hero-wallet{margin-bottom:20px}
.ogw-panel-hero-wallet .ogw-panel-hero-stats{display:none}
.ogp-page-panel .ogp-app{max-width:1320px;margin:0 auto;padding:28px 24px 56px;display:grid;grid-template-columns:280px minmax(0,1fr);gap:28px}
.ogp-sidebar-card,.ogp-main>.ogp-card-soft{background:#fff;border:1px solid var(--ogw-line);border-radius:26px;box-shadow:var(--ogw-shadow)}
.ogp-sidebar-card{padding:22px 18px 18px}
.ogp-nav{display:grid;gap:8px;padding-top:16px}
.ogp-nav-group{display:flex;flex-direction:column;gap:8px;margin-top:8px;padding-top:10px;border-top:1px solid rgba(219,230,245,.9)}
.ogp-nav-group-link{height:46px;border-radius:16px;padding:0 16px;display:flex;align-items:center;text-decoration:none;border:1px solid #d8e6fb;color:var(--ogw-blue);font-weight:800;background:#eef5ff}
.ogp-nav-group-link:hover{background:#e3efff;border-color:#c9ddfb}

.ogp-nav-group-billing .ogp-nav-group-link span,.ogp-panel-mobile-nav-parent span{font-weight:900;}
.ogp-nav-subnav{display:flex;flex-direction:column;gap:8px;padding-left:14px}
.ogp-nav-link{display:flex;padding:16px 18px;border-radius:18px;color:#0f172a;text-decoration:none;font-weight:500}
.ogp-nav-link.is-active{background:#f0f5ff;color:var(--ogw-blue);border:1px solid #d7e6fb}
.ogp-identity{display:flex;align-items:center;gap:14px}
.ogp-avatar,.ogp-avatar-image{width:62px;height:62px;border-radius:20px;object-fit:cover;background:#eef3fb;display:flex;align-items:center;justify-content:center;font-size:1.6rem;font-weight:900;color:#0f172a}
.ogw-live-preview .ogw-visual-card,.ogw-public-card-hero.ogw-visual-card{min-height:auto}


.ogw-color-picker-line{display:flex;align-items:center;gap:12px;}
.ogw-color-picker-line input[type="color"]{width:72px;min-width:72px;height:48px;padding:6px;border-radius:14px;cursor:pointer;}
.ogw-color-value{display:inline-flex;align-items:center;min-height:44px;padding:0 12px;border-radius:14px;background:#f6f8fc;border:1px solid var(--ogw-line);font-weight:700;color:#334155;font-size:.95rem;letter-spacing:.02em;}
.ogw-public-card-main .ogw-visual-card[data-ogw-tilt-surface]{margin:0 auto;transform-origin:center center;}
.ogw-public-card-main:hover .ogw-visual-card[data-ogw-tilt-surface]{filter:saturate(1.04);}

@media (max-width:1100px){
  .ogw-panel-preview-sticky{position:relative;top:auto}
}
@media (max-width:1100px){
  .ogp-page-panel .ogp-app{grid-template-columns:1fr}
  .ogp-sidebar{order:2}
  .ogp-main{order:1}
  .ogw-public-card-layout{grid-template-columns:1fr}
  .ogw-carousel-card-shell{flex-basis:calc(100% - 2px);min-width:calc(100% - 2px)}
}
@media (max-width:860px){
  .ogw-topbar-inner{padding:16px 18px}
  .ogw-brand-text strong{font-size:1.5rem}
  .ogw-top-actions{gap:14px;font-size:.95rem;flex-wrap:wrap;justify-content:flex-end}
  .ogw-wallet-toolbar,.ogw-form-grid{grid-template-columns:1fr}
  .ogw-wallet-hero,.ogw-panel-hero,.ogw-public-card-main,.ogw-public-card-side,.ogw-panel-preview-card,.ogw-panel-settings-card{padding:22px}
  .ogw-visual-card{padding:20px;border-radius:24px}
  .ogw-visual-card::before{border-radius:23px}
  .ogw-visual-card-brand img,.ogw-visual-card-logo-fallback{width:62px;height:62px;border-radius:18px}
}


/* 1.3.3 typography reset for company panel: match Panels look more closely */
body.ogw-body.ogp-page-panel{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.45;}
body.ogw-body.ogp-page-panel .ogw-topbar-inner{max-width:1180px;padding:14px 18px;gap:16px;}
body.ogw-body.ogp-page-panel .ogw-brand{gap:12px;}
body.ogw-body.ogp-page-panel .ogw-brand-mark img{width:42px;height:42px;border-radius:14px;box-shadow:0 10px 25px rgba(15,23,42,.08);}
body.ogw-body.ogp-page-panel .ogw-brand-text strong{font-size:1rem;font-weight:700;letter-spacing:0;}
body.ogw-body.ogp-page-panel .ogw-brand-text em{font-size:.78rem;text-transform:lowercase;}
body.ogw-body.ogp-page-panel .ogw-top-actions{gap:10px;font-weight:600;}
body.ogw-body.ogp-page-panel .ogw-top-actions a{padding:10px 14px;border-radius:999px;}
body.ogw-body.ogp-page-panel .ogw-top-actions a.is-primary{box-shadow:none;}
body.ogw-body.ogp-page-panel .ogw-panel-hero h1{margin:8px 0 10px;font-size:clamp(1.8rem,4vw,2.6rem);line-height:1.03;letter-spacing:-.03em;}
body.ogw-body.ogp-page-panel .ogw-panel-hero p,
body.ogw-body.ogp-page-panel .ogw-preview-note,
body.ogw-body.ogp-page-panel .ogw-selected-actions p{font-size:1rem;line-height:1.6;}
body.ogw-body.ogp-page-panel .ogw-field>span,
body.ogw-body.ogp-page-panel .ogw-field>strong{font-size:.92rem;font-weight:700;}
body.ogw-body.ogp-page-panel .ogw-btn.ogw-btn-primary,
body.ogw-body.ogp-page-panel .ogw-btn.ogw-btn-secondary,
body.ogw-body.ogp-page-panel .ogw-btn.ogw-btn-light,
body.ogw-body.ogp-page-panel .ogw-btn.ogw-btn-danger,
body.ogw-body.ogp-page-panel .ogw-btn-icon{font-weight:700;letter-spacing:0;}
body.ogw-body.ogp-page-panel .ogp-nav-link{font-weight:500 !important;}


/* 1.3.7 wallet polish */
.ogw-page-wallet .ogw-carousel-wrap{margin:0 -22px;padding:0 22px;overflow:visible;}
.ogw-page-wallet .ogw-carousel{padding:30px 24px 38px;overflow-x:auto;overflow-y:visible;scroll-padding-inline:24px;}
.ogw-page-wallet .ogw-carousel-card-shell{padding:0 2px 10px;}
.ogw-page-wallet .ogw-carousel-card-shell .ogw-visual-card::before{display:none;}
.ogw-page-wallet .ogw-carousel-card-shell .ogw-visual-card::after{content:'';position:absolute;inset:-18%;pointer-events:none;background:radial-gradient(circle at 50% 18%, rgba(255,255,255,.10), rgba(255,255,255,0) 55%);opacity:.14;}
.ogw-page-wallet .ogw-carousel-card-shell:hover .ogw-visual-card::after,.ogw-page-wallet .ogw-carousel-card-shell:focus-visible .ogw-visual-card::after{opacity:.18;}
.ogw-public-card-fixed-links [data-ogw-save-card].ogw-btn-success,.ogw-public-card-fixed-links [data-ogw-save-card].is-saved{background:#fff;color:#0f7a36;border:1px solid #0f7a36;box-shadow:0 8px 18px rgba(15,122,54,.08);}
.ogw-public-card-fixed-links [data-ogw-save-card].ogw-btn-success:hover,.ogw-public-card-fixed-links [data-ogw-save-card].is-saved:hover{transform:translateY(-1px);background:#fff;color:#0d6b2f;border-color:#0d6b2f;box-shadow:0 12px 24px rgba(15,122,54,.12);}
@media (max-width:860px){
  .ogw-page-wallet .ogw-carousel-wrap{margin:0 -10px;padding:0 10px;}
  .ogw-page-wallet .ogw-carousel{padding:22px 12px 30px;scroll-padding-inline:12px;}
}


/* 1.4.0 wallet filters + QR + mobile polish */
.ogw-wallet-toolbar{display:grid;grid-template-columns:minmax(220px,1.4fr) minmax(180px,.8fr) minmax(170px,.8fr) auto auto;gap:12px;align-items:center}
.ogw-wallet-toolbar [data-ogw-clear-filters]{white-space:nowrap}
.ogw-wallet-no-results{margin-top:18px}
.ogw-field-check{display:grid;gap:10px}
.ogw-field-check>.ogw-check{margin-top:2px}
.ogw-page-wallet .ogw-carousel-card-shell[hidden]{display:none !important}
.ogw-public-card-side .ogw-btn,.ogw-public-card-side .ogw-public-card-actions-list a{min-height:58px}
.ogw-public-card-main,.ogw-public-card-side{overflow:visible}
.ogw-public-card-main .ogw-public-card-hero{width:100%;max-width:100%}
.ogw-public-card-main .ogw-visual-card{max-width:100%;width:100%;min-height:auto}
@media (max-width:860px){
  .ogw-wallet-toolbar{grid-template-columns:1fr;}
  .ogw-public-card-page{padding-inline:12px}
  .ogw-public-card-layout{gap:18px}
  .ogw-public-card-main,.ogw-public-card-side{padding:18px}
  .ogw-public-card-main .ogw-visual-card{padding:18px 16px 16px;border-radius:22px;gap:14px}
  .ogw-public-card-main .ogw-visual-card::before{border-radius:21px}
  .ogw-public-card-main .ogw-visual-card-brand{gap:12px;align-items:center}
  .ogw-public-card-main .ogw-visual-card-brand img,.ogw-public-card-main .ogw-visual-card-logo-fallback{width:56px;height:56px;border-radius:16px}
  .ogw-public-card-main .ogw-visual-card-brand strong{font-size:clamp(1.38rem,7vw,2rem);line-height:1.02}
  .ogw-public-card-main .ogw-visual-card-brand span{font-size:.96rem;margin-top:4px}
  .ogw-public-card-main .ogw-visual-card-description{font-size:.96rem;line-height:1.55;max-width:100%}
  .ogw-public-card-main .ogw-visual-card-footer{display:grid;gap:6px;align-items:flex-start}
  .ogw-public-card-main .ogw-visual-card-callout{max-width:100%}
}


/* 1.4.1 auth + QR + mobile card fixes */
.ogw-auth-stack{display:grid;gap:12px;justify-items:center}
.ogw-auth-stack .ogw-btn{min-width:min(100%,320px)}
.ogw-auth-alt-btn{font-weight:800}
.ogw-public-card-fixed-links .ogw-btn{width:100%}
@media (max-width:860px){
  .ogw-auth-card{padding:26px 20px}
  .ogw-auth-stack .ogw-btn{width:100%}
  .ogw-public-card-page{padding:18px 8px 32px}
  .ogw-public-card-layout{gap:14px}
  .ogw-public-card-main{padding:0;background:transparent;border:0;box-shadow:none}
  .ogw-public-card-side{padding:18px 16px}
  .ogw-public-card-main .ogw-public-card-hero{margin:0 auto;max-width:100%}
  .ogw-public-card-main .ogw-visual-card{width:100%;max-width:100%;padding:16px 14px 15px;border-radius:20px;gap:12px;min-height:0}
  .ogw-public-card-main .ogw-visual-card::before{border-radius:19px}
  .ogw-public-card-main .ogw-visual-card-brand{gap:10px;align-items:center}
  .ogw-public-card-main .ogw-visual-card-brand img,.ogw-public-card-main .ogw-visual-card-logo-fallback{width:48px;height:48px;border-radius:14px}
  .ogw-public-card-main .ogw-visual-card-brand strong{font-size:clamp(1.1rem,5.9vw,1.55rem);line-height:1.02;letter-spacing:-.04em;word-break:break-word}
  .ogw-public-card-main .ogw-visual-card-brand span{font-size:.9rem;margin-top:3px;line-height:1.3}
  .ogw-public-card-main .ogw-visual-card-description{font-size:.9rem;line-height:1.48;max-width:100%}
  .ogw-public-card-main .ogw-visual-card-footer{display:flex;justify-content:space-between;gap:10px;align-items:flex-end}
  .ogw-public-card-main .ogw-visual-card-callout{font-size:.84rem;line-height:1.34;max-width:72%}
  .ogw-public-card-main .ogw-visual-card-slug{font-size:.78rem;max-width:28%;text-align:right;word-break:break-word}
  .ogw-public-card-side h1{font-size:clamp(1.7rem,8vw,2.2rem);line-height:1;}
}


/* 1.4.5 styles: removed glass, added more readable presets */


/* 1.4.8 wallet inline flash */
.ogw-page-wallet .ogw-flash-inline{
  max-width:560px;
  width:calc(100% - 48px);
  margin:14px auto 22px;
  min-height:58px;
}
@media (max-width:860px){
  .ogw-page-wallet .ogw-flash-inline{
    width:calc(100% - 24px);
    margin:12px auto 18px;
  }
}


/* 1.4.10 mobile card fit + cleaner public side + touch tilt */
.ogw-visual-card,
.ogw-live-preview,
.ogw-live-preview-wrap,
.ogw-public-card-main,
.ogw-public-card-side,
.ogw-page-wallet .ogw-carousel-card-shell,
.ogw-page-wallet .ogw-carousel,
.ogw-page-wallet .ogw-carousel-wrap{box-sizing:border-box}
.ogw-visual-card{max-width:100%}
.ogw-public-card-side{align-content:start}
.ogw-public-card-side > h1,
.ogw-public-card-side > p{display:none}
.ogw-panel-preview-card .ogw-live-preview,
.ogw-panel-preview-card .ogw-live-preview-wrap{width:min(100%,620px);max-width:100%}
.ogw-panel-preview-card .ogw-live-preview .ogw-visual-card,
.ogw-public-card-main .ogw-visual-card,
.ogw-page-wallet .ogw-carousel-card-shell .ogw-visual-card{width:100%;max-width:100%;box-sizing:border-box}
@media (max-width:860px){
  .ogw-page-wallet{padding-inline:12px}
  .ogw-page-wallet .ogw-wallet-hero{padding:20px 16px}
  .ogw-page-wallet .ogw-wallet-hero h1{font-size:clamp(1.6rem,7vw,2.15rem);line-height:1.02}
  .ogw-page-wallet .ogw-wallet-hero p{font-size:.98rem;line-height:1.55}
  .ogw-page-wallet .ogw-wallet-hero-meta{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .ogw-page-wallet .ogw-wallet-hero-meta > div{min-width:0;padding:14px 12px;border-radius:18px}
  .ogw-page-wallet .ogw-wallet-hero-meta strong{font-size:1.45rem}
  .ogw-page-wallet .ogw-carousel-wrap{margin:0;padding:0;overflow:visible}
  .ogw-page-wallet .ogw-carousel{gap:16px;padding:18px 2px 24px;scroll-padding-inline:2px}
  .ogw-page-wallet .ogw-carousel-card-shell{flex:0 0 100%;min-width:100%;padding:0 0 10px}
  .ogw-page-wallet .ogw-card-list-actions{padding-inline:0}
  .ogw-panel-preview-card,.ogw-panel-settings-card{padding:18px 14px}
  .ogw-live-preview-wrap,.ogw-live-preview{width:100%;max-width:100%}
  .ogw-panel-preview-card .ogw-live-preview .ogw-visual-card{padding:16px 14px 15px;border-radius:20px;gap:12px}
  .ogw-panel-preview-card .ogw-live-preview .ogw-visual-card::before{border-radius:19px}
  .ogw-panel-preview-card .ogw-live-preview .ogw-visual-card-brand{gap:10px;align-items:center}
  .ogw-panel-preview-card .ogw-live-preview .ogw-visual-card-brand img,
  .ogw-panel-preview-card .ogw-live-preview .ogw-visual-card-logo-fallback{width:48px;height:48px;border-radius:14px}
  .ogw-panel-preview-card .ogw-live-preview .ogw-visual-card-brand strong{font-size:clamp(1.1rem,5.9vw,1.55rem);line-height:1.02;letter-spacing:-.04em;word-break:break-word}
  .ogw-panel-preview-card .ogw-live-preview .ogw-visual-card-brand span{font-size:.9rem;line-height:1.3;margin-top:3px}
  .ogw-panel-preview-card .ogw-live-preview .ogw-visual-card-description{font-size:.9rem;line-height:1.48;max-width:100%}
  .ogw-panel-preview-card .ogw-live-preview .ogw-visual-card-footer{display:flex;justify-content:space-between;gap:10px;align-items:flex-end}
  .ogw-panel-preview-card .ogw-live-preview .ogw-visual-card-callout{font-size:.84rem;line-height:1.34;max-width:72%}
  .ogw-panel-preview-card .ogw-live-preview .ogw-visual-card-slug{font-size:.78rem;max-width:28%;text-align:right;word-break:break-word}
}


/* 1.4.11 mobile safe fit + touch tilt polish */
body.ogw-body,
.ogw-shell,
.ogw-wallet-page,
.ogw-public-card-page,
.ogp-page-panel .ogp-app,
.ogp-main,
.ogw-panel-grid,
.ogw-panel-grid-stacked,
.ogw-panel-grid-wallet,
.ogw-panel-card,
.ogw-panel-preview-card,
.ogw-panel-settings-card,
.ogw-live-preview-wrap,
.ogw-live-preview,
.ogw-page-wallet .ogw-carousel-wrap,
.ogw-page-wallet .ogw-carousel,
.ogw-page-wallet .ogw-carousel-card-shell,
.ogw-page-wallet .ogw-carousel-card-shell .ogw-visual-card,
.ogw-panel-preview-card .ogw-live-preview .ogw-visual-card{
  min-width:0;
}
.ogw-shell{overflow-x:hidden;}
.ogw-visual-card,
.ogw-visual-card *,
.ogw-live-preview,
.ogw-live-preview *{
  -webkit-user-select:none;
  user-select:none;
  -webkit-touch-callout:none;
}
.ogw-visual-card[data-ogw-tilt-surface]{touch-action:manipulation;}
@media (max-width:860px){
  body.ogw-body{overflow-x:hidden;}
  .ogw-topbar-inner,
  .ogw-auth-wrap,
  .ogw-wallet-page,
  .ogw-public-card-page,
  .ogp-page-panel .ogp-app{padding-left:12px;padding-right:12px;box-sizing:border-box;}
  .ogw-page-wallet .ogw-carousel-wrap,
  .ogw-page-wallet .ogw-carousel,
  .ogw-page-wallet .ogw-carousel-card-shell,
  .ogw-page-wallet .ogw-carousel-card-shell .ogw-visual-card,
  .ogw-panel-preview-card .ogw-live-preview,
  .ogw-panel-preview-card .ogw-live-preview-wrap,
  .ogw-panel-preview-card .ogw-live-preview .ogw-visual-card{
    width:100%;
    max-width:100%;
    box-sizing:border-box;
  }
  .ogw-page-wallet .ogw-carousel{gap:14px;padding:16px 0 22px;scroll-padding-inline:0;}
  .ogw-page-wallet .ogw-carousel-card-shell{flex:0 0 100%;min-width:100%;padding:0 0 8px;}
  .ogw-page-wallet .ogw-carousel-card-shell .ogw-visual-card,
  .ogw-panel-preview-card .ogw-live-preview .ogw-visual-card{
    width:min(100%, calc(100vw - 48px));
    margin-inline:auto;
  }
  .ogw-panel-preview-card .ogw-live-preview-wrap{justify-content:center;overflow:visible;}
}


/* 1.4.12 mobile card fit + sensor tilt */
.ogw-visual-card-footer{margin-top:auto;}
@media (max-width:860px){
  .ogw-page-wallet .ogw-wallet-hero{
    flex-direction:column;
    align-items:flex-start;
  }
  .ogw-page-wallet .ogw-wallet-hero-meta{
    width:100%;
    display:grid;
    grid-template-columns:1fr;
    gap:10px;
  }
  .ogw-page-wallet .ogw-wallet-hero-meta > div{
    width:100%;
  }
  .ogw-page-wallet .ogw-carousel-card-shell .ogw-visual-card,
  .ogw-panel-preview-card .ogw-live-preview .ogw-visual-card{
    aspect-ratio:auto;
    min-height:280px;
    padding:14px 14px 13px;
    gap:10px;
    justify-content:flex-start;
  }
  .ogw-page-wallet .ogw-carousel-card-shell .ogw-visual-card::before,
  .ogw-panel-preview-card .ogw-live-preview .ogw-visual-card::before{
    border-radius:19px;
  }
  .ogw-page-wallet .ogw-carousel-card-shell .ogw-visual-card-top,
  .ogw-panel-preview-card .ogw-live-preview .ogw-visual-card-top{
    gap:10px;
  }
  .ogw-page-wallet .ogw-carousel-card-shell .ogw-chip,
  .ogw-panel-preview-card .ogw-live-preview .ogw-chip{
    padding:7px 11px;
    font-size:.74rem;
  }
  .ogw-page-wallet .ogw-carousel-card-shell .ogw-favorite-icon,
  .ogw-panel-preview-card .ogw-live-preview .ogw-favorite-icon{
    width:40px;
    height:40px;
    font-size:1.04rem;
  }
  .ogw-page-wallet .ogw-carousel-card-shell .ogw-visual-card-brand,
  .ogw-panel-preview-card .ogw-live-preview .ogw-visual-card-brand{
    gap:10px;
    margin-top:4px;
    align-items:center;
  }
  .ogw-page-wallet .ogw-carousel-card-shell .ogw-visual-card-brand img,
  .ogw-page-wallet .ogw-carousel-card-shell .ogw-visual-card-logo-fallback,
  .ogw-panel-preview-card .ogw-live-preview .ogw-visual-card-brand img,
  .ogw-panel-preview-card .ogw-live-preview .ogw-visual-card-logo-fallback{
    width:52px;
    height:52px;
    border-radius:15px;
  }
  .ogw-page-wallet .ogw-carousel-card-shell .ogw-visual-card-brand strong,
  .ogw-panel-preview-card .ogw-live-preview .ogw-visual-card-brand strong{
    font-size:clamp(1.02rem,5.2vw,1.42rem);
    line-height:1.08;
    letter-spacing:-.035em;
  }
  .ogw-page-wallet .ogw-carousel-card-shell .ogw-visual-card-brand span,
  .ogw-panel-preview-card .ogw-live-preview .ogw-visual-card-brand span{
    margin-top:4px;
    font-size:.82rem;
    line-height:1.3;
  }
  .ogw-page-wallet .ogw-carousel-card-shell .ogw-visual-card-description,
  .ogw-panel-preview-card .ogw-live-preview .ogw-visual-card-description{
    max-width:100%;
    font-size:.82rem;
    line-height:1.42;
  }
  .ogw-page-wallet .ogw-carousel-card-shell .ogw-visual-card-footer,
  .ogw-panel-preview-card .ogw-live-preview .ogw-visual-card-footer{
    gap:10px;
    align-items:flex-end;
  }
  .ogw-page-wallet .ogw-carousel-card-shell .ogw-visual-card-callout,
  .ogw-panel-preview-card .ogw-live-preview .ogw-visual-card-callout{
    max-width:70%;
    font-size:.78rem;
    line-height:1.28;
  }
  .ogw-page-wallet .ogw-carousel-card-shell .ogw-visual-card-slug,
  .ogw-panel-preview-card .ogw-live-preview .ogw-visual-card-slug{
    max-width:30%;
    font-size:.72rem;
    line-height:1.2;
    text-align:right;
    overflow-wrap:anywhere;
  }
}


/* 1.4.13 mobile card density + cleaner panel form + stronger sensor tilt */
.ogw-panel-preview-card .ogw-live-preview-wrap,
.ogw-public-card-main .ogw-public-card-hero,
.ogw-page-wallet .ogw-carousel-card-shell{perspective:1900px;}

@media (max-width:860px){
  .ogw-page-wallet .ogw-carousel-card-shell .ogw-visual-card{
    min-height:238px;
    padding:13px 13px 12px;
    gap:8px;
  }
  .ogw-page-wallet .ogw-carousel-card-shell .ogw-visual-card-top{
    gap:8px;
  }
  .ogw-page-wallet .ogw-carousel-card-shell .ogw-chip{
    padding:6px 10px;
    font-size:.72rem;
  }
  .ogw-page-wallet .ogw-carousel-card-shell .ogw-favorite-icon{
    width:38px;
    height:38px;
    font-size:1rem;
  }
  .ogw-page-wallet .ogw-carousel-card-shell .ogw-visual-card-brand{
    gap:9px;
    margin-top:2px;
  }
  .ogw-page-wallet .ogw-carousel-card-shell .ogw-visual-card-brand img,
  .ogw-page-wallet .ogw-carousel-card-shell .ogw-visual-card-logo-fallback{
    width:50px;
    height:50px;
    border-radius:14px;
  }
  .ogw-page-wallet .ogw-carousel-card-shell .ogw-visual-card-brand strong{
    font-size:clamp(.98rem,5vw,1.34rem);
    line-height:1.05;
  }
  .ogw-page-wallet .ogw-carousel-card-shell .ogw-visual-card-brand span{
    margin-top:2px;
    font-size:.8rem;
    line-height:1.24;
  }
  .ogw-page-wallet .ogw-carousel-card-shell .ogw-visual-card-description{
    font-size:.79rem;
    line-height:1.32;
  }
  .ogw-page-wallet .ogw-carousel-card-shell .ogw-visual-card-footer{
    margin-top:4px;
    gap:8px;
  }
  .ogw-page-wallet .ogw-carousel-card-shell .ogw-visual-card-callout{
    font-size:.74rem;
    line-height:1.2;
    max-width:68%;
  }
  .ogw-page-wallet .ogw-carousel-card-shell .ogw-visual-card-slug{
    font-size:.68rem;
    line-height:1.12;
    max-width:32%;
  }

  .ogw-panel-preview-card .ogw-live-preview .ogw-visual-card{
    min-height:246px;
    padding:13px 13px 12px;
    gap:8px;
  }
  .ogw-panel-preview-card .ogw-live-preview .ogw-visual-card-top{
    gap:8px;
  }
  .ogw-panel-preview-card .ogw-live-preview .ogw-chip{
    padding:6px 10px;
    font-size:.72rem;
  }
  .ogw-panel-preview-card .ogw-live-preview .ogw-favorite-icon{
    width:38px;
    height:38px;
    font-size:1rem;
  }
  .ogw-panel-preview-card .ogw-live-preview .ogw-visual-card-brand{
    gap:9px;
    margin-top:2px;
  }
  .ogw-panel-preview-card .ogw-live-preview .ogw-visual-card-brand img,
  .ogw-panel-preview-card .ogw-live-preview .ogw-visual-card-logo-fallback{
    width:50px;
    height:50px;
    border-radius:14px;
  }
  .ogw-panel-preview-card .ogw-live-preview .ogw-visual-card-brand strong{
    font-size:clamp(1rem,5.1vw,1.36rem);
    line-height:1.05;
  }
  .ogw-panel-preview-card .ogw-live-preview .ogw-visual-card-brand span{
    margin-top:2px;
    font-size:.8rem;
    line-height:1.24;
  }
  .ogw-panel-preview-card .ogw-live-preview .ogw-visual-card-description{
    font-size:.79rem;
    line-height:1.32;
  }
  .ogw-panel-preview-card .ogw-live-preview .ogw-visual-card-footer{
    margin-top:4px;
    display:grid;
    gap:4px;
    align-items:flex-start;
  }
  .ogw-panel-preview-card .ogw-live-preview .ogw-visual-card-callout,
  .ogw-panel-preview-card .ogw-live-preview .ogw-visual-card-slug{
    max-width:100%;
    text-align:left;
  }
  .ogw-panel-preview-card .ogw-live-preview .ogw-visual-card-callout{
    font-size:.74rem;
    line-height:1.2;
  }
  .ogw-panel-preview-card .ogw-live-preview .ogw-visual-card-slug{
    font-size:.68rem;
    line-height:1.12;
  }
}



/* 1.4.15 panel summary cleanup + lighter nav */
.ogw-home-card-meta{display:flex;flex-wrap:wrap;gap:10px;}
.ogw-home-card-meta span:only-child{min-width:0;}
body.ogw-body.ogp-page-panel .ogp-nav-link,
body.ogw-body.ogp-page-panel .ogp-nav-link span,
body.ogw-body.ogp-page-panel .ogp-nav a,
body.ogw-body.ogp-page-panel .ogp-sidebar .ogp-nav-link{font-weight:500 !important;}

@media (max-width:860px){
  .ogw-panel-preview-card .ogw-live-preview .ogw-visual-card{
    min-height:278px;
  }
  .ogw-panel-preview-card .ogw-live-preview .ogw-visual-card-footer{
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    gap:8px;
    margin-top:4px;
  }
  .ogw-panel-preview-card .ogw-live-preview .ogw-visual-card-callout{
    max-width:68%;
    font-size:.75rem;
    line-height:1.18;
    text-align:left;
  }
  .ogw-panel-preview-card .ogw-live-preview .ogw-visual-card-slug{
    display:block;
    max-width:30%;
    font-size:.69rem;
    line-height:1.08;
    text-align:right;
    white-space:normal;
    overflow-wrap:anywhere;
    word-break:break-word;
  }
}

/* 1.4.16 mobile card fit + footer layout restored in panel preview */
@media (max-width:860px){
  .ogw-page-wallet .ogw-carousel-card-shell .ogw-visual-card{
    min-height:226px;
    padding:12px 12px 11px;
    gap:7px;
  }
  .ogw-page-wallet .ogw-carousel-card-shell .ogw-visual-card-brand span{
    margin-top:1px;
    font-size:.78rem;
    line-height:1.2;
  }
  .ogw-page-wallet .ogw-carousel-card-shell .ogw-visual-card-description{
    font-size:.77rem;
    line-height:1.28;
  }
  .ogw-page-wallet .ogw-carousel-card-shell .ogw-visual-card-footer{
    margin-top:2px;
    gap:7px;
  }

  .ogw-panel-preview-card .ogw-live-preview .ogw-visual-card{
    min-height:244px;
    padding:12px 12px 11px;
    gap:7px;
  }
  .ogw-panel-preview-card .ogw-live-preview .ogw-visual-card-brand span{
    margin-top:1px;
    font-size:.78rem;
    line-height:1.2;
  }
  .ogw-panel-preview-card .ogw-live-preview .ogw-visual-card-description{
    font-size:.77rem;
    line-height:1.28;
    max-width:100%;
  }
  .ogw-panel-preview-card .ogw-live-preview .ogw-visual-card-footer{
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    gap:7px;
    margin-top:2px;
  }
  .ogw-panel-preview-card .ogw-live-preview .ogw-visual-card-callout{
    flex:1 1 auto;
    max-width:none;
    min-width:0;
    font-size:.75rem;
    line-height:1.18;
    text-align:left;
  }
  .ogw-panel-preview-card .ogw-live-preview .ogw-visual-card-slug{
    flex:0 0 auto;
    max-width:40%;
    display:block;
    margin-left:auto;
    font-size:.69rem;
    line-height:1.1;
    text-align:right;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    opacity:.98;
  }
}


/* Shared topbar fallback so digital wallet matches Panels everywhere */
.ogw-body .ogp-topbar{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.82);backdrop-filter:blur(14px);border-bottom:1px solid rgba(15,23,42,.06)}
.ogw-body .ogp-topbar-inner{max-width:1260px;margin:0 auto;padding:16px 24px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.ogw-body .ogp-brand{display:flex;align-items:center;gap:14px;text-decoration:none;color:var(--ogw-ink);min-width:0}
.ogw-body .ogp-brand-mark{width:56px;height:56px;border-radius:18px;display:grid;place-items:center;overflow:visible;box-shadow:none;background:transparent;border:none;flex:none}
.ogw-body .ogp-brand-mark img{display:block;width:100%;height:100%;object-fit:contain}
.ogw-body .ogp-brand-text{display:flex;flex-direction:column;line-height:1.02;min-width:0}
.ogw-body .ogp-brand-title{display:block;font-size:18px;letter-spacing:-.02em;font-weight:400 !important}
.ogw-body .ogp-brand-text em{font-style:normal;color:var(--ogw-muted);font-size:12px;margin-top:4px;white-space:nowrap}
.ogw-body .ogp-topbar-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.ogw-body .ogp-top-link{display:inline-flex;align-items:center;justify-content:center;height:42px;padding:0 16px;border-radius:14px;background:var(--ogw-blue);color:#fff;text-decoration:none;font-weight:700;border:1px solid var(--ogw-blue);box-shadow:0 12px 28px rgba(0,86,168,.18)}
.ogw-body .ogp-top-link-ghost{background:#fff;color:var(--ogw-ink);border-color:rgba(15,23,42,.08);box-shadow:none}
.ogw-body .ogp-topbar-menu{display:none;position:relative}
.ogw-body .ogp-topbar-menu-toggle{appearance:none;border:1px solid rgba(15,23,42,.08);background:#fff;color:var(--ogw-ink);border-radius:16px;padding:12px 16px;font-weight:800;cursor:pointer}
.ogw-body .ogp-topbar-menu-panel{display:none;position:absolute;right:0;top:calc(100% + 10px);min-width:200px;background:#fff;border:1px solid rgba(15,23,42,.08);border-radius:18px;box-shadow:0 22px 55px rgba(13,34,63,.14);padding:10px;z-index:30}
.ogw-body .ogp-topbar-menu.is-open .ogp-topbar-menu-panel{display:flex;flex-direction:column;gap:8px}
.ogw-body .ogp-topbar-menu-panel a{display:flex;align-items:center;justify-content:center;min-height:44px;padding:0 14px;border-radius:14px;text-decoration:none;color:var(--ogw-ink);font-weight:800;background:#f8fafc}
.ogw-body .ogp-topbar-menu-panel a.ogp-menu-primary{background:var(--ogw-blue);color:#fff}
@media (max-width:860px){.ogw-body .ogp-topbar-actions{display:none}.ogw-body .ogp-topbar-menu{display:block}}
@media (max-width:700px){.ogw-body .ogp-topbar-inner{padding:14px 16px}.ogw-body .ogp-brand-mark{width:44px;height:44px;border-radius:14px}.ogw-body .ogp-brand-title{font-size:16px}.ogw-body .ogp-brand-text em{font-size:11px}}


body.ogw-body .ogp-brand-title{font-weight:400 !important;}
body.ogw-body.ogw-page-wallet .ogp-brand-text,
body.ogw-body.ogw-page-card .ogp-brand-text{font-weight:400 !important;}
body.ogw-body .ogw-auth-stack{justify-content:flex-start;}
body.ogw-body .ogw-page-auth .ogw-auth-stack .ogw-btn-primary{min-width:min(100%,220px);}


/* 1.4.21 free/premium wallet limits + basic analytics */
.ogw-plan-note{margin:14px 0 0;padding:14px 16px;border:1px solid #e3ebfb;border-radius:18px;background:#f8fbff;color:#5b6677;font-size:13px;line-height:1.65}
.ogw-plan-note strong{color:#1b2637}
.ogw-analytics-panel{margin:0 0 18px;padding:18px;border:1px solid #e4ebf6;border-radius:22px;background:#fbfcfe;display:grid;gap:14px}
.ogw-analytics-head h3{margin:8px 0 4px;font-size:1.35rem;letter-spacing:-.03em}
.ogw-analytics-head p{margin:0;color:var(--ogw-muted);font-size:.98rem;line-height:1.6}
.ogw-analytics-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.ogw-analytics-stat{padding:15px 16px;border-radius:18px;border:1px solid var(--ogw-line);background:#fff;min-width:0}
.ogw-analytics-stat strong{display:block;font-size:1.45rem;line-height:1.05;letter-spacing:-.03em;color:#162233}
.ogw-analytics-stat span{display:block;margin-top:6px;color:var(--ogw-muted);font-size:.92rem;line-height:1.45}
.ogw-analytics-wide strong{font-size:1.05rem;line-height:1.2}
.ogw-home-card-note{margin:10px 0 0;color:var(--ogw-muted);font-size:.95rem;line-height:1.6}
@media (max-width:980px){.ogw-analytics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ogw-analytics-wide{grid-column:1/-1}}
@media (max-width:640px){.ogw-analytics-panel{padding:16px}.ogw-analytics-grid{grid-template-columns:1fr}.ogw-analytics-wide{grid-column:auto}}

/* 1.4.28 exact header parity with Panels on panel routes */
body.ogw-body.ogp-page-panel .ogp-brand-text strong{
  display:block;
  font-size:18px;
  letter-spacing:-.02em;
  font-weight:400 !important;
  color:var(--ogw-ink);
}
@media (max-width:700px){
  body.ogw-body.ogp-page-panel .ogp-brand-text strong{font-size:15px;}
}


/* 1.4.31 mobile nav + native menu */
.ogw-body.ogp-page-panel,
.ogw-body.ogp-page-panel .ogp-app,
.ogw-body.ogp-page-panel .ogp-main,
.ogw-body.ogp-page-panel .ogp-sidebar,
.ogw-body .ogp-topbar-inner{max-width:100%;min-width:0;box-sizing:border-box}
.ogw-body.ogp-page-panel{overflow-x:hidden}
.ogw-body .ogp-topbar-menu-native{display:none;position:relative}
.ogw-body .ogp-topbar-menu-native summary{list-style:none}
.ogw-body .ogp-topbar-menu-native summary::-webkit-details-marker{display:none}
.ogw-body .ogp-topbar-menu-native[open] .ogp-topbar-menu-panel{display:flex;flex-direction:column;gap:8px}
.ogw-body .ogp-panel-mobile-nav-wrap{display:none;margin:0 0 18px;min-width:0}
.ogw-body .ogp-panel-mobile-nav,.ogw-body .ogp-panel-mobile-subnav{display:flex;gap:10px;overflow-x:auto;overflow-y:hidden;padding:4px 0 6px;scrollbar-width:none;-webkit-overflow-scrolling:touch;min-width:0}
.ogw-body .ogp-panel-mobile-nav::-webkit-scrollbar,.ogw-body .ogp-panel-mobile-subnav::-webkit-scrollbar{display:none}
.ogw-body .ogp-panel-mobile-nav-group{display:flex;flex-direction:column;gap:8px;margin-top:6px}
.ogw-body .ogp-panel-mobile-nav-link{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 14px;border-radius:999px;border:1px solid #dbe6f5;background:#fff;color:#3b4a60;text-decoration:none;font-weight:800;white-space:nowrap;box-shadow:0 8px 22px rgba(15,23,42,.04)}
.ogw-body .ogp-panel-mobile-nav-parent{background:#eef5ff;border-color:#d8e6fb;color:#0056A8}
.ogw-body .ogp-panel-mobile-nav-sublink{background:#fff}
.ogw-body .ogp-panel-mobile-nav-link.is-active{background:#0056A8;border-color:#0056A8;color:#fff;box-shadow:0 14px 30px rgba(0,86,168,.18)}
@media (max-width:1080px){
  .ogw-body.ogp-page-panel .ogp-sidebar .ogp-nav{display:none}
  .ogw-body .ogp-panel-mobile-nav-wrap{display:block}
}
@media (max-width:700px){
  .ogw-body .ogp-topbar-menu-native{display:block}
  .ogw-body .ogp-topbar-actions{display:none}
}


/* 1.4.32 match Panels container width + keep card panel inside layout */
body.ogw-body.ogp-page-panel .ogp-topbar-inner{
  max-width:1260px;
  margin:0 auto;
  padding:16px 24px;
  box-sizing:border-box;
}
body.ogw-body.ogp-page-panel .ogp-app{
  max-width:1260px;
  margin:0 auto;
  padding:28px 24px 40px;
  display:grid;
  grid-template-columns:290px minmax(0,1fr);
  gap:28px;
  align-items:start;
  box-sizing:border-box;
}
body.ogw-body.ogp-page-panel .ogp-main,
body.ogw-body.ogp-page-panel .ogp-sidebar,
body.ogw-body.ogp-page-panel .ogw-panel-grid,
body.ogw-body.ogp-page-panel .ogw-panel-grid-stacked,
body.ogw-body.ogp-page-panel .ogw-panel-grid-wallet,
body.ogw-body.ogp-page-panel .ogw-panel-card{
  width:100%;
  max-width:100%;
  min-width:0;
  box-sizing:border-box;
}
body.ogw-body.ogp-page-panel .ogw-panel-grid-wallet{gap:20px;}
body.ogw-body.ogp-page-panel .ogw-panel-preview-card,
body.ogw-body.ogp-page-panel .ogw-panel-settings-card{
  border-radius:28px;
}
@media (max-width:1080px){
  body.ogw-body.ogp-page-panel .ogp-app{grid-template-columns:1fr;}
}
@media (max-width:860px){
  body.ogw-body.ogp-page-panel .ogp-topbar-inner{padding:14px 16px;}
  body.ogw-body.ogp-page-panel .ogp-app{padding-left:16px;padding-right:16px;}
}
@media (max-width:700px){
  body.ogw-body.ogp-page-panel .ogp-topbar-inner{padding:12px 14px;}
}


/* 1.4.44 final mobile card fit: keep footer inside the card everywhere */
@media (max-width:860px){
  .ogw-page-wallet .ogw-carousel-card-shell .ogw-visual-card,
  .ogw-panel-preview-card .ogw-live-preview .ogw-visual-card,
  .ogw-public-card-main .ogw-visual-card{
    aspect-ratio:auto !important;
    min-height:0 !important;
    height:auto !important;
    padding:14px 14px 16px !important;
    gap:10px !important;
    justify-content:flex-start !important;
    overflow:hidden;
  }

  .ogw-page-wallet .ogw-carousel-card-shell .ogw-visual-card-top,
  .ogw-panel-preview-card .ogw-live-preview .ogw-visual-card-top,
  .ogw-public-card-main .ogw-visual-card-top{
    gap:10px;
  }

  .ogw-page-wallet .ogw-carousel-card-shell .ogw-visual-card-brand,
  .ogw-panel-preview-card .ogw-live-preview .ogw-visual-card-brand,
  .ogw-public-card-main .ogw-visual-card-brand{
    gap:10px !important;
    margin-top:2px;
    align-items:center;
  }

  .ogw-page-wallet .ogw-carousel-card-shell .ogw-visual-card-brand img,
  .ogw-page-wallet .ogw-carousel-card-shell .ogw-visual-card-logo-fallback,
  .ogw-panel-preview-card .ogw-live-preview .ogw-visual-card-brand img,
  .ogw-panel-preview-card .ogw-live-preview .ogw-visual-card-logo-fallback,
  .ogw-public-card-main .ogw-visual-card-brand img,
  .ogw-public-card-main .ogw-visual-card-logo-fallback{
    width:52px;
    height:52px;
    border-radius:15px;
  }

  .ogw-page-wallet .ogw-carousel-card-shell .ogw-visual-card-brand strong,
  .ogw-panel-preview-card .ogw-live-preview .ogw-visual-card-brand strong,
  .ogw-public-card-main .ogw-visual-card-brand strong{
    font-size:clamp(1.02rem,5.4vw,1.42rem) !important;
    line-height:1.06 !important;
    letter-spacing:-.04em;
    word-break:break-word;
  }

  .ogw-page-wallet .ogw-carousel-card-shell .ogw-visual-card-brand span,
  .ogw-panel-preview-card .ogw-live-preview .ogw-visual-card-brand span,
  .ogw-public-card-main .ogw-visual-card-brand span{
    margin-top:3px !important;
    font-size:.84rem !important;
    line-height:1.28 !important;
  }

  .ogw-page-wallet .ogw-carousel-card-shell .ogw-visual-card-description,
  .ogw-panel-preview-card .ogw-live-preview .ogw-visual-card-description,
  .ogw-public-card-main .ogw-visual-card-description{
    max-width:100% !important;
    font-size:.84rem !important;
    line-height:1.4 !important;
    overflow-wrap:anywhere;
  }

  .ogw-page-wallet .ogw-carousel-card-shell .ogw-visual-card-footer,
  .ogw-panel-preview-card .ogw-live-preview .ogw-visual-card-footer,
  .ogw-public-card-main .ogw-visual-card-footer{
    display:flex !important;
    flex-wrap:wrap !important;
    justify-content:space-between !important;
    align-items:flex-end !important;
    gap:8px 12px !important;
    margin-top:auto !important;
    padding-top:2px;
    min-width:0;
  }

  .ogw-page-wallet .ogw-carousel-card-shell .ogw-visual-card-callout,
  .ogw-panel-preview-card .ogw-live-preview .ogw-visual-card-callout,
  .ogw-public-card-main .ogw-visual-card-callout{
    flex:1 1 150px !important;
    max-width:none !important;
    min-width:0 !important;
    font-size:.76rem !important;
    line-height:1.24 !important;
    overflow-wrap:anywhere;
  }

  .ogw-page-wallet .ogw-carousel-card-shell .ogw-visual-card-slug,
  .ogw-panel-preview-card .ogw-live-preview .ogw-visual-card-slug,
  .ogw-public-card-main .ogw-visual-card-slug{
    flex:0 1 auto !important;
    display:block !important;
    max-width:100% !important;
    min-width:0 !important;
    margin-left:auto;
    font-size:.72rem !important;
    line-height:1.18 !important;
    text-align:right !important;
    white-space:normal !important;
    overflow:visible !important;
    text-overflow:clip !important;
    overflow-wrap:anywhere !important;
    word-break:break-word !important;
  }

  .ogw-panel-preview-card .ogw-live-preview-wrap{
    padding-bottom:14px;
  }

  .ogw-panel-preview-card{
    overflow:visible;
  }
}


/* 1.4.48 panel mobile preview fix: target the preview card itself, not a nested card */
@media (max-width:860px){
  body.ogw-body.ogp-page-panel .ogw-panel-preview-card .ogw-live-preview-wrap{
    display:flex !important;
    justify-content:center !important;
    overflow:visible !important;
    padding-bottom:18px !important;
  }

  body.ogw-body.ogp-page-panel .ogw-panel-preview-card .ogw-live-preview{
    width:min(100%, calc(100vw - 56px)) !important;
    max-width:100% !important;
    margin-inline:auto !important;
    box-sizing:border-box !important;
    aspect-ratio:auto !important;
    min-height:320px !important;
    height:auto !important;
    padding:14px 14px 18px !important;
    gap:10px !important;
    justify-content:flex-start !important;
    overflow:hidden !important;
  }

  body.ogw-body.ogp-page-panel .ogw-panel-preview-card .ogw-live-preview::before{
    border-radius:21px !important;
  }

  body.ogw-body.ogp-page-panel .ogw-panel-preview-card .ogw-live-preview .ogw-visual-card-top{
    gap:10px !important;
  }

  body.ogw-body.ogp-page-panel .ogw-panel-preview-card .ogw-live-preview .ogw-chip{
    padding:7px 11px !important;
    font-size:.76rem !important;
  }

  body.ogw-body.ogp-page-panel .ogw-panel-preview-card .ogw-live-preview .ogw-visual-card-brand{
    gap:10px !important;
    margin-top:2px !important;
    align-items:center !important;
  }

  body.ogw-body.ogp-page-panel .ogw-panel-preview-card .ogw-live-preview .ogw-visual-card-brand img,
  body.ogw-body.ogp-page-panel .ogw-panel-preview-card .ogw-live-preview .ogw-visual-card-logo-fallback{
    width:52px !important;
    height:52px !important;
    border-radius:15px !important;
  }

  body.ogw-body.ogp-page-panel .ogw-panel-preview-card .ogw-live-preview .ogw-visual-card-brand strong{
    font-size:clamp(1.02rem,5.4vw,1.42rem) !important;
    line-height:1.06 !important;
    letter-spacing:-.04em !important;
    word-break:break-word !important;
  }

  body.ogw-body.ogp-page-panel .ogw-panel-preview-card .ogw-live-preview .ogw-visual-card-brand span{
    margin-top:3px !important;
    font-size:.84rem !important;
    line-height:1.28 !important;
  }

  body.ogw-body.ogp-page-panel .ogw-panel-preview-card .ogw-live-preview .ogw-visual-card-description{
    max-width:100% !important;
    font-size:.84rem !important;
    line-height:1.4 !important;
    overflow-wrap:anywhere !important;
  }

  body.ogw-body.ogp-page-panel .ogw-panel-preview-card .ogw-live-preview .ogw-visual-card-footer{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) auto !important;
    align-items:end !important;
    gap:8px 12px !important;
    margin-top:auto !important;
    padding-top:4px !important;
    min-width:0 !important;
  }

  body.ogw-body.ogp-page-panel .ogw-panel-preview-card .ogw-live-preview .ogw-visual-card-callout{
    max-width:none !important;
    min-width:0 !important;
    font-size:.76rem !important;
    line-height:1.24 !important;
    overflow-wrap:anywhere !important;
  }

  body.ogw-body.ogp-page-panel .ogw-panel-preview-card .ogw-live-preview .ogw-visual-card-slug{
    display:block !important;
    max-width:100% !important;
    min-width:0 !important;
    margin-left:auto !important;
    font-size:.72rem !important;
    line-height:1.18 !important;
    text-align:right !important;
    white-space:normal !important;
    overflow:visible !important;
    text-overflow:clip !important;
    overflow-wrap:anywhere !important;
    word-break:break-word !important;
  }
}


/* 1.4.49 panel mobile preview height tuned without extra empty space */
@media (max-width:860px){
  body.ogw-body.ogp-page-panel .ogw-panel-preview-card .ogw-visual-card.ogw-live-preview{
    min-height:0 !important;
    height:auto !important;
    padding-bottom:14px !important;
    gap:8px !important;
  }

  body.ogw-body.ogp-page-panel .ogw-panel-preview-card .ogw-visual-card.ogw-live-preview .ogw-visual-card-footer{
    margin-top:6px !important;
    padding-top:2px !important;
  }
}

.ogw-auth-form .ogp-password-wrap{position:relative;display:flex;align-items:center}
.ogw-auth-form .ogp-password-wrap input{padding-right:96px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ogw-auth-form .ogp-password-toggle{position:absolute;right:8px;top:50%;transform:translateY(-50%);height:38px;padding:0 14px;border-radius:12px;border:1px solid var(--ogw-line);background:#fff;color:#0f172a;font-weight:800;cursor:pointer;transition:border-color .18s ease,box-shadow .18s ease,color .18s ease}
.ogw-auth-form .ogp-password-toggle:hover{border-color:#d8e6fb;color:var(--ogw-blue)}
.ogw-auth-form .ogp-password-toggle:focus-visible{outline:none;border-color:#8bb6ea;box-shadow:0 0 0 4px rgba(11,99,206,.08)}
.ogw-auth-form .ogp-password-wrap.ogp-field-error input{border-color:#ef4444!important;background:#fff7f7;box-shadow:0 0 0 4px rgba(239,68,68,.08)!important}
@media (max-width: 640px){
  .ogw-auth-form .ogp-password-wrap input{padding-right:88px!important}
}
