/* ==========================================================================
   RuaySook Base Platform v2.4 - Core Stylesheet
   Based on RuaySook Mockup v3.0 with High-Legibility Typography Scale
   ========================================================================== */

:root {
  --ink: #13273a;
  --muted: #5c6f80;
  --line: #dfe8ea;
  --surface: #ffffff;
  --canvas: #f4f8f7;
  --emerald: #0f9f7f;
  --emerald-dark: #08745e;
  --emerald-soft: #e7faf4;
  --indigo: #6257d9;
  --indigo-soft: #efedff;
  --amber: #dfa82f;
  --amber-soft: #fff5d8;
  --blue: #3288d6;
  --blue-soft: #e9f5ff;
  --danger: #c94f62;
  --danger-soft: #fdebee;
  --shadow: 0 24px 70px rgba(26, 62, 74, .14);
  --shadow-sm: 0 4px 14px rgba(26, 62, 74, .06);
  --shadow-md: 0 10px 28px rgba(19, 43, 69, .08);
}

* { box-sizing: border-box; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }

[hidden],
[hidden="true"],
.overlay[hidden],
.sheet-overlay[hidden],
.quick-overlay[hidden],
.mobile-menu-overlay[hidden] {
  display: none !important;
}

.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ui-icon, .quick-icon svg, .card-chevron, .security-icon svg, .bottom-nav svg, 
.app-logo svg, .floating-app svg, .eco-icon svg, .discover-copy button svg, 
.discover-copy a svg, .account-group svg, .device-row svg {
  width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Prompt", "Kanit", system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 15%, rgba(198, 237, 226, .75), transparent 32%),
    radial-gradient(circle at 85% 10%, rgba(222, 218, 255, .75), transparent 35%),
    linear-gradient(145deg, #f8fbfa, #eef5f6);
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   RuaySook 3-Theme Schedule
   1. Fresh (13:01 - 21:00) -> Default :root
   2. Navy & Gold (21:01 - 05:00) -> body.theme-navy
   3. Wellness Luxe (05:01 - 13:00) -> body.theme-wellness
   ========================================================================== */

/* Theme 2: Navy Gold */
body.theme-navy {
  --ink: #0b1f3a;
  --muted: #64758b;
  --line: #dce3ec;
  --surface: #ffffff;
  --canvas: #f4f6f9;
  --emerald: #c59b39;
  --emerald-dark: #94701f;
  --emerald-soft: #fbf3dc;
  --indigo: #183b68;
  --indigo-soft: #e9eff7;
  --amber: #d4af4c;
  --amber-soft: #fff5d9;
  --blue: #356b9b;
  --blue-soft: #e9f1f8;
  --shadow: 0 24px 70px rgba(11, 31, 58, .16);
  background:
    radial-gradient(circle at 12% 12%, rgba(198, 163, 78, .18), transparent 31%),
    radial-gradient(circle at 88% 8%, rgba(35, 74, 121, .18), transparent 35%),
    linear-gradient(145deg, #f7f8fb, #edf1f6);
}

body.theme-navy .mobile-frame { background: rgba(247,248,251,.96); }
body.theme-navy .mobile-header {
  background:
    radial-gradient(circle at 85% -25%, rgba(218,181,85,.36), transparent 45%),
    radial-gradient(circle at 5% 0%, rgba(218,227,239,.9), transparent 48%),
    rgba(255,255,255,.86);
}
body.theme-navy .member-pass {
  background:
    radial-gradient(circle at 86% 10%, rgba(225,190,96,.52), transparent 31%),
    linear-gradient(135deg, #081a32, #12365e 67%, #214f7f);
  box-shadow: 0 15px 34px rgba(11,31,58,.28);
}
body.theme-navy .context-switch { background: linear-gradient(135deg, #081a32, #214f7f); }
body.theme-navy .desktop-sidebar,
body.theme-navy .admin-sidebar { background: #081a32; }
body.theme-navy .desktop-sidebar nav a.active,
body.theme-navy .admin-sidebar nav button.active { background: rgba(218,181,85,.2); color: #fff4cf; }
body.theme-navy .desktop-main,
body.theme-navy .admin-main { background: #f3f5f8; }
body.theme-navy .primary-button { color: #13233b; background: linear-gradient(135deg, #e0bd61, #b78925); box-shadow: 0 7px 18px rgba(148,112,31,.22); }
body.theme-navy .bottom-nav .center-action span { background: linear-gradient(145deg, #17375e, #d0a747); }
body.theme-navy .subscription-card { border-color: #e8d49b; }

/* Theme 3: Wellness Luxe */
body.theme-wellness {
  --ink: #17313b;
  --muted: #576e68;
  --line: #d9e6e1;
  --surface: #fffefb;
  --canvas: #faf7f0;
  --emerald: #0e5f61;
  --emerald-dark: #084b4d;
  --emerald-soft: #e1f2ec;
  --indigo: #406f6c;
  --indigo-soft: #e6f1ee;
  --amber: #c7a24a;
  --amber-soft: #f7edce;
  --blue: #397b83;
  --blue-soft: #e4f1f1;
  --shadow: 0 24px 70px rgba(23,49,59,.14);
  background:
    radial-gradient(circle at 12% 12%, rgba(14,95,97,.18), transparent 31%),
    radial-gradient(circle at 88% 8%, rgba(199,162,74,.19), transparent 35%),
    linear-gradient(145deg, #fdfbf6, #f1eee6);
}

body.theme-wellness .mobile-frame { background: rgba(250,247,240,.97); }
body.theme-wellness .mobile-header {
  background:
    radial-gradient(circle at 88% -20%, rgba(199,162,74,.34), transparent 45%),
    radial-gradient(circle at 4% 0%, rgba(225,242,236,.95), transparent 50%),
    rgba(255,254,251,.86);
}
body.theme-wellness .member-pass {
  background:
    radial-gradient(circle at 86% 10%, rgba(218,188,112,.5), transparent 31%),
    linear-gradient(135deg, #083f42, #0e5f61 65%, #23817b);
  box-shadow: 0 16px 38px rgba(14,95,97,.25);
}
body.theme-wellness .discover-card,
body.theme-wellness .service-hero { background: linear-gradient(135deg, #083f42, #0e5f61 68%, #237d78); box-shadow: 0 16px 38px rgba(14,95,97,.22); }
body.theme-wellness .context-switch { background: linear-gradient(135deg, #083f42, #17726f); }
body.theme-wellness .desktop-sidebar,
body.theme-wellness .admin-sidebar { background: #083f42; }
body.theme-wellness .desktop-sidebar nav a.active,
body.theme-wellness .admin-sidebar nav button.active { background: rgba(199,162,74,.2); color: #fff4d5; }
body.theme-wellness .desktop-main,
body.theme-wellness .admin-main { background: #f7f4ed; }
body.theme-wellness .bottom-nav .center-action span { background: linear-gradient(145deg, #0e5f61, #c7a24a); }
body.theme-wellness .subscription-card { border-color: #d9c381; }
body.theme-wellness .section-kicker,
body.theme-wellness .eyebrow { color: #8a6a1d; }

/* Alert Boxes */
.alert-box {
  padding: 13px 18px;
  border-radius: 16px;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}
.alert-success { background: var(--emerald-soft); color: var(--emerald-dark); border: 1px solid rgba(15,159,127,.25); }
.alert-warning { background: var(--amber-soft); color: #8c6007; border: 1px solid rgba(223,168,47,.3); }
.alert-error { background: var(--danger-soft); color: var(--danger); border: 1px solid rgba(201,79,98,.3); }

/* Theme Pill Badge */
.theme-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.pulse-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 3px var(--emerald-soft);
}

/* ==========================================================================
   Mobile Surface Layout (Mockup v3.0)
   ========================================================================== */

.mobile-frame {
  width: min(520px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  background: rgba(248,250,252,.96);
  box-shadow: var(--shadow);
  padding-bottom: 96px;
}

@media (min-width: 521px) {
  .mobile-frame {
    margin: 20px auto;
    border-radius: 36px;
    min-height: calc(100vh - 40px);
  }
}

.mobile-header {
  padding: 24px 22px 18px;
  background:
    radial-gradient(circle at 85% -25%, rgba(255,226,147,.75), transparent 45%),
    radial-gradient(circle at 5% 0%, rgba(209,246,235,.9), transparent 48%),
    rgba(255,255,255,.78);
}
.brand-row { display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.eyebrow, .section-kicker {
  display: block;
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--emerald-dark);
  font-weight: 700;
  text-transform: uppercase;
}
.brand-row h1 { margin: 4px 0 2px; font-size: 26px; font-weight: 700; line-height: 1.2; letter-spacing: -.02em; }
.brand-row p { margin: 0; color: var(--muted); font-size: 14px; }
.header-actions { display: flex; gap: 10px; align-items: center; }

.icon-button, .avatar-button {
  width: 44px; height: 44px; border-radius: 15px; border: 1px solid rgba(212,224,227,.9);
  background: rgba(255,255,255,.92); box-shadow: 0 4px 14px rgba(37,67,76,.08); position: relative;
}
.icon-button { display: grid; place-items: center; color: var(--ink); text-decoration: none; }
.icon-button .ui-icon { width: 22px; height: 22px; }
.icon-button .dot, .badge-dot {
  position: absolute; width: 8px; height: 8px; border-radius: 50%;
  background: var(--danger); top: 9px; right: 9px; border: 2px solid #fff;
}
.avatar-button {
  display: grid; place-items: center;
  background: linear-gradient(145deg, #f7c66c, #e1a73d);
  color: #fff; font-size: 17px; font-weight: 700; text-decoration: none;
}

.system-strip {
  display: flex; align-items: center; gap: 9px; padding: 11px 20px; font-size: 13px; color: #176d5a;
  background: linear-gradient(90deg, #e7faf4, #eaf7fb); border-block: 1px solid rgba(187,229,218,.7);
}
.system-strip .status-dot { width: 8px; height: 8px; background: #19b68e; border-radius: 50%; box-shadow: 0 0 0 4px rgba(25,182,142,.15); }
.system-strip button, .system-strip a {
  margin-left: auto; border: 0; color: #176d5a; background: transparent; font-size: 13px; font-weight: 600; text-decoration: none;
}

.mobile-content { padding: 18px 20px; }
.mobile-screen { display: block; }

/* Member Pass (Apple Wallet / RuaySook VIP Pass) */
.member-pass {
  padding: 24px;
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(circle at 86% 10%, rgba(255,228,161,.55), transparent 30%),
    linear-gradient(135deg, #183b44, #0c8068 65%, #1aa683);
  box-shadow: 0 18px 42px rgba(14,112,92,.22);
  overflow: hidden;
  position: relative;
}
.member-pass::before {
  content: ""; position: absolute; width: 90px; height: 90px; border-radius: 28px;
  top: -35px; left: 42%; background: rgba(255,255,255,.08); transform: rotate(28deg);
}
.member-pass::after {
  content: ""; position: absolute; width: 180px; height: 180px;
  border: 1px solid rgba(255,255,255,.18); border-radius: 50%; right: -60px; bottom: -95px;
}
.pass-top, .pass-bottom, .member-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pass-top span { font-size: 12px; letter-spacing: .11em; opacity: .82; display: block; font-weight: 600; }
.pass-top strong {
  font-size: 12.5px; color: #ffe7a2; font-weight: 700;
  background: rgba(255,255,255,.12); padding: 3px 8px; border-radius: 6px;
}
.pass-mark {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 15px;
  background: linear-gradient(145deg, rgba(255,255,255,.24), rgba(255,255,255,.1));
  border: 1px solid rgba(255,255,255,.28); box-shadow: inset 0 1px 0 rgba(255,255,255,.2);
  font-size: 20px; font-weight: 700;
}
.member-name { font-size: 24px; font-weight: 600; margin: 20px 0 14px; letter-spacing: -.01em; }
.member-meta span { font-size: 12px; opacity: .78; letter-spacing: .1em; font-weight: 600; }
.member-meta b { font-size: 16px; letter-spacing: .08em; font-weight: 700; }
.pass-bottom { margin-top: 16px; border-top: 1px solid rgba(255,255,255,.18); padding-top: 14px; font-size: 13px; opacity: .9; }

/* Welcome Block & Readiness Ring */
.welcome-block { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 4px 14px; }
.welcome-block h2, .page-heading h2 { margin: 4px 0 6px; font-size: 22px; font-weight: 700; }
.welcome-block p, .page-heading p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.readiness-ring, .desktop-ring {
  flex: 0 0 auto; width: 80px; height: 80px; border-radius: 50%; display: grid; place-content: center; text-align: center;
  background: radial-gradient(circle at center, #fff 58%, transparent 60%), conic-gradient(var(--emerald) 82%, #dce9e7 0);
  box-shadow: 0 4px 14px rgba(0,0,0,.05);
}
.readiness-ring b { font-size: 22px; font-weight: 700; line-height: 1.1; color: var(--ink); }
.readiness-ring span { font-size: 12px; color: var(--muted); font-weight: 600; }

/* Quick Action 2x2 Grid */
.quick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 4px; }
.quick-card {
  min-height: 112px; position: relative; display: grid; grid-template-columns: 44px 1fr; align-content: start; gap: 12px;
  text-align: left; border: 1px solid rgba(220,227,236,.9); border-radius: 22px; padding: 16px;
  background: linear-gradient(145deg, #fff, #fbfcfd); box-shadow: 0 8px 24px rgba(19,43,69,.05);
  overflow: hidden; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease;
}
.quick-card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(19,43,69,.09); }
.quick-card::after { content: ""; position: absolute; width: 70px; height: 70px; border-radius: 50%; right: -30px; bottom: -35px; background: currentColor; opacity: .04; }
.quick-copy { min-width: 0; }
.quick-card b, .quick-card small { display: block; }
.quick-card b { margin-top: 2px; font-size: 15px; font-weight: 600; color: var(--ink); }
.quick-card small { color: var(--muted); font-size: 13px; margin-top: 4px; line-height: 1.45; }
.quick-icon, .cap-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; font-weight: 700; }
.quick-icon svg { width: 22px; height: 22px; }
.card-chevron { position: absolute; right: 14px; top: 16px; width: 16px; height: 16px; color: #aab5c1; }
.mint { background: var(--emerald-soft); color: var(--emerald-dark); }
.purple { background: var(--indigo-soft); color: var(--indigo); }
.amber { background: var(--amber-soft); color: #a27413; }
.blue { background: var(--blue-soft); color: var(--blue); }

/* Discover Card (Orbit with Floating Apps) */
.discover-card {
  min-height: 180px; margin-top: 16px; position: relative; display: grid; grid-template-columns: 42% 58%;
  overflow: hidden; border-radius: 26px; color: #fff;
  background: linear-gradient(135deg, #0a1c35, #173c69 68%, #315f8b);
  box-shadow: 0 16px 38px rgba(11,31,58,.2);
}
.discover-card::after {
  content: ""; position: absolute; width: 170px; height: 170px; border-radius: 50%;
  right: -85px; top: -90px; border: 1px solid rgba(255,255,255,.16);
}
.discover-visual { position: relative; min-height: 180px; }
.orbit { position: absolute; border-radius: 50%; border: 1px solid rgba(218,181,85,.32); }
.orbit-one { width: 140px; height: 140px; left: -38px; top: 20px; }
.orbit-two { width: 86px; height: 86px; left: 44px; top: 52px; }
.floating-app {
  position: absolute; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 16px;
  color: #fff; border: 1px solid rgba(255,255,255,.32); box-shadow: 0 10px 24px rgba(0,0,0,.2);
  backdrop-filter: blur(8px);
}
.floating-app svg { width: 22px; height: 22px; }
.floating-app.gold { left: 20px; top: 32px; background: linear-gradient(145deg, #d6af4c, #9c7220); transform: rotate(-8deg); }
.floating-app.coral { left: 84px; top: 78px; background: linear-gradient(145deg, #e27c5f, #a94c3c); transform: rotate(8deg); }
.floating-app.blue { left: 16px; top: 110px; background: linear-gradient(145deg, #4c7ba9, #234d78); transform: rotate(5deg); }
.discover-copy { position: relative; z-index: 2; align-self: center; padding: 24px 22px 24px 6px; }
.discover-copy > span { color: #e7c96f; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.discover-copy h3 { margin: 6px 0; font-size: 20px; font-weight: 700; }
.discover-copy p { margin: 0; color: #c9d5e2; font-size: 13.5px; line-height: 1.6; }
.discover-copy button, .discover-copy a.discover-btn {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; border: 0; border-radius: 12px;
  padding: 9px 16px; color: #14243b; background: linear-gradient(135deg, #ecd27f, #c69b36);
  font-size: 13.5px; font-weight: 700; text-decoration: none;
}
.discover-copy a.discover-btn svg, .discover-copy button svg { width: 15px; height: 15px; }

/* Setup & Security Cards */
.setup-card, .security-card, .empty-service-card, .capability-list, .timeline, .account-group, .crystal-card {
  margin-top: 15px; padding: 20px; border-radius: 24px; border: 1px solid rgba(220,227,236,.92);
  background: rgba(255,255,255,.96); box-shadow: 0 8px 24px rgba(19,43,69,.05);
}
.setup-head, .section-title { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.setup-head h3, .security-card h3, .section-title h3 { margin: 3px 0; font-size: 16px; font-weight: 600; }
.setup-head > b { font-size: 15px; font-weight: 700; color: var(--emerald-dark); }
.progress { height: 7px; background: #e8efef; border-radius: 999px; margin: 14px 0; overflow: hidden; }
.progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--emerald), #56c7ad); }
.setup-item, .account-group button, .account-group a {
  width: 100%; display: flex; align-items: center; gap: 12px; border: 0; background: transparent;
  text-align: left; padding: 12px 4px; text-decoration: none; color: inherit;
}
.setup-item + .setup-item, .account-group button + button, .account-group a + a, .account-group a + button {
  border-top: 1px solid #edf2f2;
}
.setup-item > span, .account-group button > span, .account-group a > span {
  width: 32px; height: 32px; display: grid; place-items: center; flex: 0 0 auto;
  border-radius: 11px; background: #edf4f2; color: var(--emerald-dark); font-size: 13px; font-weight: 700;
}
.setup-item.completed > span { background: var(--emerald-soft); }
.setup-item div, .account-group button div, .account-group a div { flex: 1; }
.setup-item b, .setup-item small, .account-group b, .account-group small { display: block; }
.setup-item b, .account-group b { font-size: 14.5px; font-weight: 600; }
.setup-item small, .account-group small { font-size: 13px; color: var(--muted); margin-top: 3px; }
.setup-item i, .account-group i { font-style: normal; color: #9babaf; font-size: 18px; }

.security-card { display: flex; gap: 14px; align-items: center; }
.security-card p { font-size: 13.5px; color: var(--muted); margin: 3px 0 0; line-height: 1.5; }
.security-icon {
  width: 46px; height: 46px; flex: 0 0 auto; display: grid; place-items: center;
  border-radius: 16px; background: var(--emerald-soft); color: var(--emerald);
}
.security-icon svg { width: 24px; height: 24px; }
.security-card > div:nth-child(2) { flex: 1; }
.security-card button, .security-card a.security-btn, .section-title button {
  border: 0; background: transparent; color: var(--emerald-dark); font-size: 14px; font-weight: 600; text-decoration: none;
}

/* Bottom Navigation (Mockup v3.0 standard with elevated Center Action button) */
.bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; display: flex; align-items: flex-end; justify-content: space-around;
  padding: 10px 12px 18px; background: rgba(255,255,255,.95); border-top: 1px solid rgba(220,227,236,.9);
  backdrop-filter: blur(24px); box-shadow: 0 -10px 30px rgba(15,38,62,.06); z-index: 90;
  max-width: 520px; margin: 0 auto;
}
@media (max-width: 520px) {
  .bottom-nav { width: 100%; }
}
.bottom-nav button, .bottom-nav a {
  width: 20%; border: 0; background: transparent; color: #7f909e; display: grid; place-items: center; gap: 4px;
  text-decoration: none; padding: 4px 0;
}
.bottom-nav button > span, .bottom-nav a > span {
  width: 34px; height: 30px; display: grid; place-items: center; border-radius: 11px;
}
.bottom-nav button > span svg, .bottom-nav a > span svg { width: 22px; height: 22px; }
.bottom-nav button b, .bottom-nav a b { font-size: 12px; font-weight: 500; }
.bottom-nav button.active, .bottom-nav a.active { color: var(--emerald-dark); }
.bottom-nav button.active > span, .bottom-nav a.active > span { background: var(--emerald-soft); }
.bottom-nav .center-action span {
  width: 54px; height: 54px; margin-top: -26px; display: grid; place-items: center; border-radius: 19px;
  background: linear-gradient(145deg, var(--emerald), var(--indigo)); color: #fff;
  box-shadow: 0 8px 22px rgba(73,102,181,.3); border: 4px solid #fff; font-size: 24px;
}
.bottom-nav .center-action span svg { width: 24px; height: 24px; stroke-width: 2.2; }

/* Service Hero & App Market */
.page-heading { padding: 4px 3px 14px; }
.service-hero {
  min-height: 180px; position: relative; display: grid; grid-template-columns: 58% 42%;
  overflow: hidden; margin: -2px 0 16px; padding: 22px 20px 16px; border-radius: 28px;
  color: #fff; background: linear-gradient(135deg, #091b34, #173d6b 72%, #2b5b87);
  box-shadow: 0 17px 38px rgba(11,31,58,.2);
}
.service-hero .page-heading { position: relative; z-index: 2; align-self: center; padding: 0; }
.service-hero .section-kicker { color: #e4c568; }
.service-hero h2 { margin: 6px 0 8px; font-size: 24px; line-height: 1.2; font-weight: 700; }
.service-hero p { color: #c6d3e0; max-width: 230px; font-size: 13.5px; margin: 0; line-height: 1.5; }
.ecosystem-visual { position: relative; min-height: 145px; }
.eco-ring {
  position: absolute; width: 140px; height: 140px; border-radius: 50%; top: 5px; right: -34px;
  border: 1px solid rgba(230,199,104,.35); box-shadow: inset 0 0 0 22px rgba(255,255,255,.03);
}
.eco-icon {
  position: absolute; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 16px;
  color: #fff; box-shadow: 0 10px 25px rgba(0,0,0,.22);
}
.eco-icon svg { width: 24px; height: 24px; }
.eco-icon.one { top: 22px; left: 4px; background: linear-gradient(145deg, #d6ae48, #a67820); transform: rotate(-9deg); }
.eco-icon.two { top: 76px; right: 4px; background: linear-gradient(145deg, #4f82b3, #24517c); transform: rotate(8deg); }
.eco-icon.three { bottom: 4px; left: 18px; background: linear-gradient(145deg, #d46a7d, #963c58); transform: rotate(5deg); }

.context-switch {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 18px;
  margin-bottom: 15px; border-radius: 20px; color: #fff; background: linear-gradient(135deg, var(--ink), #28516b);
  box-shadow: 0 10px 24px rgba(13,34,57,.13);
}
.context-switch span, .context-switch small, .context-switch b { display: block; }
.context-switch small { color: #b8cad5; font-size: 12px; }
.context-switch b { margin-top: 2px; font-size: 15px; font-weight: 600; }
.context-switch button {
  border: 1px solid rgba(255,255,255,.25); border-radius: 11px; padding: 8px 12px; color: #fff;
  background: rgba(255,255,255,.12); font-size: 12.5px; font-weight: 600;
}

.filter-pills { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; }
.filter-pills button {
  border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 16px;
  white-space: nowrap; font-size: 13.5px; color: var(--muted); font-weight: 500;
}
.filter-pills button.active { background: var(--ink); color: #fff; border-color: var(--ink); }

.subscription-card {
  display: flex; align-items: center; gap: 14px; padding: 18px; border: 1px solid #bfe8dc; border-radius: 22px;
  background: linear-gradient(135deg, #fff, var(--emerald-soft)); box-shadow: 0 10px 25px rgba(18,52,70,.05);
}
.subscription-card > div:nth-child(2) { flex: 1; }
.subscription-card span, .subscription-card b, .subscription-card small { display: block; }
.subscription-card span { color: var(--emerald-dark); font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.subscription-card b { font-size: 16px; margin: 3px 0; font-weight: 600; }
.subscription-card small { color: var(--muted); font-size: 13px; }
.subscription-card button, .subscription-card a {
  border: 0; border-radius: 12px; padding: 9px 15px; color: #fff; background: var(--emerald-dark);
  font-size: 13.5px; font-weight: 600; text-decoration: none;
}

.app-logo {
  width: 50px; height: 50px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 17px;
  font-size: 14px; font-weight: 700; box-shadow: 0 8px 18px rgba(18,45,70,.1);
}
.app-logo svg { width: 24px; height: 24px; }
.app-logo.repair { color: #9a6412; background: var(--amber-soft); }
.app-logo.erp { color: var(--indigo); background: var(--indigo-soft); }
.app-logo.water { color: var(--blue); background: var(--blue-soft); }
.app-logo.ledger { color: #21734d; background: #e3f5e9; }
.app-logo.luck { color: #9b2f5b; background: #fbe4ee; }
.app-logo.meal { color: #a4481d; background: #fff0e1; }

.app-catalog { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.app-market-card {
  min-width: 0; padding: 14px; border: 1px solid rgba(220,227,236,.92); border-radius: 24px;
  background: linear-gradient(145deg, #fff, #fbfcfd); box-shadow: 0 10px 28px rgba(19,43,69,.05);
  overflow: hidden;
}
.app-card-visual {
  height: 90px; position: relative; display: flex; align-items: flex-end; justify-content: space-between;
  overflow: hidden; margin: -2px -2px 12px; padding: 14px; border-radius: 18px;
}
.visual-chip {
  align-self: flex-start; padding: 4px 10px; border-radius: 999px; color: rgba(14,31,52,.85);
  background: rgba(255,255,255,.85); backdrop-filter: blur(8px); font-size: 12px; font-weight: 700; letter-spacing: .08em;
}
.tone-repair { background: linear-gradient(135deg, #fff0c9, #f3ce78); }
.tone-ledger { background: linear-gradient(135deg, #dff5ea, #9edabc); }
.tone-luck { background: linear-gradient(135deg, #fbe1ed, #eaa0bf); }
.tone-meal { background: linear-gradient(135deg, #ffe8d2, #f2af79); }
.tone-erp { background: linear-gradient(135deg, #e5e8fb, #aab5eb); }
.tone-water { background: linear-gradient(135deg, #e0f1fb, #91c9e8); }
.app-market-card > span { display: block; color: var(--muted); font-size: 11.5px; font-weight: 700; letter-spacing: .07em; }
.app-market-card h3 { margin: 4px 0; font-size: 16px; font-weight: 700; }
.app-market-card p { min-height: 44px; margin: 0 0 12px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.app-market-card > div:last-child {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 12px;
  border-top: 1px solid #edf2f2;
}
.app-market-card > div:last-child b { font-size: 14px; }
.app-market-card > div:last-child button {
  border: 0; border-radius: 11px; padding: 8px 12px; color: var(--emerald-dark); background: var(--emerald-soft);
  white-space: nowrap; font-size: 13px; font-weight: 600;
}

/* Timeline Activity */
.timeline { padding: 4px 18px; }
.timeline article { display: flex; gap: 14px; position: relative; padding: 16px 0; }
.timeline article + article { border-top: 1px solid #edf2f2; }
.timeline-dot { width: 11px; height: 11px; border-radius: 50%; margin-top: 6px; background: var(--blue); box-shadow: 0 0 0 5px var(--blue-soft); }
.timeline-dot.success { background: var(--emerald); box-shadow: 0 0 0 5px var(--emerald-soft); }
.timeline-dot.warning { background: var(--amber); box-shadow: 0 0 0 5px var(--amber-soft); }
.timeline article div { flex: 1; }
.timeline b, .timeline p, .timeline small { display: block; margin: 0; }
.timeline b { font-size: 15px; font-weight: 600; }
.timeline p { font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.timeline small { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.timeline em { font-size: 12px; font-style: normal; color: var(--emerald-dark); font-weight: 600; }

/* Profile Hero */
.profile-hero { text-align: center; padding: 18px 0 10px; }
.large-avatar {
  width: 80px; height: 80px; margin: auto; display: grid; place-items: center; border-radius: 28px;
  background: linear-gradient(145deg, #f5d88e, #d7a743); color: #fff; font-size: 30px; font-weight: 700;
  box-shadow: 0 10px 25px rgba(198,151,50,.24);
}
.profile-hero h2 { font-size: 22px; font-weight: 700; margin: 12px 0 2px; }
.profile-hero p { font-size: 14px; color: var(--muted); margin: 2px 0 8px; font-weight: 500; }
.profile-hero span { font-size: 12.5px; font-weight: 600; color: var(--emerald-dark); background: var(--emerald-soft); padding: 5px 12px; border-radius: 999px; }
.account-group { padding: 10px 18px; }
.account-group h3 { font-size: 13px; font-weight: 700; color: var(--muted); margin: 6px 0 4px; text-transform: uppercase; letter-spacing: .08em; }
.account-group button > span svg, .account-group a > span svg { width: 18px; height: 18px; }
.account-group button i svg, .account-group a i svg { width: 18px; height: 18px; }
.logout-button {
  width: 100%; margin-top: 16px; border: 1px solid #f1d8dc; color: var(--danger); background: #fff8f9;
  border-radius: 18px; padding: 14px; font-size: 14.5px; font-weight: 600;
}

/* ==========================================================================
   Desktop Surface Layout (Mockup v3.0 standard with Left Sidebar)
   ========================================================================== */

.desktop-shell {
  width: min(1200px, calc(100% - 40px));
  min-height: calc(100vh - 60px);
  margin: 30px auto;
  display: grid;
  grid-template-columns: 260px 1fr;
  background: rgba(250,252,252,.96);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.8);
}

.desktop-sidebar {
  padding: 26px 18px;
  border-right: 1px solid var(--line);
  background: rgba(255,255,255,.94);
  display: flex;
  flex-direction: column;
}
.desktop-brand { display: flex; align-items: center; gap: 12px; padding: 0 8px 24px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.desktop-brand > span {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 15px; color: #fff;
  background: linear-gradient(145deg, var(--emerald), var(--indigo)); font-weight: 700; font-size: 20px;
}
.desktop-brand b { font-size: 18px; font-weight: 700; display: block; line-height: 1.2; }
.desktop-brand small { font-size: 12px; color: var(--muted); display: block; font-weight: 500; }

.desktop-sidebar nav { display: grid; gap: 6px; }
.desktop-sidebar nav a, .desktop-sidebar nav button {
  border: 0; border-radius: 14px; background: transparent; padding: 12px 14px; text-align: left;
  color: var(--muted); font-size: 14.5px; font-weight: 500; display: flex; align-items: center; gap: 10px;
  text-decoration: none; transition: background .15s ease, color .15s ease;
}
.desktop-sidebar nav a:hover, .desktop-sidebar nav button:hover { background: rgba(15,159,127,.06); color: var(--ink); }
.desktop-sidebar nav a.active, .desktop-sidebar nav button.active {
  background: var(--emerald-soft); color: var(--emerald-dark); font-weight: 600;
}
.desktop-sidebar nav span.nav-icon { display: inline-grid; place-items: center; width: 24px; font-size: 18px; }

.sidebar-user {
  margin-top: auto; display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--line);
  padding: 18px 8px 0;
}
.sidebar-user > div {
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px;
  background: var(--amber-soft); color: #966c12; font-size: 16px; font-weight: 700;
}
.sidebar-user b { font-size: 14.5px; font-weight: 600; display: block; }
.sidebar-user small { font-size: 12px; color: var(--muted); display: block; }
.sidebar-logout-btn {
  width: 100%; border: 0; background: transparent; color: var(--danger); font-size: 13.5px;
  font-weight: 600; text-align: left; padding: 10px 14px; margin-top: 10px; border-radius: 12px;
  display: flex; align-items: center; gap: 8px;
}
.sidebar-logout-btn:hover { background: var(--danger-soft); }

.desktop-main { padding: 32px 36px; overflow-y: auto; max-height: calc(100vh - 60px); }
.desktop-topbar {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 28px;
}
.desktop-topbar span { font-size: 12.5px; font-weight: 700; color: var(--emerald-dark); letter-spacing: .08em; text-transform: uppercase; }
.desktop-topbar h1 { margin: 4px 0 0; font-size: 26px; font-weight: 700; }
.desktop-top-actions { display: flex; align-items: center; gap: 10px; }
.desktop-topbar button, .desktop-topbar a.topbar-btn {
  border: 1px solid var(--line); background: #fff; border-radius: 13px; padding: 9px 14px;
  font-size: 13.5px; color: var(--ink); text-decoration: none; font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
}

/* ==========================================================================
   Web Authentication Shell (Split-screen on Desktop)
   ========================================================================== */

.web-auth-shell {
  width: min(1080px, calc(100% - 40px));
  min-height: 640px;
  margin: 40px auto;
  display: grid;
  grid-template-columns: minmax(360px, .92fr) 1.08fr;
  overflow: hidden;
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(17,45,60,.14);
  border: 1px solid rgba(255,255,255,.9);
}

.web-auth-story {
  position: relative; display: flex; flex-direction: column; justify-content: space-between;
  padding: 48px 44px; overflow: hidden; color: #fff;
  background:
    radial-gradient(circle at 85% 12%, rgba(199,162,74,.34), transparent 28%),
    radial-gradient(circle at 10% 90%, rgba(81,153,148,.24), transparent 34%),
    linear-gradient(145deg, #071f2a, #0e4e51 70%, #176c69);
}
.web-auth-story::after {
  content: "R"; position: absolute; right: -20px; bottom: -115px;
  color: rgba(255,255,255,.035); font-size: 380px; font-weight: 700; line-height: 1; pointer-events: none;
}
.web-auth-brand { display: flex; align-items: center; gap: 12px; position: relative; z-index: 1; }
.web-auth-brand > span {
  width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.24);
  border-radius: 16px; background: rgba(255,255,255,.14); font-weight: 700; font-size: 22px;
}
.web-auth-brand b { font-size: 19px; font-weight: 700; display: block; }
.web-auth-brand small { color: rgba(255,255,255,.7); font-size: 12.5px; display: block; }
.web-auth-copy { position: relative; z-index: 1; margin: 36px 0; }
.web-auth-copy > span { color: #e5c878; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.web-auth-copy h1 { margin: 12px 0 14px; font-size: clamp(30px, 3.5vw, 42px); line-height: 1.22; letter-spacing: -.03em; font-weight: 700; }
.web-auth-copy p { max-width: 420px; margin: 0; color: rgba(255,255,255,.75); font-size: 14.5px; line-height: 1.7; }
.web-auth-features { position: relative; z-index: 1; display: grid; gap: 12px; margin-bottom: 24px; }
.web-auth-features span { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.85); font-size: 14px; }
.web-auth-features i {
  width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%;
  color: #092b32; background: #e5c878; font-style: normal; font-weight: 700; font-size: 13px;
}
.web-auth-story > small { position: relative; z-index: 1; color: rgba(255,255,255,.5); font-size: 12px; }

.web-login-panel {
  display: grid; place-items: center; align-content: center; padding: 48px 44px;
  background: radial-gradient(circle at 80% 20%, var(--emerald-soft), transparent 34%), #f8faf9;
}
.web-login-card {
  width: min(440px, 100%); padding: 36px; border: 1px solid var(--line); border-radius: 26px;
  background: rgba(255,255,255,.96); box-shadow: 0 18px 50px rgba(23,49,59,.08);
}
.web-login-card h2, .auth-title { margin: 6px 0 4px; font-size: 24px; font-weight: 700; }
.web-login-card > p, .auth-subtitle { margin: 0 0 24px; color: var(--muted); font-size: 14px; }

/* Forms & Inputs */
.form-group { display: grid; gap: 8px; margin-bottom: 16px; text-align: left; }
.form-group label, .web-login-card label:not(.remember-row) {
  display: block; color: var(--ink); font-size: 14px; font-weight: 600;
}
.form-control, input[type="text"], input[type="tel"], input[type="email"], input[type="password"] {
  width: 100%; border: 1.5px solid var(--line); border-radius: 14px; padding: 13px 16px;
  color: var(--ink); background: #fff; font-size: 15.5px; transition: border-color .15s ease, box-shadow .15s ease;
}
.form-control:focus, input:focus {
  border-color: var(--emerald); outline: none; box-shadow: 0 0 0 3.5px rgba(15,159,127,.12);
}

.primary-button, .outline-button {
  border: 0; border-radius: 15px; padding: 13px 20px; font-weight: 600; font-size: 15px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer;
  transition: transform .12s ease, box-shadow .15s ease;
}
.primary-button:active, .outline-button:active { transform: scale(0.98); }
.primary-button {
  color: #fff; background: linear-gradient(135deg, var(--emerald), var(--emerald-dark));
  box-shadow: 0 8px 20px rgba(15,159,127,.24); width: 100%;
}
.outline-button { color: var(--ink); background: #fff; border: 1.5px solid var(--line); width: 100%; }

/* Mobile Auth Screen (Fallback / Mobile View) */
.auth-wrapper {
  min-height: 100vh; display: grid; place-items: center; padding: 20px;
}
.auth-card {
  width: min(440px, 100%); padding: 36px 30px; border-radius: 30px; background: rgba(255,255,255,.94);
  box-shadow: var(--shadow); border: 1px solid var(--line); text-align: center;
}
.auth-logo {
  width: 58px; height: 58px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 18px;
  background: linear-gradient(145deg, var(--emerald), var(--indigo)); color: #fff; font-size: 26px; font-weight: 700;
  box-shadow: 0 10px 24px rgba(15,159,127,.22);
}

/* On-Screen PIN Keypad */
.pin-display-wrapper { text-align: center; margin: 18px 0; }
.pin-dots-container {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  padding: 12px 20px; border-radius: 999px; background: #edf4f2;
}
.pin-dot {
  width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid #a3b8bc; background: transparent; transition: all .15s ease;
}
.pin-dot.filled {
  background: var(--ink); border-color: var(--ink); transform: scale(1.15);
}
.keypad-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 290px; margin: 16px auto 0;
}
.keypad-btn {
  height: 58px; border: 1px solid var(--line); border-radius: 18px; background: #fff;
  color: var(--ink); font-size: 22px; font-weight: 600; box-shadow: 0 4px 12px rgba(30,66,77,.04);
  transition: background .1s, transform .1s;
}
.keypad-btn:active { background: #eef5f4; transform: scale(0.95); }
.keypad-btn.action-btn { font-size: 16px; color: var(--muted); }
.keypad-btn.blank { visibility: hidden; border: 0; box-shadow: none; }

/* Quick Overlay (+) */
.quick-overlay {
  position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 20px;
  background: rgba(14,32,45,.55); backdrop-filter: blur(12px);
}
.quick-overlay[hidden] {
  display: none !important;
}
.quick-menu {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; width: min(380px, 100%);
}
.quick-menu button, .quick-menu a {
  min-height: 125px; border: 0; border-radius: 24px; background: #fff; color: var(--ink);
  box-shadow: 0 16px 45px rgba(9,31,41,.2); display: grid; place-items: center; align-content: center;
  gap: 10px; text-decoration: none; padding: 16px;
}
.quick-menu span { font-size: 26px; color: var(--emerald-dark); }
.quick-menu b { font-size: 14px; font-weight: 600; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 30px; z-index: 150; transform: translate(-50%, 30px);
  opacity: 0; pointer-events: none; background: #13273a; color: #fff; padding: 12px 22px;
  border-radius: 16px; font-size: 14px; font-weight: 500; box-shadow: 0 12px 30px rgba(8,29,39,.28);
  transition: all .25s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Mobile Menu Drawer */
.mobile-menu-overlay {
  position: fixed; inset: 0; z-index: 180; display: flex; justify-content: flex-end;
  background: rgba(10,28,40,.52); backdrop-filter: blur(10px);
}
.mobile-menu-overlay[hidden] {
  display: none !important;
}
.mobile-menu-drawer {
  width: min(390px, calc(100% - 24px)); height: 100%; display: flex; flex-direction: column;
  overflow: hidden; color: var(--ink); background: var(--surface); border-radius: 32px 0 0 32px;
  box-shadow: -24px 0 70px rgba(8,29,39,.24); outline: none;
}
.drawer-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 20px 16px; border-bottom: 1px solid var(--line); }
.drawer-brand { display: flex; align-items: center; gap: 11px; }
.drawer-brand > span {
  width: 44px; height: 44px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 15px;
  color: #fff; background: linear-gradient(145deg, var(--emerald), var(--indigo)); font-weight: 700; font-size: 19px;
}
.drawer-brand b { font-size: 17px; font-weight: 700; display: block; }
.drawer-brand small { color: var(--muted); font-size: 12px; display: block; }
.drawer-close {
  width: 42px; height: 42px; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 14px;
  color: var(--muted); background: var(--surface); font-size: 26px; line-height: 1;
  display: grid; place-items: center; cursor: pointer; z-index: 10; transition: all .15s ease;
}
.drawer-close:hover, .drawer-close:active {
  background: var(--line); color: var(--ink); transform: scale(1.05);
}
.drawer-member {
  display: flex; align-items: center; gap: 14px; margin: 16px 18px 10px; padding: 16px;
  border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(135deg, var(--emerald-soft), var(--indigo-soft));
}
.drawer-avatar {
  width: 48px; height: 48px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 16px;
  color: #fff; background: linear-gradient(145deg, #e6b850, #bd8424); font-weight: 700; font-size: 19px;
}
.drawer-member b { font-size: 15px; font-weight: 600; display: block; }
.drawer-member small { margin: 2px 0 6px; color: var(--muted); font-size: 12.5px; display: block; }
.drawer-member span { color: var(--emerald-dark); font-size: 12px; font-weight: 600; }
.drawer-member i { width: 7px; height: 7px; display: inline-block; margin-right: 4px; border-radius: 50%; background: var(--emerald); }
.drawer-nav { flex: 1; overflow-y: auto; padding: 6px 16px 18px; }
.drawer-section-label {
  display: block; padding: 14px 8px 6px; color: var(--muted); font-size: 11.5px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
}
.drawer-nav a, .drawer-nav button {
  width: 100%; display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 10px;
  border: 0; border-radius: 15px; padding: 10px; color: var(--ink); background: transparent; text-align: left;
  text-decoration: none;
}
.drawer-nav a:hover, .drawer-nav button:hover { background: var(--emerald-soft); }
.drawer-nav a.active { background: linear-gradient(135deg, var(--emerald-soft), var(--indigo-soft)); }
.drawer-nav span.nav-icon {
  width: 36px; height: 36px; display: grid; place-items: center; border-radius: 12px;
  color: var(--emerald-dark); background: rgba(255,255,255,.8); font-size: 16px; font-weight: 600;
}
.drawer-nav b { font-size: 14.5px; font-weight: 600; display: block; }
.drawer-nav small { margin-top: 2px; color: var(--muted); font-size: 12.5px; display: block; }
.drawer-nav em { color: var(--muted); font-size: 18px; font-style: normal; }
.drawer-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px 20px;
  border-top: 1px solid var(--line); background: var(--surface);
}
.drawer-footer button {
  border: 0; border-radius: 12px; padding: 10px 14px; color: var(--danger); background: var(--danger-soft);
  font-size: 13.5px; font-weight: 600;
}
.drawer-footer small { color: var(--muted); font-size: 11.5px; text-align: right; }

/* Responsive Switchers & Layout Rules */
@media (max-width: 849px) {
  .desktop-shell { display: none !important; }
  .web-auth-shell { grid-template-columns: 1fr; border-radius: 26px; }
  .web-auth-story { display: none; }
}
@media (min-width: 850px) {
  body[data-layout="desktop"] .mobile-frame:not(.auth-preview-frame) { display: none !important; }
  body[data-layout="desktop"] .bottom-nav { display: none !important; }
  body[data-layout="desktop"] .mobile-menu-overlay { display: none !important; }
  body[data-layout="mobile"] .desktop-shell { display: none !important; }
  body[data-layout="mobile"] .mobile-frame { display: block !important; }
}
