@font-face{font-family:Montserrat;src:url(fonts/Montserrat-Regular.ttf);font-weight:400}
@font-face{font-family:Montserrat;src:url(fonts/Montserrat-Medium.ttf);font-weight:500}
@font-face{font-family:Montserrat;src:url(fonts/Montserrat-SemiBold.ttf);font-weight:600}
@font-face{font-family:Montserrat;src:url(fonts/Montserrat-Bold.ttf);font-weight:700}
@font-face{font-family:Montserrat;src:url(fonts/Montserrat-ExtraBold.ttf);font-weight:800}
@font-face{font-family:Montserrat;src:url(fonts/Montserrat-Black.ttf);font-weight:900}

:root{--safe-top:62px;--safe-bottom:34px;--phone-w:402px;--phone-h:874px}
*{box-sizing:border-box;margin:0;padding:0;-webkit-tap-highlight-color:transparent}
html,body{height:100%}
body{background:#1B1D24;font-family:Montserrat,sans-serif;color:rgba(0,0,0,.87);display:flex;align-items:center;justify-content:center;
  -webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}
button,input,textarea,select{font:inherit;color:inherit;background:none;border:0;outline:0}
button{cursor:pointer}
img,svg{display:block}

/* Device frame (desktop). On a phone-sized viewport the app fills the screen. */
.device{position:relative;width:calc(var(--phone-w) + 24px);height:calc(var(--phone-h) + 24px);border-radius:68px;background:#0B0B0F;padding:12px;
  box-shadow:0 0 0 2px #3A3D46,0 40px 80px rgba(0,0,0,.55)}
.phone{position:relative;width:var(--phone-w);height:var(--phone-h);border-radius:56px;overflow:hidden;background:var(--semantic-color-surface-canvas);isolation:isolate}
.island{position:absolute;top:11px;left:50%;transform:translateX(-50%);width:124px;height:36px;border-radius:20px;background:#000000;z-index:1000;pointer-events:none}
.home-indicator{position:absolute;bottom:8px;left:50%;transform:translateX(-50%);width:140px;height:5px;border-radius:3px;background:#000000;z-index:1000;pointer-events:none;transition:background .2s}
.phone[data-status="light"] .home-indicator{background:#FFFFFF}
@media (max-width:500px){
  body{display:block;background:var(--semantic-color-surface-canvas)}
  .device{width:100vw;height:100dvh;border-radius:0;padding:0;box-shadow:none;background:none}
  .phone{width:100vw;height:100dvh;border-radius:0}
  .island{display:none}
}

/* iOS status bar */
.statusbar{position:absolute;top:0;left:0;right:0;height:54px;z-index:999;pointer-events:none;display:flex;align-items:center;justify-content:space-between;
  padding:14px 30px 0 50px;color:#000000;font-family:-apple-system,"SF Pro Text","Helvetica Neue",sans-serif;transition:color .2s}
.phone[data-status="light"] .statusbar{color:#FFFFFF}
.statusbar__time{font-size:17px;font-weight:600;letter-spacing:-.2px}
.statusbar__right{display:flex;align-items:center;gap:6px}
.statusbar svg{fill:currentColor}

/* Screens */
.stage{position:absolute;inset:0;overflow:hidden}
.screen{position:absolute;inset:0;display:none;flex-direction:column;overflow:hidden;background:var(--semantic-color-surface-canvas);will-change:transform}
.screen.is-active,.screen.is-leaving,.screen.is-entering{display:flex}
.screen.is-tabbed{padding-bottom:0}
.scroll{flex:1;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;scrollbar-width:none;overscroll-behavior:contain}
.scroll::-webkit-scrollbar{display:none}
.safe-top{padding-top:var(--safe-top)}
.safe-bottom{padding-bottom:var(--safe-bottom)}

/* Cupertino page transition */
.screen.push-in{animation:cpPushIn .4s cubic-bezier(.2,.8,.2,1) both;z-index:3;box-shadow:-8px 0 24px rgba(0,0,0,.08)}
.screen.push-out{animation:cpPushOut .4s cubic-bezier(.2,.8,.2,1) both;z-index:2}
.screen.pop-in{animation:cpPopIn .4s cubic-bezier(.2,.8,.2,1) both;z-index:2}
.screen.pop-out{animation:cpPopOut .4s cubic-bezier(.2,.8,.2,1) both;z-index:3;box-shadow:-8px 0 24px rgba(0,0,0,.08)}
.screen.fade-in{animation:cpFadeIn .3s ease both;z-index:3}
.screen.fade-out{animation:cpFadeOut .3s ease both;z-index:2}
@keyframes cpPushIn{from{transform:translateX(100%)}to{transform:none}}
@keyframes cpPushOut{from{transform:none}to{transform:translateX(-30%)}}
@keyframes cpPopIn{from{transform:translateX(-30%)}to{transform:none}}
@keyframes cpPopOut{from{transform:none}to{transform:translateX(100%)}}
@keyframes cpFadeIn{from{opacity:0}to{opacity:1}}
@keyframes cpFadeOut{from{opacity:1}to{opacity:0}}

/* Toast */
.cp-toast{position:absolute;left:16px;right:16px;bottom:110px;z-index:1200;padding:14px 16px;border-radius:12px;background:var(--semantic-color-surface-inverse,#1A1A2E);color:#FFFFFF;
  font-size:14px;font-weight:600;line-height:1.35;opacity:0;transform:translateY(12px);transition:.25s;pointer-events:none}
.cp-toast.show{opacity:1;transform:none}

/* Typography roles — app_typography.dart */
.t-displayLarge{font-size:40px;font-weight:700;line-height:1.10;letter-spacing:-.8px}
.t-displayMedium{font-size:32px;font-weight:700;line-height:1.15;letter-spacing:-.5px}
.t-displaySmall{font-size:28px;font-weight:700;line-height:1.20;letter-spacing:-.25px}
.t-headlineLarge{font-size:24px;font-weight:600;line-height:1.25}
.t-headlineMedium{font-size:22px;font-weight:600;line-height:1.25}
.t-headlineSmall{font-size:20px;font-weight:600;line-height:1.30}
.t-titleLarge{font-size:18px;font-weight:600;line-height:1.30}
.t-titleMedium{font-size:16px;font-weight:600;line-height:1.35}
.t-titleSmall{font-size:14px;font-weight:600;line-height:1.35;letter-spacing:.1px}
.t-bodyLarge{font-size:16px;font-weight:400;line-height:1.40}
.t-bodyMedium{font-size:14px;font-weight:400;line-height:1.40}
.t-bodySmall{font-size:12px;font-weight:400;line-height:1.40;letter-spacing:.1px}
.t-labelLarge{font-size:14px;font-weight:600;line-height:1.20;letter-spacing:.2px}
.t-labelMedium{font-size:12px;font-weight:600;line-height:1.20;letter-spacing:.3px}
.t-labelSmall{font-size:10px;font-weight:600;line-height:1.20;letter-spacing:.5px}
.t-code{font-family:Menlo,"Courier New",monospace;font-size:14px;font-weight:400;line-height:1.30;font-variant-numeric:tabular-nums}
.t-codeLarge{font-family:Menlo,"Courier New",monospace;font-size:24px;font-weight:600;line-height:1.20;letter-spacing:2px;font-variant-numeric:tabular-nums}
.tabular{font-variant-numeric:tabular-nums}

/* Screenshot mode (?shot): phone pinned at top-left, exact 402x874. */
html.shot body{display:block;background:#FFFFFF}
html.shot .device{width:auto;height:auto;padding:0;border-radius:0;box-shadow:none;background:none}
html.shot .phone{width:402px;height:874px;border-radius:0}
html.shot .island{display:none}
