:root{--app-height: 100dvh;color:#eef4f2;background:#071311;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{min-width:320px;height:var(--app-height);overflow:hidden;background:#071311;position:fixed;inset:0;width:100%}button,input{font:inherit}button{-webkit-tap-highlight-color:transparent}.app-shell{position:fixed;top:0;left:50%;bottom:auto;transform:translate(-50%);display:grid;grid-template-rows:auto 1fr auto;width:min(100vw,720px);height:var(--app-height);margin:0;background:radial-gradient(circle at top left,rgba(32,201,151,.16),transparent 34%),linear-gradient(180deg,#101d1a,#071311);border-inline:1px solid rgba(255,255,255,.07)}.status-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:92px;padding:calc(env(safe-area-inset-top) + 10px) 14px 12px;color:#fff;background:linear-gradient(135deg,#0b5f56,#128c7e 54%,#23a26f);border:0;cursor:pointer;text-align:left;box-shadow:0 2px 10px #128c7e47;z-index:2}.status-date,.status-metrics{display:flex;align-items:center}.status-date{min-width:0;gap:8px;font-weight:750;font-size:.95rem}.status-date svg{flex:0 0 auto}.status-metrics{flex:1 1 auto;justify-content:flex-end;gap:8px}.status-card{position:relative;display:grid;grid-template-columns:auto;gap:1px 8px;min-width:104px;overflow:hidden;border-radius:8px;padding:8px 9px 10px;background:#0312105c;white-space:nowrap;box-shadow:inset 0 0 0 1px #ffffff29}.status-card strong{color:#ffffffc7;font-size:.68rem;font-style:normal;font-weight:750;text-transform:uppercase}.status-card b{font-size:1.08rem;line-height:1}.status-card i{position:absolute;inset-inline-start:0;bottom:0;height:4px;border-radius:999px;background:#9dfcce}.session-card{min-width:auto;place-items:center;padding-inline:10px}.session-card button{display:inline-grid;place-items:center;width:28px;height:28px;border:0;border-radius:999px;color:#fff;background:#ffffff1f;cursor:pointer}.chat-pane{min-height:0;overflow-y:auto;padding:18px 12px 14px;overscroll-behavior:contain}.loading-state{display:grid;place-items:center;gap:8px;min-height:160px;color:#eef4f2b8}.chat-row{display:flex;margin-block:8px}.chat-row.me{justify-content:flex-end}.chat-row.system{justify-content:flex-start}.chat-bubble{position:relative;max-width:min(78%,440px);border-radius:7px;padding:8px 9px 6px;color:#edf7f5;box-shadow:0 10px 28px #0000002e}.chat-row.me .chat-bubble{background:#0b6b5f;border-top-right-radius:2px}.chat-row.system .chat-bubble{background:#172320;border-top-left-radius:2px}.chat-bubble p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.35}.reply-reference,.reply-draft{border-left:3px solid #9dfcce;background:#ffffff12}.reply-reference{display:grid;gap:2px;margin-bottom:7px;padding:7px 9px;border-radius:6px}.reply-reference strong,.reply-draft strong{color:#9dfcce;font-size:.72rem}.reply-reference span,.reply-draft span{display:-webkit-box;overflow:hidden;color:#eef4f2c2;font-size:.8rem;-webkit-box-orient:vertical;-webkit-line-clamp:2}.message-footer{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-top:5px}.message-footer time{color:#eef4f29e;font-size:.68rem;text-align:right;white-space:nowrap}.photo-button{display:block;margin-top:8px;margin-left:auto;padding:0;border:0;border-radius:6px;background:transparent;cursor:pointer}.proof-thumb{display:block;width:132px;aspect-ratio:4 / 3;object-fit:cover;border-radius:6px;border:1px solid rgba(255,255,255,.14)}.proof-marker{display:inline-flex;align-items:center;gap:6px;margin-top:8px;color:#a5f3c6;font-size:.82rem;font-weight:700}.reaction-corner{display:inline-flex;align-items:center;gap:1px;min-height:24px;width:fit-content;padding:1px 6px;border-radius:999px;background:#0c1412e6;box-shadow:0 5px 16px #00000038;font-size:.82rem}.reaction-picker{position:absolute;right:8px;bottom:calc(100% + 8px);display:flex;gap:5px;padding:6px;border-radius:999px;background:#071311f5;box-shadow:0 12px 34px #0000005c;z-index:4}.reaction-picker button{display:inline-grid;place-items:center;width:34px;height:34px;border:0;border-radius:999px;background:#ffffff14;cursor:pointer;filter:grayscale(1);font-size:1.1rem;opacity:.82;-webkit-user-select:none;user-select:none}.reaction-picker button.active{background:#9dfcce38;filter:grayscale(0);opacity:1}.composer{display:grid;grid-template-columns:1fr 46px;gap:8px;padding:9px 12px 8px;background:#081613f5;border-top:1px solid rgba(255,255,255,.08)}.reply-draft{grid-column:1 / -1;display:grid;grid-template-columns:1fr 32px;align-items:center;gap:8px;padding:7px 8px 7px 10px;border-radius:8px}.reply-draft div{display:grid;gap:2px;min-width:0}.reply-draft button{display:inline-grid;place-items:center;width:32px;height:32px;border:0;border-radius:999px;color:#eef4f2;background:#ffffff14;cursor:pointer}.composer input,.task-adder input,.task-item input{width:100%;min-width:0;border:1px solid transparent;outline:none}.composer input{min-height:44px;border-radius:22px;padding:0 16px;color:#eef4f2;background:#172320}.composer input:focus,.task-adder input:focus,.task-item input:focus{border-color:#35d399}.icon-button{display:inline-grid;place-items:center;width:42px;height:42px;flex:0 0 auto;border:0;border-radius:999px;color:#eef4f2;background:#20312d;cursor:pointer}.icon-button.send{width:46px;height:46px;color:#fff;background:#128c7e}.icon-button.subtle{color:#9dfcce;background:#35d3991f}.icon-button.danger{color:#b42318;background:#b4231814}.modal-backdrop{position:fixed;inset:0;display:flex;align-items:stretch;justify-content:center;background:#0009;z-index:10}.task-modal{display:grid;grid-template-rows:auto auto auto 1fr auto;width:min(100%,720px);height:var(--app-height);padding:calc(env(safe-area-inset-top) + 14px) 14px 10px;background:#101d1a}.modal-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.modal-header h1,.eyebrow{margin:0}.modal-header h1{font-size:1.32rem;line-height:1.16;color:#f4fbf8}.eyebrow{color:#7bf0b1;font-size:.75rem;font-weight:800;text-transform:uppercase}.modal-actions{display:flex;align-items:center;gap:8px}.commit-button{min-height:38px;border:0;border-radius:8px;padding:0 12px;color:#06201b;background:#9dfcce;cursor:pointer;font-weight:850}.commit-button:disabled{color:#eef4f280;background:#20312d;cursor:not-allowed}.tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:4px;margin-bottom:12px;border-radius:8px;background:#172320}.tabs button,.date-nav button{border:0;cursor:pointer}.tabs button{display:grid;grid-template-columns:auto auto;align-items:center;justify-content:center;gap:2px 7px;min-height:48px;border-radius:6px;color:#eef4f29e;background:transparent;font-weight:750}.tabs button.active{color:#f4fbf8;background:#20312d;box-shadow:0 1px 10px #00000029}.tabs button span{grid-column:1 / -1;color:#9dfcce;font-size:.72rem;font-weight:850}.date-nav{display:grid;grid-template-columns:42px 1fr 42px;gap:8px;margin-bottom:12px}.date-nav button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:38px;border-radius:8px;color:#eef4f2;background:#172320;box-shadow:inset 0 0 0 1px #ffffff14}.task-adder{grid-row:5;display:grid;grid-template-columns:1fr 42px;align-self:end;gap:8px;margin-top:12px;margin-bottom:0}.task-adder input{min-height:42px;border-radius:8px;padding:0 12px;color:#fff;background:#172320}.task-list{grid-row:4;min-height:0;overflow-y:auto;display:grid;align-content:start;gap:8px;padding-bottom:4px}.task-item{display:grid;grid-template-columns:36px 1fr 42px 42px;align-items:center;gap:8px;min-height:54px;padding:8px;border-radius:8px;background:#172320;box-shadow:inset 0 0 0 1px #ffffff12}.task-item.completed{background:#123f2e}.task-item.completed input{color:#b7f7ce;text-decoration:line-through}.complete-toggle{display:inline-grid;place-items:center;width:36px;height:36px;border:0;border-radius:999px;color:#9dfcce;background:#9dfcce1f;cursor:pointer}.task-item input{min-height:38px;border-radius:6px;padding:0 8px;color:#eef4f2;background:#ffffff0a}.task-proof-thumb{width:42px;height:42px;border-radius:7px;object-fit:cover;box-shadow:inset 0 0 0 1px #ffffff24}.task-proof-button{width:42px;height:42px;padding:0;border:0;border-radius:7px;background:transparent;cursor:pointer}.task-proof-badge{display:inline-grid;place-items:center;width:42px;height:42px;border-radius:7px;color:#9dfcce;background:#9dfcce1f}.lightbox{position:fixed;inset:0;display:grid;place-items:center;padding:58px 16px 24px;background:#000000e6;z-index:30}.lightbox img{display:block;max-width:100%;max-height:100%;border-radius:8px;object-fit:contain}.lightbox-close{position:fixed;top:calc(env(safe-area-inset-top) + 12px);right:14px;z-index:31}.hidden-file{display:none}.empty-state{display:grid;place-items:center;gap:8px;min-height:160px;color:#eef4f294;text-align:center}.empty-state p{margin:0}.auth-shell{place-items:center;padding:20px}.auth-panel{display:grid;gap:12px;width:min(100%,390px);padding:22px;border-radius:12px;color:#eef4f2;background:#101d1a;box-shadow:inset 0 0 0 1px #ffffff14,0 24px 80px #00000047}.auth-panel h1,.auth-panel p{margin:0}.auth-panel p{color:#eef4f2b8;line-height:1.4}.auth-panel label{color:#9dfcce;font-size:.8rem;font-weight:800;text-transform:uppercase}.auth-panel input{min-height:44px;border:1px solid rgba(255,255,255,.08);border-radius:8px;padding:0 12px;color:#eef4f2;background:#172320;outline:none}.auth-panel button{min-height:42px;border:0;border-radius:8px;color:#06201b;background:#9dfcce;cursor:pointer;font-weight:850}.auth-panel button:disabled{opacity:.6;cursor:wait}.auth-message{color:#eef4f2c7;font-size:.86rem}.toast-message{position:fixed;left:50%;bottom:78px;max-width:min(90vw,420px);transform:translate(-50%);padding:10px 12px;border-radius:999px;color:#eef4f2;background:#071311f0;box-shadow:0 12px 36px #00000057;z-index:40}.spin{animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(min-width:760px){body{background:#071311}.app-shell{height:var(--app-height)}.modal-backdrop{padding:34px;align-items:center}.task-modal{height:min(820px,calc(var(--app-height) - 68px));border-radius:12px;box-shadow:0 24px 80px #0000006b}}@media(max-width:420px){.status-bar{align-items:flex-start;flex-direction:column;gap:7px}.status-metrics{width:100%}.status-metrics span{flex:1 1 0;text-align:center}.chat-bubble{max-width:86%}.task-item{grid-template-columns:36px 1fr 38px 38px;gap:6px}.task-item .icon-button,.task-proof-button,.task-proof-thumb,.task-proof-badge{width:38px;height:38px}}
