
      :root {
        --emy-navy: #001b47;
        --emy-orange: #ff6a00;
        --emy-cream: #fff8ef;
        --emy-muted: #6b7590;
      }
      * { box-sizing: border-box; }
      html, body { margin: 0; height: 100%; background: white; color: var(--emy-navy); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
      body { height: 100dvh; overflow: hidden; }
      button, input, textarea { font: inherit; }
      a { color: inherit; }
      .page { height: 100dvh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(400px, 0.98fr); background: white; overflow: hidden; }
      .left { position: relative; height: 100dvh; overflow: hidden; padding: 16px clamp(24px, 5vw, 84px) 12px; display: flex; flex-direction: column; }
      .top-logo { display: none; }
      .top-logo img { height: 38px; width: auto; display: block; }
      .account-pill { align-self: center; display: inline-flex; align-items: center; gap: 7px; min-height: 36px; border: 1px solid rgba(0, 27, 71, .10); border-radius: 999px; padding: 7px 16px; background: rgba(255,255,255,.92); box-shadow: 0 7px 18px rgba(0,27,71,.07); font-size: 13px; font-weight: 650; }
      .account-pill img { height: 18px; width: auto; }
      .back-link { margin-top: 24px; width: fit-content; border: 0; background: transparent; color: var(--emy-navy); cursor: pointer; font-size: 13px; font-weight: 700; padding: 6px 0; }
      .form-wrap { width: min(100%, 520px); margin: clamp(12px, 3.8vh, 34px) auto 0; }
      .brand { display: flex; justify-content: center; }
      .brand img { height: 46px; width: auto; }
      h1 { margin: 16px 0 0; text-align: center; font-size: clamp(30px, 3.4vw, 38px); line-height: 1.05; letter-spacing: -0.035em; font-weight: 720; }
      .role-badge { margin: 11px auto 0; display: flex; width: fit-content; align-items: center; gap: 7px; border: 1px solid rgba(255,106,0,.20); border-radius: 999px; background: #fff4e8; color: #d95600; padding: 6px 12px; font-size: 11px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
      .intro { margin: 9px auto 0; max-width: 400px; text-align: center; color: #7b7488; font-size: 13px; line-height: 1.45; font-weight: 500; }
      form { margin-top: 18px; }
      .field { display: block; margin-top: 12px; font-size: 13px; font-weight: 750; color: #201345; }
      .field span { color: var(--emy-orange); }
      .input-box { position: relative; margin-top: 7px; }
      input[type="email"], input[type="password"], input[type="text"] {
        width: 100%; height: 44px; border-radius: 7px; border: 1px solid #d6d0cc; background: #fff; padding: 0 13px; color: var(--emy-navy); outline: none; font-size: 14px; font-weight: 500;
      }
      input::placeholder { color: #969eb1; }
      input:focus { border-color: var(--emy-orange); box-shadow: 0 0 0 3px rgba(255,106,0,.10); }
      .password-toggle { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); height: 32px; width: 32px; border: 0; border-radius: 999px; background: transparent; color: var(--emy-orange); cursor: pointer; display: grid; place-items: center; transition: background .18s ease, transform .18s ease; }
      .password-toggle svg { display: block; height: 20px; width: 20px; }
      .password-toggle::after { content: ""; position: absolute; width: 20px; height: 2px; border-radius: 999px; background: currentColor; transform: rotate(-42deg) scaleX(0); transition: transform .18s ease; }
      .password-toggle.is-visible::after { transform: rotate(-42deg) scaleX(1); }
      .password-toggle:hover { background: #fff0e4; transform: translateY(-50%) scale(1.04); }
      .row { margin-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--emy-navy); font-size: 14px; font-weight: 500; }
      .remember { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
      .remember input { height: 16px; width: 16px; accent-color: var(--emy-orange); }
      .forgot { border: 0; background: transparent; cursor: pointer; color: var(--emy-navy); font-weight: 600; }
      .forgot:hover { color: var(--emy-orange); }
      .primary { margin-top: 14px; width: 100%; height: 50px; border: 0; border-radius: 11px; background: var(--emy-orange); color: #fff; cursor: pointer; font-size: 15px; font-weight: 760; box-shadow: 0 12px 22px rgba(255,106,0,.18); }
      .primary:hover { background: #f05f00; }
      .social-title { margin: 16px 0 10px; text-align: center; color: var(--emy-navy); font-size: 14px; font-weight: 500; }
      .social-row { display: flex; justify-content: center; gap: 16px; }
      .social { height: 46px; width: 46px; border: 0; border-radius: 999px; background: white; cursor: pointer; display: grid; place-items: center; box-shadow: 0 10px 22px rgba(0,27,71,.09); }
      .social svg { max-width: 28px; max-height: 28px; }
      .social:hover { transform: translateY(-1px); box-shadow: 0 16px 32px rgba(0,27,71,.13); }
      .switch { margin-top: 17px; text-align: center; color: #8a8396; font-size: 13px; font-weight: 500; }
      .switch button { border: 0; background: transparent; color: var(--emy-orange); cursor: pointer; font-weight: 750; }
      .active-session { margin-top:20px; border:1px solid rgba(0,27,71,.10); border-radius:14px; background:#fffaf4; padding:20px; text-align:center; box-shadow:0 14px 30px rgba(0,27,71,.07); }
      .active-session strong { display:block; color:var(--emy-navy); font-size:17px; line-height:1.25; font-weight:760; }
      .active-session p { margin:8px 0 0; color:#61708c; font-size:13px; line-height:1.45; font-weight:520; }
      .active-session .primary { margin-top:18px; }
      .legal { margin: auto auto 0; padding-top: 10px; max-width: 520px; text-align: center; color: rgba(0,27,71,.45); font-size: 11.5px; line-height: 1.45; font-weight: 500; }
      .legal a { color: var(--emy-navy); font-weight: 750; text-decoration-color: rgba(255,106,0,.45); text-decoration-thickness: 2px; text-underline-offset: 3px; }
      .right { position: relative; height: 100dvh; background: linear-gradient(132deg, #fff8ef 0%, #ffd7a8 12%, #ff7617 27%, #32577f 52%, #001b47 100%); overflow: hidden; }
      .right::before { content: ""; position: absolute; inset: -34%; background: linear-gradient(112deg, transparent 0 12%, rgba(255,255,255,.78) 17%, rgba(255,238,218,.40) 22%, transparent 29% 38%, rgba(255,106,0,.70) 45%, rgba(255,183,99,.38) 51%, transparent 60% 100%); background-size: 150% 150%; mix-blend-mode: screen; animation: emyDrift 6.4s cubic-bezier(.5,0,.25,1) infinite; }
      .right::after { content: ""; position: absolute; inset: -20%; background: radial-gradient(circle at 18% 22%, rgba(255,248,239,.78), transparent 13rem), radial-gradient(circle at 76% 18%, rgba(255,106,0,.62), transparent 15rem), radial-gradient(circle at 44% 72%, rgba(255,209,161,.42), transparent 18rem), linear-gradient(120deg, rgba(255,248,239,.13), rgba(0,27,71,.28) 48%, rgba(0,27,71,.62)); animation: emyOrbit 7.8s ease-in-out infinite; }
      .close { position: absolute; right: 22px; top: 18px; z-index: 5; height: 42px; width: 42px; border: 1px solid rgba(255,106,0,.18); border-radius: 999px; background: rgba(255,255,255,.94); color: var(--emy-navy); cursor: pointer; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(0,0,0,.11); transition: transform .18s ease, background .18s ease, color .18s ease; }
      .close svg { height: 17px; width: 17px; display: block; stroke-width: 2.8; }
      .close:hover { transform: translateY(-1px); background: #fff3e7; color: var(--emy-orange); }
      .panel { position: absolute; left: 46px; right: 46px; bottom: 36px; z-index: 3; min-height: 188px; border: 1px solid rgba(255,255,255,.72); border-radius: 20px; background: linear-gradient(135deg, rgba(255,255,255,.26), rgba(255,255,255,.08)); padding: 24px; color: white; backdrop-filter: blur(14px); box-shadow: 0 24px 70px rgba(0,27,71,.22); }
      .panel-logo { display: inline-flex; align-items: center; background: rgba(255,255,255,.92); border-radius: 10px; padding: 8px 11px; }
      .panel-logo img { height: 34px; width: auto; display: block; }
      .panel h2 { margin: 22px 0 0; font-size: 30px; line-height: 1.05; font-weight: 760; letter-spacing: -.03em; }
      .panel p { margin: 13px 0 0; display: inline-flex; border-radius: 999px; background: rgba(255,106,0,.22); color: #ffe6d1; padding: 10px 17px; font-size: 14px; font-weight: 750; }
      .status { min-height: 16px; margin-top: 9px; color: #b42318; font-size: 12.5px; font-weight: 650; }
      @keyframes emyDrift {
        0% { transform: translate3d(-14%, 8%, 0) rotate(-8deg) scale(1); opacity: .76; background-position: 0% 52%; }
        22% { transform: translate3d(8%, -10%, 0) rotate(4deg) scale(1.08); opacity: 1; background-position: 48% 18%; }
        47% { transform: translate3d(15%, 12%, 0) rotate(10deg) scale(1.02); opacity: .88; background-position: 84% 58%; }
        72% { transform: translate3d(-5%, -14%, 0) rotate(-2deg) scale(1.11); opacity: 1; background-position: 38% 100%; }
        100% { transform: translate3d(-14%, 8%, 0) rotate(-8deg) scale(1); opacity: .76; background-position: 0% 52%; }
      }
      @keyframes emyOrbit {
        0% { transform: translate3d(0, 0, 0) scale(1); opacity: .76; filter: saturate(1.05) hue-rotate(0deg); }
        20% { transform: translate3d(5%, 6%, 0) scale(1.05); opacity: .95; filter: saturate(1.24) hue-rotate(-4deg); }
        45% { transform: translate3d(-6%, 9%, 0) scale(1.1); opacity: 1; filter: saturate(1.42) hue-rotate(5deg); }
        70% { transform: translate3d(-8%, -6%, 0) scale(1.04); opacity: .9; filter: saturate(1.28) hue-rotate(-2deg); }
        100% { transform: translate3d(0, 0, 0) scale(1); opacity: .76; filter: saturate(1.05) hue-rotate(0deg); }
      }
      @media (max-height: 760px) {
        .left { padding-top: 12px; padding-bottom: 9px; }
        .top-logo img { height: 34px; }
        .account-pill { min-height: 32px; padding: 6px 14px; font-size: 12px; }
        .back-link { margin-top: 18px; padding: 4px 0; }
        .form-wrap { margin-top: 8px; }
        .brand img { height: 40px; }
        h1 { margin-top: 12px; font-size: 30px; }
        .role-badge { margin-top: 8px; padding: 5px 10px; font-size: 10px; }
        .intro { margin-top: 6px; font-size: 12px; line-height: 1.35; }
        form { margin-top: 12px; }
        .field { margin-top: 9px; font-size: 12px; }
        .input-box { margin-top: 5px; }
        input[type="email"], input[type="password"], input[type="text"] { height: 39px; font-size: 13px; }
        .row { margin-top: 8px; font-size: 12.5px; }
        .primary { margin-top: 9px; height: 44px; font-size: 14px; }
        .social-title { margin: 10px 0 7px; font-size: 12.5px; }
        .social { height: 40px; width: 40px; }
        .social svg { max-width: 24px; max-height: 24px; }
        .switch { margin-top: 10px; font-size: 12px; }
        .legal { padding-top: 6px; font-size: 10.5px; line-height: 1.3; }
        .panel { bottom: 28px; min-height: 160px; padding: 20px; }
        .panel h2 { margin-top: 18px; font-size: 27px; }
        .panel p { margin-top: 10px; padding: 9px 15px; font-size: 13px; }
      }
      @media (max-width: 940px) {
        .page { grid-template-columns: 1fr; }
        .right { display: none; }
        .left { padding: 18px 24px 12px; }
        .account-pill { margin-top: -38px; align-self: flex-end; }
        .form-wrap { margin-top: clamp(14px, 4vh, 34px); }
      }
      @media (max-width: 560px) {
        .left { padding: 16px 18px 10px; }
        .account-pill { display: none; }
        .form-wrap { margin-top: 24px; }
        .brand img { height: 42px; }
        h1 { font-size: 30px; }
        .row { align-items: flex-start; flex-direction: column; gap: 10px; }
        .primary { height: 48px; }
      }


.feed-card,
      .social-feed-card,
      .business-card,
      .business-preview-card,
      .product-card,
      .content-tile,
      .result-card,
      .search-result-card,
      .home-created-card,
      .reel-card,
      .feed-clip-card,
      .feed-product-clip-card,
      .business-posted-clip-card,
      .customer-business-card,
      .profile-record-card,
      .thread-row,
      .message-row,
      .settings-row-link,
      .profile-menu-row,
      .nearby-business-row,
      .my-business-row,
      .my-business-update,
      .rail-pulse-item,
      .action-btn,
      .feed-action,
      .social-feed-action,
      .reel-action,
      .item-action,
      button:not(.business-switch):not(.business-mode-switch):not([data-switch-business]):not([data-business-switch-customer]) {
        transition-delay: 0s !important;
        transition-duration: .08s !important;
      }
      .feed-card:has(.feed-media-carousel),
      .feed-card:has([data-feed-media-carousel]),
      .social-feed-card:has(.feed-media-carousel),
      .social-feed-card:has([data-feed-media-carousel]) {
        transform: none !important;
        transition-property: border-color, box-shadow !important;
        transition-duration: .16s !important;
      }
      .feed-card:has(.feed-media-carousel):hover,
      .feed-card:has([data-feed-media-carousel]):hover,
      .feed-card:has(.feed-media-carousel):focus-within,
      .feed-card:has([data-feed-media-carousel]):focus-within,
      .social-feed-card:has(.feed-media-carousel):hover,
      .social-feed-card:has([data-feed-media-carousel]):hover,
      .social-feed-card:has(.feed-media-carousel):focus-within,
      .social-feed-card:has([data-feed-media-carousel]):focus-within {
        transform: none !important;
      }
      .feed-media:has(.feed-media-carousel),
      .feed-media:has([data-feed-media-carousel]),
      .social-feed-media:has(.feed-media-carousel),
      .social-feed-media:has([data-feed-media-carousel]) {
        transform: none !important;
        transition: none !important;
      }
      .feed-card:hover,
      .feed-card:focus-within,
      .social-feed-card:hover,
      .social-feed-card:focus-within,
      .business-card:hover,
      .business-card:focus-within,
      .business-preview-card:hover,
      .business-preview-card:focus-within,
      .product-card:hover,
      .product-card:focus-within,
      .content-tile:hover,
      .content-tile:focus-within,
      .result-card:hover,
      .result-card:focus-within,
      .search-result-card:hover,
      .search-result-card:focus-within,
      .home-created-card:hover,
      .home-created-card:focus-within,
      .reel-card:hover,
      .reel-card:focus-within,
      .feed-clip-card:hover,
      .feed-clip-card:focus-within,
      .feed-product-clip-card:hover,
      .feed-product-clip-card:focus-within,
      .business-posted-clip-card:hover,
      .business-posted-clip-card:focus-within,
      .customer-business-card:hover,
      .customer-business-card:focus-within,
      .profile-record-card:hover,
      .profile-record-card:focus-within,
      .thread-row:hover,
      .thread-row:focus-within,
      .message-row:hover,
      .message-row:focus-within,
      .settings-row-link:hover,
      .settings-row-link:focus-visible,
      .profile-menu-row:hover,
      .profile-menu-row:focus-visible,
      .nearby-business-row:hover,
      .nearby-business-row:focus-visible,
      .my-business-row:hover,
      .my-business-row:focus-visible,
      .my-business-update:hover,
      .my-business-update:focus-visible,
      .rail-pulse-item:hover,
      .rail-pulse-item:focus-visible,
      .action-btn:hover,
      .action-btn:focus-visible,
      .feed-action:hover,
      .feed-action:focus-visible,
      .social-feed-action:hover,
      .social-feed-action:focus-visible,
      .reel-action:hover,
      .reel-action:focus-visible,
      .item-action:hover,
      .item-action:focus-visible,
      button:not(.business-switch):not(.business-mode-switch):not([data-switch-business]):not([data-business-switch-customer]):hover,
      button:not(.business-switch):not(.business-mode-switch):not([data-switch-business]):not([data-business-switch-customer]):focus-visible {
        transition-duration: .07s !important;
      }
