:root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ui-text);background:var(--ui-bg);--blue:#3699e9;--blue-strong:#2f94e6;--line:var(--ui-border);--muted:var(--ui-text-muted);--card:var(--ui-card-bg);--bg:var(--ui-bg)}*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--bg)}button,input{font:inherit}.ui-icon{width:1em;height:1em;display:block}.app-shell{min-height:100vh}.main{padding:28px 32px 110px;max-width:1120px;margin:0 auto}.topbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:28px;min-height:52px}.topbar h1{font-size:34px;margin:0;font-weight:850;letter-spacing:-.5px}.top-actions{display:flex;align-items:center;gap:10px}.icon-btn{position:relative;border:0;background:transparent;color:var(--ui-text);font-size:32px;padding:7px;display:grid;place-items:center;border-radius:14px}.icon-btn .ui-icon{width:32px;height:32px}.message-button .notify-dot{position:absolute;right:1px;top:-4px;width:20px;height:20px;border-radius:50%;background:#bd1f22;color:#fff;font-size:11px;font-weight:800;display:grid;place-items:center;border:2px solid var(--bg)}
.identity-card{display:flex;align-items:center;gap:16px;padding:17px 23px;background:linear-gradient(90deg,var(--ui-brand),var(--ui-brand));color:#fff;border-radius:27px;min-height:103px}.identity-copy{min-width:0}.identity-card b{display:block;font-size:24px;line-height:1.1}.identity-card small{display:block;opacity:.82;font-size:15px;margin-top:6px}.avatar{width:58px;height:58px;flex:0 0 58px;border-radius:50%;display:grid;place-items:center;background:var(--ui-brand-soft);color:var(--ui-brand-dark)}.avatar .ui-icon{width:29px;height:29px}.avatar.white{background:rgba(255,255,255,.20);color:#fff}.sync-pill{margin-left:auto;padding:11px 15px;border-radius:22px;background:rgba(255,255,255,.18);font-weight:750;display:flex;align-items:center;gap:8px;white-space:nowrap}.sync-pill .ui-icon{width:22px;height:22px}h2{margin:31px 0 17px;font-size:28px;letter-spacing:-.3px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.stats>div,.quick button,.order-card,.placeholder{background:var(--ui-card-bg);border:1px solid var(--line);border-radius:27px;box-shadow:0 1px 2px #00000006}.stats>div{min-height:190px;padding:18px 8px;display:flex;flex-direction:column;align-items:center;justify-content:center}.metric-icon{width:58px;height:58px;border-radius:18px;display:grid;place-items:center}.metric-icon .ui-icon{width:30px;height:30px}.metric-icon.blue{background:var(--ui-brand-soft);color:var(--ui-brand-dark)}.metric-icon.purple{background:var(--ui-card-bg);color:var(--ui-text)}.metric-icon.amber{background:var(--ui-warning-soft);color:var(--ui-warning)}.metric-icon.green{background:var(--ui-success-soft);color:var(--ui-success)}.stats b{font-size:33px;margin-top:14px;line-height:1}.stats small{color:var(--ui-text);font-size:15px;font-weight:750;margin-top:8px}.quick{display:grid;grid-template-columns:1fr 1fr;gap:15px}.quick button{border:1px solid var(--line);text-align:left;padding:20px 22px;display:grid;grid-template-columns:62px 1fr;grid-template-rows:auto auto;column-gap:16px;min-height:125px;align-content:center;color:inherit}.quick-icon{grid-row:1/3;width:58px;height:58px;border-radius:17px;display:grid;place-items:center}.quick-icon .ui-icon{width:31px;height:31px}.quick-icon.blue{background:var(--ui-brand-soft);color:var(--ui-brand-dark)}.quick b{font-size:21px;align-self:end}.quick small{color:var(--muted);font-size:15px;margin-top:5px}.quick button:disabled{opacity:.48}.search{height:72px;border:1px solid var(--ui-field-border);border-radius:24px;background:var(--ui-field-bg);display:flex;align-items:center;padding:0 20px;gap:15px;color:var(--ui-text);}.search span{font-size:32px}.search input{border:0;outline:0;width:100%;font-size:21px;background:transparent}.segmented{display:grid;grid-template-columns:repeat(3,1fr);margin:22px 0;border:1px solid var(--ui-field-border);border-radius:22px;overflow:hidden;color:var(--ui-text);background:var(--ui-field-bg);}.segmented button{padding:15px;background:transparent;border:0;border-right:1px solid var(--ui-field-border);font-weight:700;color:var(--ui-text);}.segmented button:last-child{border-right:0}.segmented .active{background:var(--ui-brand-soft)}.order-list{display:grid;gap:18px}.order-card{padding:24px 28px}.order-row{display:flex;align-items:center;gap:16px}.grow{flex:1}.grow b,.grow a{display:block}.grow b{font-size:22px}.grow a{color:var(--ui-brand-dark);font-weight:800;margin-top:5px}.status-icon{width:58px;height:58px;border-radius:18px;display:grid;place-items:center;font-size:26px}.status-icon.blue{background:var(--ui-brand-soft)}.status-icon.amber{background:var(--ui-warning-soft)}.status-icon.green{background:var(--ui-success-soft)}.badge{border-radius:18px;padding:9px 15px;font-weight:800}.badge.blue{background:var(--ui-brand-soft);color:var(--ui-brand-dark)}.badge.amber{background:var(--ui-warning-soft);color:var(--ui-warning)}.badge.green{background:var(--ui-success-soft);color:var(--ui-success)}.order-card h3{margin:24px 0 7px}.order-card p{color:var(--ui-text);font-size:18px}.order-card footer{display:flex;justify-content:space-between;color:var(--ui-text);margin-top:25px}.placeholder{padding:30px}.placeholder b{font-size:24px}.sidebar{display:none}.bottom-nav{position:fixed;left:0;right:0;bottom:0;height:102px;background:var(--ui-card-bg);border-top:1px solid var(--ui-border);display:grid;grid-template-columns:repeat(6,1fr);z-index:10;padding:9px 4px calc(8px + env(safe-area-inset-bottom));box-shadow:0 -2px 10px #00000008}.bottom-nav button{border:0;background:var(--ui-card-bg);color:var(--ui-text);font-weight:750;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0;padding:3px 0}.bottom-nav .ui-icon{width:27px;height:27px}.bottom-nav small{display:block;font-size:11px;line-height:1.1;white-space:nowrap}.bottom-nav button.active{color:var(--ui-brand-dark)}
/* Authentication */.auth-page{min-height:100vh;display:grid;place-items:center;padding:30px}.auth-card{width:min(660px,100%);text-align:center}.auth-card h1{font-size:36px;margin:20px 0 7px}.auth-card p{color:var(--ui-text);font-size:19px}.brand-logo{width:100px;height:100px;object-fit:cover;display:block;margin:0 auto 22px;border-radius:25px;box-shadow:0 8px 28px rgba(37,105,230,.18)}.auth-card form{display:grid;gap:18px;margin-top:45px}.auth-card label{text-align:left;color:var(--ui-text)}.auth-card input{display:block;width:100%;margin-top:7px;padding:20px 22px;border:1px solid var(--ui-field-border);border-radius:22px;background:var(--ui-field-bg);font-size:20px;outline:0;color:var(--ui-text);}.primary{border:0;border-radius:22px;background:var(--ui-brand);color:#fff;font-weight:800;padding:20px;font-size:21px}.primary:disabled{opacity:.6}.error{background:var(--ui-card-bg);color:var(--ui-danger);padding:12px 16px;border-radius:14px;margin:18px auto 0;max-width:520px}.text-btn{border:0;background:transparent;color:var(--ui-text);margin-top:20px}.empty{padding:40px;text-align:center;color:var(--ui-text)}
/* Lock screen */.lock-page{padding:30px 24px}.lock-card{width:min(680px,100%)}.lock-hero{width:152px;height:152px;border-radius:50%;background:var(--ui-brand-soft);color:var(--ui-brand-dark);display:grid;place-items:center;margin:0 auto 42px}.lock-hero .ui-icon{width:70px;height:70px;stroke-width:1.8}.lock-card h1{font-size:44px;margin:0 0 20px;letter-spacing:-.6px}.lock-card>p{font-size:25px;margin:0 0 44px;color:var(--ui-text-muted)}.offline-note{display:inline-block;background:var(--ui-brand-soft);color:var(--ui-brand-dark);border-radius:14px;padding:9px 14px;font-size:14px;margin:-26px 0 24px}.unlock-form{margin-top:0!important;gap:22px!important}.floating-label{position:relative;text-align:left!important}.floating-label>span{position:absolute;z-index:2;top:-12px;left:30px;background:var(--bg);padding:0 8px;color:var(--ui-brand-dark);font-size:18px}.pin-field{height:96px;border:3px solid var(--ui-brand);border-radius:34px;background:var(--ui-field-bg);display:flex;align-items:center;padding:0 24px;gap:18px;color:var(--ui-text);}.pin-field>.ui-icon{width:32px;height:32px;color:var(--ui-text-muted)}.pin-field .pin-input{border:0!important;margin:0!important;padding:0!important;border-radius:0!important;box-shadow:none!important;text-align:left;letter-spacing:14px;font-size:31px!important;height:100%;flex:1;min-width:0}.unlock-primary{height:108px;border-radius:34px;display:flex;align-items:center;justify-content:center;gap:18px;font-size:27px}.unlock-primary .ui-icon{width:31px;height:31px}.secondary-action{width:100%;height:104px;margin-top:25px;border:1px solid var(--line);border-radius:34px;background:var(--ui-card-bg);color:var(--ui-text);font-weight:750;font-size:23px;display:flex;align-items:center;justify-content:center;gap:17px}.secondary-action .ui-icon{width:31px;height:31px}.logout-action{margin:38px auto 0;border:0;background:transparent;color:var(--ui-brand-dark);font-size:21px;font-weight:650;display:flex;align-items:center;justify-content:center;gap:13px}.logout-action .ui-icon{width:29px;height:29px}
@media(min-width:1100px){.app-shell{display:grid;grid-template-columns:270px 1fr}.sidebar{display:flex;position:sticky;top:0;height:100vh;padding:28px 20px;flex-direction:column;background:var(--ui-card-bg);border-right:1px solid var(--line)}.brand{font-size:29px;font-weight:900;margin:0 8px 25px}.side-user{display:flex;align-items:center;gap:10px;padding:14px 10px;background:var(--ui-card-bg);border-radius:18px}.side-user b,.side-user small{display:block}.side-user small{color:var(--muted);margin-top:3px}.sidebar nav{display:grid;gap:5px;margin-top:25px}.sidebar nav button{border:0;background:transparent;border-radius:14px;padding:14px;text-align:left;font-weight:750;color:var(--ui-text);display:flex;align-items:center;gap:12px}.sidebar nav button .ui-icon{width:22px;height:22px}.sidebar nav button.active{background:var(--ui-brand-soft);color:var(--ui-brand-dark)}.side-status{margin-top:auto;color:var(--ui-text);padding:10px}.main{width:100%;padding:34px 42px 50px}.bottom-nav{display:none}.order-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Phone and tablet retain application layout */@media(max-width:1099px){.app-shell{display:block!important}.sidebar{display:none!important}.bottom-nav{display:grid!important}.main{width:100%!important;max-width:100%!important;padding:28px 30px calc(122px + env(safe-area-inset-bottom))!important}.order-list{grid-template-columns:1fr!important}}
html.touch-ui .app-shell{display:block!important}.touch-ui .sidebar{display:none!important}.touch-ui .bottom-nav{display:grid!important}.touch-ui .main{width:100%!important;max-width:100%!important;padding-bottom:calc(122px + env(safe-area-inset-bottom))!important}.touch-ui .order-list{grid-template-columns:1fr!important}
@media(max-width:600px){.main,.touch-ui .main{padding:25px 27px calc(119px + env(safe-area-inset-bottom))!important}.topbar{margin-bottom:23px}.topbar h1{font-size:32px}.top-actions{gap:6px}.icon-btn{font-size:29px;padding:5px}.icon-btn .ui-icon{width:29px;height:29px}.identity-card{min-height:102px;padding:16px 18px;border-radius:27px;gap:13px}.avatar{width:58px;height:58px;flex-basis:58px}.identity-card b{font-size:23px}.identity-card small{font-size:14px}.sync-pill{font-size:13px;padding:10px 12px;gap:6px}.sync-pill .ui-icon{width:19px;height:19px}h2{font-size:28px;margin:32px 0 18px}.stats{gap:12px}.stats>div{min-height:194px;border-radius:27px;padding:17px 5px}.metric-icon{width:58px;height:58px}.metric-icon .ui-icon{width:29px;height:29px}.stats b{font-size:33px;margin-top:14px}.stats small{font-size:14px}.quick{gap:14px}.quick button{min-height:128px;padding:18px 19px;grid-template-columns:59px 1fr;column-gap:14px;border-radius:27px}.quick-icon{width:56px;height:56px}.quick b{font-size:20px}.quick small{font-size:14px}.bottom-nav{height:104px}.bottom-nav .ui-icon{width:28px;height:28px}.bottom-nav small{font-size:11px}.lock-page{padding:34px 28px}.lock-hero{width:145px;height:145px;margin-bottom:42px}.lock-hero .ui-icon{width:66px;height:66px}.lock-card h1{font-size:39px}.lock-card>p{font-size:23px;margin-bottom:42px}.pin-field{height:94px;border-radius:32px}.unlock-primary{height:104px;border-radius:32px;font-size:25px}.secondary-action{height:101px;border-radius:32px;font-size:22px}.logout-action{font-size:20px}}
@media(max-width:430px){.main,.touch-ui .main{padding-left:18px!important;padding-right:18px!important}.topbar h1{font-size:29px}.identity-card{padding:14px 15px;min-height:94px}.avatar{width:52px;height:52px;flex-basis:52px}.identity-card b{font-size:20px}.identity-card small{font-size:12px}.sync-pill{font-size:11px;padding:8px 9px}.stats{gap:8px}.stats>div{min-height:160px;border-radius:23px}.metric-icon{width:50px;height:50px;border-radius:16px}.metric-icon .ui-icon{width:26px;height:26px}.stats b{font-size:28px}.stats small{font-size:12px}.quick{gap:10px}.quick button{min-height:111px;padding:15px 13px;grid-template-columns:50px 1fr;column-gap:10px;border-radius:23px}.quick-icon{width:48px;height:48px;border-radius:15px}.quick-icon .ui-icon{width:26px;height:26px}.quick b{font-size:17px}.quick small{font-size:12px}.bottom-nav{height:98px}.bottom-nav .ui-icon{width:25px;height:25px}.bottom-nav small{font-size:9.5px}.lock-card h1{font-size:34px}.lock-card>p{font-size:20px}.lock-hero{width:126px;height:126px}.lock-hero .ui-icon{width:58px;height:58px}.pin-field{height:82px}.unlock-primary{height:90px;font-size:22px}.secondary-action{height:88px;font-size:19px}}


/* v0.2.1 — larger Android-like mobile density */
@media(max-width:600px){
  .main,.touch-ui .main{padding:24px 20px calc(126px + env(safe-area-inset-bottom))!important}
  .topbar{min-height:58px;margin-bottom:26px}
  .topbar h1{font-size:34px!important}
  .top-actions{gap:8px}
  .icon-btn{padding:7px!important}
  .icon-btn .ui-icon{width:35px!important;height:35px!important}
  .message-button .notify-dot{width:20px;height:20px;font-size:11px}

  .identity-card{min-height:112px!important;padding:18px 19px!important;border-radius:29px!important;gap:15px!important}
  .avatar{width:64px!important;height:64px!important;flex-basis:64px!important}
  .avatar .ui-icon{width:34px!important;height:34px!important}
  .identity-card b{font-size:25px!important}
  .identity-card small{font-size:14px!important;margin-top:7px}
  .sync-pill{font-size:13px!important;padding:11px 13px!important}
  .sync-pill .ui-icon{width:22px!important;height:22px!important}

  h2{font-size:30px!important;margin:34px 0 19px!important}
  .stats{gap:10px!important}
  .stats>div{min-height:190px!important;border-radius:28px!important;padding:18px 5px!important}
  .metric-icon{width:66px!important;height:66px!important;border-radius:20px!important}
  .metric-icon .ui-icon{width:36px!important;height:36px!important}
  .stats b{font-size:35px!important;margin-top:15px!important}
  .stats small{font-size:14px!important;margin-top:8px!important}

  .quick{gap:12px!important}
  .quick button{min-height:132px!important;padding:19px 17px!important;grid-template-columns:66px 1fr!important;column-gap:14px!important;border-radius:28px!important}
  .quick-icon{width:62px!important;height:62px!important;border-radius:19px!important}
  .quick-icon .ui-icon{width:35px!important;height:35px!important}
  .quick b{font-size:21px!important}
  .quick small{font-size:14px!important}

  .bottom-nav{height:112px!important;padding:8px 3px calc(9px + env(safe-area-inset-bottom))!important}
  .bottom-nav button{gap:6px!important}
  .bottom-nav .ui-icon{width:33px!important;height:33px!important}
  .bottom-nav small{font-size:11.5px!important;font-weight:800!important}

  .lock-page{padding:28px 22px!important}
  .lock-hero{width:150px!important;height:150px!important;margin-bottom:42px!important}
  .lock-hero .ui-icon{width:70px!important;height:70px!important}
  .lock-card h1{font-size:40px!important}
  .lock-card>p{font-size:23px!important}
  .pin-field{height:96px!important}
  .pin-field>.ui-icon{width:32px!important;height:32px!important}
  .unlock-primary{height:104px!important;font-size:25px!important}
  .secondary-action{height:102px!important;font-size:22px!important}
  .logout-action{font-size:20px!important}
}

/* Do not shrink UI again on narrow phones. Keep the Android-like scale. */
@media(max-width:430px){
  .main,.touch-ui .main{padding-left:16px!important;padding-right:16px!important}
  .topbar h1{font-size:32px!important}
  .icon-btn .ui-icon{width:34px!important;height:34px!important}
  .identity-card{min-height:108px!important;padding:17px 16px!important}
  .avatar{width:60px!important;height:60px!important;flex-basis:60px!important}
  .avatar .ui-icon{width:33px!important;height:33px!important}
  .identity-card b{font-size:23px!important}
  .identity-card small{font-size:13px!important}
  .sync-pill{font-size:12px!important;padding:10px 10px!important}

  .stats{gap:8px!important}
  .stats>div{min-height:178px!important;border-radius:26px!important}
  .metric-icon{width:62px!important;height:62px!important}
  .metric-icon .ui-icon{width:34px!important;height:34px!important}
  .stats b{font-size:33px!important}
  .stats small{font-size:13px!important}

  .quick{gap:10px!important}
  .quick button{min-height:126px!important;padding:17px 14px!important;grid-template-columns:60px 1fr!important;column-gap:11px!important;border-radius:26px!important}
  .quick-icon{width:58px!important;height:58px!important}
  .quick-icon .ui-icon{width:33px!important;height:33px!important}
  .quick b{font-size:19px!important}
  .quick small{font-size:13px!important}

  .bottom-nav{height:110px!important}
  .bottom-nav .ui-icon{width:32px!important;height:32px!important}
  .bottom-nav small{font-size:10.5px!important}

  .lock-card h1{font-size:36px!important}
  .lock-card>p{font-size:21px!important}
  .lock-hero{width:140px!important;height:140px!important}
  .lock-hero .ui-icon{width:66px!important;height:66px!important}
  .pin-field{height:90px!important}
  .unlock-primary{height:98px!important;font-size:24px!important}
  .secondary-action{height:96px!important;font-size:21px!important}
}


/* v0.2.2 definitive phone scale */
@media (max-width: 699px) {
  .main{padding:22px 14px 126px!important;max-width:none!important}
  .topbar{margin-bottom:24px!important}
  .topbar h1{font-size:36px!important;line-height:1.1!important}
  .icon-btn{padding:7px!important}
  .icon-btn .ui-icon{width:40px!important;height:40px!important;stroke-width:2.5!important}
  .identity-card{min-height:118px!important;border-radius:30px!important;padding:18px 18px!important;gap:14px!important}
  .avatar{width:68px!important;height:68px!important;min-width:68px!important;flex-basis:68px!important}
  .avatar .ui-icon{width:38px!important;height:38px!important}
  .identity-card b{font-size:27px!important;line-height:1.05!important}
  .identity-card small{font-size:15px!important}
  .sync-pill{font-size:13px!important;padding:11px 12px!important}
  h2{font-size:31px!important;margin:34px 0 19px!important}
  .stats{gap:10px!important}
  .stats>div{min-height:202px!important;border-radius:29px!important;padding:19px 4px!important}
  .metric-icon{width:72px!important;height:72px!important;border-radius:22px!important}
  .metric-icon .ui-icon{width:40px!important;height:40px!important}
  .stats b{font-size:38px!important;line-height:1!important;margin-top:16px!important}
  .stats small{font-size:15px!important}
  .quick{gap:12px!important}
  .quick button{min-height:142px!important;padding:20px 16px!important;grid-template-columns:72px 1fr!important;column-gap:14px!important;border-radius:29px!important}
  .quick-icon{width:68px!important;height:68px!important;border-radius:20px!important}
  .quick-icon .ui-icon{width:39px!important;height:39px!important}
  .quick b{font-size:22px!important;line-height:1.15!important}
  .quick small{font-size:15px!important;margin-top:4px!important}
  .bottom-nav{height:120px!important;padding:9px 1px calc(10px + env(safe-area-inset-bottom))!important}
  .bottom-nav .ui-icon{width:37px!important;height:37px!important}
  .bottom-nav small{font-size:12px!important;line-height:1.05!important}
}


/* TELLIAPP v0.4 — dedicated mobile app layout. No legacy breakpoint scaling. */
html.mobile-app-ui body{font-size:18px!important}
html.mobile-app-ui .app-shell{display:block!important}
html.mobile-app-ui .sidebar{display:none!important}
html.mobile-app-ui .main{width:100%!important;max-width:none!important;padding:28px 28px calc(148px + env(safe-area-inset-bottom))!important;margin:0!important}

/* top/home */
html.mobile-app-ui .topbar{min-height:72px!important;margin:0 0 30px!important}
html.mobile-app-ui .topbar h1{font-size:40px!important;line-height:1!important;font-weight:850!important;letter-spacing:-.6px!important}
html.mobile-app-ui .top-actions{gap:16px!important}
html.mobile-app-ui .icon-btn{padding:5px!important;min-width:48px!important;min-height:48px!important}
html.mobile-app-ui .icon-btn .ui-icon{width:43px!important;height:43px!important;stroke-width:2.35!important}
html.mobile-app-ui .message-button .notify-dot{width:23px!important;height:23px!important;font-size:13px!important}
html.mobile-app-ui .identity-card{min-height:118px!important;padding:18px 22px!important;border-radius:29px!important;gap:18px!important}
html.mobile-app-ui .avatar{width:68px!important;height:68px!important;min-width:68px!important;flex-basis:68px!important}
html.mobile-app-ui .avatar .ui-icon{width:38px!important;height:38px!important}
html.mobile-app-ui .identity-card b{font-size:27px!important;line-height:1.05!important}
html.mobile-app-ui .identity-card small{font-size:16px!important;margin-top:7px!important}
html.mobile-app-ui .sync-pill{font-size:15px!important;padding:13px 16px!important;border-radius:23px!important}
html.mobile-app-ui .sync-pill .ui-icon{width:24px!important;height:24px!important}
html.mobile-app-ui h2{font-size:31px!important;margin:35px 0 19px!important}
html.mobile-app-ui .stats{gap:12px!important}
html.mobile-app-ui .stats>div{min-height:196px!important;border-radius:28px!important;padding:20px 7px!important}
html.mobile-app-ui .metric-icon{width:70px!important;height:70px!important;border-radius:21px!important}
html.mobile-app-ui .metric-icon .ui-icon{width:40px!important;height:40px!important;stroke-width:2.4!important}
html.mobile-app-ui .stats b{font-size:38px!important;margin-top:15px!important;line-height:1!important}
html.mobile-app-ui .stats small{font-size:16px!important;margin-top:8px!important}
html.mobile-app-ui .quick{gap:14px!important}
html.mobile-app-ui .quick button{min-height:136px!important;padding:20px 20px!important;grid-template-columns:72px 1fr!important;column-gap:16px!important;border-radius:28px!important}
html.mobile-app-ui .quick-icon{width:68px!important;height:68px!important;border-radius:20px!important}
html.mobile-app-ui .quick-icon .ui-icon{width:40px!important;height:40px!important}
html.mobile-app-ui .quick b{font-size:23px!important;line-height:1.15!important}
html.mobile-app-ui .quick small{font-size:16px!important;margin-top:5px!important}

/* bottom navigation — intentionally large, native-app proportions */
html.mobile-app-ui .bottom-nav{display:grid!important;height:132px!important;grid-template-columns:repeat(6,1fr)!important;padding:13px 4px calc(12px + env(safe-area-inset-bottom))!important;align-items:start!important}
html.mobile-app-ui .bottom-nav button{min-width:0!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:8px!important;padding:5px 0!important}
html.mobile-app-ui .bottom-nav .ui-icon{width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important;stroke-width:2.25!important}
html.mobile-app-ui .bottom-nav small{font-size:14px!important;font-weight:800!important;line-height:1.1!important;white-space:nowrap!important}

/* ORDERS — dedicated native-sized phone screen */
html.mobile-app-ui .orders-head,html.mobile-app-ui .topbar.orders-topbar{min-height:72px!important}
html.mobile-app-ui .topbar:has(+ .search) h1{font-size:41px!important}
html.mobile-app-ui .search{height:88px!important;border-radius:28px!important;padding:0 22px!important;gap:17px!important}
html.mobile-app-ui .search .ui-icon,html.mobile-app-ui .search span{width:35px!important;height:35px!important;font-size:35px!important}
html.mobile-app-ui .search input{font-size:23px!important}
html.mobile-app-ui .segmented{height:66px!important;margin:25px 0 28px!important;border-radius:21px!important}
html.mobile-app-ui .segmented button{font-size:20px!important;padding:0 12px!important;font-weight:760!important}
html.mobile-app-ui .order-list{display:grid!important;grid-template-columns:1fr!important;gap:22px!important}
html.mobile-app-ui .order-card{min-height:278px!important;padding:29px 31px!important;border-radius:29px!important}
html.mobile-app-ui .order-row{gap:19px!important;align-items:center!important}
html.mobile-app-ui .status-icon{width:76px!important;height:76px!important;min-width:76px!important;border-radius:22px!important;font-size:32px!important}
html.mobile-app-ui .status-icon .ui-icon{width:42px!important;height:42px!important}
html.mobile-app-ui .grow b{font-size:26px!important;line-height:1.1!important}
html.mobile-app-ui .grow a{font-size:21px!important;margin-top:7px!important}
html.mobile-app-ui .badge{font-size:18px!important;padding:11px 17px!important;border-radius:20px!important;white-space:nowrap!important}
html.mobile-app-ui .order-card h3{font-size:23px!important;margin:27px 0 10px!important}
html.mobile-app-ui .order-card p{font-size:20px!important;line-height:1.45!important;margin:0!important;min-height:56px!important}
html.mobile-app-ui .order-card footer{font-size:17px!important;margin-top:26px!important;align-items:center!important}
html.mobile-app-ui .order-card footer .ui-icon{width:23px!important;height:23px!important}
html.mobile-app-ui .fab,html.mobile-app-ui .new-order-fab{min-height:86px!important;padding:0 28px!important;border-radius:28px!important;font-size:22px!important}

/* PIN / lock screen */
html.mobile-app-ui .lock-page{padding:24px 28px!important;align-items:center!important}
html.mobile-app-ui .lock-card{width:min(690px,94vw)!important}
html.mobile-app-ui .lock-hero{width:164px!important;height:164px!important;margin-bottom:44px!important}
html.mobile-app-ui .lock-hero .ui-icon{width:78px!important;height:78px!important}
html.mobile-app-ui .lock-card h1{font-size:44px!important;line-height:1.08!important;margin-bottom:18px!important}
html.mobile-app-ui .lock-card>p{font-size:24px!important;margin-bottom:42px!important}
html.mobile-app-ui .pin-field{height:100px!important;border-radius:31px!important;padding:0 24px!important}
html.mobile-app-ui .pin-field>.ui-icon{width:32px!important;height:32px!important}
html.mobile-app-ui .pin-input{font-size:31px!important}
html.mobile-app-ui .unlock-primary{height:108px!important;border-radius:32px!important;font-size:27px!important}
html.mobile-app-ui .unlock-primary .ui-icon{width:32px!important;height:32px!important}
html.mobile-app-ui .secondary-action{height:104px!important;border-radius:32px!important;font-size:23px!important}
html.mobile-app-ui .secondary-action .ui-icon{width:32px!important;height:32px!important}
html.mobile-app-ui .logout-action{font-size:21px!important;margin-top:38px!important}
html.mobile-app-ui .logout-action .ui-icon{width:29px!important;height:29px!important}

/* Very narrow phones: keep the SAME component scale; only reduce horizontal padding/gaps. */
@media(max-width:430px){
  html.mobile-app-ui .main{padding-left:14px!important;padding-right:14px!important}
  html.mobile-app-ui .stats{gap:7px!important}
  html.mobile-app-ui .quick{gap:10px!important}
  html.mobile-app-ui .quick button{padding-left:13px!important;padding-right:13px!important;grid-template-columns:66px 1fr!important;column-gap:10px!important}
  html.mobile-app-ui .bottom-nav small{font-size:12px!important}
  html.mobile-app-ui .bottom-nav .ui-icon{width:39px!important;height:39px!important;min-width:39px!important;min-height:39px!important}
  html.mobile-app-ui .order-card{padding-left:22px!important;padding-right:22px!important}
  html.mobile-app-ui .badge{font-size:15px!important;padding-left:13px!important;padding-right:13px!important}
}

/* TELLIAPP v0.4.1 — harder phone scaling based on native Android screenshots */
html.mobile-app-ui body{font-size:19px!important}
html.mobile-app-ui .main{padding:24px 20px calc(156px + env(safe-area-inset-bottom))!important}
html.mobile-app-ui .topbar{min-height:76px!important;margin:0 0 28px!important}
html.mobile-app-ui .topbar h1{font-size:44px!important;line-height:1!important}
html.mobile-app-ui .top-actions{gap:18px!important}
html.mobile-app-ui .icon-btn{padding:4px!important;min-width:52px!important;min-height:52px!important}
html.mobile-app-ui .icon-btn .ui-icon{width:47px!important;height:47px!important}
html.mobile-app-ui .message-button .notify-dot{width:24px!important;height:24px!important;font-size:13px!important}
html.mobile-app-ui .identity-card{min-height:128px!important;padding:20px 22px!important;border-radius:31px!important;gap:18px!important}
html.mobile-app-ui .avatar{width:74px!important;height:74px!important;min-width:74px!important;flex-basis:74px!important}
html.mobile-app-ui .avatar .ui-icon{width:42px!important;height:42px!important}
html.mobile-app-ui .identity-card b{font-size:28px!important}
html.mobile-app-ui .identity-card small{font-size:16px!important}
html.mobile-app-ui .sync-pill{font-size:16px!important;padding:13px 17px!important;border-radius:23px!important}
html.mobile-app-ui .sync-pill .ui-icon{width:25px!important;height:25px!important}
html.mobile-app-ui h2{font-size:33px!important;margin:36px 0 20px!important}
html.mobile-app-ui .stats{gap:12px!important}
html.mobile-app-ui .stats>div{min-height:212px!important;padding:22px 6px!important;border-radius:30px!important}
html.mobile-app-ui .metric-icon{width:84px!important;height:84px!important;border-radius:24px!important}
html.mobile-app-ui .metric-icon .ui-icon{width:46px!important;height:46px!important}
html.mobile-app-ui .stats b{font-size:42px!important;margin-top:16px!important}
html.mobile-app-ui .stats small{font-size:17px!important}
html.mobile-app-ui .quick{gap:14px!important}
html.mobile-app-ui .quick button{min-height:148px!important;padding:22px 20px!important;grid-template-columns:82px 1fr!important;column-gap:16px!important;border-radius:30px!important}
html.mobile-app-ui .quick-icon{width:78px!important;height:78px!important;border-radius:22px!important}
html.mobile-app-ui .quick-icon .ui-icon{width:45px!important;height:45px!important}
html.mobile-app-ui .quick b{font-size:24px!important}
html.mobile-app-ui .quick small{font-size:17px!important}
html.mobile-app-ui .bottom-nav{height:148px!important;padding:14px 4px calc(14px + env(safe-area-inset-bottom))!important}
html.mobile-app-ui .bottom-nav button{gap:9px!important;padding:4px 0!important}
html.mobile-app-ui .bottom-nav .ui-icon{width:50px!important;height:50px!important;min-width:50px!important;min-height:50px!important}
html.mobile-app-ui .bottom-nav small{font-size:14px!important;font-weight:800!important}
html.mobile-app-ui .search{height:96px!important;border-radius:30px!important;padding:0 24px!important;gap:18px!important}
html.mobile-app-ui .search .ui-icon,html.mobile-app-ui .search span{width:38px!important;height:38px!important;font-size:38px!important}
html.mobile-app-ui .search input{font-size:24px!important}
html.mobile-app-ui .segmented{height:72px!important;margin:26px 0 30px!important;border-radius:23px!important}
html.mobile-app-ui .segmented button{font-size:21px!important;font-weight:780!important}
html.mobile-app-ui .order-list{gap:24px!important}
html.mobile-app-ui .order-card{min-height:310px!important;padding:30px 30px!important;border-radius:31px!important}
html.mobile-app-ui .order-row{gap:20px!important}
html.mobile-app-ui .status-icon{width:86px!important;height:86px!important;min-width:86px!important;border-radius:24px!important}
html.mobile-app-ui .status-icon .ui-icon{width:48px!important;height:48px!important}
html.mobile-app-ui .grow b{font-size:29px!important}
html.mobile-app-ui .grow a{font-size:23px!important;margin-top:8px!important}
html.mobile-app-ui .badge{font-size:19px!important;padding:12px 18px!important;border-radius:21px!important}
html.mobile-app-ui .order-card h3{font-size:25px!important;margin:28px 0 11px!important}
html.mobile-app-ui .order-card p{font-size:21px!important;line-height:1.45!important;min-height:62px!important}
html.mobile-app-ui .order-card footer{font-size:18px!important;margin-top:28px!important}
html.mobile-app-ui .order-card footer .ui-icon{width:24px!important;height:24px!important}
html.mobile-app-ui .fab,html.mobile-app-ui .new-order-fab{min-height:92px!important;padding:0 30px!important;border-radius:30px!important;font-size:24px!important}
html.mobile-app-ui .lock-page{padding:28px 20px!important}
html.mobile-app-ui .lock-card{width:min(720px,96vw)!important}
html.mobile-app-ui .lock-hero{width:176px!important;height:176px!important;margin-bottom:46px!important}
html.mobile-app-ui .lock-hero .ui-icon{width:84px!important;height:84px!important}
html.mobile-app-ui .lock-card h1{font-size:48px!important;margin:0 0 18px!important}
html.mobile-app-ui .lock-card>p{font-size:26px!important;margin:0 0 44px!important}
html.mobile-app-ui .floating-label>span{font-size:20px!important}
html.mobile-app-ui .pin-field{height:108px!important;border-radius:34px!important;padding:0 24px!important}
html.mobile-app-ui .pin-field>.ui-icon{width:34px!important;height:34px!important}
html.mobile-app-ui .pin-input{font-size:33px!important}
html.mobile-app-ui .unlock-primary{height:116px!important;border-radius:34px!important;font-size:29px!important}
html.mobile-app-ui .unlock-primary .ui-icon{width:34px!important;height:34px!important}
html.mobile-app-ui .secondary-action{height:112px!important;border-radius:34px!important;font-size:24px!important}
html.mobile-app-ui .secondary-action .ui-icon{width:34px!important;height:34px!important}
html.mobile-app-ui .logout-action{font-size:22px!important;margin-top:40px!important}
html.mobile-app-ui .logout-action .ui-icon{width:30px!important;height:30px!important}
@media(max-width:430px){
  html.mobile-app-ui .main{padding-left:12px!important;padding-right:12px!important}
  html.mobile-app-ui .stats{gap:8px!important}
  html.mobile-app-ui .stats>div{min-height:204px!important}
  html.mobile-app-ui .metric-icon{width:78px!important;height:78px!important}
  html.mobile-app-ui .metric-icon .ui-icon{width:43px!important;height:43px!important}
  html.mobile-app-ui .quick{gap:10px!important}
  html.mobile-app-ui .quick button{min-height:142px!important;padding:18px 14px!important;grid-template-columns:74px 1fr!important;column-gap:12px!important}
  html.mobile-app-ui .quick-icon{width:70px!important;height:70px!important}
  html.mobile-app-ui .quick-icon .ui-icon{width:41px!important;height:41px!important}
  html.mobile-app-ui .quick b{font-size:22px!important}
  html.mobile-app-ui .quick small{font-size:15px!important}
  html.mobile-app-ui .bottom-nav{height:142px!important}
  html.mobile-app-ui .bottom-nav .ui-icon{width:46px!important;height:46px!important;min-width:46px!important;min-height:46px!important}
  html.mobile-app-ui .bottom-nav small{font-size:13px!important}
  html.mobile-app-ui .search{height:90px!important}
  html.mobile-app-ui .segmented{height:68px!important}
  html.mobile-app-ui .segmented button{font-size:19px!important}
  html.mobile-app-ui .order-card{min-height:296px!important;padding:26px 22px!important}
  html.mobile-app-ui .status-icon{width:78px!important;height:78px!important;min-width:78px!important}
  html.mobile-app-ui .status-icon .ui-icon{width:44px!important;height:44px!important}
  html.mobile-app-ui .grow b{font-size:27px!important}
  html.mobile-app-ui .grow a{font-size:21px!important}
  html.mobile-app-ui .badge{font-size:16px!important;padding:10px 14px!important}
  html.mobile-app-ui .order-card h3{font-size:23px!important}
  html.mobile-app-ui .order-card p{font-size:19px!important}
  html.mobile-app-ui .lock-hero{width:164px!important;height:164px!important}
  html.mobile-app-ui .lock-card h1{font-size:44px!important}
  html.mobile-app-ui .lock-card>p{font-size:23px!important}
  html.mobile-app-ui .pin-field{height:102px!important}
  html.mobile-app-ui .unlock-primary{height:110px!important;font-size:27px!important}
  html.mobile-app-ui .secondary-action{height:106px!important;font-size:23px!important}
}

/* TELLIAPP v0.5.0 — EXTREME PHONE SCALE (approximately near 2x vs original PWA) */
html.mobile-app-ui body{font-size:21px!important}
html.mobile-app-ui .main{padding:14px 12px calc(172px + env(safe-area-inset-bottom))!important}
html.mobile-app-ui .topbar{min-height:72px!important;margin:0 0 18px!important}
html.mobile-app-ui .topbar h1{font-size:46px!important;line-height:1!important;letter-spacing:-.8px!important}
html.mobile-app-ui .top-actions{gap:14px!important}
html.mobile-app-ui .icon-btn{padding:2px!important;min-width:54px!important;min-height:54px!important}
html.mobile-app-ui .icon-btn .ui-icon{width:50px!important;height:50px!important}
html.mobile-app-ui .message-button .notify-dot{width:24px!important;height:24px!important;font-size:12px!important;top:-2px!important;right:-2px!important}

html.mobile-app-ui .identity-card{min-height:136px!important;padding:20px 18px!important;border-radius:32px!important;gap:16px!important;margin-top:8px!important}
html.mobile-app-ui .avatar{width:76px!important;height:76px!important;min-width:76px!important;flex-basis:76px!important}
html.mobile-app-ui .avatar .ui-icon{width:43px!important;height:43px!important}
html.mobile-app-ui .identity-card b{font-size:29px!important;line-height:1.02!important}
html.mobile-app-ui .identity-card small{font-size:16px!important;margin-top:8px!important}
html.mobile-app-ui .sync-pill{font-size:15px!important;padding:13px 16px!important;border-radius:24px!important;gap:8px!important}
html.mobile-app-ui .sync-pill .ui-icon{width:24px!important;height:24px!important}

html.mobile-app-ui h2{font-size:35px!important;margin:28px 0 18px!important;letter-spacing:-.5px!important}
html.mobile-app-ui .stats{gap:8px!important}
html.mobile-app-ui .stats>div{min-height:226px!important;padding:18px 4px!important;border-radius:30px!important}
html.mobile-app-ui .metric-icon{width:88px!important;height:88px!important;border-radius:25px!important}
html.mobile-app-ui .metric-icon .ui-icon{width:50px!important;height:50px!important;stroke-width:2.6!important}
html.mobile-app-ui .stats b{font-size:46px!important;margin-top:16px!important;line-height:1!important}
html.mobile-app-ui .stats small{font-size:18px!important;font-weight:800!important;margin-top:10px!important}

html.mobile-app-ui .quick{gap:10px!important}
html.mobile-app-ui .quick button{min-height:162px!important;padding:20px 16px!important;grid-template-columns:84px 1fr!important;column-gap:12px!important;border-radius:31px!important}
html.mobile-app-ui .quick-icon{width:80px!important;height:80px!important;border-radius:22px!important}
html.mobile-app-ui .quick-icon .ui-icon{width:48px!important;height:48px!important}
html.mobile-app-ui .quick b{font-size:25px!important;line-height:1.05!important}
html.mobile-app-ui .quick small{font-size:17px!important;line-height:1.2!important;margin-top:6px!important}

html.mobile-app-ui .bottom-nav{display:grid!important;height:164px!important;padding:12px 0 calc(16px + env(safe-area-inset-bottom))!important;grid-template-columns:repeat(6,1fr)!important}
html.mobile-app-ui .bottom-nav button{gap:9px!important;padding:2px 0!important;justify-content:flex-start!important}
html.mobile-app-ui .bottom-nav .ui-icon{width:56px!important;height:56px!important;min-width:56px!important;min-height:56px!important;stroke-width:2.4!important}
html.mobile-app-ui .bottom-nav small{font-size:15px!important;font-weight:800!important;line-height:1.08!important;white-space:nowrap!important}

/* Orders */
html.mobile-app-ui .search{height:100px!important;border-radius:30px!important;padding:0 20px!important;gap:16px!important}
html.mobile-app-ui .search .ui-icon,html.mobile-app-ui .search span{width:42px!important;height:42px!important;font-size:42px!important}
html.mobile-app-ui .search input{font-size:26px!important}
html.mobile-app-ui .segmented{height:76px!important;margin:22px 0 20px!important;border-radius:24px!important}
html.mobile-app-ui .segmented button{font-size:22px!important;font-weight:780!important;padding:0 10px!important}
html.mobile-app-ui .order-list{gap:18px!important}
html.mobile-app-ui .order-card{min-height:334px!important;padding:24px 20px!important;border-radius:32px!important}
html.mobile-app-ui .order-row{gap:16px!important;align-items:flex-start!important}
html.mobile-app-ui .status-icon{width:86px!important;height:86px!important;min-width:86px!important;border-radius:24px!important}
html.mobile-app-ui .status-icon .ui-icon{width:48px!important;height:48px!important}
html.mobile-app-ui .grow b{font-size:31px!important;line-height:1.05!important}
html.mobile-app-ui .grow a{font-size:23px!important;margin-top:8px!important;line-height:1.1!important}
html.mobile-app-ui .badge{font-size:18px!important;padding:12px 16px!important;border-radius:20px!important}
html.mobile-app-ui .order-card h3{font-size:24px!important;margin:26px 0 10px!important;line-height:1.15!important}
html.mobile-app-ui .order-card p{font-size:21px!important;line-height:1.38!important;min-height:84px!important}
html.mobile-app-ui .order-card footer{font-size:19px!important;margin-top:22px!important}
html.mobile-app-ui .order-card footer .ui-icon{width:25px!important;height:25px!important}
html.mobile-app-ui .fab,html.mobile-app-ui .new-order-fab{min-height:92px!important;padding:0 32px!important;border-radius:30px!important;font-size:24px!important;bottom:184px!important;right:18px!important}
html.mobile-app-ui .fab .ui-icon,html.mobile-app-ui .new-order-fab .ui-icon{width:32px!important;height:32px!important}

/* Lock / login */
html.mobile-app-ui .lock-page{padding:18px 10px!important}
html.mobile-app-ui .lock-card{width:min(760px,96vw)!important}
html.mobile-app-ui .lock-hero{width:184px!important;height:184px!important;margin-bottom:42px!important}
html.mobile-app-ui .lock-hero .ui-icon{width:88px!important;height:88px!important}
html.mobile-app-ui .lock-card h1{font-size:52px!important;line-height:1.04!important;margin:0 0 18px!important;letter-spacing:-.8px!important}
html.mobile-app-ui .lock-card>p{font-size:27px!important;line-height:1.2!important;margin:0 0 36px!important}
html.mobile-app-ui .floating-label>span{font-size:22px!important;top:-13px!important;left:26px!important}
html.mobile-app-ui .pin-field{height:114px!important;border-radius:36px!important;padding:0 18px!important;gap:16px!important}
html.mobile-app-ui .pin-field>.ui-icon{width:36px!important;height:36px!important}
html.mobile-app-ui .pin-input{font-size:36px!important;letter-spacing:8px!important}
html.mobile-app-ui .unlock-primary{height:116px!important;border-radius:36px!important;font-size:31px!important;gap:16px!important}
html.mobile-app-ui .unlock-primary .ui-icon{width:36px!important;height:36px!important}
html.mobile-app-ui .secondary-action{height:110px!important;border-radius:36px!important;font-size:26px!important;gap:15px!important}
html.mobile-app-ui .secondary-action .ui-icon{width:36px!important;height:36px!important}
html.mobile-app-ui .logout-action{font-size:24px!important;margin-top:34px!important;gap:12px!important}
html.mobile-app-ui .logout-action .ui-icon{width:32px!important;height:32px!important}

@media(max-width:430px){
  html.mobile-app-ui .main{padding-left:10px!important;padding-right:10px!important}
  html.mobile-app-ui .topbar h1{font-size:43px!important}
  html.mobile-app-ui .icon-btn .ui-icon{width:46px!important;height:46px!important}
  html.mobile-app-ui .identity-card{padding:18px 14px!important;gap:14px!important}
  html.mobile-app-ui .avatar{width:70px!important;height:70px!important;min-width:70px!important;flex-basis:70px!important}
  html.mobile-app-ui .identity-card b{font-size:27px!important}
  html.mobile-app-ui .identity-card small{font-size:15px!important}
  html.mobile-app-ui .sync-pill{font-size:13px!important;padding:11px 12px!important}
  html.mobile-app-ui .stats>div{min-height:212px!important}
  html.mobile-app-ui .metric-icon{width:80px!important;height:80px!important}
  html.mobile-app-ui .metric-icon .ui-icon{width:46px!important;height:46px!important}
  html.mobile-app-ui .stats b{font-size:41px!important}
  html.mobile-app-ui .stats small{font-size:16px!important}
  html.mobile-app-ui .quick button{min-height:150px!important;padding:16px 12px!important;grid-template-columns:74px 1fr!important}
  html.mobile-app-ui .quick-icon{width:72px!important;height:72px!important}
  html.mobile-app-ui .quick-icon .ui-icon{width:43px!important;height:43px!important}
  html.mobile-app-ui .quick b{font-size:23px!important}
  html.mobile-app-ui .quick small{font-size:15px!important}
  html.mobile-app-ui .bottom-nav{height:156px!important}
  html.mobile-app-ui .bottom-nav .ui-icon{width:50px!important;height:50px!important;min-width:50px!important;min-height:50px!important}
  html.mobile-app-ui .bottom-nav small{font-size:13px!important}
  html.mobile-app-ui .search{height:94px!important}
  html.mobile-app-ui .search input{font-size:23px!important}
  html.mobile-app-ui .segmented{height:72px!important}
  html.mobile-app-ui .segmented button{font-size:19px!important}
  html.mobile-app-ui .order-card{min-height:318px!important;padding:22px 16px!important}
  html.mobile-app-ui .status-icon{width:80px!important;height:80px!important;min-width:80px!important}
  html.mobile-app-ui .status-icon .ui-icon{width:44px!important;height:44px!important}
  html.mobile-app-ui .grow b{font-size:29px!important}
  html.mobile-app-ui .grow a{font-size:21px!important}
  html.mobile-app-ui .badge{font-size:16px!important;padding:10px 14px!important}
  html.mobile-app-ui .order-card h3{font-size:23px!important}
  html.mobile-app-ui .order-card p{font-size:19px!important;min-height:78px!important}
  html.mobile-app-ui .fab,html.mobile-app-ui .new-order-fab{min-height:86px!important;padding:0 28px!important;font-size:22px!important;right:14px!important;bottom:176px!important}
  html.mobile-app-ui .lock-hero{width:174px!important;height:174px!important}
  html.mobile-app-ui .lock-card h1{font-size:46px!important}
  html.mobile-app-ui .lock-card>p{font-size:24px!important}
  html.mobile-app-ui .pin-field{height:108px!important}
  html.mobile-app-ui .pin-input{font-size:32px!important}
  html.mobile-app-ui .unlock-primary{height:110px!important;font-size:28px!important}
  html.mobile-app-ui .secondary-action{height:104px!important;font-size:23px!important}
  html.mobile-app-ui .logout-action{font-size:21px!important}
}

/* v0.6.1: legacy width-only tablet breakpoint removed.
   Phone sizing is controlled only by .mobile-app-ui; tablet sizing by .tablet-ui. */


/* v0.7.0 order detail */
.order-card-clickable{cursor:pointer;transition:transform .12s ease,box-shadow .12s ease}.order-card-clickable:hover{box-shadow:0 8px 28px #1b35540d}.order-card-clickable:active{transform:scale(.995)}
.detail-topbar{display:grid;grid-template-columns:auto 1fr auto;gap:12px}.detail-title{min-width:0}.detail-title h1{margin:0!important;font-size:30px!important}.detail-title small{display:block;color:var(--muted);margin-top:4px}.detail-back{align-self:center}.detail-hero{background:linear-gradient(135deg,var(--ui-card-bg),var(--ui-brand-soft));border:1px solid var(--line);border-radius:27px;padding:24px 26px;display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.detail-hero h2{margin:5px 0 8px;font-size:27px}.detail-hero p{margin:0;color:var(--ui-text);font-size:17px;line-height:1.45;max-width:720px}.detail-kicker{font-size:13px;color:var(--ui-text-muted);font-weight:800;text-transform:uppercase;letter-spacing:.04em}.detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:18px}.detail-card{background:var(--ui-card-bg);border:1px solid var(--line);border-radius:24px;padding:21px 22px}.detail-card h3{font-size:20px;margin:0 0 14px}.detail-row{display:grid;grid-template-columns:150px minmax(0,1fr);gap:14px;padding:11px 0;border-top:1px solid var(--ui-border);align-items:start}.detail-row:first-of-type{border-top:0}.detail-row span{color:var(--ui-text);font-size:14px}.detail-row strong{font-size:15px;font-weight:700;overflow-wrap:anywhere}.detail-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:18px 0}.detail-action{background:var(--ui-card-bg);border:1px solid var(--line);border-radius:21px;padding:18px;text-align:left;color:inherit}.detail-action b,.detail-action small{display:block}.detail-action b{font-size:16px}.detail-action small{color:var(--muted);margin-top:5px;font-size:13px}
@media(max-width:1099px){.detail-grid{grid-template-columns:1fr}.detail-actions{grid-template-columns:1fr 1fr}}
html.phone-shape-ui .detail-title h1,html.mobile-app-ui .detail-title h1{font-size:34px!important}html.phone-shape-ui .detail-title small,html.mobile-app-ui .detail-title small{font-size:16px!important}html.phone-shape-ui .detail-hero,html.mobile-app-ui .detail-hero{padding:25px 22px!important;border-radius:30px!important;flex-direction:column!important}html.phone-shape-ui .detail-hero h2,html.mobile-app-ui .detail-hero h2{font-size:30px!important;margin:7px 0 10px!important}html.phone-shape-ui .detail-hero p,html.mobile-app-ui .detail-hero p{font-size:20px!important}html.phone-shape-ui .detail-kicker,html.mobile-app-ui .detail-kicker{font-size:15px!important}html.phone-shape-ui .detail-grid,html.mobile-app-ui .detail-grid{gap:18px!important;margin-top:18px!important}html.phone-shape-ui .detail-card,html.mobile-app-ui .detail-card{padding:23px 22px!important;border-radius:29px!important}html.phone-shape-ui .detail-card h3,html.mobile-app-ui .detail-card h3{font-size:25px!important;margin-bottom:14px!important}html.phone-shape-ui .detail-row,html.mobile-app-ui .detail-row{grid-template-columns:1fr!important;gap:4px!important;padding:12px 0!important}html.phone-shape-ui .detail-row span,html.mobile-app-ui .detail-row span{font-size:16px!important}html.phone-shape-ui .detail-row strong,html.mobile-app-ui .detail-row strong{font-size:20px!important}html.phone-shape-ui .detail-actions,html.mobile-app-ui .detail-actions{grid-template-columns:1fr 1fr!important;gap:12px!important}html.phone-shape-ui .detail-action,html.mobile-app-ui .detail-action{min-height:102px!important;padding:17px!important;border-radius:25px!important}html.phone-shape-ui .detail-action b,html.mobile-app-ui .detail-action b{font-size:20px!important}html.phone-shape-ui .detail-action small,html.mobile-app-ui .detail-action small{font-size:15px!important}
html.tablet-ui .detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.desktop-ui .detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.desktop-ui .detail-actions{grid-template-columns:repeat(4,minmax(0,1fr))!important}

/* === TelliApp v0.7.1 Android-like Order UI === */
html.order-detail-open .bottom-nav{display:none!important}
html.order-detail-open .main{padding-bottom:28px!important}
.order-app-screen{max-width:820px;margin:0 auto;padding-bottom:34px}
.od-topbar,.od-work-top{display:grid;grid-template-columns:54px 1fr auto;align-items:center;gap:12px;margin-bottom:16px}
.od-topbar h1,.od-work-top h1{font-size:31px;margin:0;font-weight:850;letter-spacing:-.5px;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.od-top-actions{display:flex;gap:8px}.od-topbtn{width:48px;height:48px;border:0;background:transparent;color:var(--ui-text);display:grid;place-items:center;padding:4px}.od-topbtn .ui-icon{width:34px;height:34px}.od-hero{display:flex;align-items:center;gap:18px;padding:22px 24px;border-radius:28px;background:linear-gradient(90deg,var(--ui-brand),var(--ui-brand));color:#fff}.od-hero-icon{width:76px;height:76px;border-radius:50%;background:rgba(255,255,255,.18);display:grid;place-items:center;flex:0 0 76px}.od-hero-icon .ui-icon{width:42px;height:42px}.od-hero-copy{min-width:0}.od-hero-copy>b{display:block;font-size:27px}.od-hero-copy>span{display:block;font-size:19px;opacity:.85;margin-top:3px}.od-pills{display:flex;flex-wrap:wrap;gap:9px;margin-top:12px}.od-pill{padding:7px 13px;border-radius:18px;background:rgba(255,255,255,.16);font-size:14px;font-weight:800}.od-quick-actions{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin:20px 0 15px}.od-quick-actions button{border:0;background:transparent;display:flex;flex-direction:column;align-items:center;gap:7px;color:var(--ui-text);font-weight:760}.od-quick-actions button .ui-icon{width:58px;height:58px;padding:14px;border-radius:50%;background:var(--ui-brand-soft);color:var(--ui-brand-dark);stroke-width:2}.od-quick-actions button span{font-size:14px}.od-tabs{display:flex;gap:8px;overflow-x:auto;padding:3px 0 12px;scrollbar-width:none}.od-tabs::-webkit-scrollbar{display:none}.od-tabs button{height:51px;flex:0 0 auto;min-width:123px;padding:0 18px;border:1.5px solid var(--ui-field-border);background:transparent;border-radius:15px;color:var(--ui-text);font-weight:700;font-size:16px;display:flex;align-items:center;justify-content:center;gap:8px}.od-tabs button.active{background:var(--ui-brand-soft);border-color:var(--ui-brand-soft)}.od-tabs button .ui-icon{width:18px;height:18px}.od-tab-content{margin-top:14px}.od-next-card{width:100%;display:grid;grid-template-columns:66px 1fr 28px;align-items:center;text-align:left;gap:14px;border:1px solid var(--line);background:var(--ui-card-bg);border-radius:27px;padding:20px 22px;color:inherit}.od-next-icon{width:58px;height:58px;border-radius:50%;background:var(--ui-success-soft);color:var(--ui-success);display:grid;place-items:center}.od-next-icon .ui-icon{width:34px;height:34px}.od-next-card span small,.od-next-card span b,.od-next-card span em{display:block}.od-next-card span small{font-size:14px;color:var(--ui-text-muted)}.od-next-card span b{font-size:21px;margin-top:2px}.od-next-card span em{font-style:normal;color:var(--ui-text-muted);font-size:15px;margin-top:2px}.od-next-card>.ui-icon{width:25px;height:25px}.od-summary-card{background:var(--ui-card-bg);border:1px solid var(--line);border-radius:27px;padding:20px 22px;margin-top:15px}.od-summary-line{display:flex;align-items:center;gap:14px}.od-summary-icon{width:58px;height:58px;border-radius:50%;background:var(--ui-brand-soft);color:var(--ui-brand-dark);display:grid;place-items:center;flex:0 0 58px}.od-summary-icon .ui-icon{width:32px;height:32px}.od-summary-line span{min-width:0;flex:1}.od-summary-line span b,.od-summary-line span small{display:block}.od-summary-line span b{font-size:20px}.od-summary-line span small{font-size:15px;color:var(--ui-text);margin-top:3px}.od-summary-line>strong{font-size:24px;color:var(--ui-brand-dark)}.od-summary-card h3{font-size:19px;margin:8px 0 5px}.od-summary-card>p{font-size:15px;margin:5px 0}.od-muted{color:var(--ui-text-muted)!important}.od-mini-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:15px 0}.od-mini-stats.two{grid-template-columns:repeat(2,1fr)}.od-mini-stats>div{min-height:115px;background:var(--ui-card-bg);border:1px solid var(--line);border-radius:26px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px}.od-mini-stats .ui-icon{width:29px;height:29px;color:var(--ui-brand-dark)}.od-mini-stats b{font-size:21px}.od-mini-stats small{font-size:13px;color:var(--ui-text-muted)}.od-section{background:var(--ui-card-bg);border:1px solid var(--line);border-radius:27px;margin-top:15px;overflow:hidden}.od-section-title{display:grid;grid-template-columns:44px 1fr 28px;align-items:center;padding:18px 21px;gap:12px}.od-section-title>.ui-icon{width:31px;height:31px;color:var(--ui-brand-dark)}.od-section-title b{font-size:20px}.od-section-title .od-section-chevron{width:24px;height:24px}.od-section-body{padding:0 22px 20px}.od-section-body p{margin:0;font-size:16px}.od-primary-wide,.od-secondary-wide{width:100%;min-height:78px;border-radius:24px;font-weight:800;font-size:19px;display:flex;align-items:center;justify-content:center;gap:12px;margin-top:14px}.od-primary-wide{border:0;background:var(--ui-brand);color:#fff}.od-secondary-wide{border:1px solid var(--line);background:var(--ui-card-bg);color:var(--ui-text)}.od-primary-wide .ui-icon,.od-secondary-wide .ui-icon{width:27px;height:27px}.od-task{display:grid;grid-template-columns:48px 1fr;gap:14px;align-items:start;padding-top:5px}.od-task-ring{width:34px;height:34px;border:3px solid var(--ui-brand);border-radius:50%;margin-top:3px}.od-task b{font-size:17px}.od-task p{font-size:14px;color:var(--ui-text);margin-top:4px}.od-kv{display:grid;grid-template-columns:150px 1fr;gap:14px 20px}.od-kv span{color:var(--ui-text-muted)}.od-kv b{font-size:17px}.od-subheading{font-size:15px;color:var(--ui-text);margin:24px 6px 7px}.od-subheading.normal{font-size:19px;color:var(--ui-text)}.od-menu-stack{display:grid;gap:12px}.od-row{width:100%;min-height:88px;border:1px solid var(--line);background:var(--ui-card-bg);border-radius:27px;padding:16px 20px;display:grid;grid-template-columns:58px 1fr 27px;align-items:center;gap:14px;text-align:left;color:inherit}.od-row>.ui-icon:first-child{width:38px;height:38px;color:var(--ui-brand-dark)}.od-row span b,.od-row span small{display:block}.od-row span b{font-size:19px}.od-row span small{font-size:15px;color:var(--ui-text);margin-top:3px}.od-row>.ui-icon:last-child{width:24px;height:24px}.od-finance-head{margin:2px 0 10px}.od-inline-back{border:0;background:transparent;display:flex;align-items:center;gap:18px;padding:4px 0;font-size:24px}.od-inline-back .ui-icon{width:31px;height:31px}.od-price-card,.od-info-card{background:var(--ui-card-bg);border:1px solid var(--line);border-radius:25px;padding:18px 20px;margin-top:15px;display:grid;grid-template-columns:54px 1fr;gap:14px}.od-price-card>.ui-icon,.od-info-card>.ui-icon{width:32px;height:32px;color:var(--ui-brand-dark)}.od-price-card span b,.od-price-card span strong,.od-price-card span small,.od-price-card span em,.od-info-card span small{display:block}.od-price-card span strong{font-size:21px;margin-top:3px}.od-price-card span small{font-size:14px;color:var(--ui-text);margin-top:4px}.od-price-card span em{font-style:normal;font-size:13px;color:var(--ui-text-muted);margin-top:4px}.od-info-card span{font-size:17px}.od-info-card span small{font-size:14px;color:var(--ui-text);margin-top:4px}.od-empty-card{background:var(--ui-card-bg);border:1px solid var(--line);border-radius:23px;padding:25px 20px;font-size:15px}.od-work-top{grid-template-columns:54px 1fr 54px}.od-work-next{min-height:140px;border-radius:28px;background:linear-gradient(90deg,var(--ui-brand),var(--ui-brand));color:#fff;display:grid;grid-template-columns:72px 1fr 28px;gap:16px;align-items:center;padding:22px 26px;margin-bottom:16px}.od-work-next>div{width:62px;height:62px;border-radius:50%;background:rgba(255,255,255,.16);display:grid;place-items:center}.od-work-next>div .ui-icon{width:37px;height:37px}.od-work-next small,.od-work-next b{display:block}.od-work-next small{font-size:17px;opacity:.75}.od-work-next b{font-size:25px;margin-top:3px}.od-work-next>.ui-icon{width:28px;height:28px}.od-work-heading{font-size:25px;margin:24px 0 14px}.od-steps{display:grid;gap:12px}.od-step{min-height:91px;background:var(--ui-card-bg);border:1px solid var(--line);border-radius:27px;padding:16px 20px;display:grid;grid-template-columns:60px 1fr 32px;align-items:center;gap:14px}.od-step>span{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;font-size:23px;font-weight:850;background:var(--ui-brand-soft);color:var(--ui-brand-dark)}.od-step>span .ui-icon{width:32px;height:32px}.od-step b{font-size:19px}.od-step small{display:block;font-size:15px;color:var(--ui-text);margin-top:3px}.od-step>em{font-style:normal;color:var(--ui-success)}.od-step>em .ui-icon,.od-step>.ui-icon{width:29px;height:29px}.od-step.done>span{background:var(--ui-success-soft);color:var(--ui-success)}.od-step.locked{opacity:.42}.work-price{margin-top:0}

html.phone-shape-ui .order-app-screen,html.mobile-app-ui .order-app-screen{max-width:none!important}
html.phone-shape-ui .od-topbar h1,html.mobile-app-ui .od-topbar h1{font-size:34px!important}
html.phone-shape-ui .od-hero,html.mobile-app-ui .od-hero{padding:23px 24px!important;min-height:180px!important;border-radius:31px!important}.phone-shape-ui .od-hero-icon,.mobile-app-ui .od-hero-icon{width:82px!important;height:82px!important;flex-basis:82px!important}.phone-shape-ui .od-hero-copy>b,.mobile-app-ui .od-hero-copy>b{font-size:28px!important}.phone-shape-ui .od-hero-copy>span,.mobile-app-ui .od-hero-copy>span{font-size:20px!important}.phone-shape-ui .od-pill,.mobile-app-ui .od-pill{font-size:16px!important;padding:8px 14px!important}.phone-shape-ui .od-quick-actions button .ui-icon,.mobile-app-ui .od-quick-actions button .ui-icon{width:70px!important;height:70px!important;padding:17px!important}.phone-shape-ui .od-quick-actions button span,.mobile-app-ui .od-quick-actions button span{font-size:16px!important}.phone-shape-ui .od-tabs button,.mobile-app-ui .od-tabs button{height:58px!important;min-width:135px!important;font-size:18px!important}.phone-shape-ui .od-next-card,.mobile-app-ui .od-next-card{min-height:126px!important}.phone-shape-ui .od-next-card span b,.mobile-app-ui .od-next-card span b{font-size:24px!important}.phone-shape-ui .od-summary-card,.mobile-app-ui .od-summary-card{padding:23px 24px!important}.phone-shape-ui .od-summary-line span b,.mobile-app-ui .od-summary-line span b{font-size:22px!important}.phone-shape-ui .od-summary-line span small,.mobile-app-ui .od-summary-line span small{font-size:17px!important}.phone-shape-ui .od-summary-line>strong,.mobile-app-ui .od-summary-line>strong{font-size:27px!important}.phone-shape-ui .od-summary-card h3,.mobile-app-ui .od-summary-card h3{font-size:21px!important}.phone-shape-ui .od-summary-card>p,.mobile-app-ui .od-summary-card>p{font-size:17px!important}.phone-shape-ui .od-mini-stats>div,.mobile-app-ui .od-mini-stats>div{min-height:126px!important}.phone-shape-ui .od-mini-stats b,.mobile-app-ui .od-mini-stats b{font-size:24px!important}.phone-shape-ui .od-mini-stats small,.mobile-app-ui .od-mini-stats small{font-size:15px!important}.phone-shape-ui .od-section-title b,.mobile-app-ui .od-section-title b{font-size:23px!important}.phone-shape-ui .od-section-body p,.mobile-app-ui .od-section-body p{font-size:19px!important}.phone-shape-ui .od-primary-wide,.phone-shape-ui .od-secondary-wide,.mobile-app-ui .od-primary-wide,.mobile-app-ui .od-secondary-wide{min-height:92px!important;font-size:23px!important;border-radius:29px!important}.phone-shape-ui .od-row,.mobile-app-ui .od-row{min-height:104px!important}.phone-shape-ui .od-row span b,.mobile-app-ui .od-row span b{font-size:23px!important}.phone-shape-ui .od-row span small,.mobile-app-ui .od-row span small{font-size:17px!important}.phone-shape-ui .od-kv,.mobile-app-ui .od-kv{font-size:20px!important}.phone-shape-ui .od-kv b,.mobile-app-ui .od-kv b{font-size:21px!important}.phone-shape-ui .od-work-next,.mobile-app-ui .od-work-next{min-height:154px!important}.phone-shape-ui .od-work-next small,.mobile-app-ui .od-work-next small{font-size:19px!important}.phone-shape-ui .od-work-next b,.mobile-app-ui .od-work-next b{font-size:29px!important}.phone-shape-ui .od-work-heading,.mobile-app-ui .od-work-heading{font-size:29px!important}.phone-shape-ui .od-step,.mobile-app-ui .od-step{min-height:108px!important}.phone-shape-ui .od-step b,.mobile-app-ui .od-step b{font-size:23px!important}.phone-shape-ui .od-step small,.mobile-app-ui .od-step small{font-size:18px!important}

html.tablet-ui .order-app-screen{max-width:820px!important}.desktop-ui .order-app-screen{max-width:900px!important}.desktop-ui.order-detail-open .main{max-width:1100px!important;margin:0 auto!important;padding-left:28px!important;padding-right:28px!important}.desktop-ui .od-hero{min-height:auto}.desktop-ui .od-tabs button{min-width:108px;height:44px;font-size:14px}.desktop-ui .od-quick-actions button .ui-icon{width:50px;height:50px;padding:12px}.desktop-ui .od-quick-actions button span{font-size:12px}

/* TELLIAPP v0.7.2 — PHONE ORDER XL
   Only scales the order detail/workflow experience on tall phone-shaped screens.
   Tablet and desktop layouts are intentionally untouched. */
html.phone-shape-ui .order-app-screen{max-width:none!important;width:100%!important;padding:0 8px 26px!important}
html.phone-shape-ui .od-topbar,
html.phone-shape-ui .od-work-top{min-height:78px!important;grid-template-columns:56px 1fr 116px!important;gap:8px!important;margin-bottom:10px!important}
html.phone-shape-ui .od-topbtn{width:54px!important;height:54px!important;min-width:54px!important;border-radius:16px!important}
html.phone-shape-ui .od-topbtn .ui-icon{width:40px!important;height:40px!important}
html.phone-shape-ui .od-topbar h1,
html.phone-shape-ui .od-work-top h1{font-size:42px!important;line-height:1!important;letter-spacing:-.5px!important}
html.phone-shape-ui .od-top-actions{gap:14px!important}

html.phone-shape-ui .od-hero{min-height:212px!important;padding:28px 28px!important;border-radius:36px!important;gap:22px!important}
html.phone-shape-ui .od-hero-icon{width:96px!important;height:96px!important;min-width:96px!important;flex-basis:96px!important}
html.phone-shape-ui .od-hero-icon .ui-icon{width:54px!important;height:54px!important}
html.phone-shape-ui .od-hero-copy>b{font-size:34px!important;line-height:1.05!important}
html.phone-shape-ui .od-hero-copy>span{font-size:25px!important;margin-top:7px!important}
html.phone-shape-ui .od-pills{gap:10px!important;margin-top:12px!important;flex-wrap:wrap!important}
html.phone-shape-ui .od-pill{font-size:19px!important;padding:10px 16px!important;border-radius:22px!important}

html.phone-shape-ui .od-quick-actions{margin:22px 0 18px!important;gap:8px!important}
html.phone-shape-ui .od-quick-actions button{gap:8px!important}
html.phone-shape-ui .od-quick-actions button .ui-icon{width:86px!important;height:86px!important;padding:20px!important;border-radius:50%!important}
html.phone-shape-ui .od-quick-actions button span{font-size:19px!important;font-weight:800!important}

html.phone-shape-ui .od-tabs{gap:10px!important;margin:12px -8px 24px!important;padding:0 8px 4px!important;scroll-padding-left:8px!important}
html.phone-shape-ui .od-tabs button{height:70px!important;min-width:158px!important;padding:0 20px!important;border-radius:18px!important;font-size:22px!important;gap:9px!important}
html.phone-shape-ui .od-tabs button .ui-icon{width:25px!important;height:25px!important}

html.phone-shape-ui .od-next-card{min-height:154px!important;border-radius:34px!important;padding:24px 28px!important;grid-template-columns:78px 1fr 34px!important;gap:18px!important}
html.phone-shape-ui .od-next-icon{width:72px!important;height:72px!important}
html.phone-shape-ui .od-next-icon .ui-icon{width:42px!important;height:42px!important}
html.phone-shape-ui .od-next-card span small{font-size:20px!important}
html.phone-shape-ui .od-next-card span b{font-size:31px!important;line-height:1.08!important;margin-top:3px!important}
html.phone-shape-ui .od-next-card span em{font-size:19px!important;margin-top:4px!important}
html.phone-shape-ui .od-next-card>.ui-icon{width:31px!important;height:31px!important}

html.phone-shape-ui .od-summary-card{padding:28px 28px!important;border-radius:34px!important;margin-top:20px!important}
html.phone-shape-ui .od-summary-line{gap:18px!important}
html.phone-shape-ui .od-summary-icon{width:74px!important;height:74px!important;min-width:74px!important;flex-basis:74px!important}
html.phone-shape-ui .od-summary-icon .ui-icon{width:40px!important;height:40px!important}
html.phone-shape-ui .od-summary-line span b{font-size:28px!important}
html.phone-shape-ui .od-summary-line span small{font-size:20px!important;margin-top:5px!important}
html.phone-shape-ui .od-summary-line>strong{font-size:32px!important}
html.phone-shape-ui .od-summary-card h3{font-size:27px!important;line-height:1.15!important;margin:12px 0 8px!important}
html.phone-shape-ui .od-summary-card>p{font-size:21px!important;line-height:1.35!important;margin:7px 0!important}

html.phone-shape-ui .od-mini-stats{gap:14px!important;margin:20px 0!important}
html.phone-shape-ui .od-mini-stats>div{min-height:150px!important;border-radius:30px!important;gap:7px!important}
html.phone-shape-ui .od-mini-stats .ui-icon{width:38px!important;height:38px!important}
html.phone-shape-ui .od-mini-stats b{font-size:30px!important}
html.phone-shape-ui .od-mini-stats small{font-size:17px!important}

html.phone-shape-ui .od-section{border-radius:34px!important;margin-top:20px!important}
html.phone-shape-ui .od-section-title{grid-template-columns:54px 1fr 34px!important;padding:24px 26px!important;gap:15px!important}
html.phone-shape-ui .od-section-title>.ui-icon{width:39px!important;height:39px!important}
html.phone-shape-ui .od-section-title b{font-size:29px!important}
html.phone-shape-ui .od-section-title .od-section-chevron{width:30px!important;height:30px!important}
html.phone-shape-ui .od-section-body{padding:0 28px 26px!important}
html.phone-shape-ui .od-section-body p{font-size:22px!important;line-height:1.42!important}

html.phone-shape-ui .od-primary-wide,
html.phone-shape-ui .od-secondary-wide{min-height:112px!important;border-radius:32px!important;font-size:29px!important;gap:16px!important;margin-top:18px!important}
html.phone-shape-ui .od-primary-wide .ui-icon,
html.phone-shape-ui .od-secondary-wide .ui-icon{width:36px!important;height:36px!important}

html.phone-shape-ui .od-task{grid-template-columns:58px 1fr!important;gap:18px!important;padding-top:8px!important}
html.phone-shape-ui .od-task-ring{width:44px!important;height:44px!important;border-width:4px!important}
html.phone-shape-ui .od-task b{font-size:24px!important;line-height:1.2!important}
html.phone-shape-ui .od-task p{font-size:20px!important;line-height:1.35!important;margin-top:6px!important}

html.phone-shape-ui .od-kv{grid-template-columns:170px 1fr!important;gap:18px 22px!important;font-size:22px!important}
html.phone-shape-ui .od-kv span{font-size:21px!important}
html.phone-shape-ui .od-kv b{font-size:24px!important}
html.phone-shape-ui .od-subheading{font-size:20px!important;margin:30px 8px 10px!important}
html.phone-shape-ui .od-subheading.normal{font-size:27px!important}

html.phone-shape-ui .od-menu-stack{gap:16px!important}
html.phone-shape-ui .od-row{min-height:126px!important;border-radius:32px!important;padding:20px 24px!important;grid-template-columns:66px 1fr 32px!important;gap:18px!important}
html.phone-shape-ui .od-row>.ui-icon:first-child{width:48px!important;height:48px!important}
html.phone-shape-ui .od-row span b{font-size:28px!important}
html.phone-shape-ui .od-row span small{font-size:20px!important;margin-top:5px!important}
html.phone-shape-ui .od-row>.ui-icon:last-child{width:30px!important;height:30px!important}

html.phone-shape-ui .od-finance-head{margin:6px 0 14px!important}
html.phone-shape-ui .od-inline-back{gap:20px!important;font-size:31px!important}
html.phone-shape-ui .od-inline-back .ui-icon{width:40px!important;height:40px!important}
html.phone-shape-ui .od-price-card,
html.phone-shape-ui .od-info-card{border-radius:32px!important;padding:24px 26px!important;margin-top:18px!important;grid-template-columns:66px 1fr!important;gap:18px!important}
html.phone-shape-ui .od-price-card>.ui-icon,
html.phone-shape-ui .od-info-card>.ui-icon{width:42px!important;height:42px!important}
html.phone-shape-ui .od-price-card span b{font-size:22px!important}
html.phone-shape-ui .od-price-card span strong{font-size:29px!important;margin-top:4px!important}
html.phone-shape-ui .od-price-card span small{font-size:19px!important;margin-top:6px!important}
html.phone-shape-ui .od-price-card span em{font-size:17px!important;margin-top:5px!important}
html.phone-shape-ui .od-info-card span{font-size:23px!important}
html.phone-shape-ui .od-info-card span small{font-size:18px!important;margin-top:5px!important}
html.phone-shape-ui .od-empty-card{border-radius:29px!important;padding:31px 24px!important;font-size:20px!important}

/* Workflow / Работа */
html.phone-shape-ui .od-work-next{min-height:182px!important;border-radius:34px!important;grid-template-columns:88px 1fr 34px!important;gap:20px!important;padding:28px 30px!important;margin-bottom:22px!important}
html.phone-shape-ui .od-work-next>div{width:80px!important;height:80px!important}
html.phone-shape-ui .od-work-next>div .ui-icon{width:48px!important;height:48px!important}
html.phone-shape-ui .od-work-next small{font-size:22px!important}
html.phone-shape-ui .od-work-next b{font-size:34px!important;margin-top:4px!important}
html.phone-shape-ui .od-work-next>.ui-icon{width:32px!important;height:32px!important}
html.phone-shape-ui .od-work-heading{font-size:34px!important;margin:30px 0 18px!important}
html.phone-shape-ui .od-steps{gap:16px!important}
html.phone-shape-ui .od-step{min-height:132px!important;border-radius:32px!important;padding:20px 24px!important;grid-template-columns:72px 1fr 38px!important;gap:18px!important}
html.phone-shape-ui .od-step>span{width:64px!important;height:64px!important;font-size:28px!important}
html.phone-shape-ui .od-step>span .ui-icon{width:38px!important;height:38px!important}
html.phone-shape-ui .od-step b{font-size:28px!important;line-height:1.1!important}
html.phone-shape-ui .od-step small{font-size:20px!important;line-height:1.3!important;margin-top:5px!important}
html.phone-shape-ui .od-step>em .ui-icon,
html.phone-shape-ui .od-step>.ui-icon{width:34px!important;height:34px!important}


/* v0.7.4 — Android-like quick actions rail: Status, Master, Chat, Photo, Intake, Issue, More */
.od-quick-actions{
  display:flex!important;
  grid-template-columns:none!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  scroll-snap-type:x proximity;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
  padding:2px 2px 8px!important;
}
.od-quick-actions::-webkit-scrollbar{display:none}
.od-quick-actions button{
  flex:0 0 calc((100% - 32px)/5)!important;
  min-width:86px!important;
  scroll-snap-align:start;
}
html.phone-shape-ui .od-quick-actions button,
html.mobile-app-ui .od-quick-actions button{
  flex-basis:calc((100% - 32px)/5)!important;
  min-width:108px!important;
}
html.tablet-ui .od-quick-actions button{flex-basis:calc((100% - 48px)/7)!important;min-width:92px!important}
html.desktop-ui .od-quick-actions{overflow-x:visible!important}
html.desktop-ui .od-quick-actions button{flex:1 1 0!important;min-width:74px!important}


/* v0.8.3 — restore native horizontal finger scrolling + content swipe navigation */
.od-tabs,
.od-quick-actions{
  overflow-x:auto!important;
  overflow-y:hidden!important;
  -webkit-overflow-scrolling:touch!important;
  overscroll-behavior-x:contain!important;
  scrollbar-width:none!important;
  touch-action:pan-x!important;
  scroll-snap-type:x proximity!important;
  scroll-behavior:smooth;
}
.od-tabs::-webkit-scrollbar,
.od-quick-actions::-webkit-scrollbar{display:none!important}
.od-tabs button,
.od-quick-actions button{
  flex-shrink:0!important;
  user-select:none;
  -webkit-user-select:none;
  -webkit-touch-callout:none;
}
.od-tab-content{
  touch-action:pan-y pinch-zoom!important;
}


/* v0.8.4 — deterministic touch gestures for order screen */
.order-app-screen{
  min-height:100dvh!important;
  touch-action:pan-y!important;
}
.od-tabs,.od-quick-actions{
  overflow-x:auto!important;
  overflow-y:hidden!important;
  touch-action:pan-y!important; /* vertical remains native; horizontal is handled by JS drag */
  scroll-snap-type:none!important;
  scroll-behavior:auto!important;
  overscroll-behavior-x:contain!important;
  -webkit-overflow-scrolling:touch!important;
}
.od-tabs button,.od-quick-actions button{
  touch-action:pan-y!important;
}
.od-tab-content{
  min-height:calc(100dvh - 520px)!important;
  touch-action:pan-y!important;
}
html.phone-shape-ui .od-tab-content,
html.mobile-app-ui .od-tab-content{
  min-height:calc(100dvh - 570px)!important;
}


/* v0.8.5 — Android touch engine. Horizontal rails are manually dragged by touch JS. */
.order-app-screen{
  min-height:max(100dvh,100%)!important;
}
.od-tabs,.od-quick-actions{
  overflow-x:scroll!important;
  overflow-y:hidden!important;
  touch-action:pan-y pinch-zoom!important;
  scroll-snap-type:none!important;
  scroll-behavior:auto!important;
  overscroll-behavior-x:none!important;
}
.od-tabs button,.od-quick-actions button{
  touch-action:pan-y pinch-zoom!important;
}
/* Ensure the order surface extends through visually empty viewport area. */
html.phone-shape-ui .order-app-screen,
html.mobile-app-ui .order-app-screen{
  min-height:calc(100dvh - env(safe-area-inset-top))!important;
  padding-bottom:40vh!important;
}


/* v0.8.6 — TouchList compatibility + deterministic rail dragging */
.od-tabs,.od-quick-actions{
  touch-action:none!important;
  overscroll-behavior:none!important;
  scroll-behavior:auto!important;
}
.od-tabs button,.od-quick-actions button{touch-action:none!important}
.order-app-screen{touch-action:pan-y pinch-zoom!important}

/* v0.8.7 — transform-driven rails; browser scrollLeft no longer used */
.od-rail{
  position:relative!important;
  overflow:hidden!important;
  touch-action:pan-y!important;
  overscroll-behavior:none!important;
}
.od-rail>.od-rail-track{
  display:flex!important;
  width:max-content!important;
  min-width:100%!important;
  gap:inherit!important;
  will-change:transform!important;
  transform:translate3d(0,0,0);
}
.od-tabs>.od-rail-track{padding:0!important}
.od-quick-actions>.od-rail-track{align-items:flex-start!important}
.od-rail>.od-rail-track>button{
  flex-shrink:0!important;
  touch-action:pan-y!important;
}
html.desktop-ui .od-rail{overflow:visible!important}
html.desktop-ui .od-rail>.od-rail-track{transform:none!important;width:100%!important}


/* v0.8.8 — FINAL native horizontal rails. No JS transform/scrollLeft drag engine. */
.od-rail{
  display:block!important;
  position:relative!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  touch-action:auto!important;
  -webkit-overflow-scrolling:touch!important;
  overscroll-behavior-x:contain!important;
  scroll-snap-type:none!important;
  scroll-behavior:auto!important;
  scrollbar-width:none!important;
}
.od-rail::-webkit-scrollbar{display:none!important}
.od-rail>.od-rail-track{
  display:flex!important;
  flex-wrap:nowrap!important;
  width:max-content!important;
  min-width:max-content!important;
  max-width:none!important;
  gap:inherit!important;
  transform:none!important;
  transition:none!important;
  will-change:auto!important;
}
.od-rail>.od-rail-track>button{
  flex:0 0 auto!important;
  touch-action:auto!important;
}
html.phone-shape-ui .od-quick-actions>.od-rail-track>button,
html.mobile-app-ui .od-quick-actions>.od-rail-track>button{
  width:128px!important;
  min-width:128px!important;
}
html.phone-shape-ui .od-tabs>.od-rail-track>button,
html.mobile-app-ui .od-tabs>.od-rail-track>button{
  width:158px!important;
  min-width:158px!important;
}
html.tablet-ui .od-quick-actions>.od-rail-track>button{width:104px!important;min-width:104px!important}
html.tablet-ui .od-tabs>.od-rail-track>button{width:132px!important;min-width:132px!important}
html.desktop-ui .od-rail{overflow:visible!important}
html.desktop-ui .od-rail>.od-rail-track{width:100%!important;min-width:100%!important}
html.desktop-ui .od-quick-actions>.od-rail-track>button{flex:1 1 0!important;width:auto!important;min-width:74px!important}
html.desktop-ui .od-tabs>.od-rail-track>button{width:auto!important;min-width:108px!important}


/* v0.9.0 offline-first status/master sheets */
.od-sheet-backdrop{position:fixed;inset:0;background:rgba(12,20,32,.34);z-index:2000;display:flex;align-items:flex-end;justify-content:center;opacity:0;transition:opacity .16s ease}.od-sheet-backdrop.open{opacity:1}.od-sheet{width:min(720px,100%);max-height:82dvh;overflow:auto;background:var(--ui-card-bg);border-radius:28px 28px 0 0;padding:10px 18px calc(20px + env(safe-area-inset-bottom));box-shadow:0 -12px 40px rgba(0,0,0,.16);transform:translateY(18px);transition:transform .16s ease}.od-sheet-backdrop.open .od-sheet{transform:none}.od-sheet-handle{width:46px;height:5px;border-radius:999px;background:var(--ui-card-bg);margin:2px auto 12px}.od-sheet-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.od-sheet-head h2{margin:8px 0 14px;font-size:24px}.od-sheet-close{width:42px;height:42px;border:0;background:var(--ui-card-bg);border-radius:50%;font-size:28px;line-height:1}.od-choice-list{display:grid;gap:8px}.od-choice{width:100%;border:1.5px solid var(--ui-field-border);background:var(--ui-field-bg);border-radius:18px;padding:14px 16px;display:flex;align-items:center;gap:13px;text-align:left;color:var(--ui-text)}.od-choice b{font-size:17px}.od-choice small{display:block;margin-top:3px;color:var(--ui-text);font-size:13px}.od-choice.active{border-color:var(--ui-brand);background:var(--ui-brand-soft)}.od-radio{width:20px;height:20px;border:2px solid var(--ui-field-border);border-radius:50%;display:block;flex:0 0 20px}.od-choice.active .od-radio{border:6px solid var(--ui-brand)}.od-sheet-custom{display:grid;grid-template-columns:1fr auto;gap:8px;margin-top:12px}.od-sheet-custom input{height:50px;border:1.5px solid var(--ui-field-border);background:var(--ui-field-bg);color:var(--ui-text);border-radius:15px;padding:0 14px;font-size:16px}.od-sheet-custom button{border:0;border-radius:15px;background:var(--ui-brand);color:#fff;font-weight:800;padding:0 16px}.od-sheet-note{font-size:13px;line-height:1.35;color:var(--ui-text);margin:14px 2px 0}.phone-shape-ui .od-sheet{padding-left:20px;padding-right:20px}.phone-shape-ui .od-sheet-head h2{font-size:30px}.phone-shape-ui .od-choice{min-height:66px;padding:16px 18px;border-radius:20px}.phone-shape-ui .od-choice b{font-size:21px}.phone-shape-ui .od-choice small{font-size:15px}.phone-shape-ui .od-radio{width:24px;height:24px;flex-basis:24px}.phone-shape-ui .od-sheet-custom input{height:62px;font-size:20px}.phone-shape-ui .od-sheet-custom button{font-size:18px}.desktop-ui .od-sheet-backdrop{align-items:center}.desktop-ui .od-sheet{border-radius:24px;max-height:72vh;max-width:560px;padding:14px 20px 24px}


/* v0.9.1 status is workflow-controlled: read-only sheet */
.od-status-readonly{display:flex;align-items:center;gap:14px;padding:18px;border:1px solid var(--ui-border);background:var(--ui-card-bg);border-radius:20px}.od-status-readonly-icon{width:48px;height:48px;border-radius:16px;background:var(--ui-brand-soft);color:var(--ui-brand-dark);display:grid;place-items:center;flex:0 0 48px}.od-status-readonly-icon .ui-icon{width:27px;height:27px}.od-status-readonly small{display:block;color:var(--ui-text);font-size:13px;margin-bottom:4px}.od-status-readonly strong{display:block;font-size:20px;color:var(--ui-text)}.od-status-workflow-note{background:var(--ui-card-bg);border:1px solid var(--ui-border);border-radius:16px;padding:13px 14px;color:var(--ui-text)!important}.phone-shape-ui .od-status-readonly{padding:20px;border-radius:22px;gap:16px}.phone-shape-ui .od-status-readonly-icon{width:58px;height:58px;flex-basis:58px;border-radius:18px}.phone-shape-ui .od-status-readonly-icon .ui-icon{width:32px;height:32px}.phone-shape-ui .od-status-readonly small{font-size:16px}.phone-shape-ui .od-status-readonly strong{font-size:25px}.phone-shape-ui .od-status-workflow-note{font-size:16px;line-height:1.4}


/* v0.9.2 — offline tasks & parts */
.od-task-button{width:100%;border:0;background:transparent;text-align:left;color:inherit;padding:8px 0;cursor:pointer}
.od-task-button.done .od-task-ring{background:#2fa56b;border-color:#2fa56b;color:#fff;display:grid;place-items:center}
.od-task-button.done .od-task-ring .ui-icon{width:22px;height:22px}
.od-task-button.done b{text-decoration:line-through;opacity:.62}
.od-local-pending{display:block;margin-top:6px;color:var(--ui-warning);font-size:12px;font-weight:700}
.od-inline-add{margin-top:14px;border:0;background:var(--ui-brand-soft);color:var(--ui-text);border-radius:16px;padding:12px 16px;font-weight:800}
.od-parts-list{display:grid;gap:10px}.od-part-row{display:grid;grid-template-columns:44px 1fr auto 32px;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid var(--ui-border)}.od-part-row:last-child{border-bottom:0}.od-part-icon{width:40px;height:40px;border-radius:14px;background:var(--ui-brand-soft);color:var(--ui-brand-dark);display:grid;place-items:center}.od-part-icon .ui-icon{width:23px;height:23px}.od-part-row b,.od-part-row small,.od-part-row em{display:block}.od-part-row small{color:var(--ui-text);margin-top:3px}.od-part-row em{font-style:normal;color:var(--ui-warning);font-size:11px;margin-top:4px}.od-part-row strong{white-space:nowrap}.od-part-row>button{border:0;background:transparent;font-size:26px;color:var(--ui-text-muted)}
.od-part-form{display:grid;gap:16px}.od-part-form label{display:grid;gap:7px;font-weight:700}.od-part-form input{height:54px;border:1.5px solid var(--ui-field-border);border-radius:16px;padding:0 15px;background:var(--ui-field-bg);color:var(--ui-text);font-size:17px}.od-part-form input:focus{outline:none;border-color:var(--ui-brand)}.od-part-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
html.phone-shape-ui .od-task-button{padding:12px 0}html.phone-shape-ui .od-task b{font-size:21px!important}html.phone-shape-ui .od-task p{font-size:17px!important}html.phone-shape-ui .od-part-row{padding:16px 0;grid-template-columns:54px 1fr auto 36px}html.phone-shape-ui .od-part-icon{width:50px;height:50px}html.phone-shape-ui .od-part-row b{font-size:19px}html.phone-shape-ui .od-part-row small{font-size:15px}

/* TELLIAPP_PARITY_CORE_100 */
.nested-detail-open .bottom-nav{display:none!important}
.detail-top{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:10px;margin:0 0 14px}.detail-top h1{margin:0;font-size:22px}.plain-back{border:0;background:transparent;padding:4px;color:var(--ui-text)}.plain-back .ui-icon{width:28px;height:28px}
.parity-search .ui-icon{width:32px;height:32px}.clients-list{display:grid;gap:18px;margin-top:26px}.client-card{width:100%;border:1px solid var(--line);background:var(--ui-card-bg);border-radius:28px;padding:26px 28px;display:grid;grid-template-columns:92px 1fr 28px;align-items:center;gap:22px;text-align:left;color:inherit}.client-card>.ui-icon{width:28px;height:28px;color:var(--ui-text-muted)}.client-avatar{width:92px;height:92px;border-radius:27px;background:var(--ui-card-bg);color:var(--ui-brand-dark);display:grid;place-items:center;font-size:29px;font-weight:850}.client-copy b,.client-copy em,.client-copy small{display:block}.client-copy b{font-size:28px}.client-copy em{font-style:normal;color:var(--ui-text);font-size:22px;margin-top:7px}.client-copy small{display:inline-block;background:var(--ui-card-bg);border-radius:18px;padding:8px 13px;font-size:17px;font-weight:800;margin-top:12px;color:var(--ui-text)}
.client-hero{border-radius:26px;background:var(--ui-card-bg);color:var(--ui-text);padding:20px 20px;display:flex;align-items:center;gap:14px;min-height:112px;border:1px solid var(--ui-border)}.client-hero-avatar{width:58px;height:58px;border-radius:18px;background:var(--ui-brand-soft);color:var(--ui-brand-dark);display:grid;place-items:center;font-size:21px;font-weight:850}.client-hero b,.client-hero span,.client-hero strong{display:block}.client-hero b{font-size:20px}.client-hero span{font-size:15px;opacity:.85;margin-top:6px}.client-hero strong{font-size:14px;margin-top:6px}.section-title{font-size:30px;margin:30px 0 18px}.client-history{display:grid;gap:16px}.history-order{border:1px solid var(--line);background:var(--ui-card-bg);border-radius:28px;padding:24px 27px;display:grid;grid-template-columns:82px 1fr 28px;align-items:center;text-align:left;gap:20px;color:inherit}.history-icon{width:82px;height:82px;border-radius:24px;background:var(--ui-brand-soft);color:var(--ui-brand-dark);display:grid;place-items:center}.history-icon .ui-icon{width:42px;height:42px}.history-order>b{}.history-order span:nth-child(2) b,.history-order span:nth-child(2) em,.history-order span:nth-child(2) small{display:block}.history-order span:nth-child(2) b{font-size:23px}.history-order span:nth-child(2) em{font-style:normal;font-size:21px;margin-top:8px}.history-order span:nth-child(2) small{font-size:18px;color:var(--ui-text);margin-top:7px}.history-order>.ui-icon{color:var(--ui-text-muted);width:28px;height:28px}
.inbox-switch{width:min(560px,82%);margin:0 auto 70px;display:grid;grid-template-columns:1fr 1fr;border:2px solid var(--ui-field-border);border-radius:40px;overflow:hidden;color:var(--ui-text);background:var(--ui-field-bg);}.inbox-switch button{border:0;background:transparent;min-height:78px;font-size:21px;font-weight:800;display:flex;align-items:center;justify-content:center;gap:14px}.inbox-switch button+button{border-left:1px solid var(--ui-field-border);color:var(--ui-text);}.inbox-switch .active{background:var(--ui-brand-soft)}.inbox-switch .ui-icon{width:28px;height:28px}.inbox-title{margin-top:0}.appointment-seg{margin-top:30px}.appointment-list,.inquiry-list{display:grid;gap:16px;margin-top:35px}.appointment-empty{min-height:350px;display:grid;place-items:center;font-size:22px}.appointment-card,.inquiry-card{background:var(--ui-card-bg);border:1px solid var(--line);border-radius:26px;padding:22px 25px}.appointment-card div{display:flex;justify-content:space-between;gap:12px}.appointment-card b{font-size:21px}.appointment-card span,.appointment-card small{color:var(--ui-text-muted)}.appointment-card strong{display:block;color:var(--ui-brand-dark);margin-top:8px}.appointment-card p{font-weight:800;margin:14px 0 6px}.inquiry-card b,.inquiry-card span,.inquiry-card strong,.inquiry-card small{display:block}.inquiry-card span,.inquiry-card small{color:var(--ui-text-muted)}.inquiry-card strong{font-size:20px;margin-top:10px}
.warehouse-tabs{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid var(--ui-border);margin:8px -32px 28px;padding:0 32px}.warehouse-tabs button{border:0;background:transparent;padding:18px 8px 28px;color:var(--ui-text-muted);display:flex;flex-direction:column;align-items:center;gap:10px;font-size:19px;position:relative}.warehouse-tabs .ui-icon{width:42px;height:42px}.warehouse-tabs button.active{color:var(--ui-brand-dark)}.warehouse-tabs button.active:after{content:"";position:absolute;bottom:-2px;width:44%;height:5px;border-radius:5px;background:var(--ui-brand-dark)}.warehouse-add{width:100%;border:0;border-radius:16px;background:var(--ui-brand);color:#fff;min-height:56px;padding:10px 16px;font-size:17px;font-weight:800;margin-bottom:16px}.next-shelf{background:var(--ui-brand-soft);border-radius:30px;padding:23px 28px;display:grid;grid-template-columns:68px 1fr auto;align-items:center;gap:20px}.next-shelf span{width:68px;height:68px;background:var(--ui-card-bg);border-radius:50%;display:grid;place-items:center;color:var(--ui-brand-dark)}.next-shelf span .ui-icon{width:38px;height:38px}.next-shelf b{font-size:21px}.next-shelf strong{font-size:34px;color:var(--ui-brand-dark)}.warehouse-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:18px 0 24px}.warehouse-stats div{background:var(--ui-card-bg);border:1px solid var(--line);border-radius:24px;padding:16px 18px}.warehouse-stats small,.warehouse-stats b{display:block}.warehouse-stats small{color:var(--ui-text-muted);font-weight:800}.warehouse-stats b{font-size:22px;margin-top:5px}.shelf-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.shelf-card{position:relative;border:1px solid var(--line);border-radius:26px;background:var(--ui-card-bg);min-height:310px;padding:18px;text-align:left;color:inherit;display:flex;flex-direction:column}.shelf-card>div{display:flex;justify-content:space-between;color:var(--ui-brand-dark)}.shelf-card>div strong{font-size:31px}.shelf-card>div .ui-icon{width:31px;height:31px}.shelf-card>b{font-size:18px;margin-top:24px}.shelf-card>span{font-size:18px;font-weight:800;margin-top:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.shelf-card>small{font-size:17px;color:var(--ui-text-muted);margin-top:7px}.shelf-card>em{font-style:normal;color:var(--ui-text-muted);margin-top:8px}.shelf-card.free{color:var(--ui-text-muted)}.shelf-card.free>div{color:var(--ui-text-muted)}.shelf-card>.ui-icon{position:absolute;right:18px;bottom:18px;width:26px;height:26px}
.finance-online-note{display:flex;gap:15px;align-items:flex-start;background:var(--ui-brand-soft);border-radius:20px;padding:17px 20px;margin-bottom:20px}.finance-online-note .ui-icon{width:27px;height:27px;flex:0 0 auto}.finance-period{display:flex;gap:10px;overflow:auto}.finance-period button,.period-btn{border:1px solid var(--ui-field-border);background:var(--ui-field-bg);border-radius:13px;padding:13px 18px;font-weight:700;color:var(--ui-text)}.finance-period .active{background:var(--ui-brand-soft)}.period-btn{margin:18px 0 10px;display:flex;gap:8px;align-items:center}.period-btn .ui-icon{width:20px;height:20px}.finance-range{font-weight:800;color:var(--ui-text-muted)}.finance-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.finance-metrics div{min-height:168px;background:var(--ui-card-bg);border:1px solid var(--line);border-radius:26px;padding:22px;display:flex;flex-direction:column;justify-content:center}.finance-metrics .ui-icon{width:30px;height:30px;color:var(--ui-brand-dark)}.finance-metrics b{font-size:24px;margin-top:18px}.finance-metrics small{font-size:16px;margin-top:8px;color:var(--ui-text-muted)}
.settings-head{margin-bottom:14px}.settings-profile{background:var(--ui-card-bg);border:1px solid var(--line);border-radius:26px;padding:20px 20px;display:grid;grid-template-columns:58px 1fr auto;gap:14px;align-items:center}.settings-profile-avatar{width:58px;height:58px;border-radius:50%;background:var(--ui-card-bg);color:var(--ui-brand-dark);display:grid;place-items:center}.settings-profile-avatar .ui-icon{width:28px;height:28px}.settings-profile b,.settings-profile span,.settings-profile small{display:block}.settings-profile b{font-size:20px}.settings-profile span{font-size:15px;margin-top:4px}.settings-profile small{font-size:14px;color:var(--ui-text);margin-top:4px}.settings-profile>strong{font-size:24px}.settings-section-title{font-size:22px;margin:24px 0 7px}.settings-section-sub{font-size:14px;color:var(--ui-text);margin:0 0 12px}.settings-group{background:var(--ui-card-bg);border:1px solid var(--line);border-radius:24px;overflow:hidden}.settings-row{width:100%;border:0;border-bottom:1px solid var(--ui-border);background:var(--ui-card-bg);padding:18px 18px;display:grid;grid-template-columns:52px 1fr 28px;gap:12px;align-items:center;text-align:left;color:inherit;min-height:86px}.settings-row:last-child{border-bottom:0}.settings-row.static{grid-template-columns:52px 1fr}.settings-icon{width:52px;height:52px;border-radius:16px;display:grid;place-items:center;background:var(--ui-brand-soft);color:var(--ui-brand-dark)}.settings-icon .ui-icon{width:26px;height:26px}.settings-icon.purple{background:var(--ui-card-bg);color:var(--ui-text)}.settings-icon.green{background:var(--ui-card-bg);color:var(--ui-text)}.settings-icon.orange{background:var(--ui-card-bg);color:var(--ui-text-muted)}.settings-icon.teal{background:var(--ui-card-bg);color:var(--ui-text)}.settings-icon.gray{background:var(--ui-card-bg);color:var(--ui-text)}.settings-row b,.settings-row small{display:block}.settings-row b{font-size:19px}.settings-row small{font-size:15px;color:var(--ui-text);line-height:1.35;margin-top:4px}.settings-row>.ui-icon{width:22px;height:22px}.settings-logout{width:100%;margin-top:20px;background:var(--ui-card-bg);border:1px solid var(--line);border-radius:18px;min-height:56px;display:flex;align-items:center;justify-content:center;gap:10px;font-size:17px;font-weight:800}.settings-logout .ui-icon{width:22px;height:22px}.build-label{text-align:center;color:var(--ui-text);font-size:16px}
@media(min-width:1100px){.client-card{grid-template-columns:64px 1fr 22px;padding:16px 20px;border-radius:18px}.client-avatar{width:64px;height:64px;border-radius:18px;font-size:20px}.client-copy b{font-size:19px}.client-copy em{font-size:15px}.client-copy small{font-size:13px}.shelf-grid{grid-template-columns:repeat(4,1fr)}.shelf-card{min-height:210px}.settings-row{min-height:86px;grid-template-columns:52px 1fr 22px;padding:12px 18px}.settings-icon{width:52px;height:52px;border-radius:16px}.settings-icon .ui-icon{width:26px;height:26px}.settings-row b{font-size:18px}.settings-row small{font-size:14px}.settings-profile{grid-template-columns:58px 1fr auto}.settings-profile-avatar{width:58px;height:58px}.finance-metrics{grid-template-columns:repeat(6,1fr)}}

/* TELLIAPP_PHONE_PARITY_XL_103
   Large Android-like sizing for parity screens on tall/narrow phones only.
   Tablet and desktop sizing is intentionally untouched. */
html.phone-shape-ui:not(.tablet-ui) .parity-search,
html.touch-ui.mobile-app-ui .parity-search{
  height:104px!important;border-radius:32px!important;padding:0 28px!important;gap:20px!important
}
html.phone-shape-ui:not(.tablet-ui) .parity-search .ui-icon,
html.touch-ui.mobile-app-ui .parity-search .ui-icon{width:42px!important;height:42px!important}
html.phone-shape-ui:not(.tablet-ui) .parity-search input,
html.touch-ui.mobile-app-ui .parity-search input{font-size:27px!important}

html.phone-shape-ui:not(.tablet-ui) .clients-list,
html.touch-ui.mobile-app-ui .clients-list{gap:24px!important;margin-top:30px!important}
html.phone-shape-ui:not(.tablet-ui) .client-card,
html.touch-ui.mobile-app-ui .client-card{
  min-height:192px!important;border-radius:34px!important;padding:30px 30px!important;
  grid-template-columns:112px 1fr 34px!important;gap:26px!important
}
html.phone-shape-ui:not(.tablet-ui) .client-avatar,
html.touch-ui.mobile-app-ui .client-avatar{width:112px!important;height:112px!important;border-radius:32px!important;font-size:36px!important}
html.phone-shape-ui:not(.tablet-ui) .client-copy b,
html.touch-ui.mobile-app-ui .client-copy b{font-size:33px!important}
html.phone-shape-ui:not(.tablet-ui) .client-copy em,
html.touch-ui.mobile-app-ui .client-copy em{font-size:25px!important;margin-top:9px!important}
html.phone-shape-ui:not(.tablet-ui) .client-copy small,
html.touch-ui.mobile-app-ui .client-copy small{font-size:19px!important;padding:9px 15px!important;margin-top:14px!important;border-radius:20px!important}
html.phone-shape-ui:not(.tablet-ui) .client-card>.ui-icon,
html.touch-ui.mobile-app-ui .client-card>.ui-icon{width:34px!important;height:34px!important}

html.phone-shape-ui:not(.tablet-ui) .detail-top,
html.touch-ui.mobile-app-ui .detail-top{gap:10px!important;margin-bottom:14px!important}
html.phone-shape-ui:not(.tablet-ui) .detail-top h1,
html.touch-ui.mobile-app-ui .detail-top h1{font-size:22px!important}
html.phone-shape-ui:not(.tablet-ui) .plain-back .ui-icon,
html.touch-ui.mobile-app-ui .plain-back .ui-icon{width:28px!important;height:28px!important}
html.phone-shape-ui:not(.tablet-ui) .client-hero,
html.touch-ui.mobile-app-ui .client-hero{min-height:112px!important;border-radius:26px!important;padding:20px 20px!important;gap:14px!important}
html.phone-shape-ui:not(.tablet-ui) .client-hero-avatar,
html.touch-ui.mobile-app-ui .client-hero-avatar{width:58px!important;height:58px!important;border-radius:18px!important;font-size:21px!important}
html.phone-shape-ui:not(.tablet-ui) .client-hero b,
html.touch-ui.mobile-app-ui .client-hero b{font-size:20px!important}
html.phone-shape-ui:not(.tablet-ui) .client-hero span,
html.touch-ui.mobile-app-ui .client-hero span{font-size:15px!important}
html.phone-shape-ui:not(.tablet-ui) .client-hero strong,
html.touch-ui.mobile-app-ui .client-hero strong{font-size:14px!important;margin-top:6px!important}
html.phone-shape-ui:not(.tablet-ui) .section-title,
html.touch-ui.mobile-app-ui .section-title{font-size:36px!important;margin:36px 0 22px!important}
html.phone-shape-ui:not(.tablet-ui) .client-history,
html.touch-ui.mobile-app-ui .client-history{gap:20px!important}
html.phone-shape-ui:not(.tablet-ui) .history-order,
html.touch-ui.mobile-app-ui .history-order{min-height:180px!important;border-radius:34px!important;padding:28px 30px!important;grid-template-columns:96px 1fr 34px!important;gap:24px!important}
html.phone-shape-ui:not(.tablet-ui) .history-icon,
html.touch-ui.mobile-app-ui .history-icon{width:96px!important;height:96px!important;border-radius:28px!important}
html.phone-shape-ui:not(.tablet-ui) .history-icon .ui-icon,
html.touch-ui.mobile-app-ui .history-icon .ui-icon{width:48px!important;height:48px!important}
html.phone-shape-ui:not(.tablet-ui) .history-order span:nth-child(2) b,
html.touch-ui.mobile-app-ui .history-order span:nth-child(2) b{font-size:28px!important}
html.phone-shape-ui:not(.tablet-ui) .history-order span:nth-child(2) em,
html.touch-ui.mobile-app-ui .history-order span:nth-child(2) em{font-size:24px!important}
html.phone-shape-ui:not(.tablet-ui) .history-order span:nth-child(2) small,
html.touch-ui.mobile-app-ui .history-order span:nth-child(2) small{font-size:21px!important}

html.phone-shape-ui:not(.tablet-ui) .inbox-switch,
html.touch-ui.mobile-app-ui .inbox-switch{width:min(620px,90%)!important;margin-bottom:82px!important;border-radius:44px!important}
html.phone-shape-ui:not(.tablet-ui) .inbox-switch button,
html.touch-ui.mobile-app-ui .inbox-switch button{min-height:92px!important;font-size:25px!important;gap:16px!important}
html.phone-shape-ui:not(.tablet-ui) .inbox-switch .ui-icon,
html.touch-ui.mobile-app-ui .inbox-switch .ui-icon{width:34px!important;height:34px!important}
html.phone-shape-ui:not(.tablet-ui) .appointment-list,
html.phone-shape-ui:not(.tablet-ui) .inquiry-list,
html.touch-ui.mobile-app-ui .appointment-list,
html.touch-ui.mobile-app-ui .inquiry-list{gap:22px!important;margin-top:40px!important}
html.phone-shape-ui:not(.tablet-ui) .appointment-card,
html.phone-shape-ui:not(.tablet-ui) .inquiry-card,
html.touch-ui.mobile-app-ui .appointment-card,
html.touch-ui.mobile-app-ui .inquiry-card{min-height:146px!important;border-radius:32px!important;padding:27px 30px!important}
html.phone-shape-ui:not(.tablet-ui) .appointment-card b,
html.touch-ui.mobile-app-ui .appointment-card b{font-size:25px!important}
html.phone-shape-ui:not(.tablet-ui) .appointment-card span,
html.phone-shape-ui:not(.tablet-ui) .appointment-card small,
html.touch-ui.mobile-app-ui .appointment-card span,
html.touch-ui.mobile-app-ui .appointment-card small{font-size:20px!important}
html.phone-shape-ui:not(.tablet-ui) .inquiry-card b,
html.touch-ui.mobile-app-ui .inquiry-card b{font-size:27px!important}
html.phone-shape-ui:not(.tablet-ui) .inquiry-card span,
html.phone-shape-ui:not(.tablet-ui) .inquiry-card small,
html.touch-ui.mobile-app-ui .inquiry-card span,
html.touch-ui.mobile-app-ui .inquiry-card small{font-size:21px!important;margin-top:5px!important}
html.phone-shape-ui:not(.tablet-ui) .inquiry-card strong,
html.touch-ui.mobile-app-ui .inquiry-card strong{font-size:24px!important;margin-top:12px!important}

html.phone-shape-ui:not(.tablet-ui) .warehouse-tabs,
html.touch-ui.mobile-app-ui .warehouse-tabs{margin:10px -20px 34px!important;padding:0 20px!important}
html.phone-shape-ui:not(.tablet-ui) .warehouse-tabs button,
html.touch-ui.mobile-app-ui .warehouse-tabs button{padding:22px 8px 34px!important;gap:13px!important;font-size:23px!important}
html.phone-shape-ui:not(.tablet-ui) .warehouse-tabs .ui-icon,
html.touch-ui.mobile-app-ui .warehouse-tabs .ui-icon{width:52px!important;height:52px!important}
html.phone-shape-ui:not(.tablet-ui) .next-shelf,
html.touch-ui.mobile-app-ui .next-shelf{min-height:150px!important;border-radius:35px!important;padding:27px 30px!important;grid-template-columns:82px 1fr auto!important;gap:22px!important}
html.phone-shape-ui:not(.tablet-ui) .next-shelf span,
html.touch-ui.mobile-app-ui .next-shelf span{width:82px!important;height:82px!important}
html.phone-shape-ui:not(.tablet-ui) .next-shelf span .ui-icon,
html.touch-ui.mobile-app-ui .next-shelf span .ui-icon{width:46px!important;height:46px!important}
html.phone-shape-ui:not(.tablet-ui) .next-shelf b,
html.touch-ui.mobile-app-ui .next-shelf b{font-size:25px!important}
html.phone-shape-ui:not(.tablet-ui) .next-shelf strong,
html.touch-ui.mobile-app-ui .next-shelf strong{font-size:42px!important}
html.phone-shape-ui:not(.tablet-ui) .warehouse-stats,
html.touch-ui.mobile-app-ui .warehouse-stats{gap:16px!important;margin:22px 0 28px!important}
html.phone-shape-ui:not(.tablet-ui) .warehouse-stats div,
html.touch-ui.mobile-app-ui .warehouse-stats div{min-height:110px!important;border-radius:28px!important;padding:20px 20px!important}
html.phone-shape-ui:not(.tablet-ui) .warehouse-stats small,
html.touch-ui.mobile-app-ui .warehouse-stats small{font-size:16px!important}
html.phone-shape-ui:not(.tablet-ui) .warehouse-stats b,
html.touch-ui.mobile-app-ui .warehouse-stats b{font-size:27px!important}
html.phone-shape-ui:not(.tablet-ui) .shelf-grid,
html.touch-ui.mobile-app-ui .shelf-grid{gap:18px!important}
html.phone-shape-ui:not(.tablet-ui) .shelf-card,
html.touch-ui.mobile-app-ui .shelf-card{min-height:425px!important;border-radius:31px!important;padding:22px!important}
html.phone-shape-ui:not(.tablet-ui) .shelf-card>div strong,
html.touch-ui.mobile-app-ui .shelf-card>div strong{font-size:38px!important}
html.phone-shape-ui:not(.tablet-ui) .shelf-card>div .ui-icon,
html.touch-ui.mobile-app-ui .shelf-card>div .ui-icon{width:38px!important;height:38px!important}
html.phone-shape-ui:not(.tablet-ui) .shelf-card>b,
html.touch-ui.mobile-app-ui .shelf-card>b{font-size:22px!important;margin-top:28px!important}
html.phone-shape-ui:not(.tablet-ui) .shelf-card>span,
html.touch-ui.mobile-app-ui .shelf-card>span{font-size:21px!important;margin-top:18px!important}
html.phone-shape-ui:not(.tablet-ui) .shelf-card>small,
html.touch-ui.mobile-app-ui .shelf-card>small{font-size:19px!important;margin-top:9px!important}
html.phone-shape-ui:not(.tablet-ui) .shelf-card>em,
html.touch-ui.mobile-app-ui .shelf-card>em{font-size:17px!important;margin-top:10px!important}

html.phone-shape-ui:not(.tablet-ui) .finance-online-note,
html.touch-ui.mobile-app-ui .finance-online-note{border-radius:26px!important;padding:22px 24px!important;gap:18px!important;font-size:18px!important;line-height:1.35!important}
html.phone-shape-ui:not(.tablet-ui) .finance-online-note .ui-icon,
html.touch-ui.mobile-app-ui .finance-online-note .ui-icon{width:34px!important;height:34px!important}
html.phone-shape-ui:not(.tablet-ui) .finance-period,
html.touch-ui.mobile-app-ui .finance-period{gap:12px!important}
html.phone-shape-ui:not(.tablet-ui) .finance-period button,
html.phone-shape-ui:not(.tablet-ui) .period-btn,
html.touch-ui.mobile-app-ui .finance-period button,
html.touch-ui.mobile-app-ui .period-btn{min-height:60px!important;border-radius:17px!important;padding:14px 20px!important;font-size:18px!important}
html.phone-shape-ui:not(.tablet-ui) .finance-range,
html.touch-ui.mobile-app-ui .finance-range{font-size:18px!important}
html.phone-shape-ui:not(.tablet-ui) .finance-metrics,
html.touch-ui.mobile-app-ui .finance-metrics{gap:16px!important}
html.phone-shape-ui:not(.tablet-ui) .finance-metrics div,
html.touch-ui.mobile-app-ui .finance-metrics div{min-height:230px!important;border-radius:31px!important;padding:26px!important}
html.phone-shape-ui:not(.tablet-ui) .finance-metrics .ui-icon,
html.touch-ui.mobile-app-ui .finance-metrics .ui-icon{width:38px!important;height:38px!important}
html.phone-shape-ui:not(.tablet-ui) .finance-metrics b,
html.touch-ui.mobile-app-ui .finance-metrics b{font-size:31px!important;margin-top:21px!important}
html.phone-shape-ui:not(.tablet-ui) .finance-metrics small,
html.touch-ui.mobile-app-ui .finance-metrics small{font-size:19px!important;margin-top:10px!important;line-height:1.25!important}
html.phone-shape-ui:not(.tablet-ui) .finance-metrics + h2,
html.touch-ui.mobile-app-ui .finance-metrics + h2{font-size:35px!important}

html.phone-shape-ui:not(.tablet-ui) .settings-profile,
html.touch-ui.mobile-app-ui .settings-profile{min-height:100px!important;border-radius:26px!important;padding:20px 20px!important;grid-template-columns:58px 1fr auto!important;gap:14px!important}
html.phone-shape-ui:not(.tablet-ui) .settings-profile-avatar,
html.touch-ui.mobile-app-ui .settings-profile-avatar{width:58px!important;height:58px!important}
html.phone-shape-ui:not(.tablet-ui) .settings-profile-avatar .ui-icon,
html.touch-ui.mobile-app-ui .settings-profile-avatar .ui-icon{width:28px!important;height:28px!important}
html.phone-shape-ui:not(.tablet-ui) .settings-profile b,
html.touch-ui.mobile-app-ui .settings-profile b{font-size:20px!important}
html.phone-shape-ui:not(.tablet-ui) .settings-profile span,
html.touch-ui.mobile-app-ui .settings-profile span{font-size:15px!important}
html.phone-shape-ui:not(.tablet-ui) .settings-profile small,
html.touch-ui.mobile-app-ui .settings-profile small{font-size:14px!important}
html.phone-shape-ui:not(.tablet-ui) .settings-section-title,
html.touch-ui.mobile-app-ui .settings-section-title{font-size:22px!important;margin:24px 0 9px!important}
html.phone-shape-ui:not(.tablet-ui) .settings-section-sub,
html.touch-ui.mobile-app-ui .settings-section-sub{font-size:14px!important;margin-bottom:12px!important}
html.phone-shape-ui:not(.tablet-ui) .settings-group,
html.touch-ui.mobile-app-ui .settings-group{border-radius:24px!important}
html.phone-shape-ui:not(.tablet-ui) .settings-row,
html.touch-ui.mobile-app-ui .settings-row{min-height:86px!important;padding:18px 18px!important;grid-template-columns:52px 1fr 34px!important;gap:12px!important}
html.phone-shape-ui:not(.tablet-ui) .settings-icon,
html.touch-ui.mobile-app-ui .settings-icon{width:52px!important;height:52px!important;border-radius:16px!important}
html.phone-shape-ui:not(.tablet-ui) .settings-icon .ui-icon,
html.touch-ui.mobile-app-ui .settings-icon .ui-icon{width:26px!important;height:26px!important}
html.phone-shape-ui:not(.tablet-ui) .settings-row b,
html.touch-ui.mobile-app-ui .settings-row b{font-size:19px!important}
html.phone-shape-ui:not(.tablet-ui) .settings-row small,
html.touch-ui.mobile-app-ui .settings-row small{font-size:15px!important;line-height:1.35!important}

/* Keep phone bottom navigation at Android-like touch size even on routes added in parity core. */
html.phone-shape-ui:not(.tablet-ui) .bottom-nav,
html.touch-ui.mobile-app-ui .bottom-nav{height:154px!important;padding-top:14px!important}
html.phone-shape-ui:not(.tablet-ui) .bottom-nav .ui-icon,
html.touch-ui.mobile-app-ui .bottom-nav .ui-icon{width:48px!important;height:48px!important;min-width:48px!important;min-height:48px!important}
html.phone-shape-ui:not(.tablet-ui) .bottom-nav small,
html.touch-ui.mobile-app-ui .bottom-nav small{font-size:14px!important;font-weight:800!important}


/* v1.1.0 - client/inbox detail parity */
.appointment-card,.inquiry-card{position:relative;width:100%;text-align:left;border:1px solid var(--line,#dce3eb);background:var(--card,#fff);border-radius:28px;padding:22px 54px 22px 24px;display:grid;grid-template-columns:1fr auto;gap:8px 18px;color:inherit}
.appointment-card>svg,.inquiry-card>svg{position:absolute;right:22px;top:50%;transform:translateY(-50%);width:24px;height:24px}
.appointment-card div,.inquiry-card div{display:flex;flex-direction:column}.appointment-card b,.inquiry-card b{font-size:20px}.appointment-card span,.inquiry-card span,.appointment-card small,.inquiry-card small{color:var(--muted,#7c8793)}
.appointment-card p{grid-column:1/-1;margin:4px 0 0;font-weight:700}.appointment-card small{grid-column:1/-1}.inquiry-card strong,.inquiry-card small{grid-column:1/-1}
.parity-detail-hero{margin:14px 14px;padding:20px;border-radius:26px;background:var(--ui-card-bg);color:var(--ui-text);display:flex;gap:14px;align-items:center;border:1px solid var(--ui-border)}.detail-round-icon{width:58px;height:58px;border-radius:50%;background:var(--ui-brand-soft);color:var(--ui-brand-dark);display:grid;place-items:center;flex:none}.detail-round-icon svg{width:28px;height:28px}.parity-detail-hero div{display:flex;flex-direction:column;gap:6px}.parity-detail-hero b{font-size:20px}.parity-detail-hero span{font-size:15px}.parity-detail-hero strong{font-size:14px}
.parity-detail-group{margin:18px 24px;background:var(--card,#fff);border:1px solid var(--line,#dce3eb);border-radius:30px;overflow:hidden}.parity-detail-group>div{padding:20px 24px;border-bottom:1px solid var(--line,#e5eaf0);display:flex;flex-direction:column;gap:6px}.parity-detail-group>div:last-child{border-bottom:0}.parity-detail-group small{color:var(--muted,#8b96a3);font-size:15px}.parity-detail-group b{font-size:20px}
.parity-primary{margin:22px 24px;width:calc(100% - 48px);min-height:68px;border:0;border-radius:24px;background:var(--ui-brand);color:white;font-weight:800;font-size:20px;display:flex;gap:12px;align-items:center;justify-content:center}.parity-primary svg{width:27px;height:27px}
.message-thread{padding:0 24px 22px;display:flex;flex-direction:column;gap:12px}.message-bubble{max-width:86%;padding:15px 18px;border-radius:22px;background:var(--card,#fff);border:1px solid var(--line,#dce3eb)}.message-bubble.out{margin-left:auto;background:var(--ui-brand-soft)}.message-bubble p{margin:0 0 6px;white-space:pre-wrap}.message-bubble small{color:var(--muted,#7c8793)}
.empty.compact{min-height:auto;padding:24px}
html.mobile-app-ui .appointment-card,html.mobile-app-ui .inquiry-card{min-height:132px;padding:26px 62px 26px 28px;border-radius:32px}html.mobile-app-ui .appointment-card b,html.mobile-app-ui .inquiry-card b{font-size:24px}html.mobile-app-ui .appointment-card span,html.mobile-app-ui .inquiry-card span{font-size:19px}html.mobile-app-ui .appointment-card strong,html.mobile-app-ui .inquiry-card strong{font-size:19px}html.mobile-app-ui .appointment-card p,html.mobile-app-ui .appointment-card small,html.mobile-app-ui .inquiry-card small{font-size:17px}

.od-workflow-unknown{background:var(--ui-card-bg);border:1px solid var(--line);border-radius:24px;padding:22px;color:var(--ui-text)}.od-workflow-unknown b,.od-workflow-unknown small{display:block}.od-workflow-unknown small{margin-top:6px;color:var(--ui-text-muted)}

/* TELLIAPP_WAREHOUSE_120 */
.warehouse-item-detail{display:grid;gap:9px;font-size:17px}.warehouse-item-detail p{margin:0;padding:12px 0;border-bottom:1px solid var(--line)}.od-part-form textarea{min-height:90px;border:1.5px solid var(--ui-field-border);border-radius:16px;padding:14px 15px;background:var(--ui-field-bg);color:var(--ui-text);font-size:17px;resize:vertical}.od-part-form textarea:focus{outline:none;border-color:var(--ui-brand)}
html.touch-ui.mobile-app-ui .warehouse-item-detail{font-size:21px!important}

/* Keep warehouse fields at the shared .od-part-form sizes. */
@media(max-width:430px){
  html.phone-shape-ui:not(.tablet-ui) .warehouse-part-sheet .od-sheet,
  html.touch-ui.mobile-app-ui:not(.tablet-ui) .warehouse-part-sheet .od-sheet{
    padding-left:18px;
    padding-right:18px;
  }
  html.phone-shape-ui:not(.tablet-ui) .warehouse-part-sheet .od-part-form-grid,
  html.touch-ui.mobile-app-ui:not(.tablet-ui) .warehouse-part-sheet .od-part-form-grid{
    grid-template-columns:1fr;
  }
}

/* v1.3.0 inbox + appointments functional forms */
.appointment-form textarea,.inquiry-reply-form textarea{width:100%;box-sizing:border-box;border:1px solid var(--ui-field-border);border-radius:15px;padding:13px 14px;font:inherit;resize:vertical;background:var(--ui-field-bg);color:var(--ui-text)}.appointment-form label{display:grid;gap:7px}.detail-actions{display:flex;gap:8px;margin-left:auto}.detail-actions .danger{color:var(--ui-danger)}.inquiry-reply-form{display:grid;grid-template-columns:1fr auto;gap:10px;margin:14px 0 18px}.inquiry-reply-form button{border:0;border-radius:16px;background:var(--ui-brand);color:#fff;font-weight:800;padding:0 18px;min-height:54px}.message-bubble.pending{opacity:.72}.message-bubble.pending small{font-style:italic}
html.phone-shape-ui:not(.tablet-ui) .appointment-form-sheet .od-sheet,html.touch-ui.mobile-app-ui:not(.tablet-ui) .appointment-form-sheet .od-sheet{max-height:94dvh;padding:16px 26px calc(30px + env(safe-area-inset-bottom));border-radius:34px 34px 0 0}html.phone-shape-ui:not(.tablet-ui) .appointment-form-sheet .od-sheet-head h2,html.touch-ui.mobile-app-ui:not(.tablet-ui) .appointment-form-sheet .od-sheet-head h2{font-size:34px}html.phone-shape-ui:not(.tablet-ui) .appointment-form label,html.touch-ui.mobile-app-ui:not(.tablet-ui) .appointment-form label{font-size:20px;font-weight:750;gap:9px}html.phone-shape-ui:not(.tablet-ui) .appointment-form input,html.phone-shape-ui:not(.tablet-ui) .appointment-form textarea,html.touch-ui.mobile-app-ui:not(.tablet-ui) .appointment-form input,html.touch-ui.mobile-app-ui:not(.tablet-ui) .appointment-form textarea{font-size:21px;min-height:66px;border-radius:18px;padding:15px 17px}html.phone-shape-ui:not(.tablet-ui) .appointment-form textarea,html.touch-ui.mobile-app-ui:not(.tablet-ui) .appointment-form textarea{min-height:110px}html.phone-shape-ui:not(.tablet-ui) .inquiry-reply-form,html.touch-ui.mobile-app-ui:not(.tablet-ui) .inquiry-reply-form{grid-template-columns:1fr;gap:12px}html.phone-shape-ui:not(.tablet-ui) .inquiry-reply-form textarea,html.touch-ui.mobile-app-ui:not(.tablet-ui) .inquiry-reply-form textarea{font-size:22px;min-height:105px;border-radius:20px;padding:16px 18px}html.phone-shape-ui:not(.tablet-ui) .inquiry-reply-form button,html.touch-ui.mobile-app-ui:not(.tablet-ui) .inquiry-reply-form button{font-size:22px;min-height:68px;border-radius:20px}
.desktop-ui .appointment-form-sheet .od-sheet{max-width:620px}.desktop-ui .inquiry-reply-form textarea{min-height:54px}

/* TelliApp v1.3.1 — Android-parity appointments controls (PHONE ONLY) */
.appointment-fab{display:none}
html.mobile-app-ui:not(.tablet-ui) .appointment-top-actions{
  gap:18px!important;
}
html.mobile-app-ui:not(.tablet-ui) .appointment-head-action{
  width:76px!important;
  height:76px!important;
  min-width:76px!important;
  min-height:76px!important;
  padding:10px!important;
  border-radius:24px!important;
  display:grid!important;
  place-items:center!important;
  font-size:54px!important;
  font-weight:400!important;
  line-height:1!important;
}
html.mobile-app-ui:not(.tablet-ui) .appointment-head-action .ui-icon{
  width:52px!important;
  height:52px!important;
  min-width:52px!important;
  min-height:52px!important;
}
html.mobile-app-ui:not(.tablet-ui) .appointment-head-add{
  font-size:58px!important;
  padding:0 0 8px!important;
}
html.mobile-app-ui:not(.tablet-ui) .appointment-fab{
  position:fixed!important;
  z-index:24!important;
  right:24px!important;
  bottom:calc(184px + env(safe-area-inset-bottom))!important;
  min-width:292px!important;
  min-height:116px!important;
  padding:0 34px!important;
  border:0!important;
  border-radius:35px!important;
  background:var(--ui-brand)!important;
  color:#fff!important;
  box-shadow:0 14px 30px rgba(25,74,115,.24)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:22px!important;
  font-size:29px!important;
  font-weight:800!important;
  line-height:1!important;
}
html.mobile-app-ui:not(.tablet-ui) .appointment-fab-plus{
  display:block!important;
  font-size:58px!important;
  font-weight:300!important;
  line-height:.8!important;
  transform:translateY(-2px)!important;
}
html.mobile-app-ui:not(.tablet-ui) .appointment-list,
html.mobile-app-ui:not(.tablet-ui) .appointment-empty{
  padding-bottom:128px!important;
}
@media(max-width:430px){
  html.mobile-app-ui:not(.tablet-ui) .appointment-head-action{
    width:70px!important;height:70px!important;min-width:70px!important;min-height:70px!important;
  }
  html.mobile-app-ui:not(.tablet-ui) .appointment-head-action .ui-icon{width:48px!important;height:48px!important}
  html.mobile-app-ui:not(.tablet-ui) .appointment-head-add{font-size:54px!important}
  html.mobile-app-ui:not(.tablet-ui) .appointment-fab{
    right:16px!important;
    bottom:calc(176px + env(safe-area-inset-bottom))!important;
    min-width:270px!important;
    min-height:106px!important;
    padding:0 28px!important;
    gap:18px!important;
    font-size:26px!important;
  }
  html.mobile-app-ui:not(.tablet-ui) .appointment-fab-plus{font-size:54px!important}
}

/* v1.3.3 — phone-only XL appointment form. Tablet/desktop intentionally unchanged. */
html.phone-shape-ui:not(.tablet-ui) .appointment-form-sheet,
html.touch-ui.mobile-app-ui:not(.tablet-ui) .appointment-form-sheet{
  padding:0 !important;
}
html.phone-shape-ui:not(.tablet-ui) .appointment-form-sheet .od-sheet,
html.touch-ui.mobile-app-ui:not(.tablet-ui) .appointment-form-sheet .od-sheet{
  width:calc(100vw - 16px) !important;
  max-width:none !important;
  max-height:96dvh !important;
  min-height:min(90dvh, 880px) !important;
  padding:14px 24px calc(28px + env(safe-area-inset-bottom)) !important;
  border-radius:30px 30px 0 0 !important;
  box-sizing:border-box !important;
}
html.phone-shape-ui:not(.tablet-ui) .appointment-form-sheet .od-sheet-handle,
html.touch-ui.mobile-app-ui:not(.tablet-ui) .appointment-form-sheet .od-sheet-handle{
  width:58px !important;
  height:7px !important;
  margin:2px auto 16px !important;
}
html.phone-shape-ui:not(.tablet-ui) .appointment-form-sheet .od-sheet-head h2,
html.touch-ui.mobile-app-ui:not(.tablet-ui) .appointment-form-sheet .od-sheet-head h2{
  font-size:40px !important;
  line-height:1.12 !important;
  margin:10px 0 18px !important;
}
html.phone-shape-ui:not(.tablet-ui) .appointment-form-sheet .od-sheet-close,
html.touch-ui.mobile-app-ui:not(.tablet-ui) .appointment-form-sheet .od-sheet-close{
  width:56px !important;
  height:56px !important;
  min-width:56px !important;
  font-size:34px !important;
}
html.phone-shape-ui:not(.tablet-ui) .appointment-form,
html.touch-ui.mobile-app-ui:not(.tablet-ui) .appointment-form{
  gap:16px !important;
}
html.phone-shape-ui:not(.tablet-ui) .appointment-form label,
html.touch-ui.mobile-app-ui:not(.tablet-ui) .appointment-form label{
  font-size:23px !important;
  line-height:1.2 !important;
  font-weight:800 !important;
  gap:10px !important;
}
html.phone-shape-ui:not(.tablet-ui) .appointment-form input,
html.phone-shape-ui:not(.tablet-ui) .appointment-form select,
html.phone-shape-ui:not(.tablet-ui) .appointment-form textarea,
html.touch-ui.mobile-app-ui:not(.tablet-ui) .appointment-form input,
html.touch-ui.mobile-app-ui:not(.tablet-ui) .appointment-form select,
html.touch-ui.mobile-app-ui:not(.tablet-ui) .appointment-form textarea{
  min-height:74px !important;
  font-size:23px !important;
  line-height:1.25 !important;
  padding:17px 18px !important;
  border-radius:20px !important;
  box-sizing:border-box !important;
}
html.phone-shape-ui:not(.tablet-ui) .appointment-form textarea,
html.touch-ui.mobile-app-ui:not(.tablet-ui) .appointment-form textarea{
  min-height:132px !important;
}
html.phone-shape-ui:not(.tablet-ui) .appointment-form .od-part-form-grid,
html.touch-ui.mobile-app-ui:not(.tablet-ui) .appointment-form .od-part-form-grid{
  gap:14px !important;
}
html.phone-shape-ui:not(.tablet-ui) .appointment-form .od-primary-wide,
html.touch-ui.mobile-app-ui:not(.tablet-ui) .appointment-form .od-primary-wide{
  min-height:88px !important;
  font-size:28px !important;
  border-radius:22px !important;
  margin-top:4px !important;
}
html.phone-shape-ui:not(.tablet-ui) .appointment-form-sheet .od-sheet-note,
html.touch-ui.mobile-app-ui:not(.tablet-ui) .appointment-form-sheet .od-sheet-note{
  font-size:16px !important;
  line-height:1.45 !important;
  margin-top:16px !important;
}
@media (max-width:460px){
  html.phone-shape-ui:not(.tablet-ui) .appointment-form-sheet .od-sheet,
  html.touch-ui.mobile-app-ui:not(.tablet-ui) .appointment-form-sheet .od-sheet{
    width:calc(100vw - 10px) !important;
    padding-left:20px !important;
    padding-right:20px !important;
  }
  html.phone-shape-ui:not(.tablet-ui) .appointment-form .od-part-form-grid,
  html.touch-ui.mobile-app-ui:not(.tablet-ui) .appointment-form .od-part-form-grid{
    grid-template-columns:1fr !important;
  }
}


/* v1.4.0 — New intake / order creation */
.new-intake-sheet .od-sheet{max-width:900px;}
.new-intake-form{display:grid;gap:18px;}
.intake-section{display:grid;gap:12px;padding:18px;border:1px solid var(--ui-border);border-radius:22px;background:var(--ui-card-bg);}
.intake-section h3{margin:0;font-size:20px;}
.new-intake-form label{display:grid;gap:7px;font-weight:700;font-size:14px;}
.new-intake-form input,.new-intake-form select,.new-intake-form textarea{width:100%;box-sizing:border-box;border:1px solid var(--ui-field-border);border-radius:14px;background:var(--ui-field-bg);padding:13px 14px;font:inherit;color:var(--ui-text);}
.intake-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;}
.intake-device-list{display:flex;gap:8px;overflow:auto;}
.intake-device-list button{border:1px solid var(--ui-field-border);background:var(--ui-field-bg);border-radius:14px;padding:10px 12px;text-align:left;min-width:150px;color:var(--ui-text);}
.intake-device-list button small{display:block;color:var(--ui-text);margin-top:3px;}
.intake-problem-groups{display:grid;gap:12px;}
.intake-problem-group{display:grid;gap:8px;}
.intake-problem-group h4{margin:0;font-size:15px;}
.intake-problem-options{display:flex;gap:8px;overflow-x:auto;padding-bottom:3px;}
.intake-problem-option{min-width:190px;border:1px solid var(--ui-field-border);background:var(--ui-field-bg);border-radius:15px;padding:12px;text-align:left;display:grid;gap:4px;color:var(--ui-text);}
.intake-problem-option.active{border-color:var(--ui-brand);background:var(--ui-brand-soft);box-shadow:0 0 0 2px rgba(52,152,232,.12);}
.intake-problem-option span{font-weight:750;}.intake-problem-option small{color:var(--ui-text);}
.intake-empty-problems{padding:12px;border-radius:14px;background:var(--ui-card-bg);color:var(--ui-text);}
@media (max-width:700px){
  html.mobile-app-ui .new-intake-sheet .od-sheet,html.phone-shape-ui .new-intake-sheet .od-sheet{width:calc(100vw - 18px)!important;max-width:none!important;max-height:96dvh!important;border-radius:28px 28px 0 0!important;}
  html.mobile-app-ui .new-intake-sheet .od-sheet-body,html.phone-shape-ui .new-intake-sheet .od-sheet-body{padding:0 20px 30px!important;}
  html.mobile-app-ui .new-intake-sheet .od-sheet-head h2,html.phone-shape-ui .new-intake-sheet .od-sheet-head h2{font-size:34px!important;}
  html.mobile-app-ui .new-intake-form,html.phone-shape-ui .new-intake-form{gap:22px!important;}
  html.mobile-app-ui .intake-section,html.phone-shape-ui .intake-section{padding:20px!important;border-radius:24px!important;gap:15px!important;}
  html.mobile-app-ui .intake-section h3,html.phone-shape-ui .intake-section h3{font-size:25px!important;}
  html.mobile-app-ui .new-intake-form label,html.phone-shape-ui .new-intake-form label{font-size:18px!important;gap:9px!important;}
  html.mobile-app-ui .new-intake-form input,html.mobile-app-ui .new-intake-form select,html.mobile-app-ui .new-intake-form textarea,html.phone-shape-ui .new-intake-form input,html.phone-shape-ui .new-intake-form select,html.phone-shape-ui .new-intake-form textarea{font-size:20px!important;min-height:64px!important;border-radius:18px!important;padding:16px 17px!important;}
  html.mobile-app-ui .new-intake-form textarea,html.phone-shape-ui .new-intake-form textarea{min-height:104px!important;}
  html.mobile-app-ui .intake-grid,html.phone-shape-ui .intake-grid{grid-template-columns:1fr!important;gap:15px!important;}
  html.mobile-app-ui .intake-problem-group h4,html.phone-shape-ui .intake-problem-group h4{font-size:20px!important;}
  html.mobile-app-ui .intake-problem-option,html.phone-shape-ui .intake-problem-option{min-width:250px!important;padding:17px!important;border-radius:19px!important;font-size:19px!important;}
  html.mobile-app-ui .intake-problem-option small,html.phone-shape-ui .intake-problem-option small{font-size:16px!important;}
  html.mobile-app-ui .intake-create-btn,html.phone-shape-ui .intake-create-btn{min-height:78px!important;font-size:23px!important;border-radius:22px!important;position:sticky;bottom:0;z-index:2;}
}


/* v1.4.1 — New intake: true full-screen phone parity */
.intake-crm-status{display:none}
.intake-section-icon{display:inline-grid;place-items:center;margin-right:10px}
@media (max-width:700px){
  html.phone-shape-ui:not(.tablet-ui) .new-intake-sheet,
  html.touch-ui.mobile-app-ui:not(.tablet-ui) .new-intake-sheet{
    position:fixed!important;inset:0!important;background:var(--bg,#f3f6fb)!important;z-index:9999!important;display:block!important;padding:0!important;overflow:hidden!important;
  }
  html.phone-shape-ui:not(.tablet-ui) .new-intake-sheet .od-sheet,
  html.touch-ui.mobile-app-ui:not(.tablet-ui) .new-intake-sheet .od-sheet{
    position:absolute!important;inset:0!important;transform:none!important;width:100vw!important;height:100dvh!important;max-width:none!important;max-height:none!important;border-radius:0!important;margin:0!important;padding:0!important;background:var(--bg,#f3f6fb)!important;box-shadow:none!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;
  }
  html.phone-shape-ui:not(.tablet-ui) .new-intake-sheet .od-sheet-handle,
  html.touch-ui.mobile-app-ui:not(.tablet-ui) .new-intake-sheet .od-sheet-handle{display:none!important}
  html.phone-shape-ui:not(.tablet-ui) .new-intake-sheet .od-sheet-head,
  html.touch-ui.mobile-app-ui:not(.tablet-ui) .new-intake-sheet .od-sheet-head{
    min-height:100px!important;padding:calc(18px + env(safe-area-inset-top)) 28px 14px!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:18px!important;background:var(--bg,#f3f6fb)!important;border:0!important;position:relative!important;flex:0 0 auto!important;
  }
  html.phone-shape-ui:not(.tablet-ui) .new-intake-sheet .od-sheet-head h2,
  html.touch-ui.mobile-app-ui:not(.tablet-ui) .new-intake-sheet .od-sheet-head h2{
    font-size:38px!important;line-height:1.1!important;margin:0!important;font-weight:800!important;order:2!important;
  }
  html.phone-shape-ui:not(.tablet-ui) .new-intake-sheet .od-sheet-close,
  html.touch-ui.mobile-app-ui:not(.tablet-ui) .new-intake-sheet .od-sheet-close{
    position:static!important;order:1!important;width:62px!important;height:62px!important;min-width:62px!important;border:0!important;border-radius:18px!important;background:transparent!important;font-size:48px!important;line-height:1!important;padding:0!important;color:currentColor!important;display:grid!important;place-items:center!important;
  }
  html.phone-shape-ui:not(.tablet-ui) .new-intake-sheet .od-sheet-body,
  html.touch-ui.mobile-app-ui:not(.tablet-ui) .new-intake-sheet .od-sheet-body{
    flex:1 1 auto!important;overflow-y:auto!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important;padding:0 30px calc(130px + env(safe-area-inset-bottom))!important;background:var(--bg,#f3f6fb)!important;
  }
  html.phone-shape-ui:not(.tablet-ui) .new-intake-form,
  html.touch-ui.mobile-app-ui:not(.tablet-ui) .new-intake-form{display:block!important}
  html.phone-shape-ui:not(.tablet-ui) .intake-crm-status,
  html.touch-ui.mobile-app-ui:not(.tablet-ui) .intake-crm-status{
    display:flex!important;align-items:center!important;gap:18px!important;margin:12px 0 28px!important;padding:24px 26px!important;border-radius:28px!important;background:var(--ui-success-soft)!important;color:var(--ui-success)!important;font-size:21px!important;line-height:1.35!important;
  }
  html.phone-shape-ui:not(.tablet-ui) .intake-crm-icon,
  html.touch-ui.mobile-app-ui:not(.tablet-ui) .intake-crm-icon{font-size:30px!important;flex:0 0 auto!important}
  html.phone-shape-ui:not(.tablet-ui) .intake-section,
  html.touch-ui.mobile-app-ui:not(.tablet-ui) .intake-section{
    display:grid!important;gap:18px!important;padding:0!important;margin:0 0 36px!important;border:0!important;border-radius:0!important;background:transparent!important;
  }
  html.phone-shape-ui:not(.tablet-ui) .intake-section h3,
  html.touch-ui.mobile-app-ui:not(.tablet-ui) .intake-section h3{
    display:flex!important;align-items:center!important;font-size:32px!important;line-height:1.2!important;margin:0 0 6px!important;font-weight:800!important;
  }
  html.phone-shape-ui:not(.tablet-ui) .intake-section-icon,
  html.touch-ui.mobile-app-ui:not(.tablet-ui) .intake-section-icon{
    width:70px!important;height:70px!important;border-radius:50%!important;background:var(--ui-brand-soft)!important;margin-right:18px!important;font-size:30px!important;
  }
  html.phone-shape-ui:not(.tablet-ui) .new-intake-form label,
  html.touch-ui.mobile-app-ui:not(.tablet-ui) .new-intake-form label{font-size:0!important;gap:0!important;font-weight:400!important}
  html.phone-shape-ui:not(.tablet-ui) .new-intake-form input,
  html.phone-shape-ui:not(.tablet-ui) .new-intake-form select,
  html.phone-shape-ui:not(.tablet-ui) .new-intake-form textarea,
  html.touch-ui.mobile-app-ui:not(.tablet-ui) .new-intake-form input,
  html.touch-ui.mobile-app-ui:not(.tablet-ui) .new-intake-form select,
  html.touch-ui.mobile-app-ui:not(.tablet-ui) .new-intake-form textarea{
    min-height:92px!important;font-size:27px!important;line-height:1.25!important;padding:22px 24px!important;border-radius:28px!important;border:2px solid var(--ui-field-border)!important;background:var(--ui-field-bg)!important;color:var(--ui-text)!important;
  }
  html.phone-shape-ui:not(.tablet-ui) .new-intake-form textarea,
  html.touch-ui.mobile-app-ui:not(.tablet-ui) .new-intake-form textarea{min-height:132px!important;resize:vertical!important}
  html.phone-shape-ui:not(.tablet-ui) .intake-grid,
  html.touch-ui.mobile-app-ui:not(.tablet-ui) .intake-grid{grid-template-columns:1fr!important;gap:18px!important}
  html.phone-shape-ui:not(.tablet-ui) .intake-device-list,
  html.touch-ui.mobile-app-ui:not(.tablet-ui) .intake-device-list{gap:14px!important;margin-top:2px!important;padding-bottom:4px!important}
  html.phone-shape-ui:not(.tablet-ui) .intake-device-list button,
  html.touch-ui.mobile-app-ui:not(.tablet-ui) .intake-device-list button{min-width:230px!important;padding:18px!important;border-radius:22px!important;font-size:20px!important}
  html.phone-shape-ui:not(.tablet-ui) .intake-problem-groups,
  html.touch-ui.mobile-app-ui:not(.tablet-ui) .intake-problem-groups{gap:18px!important}
  html.phone-shape-ui:not(.tablet-ui) .intake-problem-group,
  html.touch-ui.mobile-app-ui:not(.tablet-ui) .intake-problem-group{gap:10px!important}
  html.phone-shape-ui:not(.tablet-ui) .intake-problem-group h4,
  html.touch-ui.mobile-app-ui:not(.tablet-ui) .intake-problem-group h4{font-size:25px!important;margin:0!important}
  html.phone-shape-ui:not(.tablet-ui) .intake-problem-options,
  html.touch-ui.mobile-app-ui:not(.tablet-ui) .intake-problem-options{display:grid!important;grid-template-columns:1fr!important;gap:14px!important;overflow:visible!important}
  html.phone-shape-ui:not(.tablet-ui) .intake-problem-option,
  html.touch-ui.mobile-app-ui:not(.tablet-ui) .intake-problem-option{
    min-width:0!important;width:100%!important;min-height:108px!important;padding:20px 22px!important;border-radius:26px!important;font-size:23px!important;display:grid!important;grid-template-columns:1fr!important;align-content:center!important;
  }
  html.phone-shape-ui:not(.tablet-ui) .intake-problem-option span,
  html.touch-ui.mobile-app-ui:not(.tablet-ui) .intake-problem-option span{font-size:24px!important;line-height:1.2!important}
  html.phone-shape-ui:not(.tablet-ui) .intake-problem-option small,
  html.touch-ui.mobile-app-ui:not(.tablet-ui) .intake-problem-option small{font-size:18px!important;margin-top:6px!important}
  html.phone-shape-ui:not(.tablet-ui) .intake-create-btn,
  html.touch-ui.mobile-app-ui:not(.tablet-ui) .intake-create-btn{
    position:fixed!important;left:24px!important;right:24px!important;bottom:calc(18px + env(safe-area-inset-bottom))!important;width:auto!important;z-index:10001!important;min-height:98px!important;border-radius:28px!important;font-size:29px!important;font-weight:800!important;box-shadow:0 10px 28px rgba(0,0,0,.22)!important;
  }
  html.phone-shape-ui:not(.tablet-ui) .new-intake-sheet .od-sheet-note,
  html.touch-ui.mobile-app-ui:not(.tablet-ui) .new-intake-sheet .od-sheet-note{font-size:16px!important;line-height:1.4!important;margin:8px 0 0!important}
}

/* v1.4.2 — FIX: S24/full phone intake fullscreen regardless of CSS viewport width.
   Previous v1.4.1 rules were trapped in @media(max-width:700px), while S24 PWA
   can report a wider CSS viewport because of app scaling. */
html.phone-shape-ui:not(.tablet-ui) .new-intake-sheet,
html.touch-ui.mobile-app-ui:not(.tablet-ui) .new-intake-sheet{
  position:fixed!important;inset:0!important;z-index:99999!important;
  display:block!important;padding:0!important;margin:0!important;
  background:var(--bg,#f3f6fb)!important;overflow:hidden!important;
}
html.phone-shape-ui:not(.tablet-ui) .new-intake-sheet .od-sheet,
html.touch-ui.mobile-app-ui:not(.tablet-ui) .new-intake-sheet .od-sheet{
  position:absolute!important;inset:0!important;transform:none!important;
  width:100%!important;height:100dvh!important;max-width:none!important;max-height:none!important;
  margin:0!important;padding:0!important;border-radius:0!important;
  background:var(--bg,#f3f6fb)!important;box-shadow:none!important;
  display:flex!important;flex-direction:column!important;overflow:hidden!important;
}
html.phone-shape-ui:not(.tablet-ui) .new-intake-sheet .od-sheet-handle,
html.touch-ui.mobile-app-ui:not(.tablet-ui) .new-intake-sheet .od-sheet-handle{display:none!important}
html.phone-shape-ui:not(.tablet-ui) .new-intake-sheet .od-sheet-head,
html.touch-ui.mobile-app-ui:not(.tablet-ui) .new-intake-sheet .od-sheet-head{
  min-height:112px!important;padding:calc(20px + env(safe-area-inset-top)) 28px 16px!important;
  display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:20px!important;
  flex:0 0 auto!important;background:var(--bg,#f3f6fb)!important;border:0!important;
}
html.phone-shape-ui:not(.tablet-ui) .new-intake-sheet .od-sheet-head h2,
html.touch-ui.mobile-app-ui:not(.tablet-ui) .new-intake-sheet .od-sheet-head h2{
  margin:0!important;order:2!important;font-size:42px!important;line-height:1.08!important;font-weight:850!important;
}
html.phone-shape-ui:not(.tablet-ui) .new-intake-sheet .od-sheet-close,
html.touch-ui.mobile-app-ui:not(.tablet-ui) .new-intake-sheet .od-sheet-close{
  position:static!important;order:1!important;width:68px!important;height:68px!important;min-width:68px!important;
  padding:0!important;border:0!important;border-radius:20px!important;background:transparent!important;
  color:currentColor!important;font-size:54px!important;line-height:1!important;display:grid!important;place-items:center!important;
}
html.phone-shape-ui:not(.tablet-ui) .new-intake-sheet .od-sheet-body,
html.touch-ui.mobile-app-ui:not(.tablet-ui) .new-intake-sheet .od-sheet-body{
  flex:1 1 auto!important;overflow-y:auto!important;-webkit-overflow-scrolling:touch!important;overscroll-behavior:contain!important;
  padding:0 30px calc(154px + env(safe-area-inset-bottom))!important;background:var(--bg,#f3f6fb)!important;
}
html.phone-shape-ui:not(.tablet-ui) .new-intake-form,
html.touch-ui.mobile-app-ui:not(.tablet-ui) .new-intake-form{display:block!important}
html.phone-shape-ui:not(.tablet-ui) .intake-crm-status,
html.touch-ui.mobile-app-ui:not(.tablet-ui) .intake-crm-status{
  display:flex!important;align-items:center!important;gap:18px!important;margin:10px 0 32px!important;padding:26px!important;
  border-radius:30px!important;background:var(--ui-success-soft)!important;color:var(--ui-success)!important;font-size:23px!important;line-height:1.35!important;
}
html.phone-shape-ui:not(.tablet-ui) .intake-section,
html.touch-ui.mobile-app-ui:not(.tablet-ui) .intake-section{
  display:grid!important;gap:20px!important;padding:0!important;margin:0 0 40px!important;border:0!important;border-radius:0!important;background:transparent!important;
}
html.phone-shape-ui:not(.tablet-ui) .intake-section h3,
html.touch-ui.mobile-app-ui:not(.tablet-ui) .intake-section h3{
  display:flex!important;align-items:center!important;margin:0 0 6px!important;font-size:34px!important;line-height:1.15!important;font-weight:850!important;
}
html.phone-shape-ui:not(.tablet-ui) .intake-section-icon,
html.touch-ui.mobile-app-ui:not(.tablet-ui) .intake-section-icon{
  width:76px!important;height:76px!important;min-width:76px!important;border-radius:50%!important;
  display:grid!important;place-items:center!important;margin-right:18px!important;background:var(--ui-brand-soft)!important;font-size:32px!important;
}
html.phone-shape-ui:not(.tablet-ui) .new-intake-form label,
html.touch-ui.mobile-app-ui:not(.tablet-ui) .new-intake-form label{
  display:grid!important;gap:9px!important;font-size:20px!important;font-weight:800!important;
}
html.phone-shape-ui:not(.tablet-ui) .new-intake-form input,
html.phone-shape-ui:not(.tablet-ui) .new-intake-form select,
html.phone-shape-ui:not(.tablet-ui) .new-intake-form textarea,
html.touch-ui.mobile-app-ui:not(.tablet-ui) .new-intake-form input,
html.touch-ui.mobile-app-ui:not(.tablet-ui) .new-intake-form select,
html.touch-ui.mobile-app-ui:not(.tablet-ui) .new-intake-form textarea{
  width:100%!important;box-sizing:border-box!important;min-height:98px!important;
  padding:22px 24px!important;border:2px solid var(--ui-field-border)!important;border-radius:30px!important;
  background:var(--ui-field-bg)!important;color:var(--ui-text)!important;font-size:28px!important;line-height:1.25!important;
}
html.phone-shape-ui:not(.tablet-ui) .new-intake-form textarea,
html.touch-ui.mobile-app-ui:not(.tablet-ui) .new-intake-form textarea{min-height:142px!important;resize:vertical!important}
html.phone-shape-ui:not(.tablet-ui) .intake-grid,
html.touch-ui.mobile-app-ui:not(.tablet-ui) .intake-grid{grid-template-columns:1fr!important;gap:20px!important}
html.phone-shape-ui:not(.tablet-ui) .intake-problem-groups,
html.touch-ui.mobile-app-ui:not(.tablet-ui) .intake-problem-groups{display:grid!important;gap:20px!important}
html.phone-shape-ui:not(.tablet-ui) .intake-problem-group,
html.touch-ui.mobile-app-ui:not(.tablet-ui) .intake-problem-group{display:grid!important;gap:12px!important}
html.phone-shape-ui:not(.tablet-ui) .intake-problem-group h4,
html.touch-ui.mobile-app-ui:not(.tablet-ui) .intake-problem-group h4{margin:0!important;font-size:27px!important;line-height:1.2!important}
html.phone-shape-ui:not(.tablet-ui) .intake-problem-options,
html.touch-ui.mobile-app-ui:not(.tablet-ui) .intake-problem-options{
  display:grid!important;grid-template-columns:1fr!important;gap:14px!important;overflow:visible!important;padding:0!important;
}
html.phone-shape-ui:not(.tablet-ui) .intake-problem-option,
html.touch-ui.mobile-app-ui:not(.tablet-ui) .intake-problem-option{
  width:100%!important;min-width:0!important;min-height:116px!important;padding:22px 24px!important;
  border-radius:28px!important;font-size:24px!important;display:grid!important;align-content:center!important;gap:6px!important;
}
html.phone-shape-ui:not(.tablet-ui) .intake-problem-option span,
html.touch-ui.mobile-app-ui:not(.tablet-ui) .intake-problem-option span{font-size:25px!important;line-height:1.18!important;font-weight:800!important}
html.phone-shape-ui:not(.tablet-ui) .intake-problem-option small,
html.touch-ui.mobile-app-ui:not(.tablet-ui) .intake-problem-option small{font-size:19px!important;line-height:1.2!important}
html.phone-shape-ui:not(.tablet-ui) .intake-create-btn,
html.touch-ui.mobile-app-ui:not(.tablet-ui) .intake-create-btn{
  position:fixed!important;left:26px!important;right:26px!important;bottom:calc(20px + env(safe-area-inset-bottom))!important;
  z-index:100001!important;width:auto!important;min-height:106px!important;padding:0 28px!important;
  border-radius:30px!important;font-size:30px!important;font-weight:850!important;box-shadow:0 12px 30px rgba(0,0,0,.24)!important;
}
html.phone-shape-ui:not(.tablet-ui) .new-intake-sheet .od-sheet-note,
html.touch-ui.mobile-app-ui:not(.tablet-ui) .new-intake-sheet .od-sheet-note{
  margin:8px 0 0!important;font-size:17px!important;line-height:1.45!important;
}

/* v1.4.3 — intake keyboard stability + native-style fault accordions */
/* Keep the full-screen intake presentation stable while the soft keyboard is visible. */
html.phone-shape-ui:not(.tablet-ui) .new-intake-sheet .od-sheet,
html.mobile-app-ui:not(.tablet-ui) .new-intake-sheet .od-sheet{
  width:100vw!important;
  min-width:100vw!important;
  max-width:100vw!important;
}
html.phone-shape-ui:not(.tablet-ui) .new-intake-sheet .od-sheet-body,
html.mobile-app-ui:not(.tablet-ui) .new-intake-sheet .od-sheet-body{
  width:100%!important;
  box-sizing:border-box!important;
}
html.phone-shape-ui:not(.tablet-ui) .new-intake-form input:focus,
html.phone-shape-ui:not(.tablet-ui) .new-intake-form select:focus,
html.phone-shape-ui:not(.tablet-ui) .new-intake-form textarea:focus,
html.mobile-app-ui:not(.tablet-ui) .new-intake-form input:focus,
html.mobile-app-ui:not(.tablet-ui) .new-intake-form select:focus,
html.mobile-app-ui:not(.tablet-ui) .new-intake-form textarea:focus{
  font-size:28px!important;
}

.intake-problem-group-toggle{display:none}
@media (hover:none), (pointer:coarse){
  html.phone-shape-ui:not(.tablet-ui) .intake-problem-group,
  html.mobile-app-ui:not(.tablet-ui) .intake-problem-group{
    display:block!important;
  }
  html.phone-shape-ui:not(.tablet-ui) .intake-problem-group>h4,
  html.mobile-app-ui:not(.tablet-ui) .intake-problem-group>h4{
    display:none!important;
  }
  html.phone-shape-ui:not(.tablet-ui) .intake-problem-group-toggle,
  html.mobile-app-ui:not(.tablet-ui) .intake-problem-group-toggle{
    width:100%!important;min-height:142px!important;padding:20px 26px!important;
    display:grid!important;grid-template-columns:78px 1fr 42px!important;align-items:center!important;gap:18px!important;
    border:2px solid var(--ui-field-border)!important;border-radius:34px!important;background:var(--ui-field-bg)!important;color:var(--ui-text)!important;
    text-align:left!important;box-sizing:border-box!important;
  }
  html.phone-shape-ui:not(.tablet-ui) .intake-problem-group-icon,
  html.mobile-app-ui:not(.tablet-ui) .intake-problem-group-icon{
    width:70px!important;height:70px!important;border-radius:50%!important;display:grid!important;place-items:center!important;
    background:var(--ui-brand-soft)!important;color:var(--ui-text-muted)!important;font-size:31px!important;
  }
  html.phone-shape-ui:not(.tablet-ui) .intake-problem-group-copy,
  html.mobile-app-ui:not(.tablet-ui) .intake-problem-group-copy{display:grid!important;gap:6px!important;min-width:0!important}
  html.phone-shape-ui:not(.tablet-ui) .intake-problem-group-copy b,
  html.mobile-app-ui:not(.tablet-ui) .intake-problem-group-copy b{font-size:28px!important;line-height:1.18!important;font-weight:850!important}
  html.phone-shape-ui:not(.tablet-ui) .intake-problem-group-copy small,
  html.mobile-app-ui:not(.tablet-ui) .intake-problem-group-copy small{font-size:21px!important;line-height:1.2!important;color:var(--ui-text)!important}
  html.phone-shape-ui:not(.tablet-ui) .intake-problem-group-chevron,
  html.mobile-app-ui:not(.tablet-ui) .intake-problem-group-chevron{
    font-size:54px!important;line-height:1!important;justify-self:end!important;transition:transform .16s ease!important;color:var(--ui-text)!important;
  }
  html.phone-shape-ui:not(.tablet-ui) .intake-problem-group.open .intake-problem-group-chevron,
  html.mobile-app-ui:not(.tablet-ui) .intake-problem-group.open .intake-problem-group-chevron{transform:rotate(90deg)!important}
  html.phone-shape-ui:not(.tablet-ui) .intake-problem-options[hidden],
  html.mobile-app-ui:not(.tablet-ui) .intake-problem-options[hidden]{display:none!important}
  html.phone-shape-ui:not(.tablet-ui) .intake-problem-options:not([hidden]),
  html.mobile-app-ui:not(.tablet-ui) .intake-problem-options:not([hidden]){
    display:grid!important;grid-template-columns:1fr!important;gap:12px!important;margin-top:12px!important;padding:0!important;
  }
}


/* =========================================================
   TELLIAPP v1.4.5 — INTAKE ACCORDION ON ALL DEVICES
   Functional parity: phone / tablet / desktop.
   Only layout sizing may differ; interaction is identical.
   ========================================================= */
.new-intake-sheet .intake-problem-groups{
  display:grid !important;
  gap:14px !important;
}
.new-intake-sheet .intake-problem-group{
  display:block !important;
}
.new-intake-sheet .intake-problem-group > h4{
  display:none !important;
}
.new-intake-sheet .intake-problem-group-toggle{
  width:100% !important;
  min-height:96px !important;
  padding:16px 20px !important;
  display:grid !important;
  grid-template-columns:58px minmax(0,1fr) 34px !important;
  align-items:center !important;
  gap:14px !important;
  border:1.5px solid var(--ui-field-border) !important;
  border-radius:24px !important;
  background:var(--ui-field-bg) !important;
  color:var(--ui-text) !important;
  text-align:left !important;
  box-sizing:border-box !important;
  cursor:pointer !important;
}
.new-intake-sheet .intake-problem-group-icon{
  width:54px !important;
  height:54px !important;
  border-radius:50% !important;
  display:grid !important;
  place-items:center !important;
  background:var(--ui-brand-soft) !important;
  font-size:24px !important;
}
.new-intake-sheet .intake-problem-group-copy{
  display:grid !important;
  gap:4px !important;
  min-width:0 !important;
}
.new-intake-sheet .intake-problem-group-copy b{
  font-size:20px !important;
  line-height:1.2 !important;
  font-weight:800 !important;
}
.new-intake-sheet .intake-problem-group-copy small{
  font-size:15px !important;
  line-height:1.25 !important;
  color:var(--ui-text) !important;
}
.new-intake-sheet .intake-problem-group-chevron{
  font-size:38px !important;
  line-height:1 !important;
  justify-self:end !important;
  color:var(--ui-text) !important;
  transition:transform .16s ease !important;
}
.new-intake-sheet .intake-problem-group.open .intake-problem-group-chevron{
  transform:rotate(90deg) !important;
}
.new-intake-sheet .intake-problem-options[hidden]{
  display:none !important;
}
.new-intake-sheet .intake-problem-options:not([hidden]){
  display:grid !important;
  grid-template-columns:1fr !important;
  gap:10px !important;
  margin-top:10px !important;
  padding:0 !important;
}
.new-intake-sheet .intake-problem-option{
  width:100% !important;
  min-height:76px !important;
  padding:14px 18px !important;
  border:1.5px solid var(--ui-field-border) !important;
  border-radius:20px !important;
  background:var(--ui-field-bg) !important;
  text-align:left !important;
  display:grid !important;
  gap:4px !important;
  box-sizing:border-box !important;
  color:var(--ui-text)!important;
}
.new-intake-sheet .intake-problem-option.active{
  border-color:var(--ui-brand) !important;
  background:var(--ui-brand-soft) !important;
  box-shadow:0 0 0 1px rgba(52,153,232,.12) !important;
}
.new-intake-sheet .intake-problem-option span{
  font-size:18px !important;
  line-height:1.22 !important;
  font-weight:800 !important;
}
.new-intake-sheet .intake-problem-option small{
  font-size:14px !important;
  line-height:1.25 !important;
  color:var(--ui-text) !important;
}

/* Large phone presentation, matching the native app's touch targets. */
html.phone-shape-ui:not(.tablet-ui) .new-intake-sheet .intake-problem-groups,
html.mobile-app-ui:not(.tablet-ui) .new-intake-sheet .intake-problem-groups{
  gap:18px !important;
}
html.phone-shape-ui:not(.tablet-ui) .new-intake-sheet .intake-problem-group-toggle,
html.mobile-app-ui:not(.tablet-ui) .new-intake-sheet .intake-problem-group-toggle{
  min-height:142px !important;
  padding:20px 26px !important;
  grid-template-columns:78px minmax(0,1fr) 42px !important;
  gap:18px !important;
  border-radius:34px !important;
}
html.phone-shape-ui:not(.tablet-ui) .new-intake-sheet .intake-problem-group-icon,
html.mobile-app-ui:not(.tablet-ui) .new-intake-sheet .intake-problem-group-icon{
  width:70px !important;
  height:70px !important;
  font-size:31px !important;
}
html.phone-shape-ui:not(.tablet-ui) .new-intake-sheet .intake-problem-group-copy b,
html.mobile-app-ui:not(.tablet-ui) .new-intake-sheet .intake-problem-group-copy b{
  font-size:28px !important;
}
html.phone-shape-ui:not(.tablet-ui) .new-intake-sheet .intake-problem-group-copy small,
html.mobile-app-ui:not(.tablet-ui) .new-intake-sheet .intake-problem-group-copy small{
  font-size:21px !important;
}
html.phone-shape-ui:not(.tablet-ui) .new-intake-sheet .intake-problem-group-chevron,
html.mobile-app-ui:not(.tablet-ui) .new-intake-sheet .intake-problem-group-chevron{
  font-size:54px !important;
}
html.phone-shape-ui:not(.tablet-ui) .new-intake-sheet .intake-problem-options:not([hidden]),
html.mobile-app-ui:not(.tablet-ui) .new-intake-sheet .intake-problem-options:not([hidden]){
  gap:12px !important;
  margin-top:12px !important;
}
html.phone-shape-ui:not(.tablet-ui) .new-intake-sheet .intake-problem-option,
html.mobile-app-ui:not(.tablet-ui) .new-intake-sheet .intake-problem-option{
  min-height:108px !important;
  padding:20px 24px !important;
  border-radius:28px !important;
}
html.phone-shape-ui:not(.tablet-ui) .new-intake-sheet .intake-problem-option span,
html.mobile-app-ui:not(.tablet-ui) .new-intake-sheet .intake-problem-option span{
  font-size:25px !important;
}
html.phone-shape-ui:not(.tablet-ui) .new-intake-sheet .intake-problem-option small,
html.mobile-app-ui:not(.tablet-ui) .new-intake-sheet .intake-problem-option small{
  font-size:19px !important;
}


/* =========================================================
   TELLIAPP v1.4.6 — KEYBOARD-STABLE FULLSCREEN INTAKE
   Phone remains phone while the Android/iOS keyboard is open.
   ========================================================= */
html.phone-shape-ui:not(.tablet-ui) .new-intake-sheet,
html.mobile-app-ui:not(.tablet-ui) .new-intake-sheet{
  width:100%!important;
  max-width:100%!important;
  overflow-x:hidden!important;
  touch-action:pan-y!important;
}
html.phone-shape-ui:not(.tablet-ui) .new-intake-sheet .od-sheet,
html.mobile-app-ui:not(.tablet-ui) .new-intake-sheet .od-sheet{
  left:0!important;
  right:0!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  overflow-x:hidden!important;
  transform:none!important;
  contain:layout paint!important;
}
html.phone-shape-ui:not(.tablet-ui) .new-intake-sheet .od-sheet-body,
html.mobile-app-ui:not(.tablet-ui) .new-intake-sheet .od-sheet-body,
html.phone-shape-ui:not(.tablet-ui) .new-intake-form,
html.mobile-app-ui:not(.tablet-ui) .new-intake-form,
html.phone-shape-ui:not(.tablet-ui) .intake-section,
html.mobile-app-ui:not(.tablet-ui) .intake-section{
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  box-sizing:border-box!important;
  overflow-x:hidden!important;
}
html.phone-shape-ui:not(.tablet-ui) .new-intake-form .intake-grid,
html.mobile-app-ui:not(.tablet-ui) .new-intake-form .intake-grid{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  width:100%!important;
  min-width:0!important;
}
html.phone-shape-ui:not(.tablet-ui) .new-intake-form label,
html.mobile-app-ui:not(.tablet-ui) .new-intake-form label,
html.phone-shape-ui:not(.tablet-ui) .new-intake-form input,
html.mobile-app-ui:not(.tablet-ui) .new-intake-form input,
html.phone-shape-ui:not(.tablet-ui) .new-intake-form select,
html.mobile-app-ui:not(.tablet-ui) .new-intake-form select,
html.phone-shape-ui:not(.tablet-ui) .new-intake-form textarea,
html.mobile-app-ui:not(.tablet-ui) .new-intake-form textarea{
  min-width:0!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
html.phone-shape-ui:not(.tablet-ui) .new-intake-sheet.intake-keyboard-active .od-sheet-head,
html.mobile-app-ui:not(.tablet-ui) .new-intake-sheet.intake-keyboard-active .od-sheet-head{
  flex-shrink:0!important;
}
html.phone-shape-ui:not(.tablet-ui) .new-intake-sheet.intake-keyboard-active .od-sheet-body,
html.mobile-app-ui:not(.tablet-ui) .new-intake-sheet.intake-keyboard-active .od-sheet-body{
  overflow-y:auto!important;
  overflow-x:hidden!important;
  overscroll-behavior-x:none!important;
}


/* =========================================================
   TELLIAPP v1.4.7 — EXISTING CLIENT / DEVICE / MODEL PRICE
   Same behavior on phone, tablet and desktop.
   ========================================================= */
.new-intake-sheet .intake-device-list{
  display:grid!important;
  gap:10px!important;
  margin-top:12px!important;
}
.new-intake-sheet .intake-existing-devices-title{
  font-weight:800!important;
  font-size:15px!important;
  margin:4px 2px!important;
}
.new-intake-sheet .intake-existing-device{
  width:100%!important;
  min-height:74px!important;
  border:1.5px solid var(--ui-field-border)!important;
  border-radius:20px!important;
  background:var(--ui-field-bg)!important;
  display:grid!important;
  grid-template-columns:48px minmax(0,1fr) 28px!important;
  align-items:center!important;
  gap:12px!important;
  padding:12px 16px!important;
  text-align:left!important;
  box-sizing:border-box!important;
  color:var(--ui-text)!important;
}
.new-intake-sheet .intake-existing-device.active{
  border-color:var(--ui-brand)!important;
  background:var(--ui-brand-soft)!important;
}
.new-intake-sheet .intake-existing-device-icon{
  width:46px!important;height:46px!important;border-radius:16px!important;
  display:grid!important;place-items:center!important;background:var(--ui-brand-soft)!important;font-size:22px!important;
}
.new-intake-sheet .intake-existing-device b{display:block!important;font-size:17px!important;line-height:1.2!important;}
.new-intake-sheet .intake-existing-device small{display:block!important;margin-top:4px!important;color:var(--ui-text)!important;font-size:13px!important;}
.new-intake-sheet .intake-existing-device-chevron{font-size:30px!important;color:var(--ui-text)!important;justify-self:end!important;}
.new-intake-sheet .intake-no-devices{
  padding:14px 16px!important;border-radius:16px!important;background:var(--ui-card-bg)!important;color:var(--ui-text)!important;font-size:14px!important;
}
html.phone-shape-ui:not(.tablet-ui) .new-intake-sheet .intake-existing-devices-title,
html.mobile-app-ui:not(.tablet-ui) .new-intake-sheet .intake-existing-devices-title{
  font-size:22px!important;
}
html.phone-shape-ui:not(.tablet-ui) .new-intake-sheet .intake-existing-device,
html.mobile-app-ui:not(.tablet-ui) .new-intake-sheet .intake-existing-device{
  min-height:116px!important;
  grid-template-columns:70px minmax(0,1fr) 38px!important;
  gap:18px!important;
  padding:18px 22px!important;
  border-radius:30px!important;
}
html.phone-shape-ui:not(.tablet-ui) .new-intake-sheet .intake-existing-device-icon,
html.mobile-app-ui:not(.tablet-ui) .new-intake-sheet .intake-existing-device-icon{
  width:66px!important;height:66px!important;border-radius:22px!important;font-size:30px!important;
}
html.phone-shape-ui:not(.tablet-ui) .new-intake-sheet .intake-existing-device b,
html.mobile-app-ui:not(.tablet-ui) .new-intake-sheet .intake-existing-device b{
  font-size:26px!important;
}
html.phone-shape-ui:not(.tablet-ui) .new-intake-sheet .intake-existing-device small,
html.mobile-app-ui:not(.tablet-ui) .new-intake-sheet .intake-existing-device small{
  font-size:18px!important;
}
html.phone-shape-ui:not(.tablet-ui) .new-intake-sheet .intake-existing-device-chevron,
html.mobile-app-ui:not(.tablet-ui) .new-intake-sheet .intake-existing-device-chevron{
  font-size:44px!important;
}


/* =========================================================
   TELLIAPP v1.4.8 — RESPONSIVE SYSTEM + NATIVE-LIKE DENSITY
   One UX, three density profiles: phone / tablet / desktop.
   This block is intentionally last and overrides legacy scale patches.
   ========================================================= */

/* ---------- shared autocomplete ---------- */
.new-intake-sheet .intake-hidden-select{
  position:absolute!important;
  width:1px!important;height:1px!important;
  opacity:0!important;pointer-events:none!important;
}
.new-intake-sheet label{position:relative!important}
.new-intake-sheet .intake-suggestions{
  position:absolute!important;
  z-index:100020!important;
  left:0!important;right:0!important;
  top:calc(100% + 8px)!important;
  display:grid!important;
  gap:8px!important;
  padding:8px!important;
  border:1px solid var(--ui-border)!important;
  border-radius:18px!important;
  background:var(--ui-card-bg)!important;
  box-shadow:0 14px 34px rgba(20,35,55,.18)!important;
  max-height:min(46vh,380px)!important;
  overflow:auto!important;
}
.new-intake-sheet .intake-suggestions[hidden]{display:none!important}
.new-intake-sheet .intake-suggest-card{
  width:100%!important;
  min-height:64px!important;
  border:0!important;
  border-radius:14px!important;
  padding:9px 11px!important;
  background:var(--ui-field-bg)!important;
  color:var(--ui-text)!important;
  display:grid!important;
  grid-template-columns:44px minmax(0,1fr) 22px!important;
  gap:10px!important;
  align-items:center!important;
  text-align:left!important;
}
.new-intake-sheet .intake-suggest-card:active{background:var(--ui-brand-soft)!important}
.new-intake-sheet .intake-suggest-avatar{
  width:42px!important;height:42px!important;border-radius:14px!important;
  display:grid!important;place-items:center!important;
  background:var(--ui-brand-soft)!important;color:var(--ui-text)!important;font-weight:850!important;
}
.new-intake-sheet .intake-suggest-copy{display:grid!important;gap:2px!important;min-width:0!important}
.new-intake-sheet .intake-suggest-copy b{font-size:16px!important;line-height:1.15!important;overflow:hidden!important;text-overflow:ellipsis!important}
.new-intake-sheet .intake-suggest-copy small{font-size:12px!important;color:var(--ui-text)!important;line-height:1.2!important}
.new-intake-sheet .intake-suggest-arrow{font-size:26px!important;color:var(--ui-text)!important}

/* ---------- PHONE: native-app proportions ---------- */
html.mobile-app-ui:not(.tablet-ui) body{
  font-size:16px!important;
}
html.mobile-app-ui:not(.tablet-ui) .main{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:18px 16px calc(104px + env(safe-area-inset-bottom))!important;
}
html.mobile-app-ui:not(.tablet-ui) .topbar{
  min-height:54px!important;
  margin:0 0 16px!important;
}
html.mobile-app-ui:not(.tablet-ui) .topbar h1,
html.mobile-app-ui:not(.tablet-ui) .topbar:has(+ .search) h1{
  font-size:30px!important;
  line-height:1.05!important;
  letter-spacing:-.35px!important;
}
html.mobile-app-ui:not(.tablet-ui) .top-actions{gap:8px!important}
html.mobile-app-ui:not(.tablet-ui) .icon-btn{
  min-width:42px!important;min-height:42px!important;
  width:auto!important;height:auto!important;
  padding:5px!important;
}
html.mobile-app-ui:not(.tablet-ui) .icon-btn .ui-icon{
  width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important;
}

html.mobile-app-ui:not(.tablet-ui) .identity-card{
  min-height:96px!important;
  padding:15px 16px!important;
  border-radius:25px!important;
  gap:13px!important;
}
html.mobile-app-ui:not(.tablet-ui) .avatar{
  width:54px!important;height:54px!important;min-width:54px!important;flex-basis:54px!important;
}
html.mobile-app-ui:not(.tablet-ui) .avatar .ui-icon{width:31px!important;height:31px!important}
html.mobile-app-ui:not(.tablet-ui) .identity-card b{font-size:22px!important}
html.mobile-app-ui:not(.tablet-ui) .identity-card small{font-size:13px!important;margin-top:4px!important}
html.mobile-app-ui:not(.tablet-ui) .sync-pill{
  font-size:12px!important;padding:9px 11px!important;gap:5px!important;
}
html.mobile-app-ui:not(.tablet-ui) .sync-pill .ui-icon{width:18px!important;height:18px!important}

html.mobile-app-ui:not(.tablet-ui) h2{
  font-size:24px!important;
  margin:25px 0 14px!important;
}
html.mobile-app-ui:not(.tablet-ui) .stats{gap:9px!important}
html.mobile-app-ui:not(.tablet-ui) .stats>div{
  min-height:118px!important;
  padding:12px 5px!important;
  border-radius:22px!important;
}
html.mobile-app-ui:not(.tablet-ui) .metric-icon{
  width:48px!important;height:48px!important;border-radius:15px!important;
}
html.mobile-app-ui:not(.tablet-ui) .metric-icon .ui-icon{width:27px!important;height:27px!important}
html.mobile-app-ui:not(.tablet-ui) .stats b{font-size:28px!important;margin-top:10px!important}
html.mobile-app-ui:not(.tablet-ui) .stats small{font-size:12px!important;margin-top:5px!important}

html.mobile-app-ui:not(.tablet-ui) .quick{gap:10px!important}
html.mobile-app-ui:not(.tablet-ui) .quick button{
  min-height:100px!important;
  padding:14px 15px!important;
  grid-template-columns:50px minmax(0,1fr)!important;
  column-gap:11px!important;
  border-radius:22px!important;
}
html.mobile-app-ui:not(.tablet-ui) .quick-icon{
  width:48px!important;height:48px!important;border-radius:15px!important;
}
html.mobile-app-ui:not(.tablet-ui) .quick-icon .ui-icon{width:27px!important;height:27px!important}
html.mobile-app-ui:not(.tablet-ui) .quick b{font-size:17px!important}
html.mobile-app-ui:not(.tablet-ui) .quick small{font-size:12px!important;margin-top:3px!important}

html.mobile-app-ui:not(.tablet-ui) .search{
  height:60px!important;
  border-radius:21px!important;
  padding:0 16px!important;
  gap:12px!important;
}
html.mobile-app-ui:not(.tablet-ui) .search .ui-icon,
html.mobile-app-ui:not(.tablet-ui) .search span{
  width:27px!important;height:27px!important;font-size:27px!important;
}
html.mobile-app-ui:not(.tablet-ui) .search input{font-size:17px!important}
html.mobile-app-ui:not(.tablet-ui) .segmented{
  height:52px!important;
  margin:16px 0 18px!important;
  border-radius:18px!important;
}
html.mobile-app-ui:not(.tablet-ui) .segmented button{
  font-size:15px!important;
  padding:0 7px!important;
}

html.mobile-app-ui:not(.tablet-ui) .order-list{gap:13px!important}
html.mobile-app-ui:not(.tablet-ui) .order-card{
  min-height:178px!important;
  padding:18px 18px!important;
  border-radius:24px!important;
}
html.mobile-app-ui:not(.tablet-ui) .order-row{gap:12px!important}
html.mobile-app-ui:not(.tablet-ui) .status-icon{
  width:52px!important;height:52px!important;min-width:52px!important;border-radius:16px!important;
}
html.mobile-app-ui:not(.tablet-ui) .status-icon .ui-icon{width:28px!important;height:28px!important}
html.mobile-app-ui:not(.tablet-ui) .grow b{font-size:19px!important}
html.mobile-app-ui:not(.tablet-ui) .grow a{font-size:15px!important;margin-top:3px!important}
html.mobile-app-ui:not(.tablet-ui) .badge{font-size:12px!important;padding:8px 11px!important}
html.mobile-app-ui:not(.tablet-ui) .order-card h3{
  font-size:17px!important;margin:16px 0 6px!important;
}
html.mobile-app-ui:not(.tablet-ui) .order-card p{
  font-size:15px!important;line-height:1.38!important;min-height:0!important;
}
html.mobile-app-ui:not(.tablet-ui) .order-card footer{
  font-size:12px!important;margin-top:16px!important;
}

html.mobile-app-ui:not(.tablet-ui) .bottom-nav{
  height:92px!important;
  padding:8px 2px calc(8px + env(safe-area-inset-bottom))!important;
  align-items:center!important;
}
html.mobile-app-ui:not(.tablet-ui) .bottom-nav button{
  gap:4px!important;padding:2px 0!important;justify-content:center!important;
}
html.mobile-app-ui:not(.tablet-ui) .bottom-nav .ui-icon{
  width:29px!important;height:29px!important;min-width:29px!important;min-height:29px!important;
}
html.mobile-app-ui:not(.tablet-ui) .bottom-nav small{
  font-size:10.5px!important;line-height:1.05!important;
}
html.mobile-app-ui:not(.tablet-ui) .fab,
html.mobile-app-ui:not(.tablet-ui) .new-order-fab,
html.mobile-app-ui:not(.tablet-ui) .appointment-fab,
html.mobile-app-ui:not(.tablet-ui) .order-add-fab{
  min-height:64px!important;
  padding:0 20px!important;
  border-radius:20px!important;
  font-size:16px!important;
  right:16px!important;
  bottom:calc(104px + env(safe-area-inset-bottom))!important;
}
html.mobile-app-ui:not(.tablet-ui) .appointment-fab-plus,
html.mobile-app-ui:not(.tablet-ui) .order-add-fab-plus{font-size:32px!important}

/* parity screens on phone */
html.mobile-app-ui:not(.tablet-ui) .inbox-switch{max-width:330px!important}
html.mobile-app-ui:not(.tablet-ui) .client-card,
html.mobile-app-ui:not(.tablet-ui) .appointment-card,
html.mobile-app-ui:not(.tablet-ui) .inquiry-card{
  min-height:104px!important;
  padding:16px!important;
  border-radius:22px!important;
}
html.mobile-app-ui:not(.tablet-ui) .client-card b,
html.mobile-app-ui:not(.tablet-ui) .appointment-card b,
html.mobile-app-ui:not(.tablet-ui) .inquiry-card b{font-size:18px!important}
html.mobile-app-ui:not(.tablet-ui) .client-avatar{
  width:58px!important;height:58px!important;border-radius:18px!important;font-size:19px!important;
}
html.mobile-app-ui:not(.tablet-ui) .warehouse-tabs button{min-height:86px!important}
html.mobile-app-ui:not(.tablet-ui) .next-shelf{min-height:96px!important;border-radius:22px!important}
html.mobile-app-ui:not(.tablet-ui) .warehouse-stats>div{min-height:76px!important;border-radius:18px!important}
html.mobile-app-ui:not(.tablet-ui) .shelf-grid{gap:10px!important}
html.mobile-app-ui:not(.tablet-ui) .shelf-card{
  min-height:170px!important;
  padding:14px!important;
  border-radius:20px!important;
}

/* ---------- PHONE intake: full screen, native proportions ---------- */
html.mobile-app-ui:not(.tablet-ui) .new-intake-sheet{
  position:fixed!important;inset:0!important;width:100%!important;height:100%!important;
  overflow:hidden!important;background:var(--ui-card-bg)!important;
}
html.mobile-app-ui:not(.tablet-ui) .new-intake-sheet .od-sheet{
  position:absolute!important;inset:0!important;
  width:100%!important;min-width:0!important;max-width:none!important;
  height:100dvh!important;max-height:100dvh!important;
  border-radius:0!important;transform:none!important;
  display:flex!important;flex-direction:column!important;
  background:var(--ui-card-bg)!important;
}
html.mobile-app-ui:not(.tablet-ui) .new-intake-sheet .od-sheet-handle{display:none!important}
html.mobile-app-ui:not(.tablet-ui) .new-intake-sheet .od-sheet-head{
  min-height:64px!important;
  padding:10px 16px!important;
  border-bottom:0!important;
  background:var(--ui-card-bg)!important;
}
html.mobile-app-ui:not(.tablet-ui) .new-intake-sheet .od-sheet-head h2{
  font-size:28px!important;margin:0!important;
}
html.mobile-app-ui:not(.tablet-ui) .new-intake-sheet .od-sheet-close{
  width:42px!important;height:42px!important;min-width:42px!important;
  border-radius:14px!important;font-size:24px!important;
}
html.mobile-app-ui:not(.tablet-ui) .new-intake-sheet .od-sheet-body{
  flex:1!important;
  min-height:0!important;
  overflow-y:auto!important;overflow-x:hidden!important;
  padding:10px 16px calc(106px + env(safe-area-inset-bottom))!important;
}
html.mobile-app-ui:not(.tablet-ui) .new-intake-form{
  gap:24px!important;
  max-width:none!important;
}
html.mobile-app-ui:not(.tablet-ui) .intake-crm-status{
  min-height:72px!important;
  padding:14px 16px!important;
  border-radius:20px!important;
  font-size:14px!important;
}
html.mobile-app-ui:not(.tablet-ui) .intake-section{
  padding:0!important;
  border:0!important;
  background:transparent!important;
  border-radius:0!important;
  gap:12px!important;
}
html.mobile-app-ui:not(.tablet-ui) .intake-section h3{
  font-size:23px!important;margin:0 0 4px!important;
}
html.mobile-app-ui:not(.tablet-ui) .intake-section-icon{
  width:48px!important;height:48px!important;
  margin-right:10px!important;
}
html.mobile-app-ui:not(.tablet-ui) .new-intake-form .intake-grid{
  grid-template-columns:minmax(0,1fr)!important;
  gap:12px!important;
}
html.mobile-app-ui:not(.tablet-ui) .new-intake-form label{
  font-size:13px!important;
  gap:6px!important;
}
html.mobile-app-ui:not(.tablet-ui) .new-intake-form input,
html.mobile-app-ui:not(.tablet-ui) .new-intake-form select,
html.mobile-app-ui:not(.tablet-ui) .new-intake-form textarea,
html.mobile-app-ui:not(.tablet-ui) .new-intake-form input:focus,
html.mobile-app-ui:not(.tablet-ui) .new-intake-form select:focus,
html.mobile-app-ui:not(.tablet-ui) .new-intake-form textarea:focus{
  min-height:62px!important;
  height:auto!important;
  padding:14px 16px!important;
  border-radius:18px!important;
  font-size:17px!important;
  line-height:1.25!important;
}
html.mobile-app-ui:not(.tablet-ui) .new-intake-form textarea{
  min-height:92px!important;
}
html.mobile-app-ui:not(.tablet-ui) .intake-problem-groups{gap:12px!important}
html.mobile-app-ui:not(.tablet-ui) .new-intake-sheet .intake-problem-group-toggle{
  min-height:92px!important;
  padding:14px 16px!important;
  grid-template-columns:54px minmax(0,1fr) 28px!important;
  gap:12px!important;
  border-radius:22px!important;
}
html.mobile-app-ui:not(.tablet-ui) .new-intake-sheet .intake-problem-group-icon{
  width:52px!important;height:52px!important;font-size:22px!important;
}
html.mobile-app-ui:not(.tablet-ui) .new-intake-sheet .intake-problem-group-copy b{font-size:19px!important}
html.mobile-app-ui:not(.tablet-ui) .new-intake-sheet .intake-problem-group-copy small{font-size:14px!important}
html.mobile-app-ui:not(.tablet-ui) .new-intake-sheet .intake-problem-group-chevron{font-size:36px!important}
html.mobile-app-ui:not(.tablet-ui) .new-intake-sheet .intake-problem-option{
  min-height:72px!important;
  padding:13px 15px!important;
  border-radius:18px!important;
}
html.mobile-app-ui:not(.tablet-ui) .new-intake-sheet .intake-problem-option span{font-size:16px!important}
html.mobile-app-ui:not(.tablet-ui) .new-intake-sheet .intake-problem-option small{font-size:13px!important}
html.mobile-app-ui:not(.tablet-ui) .new-intake-sheet .intake-create-btn{
  left:16px!important;right:16px!important;
  bottom:calc(12px + env(safe-area-inset-bottom))!important;
  width:auto!important;min-height:70px!important;
  padding:0 18px!important;border-radius:22px!important;
  font-size:19px!important;
}
html.mobile-app-ui:not(.tablet-ui) .new-intake-sheet .intake-existing-devices-title{font-size:16px!important}
html.mobile-app-ui:not(.tablet-ui) .new-intake-sheet .intake-existing-device{
  min-height:82px!important;
  grid-template-columns:50px minmax(0,1fr) 26px!important;
  gap:11px!important;padding:12px 14px!important;border-radius:20px!important;
}
html.mobile-app-ui:not(.tablet-ui) .new-intake-sheet .intake-existing-device-icon{
  width:48px!important;height:48px!important;border-radius:15px!important;font-size:21px!important;
}
html.mobile-app-ui:not(.tablet-ui) .new-intake-sheet .intake-existing-device b{font-size:17px!important}
html.mobile-app-ui:not(.tablet-ui) .new-intake-sheet .intake-existing-device small{font-size:12px!important}
html.mobile-app-ui:not(.tablet-ui) .new-intake-sheet .intake-existing-device-chevron{font-size:28px!important}

html.mobile-app-ui:not(.tablet-ui) .new-intake-sheet .intake-suggestions{
  position:relative!important;
  top:auto!important;left:auto!important;right:auto!important;
  margin-top:7px!important;
  max-height:280px!important;
  border-radius:18px!important;
  box-shadow:0 8px 22px rgba(20,35,55,.14)!important;
}
html.mobile-app-ui:not(.tablet-ui) .new-intake-sheet .intake-suggest-card{
  min-height:72px!important;
  grid-template-columns:48px minmax(0,1fr) 24px!important;
}
html.mobile-app-ui:not(.tablet-ui) .new-intake-sheet .intake-suggest-avatar{
  width:46px!important;height:46px!important;
}
html.mobile-app-ui:not(.tablet-ui) .new-intake-sheet .intake-suggest-copy b{font-size:17px!important}
html.mobile-app-ui:not(.tablet-ui) .new-intake-sheet .intake-suggest-copy small{font-size:12px!important}

/* ---------- TABLET: use the extra space; never giant-phone UI ---------- */
html.tablet-ui body{font-size:16px!important}
html.tablet-ui .main{
  width:min(100%,1180px)!important;
  max-width:1180px!important;
  margin:0 auto!important;
  padding:26px 28px calc(100px + env(safe-area-inset-bottom))!important;
}
html.tablet-ui .topbar{min-height:56px!important;margin-bottom:18px!important}
html.tablet-ui .topbar h1{font-size:30px!important}
html.tablet-ui .icon-btn{min-width:44px!important;min-height:44px!important;padding:5px!important}
html.tablet-ui .icon-btn .ui-icon{width:29px!important;height:29px!important}
html.tablet-ui .search{height:62px!important;border-radius:20px!important}
html.tablet-ui .search input{font-size:17px!important}
html.tablet-ui .segmented{height:52px!important;margin:16px 0 18px!important}
html.tablet-ui .segmented button{font-size:15px!important}
html.tablet-ui .bottom-nav{
  height:86px!important;
  padding:7px 4px calc(7px + env(safe-area-inset-bottom))!important;
}
html.tablet-ui .bottom-nav .ui-icon{width:28px!important;height:28px!important}
html.tablet-ui .bottom-nav small{font-size:10.5px!important}
html.tablet-ui .order-list{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important}
html.tablet-ui .order-card{
  min-height:180px!important;padding:18px 20px!important;border-radius:22px!important;
}
html.tablet-ui .stats>div{min-height:130px!important}
html.tablet-ui .quick button{min-height:104px!important}
html.tablet-ui .clients-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}
html.tablet-ui .shelf-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important}

/* tablet intake = roomy sheet, not scaled phone */
html.tablet-ui .new-intake-sheet .od-sheet{
  width:min(860px,calc(100vw - 48px))!important;
  max-width:860px!important;
  height:min(92dvh,980px)!important;
  max-height:92dvh!important;
  border-radius:28px!important;
}
html.tablet-ui .new-intake-sheet .od-sheet-head{padding:14px 20px!important}
html.tablet-ui .new-intake-sheet .od-sheet-head h2{font-size:28px!important}
html.tablet-ui .new-intake-sheet .od-sheet-body{padding:12px 20px 30px!important}
html.tablet-ui .new-intake-form{gap:18px!important}
html.tablet-ui .intake-section{padding:18px!important;border-radius:22px!important}
html.tablet-ui .new-intake-form .intake-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
html.tablet-ui .new-intake-form input,
html.tablet-ui .new-intake-form select,
html.tablet-ui .new-intake-form textarea{
  min-height:52px!important;padding:11px 13px!important;border-radius:15px!important;font-size:16px!important;
}
html.tablet-ui .intake-problem-groups{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
html.tablet-ui .new-intake-sheet .intake-problem-group-toggle{
  min-height:86px!important;padding:13px 15px!important;
  grid-template-columns:50px minmax(0,1fr) 26px!important;border-radius:20px!important;
}
html.tablet-ui .new-intake-sheet .intake-problem-group-icon{width:48px!important;height:48px!important;font-size:21px!important}
html.tablet-ui .new-intake-sheet .intake-problem-group-copy b{font-size:17px!important}
html.tablet-ui .new-intake-sheet .intake-problem-group-copy small{font-size:13px!important}
html.tablet-ui .new-intake-sheet .intake-problem-option{min-height:66px!important}
html.tablet-ui .new-intake-sheet .intake-create-btn{
  position:sticky!important;left:auto!important;right:auto!important;bottom:0!important;
  min-height:62px!important;border-radius:18px!important;font-size:18px!important;
}

/* ---------- DESKTOP: compact information-dense layout ---------- */
html.desktop-ui .main{
  max-width:none!important;
  padding:26px 34px 36px!important;
}
html.desktop-ui .topbar h1{font-size:28px!important}
html.desktop-ui .search{height:56px!important;border-radius:18px!important}
html.desktop-ui .search input{font-size:16px!important}
html.desktop-ui .order-list{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}
html.desktop-ui .order-card{min-height:170px!important;padding:17px 18px!important;border-radius:20px!important}
html.desktop-ui .clients-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}
html.desktop-ui .shelf-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:12px!important}
html.desktop-ui .new-intake-sheet .od-sheet{
  width:min(920px,calc(100vw - 64px))!important;
  max-width:920px!important;
  height:min(92dvh,980px)!important;
  max-height:92dvh!important;
}
html.desktop-ui .new-intake-form .intake-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
html.desktop-ui .intake-problem-groups{grid-template-columns:repeat(2,minmax(0,1fr))!important}

/* (2.9.33: the dark-theme block that was here followed the PHONE setting (prefers-color-scheme), not the app theme — removed; the colours above use the --ui-* theme variables.) */


/* =========================================================
   TELLIAPP v1.4.9 — iPhone compact tuning + text-size stabilization
   Fixes: oversized iPhone UI, broken client layout, oversized appointment controls,
   and unstable Safari text inflation.
   ========================================================= */
html, body, input, select, textarea, button{
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
}

html.ios-phone-ui .main{
  width:100%!important;
  max-width:none!important;
  padding:16px 16px calc(90px + env(safe-area-inset-bottom))!important;
}
html.ios-phone-ui .topbar{
  min-height:46px!important;
  margin-bottom:16px!important;
  gap:8px!important;
}
html.ios-phone-ui .topbar h1{
  flex:1 1 auto!important;
  min-width:0!important;
  margin:0!important;
  font-size:25px!important;
  line-height:1.05!important;
  letter-spacing:-.35px!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
html.ios-phone-ui .top-actions{gap:6px!important;flex:0 0 auto!important}
html.ios-phone-ui .icon-btn{
  min-width:38px!important;min-height:38px!important;
  width:38px!important;height:38px!important;
  padding:4px!important;border-radius:12px!important;
  font-size:24px!important;
}
html.ios-phone-ui .icon-btn .ui-icon{
  width:24px!important;height:24px!important;
  min-width:24px!important;min-height:24px!important;
}
html.ios-phone-ui h2{font-size:22px!important;line-height:1.1!important;margin:22px 0 12px!important}
html.ios-phone-ui .identity-card{min-height:88px!important;padding:12px 14px!important;border-radius:20px!important;gap:12px!important}
html.ios-phone-ui .avatar{width:48px!important;height:48px!important;min-width:48px!important;flex-basis:48px!important}
html.ios-phone-ui .avatar .ui-icon{width:26px!important;height:26px!important}
html.ios-phone-ui .identity-card b{font-size:20px!important;line-height:1.08!important}
html.ios-phone-ui .identity-card small{font-size:12px!important;margin-top:3px!important}
html.ios-phone-ui .sync-pill{font-size:11px!important;padding:7px 9px!important;border-radius:16px!important;gap:5px!important}
html.ios-phone-ui .sync-pill .ui-icon{width:16px!important;height:16px!important}
html.ios-phone-ui .stats{gap:8px!important}
html.ios-phone-ui .stats>div{min-height:112px!important;padding:10px 4px!important;border-radius:18px!important}
html.ios-phone-ui .metric-icon{width:42px!important;height:42px!important;border-radius:13px!important}
html.ios-phone-ui .metric-icon .ui-icon{width:22px!important;height:22px!important}
html.ios-phone-ui .stats b{font-size:24px!important;margin-top:8px!important}
html.ios-phone-ui .stats small{font-size:11px!important;margin-top:4px!important}
html.ios-phone-ui .quick{gap:10px!important}
html.ios-phone-ui .quick button{min-height:88px!important;padding:12px 13px!important;grid-template-columns:46px 1fr!important;column-gap:10px!important;border-radius:18px!important}
html.ios-phone-ui .quick-icon{width:42px!important;height:42px!important;border-radius:13px!important}
html.ios-phone-ui .quick-icon .ui-icon{width:22px!important;height:22px!important}
html.ios-phone-ui .quick b{font-size:16px!important;line-height:1.15!important}
html.ios-phone-ui .quick small{font-size:11px!important;line-height:1.2!important;margin-top:3px!important}

html.ios-phone-ui .search{
  height:52px!important;
  border-radius:18px!important;
  padding:0 14px!important;
  gap:10px!important;
}
html.ios-phone-ui .search .ui-icon,
html.ios-phone-ui .search span{
  width:22px!important;height:22px!important;font-size:22px!important;
}
html.ios-phone-ui .search input{font-size:16px!important}
html.ios-phone-ui .segmented{
  height:46px!important;
  margin:12px 0 16px!important;
  border-radius:16px!important;
}
html.ios-phone-ui .segmented button{font-size:14px!important;padding:0 4px!important}

html.ios-phone-ui .order-list{gap:12px!important}
html.ios-phone-ui .order-card{min-height:152px!important;padding:15px 16px!important;border-radius:20px!important}
html.ios-phone-ui .order-row{gap:10px!important}
html.ios-phone-ui .status-icon{width:44px!important;height:44px!important;min-width:44px!important;border-radius:14px!important}
html.ios-phone-ui .status-icon .ui-icon{width:24px!important;height:24px!important}
html.ios-phone-ui .grow b{font-size:18px!important}
html.ios-phone-ui .grow a{font-size:14px!important;margin-top:2px!important}
html.ios-phone-ui .badge{font-size:11px!important;padding:6px 9px!important;border-radius:14px!important}
html.ios-phone-ui .order-card h3{font-size:15px!important;margin:12px 0 4px!important}
html.ios-phone-ui .order-card p{font-size:14px!important;line-height:1.32!important;min-height:0!important}
html.ios-phone-ui .order-card footer{font-size:11px!important;margin-top:12px!important}
html.ios-phone-ui .fab,
html.ios-phone-ui .new-order-fab,
html.ios-phone-ui .order-add-fab{min-height:58px!important;padding:0 18px!important;border-radius:18px!important;font-size:16px!important;right:16px!important;bottom:calc(90px + env(safe-area-inset-bottom))!important}
html.ios-phone-ui .appointment-fab-plus,
html.ios-phone-ui .order-add-fab-plus{font-size:28px!important}

html.ios-phone-ui .inbox-switch{width:100%!important;max-width:none!important;margin:0 0 18px!important;border-radius:20px!important}
html.ios-phone-ui .inbox-switch button{min-height:52px!important;font-size:14px!important;gap:8px!important}
html.ios-phone-ui .inbox-switch .ui-icon{width:20px!important;height:20px!important}
html.ios-phone-ui .appointment-top-actions{gap:8px!important}
html.ios-phone-ui .appointment-head-action{width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;padding:4px!important;border-radius:12px!important;font-size:28px!important}
html.ios-phone-ui .appointment-head-action .ui-icon{width:24px!important;height:24px!important;min-width:24px!important;min-height:24px!important}
html.ios-phone-ui .appointment-head-add{font-size:30px!important;padding:0 0 1px!important}
html.ios-phone-ui .appointment-fab{right:16px!important;bottom:calc(92px + env(safe-area-inset-bottom))!important;min-width:0!important;min-height:58px!important;padding:0 18px!important;border-radius:18px!important;gap:10px!important;font-size:16px!important}
html.ios-phone-ui .appointment-list,
html.ios-phone-ui .inquiry-list{gap:12px!important;margin-top:18px!important}
html.ios-phone-ui .appointment-card,
html.ios-phone-ui .inquiry-card{padding:14px!important;border-radius:18px!important}
html.ios-phone-ui .appointment-card b,
html.ios-phone-ui .inquiry-card b{font-size:16px!important}
html.ios-phone-ui .appointment-card p{font-size:14px!important;margin:10px 0 4px!important}
html.ios-phone-ui .appointment-card span,
html.ios-phone-ui .appointment-card small,
html.ios-phone-ui .inquiry-card span,
html.ios-phone-ui .inquiry-card small,
html.ios-phone-ui .inquiry-card strong{font-size:13px!important}

html.ios-phone-ui .clients-list{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;margin-top:18px!important}
html.ios-phone-ui .client-card{grid-template-columns:54px minmax(0,1fr) 16px!important;gap:10px!important;padding:12px 14px!important;border-radius:18px!important;min-height:88px!important}
html.ios-phone-ui .client-avatar{width:54px!important;height:54px!important;border-radius:16px!important;font-size:18px!important}
html.ios-phone-ui .client-copy b{font-size:18px!important;line-height:1.15!important}
html.ios-phone-ui .client-copy em{font-size:14px!important;margin-top:4px!important}
html.ios-phone-ui .client-copy small{font-size:12px!important;padding:5px 8px!important;margin-top:8px!important}
html.ios-phone-ui .client-card>.ui-icon{width:18px!important;height:18px!important}

html.ios-phone-ui .warehouse-tabs{margin:4px -16px 16px!important;padding:0 16px!important}
html.ios-phone-ui .warehouse-tabs button{padding:12px 6px 18px!important;gap:8px!important;font-size:16px!important;min-height:0!important}
html.ios-phone-ui .warehouse-tabs .ui-icon{width:28px!important;height:28px!important}
html.ios-phone-ui .warehouse-tabs button.active:after{height:4px!important;width:40%!important}
html.ios-phone-ui .next-shelf{border-radius:18px!important;padding:14px 16px!important;grid-template-columns:44px minmax(0,1fr) auto!important;gap:12px!important}
html.ios-phone-ui .next-shelf span{width:42px!important;height:42px!important}
html.ios-phone-ui .next-shelf span .ui-icon{width:24px!important;height:24px!important}
html.ios-phone-ui .next-shelf b{font-size:16px!important;line-height:1.2!important}
html.ios-phone-ui .next-shelf strong{font-size:24px!important}
html.ios-phone-ui .warehouse-stats{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;margin:12px 0 16px!important}
html.ios-phone-ui .warehouse-stats div{padding:12px 12px!important;border-radius:18px!important}
html.ios-phone-ui .warehouse-stats small{font-size:12px!important}
html.ios-phone-ui .warehouse-stats b{font-size:18px!important;margin-top:4px!important}
html.ios-phone-ui .shelf-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}
html.ios-phone-ui .shelf-card{min-height:208px!important;padding:12px!important;border-radius:18px!important}
html.ios-phone-ui .shelf-card>div strong{font-size:18px!important}
html.ios-phone-ui .shelf-card>div .ui-icon{width:20px!important;height:20px!important}
html.ios-phone-ui .shelf-card>b{font-size:14px!important;margin-top:14px!important}
html.ios-phone-ui .shelf-card>span{font-size:14px!important;line-height:1.22!important;margin-top:10px!important;white-space:normal!important;overflow:hidden!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important}
html.ios-phone-ui .shelf-card>small{font-size:12px!important;line-height:1.2!important;margin-top:4px!important}
html.ios-phone-ui .shelf-card>em{font-size:11px!important;line-height:1.2!important;margin-top:4px!important}
html.ios-phone-ui .shelf-card>.ui-icon{right:12px!important;bottom:12px!important;width:18px!important;height:18px!important}

html.ios-phone-ui .bottom-nav{
  height:82px!important;
  padding:6px 2px calc(6px + env(safe-area-inset-bottom))!important;
}
html.ios-phone-ui .bottom-nav button{gap:3px!important;padding:2px 0!important}
html.ios-phone-ui .bottom-nav .ui-icon{width:24px!important;height:24px!important;min-width:24px!important;min-height:24px!important}
html.ios-phone-ui .bottom-nav small{font-size:10px!important;line-height:1.05!important}

html.ios-phone-ui .new-intake-sheet .od-sheet-head h2{font-size:24px!important}
html.ios-phone-ui .new-intake-sheet .od-sheet-body{padding:10px 16px calc(92px + env(safe-area-inset-bottom))!important}
html.ios-phone-ui .new-intake-form{gap:18px!important}
html.ios-phone-ui .intake-section h3{font-size:21px!important}
html.ios-phone-ui .new-intake-form input,
html.ios-phone-ui .new-intake-form select,
html.ios-phone-ui .new-intake-form textarea{min-height:56px!important;padding:12px 14px!important;border-radius:16px!important;font-size:16px!important}
html.ios-phone-ui .new-intake-form textarea{min-height:88px!important}
html.ios-phone-ui .new-intake-sheet .intake-problem-group-toggle{min-height:82px!important;padding:12px 14px!important;grid-template-columns:48px minmax(0,1fr) 24px!important;border-radius:20px!important}
html.ios-phone-ui .new-intake-sheet .intake-problem-group-icon{width:46px!important;height:46px!important}
html.ios-phone-ui .new-intake-sheet .intake-problem-group-copy b{font-size:17px!important}
html.ios-phone-ui .new-intake-sheet .intake-problem-group-copy small{font-size:13px!important}
html.ios-phone-ui .new-intake-sheet .intake-problem-option{min-height:64px!important;padding:11px 13px!important;border-radius:16px!important}
html.ios-phone-ui .new-intake-sheet .intake-create-btn{left:16px!important;right:16px!important;bottom:calc(10px + env(safe-area-inset-bottom))!important;min-height:60px!important;border-radius:18px!important;font-size:17px!important}
html.ios-phone-ui .new-intake-sheet .intake-suggestions{margin-top:6px!important;border-radius:16px!important;max-height:250px!important}
html.ios-phone-ui .new-intake-sheet .intake-suggest-card{min-height:64px!important;grid-template-columns:42px minmax(0,1fr) 20px!important;padding:8px 10px!important}
html.ios-phone-ui .new-intake-sheet .intake-suggest-avatar{width:40px!important;height:40px!important}
html.ios-phone-ui .new-intake-sheet .intake-suggest-copy b{font-size:15px!important}
html.ios-phone-ui .new-intake-sheet .intake-suggest-copy small{font-size:11px!important}


/* =========================================================
   TELLIAPP v1.5.3 — APP-LIKE INTAKE FORM (floating fields)
   Goal: visually match the native app on phones.
   ========================================================= */
.new-intake-sheet .intake-crm-status{
  display:flex!important;align-items:center!important;gap:16px!important;
  margin:10px 0 26px!important;padding:22px 24px!important;
  border-radius:28px!important;background:var(--ui-success-soft)!important;color:var(--ui-text)!important;
  box-shadow:inset 0 0 0 1px rgba(42,129,82,.06)!important;
}
.new-intake-sheet .intake-crm-badge{
  width:48px!important;height:48px!important;min-width:48px!important;border-radius:16px!important;
  display:grid!important;place-items:center!important;background:var(--ui-success-soft)!important;color:var(--ui-success)!important;
}
.new-intake-sheet .intake-crm-badge .ui-icon{width:28px!important;height:28px!important;stroke-width:2.3!important}
.new-intake-sheet .intake-crm-status b{font-size:18px!important;line-height:1.32!important}

.new-intake-sheet .intake-section h3{display:flex!important;align-items:center!important;gap:14px!important}
.new-intake-sheet .intake-section-icon{display:grid!important;place-items:center!important;width:58px!important;height:58px!important;min-width:58px!important;border-radius:50%!important;background:var(--ui-card-bg)!important;color:var(--ui-text-muted)!important;margin-right:0!important}
.new-intake-sheet .intake-section-icon .ui-icon{width:30px!important;height:30px!important;stroke-width:2.1!important}
.new-intake-sheet .intake-subhead{font-size:15px!important;font-weight:800!important;color:var(--ui-text)!important;margin:2px 0 2px!important}

.new-intake-sheet .intake-grid{display:grid!important;grid-template-columns:1fr!important;gap:14px!important}
.new-intake-sheet .intake-client-grid{grid-template-columns:1fr!important}
.new-intake-sheet .intake-app-field{position:relative!important;display:block!important;margin:0!important}
.new-intake-sheet .intake-app-field .intake-field-label{
  position:absolute!important;left:28px!important;top:50%!important;transform:translateY(-50%)!important;
  z-index:3!important;max-width:calc(100% - 56px)!important;padding:0 8px!important;
  color:var(--ui-text)!important;font-size:15px!important;line-height:1.2!important;font-weight:500!important;
  background:transparent!important;pointer-events:none!important;opacity:1!important;transition:all .18s ease!important;
}
.new-intake-sheet .intake-app-field.has-value .intake-field-label,
.new-intake-sheet .intake-app-field:focus-within .intake-field-label,
.new-intake-sheet .intake-app-field.always-float .intake-field-label,
.new-intake-sheet .intake-app-field .intake-field-label.always-visible{
  top:0!important;transform:translateY(-52%)!important;background:var(--bg,#f3f6fb)!important;color:var(--ui-text-muted)!important;font-size:13px!important;font-weight:600!important;
}
.new-intake-sheet .intake-input-shell{
  width:100%!important;box-sizing:border-box!important;display:grid!important;grid-template-columns:40px minmax(0,1fr) auto!important;align-items:center!important;gap:14px!important;
  min-height:82px!important;padding:0 20px!important;border:1px solid var(--ui-field-border)!important;border-radius:25px!important;background:var(--ui-field-bg)!important;
  box-shadow:0 1px 0 rgba(18,28,45,.02)!important;transition:border-color .18s ease, box-shadow .18s ease!important;
  color:var(--ui-text)!important;
}
.new-intake-sheet .intake-app-field textarea + .intake-field-side{}
.new-intake-sheet .intake-app-field:focus-within .intake-input-shell{
  border:2px solid var(--ui-brand)!important;box-shadow:0 0 0 2px rgba(74,154,229,.08)!important;padding:0 19px!important;
}
.new-intake-sheet .intake-field-icon{width:32px!important;height:32px!important;display:grid!important;place-items:center!important;color:var(--ui-text)!important;z-index:2!important}
.new-intake-sheet .intake-field-icon .ui-icon{width:31px!important;height:31px!important;stroke-width:2.1!important}
.new-intake-sheet .intake-field-side{width:26px!important;height:26px!important;display:grid!important;place-items:center!important;color:var(--ui-text)!important;justify-self:end!important}
.new-intake-sheet .intake-field-side .ui-icon{width:22px!important;height:22px!important;stroke-width:2.3!important}
.new-intake-sheet .intake-app-field input,
.new-intake-sheet .intake-app-field select,
.new-intake-sheet .intake-app-field textarea{
  width:100%!important;min-width:0!important;margin:0!important;border:0!important;outline:none!important;background:transparent!important;box-shadow:none!important;
  color:var(--ui-text)!important;font-size:18px!important;line-height:1.28!important;padding:0!important;height:auto!important;min-height:0!important;
}
.new-intake-sheet .intake-app-field input::placeholder,
.new-intake-sheet .intake-app-field textarea::placeholder{color:var(--ui-text)!important;opacity:1!important}
.new-intake-sheet .intake-app-field select{appearance:none!important;-webkit-appearance:none!important;padding-right:4px!important;color:var(--ui-text)!important}
.new-intake-sheet .intake-app-field textarea{padding:18px 0!important;resize:vertical!important;min-height:108px!important}
.new-intake-sheet .intake-app-field textarea,
.new-intake-sheet .intake-app-field textarea::placeholder{line-height:1.3!important}
.new-intake-sheet .intake-app-field:has(textarea) .intake-input-shell{align-items:flex-start!important;min-height:126px!important;padding-top:0!important;padding-bottom:0!important}
.new-intake-sheet .intake-app-field.intake-app-field-select .intake-input-shell{padding-right:18px!important}
.new-intake-sheet .intake-app-field.with-side-icon .intake-input-shell{grid-template-columns:40px minmax(0,1fr) 34px!important}
.new-intake-sheet .intake-app-field.with-side-icon .intake-field-side{display:grid!important}
.new-intake-sheet .intake-app-field.with-side-icon .intake-input-shell::after{content:''!important}
.new-intake-sheet .intake-app-field[data-field-name="serial_imei"] .intake-input-shell::after{
  content:''!important;display:block!important;width:26px!important;height:26px!important;justify-self:end!important;
  background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23656c75' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='6' height='6'/%3E%3Crect x='15' y='3' width='6' height='6'/%3E%3Crect x='3' y='15' width='6' height='6'/%3E%3Cpath d='M15 15h3v3h3v3h-6v-6ZM12 3v3M12 10v3M3 12h3M8 12h4M12 16h2M12 20h2'/%3E%3C/svg%3E");
}
.new-intake-sheet .intake-field-hint{display:block!important;margin:8px 4px 0 6px!important;color:var(--ui-text)!important;font-size:13px!important;line-height:1.35!important}
.new-intake-sheet .od-sheet-note{font-size:14px!important;line-height:1.4!important;color:var(--ui-text)!important;margin:14px 2px 6px!important}
.new-intake-sheet .intake-create-btn{display:flex!important;align-items:center!important;justify-content:center!important;gap:12px!important}
.new-intake-sheet .intake-suggestions{
  position:relative!important;top:auto!important;left:auto!important;right:auto!important;margin-top:8px!important;
  border:1px solid var(--ui-border)!important;border-radius:18px!important;background:var(--ui-card-bg)!important;box-shadow:0 10px 24px rgba(17,24,39,.10)!important;
}
.new-intake-sheet .intake-suggest-card{background:var(--ui-field-bg)!important;border:1px solid var(--ui-field-border)!important;color:var(--ui-text)!important;}
.new-intake-sheet .intake-suggest-card:hover,.new-intake-sheet .intake-suggest-card:active{background:var(--ui-field-bg)!important;color:var(--ui-text)!important;}

html.touch-ui .new-intake-sheet .intake-crm-status{padding:24px 24px!important;border-radius:30px!important;gap:16px!important}
html.touch-ui .new-intake-sheet .intake-crm-badge{width:52px!important;height:52px!important;border-radius:17px!important}
html.touch-ui .new-intake-sheet .intake-crm-badge .ui-icon{width:30px!important;height:30px!important}
html.touch-ui .new-intake-sheet .intake-crm-status b{font-size:19px!important}
html.touch-ui .new-intake-sheet .intake-section{margin:0 0 30px!important;gap:14px!important}
html.touch-ui .new-intake-sheet .intake-section h3{font-size:24px!important;line-height:1.18!important;margin:0 0 6px!important}
html.touch-ui .new-intake-sheet .intake-section-icon{width:62px!important;height:62px!important;min-width:62px!important}
html.touch-ui .new-intake-sheet .intake-section-icon .ui-icon{width:32px!important;height:32px!important}
html.touch-ui .new-intake-sheet .intake-subhead{font-size:16px!important;margin-top:2px!important}
html.touch-ui .new-intake-sheet .intake-input-shell{min-height:86px!important;border-radius:27px!important;padding:0 22px!important;gap:16px!important}
html.touch-ui .new-intake-sheet .intake-app-field:focus-within .intake-input-shell{padding:0 21px!important}
html.touch-ui .new-intake-sheet .intake-field-icon{width:34px!important;height:34px!important}
html.touch-ui .new-intake-sheet .intake-field-icon .ui-icon{width:33px!important;height:33px!important}
html.touch-ui .new-intake-sheet .intake-field-side .ui-icon{width:23px!important;height:23px!important}
html.touch-ui .new-intake-sheet .intake-app-field input,
html.touch-ui .new-intake-sheet .intake-app-field select,
html.touch-ui .new-intake-sheet .intake-app-field textarea{font-size:20px!important}
html.touch-ui .new-intake-sheet .intake-app-field .intake-field-label{left:64px!important;font-size:17px!important}
html.touch-ui .new-intake-sheet .intake-app-field.has-value .intake-field-label,
html.touch-ui .new-intake-sheet .intake-app-field:focus-within .intake-field-label,
html.touch-ui .new-intake-sheet .intake-app-field.always-float .intake-field-label,
html.touch-ui .new-intake-sheet .intake-app-field .intake-field-label.always-visible{font-size:14px!important;left:26px!important}
html.touch-ui .new-intake-sheet .intake-app-field textarea{min-height:120px!important;padding:20px 0!important}
html.touch-ui .new-intake-sheet .intake-app-field:has(textarea) .intake-input-shell{min-height:138px!important}
html.touch-ui .new-intake-sheet .intake-field-hint{font-size:14px!important;margin-top:9px!important}
html.touch-ui .new-intake-sheet .od-sheet-note{font-size:15px!important}
html.touch-ui .new-intake-sheet .intake-suggestions{margin-top:10px!important;border-radius:20px!important;max-height:320px!important}
html.touch-ui .new-intake-sheet .intake-suggest-card{min-height:78px!important;padding:12px 13px!important;grid-template-columns:50px minmax(0,1fr) 24px!important}
html.touch-ui .new-intake-sheet .intake-suggest-avatar{width:48px!important;height:48px!important;font-size:18px!important}
html.touch-ui .new-intake-sheet .intake-suggest-copy b{font-size:18px!important}
html.touch-ui .new-intake-sheet .intake-suggest-copy small{font-size:13px!important}

/* Keep mobile fullscreen sheet proportions while matching the native-app look. */
html.phone-shape-ui:not(.tablet-ui) .new-intake-sheet .od-sheet-head,
html.mobile-app-ui:not(.tablet-ui) .new-intake-sheet .od-sheet-head{min-height:96px!important;padding:calc(14px + env(safe-area-inset-top)) 24px 12px!important;gap:14px!important}
html.phone-shape-ui:not(.tablet-ui) .new-intake-sheet .od-sheet-head h2,
html.mobile-app-ui:not(.tablet-ui) .new-intake-sheet .od-sheet-head h2{font-size:30px!important;line-height:1.06!important;font-weight:800!important}
html.phone-shape-ui:not(.tablet-ui) .new-intake-sheet .od-sheet-close,
html.mobile-app-ui:not(.tablet-ui) .new-intake-sheet .od-sheet-close{width:48px!important;height:48px!important;min-width:48px!important;font-size:36px!important}
html.phone-shape-ui:not(.tablet-ui) .new-intake-sheet .od-sheet-body,
html.mobile-app-ui:not(.tablet-ui) .new-intake-sheet .od-sheet-body{padding:0 16px calc(136px + env(safe-area-inset-bottom))!important}
html.phone-shape-ui:not(.tablet-ui) .new-intake-sheet .intake-create-btn,
html.mobile-app-ui:not(.tablet-ui) .new-intake-sheet .intake-create-btn{left:16px!important;right:16px!important;bottom:calc(16px + env(safe-area-inset-bottom))!important;min-height:94px!important;border-radius:28px!important;font-size:23px!important}

@media (min-width:700px){
  .new-intake-sheet .intake-grid{grid-template-columns:1fr 1fr!important}
  .new-intake-sheet .intake-client-grid{grid-template-columns:1fr 1fr!important}
}


/* =========================================================
   TELLIAPP v1.5.5 — clean native-style intake field repair
   Scoped only to .new-intake-sheet .intake-app-look.
   ========================================================= */
.new-intake-sheet .intake-app-look .intake-app-field{
  position:relative!important;display:block!important;margin:0!important;padding:0!important;
  border:0!important;background:transparent!important;font-size:initial!important;font-weight:initial!important;
}
.new-intake-sheet .intake-app-look .intake-input-shell{
  display:grid!important;grid-template-columns:40px minmax(0,1fr) auto!important;align-items:center!important;
  gap:16px!important;width:100%!important;min-width:0!important;box-sizing:border-box!important;
  min-height:92px!important;padding:0 22px!important;margin:0!important;
  border:1.5px solid var(--ui-field-border)!important;border-radius:28px!important;background:var(--ui-field-bg)!important;
  box-shadow:none!important;overflow:visible!important;
  color:var(--ui-text)!important;
}
.new-intake-sheet .intake-app-look .intake-app-field:focus-within .intake-input-shell{
  border:2px solid var(--ui-brand)!important;padding:0 21px!important;
}
.new-intake-sheet .intake-app-look .intake-field-icon,
.new-intake-sheet .intake-app-look .intake-field-side{
  display:grid!important;place-items:center!important;color:var(--ui-text)!important;width:40px!important;height:40px!important;
}
.new-intake-sheet .intake-app-look .intake-field-icon .ui-icon{width:31px!important;height:31px!important;stroke-width:2.1!important}
.new-intake-sheet .intake-app-look .intake-field-side .ui-icon{width:27px!important;height:27px!important;stroke-width:2.1!important}
.new-intake-sheet .intake-app-look .intake-app-field input,
.new-intake-sheet .intake-app-look .intake-app-field textarea,
.new-intake-sheet .intake-app-look .intake-app-field select{
  width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important;
  margin:0!important;padding:0!important;border:0!important;outline:0!important;background:transparent!important;
  box-shadow:none!important;border-radius:0!important;min-height:0!important;height:auto!important;
  font-size:22px!important;font-weight:500!important;line-height:1.28!important;color:var(--ui-text)!important;
}
.new-intake-sheet .intake-app-look .intake-app-field input::placeholder,
.new-intake-sheet .intake-app-look .intake-app-field textarea::placeholder{color:var(--ui-text)!important;opacity:1!important;font-weight:500!important}
.new-intake-sheet .intake-app-look .intake-app-field select{appearance:none!important;-webkit-appearance:none!important;padding-right:6px!important}
.new-intake-sheet .intake-app-look .intake-app-field textarea{min-height:118px!important;padding:22px 0!important;resize:vertical!important}
.new-intake-sheet .intake-app-look .intake-app-field:has(textarea) .intake-input-shell{align-items:flex-start!important;min-height:140px!important}
.new-intake-sheet .intake-app-look .intake-field-label{
  position:absolute!important;left:24px!important;top:0!important;z-index:5!important;display:inline-block!important;
  margin:0!important;padding:0 8px!important;border:0!important;background:var(--bg,#f3f6fb)!important;
  color:var(--ui-text-muted)!important;font-size:15px!important;font-weight:500!important;line-height:1.15!important;
  transform:translateY(-50%)!important;opacity:0!important;pointer-events:none!important;
}
.new-intake-sheet .intake-app-look .intake-app-field:focus-within .intake-field-label,
.new-intake-sheet .intake-app-look .intake-app-field.has-value .intake-field-label,
.new-intake-sheet .intake-app-look .intake-app-field.always-float .intake-field-label,
.new-intake-sheet .intake-app-look .intake-field-label.always-visible{opacity:1!important}
.new-intake-sheet .intake-app-look .intake-field-hint{display:block!important;margin:8px 8px 0!important;font-size:14px!important;line-height:1.35!important;color:var(--ui-text)!important;font-weight:400!important}
.new-intake-sheet .intake-app-look .intake-crm-status{
  display:grid!important;grid-template-columns:54px minmax(0,1fr)!important;align-items:center!important;gap:16px!important;
  margin:10px 0 34px!important;padding:24px!important;border-radius:28px!important;background:var(--ui-success-soft)!important;color:var(--ui-text)!important;
}
.new-intake-sheet .intake-app-look .intake-crm-badge{
  width:54px!important;height:54px!important;border-radius:16px!important;background:var(--ui-success-soft)!important;color:var(--ui-success)!important;display:grid!important;place-items:center!important;
}
.new-intake-sheet .intake-app-look .intake-crm-badge .ui-icon{width:31px!important;height:31px!important;stroke-width:2.2!important}
.new-intake-sheet .intake-app-look .intake-crm-status b{font-size:19px!important;line-height:1.35!important;font-weight:750!important}
.new-intake-sheet .intake-app-look .intake-section{display:grid!important;gap:18px!important;padding:0!important;border:0!important;background:transparent!important;margin:0 0 38px!important}
.new-intake-sheet .intake-app-look .intake-section h3{display:flex!important;align-items:center!important;gap:16px!important;margin:0 0 4px!important;font-size:27px!important;line-height:1.18!important;font-weight:800!important}
.new-intake-sheet .intake-app-look .intake-section-icon{width:62px!important;height:62px!important;min-width:62px!important;border-radius:50%!important;background:var(--ui-brand-soft)!important;color:var(--ui-text-muted)!important;display:grid!important;place-items:center!important;margin:0!important}
.new-intake-sheet .intake-app-look .intake-section-icon .ui-icon{width:31px!important;height:31px!important;stroke-width:2.1!important}
.new-intake-sheet .intake-app-look .intake-grid{display:grid!important;grid-template-columns:1fr!important;gap:18px!important}
.new-intake-sheet .intake-app-look .intake-subhead{font-size:17px!important;font-weight:800!important;margin:0!important;color:var(--ui-text)!important}
.new-intake-sheet .intake-app-look .intake-create-btn{min-height:96px!important;border-radius:29px!important;font-size:25px!important;font-weight:800!important}
.new-intake-sheet .intake-app-look .intake-suggestions{margin-top:10px!important;border-radius:20px!important;background:var(--ui-card-bg)!important;border:1px solid var(--ui-border)!important;box-shadow:0 10px 25px rgba(0,0,0,.10)!important}

/* Tablet / desktop intentionally smaller, while keeping identical functionality. */
html.tablet-ui .new-intake-sheet .intake-app-look .intake-input-shell{min-height:76px!important;border-radius:22px!important;padding:0 18px!important;grid-template-columns:34px minmax(0,1fr) auto!important}
html.tablet-ui .new-intake-sheet .intake-app-look .intake-app-field input,
html.tablet-ui .new-intake-sheet .intake-app-look .intake-app-field textarea,
html.tablet-ui .new-intake-sheet .intake-app-look .intake-app-field select{font-size:18px!important}
html.tablet-ui .new-intake-sheet .intake-app-look .intake-section h3{font-size:23px!important}
html.tablet-ui .new-intake-sheet .intake-app-look .intake-section-icon{width:54px!important;height:54px!important;min-width:54px!important}

@media (min-width:1100px){
  .new-intake-sheet .intake-app-look .intake-input-shell{min-height:66px!important;border-radius:18px!important;padding:0 16px!important;grid-template-columns:30px minmax(0,1fr) auto!important;gap:12px!important}
  .new-intake-sheet .intake-app-look .intake-app-field input,
  .new-intake-sheet .intake-app-look .intake-app-field textarea,
  .new-intake-sheet .intake-app-look .intake-app-field select{font-size:16px!important}
  .new-intake-sheet .intake-app-look .intake-section h3{font-size:21px!important}
  .new-intake-sheet .intake-app-look .intake-section-icon{width:48px!important;height:48px!important;min-width:48px!important}
  .new-intake-sheet .intake-app-look .intake-crm-status{grid-template-columns:46px minmax(0,1fr)!important;padding:18px!important;border-radius:22px!important}
  .new-intake-sheet .intake-app-look .intake-crm-badge{width:46px!important;height:46px!important}
  .new-intake-sheet .intake-app-look .intake-crm-status b{font-size:16px!important}
}
