:root { color-scheme: light; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #242e35; background: #e7ecea; }
* { box-sizing: border-box; }
body { min-width: 320px; margin: 0; background: #e7ecea; }
button, input { font: inherit; }
button { cursor: pointer; }
.desktop-stage { display: grid; min-height: 100dvh; place-items: center; padding: 0; background: radial-gradient(circle at 50% 0, #f9fbfa 0, #edf2f0 44%, #e2e9e6 100%); }
.device-frame { position: relative; width: min(100%, 480px); min-height: 100dvh; padding: 0; overflow: hidden; background: #263237; box-shadow: 0 0 38px rgba(20, 36, 40, .13); }
.device-speaker { display: none; }
.phone-shell { position: relative; display: flex; width: 100%; min-height: 100dvh; flex-direction: column; overflow: hidden; background: #fff; }
.login-screen { display: flex; min-height: 100dvh; flex-direction: column; justify-content: center; padding: 28px; background: #fff; }
.login-logo { width: 230px; height: 80px; margin: 0 auto; object-fit: contain; }
.login-card { display: grid; gap: 14px; margin-top: 34px; }
.login-card input, .chat-composer input { width: 100%; height: 52px; padding: 0 14px; border: 1px solid rgba(0,0,0,.09); border-radius: 9px; outline-color: #54b09b; background: #fff; color: #242e35; }
.primary { min-height: 54px; border: 0; border-radius: 16px; background: #54b09b; color: #fff; font-weight: 750; letter-spacing: .02em; }.primary:disabled { opacity: .6; }
.forgot-password { justify-self: center; margin-top: -2px; padding: 0; border: 0; background: transparent; color: #54b09b; font-size: 15px; font-weight: 650; }.forgot-password:disabled { opacity: .52; cursor: default; }
.secure { margin: auto 0 0; padding-bottom: 28px; color: #616b70; text-align: center; font-size: 12px; }.quiet { color: #616b70; font-size: 13px; line-height: 1.5; text-align: center; }.notice { padding: 11px 12px; border-radius: 10px; background: #edf9f6; color: #246556; font-size: 13px; line-height: 1.4; }.notice.error, .error { background: #fff0f0; color: #9d3333; }
.page-header { position: sticky; top: 0; z-index: 2; display: grid; min-height: 66px; grid-template-columns: 42px 1fr 42px; align-items: center; padding: 8px 20px; border-bottom: 1px solid rgba(0,0,0,.09); background: rgba(255,255,255,.97); backdrop-filter: blur(12px); }.page-header h1 { margin: 0; color: #242e35; text-align: center; font-size: 19px; }.page-header p { margin: 4px 0 0; color: #616b70; text-align: center; font-size: 11px; }.icon-button { width: 36px; height: 36px; border: 0; background: transparent; color: #242e35; font-size: 28px; }.header-spacer { width: 36px; }
.content { flex: 1; overflow: auto; padding: 0 20px 112px; }.home-brand { display: flex; height: 84px; align-items: center; padding-top: 14px; padding-bottom: 8px; }.home-brand button { width: 184px; height: 62px; padding: 0; border: 0; background: transparent; }.home-brand img { width: 184px; height: 62px; object-fit: contain; object-position: left center; }
.event-card, .detail-card { display: flex; gap: 14px; min-height: 118px; padding: 16px; border: 1px solid rgba(0,0,0,.09); border-radius: 18px; background: #f5f7f7; }.event-card b { color: #54b09b; font-size: 12px; letter-spacing: .09em; }.event-card p { margin: 7px 0 0; color: #616b70; font-size: 14px; }.card-icon { display: grid; width: 46px; height: 46px; flex: 0 0 46px; place-items: center; border-radius: 14px; background: #fff; color: #54b09b; font-size: 24px; }.cards { display: grid; gap: 14px; margin-top: 14px; }.feature-card, .list-row { position: relative; display: grid; width: 100%; grid-template-columns: 48px 1fr 20px; gap: 16px; align-items: center; min-height: 82px; padding: 16px; overflow: hidden; border: 0; border-radius: 20px; background: #f5f7f7; color: #242e35; text-align: left; }.feature-card::after { position: absolute; right: 20px; bottom: 0; left: 20px; height: 3px; background: #54b09b; content: ""; }.feature-card strong, .list-row strong { display: block; font-size: 17px; font-weight: 650; }.feature-card small, .list-row small { display: block; margin-top: 5px; color: #616b70; font-size: 14px; line-height: 1.35; }.feature-card i, .list-row i { color: #242e35; font-size: 14px; font-style: normal; }.toolbar { display: flex; align-items: center; justify-content: space-between; margin: 16px 0 12px; color: #616b70; font-size: 12px; }.secondary { padding: 8px 12px; border: 1px solid rgba(0,0,0,.09); border-radius: 10px; background: #fff; color: #287d6b; font-weight: 650; }.wide { width: 100%; margin-top: 13px; }.list { display: grid; gap: 10px; }.list-row { min-height: 76px; grid-template-columns: 1fr 20px; border: 1px solid rgba(0,0,0,.07); background: #fff; border-radius: 16px; }.empty { padding: 36px 16px; color: #6d797d; text-align: center; }.status-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }.status-card { display: grid; min-height: 105px; gap: 7px; align-content: center; padding: 13px; border: 1px solid rgba(0,0,0,.09); border-radius: 16px; background: #fff; color: #354247; text-align: left; }.status-card span { color: #54b09b; font-size: 30px; font-weight: 800; }.status-card small { font-size: 11px; line-height: 1.3; }.detail-card { display: block; }.detail-card h2 { margin-top: 0; font-size: 19px; }.detail-card p { color: #616b70; line-height: 1.55; }.detail-card dl { margin: 0; padding: 11px 0; border-bottom: 1px solid #e0e7e5; }.detail-card dl:last-child { border: 0; }.detail-card dt { color: #718086; font-size: 11px; font-weight: 700; }.detail-card dd { margin: 4px 0 0; overflow-wrap: anywhere; font-size: 14px; }.chat { display: flex; min-height: 420px; flex-direction: column; gap: 10px; padding: 6px 0; overflow-y: auto; }.chat p { max-width: 84%; margin: 0; padding: 11px 13px; border-radius: 16px; font-size: 14px; line-height: 1.45; }.bot-message { align-self: flex-start; background: #f0f4f3; }.user-message { align-self: flex-end; background: #54b09b; color: #fff; }.chat-composer { display: grid; grid-template-columns: 1fr auto; gap: 9px; padding: 10px 0; }.chat-composer input { min-width: 0; }.chat-composer .primary { min-height: 52px; padding: 0 14px; }
.footer { position: absolute; right: 0; bottom: 0; left: 0; z-index: 3; min-height: 66px; padding-top: 2px; border-top: 1px solid rgba(0,0,0,.09); background: #fff; }.footer nav { display: flex; gap: 8px; padding: 2px 20px 0; }.footer nav button { display: inline-flex; height: 34px; align-items: center; gap: 5px; padding: 0 10px; border: 1px solid rgba(0,0,0,.09); border-radius: 999px; background: #f5f7f7; color: #242e35; font-size: 12px; font-weight: 750; }.footer small { display: block; padding: 4px 20px 1px 41px; color: rgba(97,107,112,.72); font-size: 7px; font-weight: 600; }.footer-menu { position: absolute; right: 20px; bottom: 52px; display: grid; gap: 6px; min-width: 166px; padding: 10px; border: 1px solid rgba(0,0,0,.09); border-radius: 16px; background: #fff; box-shadow: 0 4px 10px rgba(0,0,0,.1); }.footer-menu span { overflow: hidden; color: #616b70; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }.footer-menu button { height: 34px; border: 0; border-radius: 999px; background: #f5f7f7; color: #242e35; font-weight: 700; }
html.desktop-shell body { padding: 0; }
html.desktop-shell .desktop-stage { min-height: 100dvh; padding: 28px; }
html.desktop-shell .device-frame { width: min(100%, 460px); min-height: min(900px, calc(100dvh - 56px)); padding: 11px; border: 1px solid rgba(255,255,255,.22); border-radius: 42px; box-shadow: 0 22px 56px rgba(30, 48, 50, .28), inset 0 0 0 1px rgba(0,0,0,.22); }
html.desktop-shell .device-speaker { position: absolute; z-index: 4; top: 18px; left: 50%; display: block; width: 92px; height: 21px; transform: translateX(-50%); border-radius: 999px; background: #263237; }
html.desktop-shell .phone-shell { min-height: calc(min(900px, 100dvh - 56px) - 22px); border-radius: 32px; }
html.desktop-shell .login-screen { min-height: calc(min(900px, 100dvh - 56px) - 22px); }
@media (max-width: 520px) { html.desktop-shell .desktop-stage { padding: 12px; } html.desktop-shell .device-frame { min-height: calc(100dvh - 24px); border-radius: 28px; } html.desktop-shell .phone-shell, html.desktop-shell .login-screen { min-height: calc(100dvh - 46px); border-radius: 20px; } }
/* When the same-origin app is displayed inside the COS panel, that panel owns
   the sole black border. Remove the app's own desktop scenery and any second
   device frame without altering the standalone mobile experience. */
html.embedded-shell, html.embedded-shell body { background: #fff; }
html.embedded-shell .desktop-stage { display: block; min-height: 100dvh; padding: 0; background: #fff; }
html.embedded-shell .device-frame { width: 100%; min-height: 100dvh; padding: 0; overflow: hidden; border: 0; border-radius: 0; background: #fff; box-shadow: none; }
html.embedded-shell .device-speaker { display: none; }
html.embedded-shell .phone-shell, html.embedded-shell .login-screen { min-height: 100dvh; border-radius: 0; box-shadow: none; }
