/* TATMAK APP — unified mobile navigation, replacing the maze of nested menus. */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root{--app-bg:#f6f7ef;--app-card:#fffefa;--app-ink:#252b25;--app-muted:#7e8579;--app-line:#e1e6d9;--app-lime:#ddf47f;--app-hero:#262d26;--app-coral:#f37860}
html{scroll-padding-top:100px}body{background:var(--app-bg)!important;color:var(--app-ink);font-family:Manrope,Inter,system-ui,sans-serif!important;padding-bottom:calc(79px + env(safe-area-inset-bottom))!important}
body button,body a{-webkit-tap-highlight-color:transparent}body a:focus-visible,body button:focus-visible{outline:3px solid #6b93e3;outline-offset:3px}
.tatmak-app-header{height:71px;padding:0 max(18px,calc((100vw - 1080px)/2));position:sticky;top:0;z-index:75;display:flex;align-items:center;justify-content:space-between;background:rgba(250,251,246,.78);border-bottom:1px solid var(--app-line);backdrop-filter:blur(22px) saturate(1.35);-webkit-backdrop-filter:blur(22px) saturate(1.35)}
.tatmak-app-brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:var(--app-ink)}.tatmak-app-brand img{width:38px;height:38px;border-radius:13px;object-fit:cover;background:#202921;border:1px solid #293529}.tatmak-app-brand span{display:flex;flex-direction:column;gap:4px}.tatmak-app-brand strong{font-size:17px;letter-spacing:-.06em;font-weight:1000;line-height:1}.tatmak-app-brand small{font-size:8px;letter-spacing:.2em;font-weight:900;color:#75816c;white-space:nowrap}
.tatmak-app-header-actions{display:flex;align-items:center;gap:8px}.tatmak-notification-button,.tatmak-app-avatar{border:1px solid var(--app-line);width:41px;height:41px;display:grid;place-items:center;border-radius:14px;background:#fffefa;color:#343d30;position:relative;cursor:pointer}.tatmak-notification-button.is-open{background:var(--app-lime);border-color:#c0d48c}.tatmak-app-avatar{background:var(--app-lime);text-decoration:none;border-color:var(--app-lime)}.tatmak-bell-badge{position:absolute;top:-7px;right:-5px;min-width:19px;height:19px;padding:2px 4px;display:grid;place-items:center;border-radius:30px;background:var(--app-coral);border:2px solid #fffefa;color:#fff;font-size:9px;font-weight:1000}
.tatmak-bottom-nav{position:fixed;z-index:74;bottom:0;left:0;right:0;min-height:calc(74px + env(safe-area-inset-bottom));padding:7px max(9px,calc((100vw - 520px)/2)) calc(9px + env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:center;border-top:1px solid rgba(81,105,65,.15);background:linear-gradient(180deg,rgba(255,254,250,.74),rgba(255,254,250,.84));backdrop-filter:blur(24px) saturate(1.35);-webkit-backdrop-filter:blur(24px) saturate(1.35);box-shadow:0 -8px 24px rgba(34,49,32,.07)}
.tatmak-bottom-nav>a{display:flex;min-width:0;flex-direction:column;align-items:center;gap:3px;padding:2px 0;color:#8a9185;text-decoration:none;font-size:10px;letter-spacing:-.015em;font-weight:850}.tatmak-bottom-icon{height:36px;width:43px;display:grid;place-items:center;border-radius:13px;position:relative}.tatmak-bottom-nav a.is-active{color:#2c4426}.tatmak-bottom-nav a.is-active .tatmak-bottom-icon{background:var(--app-lime);color:#314229}.tatmak-nav-unread{position:absolute;top:2px;right:6px;width:8px;height:8px;background:var(--app-coral);border:2px solid #fff;border-radius:50%}
.tatmak-inbox-backdrop{position:fixed;inset:70px 0 0;background:rgba(15,25,17,.32);border:0;z-index:79;cursor:default}.tatmak-inbox{position:fixed;right:max(12px,calc((100vw - 1080px)/2));top:77px;z-index:80;width:min(440px,calc(100vw - 24px));max-height:min(76dvh,690px);overflow:auto;background:#fffefa;border:1px solid #dfe4d9;border-radius:22px;box-shadow:0 24px 70px #11201334;padding:17px}.tatmak-inbox-heading{display:flex;justify-content:space-between;gap:12px;align-items:center}.tatmak-inbox-heading span{font-size:9px;letter-spacing:.14em;font-weight:1000;color:#859675}.tatmak-inbox-heading h2{font-size:24px;letter-spacing:-.055em;font-weight:1000;margin:5px 0}.tatmak-inbox-heading h2 em{font-style:normal;color:#8eac49}.tatmak-inbox-heading button{border:0;border-radius:50%;background:#eff1e8;width:35px;height:35px;display:grid;place-items:center}.tatmak-inbox-mark-all{width:100%;display:flex;align-items:center;justify-content:center;gap:9px;padding:10px;border:0;border-radius:11px;background:#e9f5bd;font-size:12px;font-weight:900;margin:13px 0}.tatmak-inbox-items{display:flex;flex-direction:column;gap:8px;margin-top:12px}.tatmak-inbox-item{width:100%;display:flex;align-items:flex-start;gap:12px;text-align:left;border:1px solid #e4e9db;background:#f8f9f3;border-radius:16px;padding:13px;cursor:pointer;color:#222a20}.tatmak-inbox-item.is-unread{background:#f0fad0;border-color:#c3db88}.tatmak-inbox-item-icon{flex:none;width:35px;height:35px;border-radius:11px;background:#fff;display:grid;place-items:center;font-size:17px}.tatmak-inbox-item-text{flex:1;min-width:0;display:flex;flex-direction:column;gap:5px}.tatmak-inbox-item-text b{font-size:12px;line-height:1.3}.tatmak-inbox-item-text small{font-size:11px;line-height:1.5;color:#6e776b;overflow-wrap:anywhere}.tatmak-inbox-item-text time{font-size:9px;color:#949c8f}.tatmak-inbox-item>i{flex:none;width:8px;height:8px;border-radius:100%;background:#f0785c;margin-top:8px}.tatmak-inbox-empty{display:grid;place-items:center;text-align:center;padding:28px 10px}.tatmak-inbox-empty span{font-size:38px;margin-bottom:8px}.tatmak-inbox-empty b{font-size:16px}.tatmak-inbox-empty p,.tatmak-inbox-footnote{color:#8b9284;font-size:11px;line-height:1.6}.tatmak-inbox-footnote{padding:10px 8px 2px;margin:10px 0 0;border-top:1px solid #e9ecdf}
/* Existing server-backed screens keep their forms and permissions, but share the new visual language. */
.site-header,.calendar-header{display:none!important}.calendar-page{--c-ink:#283029;--c-paper:var(--app-bg);--c-red:#8cab52;--c-lime:var(--app-lime);background:radial-gradient(ellipse 58% 15% at 100% 0%,#e3f1cf,transparent),var(--app-bg)!important;font-family:Manrope,Inter,system-ui,sans-serif!important;min-height:calc(100dvh - 150px)}
.calendar-main{padding-top:25px!important;padding-bottom:32px!important}.calendar-heading{margin-bottom:22px}.calendar-heading h1{font-size:clamp(37px,7vw,62px)}.calendar-heading p{color:var(--app-muted)}.calendar-welcome{border:1px solid #cbdda9!important;background:#f0fad2!important;border-radius:18px!important;box-shadow:none!important;padding:14px!important}.calendar-badge{border-radius:12px!important}.calendar-tabs{background:#e6ebdf!important;border-radius:18px!important}.calendar-tabs button.selected{background:#fffefa!important;color:#283128!important;border-radius:14px!important}.calendar-grid-card,.calendar-day-panel,.calendar-roster,.calendar-request,.calendar-swap-panel,.calendar-access-gate,.calendar-state{border:1px solid #e1e6d9!important;background:#fffefa!important;border-radius:23px!important;box-shadow:0 7px 24px #19251a0c!important}.calendar-cell.is-day{background:#e0f3b5}.calendar-cell.is-night{background:#646c70}.calendar-cell.is-selected{border-color:#415b35;box-shadow:inset 0 0 0 1px #fff,0 0 0 1px #415b35}.calendar-action{background:var(--app-lime)!important;color:#263623!important;border-radius:13px!important;border-color:#b7d38b!important;box-shadow:none!important}
.calendar-swap-banner{background:#293128!important;color:#f9fbed!important;border-radius:24px!important;box-shadow:none!important}.calendar-swap-banner .calendar-kicker{color:#d9f6a5!important}.calendar-swap-banner h2 em{color:#dbf47f!important}.calendar-swap-banner p{color:#d1d9c9!important}.calendar-swap-start{background:var(--app-lime)!important;color:#273822!important}.calendar-cover-quick{background:#fffefa!important;color:#2a3929!important}
.problem-board,.night-checklist-panel,.profile-board{font-family:Manrope,Inter,system-ui,sans-serif}.problem-card,.problem-form,.problem-empty{border-color:#dfe5d6!important;border-radius:22px!important;box-shadow:0 7px 24px #1827190c!important}.problem-hero{background:#273027!important;color:#f5f7ee!important;border-radius:24px!important;box-shadow:none!important}.problem-hero em{color:#ddf47f!important}.problem-hero-action,.problem-submit{background:var(--app-lime)!important;color:#283d24!important;border-color:#b4d084!important;box-shadow:none!important}.problem-filters button.selected{background:#282f28!important;border-color:#282f28!important;color:#edf7c2!important}.problem-comment{border-radius:15px!important}.problem-card:target{outline:3px solid #b0d26b;outline-offset:4px}
.calendar-footer,.site-footer{padding-bottom:30px!important}.page-shell{background:transparent!important}.page-shell.is-hub .site-footer{display:none}
.calendar-tabs{display:flex!important;overflow-x:auto;scrollbar-width:none;gap:5px;padding:5px!important;white-space:nowrap}.calendar-tabs::-webkit-scrollbar{display:none}.calendar-tabs button{flex:0 0 auto;font-size:11px!important;padding:10px 12px!important}.calendar-tabs button i{display:inline-block}
/* Actual home screen: the same focused APP layout as the separately tested UI Lab. */
.hub-app{max-width:680px;margin:0 auto;padding:30px 0 50px;font-family:Manrope,Inter,system-ui,sans-serif;color:var(--app-ink)}
.hub-app-intro{padding:5px 0 21px}.hub-app-kicker{display:inline-flex;align-items:center;gap:8px;font-size:10px;letter-spacing:.11em;font-weight:950;color:#788470}.hub-app-kicker i{height:8px;width:8px;border-radius:50%;background:#67b780;box-shadow:0 0 0 4px #e3f1dc}.hub-app-intro h1{font-weight:1000;font-size:clamp(30px,5vw,43px);letter-spacing:-.065em;line-height:1.14;margin:14px 0 7px}.hub-app-intro h1 em{font-style:normal;color:#8cab51}.hub-app-intro h1 span{font-size:.75em}.hub-app-intro p{color:#84907d;font-size:13px;margin:0}
.hub-app-shift{position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;min-height:188px;background:#293129;color:#f7f9ee!important;text-decoration:none;border-radius:24px;padding:22px 24px;box-shadow:0 8px 25px #1b2d1922}.hub-app-shift>*:not(i){position:relative;z-index:2}.hub-app-label{color:#d1e4b9;font-size:10px;letter-spacing:.12em;font-weight:950}.hub-app-shift>strong{font-size:30px;letter-spacing:-.06em;font-weight:1000;line-height:1.15;margin:18px 0 5px}.hub-app-shift>small{color:#d0dccd;font-size:11px;line-height:1.5}.hub-app-shift-action{display:flex;align-items:center;justify-content:space-between;gap:10px;align-self:flex-start;min-width:152px;margin-top:17px;padding:11px 14px;border-radius:12px;background:var(--app-lime);color:#273d23;font-weight:1000;font-size:11px}.hub-app-shift-action b{font-size:17px}.hub-app-shift>i{position:absolute;z-index:0;right:9px;top:-20px;font-size:190px;font-style:normal;line-height:1;color:#def785;opacity:.15;transform:rotate(-17deg)}
.hub-app-section{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:23px 0 12px}.hub-app-section h2{font-size:17px;letter-spacing:-.045em;font-weight:1000;margin:0}.hub-app-section>span{color:#9ba38e;font-size:10px;font-weight:850}.hub-app-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.hub-app-action{display:flex;flex-direction:column;gap:5px;min-height:119px;padding:16px;border:1px solid #e3e8dc;border-radius:20px;background:#fffefa;color:#2d352a;text-decoration:none;box-shadow:0 6px 19px #2632240a}.hub-app-action.lime{background:#e3f593;border-color:#e3f593}.hub-app-action.peach{background:#ffe1d0;border-color:#ffe1d0}.hub-app-action>span{font-size:23px;line-height:1.1;margin-bottom:10px}.hub-app-action>b{font-size:13px;letter-spacing:-.025em;font-weight:1000}.hub-app-action>small{font-size:10px;line-height:1.4;color:#72806a}.hub-app-action.peach>small{color:#8b6c60}
.hub-app-checklist{display:flex;align-items:center;gap:14px;margin-top:12px;border:1px solid #e0e7d8;border-radius:20px;padding:15px;background:#fffefa;color:#293328;text-decoration:none;box-shadow:0 6px 18px #2632240a}.hub-app-check-icon{height:49px;width:49px;display:grid;place-items:center;background:#f2edf9;border-radius:16px;font-size:27px;flex:none}.hub-app-checklist>span:nth-child(2){flex:1;min-width:0;display:flex;flex-direction:column;gap:5px}.hub-app-checklist strong{font-size:13px;font-weight:1000}.hub-app-checklist small{font-size:10px;color:#899188}.hub-app-checklist>b{font-size:19px;color:#889e79}
.hub-app-quiz{display:flex;align-items:center;gap:16px;width:100%;border:1px solid #e1e7d8;border-radius:22px;padding:15px;background:#fffefa;color:#273226;text-align:left;cursor:pointer;box-shadow:0 6px 18px #2632240a;font-family:inherit}.hub-app-quiz-photo{height:65px;width:65px;border-radius:18px;background:#fce4c5;display:grid;place-items:center;flex:none;overflow:hidden;transform:rotate(-4deg)}.hub-app-quiz-photo img{width:100%;height:100%;object-fit:cover}.hub-app-quiz>span:nth-child(2){display:flex;flex:1;min-width:0;flex-direction:column;gap:5px}.hub-app-quiz small{font-size:9px;letter-spacing:.02em;font-weight:900;color:#a0a994}.hub-app-quiz strong{font-size:15px;font-weight:1000;letter-spacing:-.03em}.hub-app-quiz em{font-style:normal;font-size:10px;line-height:1.4;color:#8b9586}.hub-app-quiz>b{font-size:22px;color:#8ca94e}.hub-app-manager{display:flex;align-items:center;gap:12px;padding:15px;margin-top:12px;border-radius:18px;background:#ecf6d2;color:#293628;text-decoration:none;font-size:23px}.hub-app-manager>span{flex:1;display:flex;flex-direction:column;gap:4px}.hub-app-manager strong{font-size:13px;font-weight:1000}.hub-app-manager small{font-size:10px;color:#738467}.hub-app-manager>b{font-size:20px}.hub-app-footnote{font-size:10px;line-height:1.5;color:#9ba494;text-align:center;margin:23px 0}
@media(max-width:650px){.tatmak-app-header{height:65px;padding:0 16px}.tatmak-app-brand img{height:35px;width:35px}.tatmak-app-avatar,.tatmak-notification-button{height:38px;width:38px}.tatmak-bottom-nav{padding-left:7px;padding-right:7px}.tatmak-bottom-nav>a{font-size:9.5px}.tatmak-inbox{top:71px;right:8px;width:calc(100vw - 16px)}.calendar-main{padding:19px 15px 30px!important}.calendar-heading{margin-bottom:18px}.calendar-heading h1{font-size:clamp(34px,10vw,52px);letter-spacing:-.07em}.calendar-grid-card{padding:14px 11px!important}.calendar-day-panel{padding:17px!important}.calendar-footer{display:none}}
@media(max-width:650px){.hub-app{padding:15px 3px 38px}.hub-app-intro{padding-bottom:17px}.hub-app-intro h1{font-size:32px}.hub-app-shift{padding:19px 20px;border-radius:22px;min-height:180px}.hub-app-shift>strong{font-size:28px}.hub-app-action{padding:14px;min-height:112px}.hub-app-section{margin-top:22px}.hub-app-checklist{padding:13px}.hub-app-quiz{padding:13px;gap:12px}.hub-app-quiz-photo{height:58px;width:58px}}
@media(max-width:350px){.tatmak-app-brand small{font-size:7px}.tatmak-bottom-nav>a{font-size:8.5px}.tatmak-bottom-icon{width:38px}}
@media(prefers-reduced-motion:reduce){.tatmak-app-header,.tatmak-bottom-nav{scroll-behavior:auto}}

/* New comments and problem alerts arrive without reloading the page. */
.tatmak-live-toast{position:fixed;z-index:78;top:82px;right:max(14px,calc((100vw - 1080px)/2));width:min(385px,calc(100vw - 28px));display:flex;align-items:flex-start;background:#fffefa;border:1px solid #b9d882;border-radius:19px;box-shadow:0 12px 45px #23341e36;animation:tatmak-toast-enter .25s ease-out}
.tatmak-live-toast-content{display:flex;align-items:flex-start;gap:11px;flex:1;min-width:0;padding:15px 31px 15px 15px;text-align:left;background:transparent;border:0;color:#303d29;cursor:pointer;font-family:inherit}
.tatmak-live-toast-icon{width:36px;height:36px;flex:none;display:grid;place-items:center;border-radius:12px;background:#eaf7c1;font-size:18px}
.tatmak-live-toast-content>span:nth-child(2){min-width:0;display:flex;flex-direction:column;gap:4px}.tatmak-live-toast-content strong{font-size:10px;letter-spacing:.06em;text-transform:uppercase;color:#7c9a4b}.tatmak-live-toast-content b{font-size:13px;line-height:1.3}.tatmak-live-toast-content small{font-size:11px;color:#717e6b;line-height:1.4;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.tatmak-live-toast-arrow{margin-left:auto;align-self:center;color:#92a869;font-weight:900}
.tatmak-live-toast-close{position:absolute;top:8px;right:7px;width:28px;height:28px;display:grid;place-items:center;border:0;border-radius:50%;background:transparent;color:#718169;cursor:pointer}
.problem-live-state{display:inline-flex;align-items:center;gap:7px;margin-top:8px;color:#819769;font-size:10px;font-weight:800}.problem-live-state i{width:7px;height:7px;border-radius:50%;background:#6bb777;box-shadow:0 0 0 3px #e8f7df}
.problem-comment.is-fresh{background:#e7f7be!important;outline:1px solid #9eca71;animation:tatmak-message-enter .4s ease-out}
@keyframes tatmak-toast-enter{from{opacity:0;transform:translateY(-9px)}to{opacity:1;transform:translateY(0)}}
@keyframes tatmak-message-enter{from{transform:translateY(6px);opacity:.4}to{transform:translateY(0);opacity:1}}
@media(max-width:650px){.tatmak-live-toast{top:71px;right:9px;width:calc(100vw - 18px)}}
@media(prefers-reduced-motion:reduce){.tatmak-live-toast,.problem-comment.is-fresh{animation:none}}

/* Telegram profile images, safely proxied through the authenticated staff API. */
.staff-avatar{display:inline-grid;place-items:center;flex:none;width:36px;height:36px;border-radius:50%;overflow:hidden;background:#e4f1c8;color:#536c3b;font-size:14px;font-weight:950;line-height:1;vertical-align:middle;border:1.5px solid #fff;box-shadow:0 0 0 1px #dbe5d0}
.staff-avatar>img{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}.staff-avatar>span{display:grid;place-items:center;width:100%;height:100%}
.tatmak-app-avatar .staff-avatar.is-nav{width:100%;height:100%;background:#e4f78d;border:0;box-shadow:none;border-radius:12px;font-size:16px}
.calendar-worker .staff-avatar.calendar-worker-avatar{width:35px;height:35px;border-radius:50%;padding:0!important}
.problem-meta-author{display:inline-flex;align-items:center;gap:7px}.problem-meta-author .staff-avatar{width:25px;height:25px;font-size:10px}
.problem-comment>div:has(.staff-avatar){align-items:center;justify-content:flex-start;gap:8px}.problem-comment .staff-avatar.is-comment{width:31px;height:31px;font-size:12px}.problem-comment>div:has(.staff-avatar) b{font-size:12px}.problem-comment>div:has(.staff-avatar) small{margin-left:auto}
.profile-hero .staff-avatar.profile-hero-avatar{float:right;width:76px;height:76px;margin:0 0 10px 12px;background:#dff48b;color:#293d25;border:3px solid #e4f791;box-shadow:0 0 0 2px #53663d;font-size:28px}
@media(max-width:500px){.profile-hero .staff-avatar.profile-hero-avatar{width:60px;height:60px;font-size:23px}}

/* Each team problem is a conversation, with its own read marker and message flow. */
.problem-threads{display:grid;gap:11px;min-width:0}
.problem-thread-row{display:flex;align-items:center;gap:14px;width:100%;min-width:0;text-align:left;padding:17px;border:1px solid #dfe7d8;border-radius:21px;background:#fffefa;box-shadow:0 5px 20px #1a281612;color:#293328;font:inherit;cursor:pointer;transition:border-color .18s,transform .18s,background .18s}
.problem-thread-row:hover{border-color:#a7c47e;transform:translateY(-1px)}.problem-thread-row.has-unread{background:#f5fbdc;border-color:#bcd895}
.problem-thread-icon{display:grid;place-items:center;position:relative;flex:none;width:52px;height:52px;border-radius:17px;background:#e5f4c9;color:#405c30}.problem-thread-icon i{position:absolute;right:-2px;top:-2px;width:12px;height:12px;border-radius:50%;background:#f1785d;border:2px solid #fff}
.problem-thread-row-main{flex:1;display:grid;gap:7px;min-width:0}.problem-thread-row-title{display:flex;align-items:start;gap:12px;justify-content:space-between}.problem-thread-row-title strong{font-size:15px;font-weight:1000;letter-spacing:-.03em;line-height:1.3;min-width:0;overflow-wrap:anywhere}.problem-thread-row-title time{flex:none;white-space:nowrap;font-size:9px;font-weight:750;color:#8b9587;padding-top:3px}
.problem-thread-preview{font-size:11px;line-height:1.45;color:#80897a;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere}.problem-thread-preview b{color:#55624d}
.problem-thread-labels{display:flex;align-items:center;gap:5px 10px;flex-wrap:wrap;color:#87907f;font-size:9px;font-weight:850}.problem-thread-labels .problem-status{font-size:9px;padding:4px 7px}.problem-thread-row-tail{display:grid;place-items:center;gap:7px;color:#9aaa93}.problem-thread-unread{display:grid;place-items:center;min-width:23px;height:23px;padding:0 6px;border-radius:40px;background:#ec795a;color:#fff;font-size:10px;font-weight:1000}
.problem-thread{width:min(100%,850px);margin:0 auto;display:grid;gap:13px}.problem-thread-head{display:flex;align-items:center;gap:12px;padding:12px 15px;position:sticky;top:71px;z-index:31;background:rgba(250,251,246,.97);border:1px solid #dfe6d7;border-radius:17px;backdrop-filter:blur(12px)}
.problem-thread-back{flex:none;display:grid;place-items:center;width:39px;height:39px;border:1px solid #d9e3d2;border-radius:12px;background:#fff;color:#31452f;cursor:pointer}.problem-thread-heading{flex:1;min-width:0}.problem-thread-heading small{font-size:9px;font-weight:1000;letter-spacing:.11em;color:#91a478}.problem-thread-heading h2{margin:4px 0 0;font-size:18px;font-weight:1000;line-height:1.2;letter-spacing:-.035em;overflow-wrap:anywhere}.problem-thread-head>.problem-status{flex:none;max-width:112px;text-align:center}
.problem-thread-facts{padding:15px 17px;background:#fffefa;border:1px solid #dce4d5;border-radius:18px}.problem-thread-facts>p{margin:12px 0;color:#7d8976;font-size:11px}.problem-thread-facts>p span{color:#a2ab9b}.problem-thread-facts details{border-top:1px solid #e8edde;padding-top:11px}.problem-thread-facts summary{cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:10px;color:#4b6541;font-size:12px;font-weight:950;list-style:none}.problem-thread-facts summary::-webkit-details-marker{display:none}.problem-thread-facts summary span{font-size:10px;color:#97a38f;font-weight:750}.problem-thread-description{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.65;color:#586451}.problem-thread-facts .problem-meta-author{margin-top:12px;color:#737f70;font-size:11px}.problem-thread-facts .problem-meta-author .staff-avatar{width:26px;height:26px;font-size:10px}
.problem-chat-wrap{position:relative;border:1px solid #dce4d5;border-radius:24px;background:#f0f4ec;overflow:hidden;box-shadow:0 8px 25px #22321b0b}.problem-chat-caption{display:flex;align-items:center;gap:8px;padding:14px 16px;border-bottom:1px solid #dae3d4;background:#fffefa;color:#384b32;font-size:11px;font-weight:1000}.problem-chat-caption>span{color:#93a18b;font-weight:750}.problem-chat-caption i{margin-left:auto;font-style:normal;font-size:10px;color:#6da379}
.problem-chat-scroll{height:min(57dvh,600px);min-height:280px;padding:19px 15px 24px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#c9d6c0 transparent;scroll-behavior:auto}
.problem-chat-origin{width:min(94%,510px);margin:0 auto 19px;padding:16px;background:#293628;color:#edf8df;border-radius:19px;box-shadow:0 4px 15px #182a151c}.problem-chat-origin>span{font-size:10px;font-weight:1000;color:#d7f18e}.problem-chat-origin p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.6;margin:10px 0}.problem-chat-origin small{font-size:10px;color:#b5c7a9}
.problem-chat-message{display:flex;align-items:flex-end;gap:8px;max-width:90%;margin:0 auto 12px 0}.problem-chat-message.is-mine{justify-content:flex-end;margin-left:auto;margin-right:0}.problem-chat-message .staff-avatar.is-comment{width:32px;height:32px;font-size:11px;margin-bottom:3px}.problem-chat-bubble{min-width:0;max-width:100%;padding:11px 13px 10px;background:#fffefa;border:1px solid #e1e8dc;border-radius:18px 18px 18px 5px;box-shadow:0 2px 9px #26381c0b}.problem-chat-message.is-mine .problem-chat-bubble{background:#e2f5ab;border-color:#cde89a;border-radius:18px 18px 5px 18px}.problem-chat-bubble>div{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px}.problem-chat-bubble strong{font-size:11px;font-weight:1000;color:#42543d}.problem-chat-bubble time{font-size:9px;color:#9aa393;white-space:nowrap}.problem-chat-bubble p{margin:6px 0 0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.6;color:#344035}
.problem-chat-event{width:fit-content;max-width:95%;margin:12px auto;padding:8px 13px;border-radius:100px;background:#e0e9db;text-align:center;color:#677b60;font-size:10px;line-height:1.5;font-weight:800}.problem-chat-event span{color:#92a18a}.problem-unread-divider{display:flex;align-items:center;justify-content:center;gap:9px;margin:15px 0;color:#ad6e48;font-size:10px;font-weight:1000}.problem-unread-divider:before,.problem-unread-divider:after{content:"";height:1px;flex:1;background:#d8ac8d}
.problem-chat-compose{display:flex;align-items:flex-end;gap:9px;padding:13px;border-top:1px solid #dae5d2;background:#fffefa}.problem-chat-compose textarea{flex:1;resize:none;min-height:52px;max-height:160px;padding:12px 14px;border:1.5px solid #d9e1d1;border-radius:15px;background:#f8faf4;color:#283729;font:inherit;font-size:12px;line-height:1.55;outline:none}.problem-chat-compose textarea:focus{border-color:#9dbd76;box-shadow:0 0 0 2px #ddedbf}.problem-chat-compose>button{flex:none;display:grid;place-items:center;width:48px;height:48px;border:0;border-radius:15px;background:var(--app-lime);color:#2a4027;cursor:pointer}.problem-chat-compose>button:disabled{opacity:.45;cursor:default}.problem-chat-footnote{margin:0;padding:0 14px 12px;color:#9aa591;background:#fffefa;text-align:center;font-size:9px;line-height:1.45}.problem-chat-new{position:absolute;bottom:112px;left:50%;transform:translateX(-50%);background:#e1f4ad;color:#38552b;border:1px solid #b7d38c;border-radius:30px;box-shadow:0 4px 15px #26371f24;padding:10px 16px;white-space:nowrap;font-size:11px;font-weight:1000;cursor:pointer}
@media(max-width:650px){.problem-thread-row{gap:10px;padding:13px}.problem-thread-icon{height:43px;width:43px;border-radius:14px}.problem-thread-row-title strong{font-size:13px}.problem-thread-row-title time{font-size:8px}.problem-thread-preview{font-size:10.5px}.problem-thread-head{top:65px;gap:8px;padding:10px}.problem-thread-heading h2{font-size:15px}.problem-thread-head>.problem-status{font-size:9px;padding:5px 7px}.problem-chat-scroll{height:min(51dvh,540px);min-height:300px;padding:15px 10px}.problem-chat-message{max-width:94%}.problem-chat-bubble{padding:10px 11px}.problem-chat-compose{padding:10px}.problem-chat-new{bottom:106px}}

/* Compact inbox: the app header already names the page, so chat tools take priority. */
.problem-board:has(.problem-inbox-head){gap:12px}
.problem-inbox-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:1px 0 6px;min-width:0}
.problem-inbox-head>div{min-width:0}.problem-inbox-kicker{display:inline-block;color:#779747;font-size:10px;font-weight:1000;letter-spacing:.1em}
.problem-inbox-head p{margin:4px 0 0;color:#727f6f;font-size:11px;line-height:1.45}
.problem-inbox-new{flex:none;display:inline-flex;align-items:center;justify-content:center;min-width:91px;min-height:42px;padding:10px 13px;background:var(--app-lime);border:1px solid #b9d68b;border-radius:13px;color:#2e4527;font-size:12px;font-weight:1000;font-family:inherit;cursor:pointer;box-shadow:0 3px 9px #587b3218}
.problem-list-head.is-chat-list{margin-top:2px;align-items:center;min-width:0}.problem-list-head.is-chat-list strong{display:block;font-size:15px;letter-spacing:-.035em;color:#354332;font-weight:1000}.problem-list-head.is-chat-list strong span{color:#829573}
.problem-list-tools{display:flex;align-items:center;gap:9px;min-width:0}.problem-list-head.is-chat-list .problem-live-state{margin:0;white-space:nowrap;font-size:10px}.problem-list-head.is-chat-list .problem-reload{display:grid;place-items:center;flex:none;min-width:33px;width:33px;height:33px;padding:0;border:1px solid #d9e4d1;border-radius:11px;background:#fffefa;color:#657959;font-size:19px;cursor:pointer}
.problem-board .problem-filters{display:flex;flex-wrap:nowrap;gap:7px;min-width:0;max-width:100%;padding:1px 0 6px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.problem-board .problem-filters::-webkit-scrollbar{display:none}
.problem-board .problem-filters button{display:inline-flex;align-items:center;justify-content:center;gap:6px;flex:0 0 auto;min-height:36px;padding:8px 13px;white-space:nowrap;border:1px solid #d8e0d1;border-radius:100px;background:#fffefa;color:#596653;font-size:11px;font-weight:900;line-height:1.1;cursor:pointer;transition:background .15s,border-color .15s,color .15s}
.problem-board .problem-filters button.selected{background:#282f28!important;border-color:#282f28!important;color:#edf7c2!important}
.problem-board .problem-filters button span{display:inline-grid;place-items:center;min-width:18px;height:18px;padding:0 4px;border-radius:9px;background:#e8ede0;color:#596c4e;font-size:10px;line-height:1}
.problem-board .problem-filters button.selected span{background:#506044;color:#f2ffd0}
.problem-board:has(.problem-inbox-head) .problem-thread-row{box-shadow:0 4px 16px #1a28160b;border-radius:18px}
.problem-board:has(.problem-inbox-head) .problem-thread-row-main{gap:5px}
.problem-form{scroll-margin-top:100px}
@media(max-width:650px){.problem-board:has(.problem-inbox-head){gap:10px}.problem-inbox-head{gap:9px;padding:0 0 4px}.problem-inbox-head p{font-size:10px}.problem-inbox-kicker{font-size:9px}.problem-inbox-new{min-height:40px;min-width:82px;padding:9px 10px;font-size:11px}.problem-list-head.is-chat-list strong{font-size:14px}.problem-board .problem-filters{margin-right:-15px;padding-right:15px}.problem-board .problem-filters button{min-height:34px;padding:8px 12px;font-size:10px}}
@media(max-width:360px){.problem-inbox-head p{font-size:9px}.problem-inbox-new{min-width:74px;padding:9px;font-size:10px}.problem-list-tools{gap:6px}.problem-list-head.is-chat-list .problem-live-state{font-size:9px}}

/* A problem thread fills the available app viewport: only the message history scrolls. */
.problem-board.is-thread{position:fixed;top:71px;right:0;bottom:calc(74px + env(safe-area-inset-bottom));left:0;z-index:62;display:flex;flex-direction:column;gap:0;overflow:hidden;padding:7px max(10px,calc((100vw - 880px)/2));background:var(--app-bg)}
.problem-board.is-thread>.problem-message{position:absolute;z-index:5;top:12px;left:50%;transform:translateX(-50%);width:min(95%,600px);box-shadow:0 6px 30px #15251f24}
.problem-board.is-thread .problem-thread{width:100%;height:100%;min-height:0;margin:0;display:flex;flex-direction:column;gap:7px;overflow:hidden}
.problem-board.is-thread .problem-thread-head{position:relative;top:auto;z-index:2;flex:none;min-height:59px;padding:9px 11px;border-radius:17px}
.problem-board.is-thread .problem-thread-heading small{font-size:8px}
.problem-board.is-thread .problem-thread-heading h2{font-size:15px;line-height:1.2;margin-top:3px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.problem-board.is-thread .problem-thread-info{flex:none;min-height:0;max-height:48%;overflow:auto;overscroll-behavior:contain;background:var(--app-card);border:1px solid var(--app-line);border-radius:14px;scrollbar-width:thin}
.problem-board.is-thread .problem-thread-info>summary{min-height:42px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 13px;cursor:pointer;list-style:none;font-size:11px;font-weight:1000;color:#496344}
.problem-board.is-thread .problem-thread-info>summary::-webkit-details-marker{display:none}
.problem-board.is-thread .problem-thread-info>summary>span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.problem-board.is-thread .problem-thread-info>summary small{font-size:10px;font-weight:650;color:#8b9786}
.problem-board.is-thread .problem-thread-info-more{display:inline-flex;align-items:center;gap:4px;flex:none;color:#849579;font-weight:800;font-size:10px}
.problem-board.is-thread .problem-thread-info-more svg{transition:transform .16s}
.problem-board.is-thread .problem-thread-info[open] .problem-thread-info-more svg{transform:rotate(90deg)}
.problem-board.is-thread .problem-thread-info-body{padding:6px 14px 15px;border-top:1px solid var(--app-line)}
.problem-board.is-thread .problem-thread-info-date{font-size:10px;color:#879282;margin:10px 0}
.problem-board.is-thread .problem-thread-description{font-size:12px;color:#61715b}
.problem-board.is-thread .problem-chat-wrap{flex:1;min-height:0;display:flex;flex-direction:column;border-radius:18px}
.problem-board.is-thread .problem-chat-caption{flex:none;padding:10px 14px;min-height:39px}
.problem-board.is-thread .problem-chat-scroll{flex:1;min-height:0;height:auto;padding:15px 13px 19px;overflow-y:auto;overscroll-behavior:contain}
.problem-board.is-thread .problem-chat-compose{flex:none;padding:9px 12px;gap:8px}
.problem-board.is-thread .problem-chat-compose textarea{min-height:42px;max-height:110px;padding:10px 12px;font-size:12px}
.problem-board.is-thread .problem-chat-compose>button{width:43px;height:43px;border-radius:12px}
.problem-board.is-thread .problem-chat-new{bottom:74px}
@media(max-width:650px){
 .problem-board.is-thread{top:65px;padding:4px 5px 5px}
 .problem-board.is-thread .problem-thread{gap:5px}
 .problem-board.is-thread .problem-thread-head{padding:7px 9px;gap:8px;min-height:56px}
 .problem-board.is-thread .problem-thread-back{height:34px;width:34px;border-radius:10px}
 .problem-board.is-thread .problem-thread-heading h2{font-size:13px}
 .problem-board.is-thread .problem-thread-head>.problem-status{max-width:83px;font-size:8px;padding:5px 7px}
 .problem-board.is-thread .problem-thread-info>summary{min-height:39px;padding:8px 11px}
 .problem-board.is-thread .problem-chat-caption{padding:9px 11px;font-size:10px;min-height:37px}
 .problem-board.is-thread .problem-chat-caption>span{font-size:9px}
 .problem-board.is-thread .problem-chat-caption i{font-size:9px}
 .problem-board.is-thread .problem-chat-scroll{padding:12px 9px 16px}
 .problem-board.is-thread .problem-chat-compose{padding:8px}
 .problem-board.is-thread .problem-chat-compose textarea{min-height:42px}
}

/* Only page-specific destinations live here; main routes remain in the bottom navigation. */
.calendar-section-back{display:flex;margin:-5px 0 18px}.calendar-section-back button{border:1px solid var(--app-line);border-radius:12px;background:var(--app-card);color:var(--app-ink);padding:11px 14px;font:inherit;font-size:12px;font-weight:950;cursor:pointer}
.calendar-schedule-tools{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;margin:0 0 17px;font-family:Manrope,Inter,system-ui,sans-serif}
.calendar-secondary-notice{display:inline-block;flex:none;width:7px;height:7px;border-radius:50%;background:#e57b51;box-shadow:0 0 0 3px #e57b5121}
.calendar-admin-menu{position:relative;z-index:32;margin-left:auto}
.calendar-admin-menu>summary{display:flex;align-items:center;gap:7px;min-height:36px;padding:8px 11px;border:1px solid var(--app-line);border-radius:11px;background:var(--app-card);color:#66765f;font-size:11px;font-weight:900;cursor:pointer;list-style:none}
.calendar-admin-menu>summary::-webkit-details-marker{display:none}.calendar-admin-menu>summary span{font-size:16px;line-height:1}
.calendar-admin-popup{position:absolute;z-index:45;top:calc(100% + 7px);right:0;width:min(238px,calc(100vw - 36px));display:grid;gap:4px;padding:6px;border:1px solid var(--app-line);border-radius:14px;background:var(--app-card);box-shadow:0 13px 35px #172a1933}
.calendar-admin-popup button{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:43px;padding:9px 11px;border:0;border-radius:9px;background:transparent;text-align:left;color:var(--app-ink);font:inherit;font-size:11px;font-weight:850;cursor:pointer}
.calendar-admin-popup button:hover,.calendar-admin-popup button:focus-visible{background:#eff5e4}
@media(max-width:650px){.calendar-schedule-tools{gap:5px 10px}.calendar-admin-menu>summary{font-size:10px;padding:8px 9px}}
.calendar-day-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:6px}
.calendar-edit-day{border:1px solid #c6d8b7;border-radius:12px;background:#eaf2e1;color:#3e5c36;font-size:11px;font-weight:900;padding:10px 12px;white-space:nowrap;cursor:pointer}
.calendar-edit-day[aria-expanded="true"]{border-color:#90b56a;background:#dceebd}
.calendar-inline-editor{max-width:100%;margin:17px 0;padding:17px;border-style:solid}
@media(max-width:650px){.calendar-day-top{align-items:flex-start}.calendar-day-actions{flex-direction:column;align-items:stretch}.calendar-day-actions button{padding:8px 9px;font-size:10px}.calendar-inline-editor{padding:13px}}

/* A single-line composer that grows for longer replies, with an unmistakable send button. */
.problem-chat-compose textarea{min-width:0;min-height:44px;max-height:118px;field-sizing:content;resize:none;padding:12px 15px;border-radius:22px;font-size:13px;line-height:1.45}
.problem-chat-compose textarea:focus{border-color:#a6c87c;box-shadow:0 0 0 1px #a6c87c66}
.problem-chat-compose>button{width:44px;height:44px;border-radius:50%;transition:background .15s,opacity .15s}
.problem-chat-compose>button:disabled{opacity:1;background:#dce4d6;color:#9caa94;cursor:default}
.problem-board.is-thread .problem-chat-compose{padding:9px 11px;gap:8px;align-items:flex-end}
.problem-board.is-thread .problem-chat-compose textarea{min-height:44px;max-height:118px;padding:12px 15px;font-size:13px;border-radius:22px}
.problem-board.is-thread .problem-chat-compose>button{width:44px;height:44px;border-radius:50%}
@media(max-width:650px){.problem-board.is-thread .problem-chat-compose{padding:9px 10px}.problem-board.is-thread .problem-chat-compose textarea{font-size:13px}}

/* The profile is a working dashboard, not a second full-screen landing page. */
.profile-hero{min-height:0;padding:20px 22px;border-radius:20px;box-shadow:none}
.profile-hero h2{font-size:clamp(26px,5.5vw,38px);line-height:1.12;letter-spacing:-.045em;margin:9px 0 7px;overflow-wrap:anywhere}
.profile-hero p{font-size:12px;line-height:1.6;max-width:390px}
.profile-hero .staff-avatar.profile-hero-avatar{width:68px;height:68px;margin:0 0 8px 14px}
@media(max-width:650px){.profile-hero{padding:17px 18px}.profile-hero h2{font-size:28px}.profile-hero .staff-avatar.profile-hero-avatar{width:60px;height:60px}}

/* One employee-facing destination for shift exchanges and coverage requests. */
.replacement-hub{display:grid;gap:14px;max-width:780px;margin:0 auto;color:var(--app-ink);font-family:Manrope,Inter,system-ui,sans-serif}
.replacement-hub-head{padding:2px 2px 1px}
.replacement-hub-head h2{margin:6px 0 5px;font-size:clamp(24px,5.6vw,35px);line-height:1.15;letter-spacing:-.055em;font-weight:1000;color:var(--app-ink)}
.replacement-hub-head p{margin:0;color:var(--app-muted);font-size:12px;line-height:1.55}
.replacement-hub-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.replacement-hub-choices button{display:grid;grid-template-columns:42px 1fr;grid-template-rows:auto auto;align-content:center;align-items:center;column-gap:11px;row-gap:2px;min-width:0;min-height:92px;padding:14px 15px;border:1px solid #d5dfcf;border-radius:17px;background:#fffefa;color:#2a392a;text-align:left;font:inherit;cursor:pointer;transition:background .15s,border-color .15s,transform .15s}
.replacement-hub-choices button:hover{background:#f4f9eb;border-color:#a2c577}
.replacement-hub-choices button:active{transform:scale(.99)}
.replacement-hub-choices button.is-selected{border-color:#7d9e57;background:#e6f5c9;box-shadow:inset 0 0 0 1px #91b468}
.replacement-hub-choice-icon{grid-row:span 2;display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#eaf2df;color:#405b36;font-size:27px;line-height:1}
.replacement-hub-choices button.is-selected .replacement-hub-choice-icon{background:#cde9a0}
.replacement-hub-choices button strong{min-width:0;font-size:14px;font-weight:1000;line-height:1.3}
.replacement-hub-choices button small{min-width:0;color:#697a64;font-size:10px;line-height:1.4}
.replacement-hub-links{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px}
.replacement-hub-links button{display:inline-flex;align-items:center;gap:8px;min-height:36px;padding:8px 12px;border:1px solid #d6e1cc;border-radius:12px;background:#f5f8f0;color:#496144;font:inherit;font-size:12px;font-weight:900;cursor:pointer}
.replacement-hub-links button.is-selected{background:#dfeec8;border-color:#9ec27e;color:#2c482c}
.replacement-hub-links button span{display:grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:7px;background:#d8eab7;color:#2a4526;font-size:11px}
.replacement-hub-links .replacement-hub-back{background:transparent;border-color:transparent;color:#61765e;font-size:11px}
.replacement-hub-hint{margin:0;padding:12px 14px;border-radius:13px;background:#ebf2e4;color:#61735b;font-size:11px;line-height:1.6}
.replacement-hub .calendar-swap-panel,.replacement-hub .calendar-cover-form{margin:0;border:1px solid #d6e1cd!important;background:#fffefa!important;box-shadow:none!important;border-radius:18px}
.replacement-hub .calendar-swap-panel{padding:clamp(15px,4vw,22px)}
.replacement-hub .calendar-cover-form{padding:clamp(14px,4vw,21px)}
.replacement-hub .calendar-cover{min-width:0}
.replacement-hub-requests{display:grid;gap:22px;min-width:0}
.replacement-hub-requests .calendar-request-list,.replacement-hub-requests .calendar-cover-list-heading{margin:0}
.replacement-hub-requests .calendar-day-top h2,.replacement-hub-requests .calendar-cover-list-heading h3{font-size:21px}
.replacement-hub-requests .calendar-today-btn{font-size:11px}
@media(max-width:650px){.replacement-hub{gap:12px}.replacement-hub-choices{gap:8px}.replacement-hub-choices button{grid-template-columns:34px 1fr;column-gap:8px;padding:11px 9px;min-height:85px;border-radius:15px}.replacement-hub-choice-icon{width:34px;height:34px;font-size:23px;border-radius:10px}.replacement-hub-choices button strong{font-size:12px}.replacement-hub-choices button small{font-size:9px}.replacement-hub-requests .calendar-day-top{gap:9px}.replacement-hub-requests .calendar-today-btn{padding:8px}}
@media(max-width:360px){.replacement-hub-choices button{grid-template-columns:1fr;gap:5px;min-height:105px}.replacement-hub-choice-icon{grid-row:auto}.replacement-hub-choices button strong{font-size:12px}}

/* Compact, useful top bar; notifications live with messages and the photo with Profile. */
.tatmak-app-title{display:flex;flex-direction:column;gap:2px;min-width:0;text-decoration:none;color:var(--app-ink)}
.tatmak-app-title small{font-size:9px;font-weight:950;letter-spacing:.13em;color:#869581}
.tatmak-app-title strong{font-size:18px;font-weight:1000;line-height:1.14;letter-spacing:-.045em}
.tatmak-theme-quick{display:flex;align-items:center;gap:7px;min-height:36px;padding:8px 12px;border:1px solid var(--app-line);border-radius:13px;background:var(--app-card);color:var(--app-ink);font:inherit;font-size:11px;font-weight:900;cursor:pointer}
.tatmak-theme-quick svg{color:#88a951}
.tatmak-bottom-icon .staff-avatar.is-nav{width:29px;height:29px;border-radius:50%;border:1px solid #a9bc93;background:#e5f3d7;box-shadow:none;font-size:12px}
.tatmak-bottom-nav a.is-active .staff-avatar.is-nav{border-color:#334c2d}
.tatmak-nav-unread-count{position:absolute;top:-4px;right:-3px;min-width:18px;height:18px;padding:0 4px;display:grid;place-items:center;border-radius:12px;background:#e56f55;color:#fff;border:2px solid var(--app-card);font-size:9px;font-weight:1000;line-height:1}
@media(max-width:650px){.tatmak-app-header{height:57px;padding:0 16px}.tatmak-app-title strong{font-size:16px}.tatmak-theme-quick{min-height:34px;padding:7px 9px}.tatmak-inbox{top:64px}}

/* A management entry belongs beside the calendar filters, not alone in a gap. */
.calendar-heading.is-compact{margin:0 0 15px}
.calendar-heading.is-compact h1{margin:7px 0 4px;font-size:clamp(26px,6vw,41px);line-height:1.12;letter-spacing:-.065em}
.calendar-heading.is-compact p{margin:0;font-size:12px;line-height:1.5}
.calendar-view-toolbar{display:flex;align-items:center;justify-content:space-between;gap:9px;margin:0 0 16px}
.calendar-view-toolbar .calendar-filter{margin:0;gap:6px;flex-wrap:nowrap}
.calendar-view-toolbar .calendar-filter button{min-height:39px;padding:9px 13px;font-size:11px;white-space:nowrap}
.calendar-manager-entry{position:relative;flex:none;min-height:39px;padding:9px 12px;border:1px solid #afc49c;border-radius:12px;background:#e9f1db;color:#3b6031;font:inherit;font-size:11px;font-weight:950;white-space:nowrap;cursor:pointer}
.calendar-manager-alert{display:inline-block;width:7px;height:7px;margin-left:5px;vertical-align:middle;border-radius:50%;background:#db6d4f;box-shadow:0 0 0 2px #f9f9ed}
@media(max-width:400px){.calendar-view-toolbar{gap:5px}.calendar-view-toolbar .calendar-filter{gap:4px}.calendar-view-toolbar .calendar-filter button{padding:9px 8px;font-size:10px}.calendar-manager-entry{padding:9px 8px;font-size:10px}}
@media(max-width:440px){.calendar-manager-entry{min-width:42px;padding:8px;font-size:15px}.calendar-manager-label{display:none}.calendar-manager-alert{position:absolute;right:3px;top:3px;width:6px;height:6px;margin:0}}
.manager-hero{padding:17px 19px;border-radius:18px;box-shadow:none;border-width:1px}
.manager-hero h2{font-size:clamp(24px,5vw,34px);line-height:1.15;letter-spacing:-.045em;margin:7px 0 4px}
.manager-hero p{font-size:11px}
.manager-shortcuts{display:flex;gap:7px;overflow-x:auto;scrollbar-width:none;padding:0 0 3px}
.manager-shortcuts::-webkit-scrollbar{display:none}
.manager-shortcuts button{flex:none;white-space:nowrap}

/* Conversation-like approval inbox for leadership, using the existing secure review actions. */
.problem-inbox-head-actions{display:flex;align-items:center;gap:7px;flex:none}
.problem-inbox-notices{display:grid;place-items:center;min-width:43px;height:43px;border:1px solid var(--app-line);border-radius:13px;background:var(--app-card);color:var(--app-ink);cursor:pointer}
.problem-approval-list{display:grid;gap:9px}
.problem-thread-row.is-approval{border-color:#e4c9a3;background:#fff9ed}
.problem-thread-icon.is-approval{background:#f8e5c7;color:#9b6834;font-size:25px;font-weight:900}
.problem-approval-status{color:#a56e32;font-weight:950}
.problem-board.is-thread.is-approval .approval-thread{gap:8px}
.approval-thread-pending{padding:6px 9px;border-radius:9px;background:#fff0d6;color:#8a5928;font-size:9px;font-weight:950;white-space:nowrap}
.approval-thread-content{display:flex;flex:1;min-height:0;flex-direction:column;gap:13px;overflow:auto;padding:18px 9px 12px}
.approval-thread-date{align-self:center;color:var(--app-muted);font-size:10px;font-weight:850}
.approval-thread-message{display:grid;gap:8px;align-self:flex-start;max-width:90%;padding:15px 17px;border:1px solid var(--app-line);border-radius:18px 18px 18px 5px;background:var(--app-card);color:var(--app-ink)}
.approval-thread-message.is-system{align-self:flex-end;background:#eaf4d5;border-color:#cde1af;border-radius:18px 18px 5px 18px}
.approval-thread-message small{color:#869b78;font-size:9px;letter-spacing:.08em;font-weight:950}
.approval-thread-message strong{font-size:14px;line-height:1.35;overflow-wrap:anywhere}
.approval-thread-message p{margin:0;color:#687761;font-size:11px;line-height:1.6}
.approval-thread-event{align-self:center;padding:9px 13px;border-radius:100px;background:#e1ebdc;color:#648456;font-size:10px;font-weight:900;text-align:center}
.approval-thread-controls{display:grid;gap:9px;padding:12px;border:1px solid var(--app-line);border-radius:16px;background:var(--app-card)}
.approval-thread-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.approval-thread-actions button{min-height:46px;padding:11px 9px;border:1px solid #d0dfbe;border-radius:12px;background:#f5f7f0;color:var(--app-ink);font:inherit;font-size:12px;font-weight:950;cursor:pointer}
.approval-thread-actions button.is-approve{background:var(--app-lime);border-color:#b7ce8a;color:#243e22}
.approval-thread-actions button.is-reject{background:#f6e9e5;border-color:#ddc7c0;color:#924f44}
.approval-thread-actions button:disabled{opacity:.4;cursor:default}
@media(max-width:650px){.problem-inbox-head-actions{gap:5px}.problem-inbox-notices{min-width:39px;height:41px}.approval-thread-content{padding:10px 6px}.approval-thread-message{padding:12px 14px}}
@media(max-width:650px){.tatmak-inbox-backdrop{inset:57px 0 0}}

/* Telegram's keyboard changes the visual viewport, not always the layout viewport. */
.problem-board.is-thread{top:calc(var(--tatmak-chat-viewport-top,0px) + 71px);bottom:auto;height:calc(var(--tatmak-chat-viewport-height,100dvh) - 71px - 74px - env(safe-area-inset-bottom))}
@media(max-width:650px){.problem-board.is-thread{top:calc(var(--tatmak-chat-viewport-top,0px) + 57px);height:calc(var(--tatmak-chat-viewport-height,100dvh) - 57px - 74px - env(safe-area-inset-bottom))}}
body.tatmak-chat-typing .tatmak-bottom-nav,body.tatmak-chat-typing .tatmak-app-header{display:none!important}
body.tatmak-chat-typing .problem-board.is-thread{top:var(--tatmak-chat-viewport-top,0px);height:var(--tatmak-chat-viewport-height,100dvh);padding-top:4px;padding-bottom:4px}
body.tatmak-chat-typing .problem-board.is-thread .problem-thread-info,body.tatmak-chat-typing .problem-board.is-thread .problem-chat-caption{display:none}
body.tatmak-chat-typing .problem-board.is-thread .problem-thread-head{min-height:43px;padding:5px 9px}
body.tatmak-chat-typing .problem-board.is-thread .problem-thread-back{height:31px;width:31px}
body.tatmak-chat-typing .problem-board.is-thread .problem-chat-compose{padding:7px}

/* Telegram-like replies: a compact quoted message and a reply target above the composer. */
.problem-chat-bubble .problem-chat-quote{display:flex;flex-direction:column;align-items:stretch;gap:4px;width:100%;margin-top:8px;padding:8px 10px;border:0;border-left:3px solid #8fae6c;border-radius:5px 10px 10px 5px;background:#edf2e6;color:#42543e;text-align:left;font:inherit;cursor:pointer}
.problem-chat-bubble .problem-chat-quote strong{display:flex;align-items:center;gap:5px;font-size:10px;color:#5b814a}
.problem-chat-bubble .problem-chat-quote span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:10px;color:#687562}
.problem-chat-message.is-mine .problem-chat-quote{background:#d1e8a8;border-left-color:#709c40}
.problem-chat-bubble>.problem-chat-message-actions{display:flex;justify-content:flex-end;margin-top:5px}
.problem-chat-message-actions button{display:inline-flex;align-items:center;gap:4px;padding:5px 2px 2px;border:0;background:none;color:#748a68;font:inherit;font-size:10px;font-weight:850;cursor:pointer}
.problem-chat-message-actions button:hover{color:#476a39}
.problem-chat-scroll [data-message].is-reply-target .problem-chat-bubble{outline:2px solid #a9cd79;outline-offset:3px;transition:outline-color .25s}
.problem-chat-compose{flex-wrap:wrap}
.problem-reply-context{order:-1;flex:0 0 100%;display:flex;align-items:center;gap:10px;min-width:0;padding:2px 3px 7px}
.problem-reply-accent{align-self:stretch;flex:none;width:3px;border-radius:5px;background:#84af55}
.problem-reply-context-copy{display:flex;flex:1;flex-direction:column;gap:2px;min-width:0}
.problem-reply-context-copy strong{display:flex;align-items:center;gap:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;color:#48693b}
.problem-reply-context-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;color:#7a8772}
.problem-reply-context>button{flex:none;display:grid;place-items:center;width:28px;height:28px;border:0;border-radius:9px;background:#eef1e9;color:#64745d;cursor:pointer}
.problem-board.is-thread:has(.problem-reply-context) .problem-chat-new{bottom:115px}
@media(max-width:650px){.problem-chat-bubble .problem-chat-quote{padding:7px 9px}.problem-reply-context{padding:0 2px 5px}}

/* Swipe right on a chat bubble to reply; pan-y leaves ordinary vertical scrolling untouched. */
@media(pointer:coarse){.problem-chat-bubble{position:relative;touch-action:pan-y;transform:translateX(var(--reply-drag-x,0px));transition:transform .18s ease-out}
  .problem-chat-bubble.is-reply-dragging{transition:none;user-select:none;-webkit-user-select:none}
  .problem-chat-bubble::before{content:"↩";position:absolute;top:50%;left:-33px;display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#b7d49c;color:#35512b;opacity:0;transform:translateY(-50%) scale(.75);transition:opacity .12s,transform .12s;font-size:17px;font-weight:900;pointer-events:none}
  .problem-chat-bubble.is-reply-dragging::before{opacity:.85;transform:translateY(-50%) scale(1)}
  .problem-chat-bubble.is-reply-ready::before{background:#d9f486;color:#273e1e;opacity:1}
}

/* Android/iOS fullscreen: Telegram's own Close/Menu row is the entire header. */
html[data-tg-fullscreen="true"]{--tatmak-shell-header-height:0px;scroll-padding-top:calc(var(--tatmak-fullscreen-top,92px) + 20px)}
html[data-tg-fullscreen="true"] body{padding-top:var(--tatmak-fullscreen-top,92px)!important;padding-bottom:calc(79px + max(env(safe-area-inset-bottom),var(--tatmak-fullscreen-bottom,0px)))!important}
/* Frosted safe-area backdrop underneath Telegram's own Close/Back and menu buttons. */
html[data-tg-fullscreen="true"] body::before{content:"";position:fixed;inset:0 0 auto;height:var(--tatmak-fullscreen-top,92px);z-index:70;background:linear-gradient(180deg,rgba(246,247,239,.88),rgba(246,247,239,.64));backdrop-filter:blur(22px) saturate(1.35);-webkit-backdrop-filter:blur(22px) saturate(1.35);border-bottom:1px solid rgba(81,105,65,.12);box-shadow:0 9px 24px rgba(19,38,20,.055);pointer-events:none}
html[data-tg-fullscreen="true"] .tatmak-app-header{display:none!important}
html[data-tg-fullscreen="true"] .tatmak-bottom-nav{min-height:calc(74px + max(env(safe-area-inset-bottom),var(--tatmak-fullscreen-bottom,0px)));padding-bottom:calc(9px + max(env(safe-area-inset-bottom),var(--tatmak-fullscreen-bottom,0px)))}
html[data-tg-fullscreen="true"] .tatmak-inbox-backdrop{top:var(--tatmak-fullscreen-top,84px)}
html[data-tg-fullscreen="true"] .tatmak-inbox{top:calc(var(--tatmak-fullscreen-top,92px) + 9px);max-height:calc(100dvh - var(--tatmak-fullscreen-top,92px) - 20px)}
html[data-tg-fullscreen="true"] .tatmak-live-toast{top:calc(var(--tatmak-fullscreen-top,92px) + 9px)}
html[data-tg-fullscreen="true"] .problem-board.is-thread{top:calc(var(--tatmak-chat-viewport-top,0px) + var(--tatmak-fullscreen-top,84px) + var(--tatmak-shell-header-height));height:calc(var(--tatmak-chat-viewport-height,100dvh) - var(--tatmak-fullscreen-top,84px) - var(--tatmak-shell-header-height) - 74px - max(env(safe-area-inset-bottom),var(--tatmak-fullscreen-bottom,0px)))}
html[data-tg-fullscreen="true"] body.tatmak-chat-typing .problem-board.is-thread{top:calc(var(--tatmak-chat-viewport-top,0px) + var(--tatmak-fullscreen-top,84px));height:calc(var(--tatmak-chat-viewport-height,100dvh) - var(--tatmak-fullscreen-top,84px))}

/* Avoid long scroll animations when switching entire app screens. */
html:has(.tatmak-bottom-nav){scroll-behavior:auto!important}

/* Chat-first conversation: keep the navigation in the inbox, not inside a thread. */
body:has(.problem-board.is-thread.is-chat) .tatmak-bottom-nav{display:none!important}
body:not(.tatmak-chat-typing) .problem-board.is-thread.is-chat{height:calc(var(--tatmak-chat-viewport-height,100dvh) - 71px - env(safe-area-inset-bottom));padding-bottom:calc(7px + env(safe-area-inset-bottom))}
@media(max-width:650px){body:not(.tatmak-chat-typing) .problem-board.is-thread.is-chat{height:calc(var(--tatmak-chat-viewport-height,100dvh) - 57px - env(safe-area-inset-bottom))}}
html[data-tg-fullscreen="true"] body:not(.tatmak-chat-typing) .problem-board.is-thread.is-chat{height:calc(var(--tatmak-chat-viewport-height,100dvh) - var(--tatmak-fullscreen-top,84px) - max(env(safe-area-inset-bottom),var(--tatmak-fullscreen-bottom,0px)));padding-bottom:calc(7px + max(env(safe-area-inset-bottom),var(--tatmak-fullscreen-bottom,0px)))}
.problem-board.is-thread.is-chat{padding-left:max(8px,calc((100vw - 880px)/2));padding-right:max(8px,calc((100vw - 880px)/2))}
.problem-board.is-thread.is-chat .problem-thread{gap:8px}
.problem-board.is-thread.is-chat .problem-thread-topbar{flex:none;min-height:0;max-height:48%;overflow:auto;overscroll-behavior:contain;border:1px solid rgba(125,150,112,.2);border-radius:19px;background:linear-gradient(130deg,rgba(255,254,250,.91),rgba(247,250,243,.82));box-shadow:0 5px 24px rgba(31,51,27,.045);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);scrollbar-width:thin}
.problem-board.is-thread.is-chat .problem-thread-head{border:0;border-radius:0;background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none;min-height:54px;padding:9px 12px;box-shadow:none}
.problem-board.is-thread.is-chat .problem-thread-back{width:36px;height:36px;border-radius:12px;border:1px solid rgba(117,149,100,.23);background:rgba(230,242,218,.72)}
.problem-board.is-thread.is-chat .problem-thread-heading small{font-size:8px;letter-spacing:.105em}
.problem-board.is-thread.is-chat .problem-thread-heading h2{margin-top:3px;font-size:14px;line-height:1.24;-webkit-line-clamp:2}
.problem-board.is-thread.is-chat .problem-thread-head>.problem-status{font-size:9px;max-width:94px;padding:6px 9px;border-radius:100px;white-space:nowrap}
.problem-board.is-thread.is-chat .problem-thread-info{max-height:none;overflow:visible;background:transparent;border:0;border-radius:0}
.problem-board.is-thread.is-chat .problem-thread-info>summary{min-height:34px;padding:7px 13px;border-top:1px solid rgba(122,149,109,.15);font-size:10px;font-weight:850}
.problem-board.is-thread.is-chat .problem-thread-info>summary small{font-size:9px;font-weight:650}
.problem-board.is-thread.is-chat .problem-thread-info-more{font-size:9px}
.problem-board.is-thread.is-chat .problem-thread-info-body{padding:9px 13px 14px}
.problem-board.is-thread.is-chat .problem-chat-wrap{border:0;border-radius:0;box-shadow:none;background:transparent;overflow:hidden}
.problem-board.is-thread.is-chat .problem-chat-scroll{padding:12px 9px 16px;scrollbar-width:none}
.problem-board.is-thread.is-chat .problem-chat-scroll::-webkit-scrollbar{display:none}
.problem-chat-day{width:fit-content;margin:9px auto 15px;padding:6px 13px;border:1px solid rgba(116,145,102,.13);border-radius:999px;background:rgba(213,227,207,.5);color:#647b5a;text-align:center;font-size:10px;line-height:1.3;font-weight:850}
.problem-board.is-thread.is-chat .problem-chat-origin{width:min(86%,430px);margin-bottom:18px;padding:11px 13px;border-radius:15px;background:#e8efdf;color:#455b40;box-shadow:none;border:1px solid rgba(128,158,111,.13)}
.problem-board.is-thread.is-chat .problem-chat-origin>span{font-size:9px;color:#59774a;letter-spacing:.01em}
.problem-board.is-thread.is-chat .problem-chat-origin p{margin:6px 0;font-size:11px;line-height:1.5}
.problem-board.is-thread.is-chat .problem-chat-origin small{color:#78906d;font-size:9px}
.problem-board.is-thread.is-chat .problem-chat-message{max-width:86%;gap:7px;margin-bottom:11px}
.problem-board.is-thread.is-chat .problem-chat-message.is-grouped{margin-top:-7px}
.problem-board.is-thread.is-chat .problem-chat-message .staff-avatar.is-comment,.problem-board.is-thread.is-chat .problem-chat-avatar-spacer{flex:none;width:29px;height:29px;margin-bottom:2px}
.problem-board.is-thread.is-chat .problem-chat-avatar-spacer{display:block}
.problem-board.is-thread.is-chat .problem-chat-bubble{padding:10px 12px 8px;border:1px solid rgba(133,156,121,.16);border-radius:18px 18px 18px 6px;background:#fffefa;box-shadow:0 3px 11px rgba(29,48,25,.055)}
.problem-board.is-thread.is-chat .problem-chat-message.is-mine .problem-chat-bubble{border-color:rgba(130,166,87,.23);border-radius:18px 18px 6px 18px;background:#e2f3bf;box-shadow:0 3px 12px rgba(39,73,30,.07)}
.problem-board.is-thread.is-chat .problem-chat-message.is-continuing:not(.is-mine) .problem-chat-bubble{border-bottom-left-radius:6px}
.problem-board.is-thread.is-chat .problem-chat-message.is-grouped:not(.is-mine) .problem-chat-bubble{border-top-left-radius:6px}
.problem-board.is-thread.is-chat .problem-chat-message.is-mine.is-grouped .problem-chat-bubble{border-top-right-radius:6px}
.problem-board.is-thread.is-chat .problem-chat-meta{gap:10px;min-height:12px}
.problem-board.is-thread.is-chat .problem-chat-meta strong{font-size:10px;line-height:1.25}
.problem-board.is-thread.is-chat .problem-chat-meta time{margin-left:auto;font-size:9px;line-height:1.25;opacity:.8}
.problem-board.is-thread.is-chat .problem-chat-bubble p{margin-top:5px;font-size:12.5px;line-height:1.53}
.problem-board.is-thread.is-chat .problem-chat-bubble .problem-chat-quote{margin-top:6px;padding:7px 9px;border-radius:5px 9px 9px 5px}
.problem-board.is-thread.is-chat .problem-chat-message-actions button{font-size:9px;padding:3px 1px 1px;opacity:.8}
.problem-board.is-thread.is-chat .problem-chat-event{margin:11px auto;padding:6px 11px;font-size:9px}
.problem-board.is-thread.is-chat .problem-chat-compose{position:relative;flex:none;gap:8px;padding:9px 10px;border:1px solid rgba(124,151,114,.16);border-radius:21px;background:rgba(252,253,248,.82);box-shadow:0 -5px 22px rgba(25,43,23,.045);backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px)}
.problem-board.is-thread.is-chat .problem-chat-compose textarea{min-height:43px;max-height:110px;padding:11px 15px;border:1px solid rgba(128,152,115,.22);border-radius:24px;background:rgba(241,246,235,.82);font-size:12px;line-height:1.45}
.problem-board.is-thread.is-chat .problem-chat-compose textarea:focus{border-color:#98be7b;box-shadow:0 0 0 2px rgba(165,205,128,.16)}
.problem-board.is-thread.is-chat .problem-chat-compose>button{width:43px;height:43px;border-radius:50%;background:var(--app-lime);box-shadow:0 3px 10px rgba(89,125,47,.17)}
.problem-board.is-thread.is-chat .problem-chat-new{bottom:79px}
.problem-board.is-thread.is-chat:has(.problem-reply-context) .problem-chat-new{bottom:116px}
@media(max-width:650px){.problem-board.is-thread.is-chat .problem-thread-topbar{border-radius:17px}.problem-board.is-thread.is-chat .problem-thread-head{padding:8px 10px;gap:8px;min-height:52px}.problem-board.is-thread.is-chat .problem-chat-scroll{padding:9px 6px 13px}.problem-board.is-thread.is-chat .problem-chat-message{max-width:93%}.problem-board.is-thread.is-chat .problem-chat-compose{padding:7px 8px;border-radius:18px}}

/* Final chat polish: a conditional top fade, calmer bubbles and clearer reply affordances. */
.problem-board.is-thread.is-chat .problem-chat-wrap::before{content:"";position:absolute;z-index:2;top:0;left:0;right:0;height:27px;background:linear-gradient(180deg,rgba(246,247,239,.98) 0%,rgba(246,247,239,0) 100%);opacity:0;pointer-events:none;transition:opacity .16s ease}
.problem-board.is-thread.is-chat .problem-chat-wrap.is-scrolled::before{opacity:1}
.problem-board.is-thread.is-chat .problem-chat-message{gap:6px;margin-bottom:9px}
.problem-board.is-thread.is-chat .problem-chat-message.is-grouped{margin-top:-5px}
.problem-board.is-thread.is-chat .problem-chat-bubble{padding:8px 11px 7px;box-shadow:0 4px 14px rgba(28,48,25,.085)}
.problem-board.is-thread.is-chat .problem-chat-message.is-mine .problem-chat-bubble{box-shadow:0 4px 14px rgba(57,94,38,.11)}
.problem-board.is-thread.is-chat .problem-chat-bubble p{margin-top:4px;font-size:12px;line-height:1.48}
.problem-board.is-thread.is-chat .problem-chat-bubble>.problem-chat-message-actions{margin-top:5px}
.problem-board.is-thread.is-chat .problem-chat-message-actions button{min-height:25px;padding:4px 8px;border-radius:100px;background:rgba(116,154,87,.12);color:#4c743d;opacity:1;font-size:10px;line-height:1.1;transition:background-color .14s,color .14s}
.problem-board.is-thread.is-chat .problem-chat-message-actions button:hover,.problem-board.is-thread.is-chat .problem-chat-message-actions button:focus-visible{background:rgba(116,154,87,.21);color:#315c2c}
@media(prefers-reduced-motion:reduce){.problem-board.is-thread.is-chat .problem-chat-wrap::before,.problem-board.is-thread.is-chat .problem-chat-message-actions button{transition:none}}
.hub-loading{min-height:55dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;padding:35px 18px;color:var(--app-ink);text-align:center}
.hub-loading>span{font-size:41px}.hub-loading strong{font-size:18px;font-weight:950}.hub-loading small{font-size:12px;color:var(--app-muted)}
.site-footer:has(.training-sources){display:block;max-width:730px;margin:30px auto 0;padding:16px 15px 95px;text-align:center;border-color:var(--app-line)}
.training-sources{font-size:11px;line-height:1.5;color:var(--app-muted)}
.training-sources summary{list-style:none;cursor:pointer;font-weight:850;color:var(--app-muted)}
.training-sources summary::-webkit-details-marker{display:none}
.training-sources summary:before{content:'ⓘ ';font-weight:900}
.training-sources p{margin:12px 0 0;font-size:11px;line-height:1.65}
.training-sources a{text-underline-offset:2px}

/* The layout stays mounted as tabs change; only the incoming screen animates. */
.calendar-loading-state{display:flex;align-items:center;justify-content:center;gap:11px;min-height:110px;padding:22px;color:var(--app-muted);font-size:14px;font-weight:800}
.calendar-loading-indicator{width:20px;height:20px;flex:none;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:tatmak-loading-turn .7s linear infinite}
@keyframes tatmak-loading-turn{to{transform:rotate(360deg)}}
/* Never transform .calendar-page: it contains the fixed, fullscreen chat. */
@media(prefers-reduced-motion:no-preference){.hub-app{animation:tatmak-hub-enter .13s ease-out both}}
@keyframes tatmak-hub-enter{from{opacity:.9}to{opacity:1}}
@media(prefers-reduced-motion:reduce){.calendar-loading-indicator{animation:none}}
