/* Scoped to the MobileShell branch: desktop / official PDF remain untouched. */
.tc-mf-shell{--mf-bg:#f3f6fb;--mf-ink:#17253b;--mf-muted:#62718a;--mf-blue:#175cda;--mf-line:#e1e7f0;max-width:var(--tc-mf-max,480px);margin:0 auto;background:var(--mf-bg);color:var(--mf-ink);min-height:100dvh;font-family:"IBM Plex Sans",Arial,system-ui,sans-serif;font-size:15px}
.tc-mf-shell *{box-sizing:border-box}
.tc-mf-shell button{font-family:inherit;touch-action:manipulation}
.tc-mf-shell button:focus-visible,.tc-mf-shell a:focus-visible{outline:3px solid #175cda;outline-offset:3px}
.tc-mf-shell .tc-mf-home,.tc-mf-shell .tc-mf-more{padding:calc(20px + env(safe-area-inset-top)) max(20px,env(safe-area-inset-right)) calc(112px + env(safe-area-inset-bottom)) max(20px,env(safe-area-inset-left));max-width:100%;overflow-wrap:anywhere}
.tc-mf-header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:28px}
.tc-mf-brand{display:flex;align-items:center;gap:9px;font-weight:700;letter-spacing:-.4px;font-size:19px;min-width:0}
.tc-mf-brand>span:last-child{overflow-wrap:anywhere}
.tc-mf-brand-mark{display:grid;place-items:center;background:var(--mf-blue);color:#fff;flex:none;width:34px;height:34px;border-radius:10px;font-size:14px;letter-spacing:-1px}
.tc-mf-header-actions{display:flex;align-items:center;gap:6px;flex:none}
.tc-mf-shell .tc-mf-icon-button{display:grid;place-items:center;width:44px;height:44px;background:transparent;border:0;border-radius:12px;color:var(--mf-muted);cursor:pointer;flex:none}
.tc-mf-shell .tc-mf-avatar{background:#e3ecfc;color:#245da6;width:44px;height:44px;border:1px solid #cfdef8;border-radius:50%;font-size:13px;font-weight:600;cursor:pointer}
.tc-mf-date{margin:0 0 8px;color:var(--mf-muted);font-size:12px;letter-spacing:.45px}
.tc-mf-welcome h1,.tc-mf-more h1{font-size:28px;line-height:1.22;letter-spacing:-.8px;margin:0 0 8px;font-weight:600;color:var(--mf-ink)}
.tc-mf-welcome>p:last-child,.tc-mf-subtitle{margin:0;color:var(--mf-muted);font-size:14px;line-height:1.5}
.tc-mf-shell .tc-mf-primary{display:block;width:100%;min-height:56px;padding:14px 18px;margin:24px 0 12px;border:0;border-radius:14px;background:var(--mf-blue);color:#fff;font-size:17px;font-weight:600;letter-spacing:-.2px;box-shadow:0 5px 14px #175cda1a;cursor:pointer}
.tc-mf-quick{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.tc-mf-quick button{display:flex;align-items:center;gap:10px;min-width:0;min-height:76px;padding:13px 12px;text-align:left;border:1px solid var(--mf-line);border-radius:14px;background:#fff;color:var(--mf-blue);cursor:pointer}
.tc-mf-quick svg{flex:none}.tc-mf-quick span{min-width:0}.tc-mf-quick strong{display:block;color:var(--mf-ink);font-size:14px;font-weight:600}.tc-mf-quick small{display:block;margin-top:4px;color:var(--mf-muted);font-size:11px;line-height:1.4}
.tc-mf-shell button:disabled{cursor:default;opacity:.58}
.tc-mf-brand-mark,.tc-mf-shell .tc-mf-avatar{white-space:nowrap;overflow-wrap:normal}
.tc-mf-section{margin-top:28px}.tc-mf-section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.tc-mf-section h2{font-size:18px;letter-spacing:-.3px;font-weight:600;margin:0;color:var(--mf-ink)}
.tc-mf-shell .tc-mf-text{border:0;padding:10px 0;min-height:44px;background:none;color:var(--mf-blue);font-size:12px;font-weight:600;cursor:pointer}.tc-mf-section-head .tc-mf-text{flex:none}
.tc-mf-surface{background:#fff;border:1px solid var(--mf-line);border-radius:15px;overflow:hidden}
.tc-mf-event{display:flex;align-items:center;gap:12px;width:100%;min-height:82px;border:0;border-bottom:1px solid var(--mf-line);padding:15px 14px;background:#fff;color:var(--mf-ink);text-align:left;cursor:pointer}.tc-mf-event:last-child{border-bottom:0}.tc-mf-event>svg{width:16px;flex:none;color:#7c8a9e}
.tc-mf-event-time{display:grid;place-items:center;flex:none;background:#edf3ff;color:#2258ad;border-radius:10px;min-width:46px;min-height:44px;font-size:12px;font-weight:600}
.tc-mf-row-content{flex:1;min-width:0}.tc-mf-row-content strong{display:block;font-weight:600;font-size:14px;line-height:1.4}.tc-mf-row-content small{display:block;color:var(--mf-muted);font-size:12px;margin-top:4px;line-height:1.4}
.tc-mf-state{padding:22px 16px;color:var(--mf-muted);font-size:13px;line-height:1.55}.tc-mf-state .tc-mf-text{display:block;margin-top:2px}
.tc-mf-drafts{display:grid;gap:10px}.tc-mf-draft{display:block;width:100%;min-width:0;padding:18px;border:1px solid #d6e1f4;border-radius:15px;text-align:left;background:linear-gradient(135deg,#fff,#f2f6ff);color:var(--mf-ink);cursor:pointer}.tc-mf-draft-top{display:flex;flex-wrap:wrap;gap:7px;align-items:center;justify-content:space-between;color:var(--mf-muted);font-size:11px}.tc-mf-pill{display:inline-block;background:#edf0f5;border-radius:6px;color:#5c687b;padding:4px 7px;font-size:10px;font-weight:600}.tc-mf-draft-partner{display:block;font-size:18px;line-height:1.35;letter-spacing:-.3px;margin:14px 0 17px;font-weight:600;overflow-wrap:anywhere}.tc-mf-draft-bottom{display:flex;flex-wrap:wrap;align-items:center;gap:10px;justify-content:space-between}.tc-mf-draft-bottom>small{font-size:11px;color:var(--mf-muted)}.tc-mf-continue{display:flex;align-items:center;gap:4px;font-size:12px;font-weight:600;color:var(--mf-blue)}.tc-mf-continue svg{width:15px;height:15px}.tc-mf-draft-small{padding:14px 18px;background:#fff}.tc-mf-draft-small .tc-mf-draft-partner{font-size:15px;margin:10px 0}
.tc-mf-manager{display:flex;align-items:center;gap:12px;width:100%;padding:16px;margin-top:20px;background:#eaf0fc;border:1px solid #dce5f8;border-radius:14px;color:#2858a6;text-align:left;cursor:pointer}.tc-mf-manager>span{flex:1;min-width:0}.tc-mf-manager strong{display:block;font-size:13px;font-weight:600}.tc-mf-manager small{display:block;margin-top:5px;color:var(--mf-muted);font-size:11px}.tc-mf-manager svg{flex:none;width:20px}
.tc-mf-freshness{display:flex;align-items:center;gap:10px;margin-top:17px;font-size:10px;line-height:1.5;color:var(--mf-muted)}.tc-mf-freshness>span{flex:1}
.tc-mf-nav{position:fixed;z-index:60;bottom:0;left:0;right:0;margin:0 auto;max-width:var(--tc-mf-max,480px);display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:6px env(safe-area-inset-right) calc(7px + env(safe-area-inset-bottom)) env(safe-area-inset-left);background:#fffffffa;border-top:1px solid #dce3ed;box-shadow:0 -4px 18px #1b325606}
.tc-mf-nav button{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:55px;padding:7px 1px;border:0;border-radius:10px;background:transparent;color:#69778e;cursor:pointer;font-size:10px;font-weight:500;line-height:1.2}.tc-mf-nav button[aria-current=page]{color:var(--mf-blue);background:#edf3ff}.tc-mf-nav svg{width:22px;height:22px;flex:none}
.tc-mf-nav{background:#fff}.tc-mf-nav button>span{max-width:100%;overflow-wrap:anywhere;text-align:center}
.tc-mf-toast{position:fixed;z-index:10000;left:50%;transform:translateX(-50%);bottom:calc(92px + env(safe-area-inset-bottom));max-width:min(88vw,440px);padding:12px 18px;background:#17253bf5;color:#fff;border-radius:14px;font-size:13px;line-height:1.4;text-align:center;pointer-events:none}
.tc-mf-menu{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:24px}.tc-mf-menu button{display:flex;flex-direction:column;align-items:flex-start;min-width:0;min-height:120px;padding:16px;text-align:left;background:#fff;border:1px solid var(--mf-line);border-radius:14px;color:var(--mf-ink);cursor:pointer}.tc-mf-menu-icon{height:32px;display:flex;align-items:center;font-size:25px;margin-bottom:12px}.tc-mf-menu strong{font-size:14px;font-weight:600;line-height:1.35}.tc-mf-menu small{font-size:11px;color:var(--mf-muted);margin-top:5px}
.tc-mf-more-actions{display:grid;gap:8px;margin-top:20px}.tc-mf-more-actions button{padding:14px;border:1px solid var(--mf-line);border-radius:12px;background:#fff;color:var(--mf-blue);font-size:14px;text-align:left;min-height:48px;cursor:pointer}
.tc-mf-mail-page{padding-bottom:calc(108px + env(safe-area-inset-bottom));overflow-wrap:anywhere;min-width:0}.tc-mf-mail-heading{display:flex;align-items:center;gap:12px;padding:calc(18px + env(safe-area-inset-top)) 16px 10px;background:#fff}.tc-mf-mail-heading h1{font-size:20px;margin:0}.tc-mf-mail-note{padding:0 16px 14px;color:var(--mf-muted);font-size:12px;line-height:1.5;background:#fff;margin:0}
@media(min-width:700px){.tc-mf-home{max-width:760px!important;margin:0 auto}.tc-mf-more{max-width:1000px;margin:0 auto}.tc-mf-menu{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:359px){.tc-mf-shell .tc-mf-home,.tc-mf-shell .tc-mf-more{padding-left:max(14px,env(safe-area-inset-left));padding-right:max(14px,env(safe-area-inset-right))}.tc-mf-brand{font-size:16px;gap:6px}.tc-mf-welcome h1{font-size:25px}.tc-mf-quick button{gap:7px;padding:11px 9px}.tc-mf-quick svg{width:18px}.tc-mf-quick small{font-size:10px}.tc-mf-menu button{padding:13px}}
@media(prefers-reduced-motion:reduce){.tc-mf-shell *{scroll-behavior:auto!important}}

/* M02: only operational mobile views, never desktop or PDF. */
.tc-mf-shell[data-work-theme="light"] {
 color-scheme: light;
 --c-page:#fff; --c-page2:#f3f6fb; --c-bg:#f3f6fb; --c-card:#fff; --c-card2:#f6f8fb; --c-paper:#f6f8fb;
 --c-ink:#17253b; --c-text:#17253b; --c-ink2:#1f3a5f; --c-sub:#526079; --c-sub2:#526079;
 --c-line:#d5dce7; --c-line2:#c5cfdc; --c-border:#d5dce7; --c-soft:#f3f6fb;
 --c-navy:#345a8c; --c-h:#345a8c; --c-top:#345a8c; --c-accent:#175cda;
 --c-green:#15803d; --c-amber:#92400e; --c-specbg:#ecfdf3; --c-specborder:#86efac; --c-privbg:#fbfaf6;
 --c-warnbg:#fffbeb; --c-warnbg2:#fef3c7; --c-warnfg:#92400e;
 --c-badbg:#fef2f2; --c-badbg2:#fee2e2; --c-badfg:#b91c1c; --c-badfg2:#b91c1c; --c-badbd:#fca5a5;
 --c-dangerbg:#fef2f2; --c-dangerfg:#b91c1c;
 --c-okbg:#f0fdf4; --c-okbg2:#dcfce7; --c-okfg:#166534;
 --c-infobg:#eff6ff; --c-infobg2:#dbeafe; --c-infofg:#1d4ed8;
 --c-purpbg:#f3e8ff; --c-purpfg:#6b21a8;
 background:var(--c-page2); color:var(--c-ink);
}
.tc-mf-shell[data-work-theme="light"] :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="button"]):not([type="submit"]),select,textarea) {
 color:var(--c-ink); background-color:var(--c-card); color-scheme:light; min-width:0; max-width:100%;
}
.tc-mf-shell[data-work-theme="light"] :is(input,textarea)::placeholder {color:#526079;opacity:1}
.tc-mf-shell[data-work-theme="light"] :is(input,select,textarea):disabled {color:#526079;-webkit-text-fill-color:#526079;background:#edf1f6;opacity:1}
.tc-mf-shell[data-work-theme="light"] .tc-m02-head {border-bottom:1px solid var(--c-line)}
.tc-mf-shell[data-work-theme="light"] .tc-m02-head :is(div,span,small) {color:var(--c-ink)}
.tc-mf-shell[data-work-theme="light"] .tc-m02-head button {background:#edf2fa!important;color:#1f3a5f!important;min-height:40px;border-color:#d5dce7!important}
.tc-mf-shell[data-work-theme="light"] .tc-m02-head button[aria-pressed="true"] {background:#1f3a5f!important;color:#fff!important}
.tc-mf-shell[data-work-theme="light"] .tc-m02-head input {border:1px solid var(--c-line)!important}
.tc-mf-shell .tc-m02-event-dialog {overscroll-behavior:contain;max-height:92dvh!important;scroll-padding-bottom:28px}
.tc-mf-shell .tc-m02-event-dialog input:is([type="date"],[type="time"]) {width:100%;min-width:0;max-width:100%;appearance:none;-webkit-appearance:none}
.tc-mf-shell .tc-m02-event-dialog input::-webkit-date-and-time-value {text-align:left;min-height:1.4em}
