:root {
  --blue: #005eb8; --blue-dark: #063263; --blue-deep: #071f3d; --cyan: #28a8eb;
  --ink: #122236; --muted: #66778a; --soft: #f3f6f9; --line: #e1e8ef; --white: #fff;
  --green: #16875e; --orange: #df7b16; --violet: #6758c8; --red: #d84848;
  --topbar: 64px; --bottom-nav: calc(60px + env(safe-area-inset-bottom, 0px));
  font-family: Inter, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: #eef3f7; color: var(--ink); -webkit-font-smoothing: antialiased; }
body { overscroll-behavior-y: none; }
button, input { font: inherit; }
button { color: inherit; -webkit-tap-highlight-color: transparent; }
button, [role="button"] { touch-action: manipulation; }
[hidden] { display: none !important; }
.fi { display: inline-block; width: 21px; height: 21px; background: currentColor; -webkit-mask: var(--fi-r) center/contain no-repeat; mask: var(--fi-r) center/contain no-repeat; }
button.active .fi, .active > .fi { -webkit-mask-image: var(--fi-f); mask-image: var(--fi-f); }

.app-shell { min-height: 100dvh; background: var(--soft); }
.top-bar { position: fixed; z-index: 50; inset: 0 0 auto; height: var(--topbar); padding: env(safe-area-inset-top, 0px) 18px 0; display: grid; grid-template-columns: 39px minmax(0,1fr) 40px 40px 39px; gap: 4px; align-items: center; border-bottom: 1px solid rgba(214,224,233,.88); background: rgba(255,255,255,.96); backdrop-filter: blur(20px); }
.brand-button, .top-action, .profile-button { display: grid; place-items: center; padding: 0; border: 0; background: transparent; }
.brand-button img { width: 33px; height: 33px; border-radius: 10px; }
.top-title { min-width: 0; padding-left: 8px; display: grid; gap: 1px; }
.top-title strong { overflow: hidden; font-size: 18px; letter-spacing: -.3px; text-overflow: ellipsis; white-space: nowrap; }
.top-title span { color: var(--muted); font-size: 9px; }
.top-action { position: relative; width: 40px; height: 40px; border-radius: 50%; }
.top-action:active { background: #eef3f7; }
.notification-button b { position: absolute; top: 5px; right: 4px; min-width: 15px; height: 15px; padding: 0 4px; display: grid; place-items: center; border: 2px solid #fff; border-radius: 9px; background: var(--red); color: #fff; font-size: 8px; }
.profile-button img { width: 34px; height: 34px; border: 2px solid #e5edf3; border-radius: 50%; object-fit: cover; object-position: center 20%; }
.desktop-rail { display: none; }
.workspace { height: 100dvh; padding-top: var(--topbar); padding-bottom: var(--bottom-nav); overflow: hidden; }
.app-page { display: none; height: 100%; overflow: hidden; background: var(--soft); }
.app-page.active { display: block; animation: page-in .18s ease; }
@keyframes page-in { from { opacity: .35; transform: translateY(3px); } }
.page-scroll { height: 100%; padding: 18px 16px 28px; overflow-y: auto; -webkit-overflow-scrolling: touch; }

.today-hero { position: relative; min-height: 205px; padding: 23px; overflow: hidden; border-radius: 22px; background: linear-gradient(125deg, #051e3b 0%, #064c94 57%, #087fd5 100%); color: #fff; box-shadow: 0 14px 34px rgba(5,61,116,.19); }
.today-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(110,204,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(110,204,255,.06) 1px, transparent 1px); background-size: 25px 25px; mask-image: linear-gradient(90deg, transparent 10%, #000); }
.hero-copy { position: relative; z-index: 2; }
.hero-copy > span, .eyebrow { color: #4fb5ed; font-size: 9px; font-weight: 800; letter-spacing: 1.3px; }
.hero-copy h1 { margin: 14px 0 8px; color: #fff; font-size: 29px; font-weight: 430; line-height: 1.12; letter-spacing: -.8px; }
.hero-copy h1 strong { font-weight: 750; }
.hero-copy p { margin: 0; color: #b9d7ee; font-size: 11px; }
.hero-tech { position: absolute; right: -26px; top: -41px; width: 226px; height: 226px; border: 1px solid rgba(128,211,255,.22); border-radius: 50%; box-shadow: 0 0 0 34px rgba(94,190,255,.035), 0 0 0 69px rgba(94,190,255,.02); }
.hero-tech::before, .hero-tech::after { content: ""; position: absolute; border-radius: 50%; background: #74ceff; box-shadow: 0 0 12px #2db6ff; }
.hero-tech::before { width: 5px; height: 5px; left: 7px; top: 151px; }.hero-tech::after { width: 3px; height: 3px; left: 54px; top: 65px; }
.hero-tech span { position: absolute; width: 200px; right: 17px; bottom: 42px; border-top: 1px dashed rgba(164,223,255,.36); transform: rotate(-11deg); }
.hero-tech span::after { content: ""; position: absolute; right: 54px; top: -8px; width: 16px; height: 16px; background: #fff; clip-path: polygon(0 45%, 100% 0, 67% 50%, 100% 100%, 0 57%); transform: rotate(8deg); }
.hero-score { position: absolute; z-index: 2; left: 23px; bottom: 20px; display: flex; gap: 9px; align-items: baseline; }
.hero-score small { color: #86c9f1; font-size: 8px; letter-spacing: 1px; }.hero-score strong { font-size: 20px; }.hero-score span { color: #81e2bc; font-size: 9px; }.hero-score span i { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: #4bd69e; }

.summary-strip { position: relative; z-index: 4; margin: -14px 12px 21px; padding: 14px 6px; display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid rgba(218,228,237,.9); border-radius: 15px; background: rgba(255,255,255,.97); box-shadow: 0 8px 22px rgba(22,57,89,.09); }
.summary-item { min-width: 0; display: grid; gap: 4px; place-items: center; border-right: 1px solid var(--line); }.summary-item:last-child { border: 0; }
.summary-item strong { font-size: 18px; }.summary-item span { color: var(--muted); font-size: 8px; text-align: center; }
.summary-item.alert strong { color: var(--orange); }

.content-section, .schedule-card { margin-bottom: 16px; overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: #fff; box-shadow: 0 4px 16px rgba(27,58,88,.045); }
.content-section > header, .quick-section > header, .schedule-card > header { padding: 18px 18px 13px; display: flex; align-items: end; justify-content: space-between; }
.content-section h2, .quick-section h2, .schedule-card h2 { margin: 4px 0 0; font-size: 18px; letter-spacing: -.3px; }
.content-section header button { padding: 5px; border: 0; background: transparent; color: var(--blue); font-size: 10px; font-weight: 700; }
.priority-list { padding: 0 9px 9px; }
.priority-item { width: 100%; min-height: 70px; padding: 11px 10px; display: grid; grid-template-columns: 42px minmax(0,1fr) 26px; gap: 10px; align-items: center; border: 0; border-bottom: 1px solid #edf1f4; background: transparent; text-align: left; }
.priority-item:last-child { border-bottom: 0; }
.priority-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: #eaf4ff; color: var(--blue); }.priority-icon.orange { background: #fff2e5; color: var(--orange); }.priority-icon.violet { background: #f0edff; color: var(--violet); }
.priority-copy { min-width: 0; display: grid; gap: 5px; }.priority-copy strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }.priority-copy span { color: var(--muted); font-size: 10px; }
.priority-item > .fi { width: 18px; height: 18px; color: #9babb9; }

.quick-section { margin-bottom: 16px; }.quick-section > header { padding: 4px 2px 12px; }
.quick-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; }
.quick-grid button { min-width: 0; padding: 0; display: grid; gap: 7px; place-items: center; border: 0; background: transparent; }
.quick-grid button > span { width: 49px; height: 49px; display: grid; place-items: center; border: 1px solid #deebf5; border-radius: 15px; background: #fff; color: var(--blue); box-shadow: 0 4px 12px rgba(33,70,103,.05); }
.quick-grid button > span .fi { width: 23px; height: 23px; }.quick-grid b { max-width: 70px; min-height: 24px; color: #536579; font-size: 9px; line-height: 1.3; text-align: center; }

.milestone-list { padding: 0 10px 10px; }.milestone-item { width: 100%; padding: 12px 9px; display: grid; grid-template-columns: 38px minmax(0,1fr) auto; gap: 10px; align-items: center; border: 0; border-bottom: 1px solid #edf1f4; background: transparent; text-align: left; }.milestone-item:last-child { border: 0; }
.airline-mark { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: linear-gradient(145deg,#e7f2fc,#dceaf8); color: var(--blue-dark); font-size: 10px; font-weight: 800; }.milestone-item div { min-width: 0; display: grid; gap: 4px; }.milestone-item strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }.milestone-item small { color: var(--muted); font-size: 9px; }.milestone-item time { color: var(--blue); font-size: 9px; font-weight: 700; }

.page-heading { min-height: 78px; margin-bottom: 12px; display: flex; align-items: center; justify-content: space-between; }
.page-heading h1 { margin: 4px 0 3px; font-size: 29px; line-height: 1; letter-spacing: -.8px; }.page-heading p { margin: 0; color: var(--muted); font-size: 11px; }
.primary-icon { width: 43px; height: 43px; display: grid; place-items: center; border: 0; border-radius: 13px; background: var(--blue); color: #fff; box-shadow: 0 7px 15px rgba(0,94,184,.2); }.primary-icon .fi { width: 22px; height: 22px; }
.search-field { height: 43px; margin-bottom: 12px; padding: 0 13px; display: grid; grid-template-columns: 20px minmax(0,1fr); gap: 8px; align-items: center; border: 1px solid #dce5ed; border-radius: 12px; background: #fff; color: #8593a1; }
.search-field .fi { width: 18px; height: 18px; }.search-field input { min-width: 0; height: 39px; padding: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 14px; }
.segment-control { height: 38px; margin-bottom: 14px; padding: 3px; display: grid; grid-template-columns: repeat(3,1fr); border-radius: 11px; background: #e7edf3; }
.segment-control button { border: 0; border-radius: 8px; background: transparent; color: #6d7c8b; font-size: 11px; font-weight: 650; }.segment-control button.active { background: #fff; color: var(--ink); box-shadow: 0 2px 7px rgba(24,55,84,.1); }

.work-list { display: grid; gap: 11px; }.work-card { width: 100%; padding: 0; overflow: hidden; border: 1px solid #dde6ee; border-radius: 16px; background: #fff; box-shadow: 0 4px 13px rgba(26,59,88,.045); text-align: left; }
.work-card-top { padding: 15px 15px 12px; display: grid; grid-template-columns: 42px minmax(0,1fr) auto; gap: 11px; align-items: center; }.work-card-top .airline-mark { width: 42px; height: 42px; border-radius: 12px; }
.work-title { min-width: 0; display: grid; gap: 4px; }.work-title strong { font-size: 14px; }.work-title span { color: var(--muted); font-size: 10px; }.status-chip { padding: 5px 8px; border-radius: 10px; background: #eaf4ff; color: #1666ae; font-size: 8px; font-weight: 750; white-space: nowrap; }.status-chip.final { background: #e9f7f1; color: var(--green); }.status-chip.planning { background: #f2f0fb; color: var(--violet); }
.work-facts { padding: 0 15px 13px; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 9px; }.work-facts span { display: grid; gap: 3px; color: #8795a2; font-size: 8px; text-transform: uppercase; letter-spacing: .5px; }.work-facts b { overflow: hidden; color: var(--ink); font-size: 9px; text-transform: none; letter-spacing: 0; text-overflow: ellipsis; white-space: nowrap; }
.progress-row { padding: 10px 15px 14px; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 11px; align-items: center; border-top: 1px solid #edf1f4; }.progress-track { height: 6px; overflow: hidden; border-radius: 4px; background: #e7edf3; }.progress-track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,var(--blue),var(--cyan)); }.progress-row b { color: var(--blue); font-size: 10px; }
.empty-state { padding: 50px 20px; display: grid; place-items: center; gap: 10px; color: var(--muted); text-align: center; }.empty-state .fi { width: 32px; height: 32px; }.empty-state strong { color: var(--ink); font-size: 14px; }.empty-state span { font-size: 11px; }

.date-strip { margin-bottom: 15px; display: grid; grid-template-columns: repeat(7,1fr); gap: 5px; }.date-button { min-width: 0; min-height: 62px; padding: 8px 2px; display: grid; gap: 5px; place-items: center; border: 1px solid transparent; border-radius: 13px; background: transparent; color: #738294; }.date-button span { font-size: 8px; text-transform: uppercase; }.date-button b { font-size: 14px; }.date-button.active { border-color: #0d6cc2; background: var(--blue); color: #fff; box-shadow: 0 5px 14px rgba(0,94,184,.18); }
.schedule-card > header { align-items: center; border-bottom: 1px solid var(--line); }.availability { color: var(--green); font-size: 8px; }.availability i { display: inline-block; width: 6px; height: 6px; margin-right: 4px; border-radius: 50%; background: #24af7b; }
.agenda-list { padding: 7px 16px 13px; }.agenda-item { position: relative; min-height: 78px; padding: 14px 0 14px 66px; border-bottom: 1px solid #edf1f4; }.agenda-item:last-child { border: 0; }.agenda-item::before { content: ""; position: absolute; left: 52px; top: 19px; bottom: -8px; width: 1px; background: #dce5ed; }.agenda-item:last-child::before { display: none; }.agenda-item::after { content: ""; position: absolute; left: 49px; top: 20px; width: 7px; height: 7px; border: 2px solid #fff; border-radius: 50%; background: var(--event-color); box-shadow: 0 0 0 1px var(--event-color); }.agenda-item time { position: absolute; left: 0; top: 15px; color: #607183; font-size: 9px; }.agenda-item div { display: grid; gap: 5px; }.agenda-item strong { font-size: 12px; }.agenda-item span { color: var(--muted); font-size: 9px; }.agenda-item small { width: max-content; padding: 4px 7px; border-radius: 8px; background: color-mix(in srgb, var(--event-color) 10%, white); color: var(--event-color); font-size: 7px; font-weight: 700; }

.mail-list { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fff; }.mail-item { position: relative; width: 100%; min-height: 88px; padding: 14px 13px; display: grid; grid-template-columns: 41px minmax(0,1fr) auto; gap: 10px; border: 0; border-bottom: 1px solid #edf1f4; background: #fff; text-align: left; }.mail-item:last-child { border: 0; }.mail-item.unread { background: #f5faff; }.mail-avatar { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: #e7f1fb; color: var(--blue); font-size: 10px; font-weight: 800; }.mail-copy { min-width: 0; display: grid; gap: 4px; }.mail-copy strong, .mail-copy b, .mail-copy span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.mail-copy strong { font-size: 11px; }.mail-copy b { font-size: 12px; }.mail-copy span { color: var(--muted); font-size: 9px; }.mail-item time { color: #8493a1; font-size: 8px; }.mail-item.unread time { color: var(--blue); font-weight: 700; }.mail-dot { position: absolute; left: 5px; top: 31px; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); }

.profile-page .page-scroll { padding-top: 16px; }.profile-hero { position: relative; min-height: 240px; padding: 35px 20px 23px; overflow: hidden; display: grid; place-items: center; border-radius: 21px; background: linear-gradient(135deg,#05254a,#0762ae 70%,#0785d6); color: #fff; text-align: center; box-shadow: 0 12px 29px rgba(8,65,117,.17); }.profile-grid { position: absolute; inset: 0; background: linear-gradient(rgba(112,207,255,.055) 1px, transparent 1px), linear-gradient(90deg,rgba(112,207,255,.055) 1px,transparent 1px); background-size: 25px 25px; }.profile-orbit { position: absolute; right: -80px; top: -140px; width: 300px; height: 300px; border: 1px solid rgba(133,216,255,.25); border-radius: 50%; box-shadow: 0 0 0 43px rgba(89,183,245,.035),0 0 0 86px rgba(89,183,245,.02); }.profile-hero > button { position: absolute; z-index: 2; top: 14px; right: 12px; width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; }.profile-hero > img { position: relative; z-index: 2; width: 86px; height: 86px; border: 4px solid rgba(255,255,255,.93); border-radius: 50%; object-fit: cover; object-position: center 20%; box-shadow: 0 8px 22px rgba(0,19,44,.3); }.profile-hero h1 { position: relative; z-index: 2; margin: 11px 0 3px; font-size: 22px; }.profile-hero p { position: relative; z-index: 2; margin: 0; color: #c4e0f4; font-size: 10px; }.profile-status { position: relative; z-index: 2; margin-top: 10px; padding: 5px 9px; border-radius: 12px; background: rgba(4,32,65,.34); color: #caefdf; font-size: 8px; }.profile-status i { display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: #4bd6a2; box-shadow: 0 0 8px #4bd6a2; }
.identity-card { margin: -12px 13px 15px; position: relative; z-index: 3; min-height: 68px; padding: 13px 15px; display: grid; grid-template-columns: auto 1fr 1px auto 1fr; gap: 8px; align-items: center; border: 1px solid var(--line); border-radius: 15px; background: #fff; box-shadow: 0 8px 19px rgba(25,58,88,.09); }.identity-card span { color: #8795a4; font-size: 7px; letter-spacing: .6px; }.identity-card strong { font-size: 9px; }.identity-card > i { width: 1px; height: 25px; background: var(--line); }
.profile-menu { margin-bottom: 15px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fff; }.profile-menu button { width: 100%; min-height: 72px; padding: 11px 14px; display: grid; grid-template-columns: 40px minmax(0,1fr) 20px; gap: 11px; align-items: center; border: 0; border-bottom: 1px solid #edf1f4; background: transparent; text-align: left; }.profile-menu button:last-child { border: 0; }.profile-menu button > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: #e9f3fc; color: var(--blue); }.profile-menu button > div { min-width: 0; display: grid; gap: 5px; }.profile-menu strong { font-size: 12px; }.profile-menu small { overflow: hidden; color: var(--muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }.profile-menu button > .fi { width: 17px; height: 17px; color: #92a0ad; }
.safety-card { min-height: 69px; padding: 13px; display: grid; grid-template-columns: 41px minmax(0,1fr) auto; gap: 10px; align-items: center; border: 1px solid #dcebe5; border-radius: 16px; background: #f1faf6; }.safety-card > span { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 12px; background: #daf2e7; color: var(--green); }.safety-card div { display: grid; gap: 4px; }.safety-card b { font-size: 11px; }.safety-card small { color: #648274; font-size: 8px; }.safety-card > strong { color: var(--green); font-size: 13px; }

.bottom-nav { position: fixed; z-index: 55; inset: auto 0 0; min-height: var(--bottom-nav); padding: 7px 5px env(safe-area-inset-bottom, 0px); display: grid; grid-template-columns: repeat(5,1fr); align-items: start; border-top: 1px solid #dce4eb; background: rgba(255,255,255,.98); backdrop-filter: blur(20px); box-shadow: 0 -5px 19px rgba(29,61,90,.06); }.bottom-nav button { position: relative; min-width: 0; padding: 0; display: grid; gap: 3px; place-items: center; border: 0; background: transparent; color: #778696; }.bottom-nav button > span { position: relative; width: 28px; height: 27px; display: grid; place-items: center; }.bottom-nav .fi { width: 22px; height: 22px; }.bottom-nav em { font-size: 9px; font-style: normal; }.bottom-nav button.active { color: var(--blue); font-weight: 700; }.bottom-nav b { position: absolute; top: -3px; right: -7px; min-width: 15px; height: 15px; padding: 0 4px; display: grid; place-items: center; border: 2px solid #fff; border-radius: 9px; background: var(--red); color: #fff; font-size: 7px; }

.detail-view { position: fixed; z-index: 80; inset: 0; padding-top: env(safe-area-inset-top, 0px); display: flex; flex-direction: column; background: var(--soft); animation: detail-in .23s cubic-bezier(.2,.8,.2,1); }.detail-view > header { flex-shrink: 0; min-height: 58px; padding: 0 10px; display: grid; grid-template-columns: 42px minmax(0,1fr) 42px; align-items: center; border-bottom: 1px solid var(--line); background: #fff; }.detail-view > header button { width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; }.detail-view > header div { min-width: 0; display: grid; gap: 2px; text-align: center; }.detail-view > header strong, .detail-view > header span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.detail-view > header strong { font-size: 14px; }.detail-view > header span { color: var(--muted); font-size: 9px; }.detail-body { flex: 1; min-height: 0; padding: 16px; overflow-y: auto; -webkit-overflow-scrolling: touch; }
@keyframes detail-in { from { transform: translateX(100%); } }
.detail-hero { position: relative; min-height: 163px; padding: 20px; overflow: hidden; border-radius: 18px; background: linear-gradient(130deg,#05274f,#0873c6); color: #fff; }.detail-hero::after { content: ""; position: absolute; width: 170px; height: 170px; right: -50px; top: -70px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; box-shadow: 0 0 0 28px rgba(255,255,255,.03),0 0 0 56px rgba(255,255,255,.02); }.detail-hero span { color: #81cdf7; font-size: 8px; font-weight: 800; letter-spacing: 1.2px; }.detail-hero h1 { margin: 9px 0 4px; font-size: 25px; }.detail-hero p { margin: 0; color: #bddcf1; font-size: 10px; }.detail-progress { position: absolute; left: 20px; right: 20px; bottom: 20px; }.detail-progress div { margin-bottom: 7px; display: flex; justify-content: space-between; font-size: 9px; }.detail-progress .progress-track { background: rgba(255,255,255,.18); }.detail-progress .progress-track i { background: #fff; }
.detail-card { margin-top: 13px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fff; }.detail-card > header { padding: 15px 16px; border-bottom: 1px solid var(--line); }.detail-card h2 { margin: 0; font-size: 15px; }.detail-facts { padding: 4px 16px; }.detail-fact { min-height: 48px; display: grid; grid-template-columns: 110px minmax(0,1fr); gap: 12px; align-items: center; border-bottom: 1px solid #edf1f4; }.detail-fact:last-child { border: 0; }.detail-fact span { color: var(--muted); font-size: 9px; }.detail-fact strong { overflow-wrap: anywhere; font-size: 10px; }.task-list { padding: 4px 16px; }.task-row { min-height: 51px; display: grid; grid-template-columns: 24px minmax(0,1fr); gap: 10px; align-items: center; border-bottom: 1px solid #edf1f4; }.task-row:last-child { border: 0; }.task-check { width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid #cad5df; border-radius: 50%; color: transparent; }.task-row.done .task-check { border-color: var(--green); background: var(--green); color: #fff; }.task-check .fi { width: 13px; height: 13px; }.task-row span { font-size: 10px; }.task-row.done > span { color: #789087; text-decoration: line-through; }
.detail-actions { position: sticky; bottom: -16px; margin: 15px -16px -16px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom,0px)); display: grid; grid-template-columns: 1fr 1.5fr; gap: 10px; border-top: 1px solid var(--line); background: rgba(255,255,255,.97); backdrop-filter: blur(15px); }.detail-actions button { height: 45px; border: 1px solid #cbd7e2; border-radius: 12px; background: #fff; font-size: 11px; font-weight: 700; }.detail-actions button.primary { border-color: var(--blue); background: var(--blue); color: #fff; }
.mail-detail-head { padding: 17px; border: 1px solid var(--line); border-radius: 16px 16px 0 0; background: #fff; }.mail-detail-head h1 { margin: 0 0 14px; font-size: 20px; line-height: 1.25; }.mail-sender { display: grid; grid-template-columns: 43px minmax(0,1fr) auto; gap: 10px; align-items: center; }.mail-sender .mail-avatar { width: 42px; height: 42px; }.mail-sender div { display: grid; gap: 4px; }.mail-sender strong { font-size: 11px; }.mail-sender span, .mail-sender time { color: var(--muted); font-size: 8px; }.mail-body { min-height: 300px; padding: 21px 18px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 16px 16px; background: #fff; font-size: 13px; line-height: 1.65; white-space: pre-line; }
.personal-hero { padding: 22px; display: grid; grid-template-columns: 62px minmax(0,1fr); gap: 14px; align-items: center; border-radius: 17px; background: linear-gradient(135deg,#05284e,#0875c8); color: #fff; }.personal-hero img { width: 62px; height: 62px; border: 3px solid #fff; border-radius: 50%; object-fit: cover; }.personal-hero h1 { margin: 0 0 4px; font-size: 19px; }.personal-hero p { margin: 0; color: #c7e4f7; font-size: 9px; }

.sheet-layer { position: fixed; z-index: 100; inset: 0; display: grid; place-items: end center; }.sheet-mask { position: absolute; inset: 0; border: 0; background: rgba(5,18,32,.42); backdrop-filter: blur(2px); }.action-sheet { position: relative; width: 100%; max-height: 84dvh; padding: 10px 16px calc(18px + env(safe-area-inset-bottom,0px)); overflow-y: auto; border-radius: 22px 22px 0 0; background: #fff; box-shadow: 0 -14px 45px rgba(8,30,53,.18); animation: sheet-in .22s cubic-bezier(.2,.8,.2,1); }.action-sheet::before { content: ""; width: 34px; height: 4px; margin: 0 auto 15px; display: block; border-radius: 3px; background: #d9e0e7; }.sheet-header { margin-bottom: 14px; display: flex; align-items: center; justify-content: space-between; }.sheet-header h2 { margin: 0; font-size: 19px; }.sheet-header button { width: 35px; height: 35px; display: grid; place-items: center; border: 0; border-radius: 50%; background: #eef2f5; }.sheet-options { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; }.sheet-option { width: 100%; min-height: 58px; padding: 10px 13px; display: grid; grid-template-columns: 36px minmax(0,1fr) 20px; gap: 10px; align-items: center; border: 0; border-bottom: 1px solid var(--line); background: #fff; text-align: left; }.sheet-option:last-child { border: 0; }.sheet-option > span { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 10px; background: #eaf3fb; color: var(--blue); }.sheet-option div { display: grid; gap: 4px; }.sheet-option strong { font-size: 11px; }.sheet-option small { color: var(--muted); font-size: 8px; }.sheet-option > .fi { width: 16px; height: 16px; color: #97a4b0; }
.sheet-search { height: 46px; margin-bottom: 14px; padding: 0 13px; display: grid; grid-template-columns: 21px 1fr; gap: 9px; align-items: center; border: 1px solid var(--line); border-radius: 12px; }.sheet-search input { height: 42px; border: 0; outline: 0; font-size: 15px; }.compose-form { display: grid; gap: 11px; }.compose-form label { display: grid; gap: 6px; color: var(--muted); font-size: 9px; }.compose-form input, .compose-form textarea { width: 100%; padding: 11px 12px; border: 1px solid #dce5ed; border-radius: 11px; outline: 0; color: var(--ink); font-size: 14px; }.compose-form textarea { height: 150px; resize: none; }.sheet-primary { height: 46px; border: 0; border-radius: 12px; background: var(--blue); color: #fff; font-size: 12px; font-weight: 750; }
@keyframes sheet-in { from { transform: translateY(100%); } }
.toast { position: fixed; z-index: 150; left: 50%; bottom: calc(var(--bottom-nav) + 12px); max-width: calc(100vw - 32px); padding: 11px 16px; border-radius: 11px; background: #102c49; color: #fff; font-size: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.2); opacity: 0; pointer-events: none; transform: translate(-50%,10px); transition: .2s; }.toast.show { opacity: 1; transform: translate(-50%,0); }

@media (min-width: 768px) {
  :root { --rail: 230px; --topbar: 68px; --bottom-nav: 0px; }
  .app-shell { padding-left: var(--rail); }.top-bar { left: var(--rail); padding: 0 28px; grid-template-columns: minmax(0,1fr) 42px 42px 40px; }.top-bar .brand-button { display: none; }.top-title span { display: block; }.desktop-rail { position: fixed; z-index: 60; inset: 0 auto 0 0; width: var(--rail); padding: 22px 13px 16px; display: flex; flex-direction: column; background: var(--blue-deep); color: #fff; }.desktop-brand { height: 55px; padding: 0 10px; display: flex; gap: 11px; align-items: center; }.desktop-brand img { width: 38px; height: 38px; border-radius: 11px; }.desktop-brand div { display: grid; gap: 5px; }.desktop-brand strong { font-size: 17px; letter-spacing: 1.5px; }.desktop-brand span { color: #87a6c4; font-size: 7px; letter-spacing: 1.3px; }.desktop-rail nav { margin-top: 28px; display: grid; gap: 6px; }.desktop-rail nav button { min-height: 48px; padding: 0 13px; display: grid; grid-template-columns: 26px minmax(0,1fr) auto; gap: 9px; align-items: center; border: 0; border-radius: 11px; background: transparent; color: #aebed0; text-align: left; }.desktop-rail nav button.active { background: #0b56aa; color: #fff; }.desktop-rail nav button b { min-width: 20px; height: 20px; display: grid; place-items: center; border-radius: 10px; background: rgba(255,255,255,.11); font-size: 8px; }.desktop-rail nav span { font-size: 11px; font-weight: 650; }.rail-user { margin-top: auto; padding: 14px 9px 0; display: grid; grid-template-columns: 39px minmax(0,1fr); gap: 10px; align-items: center; border-top: 1px solid rgba(255,255,255,.1); }.rail-user img { width: 39px; height: 39px; border: 2px solid rgba(255,255,255,.3); border-radius: 50%; object-fit: cover; }.rail-user div { min-width: 0; display: grid; gap: 4px; }.rail-user strong, .rail-user span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.rail-user strong { font-size: 10px; }.rail-user span { color: #8ea5bb; font-size: 8px; }.workspace { padding-bottom: 0; }.bottom-nav { display: none; }.page-scroll { max-width: 1120px; margin: 0 auto; padding: 28px 32px 45px; }.today-scroll { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(310px,.8fr); gap: 18px; align-content: start; }.today-hero { grid-column: 1/-1; min-height: 230px; }.summary-strip { grid-column: 1/-1; }.priority-section { grid-column: 1; grid-row: 3/span 2; }.quick-section { grid-column: 2; }.next-section { grid-column: 2; }.work-list { grid-template-columns: repeat(2,minmax(0,1fr)); }.date-strip { max-width: 640px; }.profile-page .page-scroll { max-width: 900px; }.detail-view { left: var(--rail); padding-top: 0; }.detail-body { width: min(760px,100%); margin: 0 auto; padding: 24px; }.action-sheet { max-width: 540px; border-radius: 22px 22px 0 0; }.toast { bottom: 25px; }
}

@media (max-width: 370px) {
  .page-scroll { padding-left: 12px; padding-right: 12px; }.today-hero { padding: 19px; }.hero-copy h1 { font-size: 26px; }.quick-grid { gap: 4px; }.quick-grid button > span { width: 45px; height: 45px; }.work-facts { gap: 5px; }.identity-card { margin-left: 7px; margin-right: 7px; }.bottom-nav em { font-size: 8px; }
}
