:root{--bg:#0d1117;--bg-soft:#121824;--surface:#161c27d1;--surface-strong:#1d2533f0;--border:#ffffff14;--border-strong:#ffffff24;--text:#f4f6fb;--muted:#9aa4b2;--muted-strong:#c7ceda;--gold:#e7c76a;--gold-soft:#e7c76a24;--green:#77e2ab;--green-soft:#47d18c21;--red:#ff8d8d;--red-soft:#ff74741f;--blue:#82b7ff;--blue-soft:#82b7ff21;--radius-sm:.75rem;--radius-md:1rem;--radius-lg:1.35rem;--shadow:0 18px 60px #0000004d;--tap:44px;color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html{background:var(--bg);min-width:320px}body{background:radial-gradient(circle at top left, #e7c76a1f, transparent 34rem), radial-gradient(circle at bottom right, #82b7ff17, transparent 30rem), linear-gradient(135deg, var(--bg) 0%, #141a24 58%, #0f1722 100%);min-width:320px;min-height:100vh;margin:0}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,.primary-button,.ghost-button,.icon-button{border-radius:var(--radius-sm);cursor:pointer;min-width:var(--tap);min-height:var(--tap);border:0;justify-content:center;align-items:center;transition:transform .16s,border-color .16s,background .16s,color .16s;display:inline-flex}button:active,a:active{transform:translateY(1px)}button:disabled{cursor:not-allowed;opacity:.65}.primary-button{background:var(--gold);color:#17130a;width:100%;font-weight:800}.ghost-button,.icon-button{border:1px solid var(--border);color:var(--text);background:#ffffff0a}.ghost-button:hover,.icon-button:hover{border-color:var(--border-strong);background:#ffffff14}.app-shell{grid-template-columns:1fr;min-height:100vh;display:grid}.sidebar{border-right:1px solid var(--border);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#0d1117d1;padding:1.25rem;display:none}.brand-mark{border-radius:var(--radius-md);color:#17130a;letter-spacing:-.05em;background:linear-gradient(135deg,#f6dc82,#d6ac3e);place-items:center;width:3rem;height:3rem;font-weight:900;display:grid;box-shadow:0 14px 34px #e7c76a38}.sidebar .brand-mark{margin-bottom:2rem}.sidebar nav{gap:.5rem;display:grid}.sidebar a,.bottom-nav a{align-items:center;gap:.75rem;display:flex}.sidebar a{border-radius:var(--radius-sm);min-height:2.85rem;color:var(--muted);padding:0 .875rem}.sidebar a.active,.sidebar a[aria-current=page],.sidebar a:hover{background:var(--gold-soft);color:#f8e6a8}.workspace{width:100%;max-width:80rem;margin:0 auto;padding:1rem 1rem 6.75rem}.topbar{justify-content:space-between;align-items:flex-start;gap:1rem;padding:1rem 0 1.25rem;display:flex}.topbar-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.65rem;display:flex}.nav-action,.quick-create-link{min-width:var(--tap);min-height:var(--tap);border:1px solid var(--border);border-radius:var(--radius-sm);color:var(--muted-strong);background:#ffffff0a;justify-content:center;align-items:center;transition:transform .16s,border-color .16s,background .16s,color .16s;display:inline-flex}.nav-action:hover,.quick-create-link:hover,.nav-action[aria-current=page],.quick-create-link[aria-current=page]{background:var(--gold-soft);color:#f8e6a8;border-color:#e7c76a5c}.notification-link{width:var(--tap);position:relative}.notification-dot{border:2px solid var(--bg);background:var(--red);color:#1f0909;border-radius:999px;place-items:center;min-width:1.25rem;height:1.25rem;padding:0 .35rem;font-size:.68rem;font-weight:900;display:grid;position:absolute;top:-.35rem;right:-.35rem}.quick-create-link{background:var(--gold);color:#17130a;gap:.45rem;padding:0 .85rem;font-weight:800;display:none}.quick-create-link:hover,.quick-create-link[aria-current=page]{color:#17130a;background:#f4d575}.eyebrow,.muted,.api-url{color:var(--muted)}.eyebrow{text-transform:uppercase;letter-spacing:.12em;margin:0 0 .35rem;font-size:.76rem}h1,h2,h3,p{margin-top:0}h1{letter-spacing:-.06em;margin-bottom:0;font-size:clamp(1.8rem,7vw,3.5rem);line-height:1}h2{font-size:1.05rem}.profile-pill{min-height:var(--tap);border:1px solid var(--border);border-radius:var(--radius-sm);color:var(--muted-strong);background:#ffffff0a;align-items:center;gap:.5rem;padding:.625rem .875rem;display:none}.status-grid{grid-template-columns:repeat(2,1fr);gap:.625rem;margin-bottom:1rem;display:grid}.dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.625rem;margin-bottom:1rem;display:grid}.dashboard-grid-primary{grid-template-columns:1fr;gap:.625rem;display:grid}.dashboard-divider{background:var(--border);height:1px;margin:1.1rem 0 1.3rem}.dashboard-card{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);min-height:7rem;box-shadow:var(--shadow);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);align-content:space-between;padding:.9rem;transition:transform .16s,border-color .16s,background .16s;display:grid}.dashboard-card:hover{border-color:var(--border-strong);background:var(--surface-strong);transform:translateY(-1px)}.dashboard-card span,.dashboard-card small{color:var(--muted)}.dashboard-card span{font-size:.82rem}.dashboard-card strong{letter-spacing:-.05em;font-size:1.85rem}.dashboard-card-secondary{color:var(--muted-strong);font-size:1.15rem;font-weight:600}.dashboard-card.warning{background:linear-gradient(135deg,#e7c76a24,#161c27d1);border-color:#e7c76a3d}.dashboard-card.warning strong{color:#f8e6a8}.dashboard-card.danger{background:linear-gradient(135deg,#ff747424,#161c27d1);border-color:#ff8d8d42}.dashboard-card.danger strong{color:var(--red)}.dashboard-card.success{background:linear-gradient(135deg,#77e2ab24,#161c27d1);border-color:#77e2ab3d}.dashboard-card.success strong{color:var(--green)}.dashboard-card.info{border-color:#82b7ff38}.dashboard-card.info strong{color:var(--blue)}.dashboard-card.alert{border-color:#ff5454d9;animation:1.7s ease-in-out infinite dashboard-neon-pulse}.dashboard-card.alert:hover{border-color:#ff6e6e}@keyframes dashboard-neon-pulse{0%,to{border-color:#ff545480;box-shadow:0 0 4px #ff40404d,0 0 9px #ff28281f}50%{border-color:#ff6060;box-shadow:0 0 10px #ff4040cc,0 0 22px #ff282880,inset 0 0 7px #ff464640}}.dashboard-card.alert-yellow{border-color:#e7c76ad9;animation:1.7s ease-in-out infinite dashboard-neon-pulse-yellow}@keyframes dashboard-neon-pulse-yellow{0%,to{border-color:#e7c76a80;box-shadow:0 0 4px #e7c76a4d,0 0 9px #e7c76a1f}50%{border-color:#f0d278;box-shadow:0 0 10px #e7c76acc,0 0 22px #e7c76a80,inset 0 0 7px #e7c76a40}}@media (prefers-reduced-motion:reduce){.dashboard-card.alert{animation:none;box-shadow:0 0 10px #ff40408c,0 0 20px #ff28284d}.dashboard-card.alert-yellow{animation:none;box-shadow:0 0 10px #e7c76a8c,0 0 20px #e7c76a4d}}.status-grid article,.panel,.login-card,.error-banner{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.status-grid article{align-content:space-between;min-height:7rem;padding:.9rem;display:grid}.status-grid span,.status-grid small{color:var(--muted)}.status-grid span{font-size:.82rem}.status-grid strong{letter-spacing:-.05em;font-size:1.85rem}.content-grid{gap:1rem;display:grid}.panel{padding:1rem}.panel-heading{justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1rem;display:flex}.panel-heading h2{margin-bottom:0}.badge{background:var(--green-soft);color:var(--green);white-space:nowrap;border-radius:999px;padding:.35rem .6rem;font-size:.76rem}.badge-warning{background:var(--gold-soft);color:#f8e6a8}.badge-danger{background:var(--red-soft);color:var(--red)}.hero-panel{justify-items:flex-start;gap:.75rem;display:grid}.description-list{gap:.75rem;margin:0;display:grid}.description-list div{gap:.2rem;display:grid}.description-list dt{color:var(--muted);font-size:.82rem}.description-list dd{color:var(--text);margin:0}.login-shell,.splash-screen{place-items:center;min-height:100vh;padding:1rem;display:grid}.login-card{width:min(100%,28rem);padding:1rem}.brand-row{align-items:center;gap:1rem;margin-bottom:1.25rem;display:flex}.login-card form,.stack-form{gap:.9rem;display:grid}label{color:var(--muted-strong);gap:.45rem;display:grid}input,select,textarea{min-height:var(--tap);border:1px solid var(--border);border-radius:var(--radius-sm);width:100%;color:var(--text);background:#ffffff0e;outline:none;padding:0 .85rem}textarea{resize:vertical;min-height:8rem;padding:.85rem;line-height:1.5}select{appearance:none;background:linear-gradient(45deg, transparent 50%, var(--muted-strong) 50%) calc(100% - 1.05rem) 50% / .45rem .45rem no-repeat, #ffffff0e;padding-right:2.25rem}input:focus,select:focus,textarea:focus{border-color:#e7c76a94;box-shadow:0 0 0 4px #e7c76a1a}.form-row{gap:.75rem;display:grid}.create-task-screen{align-items:start}.push-control{border:1px solid var(--border);border-radius:var(--radius-md);background:#ffffff05;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:.85rem;padding:.85rem 1rem;display:flex}.push-control-text{gap:.3rem;display:grid}.push-control-text strong{align-items:center;gap:.4rem;display:inline-flex}.push-control button{flex-shrink:0}.spoiler-heading{cursor:pointer;width:100%;color:inherit;text-align:left;background:0 0;border:none;align-items:center;gap:.6rem;padding:0;display:flex}.spoiler-title{align-items:center;gap:.5rem;font-size:1.05rem;font-weight:600;display:inline-flex}.spoiler-heading .badge{margin-left:auto}.spoiler-chevron{color:var(--muted-strong);transition:transform .15s}.spoiler-chevron.open{transform:rotate(180deg)}.toggle-switch{cursor:pointer;background:0 0;border:none;padding:0;line-height:0}.toggle-switch:disabled{cursor:default;opacity:.6}.toggle-track{background:var(--border-strong,#3a3f47);border-radius:999px;align-items:center;width:62px;height:28px;transition:background .15s;display:inline-flex;position:relative}.toggle-switch.on .toggle-track{background:#2fb350}.toggle-knob{background:#fff;border-radius:50%;width:22px;height:22px;transition:left .15s;position:absolute;top:3px;left:3px;box-shadow:0 1px 3px #00000073}.toggle-switch.on .toggle-knob{left:37px}.toggle-text{letter-spacing:.5px;color:#fff;font-size:10px;font-weight:700;position:absolute}.toggle-text-on{left:9px}.toggle-text-off{color:#cbd2da;right:9px}.toggle-switch.on .toggle-text-off,.toggle-switch.off .toggle-text-on{display:none}.panel-heading-actions{align-items:center;gap:.75rem;display:flex}.archive-toggle{align-items:center;gap:.45rem;font-size:.85rem;display:inline-flex}.toggle-row{justify-content:space-between;align-items:center;gap:1rem;display:flex}.create-subsection{border:1px solid var(--border);border-radius:var(--radius-md);background:#ffffff05;gap:.6rem;padding:.85rem;display:grid}.create-subsection-head{justify-content:space-between;align-items:baseline;gap:.75rem;display:flex}.create-subsection-head h3{margin:0;font-size:.95rem}.draft-file-list{gap:.4rem;margin:0;padding:0;list-style:none;display:grid}.draft-file-list li{border:1px solid var(--border);border-radius:var(--radius-sm);background:#ffffff08;align-items:center;gap:.5rem;padding:.4rem .6rem;display:flex}.draft-file-list li span{text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.create-warning{color:var(--warning,#f5b544)}.create-task-help{gap:.85rem;display:grid}.task-create-scope{color:var(--muted-strong);gap:.45rem;display:grid}.task-create-scope ul{color:var(--muted);margin:0;padding-left:1.1rem}.success-banner a{color:#f8e6a8;font-weight:800}.tasks-screen,.tasks-toolbar{gap:1rem;display:grid}.tasks-toolbar-compact{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;display:flex}.all-tasks-button{flex:none}.segmented-control,.quick-filters{flex-wrap:wrap;gap:.5rem;display:flex}.segmented-control button,.quick-filters button{border:1px solid var(--border);color:var(--muted-strong);border-radius:var(--radius-sm);background:#ffffff0a;padding:0 .85rem;font-weight:700}.segmented-control button.active,.quick-filters button.active{background:var(--gold-soft);color:#f8e6a8;border-color:#e7c76a57}.quick-filters button.active.danger{background:var(--red-soft);color:var(--red);border-color:#ff8d8d52}.quick-filters button.active.warning{background:var(--gold-soft);color:#f8e6a8;border-color:#e7c76a57}.task-filters{gap:.75rem;display:grid}.tasks-summary{color:var(--muted);flex-wrap:wrap;gap:.5rem;font-size:.82rem;display:flex}.tasks-summary span{border:1px solid var(--border);background:#ffffff09;border-radius:999px;padding:.35rem .65rem}.task-list-grid{gap:1rem;display:grid}.task-list-card{border:1px solid var(--border);border-left:4px solid var(--border-strong);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);gap:.8rem;padding:1rem;display:grid}.task-list-card.overdue{border-color:#ff8d8d47;border-left-color:var(--red);background:linear-gradient(135deg,#ff74741c,#161c27d1)}.task-list-card.burning{border-color:#e7c76a4d;border-left-color:var(--gold);background:linear-gradient(135deg,#e7c76a1f,#161c27d1)}.task-list-card h3{margin-bottom:.35rem}.task-list-card p{color:var(--muted-strong)}.task-list-card-heading,.task-meta-row{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.task-list-card-heading>div{flex-wrap:wrap;justify-content:flex-end;gap:.35rem;display:flex}.status-chip,.priority-chip{white-space:nowrap;border-radius:999px;padding:.28rem .55rem;font-size:.72rem;font-weight:800}.status-new{background:var(--blue-soft);color:var(--blue)}.status-in_progress,.status-in_review{background:var(--gold-soft);color:#f8e6a8}.status-done,.status-closed_by_initiator{background:var(--green-soft);color:var(--green)}.status-cancelled{color:var(--muted-strong);background:#9aa4b224}.status-overdue{background:var(--red-soft);color:var(--red)}.priority-low{color:var(--muted-strong);background:#9aa4b224}.priority-normal{background:var(--blue-soft);color:var(--blue)}.priority-high{background:var(--gold-soft);color:#f8e6a8}.priority-critical{background:var(--red-soft);color:var(--red)}.task-meta-row{color:var(--muted);align-items:center;font-size:.84rem}.task-meta-row span{gap:.12rem;display:grid}.task-meta-row a{color:#f8e6a8;flex:none;font-weight:800}.danger-text{color:var(--red)}.warning-text{color:#f8e6a8}.error-banner{background:var(--red-soft);color:var(--red);box-shadow:none;align-items:flex-start;gap:.55rem;margin-bottom:1rem;padding:.8rem;display:flex}.success-banner{border-radius:var(--radius-sm);background:var(--green-soft);color:var(--green);border:1px solid #77e2ab47;padding:.8rem}.modal-backdrop{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);z-index:40;background:#00000094;place-items:center;padding:1rem;display:grid;position:fixed;inset:0}.modal-card{border:1px solid var(--border-strong);border-radius:var(--radius-lg);background:var(--surface-strong);width:min(100%,32rem);box-shadow:var(--shadow);max-height:calc(100vh - 2rem);padding:1rem;overflow-y:auto}.modal-head{justify-content:space-between;align-items:center;gap:1rem;margin-bottom:.85rem;display:flex}.modal-head h2{margin:0;font-size:1.1rem}.modal-actions{justify-content:flex-end;gap:.6rem;margin-top:.5rem;display:flex}.modal-actions .ghost-button,.modal-actions .primary-button{width:auto;padding:0 1.1rem}.deadline-request-card{background:var(--gold-soft);border-radius:var(--radius-sm);border:1px solid #e7c76a47;gap:.35rem;padding:.8rem .9rem;display:grid}.deadline-request-card .badge{justify-self:start}.deadline-decision-actions{margin-top:.6rem}.deadline-request-button{gap:.4rem;width:auto;padding:0 1.1rem}.overdue-decision-panel{border-color:#ff747459}.overdue-decision-card{background:var(--red-soft);border-color:#ff74744d}.overdue-block{place-items:center;min-height:100vh;padding:1.25rem;display:grid}.overdue-block-card{border-radius:var(--radius-lg);background:var(--surface-strong);width:min(100%,40rem);box-shadow:var(--shadow);border:1px solid #ff747466;gap:1rem;padding:1.5rem;display:grid}.overdue-block-head{color:var(--red);align-items:flex-start;gap:.85rem;display:flex}.overdue-block-head h1{color:var(--text);margin:0 0 .25rem;font-size:1.35rem}.overdue-list{gap:.85rem;display:grid}.overdue-item{border:1px solid var(--border);border-radius:var(--radius-sm);background:#ffffff05;gap:.55rem;padding:.85rem;display:grid}.overdue-item-head{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:.35rem .75rem;display:flex}.overdue-task-meta{justify-items:start;gap:.4rem;display:grid}.overdue-task-meta .priority-chip{justify-self:start}.overdue-open-button{justify-self:start;width:auto;padding:0 .9rem}.overdue-detail{border:1px solid var(--border);border-radius:var(--radius-sm);background:#ffffff05;gap:.85rem;padding:.75rem;display:grid}.overdue-detail h4{color:var(--muted-strong);margin:0 0 .45rem;font-size:.9rem}.overdue-item textarea{resize:vertical;width:100%}.overdue-item .primary-button{justify-self:end;width:auto;padding:0 1.1rem}.overdue-logout{justify-self:start;gap:.4rem;width:auto;padding:0 1.1rem}.notifications-heading-actions{align-items:center;gap:.6rem;display:inline-flex}.mark-all-button{width:auto;padding:0 .9rem}.notification-list{gap:.5rem;margin:0;padding:0;list-style:none;display:grid}.notification-item{text-align:left;border:1px solid var(--border);border-radius:var(--radius-sm);background:#ffffff05;align-items:flex-start;gap:.7rem;width:100%;min-height:0;padding:.75rem .85rem;display:flex}.notification-item:hover{border-color:var(--border-strong);background:#ffffff0d}.notification-item.unread{background:var(--blue-soft);border-color:#82b7ff59}.notification-indicator{background:0 0;border-radius:999px;flex:none;width:9px;height:9px;margin-top:.35rem}.notification-item.unread .notification-indicator{background:var(--blue)}.notification-body{gap:.2rem;min-width:0;display:grid}.notification-body strong{font-weight:700}.notification-body small{color:var(--muted);font-size:.76rem}.admin-screen{gap:1rem;display:grid}.admin-tabs{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);flex-wrap:wrap;gap:.4rem;padding:.35rem;display:flex}.admin-tabs button{border-radius:var(--radius-sm);width:auto;min-height:2.5rem;color:var(--muted-strong);background:0 0;padding:0 .95rem;font-weight:700}.admin-tabs button.active{background:var(--gold-soft);color:#f8e6a8}.admin-create-button{gap:.35rem;width:auto;padding:0 1rem}.admin-table-wrap{overflow-x:auto}.admin-table{border-collapse:collapse;width:100%;font-size:.88rem}.admin-table th,.admin-table td{text-align:left;border-bottom:1px solid var(--border);vertical-align:top;padding:.65rem .6rem}.admin-table th{color:var(--muted);text-transform:uppercase;letter-spacing:.03em;font-size:.76rem;font-weight:700}.admin-row-actions{flex-wrap:wrap;gap:.35rem;display:inline-flex}.admin-row-actions .ghost-button{width:auto;min-height:2rem;padding:0 .7rem}.ghost-button.danger{color:var(--red);border-color:#ff74744d}.ghost-button.danger:hover{background:var(--red-soft)}.checkbox-row{flex-direction:row;align-items:center;gap:.55rem}.checkbox-row input{width:auto}.matrix-rule-form{border:1px solid var(--border);border-radius:var(--radius-sm);background:#ffffff05;margin-bottom:.85rem;padding:.75rem}.matrix-rule-form .modal-actions .ghost-button,.matrix-rule-form .modal-actions .primary-button{width:auto;padding:0 1rem}.matrix-check{flex-wrap:wrap;align-items:flex-end;gap:.6rem;margin-bottom:.75rem;display:flex}.matrix-check label{flex:14rem}.matrix-check-button{flex:none;width:auto;padding:0 1.1rem}.role-system-badge{margin-left:.4rem}.permission-list{gap:.3rem;max-height:45vh;margin-bottom:1rem;display:grid;overflow-y:auto}.permission-row{border:1px solid var(--border);border-radius:var(--radius-sm);cursor:pointer;flex-direction:row;align-items:flex-start;gap:.55rem;padding:.45rem .55rem;display:flex}.permission-row:hover{border-color:var(--border-strong)}.permission-row input{width:auto;margin-top:.15rem}.permission-row span{gap:.1rem;display:grid}.admin-simple-list{gap:.5rem;margin:0;padding:0;list-style:none;display:grid}.admin-simple-list li{border:1px solid var(--border);border-radius:var(--radius-sm);background:#ffffff05;justify-content:space-between;align-items:center;gap:.75rem;padding:.6rem .7rem;display:flex}.admin-simple-body{gap:.1rem;min-width:0;display:grid}.admin-simple-actions{flex:none;align-items:center;gap:.5rem;display:inline-flex}.admin-simple-actions .ghost-button{width:auto;min-height:2rem;padding:0 .7rem}.audit-filters{grid-template-columns:1fr;gap:.6rem;margin-bottom:.75rem;display:grid}.audit-filter-actions{justify-content:flex-end;gap:.5rem;margin-bottom:1rem;display:flex}.audit-filter-actions .ghost-button,.audit-filter-actions .primary-button{width:auto;padding:0 1.1rem}.audit-list{gap:.4rem;margin:0;padding:0;list-style:none;display:grid}.audit-item{border:1px solid var(--border);border-radius:var(--radius-sm);background:#ffffff05;overflow:hidden}.audit-item-head{text-align:left;background:0 0;gap:.15rem;width:100%;min-height:0;padding:.6rem .75rem;display:grid}.audit-action{font-size:.88rem;font-weight:700}.audit-meta{color:var(--muted);font-size:.76rem}.audit-detail{border-top:1px solid var(--border);gap:.6rem;padding:.75rem;display:grid}.audit-detail-grid{grid-template-columns:1fr;gap:.35rem 1rem;display:grid}.audit-detail-grid dt{color:var(--muted);text-transform:uppercase;letter-spacing:.03em;font-size:.72rem}.audit-detail-grid dd{word-break:break-word;margin:0}.audit-json{border-radius:var(--radius-sm);border:1px solid var(--border);white-space:pre-wrap;word-break:break-word;background:#00000047;margin:0;padding:.6rem;font-size:.76rem;overflow-x:auto}@media (width>=680px){.audit-filters,.audit-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.bottom-nav{padding:.55rem .75rem calc(.55rem + env(safe-area-inset-bottom));border-top:1px solid var(--border);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);z-index:20;background:#0d1117f0;grid-template-columns:repeat(5,1fr);gap:.25rem;display:grid;position:fixed;bottom:0;left:0;right:0}.bottom-nav a{min-height:3.25rem;color:var(--muted);border-radius:var(--radius-sm);flex-direction:column;justify-content:center;gap:.25rem;font-size:.72rem}.bottom-nav a.active,.bottom-nav a[aria-current=page]{color:#f8e6a8;background:#e7c76a14}.bottom-nav .create{background:var(--gold);color:#17130a;border-radius:999px;width:3.5rem;height:3.5rem;min-height:3.5rem;margin:-1.25rem auto 0;box-shadow:0 12px 32px #e7c76a59}.task-detail{gap:1rem;display:grid}.task-detail-topline{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;display:flex}.task-back-link{gap:.35rem;width:auto;padding:0 .9rem;font-weight:700}.task-detail-chips{flex-wrap:wrap;gap:.35rem;display:flex}.task-detail-header h2{margin:.2rem 0 .9rem;font-size:1.35rem}.task-detail-meta{margin:0}.task-actions{flex-wrap:wrap;gap:.6rem;margin-top:1rem;display:flex}.task-action-button{width:auto;padding:0 1.1rem}.task-action-button.danger{color:var(--red);border-color:#ff747459}.task-action-button.danger:hover{background:var(--red-soft)}.task-actions-empty{margin-top:1rem}.task-detail-grid{gap:1rem;display:grid}.task-description{white-space:pre-wrap;margin:0;line-height:1.55}.panel-heading h2{align-items:center;gap:.45rem;display:inline-flex}.checklist-view,.attachment-view{gap:.6rem;margin:0;padding:0;list-style:none;display:grid}.checklist-view li{align-items:flex-start;gap:.6rem;display:flex}.checklist-view li.done .checklist-body strong{color:var(--muted);text-decoration:line-through}.checklist-mark{color:var(--muted);padding-top:.1rem;display:inline-flex}.checklist-mark.done{color:var(--green)}.checklist-dot{border:2px solid var(--border-strong);border-radius:999px;width:14px;height:14px;display:inline-block}.checklist-view li{align-items:center}button.checklist-mark{width:1.5rem;min-width:1.5rem;height:1.5rem;min-height:1.5rem;color:var(--muted);background:0 0;border:0;padding:0}button.checklist-mark.done{color:var(--green)}button.checklist-mark:disabled{opacity:1;cursor:default}.checklist-body{flex:1;min-width:0}.checklist-actions{flex:none;gap:.3rem;display:inline-flex}.checklist-actions .icon-button{min-width:2rem;min-height:2rem}.icon-button.danger{color:var(--red);border-color:#ff747447}.icon-button.danger:hover{background:var(--red-soft)}.checklist-edit{gap:.5rem;width:100%;display:grid}.checklist-edit-actions{justify-content:flex-end;gap:.5rem;display:flex}.checklist-edit-actions .ghost-button,.checklist-edit-actions .primary-button{gap:.3rem;width:auto;padding:0 .9rem}.checklist-add{border-top:1px solid var(--border);gap:.5rem;margin-top:1rem;padding-top:1rem;display:grid}.checklist-add-row{flex-wrap:wrap;gap:.5rem;display:flex}.checklist-add-row input{flex:12rem;min-width:0}.checklist-add-button{flex:none;gap:.35rem;width:auto;padding:0 1rem}.conflict-banner{background:var(--red-soft);border-radius:var(--radius-sm);color:var(--red);border:1px solid #ff747459;margin-bottom:1rem;padding:.7rem .85rem;font-size:.86rem}.conflict-banner ul{margin:.35rem 0 0;padding-left:1.1rem}.checklist-body,.attachment-body{gap:.15rem;display:grid}.checklist-body small,.attachment-body small{color:var(--muted);font-size:.76rem}.attachment-view li{justify-content:space-between;align-items:center;gap:.75rem;display:flex}.attachment-download{flex:none;gap:.35rem;width:auto;padding:0 .85rem}.comment-form{gap:.6rem;margin-bottom:1rem;display:grid}.comment-form textarea{resize:vertical;width:100%}.comment-submit{gap:.4rem;width:auto;padding:0 1.1rem}.comment-form-row{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.comment-submit{margin-left:auto}.comment-attach{min-height:var(--tap);border:1px solid var(--border);border-radius:var(--radius-sm);color:var(--muted-strong);cursor:pointer;background:#ffffff0a;align-items:center;gap:.4rem;max-width:60%;padding:0 .85rem;display:inline-flex;overflow:hidden}.comment-attach:hover{border-color:var(--border-strong)}.comment-attach span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.comment-attach input{display:none}.comment-attach-clear{gap:.3rem;width:auto;padding:0 .75rem}.feed-structured{gap:.3rem;display:grid}.feed-kv{justify-content:space-between;gap:.5rem;font-size:.85rem;display:flex}.feed-kv span{color:var(--muted)}.feed-attachments{flex-wrap:wrap;gap:.4rem;margin-top:.5rem;display:flex}.feed-attachment{border:1px solid var(--border);border-radius:var(--radius-sm);width:auto;min-height:2rem;color:var(--blue);background:#82b7ff14;align-items:center;gap:.35rem;max-width:100%;padding:0 .6rem;font-size:.8rem;display:inline-flex}.feed-attachment span{white-space:nowrap;text-overflow:ellipsis;max-width:14rem;overflow:hidden}.feed-attachment:hover{border-color:var(--blue)}.attachment-upload{flex-wrap:wrap;gap:.5rem;margin-bottom:1rem;display:flex}.attachment-upload-button{flex:none;gap:.35rem;width:auto;padding:0 1rem}.attachment-grid{gap:.6rem;display:grid}.attachment-card{border:1px solid var(--border);border-radius:var(--radius-sm);background:#ffffff05;align-items:center;gap:.7rem;padding:.55rem .65rem;display:flex}.attachment-type-icon{border-radius:var(--radius-sm);background:var(--blue-soft);width:2.75rem;height:2.75rem;color:var(--blue);flex:none;justify-content:center;align-items:center;display:inline-flex}.attachment-preview{object-fit:cover;border-radius:var(--radius-sm);background:#ffffff0d;flex:none;width:2.75rem;height:2.75rem}.attachment-preview.loading{animation:1.2s ease-in-out infinite attachment-pulse}@keyframes attachment-pulse{0%,to{opacity:.35}50%{opacity:.75}}.attachment-card-body{flex:1;gap:.1rem;min-width:0;display:grid}.attachment-card-body strong{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.attachment-card-body small{color:var(--muted);font-size:.76rem}.attachment-card-actions{flex:none;gap:.3rem;display:inline-flex}.attachment-card-actions .icon-button{min-width:2rem;min-height:2rem}.feed-attachments{flex-direction:column;align-items:stretch}.feed-list,.history-list{gap:.75rem;margin:0;padding:0;list-style:none;display:grid}.feed-item{border:1px solid var(--border);border-radius:var(--radius-sm);background:#ffffff05;padding:.75rem .85rem}.feed-item.feed-status_change,.feed-item.feed-system,.feed-item.feed-checklist_change,.feed-item.feed-attachment{border-left:3px solid var(--blue)}.feed-item.feed-deadline_change_request,.feed-item.feed-deadline_change_decision{border-left:3px solid var(--gold)}.feed-item.feed-overdue_explanation,.feed-item.feed-overdue_decision{border-left:3px solid var(--red)}.feed-item-head{flex-wrap:wrap;align-items:center;gap:.5rem;margin-bottom:.35rem;font-size:.8rem;display:flex}.feed-author{font-weight:800}.feed-type-chip{background:var(--gold-soft);color:#f8e6a8;border-radius:999px;padding:.12rem .5rem;font-size:.68rem;font-weight:800}.feed-item-head time{color:var(--muted);margin-left:auto}.feed-text{white-space:pre-wrap;margin:0;line-height:1.5}.history-list li{border-left:2px solid var(--border-strong);gap:.1rem;padding-left:.7rem;display:grid}.history-action{font-size:.88rem;font-weight:700}.history-meta{color:var(--muted);font-size:.76rem}@media (width>=680px){.status-grid,.dashboard-grid{grid-template-columns:repeat(3,1fr)}.dashboard-grid-primary{grid-template-columns:repeat(3,minmax(0,1fr))}.task-filters,.form-row{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width>=920px){.app-shell{grid-template-columns:15rem 1fr}.sidebar{display:block}.workspace{padding:2rem}.profile-pill{display:flex}.quick-create-link{display:inline-flex}.content-grid{grid-template-columns:minmax(0,1.5fr) minmax(18rem,.8fr)}.dashboard-grid,.task-filters{grid-template-columns:repeat(4,minmax(0,1fr))}.task-list-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.task-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.task-feed-panel,.task-deadline-panel{grid-column:1/-1}.bottom-nav{display:none}}.chat-shell{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);grid-template-columns:minmax(260px,340px) 1fr;gap:0;height:calc(100vh - 190px);min-height:420px;display:grid;overflow:hidden}.chat-sidebar{border-right:1px solid var(--border);flex-direction:column;min-height:0;display:flex}.chat-sidebar-head{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding:.85rem 1rem;display:flex}.chat-sidebar-head h2{margin:0;font-size:1.05rem}.chat-new-button{border:1px solid var(--border-strong);background:var(--gold-soft);width:36px;height:36px;color:var(--gold);cursor:pointer;border-radius:50%;justify-content:center;align-items:center;display:inline-flex}.chat-sidebar-empty{padding:1rem;font-size:.9rem}.chat-conversations{min-height:0;margin:0;padding:0;list-style:none;overflow-y:auto}.chat-conversation{border:none;border-bottom:1px solid var(--border);width:100%;color:var(--text);cursor:pointer;text-align:left;background:0 0;align-items:center;gap:.7rem;padding:.7rem 1rem;display:flex}.chat-conversation:hover{background:var(--bg-soft)}.chat-conversation.active{background:var(--gold-soft)}.chat-conversation-body{flex-direction:column;flex:1;gap:.2rem;min-width:0;display:flex}.chat-conversation-top,.chat-conversation-bottom{justify-content:space-between;align-items:center;gap:.5rem;display:flex}.chat-conversation-name{white-space:nowrap;text-overflow:ellipsis;font-weight:600;overflow:hidden}.chat-conversation-time{color:var(--muted);flex-shrink:0;font-size:.72rem}.chat-conversation-preview{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-size:.82rem;overflow:hidden}.chat-unread-badge{background:var(--gold);color:#1a1205;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;min-width:20px;height:20px;padding:0 .35rem;font-size:.72rem;font-weight:700;display:inline-flex}.chat-main{flex-direction:column;min-width:0;min-height:0;display:flex}.chat-empty{color:var(--muted);flex-direction:column;flex:1;justify-content:center;align-items:center;gap:.6rem;display:flex}.chat-thread{flex-direction:column;height:100%;min-height:0;display:flex}.chat-thread-head{border-bottom:1px solid var(--border);align-items:center;gap:.7rem;padding:.7rem 1rem;display:flex}.chat-thread-head h3{margin:0;font-size:1rem}.chat-back{color:var(--text);cursor:pointer;background:0 0;border:none;display:none}.chat-messages{flex-direction:column;flex:1;gap:.35rem;min-height:0;padding:1rem;display:flex;overflow-y:auto}.chat-load-earlier{text-align:center;margin-bottom:.5rem}.chat-day{text-align:center;margin:.6rem 0}.chat-day span{color:var(--muted);background:var(--bg-soft);border-radius:10px;padding:.2rem .7rem;font-size:.72rem}.chat-bubble-row{display:flex}.chat-bubble-row.own{justify-content:flex-end}.chat-bubble-row.peer{justify-content:flex-start}.chat-bubble{border-radius:var(--radius-sm);background:var(--surface-strong);border:1px solid var(--border);flex-direction:column;gap:.15rem;max-width:min(78%,560px);padding:.5rem .7rem;display:flex}.chat-bubble-row.own .chat-bubble{background:var(--gold-soft);border-color:#e7c76a4d}.chat-bubble.failed{border-color:var(--red)}.chat-bubble-text{white-space:pre-wrap;word-break:break-word;font-size:.92rem}.chat-bubble-meta{color:var(--muted);justify-content:flex-end;align-items:center;gap:.3rem;font-size:.7rem;display:flex}.chat-read{color:var(--blue)}.chat-retry{color:var(--red);cursor:pointer;background:0 0;border:none;align-self:flex-end;padding:0;font-size:.75rem}.chat-composer{border-top:1px solid var(--border);align-items:flex-end;gap:.5rem;padding:.7rem 1rem;display:flex}.chat-input{resize:none;border-radius:var(--radius-sm);border:1px solid var(--border-strong);background:var(--bg-soft);max-height:140px;color:var(--text);font:inherit;flex:1;padding:.6rem .8rem;line-height:1.35}.chat-send{width:var(--tap);height:var(--tap);background:var(--gold);color:#1a1205;cursor:pointer;border:none;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.chat-send:disabled{opacity:.45;cursor:default}.chat-avatar{background:var(--blue-soft);width:40px;height:40px;color:var(--blue);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-size:.8rem;font-weight:700;display:inline-flex}.chat-modal-backdrop{z-index:60;background:#0000008c;justify-content:center;align-items:center;padding:1rem;display:flex;position:fixed;inset:0}.chat-modal{background:var(--surface-strong);border:1px solid var(--border-strong);border-radius:var(--radius-md);flex-direction:column;width:min(440px,100%);max-height:80vh;display:flex;overflow:hidden}.chat-modal-head{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding:.9rem 1rem;display:flex}.chat-modal-head h3{margin:0}.chat-search{border-radius:var(--radius-sm);border:1px solid var(--border-strong);background:var(--bg-soft);color:var(--text);font:inherit;margin:.8rem 1rem;padding:.55rem .8rem}.chat-contacts{margin:0;padding:0 0 .6rem;list-style:none;overflow-y:auto}.chat-contacts-empty{padding:.6rem 1rem}.chat-contact{width:100%;color:var(--text);cursor:pointer;text-align:left;background:0 0;border:none;align-items:center;gap:.7rem;padding:.55rem 1rem;display:flex}.chat-contact:hover{background:var(--bg-soft)}.chat-contact-name{font-weight:600;display:block}.chat-contact-login{font-size:.78rem;display:block}@media (width<=720px){.chat-shell{grid-template-columns:1fr;height:calc(100vh - 170px)}.chat-shell .chat-main,.chat-shell.chat-has-active .chat-sidebar{display:none}.chat-shell.chat-has-active .chat-main{display:flex}.chat-back{display:inline-flex}}.chat-media-image img{border-radius:var(--radius-sm);object-fit:cover;max-width:min(260px,60vw);max-height:320px;display:block}.chat-media-video{border-radius:var(--radius-sm);background:#000;max-width:min(300px,70vw);max-height:340px;display:block}.chat-media-file{min-width:200px;max-width:300px;color:var(--text);align-items:center;gap:.6rem;padding:.2rem 0;text-decoration:none;display:flex}.chat-file-icon{background:var(--blue-soft);width:40px;height:40px;color:var(--blue);border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.chat-file-meta{flex-direction:column;flex:1;min-width:0;display:flex}.chat-file-name{white-space:nowrap;text-overflow:ellipsis;font-size:.88rem;font-weight:600;overflow:hidden}.chat-file-size{color:var(--muted);font-size:.75rem}.chat-voice{align-items:center;gap:.5rem;min-width:170px;display:inline-flex}.chat-voice-btn{background:var(--gold);color:#1a1205;cursor:pointer;border:none;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;display:inline-flex}.chat-voice-bar{background:var(--border-strong);border-radius:2px;flex:1;height:3px}.chat-voice-time{color:var(--muted);flex-shrink:0;font-size:.75rem}.chat-icon-btn{width:var(--tap);height:var(--tap);color:var(--muted-strong);cursor:pointer;background:0 0;border:none;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.chat-icon-btn:hover:not(:disabled){background:var(--bg-soft);color:var(--text)}.chat-icon-btn:disabled{opacity:.45;cursor:default}.chat-icon-btn.danger{color:var(--red)}.chat-upload-error{color:var(--red);background:var(--red-soft);padding:.4rem 1rem;font-size:.82rem}.chat-recording{align-items:center}.chat-recording-info{color:var(--text);flex:1;align-items:center;gap:.5rem;font-size:.9rem;display:flex}.chat-recording-dot{background:var(--red);border-radius:50%;width:10px;height:10px;animation:1s infinite chat-pulse}@keyframes chat-pulse{0%,to{opacity:1}50%{opacity:.3}}.chat-bubble-row{align-items:center;gap:.25rem}.chat-forwarded{color:var(--muted);align-items:center;gap:.25rem;margin-bottom:.2rem;font-size:.72rem;font-style:italic;display:inline-flex}.chat-quote{text-align:left;border-left:3px solid var(--gold);cursor:pointer;background:#ffffff0d;border-radius:6px;flex-direction:column;align-items:flex-start;gap:.1rem;width:100%;margin-bottom:.3rem;padding:.3rem .5rem;display:flex}.chat-quote-author{color:var(--gold);font-size:.75rem;font-weight:600}.chat-quote-text{color:var(--muted-strong);white-space:nowrap;text-overflow:ellipsis;max-width:240px;font-size:.8rem;overflow:hidden}.chat-msg-actions{flex-shrink:0;position:relative}.chat-msg-more{opacity:0;color:var(--muted);cursor:pointer;background:0 0;border:none;border-radius:6px;padding:.2rem;transition:opacity .12s}.chat-bubble-row:hover .chat-msg-more,.chat-msg-more:focus-visible{opacity:1}.chat-msg-menu{z-index:20;background:var(--surface-strong);border:1px solid var(--border-strong);border-radius:var(--radius-sm);min-width:150px;box-shadow:var(--shadow);flex-direction:column;padding:.25rem;display:flex;position:absolute;top:100%}.chat-bubble-row.own .chat-msg-menu{right:0}.chat-bubble-row.peer .chat-msg-menu{left:0}.chat-msg-menu button{color:var(--text);cursor:pointer;text-align:left;background:0 0;border:none;border-radius:6px;align-items:center;gap:.5rem;padding:.5rem .6rem;font-size:.85rem;display:flex}.chat-msg-menu button:hover{background:var(--bg-soft)}.chat-reply-bar{border-top:1px solid var(--border);color:var(--muted-strong);align-items:center;gap:.5rem;padding:.5rem 1rem;display:flex}.chat-reply-bar-body{flex-direction:column;flex:1;min-width:0;display:flex}.chat-reply-bar-label{color:var(--gold);font-size:.72rem;font-weight:600}.chat-reply-bar-text{white-space:nowrap;text-overflow:ellipsis;font-size:.82rem;overflow:hidden}.chat-highlight .chat-bubble{animation:1.6s chat-highlight-flash}@keyframes chat-highlight-flash{0%,40%{box-shadow:0 0 0 2px var(--gold)}to{box-shadow:0 0 #0000}}.chat-sidebar-search{border-radius:var(--radius-sm);background:var(--bg-soft);color:var(--muted);align-items:center;gap:.5rem;margin:.4rem .7rem;padding:.5rem .8rem;display:flex}.chat-sidebar-search input{color:var(--text);font:inherit;background:0 0;border:none;outline:none;flex:1}.chat-conversation-item{align-items:stretch;display:flex;position:relative}.chat-conversation-item.pinned{background:#e7c76a0a}.chat-conversation-item .chat-conversation{border-bottom:1px solid var(--border);flex:1}.chat-conversation-marks{flex-shrink:0;align-items:center;gap:.3rem;display:inline-flex}.chat-mark{color:var(--muted)}.chat-conversation-preview.typing{color:var(--green);font-style:italic}.chat-conv-actions{position:absolute;top:.5rem;right:.5rem}.chat-conv-more{opacity:0;background:var(--surface-strong);color:var(--muted);cursor:pointer;border:none;border-radius:6px;padding:.15rem}.chat-conversation-item:hover .chat-conv-more{opacity:1}.chat-conv-actions .chat-msg-menu{left:auto;right:0}.chat-thread-title{flex-direction:column;flex:1;min-width:0;display:flex}.chat-thread-status{color:var(--muted);font-size:.75rem}.chat-thread-status.typing{color:var(--green)}.chat-search-panel{border-bottom:1px solid var(--border);background:var(--bg-soft);flex-direction:column;max-height:45%;display:flex}.chat-search-row{color:var(--muted);align-items:center;gap:.5rem;padding:.5rem .8rem;display:flex}.chat-search-input{color:var(--text);font:inherit;background:0 0;border:none;outline:none;flex:1}.chat-search-scope{border:1px solid var(--border-strong);color:var(--muted-strong);cursor:pointer;background:0 0;border-radius:20px;flex-shrink:0;padding:.25rem .55rem;font-size:.75rem}.chat-search-scope.active{background:var(--gold-soft);color:var(--gold);border-color:#e7c76a59}.chat-search-results{padding:0 .4rem .4rem;overflow-y:auto}.chat-search-hint{padding:.5rem .6rem;font-size:.85rem}.chat-search-hit{text-align:left;width:100%;color:var(--text);cursor:pointer;background:0 0;border:none;border-radius:8px;flex-direction:column;gap:.15rem;padding:.5rem .6rem;display:flex}.chat-search-hit:hover{background:var(--surface)}.chat-search-hit-top{justify-content:space-between;gap:.5rem;display:flex}.chat-search-hit-name{color:var(--gold);font-size:.8rem;font-weight:600}.chat-search-hit-time{color:var(--muted);font-size:.72rem}.chat-search-hit-text{color:var(--muted-strong);white-space:nowrap;text-overflow:ellipsis;font-size:.85rem;overflow:hidden}.chat-source-note{border-radius:var(--radius-sm);background:var(--gold-soft);color:var(--muted-strong);align-items:flex-start;gap:.5rem;margin:.75rem 0 0;padding:.6rem .8rem;font-size:.85rem;display:flex}.task-source-link{color:var(--gold);cursor:pointer;font:inherit;background:0 0;border:none;align-items:center;gap:.3rem;margin-left:.6rem;padding:0;display:inline-flex}.task-source-link:hover{text-decoration:underline}.chat-ai-modal{width:min(560px,100%)}.chat-modal-head h3{align-items:center;gap:.4rem;display:inline-flex}.chat-ai-body{padding:0 1rem 1rem;overflow-y:auto}.chat-ai-source{margin:.6rem 0;font-size:.85rem;font-style:italic}.chat-ai-actions{flex-wrap:wrap;gap:.4rem;display:flex}.chat-ai-action{border:1px solid var(--border-strong);color:var(--muted-strong);cursor:pointer;background:0 0;border-radius:20px;padding:.4rem .7rem;font-size:.82rem}.chat-ai-action:hover,.chat-ai-action.active{background:var(--gold-soft);color:var(--gold);border-color:#e7c76a59}.chat-ai-custom{flex-direction:column;gap:.5rem;margin-top:.7rem;display:flex}.chat-ai-custom textarea{resize:vertical;border-radius:var(--radius-sm);border:1px solid var(--border-strong);background:var(--bg-soft);min-height:70px;color:var(--text);font:inherit;padding:.6rem .8rem}.chat-ai-hint{margin-top:.8rem}.chat-ai-error{color:var(--red);margin-top:.8rem;font-size:.85rem}.chat-ai-result{border-top:1px solid var(--border);margin-top:.9rem;padding-top:.8rem}.chat-ai-result pre{white-space:pre-wrap;word-break:break-word;font:inherit;background:var(--bg-soft);border-radius:var(--radius-sm);max-height:260px;margin:0 0 .6rem;padding:.7rem .8rem;overflow-y:auto}.chat-ai-result-actions{flex-wrap:wrap;gap:.4rem;display:flex}.chat-ai-result-actions button{border-radius:var(--radius-sm);border:1px solid var(--border-strong);color:var(--text);cursor:pointer;background:0 0;align-items:center;gap:.3rem;padding:.4rem .7rem;font-size:.82rem;display:inline-flex}.chat-ai-result-actions button:hover{background:var(--bg-soft)}.chat-avatar-img{object-fit:cover}.chat-new-wrap{position:relative}.chat-new-menu{z-index:70;position:absolute;top:40px;right:0}.chat-thread-peer{min-width:0;color:var(--text);text-align:left;background:0 0;border:none;flex:1;align-items:center;gap:.7rem;padding:0;display:flex}.chat-thread-peer:not(:disabled){cursor:pointer}.chat-bubble-sender{color:var(--blue);font-size:.76rem;font-weight:700}.chat-system{text-align:center;margin:.4rem 0}.chat-system span{color:var(--muted);background:var(--bg-soft);border-radius:10px;max-width:80%;padding:.25rem .8rem;font-size:.74rem;display:inline-block}.chat-contact.selected{background:var(--blue-soft)}.chat-contact-check{color:var(--blue);margin-left:auto}.chat-modal-actions{border-top:1px solid var(--border);justify-content:flex-end;gap:.6rem;padding:.8rem 1rem;display:flex}.danger-button{border-radius:var(--radius-sm);border:1px solid var(--red);color:var(--red);font:inherit;cursor:pointer;background:0 0;align-items:center;gap:.35rem;padding:.5rem .9rem;display:inline-flex}.danger-button:hover{background:#dc50501f}.chat-group-form-top{align-items:center;gap:.7rem;margin:.8rem 1rem 0;display:flex}.chat-group-form-top .chat-search{flex:1;margin:0}.chat-group-image{background:var(--blue-soft);width:48px;height:48px;color:var(--blue);cursor:pointer;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex;position:relative;overflow:hidden}.chat-group-image img{object-fit:cover;width:100%;height:100%}.chat-group-image.editable:after{content:"✎";background:var(--surface-strong);border:1px solid var(--border-strong);border-radius:50%;justify-content:center;align-items:center;width:18px;height:18px;font-size:.7rem;display:flex;position:absolute;bottom:-2px;right:-2px}.chat-group-selected{padding:.4rem 1rem 0;font-size:.8rem}.chat-group-panel{width:min(480px,100%)}.chat-group-head{border-bottom:1px solid var(--border);align-items:center;gap:.9rem;padding:.9rem 1rem;display:flex}.chat-group-title{flex-direction:column;gap:.2rem;display:flex}.chat-group-title h4{margin:0}.chat-group-rename{flex:1;align-items:center;gap:.5rem;display:flex}.chat-group-rename .chat-search{flex:1;margin:0}.chat-group-members-head{justify-content:space-between;align-items:center;padding:.7rem 1rem .3rem;display:flex}.chat-group-members{padding-bottom:0}.chat-group-member{align-items:center;display:flex}.chat-group-member-main{flex:1}.chat-role-icon{color:var(--gold);margin-left:auto}.chat-group-add{border-bottom:1px solid var(--border);padding-bottom:.5rem}.chat-bubble.mentioned{border-color:var(--gold);box-shadow:inset 3px 0 0 var(--gold)}.chat-mention-pop{background:var(--surface-strong);border:1px solid var(--border-strong);border-radius:var(--radius-sm);z-index:40;min-width:220px;max-height:260px;margin-bottom:.35rem;position:absolute;bottom:100%;left:.6rem;overflow:hidden auto;box-shadow:0 6px 20px #00000059}.chat-mention-option{width:100%;color:var(--text);cursor:pointer;text-align:left;background:0 0;border:none;align-items:center;gap:.6rem;padding:.45rem .7rem;display:flex}.chat-mention-option:hover{background:var(--bg-soft)}.chat-mention-all{color:var(--gold);font-weight:700}.chat-composer{position:relative}.chat-read-count{color:var(--blue);cursor:pointer;background:0 0;border:none;align-items:center;gap:.15rem;padding:0;font-size:.72rem;display:inline-flex}.chat-read-count:hover{text-decoration:underline}.chat-bubble-row.selecting{cursor:pointer;border-radius:var(--radius-sm);align-items:center;gap:.5rem;padding:.1rem .2rem}.chat-bubble-row.selecting:hover{background:var(--bg-soft)}.chat-bubble-row.selected{background:var(--blue-soft)}.chat-select-check{border:2px solid var(--border-strong);color:#fff;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:20px;height:20px;display:inline-flex}.chat-select-check.on{background:var(--blue);border-color:var(--blue)}.chat-bubble-row.selecting .chat-bubble,.chat-bubble-row.selecting .chat-bubble *{pointer-events:none}.chat-selection-bar{border-top:1px solid var(--border);background:var(--surface-strong);align-items:center;gap:.6rem;padding:.6rem .9rem;display:flex}.chat-selection-count{font-weight:600}.chat-selection-actions{gap:.3rem;margin-left:auto;display:flex}.chat-selection-actions .chat-icon-btn:disabled{opacity:.4;cursor:default}.chat-edited-mark{color:var(--muted);font-size:.68rem;font-style:italic}.chat-revoked{font-style:italic}.chat-edit-input{border-radius:var(--radius-sm);border:1px solid var(--border-strong);background:var(--bg-soft);color:var(--text);font:inherit;resize:vertical;margin:.8rem 1rem;padding:.55rem .8rem}.chat-msg-menu button.danger{color:var(--red)}.chat-react-row{border-bottom:1px solid var(--border);gap:.15rem;margin-bottom:.2rem;padding:.3rem .4rem;display:flex}.chat-react-btn{cursor:pointer;border-radius:var(--radius-sm);background:0 0;border:none;padding:.25rem;font-size:1.05rem;line-height:1}.chat-react-btn:hover{background:var(--bg-soft)}.chat-reactions{flex-wrap:wrap;gap:.25rem;margin-top:.25rem;display:flex}.chat-reaction{border:1px solid var(--border-strong);background:var(--bg-soft);color:var(--text);cursor:pointer;border-radius:12px;align-items:center;gap:.2rem;padding:.05rem .4rem;font-size:.82rem;display:inline-flex}.chat-reaction.mine{background:var(--blue-soft);border-color:var(--blue)}.chat-reaction-count{color:var(--muted);font-size:.72rem}.chat-reaction.mine .chat-reaction-count{color:var(--blue)}.chat-sidebar-scroll{flex-direction:column;flex:1;min-height:0;display:flex;overflow-y:auto}.chat-search-global{border-top:1px solid var(--border);margin-top:.3rem}.chat-search-global-head{text-transform:uppercase;letter-spacing:.04em;color:var(--muted);padding:.5rem 1rem .3rem;font-size:.72rem}.chat-search-global-list{margin:0;padding:0;list-style:none}.chat-search-global-hit{width:100%;color:var(--text);text-align:left;cursor:pointer;background:0 0;border:none;flex-direction:column;gap:.15rem;padding:.5rem 1rem;display:flex}.chat-search-global-hit:hover{background:var(--bg-soft)}.chat-search-global-hit .chat-search-hit-text{text-overflow:ellipsis;white-space:nowrap;font-size:.85rem;overflow:hidden}.chat-reconnect-banner{z-index:50;text-align:center;background:var(--gold-soft);color:var(--gold);border-bottom:1px solid var(--border-strong);padding:.35rem;font-size:.8rem;position:absolute;top:0;left:0;right:0}.chat-shell{position:relative}.task-view-controls{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;display:flex}.task-create-focused{max-width:860px;margin:0 auto}.task-form-fields{border:0;gap:1rem;min-width:0;margin:0;padding:0;display:grid}.task-form-columns{grid-template-columns:2fr 1fr;gap:1rem;display:grid}.task-card-title-link{display:block}.task-card-title-link:hover{text-decoration:underline}.task-card-description{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.task-list-card .task-card-person,.task-list-card .task-card-progress{color:var(--muted-strong);min-height:0;margin:.35rem 0;font-size:.86rem}.create-subsection summary,.task-section summary{cursor:pointer;min-height:44px;color:var(--muted-strong);align-items:center;gap:.5rem;font-weight:600;display:flex}.create-subsection[open]{display:block}.create-subsection[open]>*+*{margin-top:.75rem}.today-screen{gap:1.25rem;display:grid}.today-screen h2,.today-screen h3{margin:0}.today-metrics{grid-template-columns:repeat(3,1fr);gap:1rem;display:grid}.today-metric{border:1px solid var(--border-strong);background:var(--surface);border-radius:12px;align-items:baseline;gap:1rem;padding:1rem 1.25rem;display:flex}.today-metric strong{font-size:2rem}.today-metric span{color:var(--muted-strong)}.today-layout{grid-template-columns:minmax(0,1fr) 300px;align-items:start;gap:1.25rem;display:grid}.today-work{gap:1rem;display:grid}.today-events{gap:.5rem;display:grid}.today-events>a{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:1rem;min-height:52px;display:flex}.today-events>a strong{white-space:nowrap}.today-empty{color:var(--muted-strong);padding:2rem}.overdue-notice{border:1px solid var(--red);border-radius:12px;flex-wrap:wrap;justify-content:space-between;gap:1rem;padding:1rem;display:flex}.overdue-notice strong{color:var(--red)}.task-detail .task-description{white-space:pre-wrap;margin-top:1rem}.task-detail-grid{flex-direction:column;display:flex}.task-detail{max-width:980px;margin:0 auto}.task-section{width:100%}.task-section>summary{font-size:1rem}.task-action-secondary{position:relative}.task-action-secondary summary{cursor:pointer;min-height:44px;color:var(--muted-strong);padding:.75rem}.task-action-secondary[open]{padding-bottom:.5rem}.task-action-secondary button{margin:.25rem}.task-dialog-backdrop{z-index:150;background:#000000b3;justify-content:center;align-items:center;padding:1rem;display:flex;position:fixed;inset:0}.task-dialog{width:min(100%,560px);max-height:90dvh;overflow-y:auto}.task-dialog label{gap:.5rem;display:grid}.notification-group{border-bottom:1px solid var(--border);padding-bottom:.5rem;list-style:none}.notification-group>ul{margin:0;padding:0;list-style:none}@media (width<=900px){.today-layout{grid-template-columns:1fr}.today-events{grid-template-columns:1fr 1fr}.today-events h3{grid-column:1/-1}}@media (width<=600px){.today-metric{flex-direction:column;align-items:flex-start;gap:.25rem;padding:.75rem}.today-metric strong{font-size:1.6rem}.today-metric span{font-size:.8rem}.today-metrics{gap:.5rem}.task-form-columns,.today-events{grid-template-columns:1fr}}.offline-banner{background:var(--gold-soft);border:1px solid var(--border);color:var(--text);border-radius:12px;padding:.75rem 1rem}.chat-main{min-height:0}.chat-outbox{border-bottom:1px solid var(--border);max-height:35vh;padding:.75rem;overflow:auto}.chat-pending{border:1px solid var(--border);background:var(--surface);border-radius:12px;margin:.5rem 0;padding:.75rem}.chat-pending p{white-space:pre-wrap;margin:.3rem 0}.chat-pending [role=status]{color:var(--muted);font-size:.8rem}.chat-pending img,.chat-pending video{max-width:100%;max-height:140px;display:block}.chat-pending audio{max-width:100%;display:block}.chat-pending button{color:var(--text);background:var(--bg-soft);border:1px solid var(--border);margin:.3rem .5rem 0 0;padding:.3rem .6rem}.chat-thread{flex:1;min-height:0}.chat-outbox{flex:0 auto;max-height:26vh}.chat-thread-head,.chat-composer{flex-shrink:0}.chat-file-save{flex-basis:100%;font-size:.85rem}.chat-shell:has(.chat-reconnect-banner){padding-top:28px}.task-maintenance{width:min(620px,100vw - 24px);max-height:calc(100dvh - 40px);overflow:auto}.task-maintenance .stack-form{gap:14px;display:grid}.task-maintenance label,.checklist-add label,.checklist-edit label{gap:5px;display:grid}.task-maintenance-actions,.feed-edit-actions{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.task-maintenance .form-actions,.feed-item .form-actions{flex-wrap:wrap;gap:8px;margin-top:8px;display:flex}.task-maintenance .form-actions button,.feed-item .form-actions button{width:auto}html[data-portal]{--bg-soft:var(--bg-elev-2);--surface:var(--bg-elev);--surface-strong:var(--bg-elev-2);--border:var(--line);--border-strong:var(--line-strong);--muted:var(--text-dim);--muted-strong:var(--text-muted);--gold:var(--accent-text);--gold-soft:var(--chip-bg);--green:var(--ok);--green-soft:var(--chip-bg);--red:var(--danger);--red-soft:var(--danger-tint);--blue:var(--accent-text);--blue-soft:var(--chip-bg);--radius-sm:var(--radius);--radius-md:var(--radius);--radius-lg:var(--radius);--tap:36px;font-family:var(--font);font-size:15px;line-height:1.5}html[data-portal] body{background:var(--page-glow),var(--bg)}html[data-portal] .app-shell{min-height:100dvh;display:block}html[data-portal] .workspace{width:100%;max-width:var(--container);margin:0 auto;padding:32px 24px 56px}html[data-portal] .topbar{align-items:center;gap:16px;margin-bottom:24px;padding:0}html[data-portal] .topbar h1{font:500 34px/1.1 var(--font-display);text-transform:uppercase;letter-spacing:.04em}html[data-portal] .topbar .profile-pill{display:none}html[data-portal] .topbar-actions{gap:12px}html[data-portal] .portal-offline-nav{border-bottom:1px solid var(--line);flex-wrap:wrap;gap:20px;margin-bottom:24px;padding-bottom:16px;display:flex}html[data-portal] .portal-offline-nav a{text-transform:uppercase;letter-spacing:.06em;font-size:12px;font-weight:600}html[data-portal] .portal-offline-nav a[aria-current=page]{color:var(--accent-text)}html[data-portal] .portal-task-tabs{border:1px solid var(--line-strong);border-radius:var(--radius);width:fit-content;margin-bottom:24px;display:flex}html[data-portal] .portal-task-tabs a{height:34px;color:var(--text-muted);text-transform:uppercase;letter-spacing:.06em;align-items:center;padding:0 14px;font-size:12px;font-weight:600;display:flex}html[data-portal] .portal-task-tabs a+a{border-left:1px solid var(--line-strong)}html[data-portal] .portal-task-tabs a:hover{background:var(--tint);color:var(--accent-text)}html[data-portal] .portal-task-tabs a[aria-current=page]{color:var(--accent-text);background:var(--bg-elev-3);box-shadow:inset 0 -2px var(--accent-text)}html[data-portal] :is(button,a):focus-visible{outline:2px solid var(--focus-ring);outline-offset:3px}html[data-portal] :is(.primary-button,.quick-create-link,.chat-send){background:var(--accent);color:var(--accent-ink);border:1px solid var(--accent-edge);box-shadow:var(--btn-primary-shadow)}html[data-portal] :is(.primary-button,.quick-create-link,.chat-send):hover:not(:disabled){background:var(--accent-hover);border-color:var(--accent-hover-edge);color:var(--accent-ink)}html[data-portal] :is(.primary-button,.quick-create-link,.ghost-button,.segmented-control button,.quick-filters button){text-transform:uppercase;letter-spacing:.06em;padding:0 16px;font-size:12px;font-weight:600}html[data-portal] .quick-create-link{display:inline-flex}html[data-portal] :is(.ghost-button,.icon-button,.nav-action){background:var(--bg-elev-2);border:1px solid var(--line-strong);color:var(--text-muted)}html[data-portal] :is(.ghost-button,.icon-button,.nav-action):hover{background:var(--bg-elev-3);color:var(--text);border-color:var(--field-border-hover)}html[data-portal] .nav-action[aria-current=page]{background:var(--chip-bg);color:var(--accent-text);border-color:var(--accent-text)}html[data-portal] .notification-dot{background:var(--danger);color:var(--bg-elev);font-weight:600}html[data-portal] :is(.panel,.task-list-card,.status-grid article){-webkit-backdrop-filter:none;backdrop-filter:none;padding:20px}html[data-portal] :is(.panel-heading h2,.chat-sidebar-head h2,.task-section>summary){text-transform:uppercase;letter-spacing:.08em;color:var(--text-dim);font-size:12px;font-weight:600}html[data-portal] .panel-heading{margin-bottom:16px}html[data-portal] .panel-heading h2 svg{width:16px;height:16px;color:var(--accent-text)}html[data-portal] :is(.badge,.status-chip,.priority-chip,.tasks-summary span,.today-metric,.offline-banner,.overdue-notice,.chat-pending){border-radius:var(--radius);font-weight:500}html[data-portal] :is(.badge-warning,.priority-high){color:var(--warn);background:var(--tint)}html[data-portal] .warning-text{color:var(--warn)}html[data-portal] :is(.task-meta-row a,.success-banner a){color:var(--accent-text)}html[data-portal] .deadline-request-card{border-color:var(--line-strong)}html[data-portal] .feed-type-chip{border-radius:var(--radius);color:var(--accent-text);font-weight:600}html[data-portal] :is(.status-in_progress,.status-in_review){color:var(--accent-text);background:var(--chip-bg)}html[data-portal] :is(.segmented-control button,.quick-filters button){background:var(--bg-elev);border-color:var(--line-strong);color:var(--text-muted)}html[data-portal] :is(.segmented-control button.active,.quick-filters button.active){color:var(--accent-text);border-color:var(--accent-text);background:var(--chip-bg)}html[data-portal] .quick-filters button.active.warning{color:var(--warn);border-color:var(--warn);background:var(--tint)}html[data-portal] .quick-filters button.active.danger{color:var(--danger);border-color:var(--danger);background:var(--danger-tint)}html[data-portal] .task-list-card.overdue{background:var(--bg-elev);border-color:var(--line);border-left-color:var(--danger)}html[data-portal] .task-list-card.burning{background:var(--bg-elev);border-color:var(--line);border-left-color:var(--warn)}html[data-portal] .task-list-card h3{font-size:17px;font-weight:600}html[data-portal] :is(.task-detail,.task-create-focused){width:100%;max-width:none;margin:0}html[data-portal] .task-detail-header h2{font-size:24px;font-weight:600;line-height:1.3}html[data-portal] .task-detail-grid{align-items:stretch}html[data-portal] .task-detail-meta{border-top:1px solid var(--line);grid-template-columns:repeat(3,minmax(0,1fr));margin-top:20px;padding-top:16px}html[data-portal] .checklist-add{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:12px}html[data-portal] .checklist-add>input,html[data-portal] .checklist-add>.muted,html[data-portal] .checklist-add-row{grid-column:1/-1}html[data-portal] .checklist-add textarea{height:64px;min-height:64px}html[data-portal] .checklist-add label{letter-spacing:.06em;text-transform:uppercase;font-size:12px;font-weight:600}html[data-portal] .task-filters{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start}html[data-portal] .task-filters label{text-transform:uppercase;letter-spacing:.06em;align-content:start;font-size:12px;font-weight:600}html[data-portal] .task-filters :is(input,select){height:40px}html[data-portal] .task-form-columns{align-items:start}html[data-portal] .task-form-columns>label{align-content:start}html[data-portal] .task-create-focused .task-view-controls{justify-content:flex-start}html[data-portal] .task-create-focused .task-view-controls .primary-button{width:auto}html[data-portal] :is(.task-action-button.danger,.danger-button){color:var(--danger);border-color:var(--danger)}html[data-portal] :is(input,select,textarea){background:var(--field-bg);border-color:var(--field-border);text-transform:none;letter-spacing:normal;min-height:40px;font-size:15px;font-weight:400}html[data-portal] select{background:var(--select-arrow) right 12px center/16px no-repeat,var(--field-bg)}html[data-portal] :is(input,select,textarea):hover{border-color:var(--field-border-hover)}html[data-portal] :is(input,select,textarea):focus{border-color:var(--field-focus);box-shadow:var(--field-focus-ring)}html[data-portal] input[type=checkbox]{accent-color:var(--control-accent)}html[data-portal] .task-form-fields>label,html[data-portal] .task-form-columns>label,html[data-portal] .stack-form>label{text-transform:uppercase;letter-spacing:.06em;font-size:12px;font-weight:600}html[data-portal] .task-form-fields label :is(small,.muted){text-transform:none;letter-spacing:normal;font-weight:400}html[data-portal] .today-metric strong{font-family:var(--font-display);font-weight:500}html[data-portal] .workspace.portal-messenger{padding-bottom:24px}html[data-portal] .chat-shell{height:calc(100dvh - 118px);min-height:360px;box-shadow:var(--shadow);grid-template-columns:300px minmax(0,1fr)}html[data-portal] .workspace:has(.portal-offline-nav) .chat-shell{height:calc(100dvh - 180px)}html[data-portal] .chat-sidebar{background:var(--bg-elev)}html[data-portal] .chat-sidebar-head{min-height:61px;padding:12px 16px}html[data-portal] .chat-thread-head{background:var(--bg-elev);min-height:61px}html[data-portal] .chat-thread-head h3{font-size:16px;font-weight:600}html[data-portal] .chat-new-button{border-radius:var(--radius)}html[data-portal] .chat-conversation{min-height:76px;padding:12px 16px}html[data-portal] .chat-conversation.active{background:var(--chip-bg);box-shadow:inset 3px 0 var(--accent)}html[data-portal] .chat-conversation-item.pinned{background:var(--tint)}html[data-portal] .chat-conversation-name{font-weight:600}html[data-portal] .chat-messages{background:var(--bg-elev-2);padding:20px}html[data-portal] .chat-bubble{background:var(--bg-elev);padding:10px 12px}html[data-portal] .chat-bubble-row.own .chat-bubble{background:var(--chip-bg);border-color:var(--line-strong)}html[data-portal] .chat-composer{background:var(--bg-elev);padding:12px 16px}html[data-portal] .chat-input{background:var(--field-bg);height:44px;min-height:44px;max-height:140px}html[data-portal] .chat-send{border-radius:var(--radius);width:44px;height:44px}html[data-portal] .chat-icon-btn{min-width:40px;min-height:44px}html[data-portal] :is(.chat-unread-badge,.chat-select-check.on){background:var(--accent);color:var(--accent-ink)}html[data-portal] .chat-voice-btn{background:var(--chip-bg);color:var(--accent-text)}html[data-portal] :is(.chat-bubble.mentioned,.chat-reaction.mine,.chat-search-scope.active,.chat-ai-action.active){border-color:var(--accent-text)}html[data-portal] .chat-read{color:var(--accent-text)}html[data-portal] :is(.chat-modal,.chat-msg-menu,.chat-mention-pop){box-shadow:var(--shadow-pop)}@media (width<=720px){html[data-portal]{--tap:44px}html[data-portal] .workspace{padding:24px 16px 32px}html[data-portal] .topbar h1{font-size:28px}html[data-portal] .topbar-actions{gap:8px}html[data-portal] .quick-create-link{padding:0 10px;font-size:11px}html[data-portal] .chat-shell{grid-template-columns:1fr;height:calc(100dvh - 116px);min-height:320px}html[data-portal] .chat-messages{padding:12px}html[data-portal] .chat-composer{gap:4px;padding:10px}html[data-portal] .chat-bubble{max-width:88%}html[data-portal] :is(.panel,.task-list-card){padding:16px}html[data-portal] .task-filters{grid-template-columns:repeat(2,minmax(0,1fr))}html[data-portal] .task-detail-meta,html[data-portal] .checklist-add{grid-template-columns:1fr}}@media (width<=460px){html[data-portal] .task-filters{grid-template-columns:1fr}}:is(.chat-shell,.chat-overlay-root).chat-ui{--chat-menu-radius:12px;--chat-read:#53bdeb;--chat-unread:#25d366;--chat-on-unread:#071a11;--chat-input-min:44px;--chat-input-max:140px;--chat-background:#0b141a;--chat-panel:#111b21;--chat-incoming:#202c33;--chat-outgoing:#005c4b;--chat-text:#e9edef;--chat-muted:#a6b4bc;--chat-accent:#25d366;--chat-input:#2a3942;--chat-on-accent:#071a11;--chat-list:#111b21;--chat-list-selected:#2a3942;--chat-list-hover:#202c33;--chat-divider:#2a3942}html[data-theme=light] :is(.chat-shell,.chat-overlay-root).chat-ui{--chat-read:#0079a8;--chat-background:#efeae2;--chat-panel:#f0f2f5;--chat-incoming:#fff;--chat-outgoing:#d9fdd3;--chat-text:#111b21;--chat-muted:#52656f;--chat-accent:#008069;--chat-input:#fff;--chat-on-accent:#fff;--chat-list:#fff;--chat-list-selected:#f0f2f5;--chat-list-hover:#f5f6f6;--chat-divider:#e9edef}.chat-overlay-root.chat-ui{z-index:1200;pointer-events:none;position:fixed;inset:0}.chat-overlay-root.chat-ui .chat-floating-menu{box-sizing:border-box;border-radius:var(--chat-menu-radius);overscroll-behavior:contain;pointer-events:auto;width:max-content;min-width:min(220px,100vw - 16px);position:fixed;bottom:auto;right:auto;overflow:auto}.chat-overlay-root.chat-ui .chat-floating-menu button{white-space:normal;flex-shrink:0;min-height:44px}.chat-overlay-root.chat-ui .chat-react-row{flex-wrap:wrap;flex-shrink:0}.chat-shell.chat-ui .chat-input{min-width:0;min-height:var(--chat-input-min);max-height:var(--chat-input-max);box-sizing:border-box;background:var(--chat-input);color:var(--chat-text);border:1px solid #0000;border-radius:22px;padding:10px 16px;font-size:16px}.chat-shell.chat-ui .chat-input::placeholder{color:var(--chat-muted)}.chat-shell.chat-ui .chat-send,.chat-shell.chat-ui .chat-send:hover:not(:disabled){width:44px;min-width:44px;height:44px;box-shadow:none;background:var(--chat-accent);color:var(--chat-on-accent);border:0;border-radius:50%}.chat-shell.chat-ui .chat-thread-head,.chat-shell.chat-ui .chat-composer{background:var(--chat-panel);color:var(--chat-text);border:0}.chat-shell.chat-ui .chat-thread-peer,.chat-shell.chat-ui .chat-thread-head :is(h3,.chat-icon-btn,.chat-back),.chat-shell.chat-ui .chat-composer .chat-icon-btn{color:var(--chat-text)}.chat-shell.chat-ui .chat-thread-status{color:var(--chat-muted)}.chat-shell.chat-ui .chat-thread-head .chat-avatar{width:38px;height:38px}.chat-shell.chat-ui .chat-messages{background:var(--chat-background);gap:0;padding:12px 18px}.chat-shell.chat-ui .chat-bubble-row{flex-shrink:0;margin-top:2px;padding:0 7px}.chat-shell.chat-ui .chat-bubble-row.group-start{margin-top:10px}.chat-shell.chat-ui .chat-bubble{background:var(--chat-incoming);max-width:min(82%,560px);color:var(--chat-text);border:0;border-radius:9px;gap:2px;padding:5px 9px;position:relative}.chat-shell.chat-ui .chat-bubble-row.own .chat-bubble{background:var(--chat-outgoing)}.chat-shell.chat-ui .group-start.peer .chat-bubble{border-top-left-radius:0}.chat-shell.chat-ui .group-start.own .chat-bubble{border-top-right-radius:0}.chat-shell.chat-ui .group-start .chat-bubble:before{content:"";width:8px;height:12px;position:absolute;top:0}.chat-shell.chat-ui .group-start.peer .chat-bubble:before{background:var(--chat-incoming);clip-path:polygon(0 0,100% 0,100% 100%,75% 55%);left:-7px}.chat-shell.chat-ui .group-start.own .chat-bubble:before{background:var(--chat-outgoing);clip-path:polygon(0 0,100% 0,25% 55%,0 100%);right:-7px}.chat-shell.chat-ui .chat-text-content{min-width:0;display:flow-root}.chat-shell.chat-ui .chat-bubble-text{overflow-wrap:anywhere;font-size:16px;line-height:23px}.chat-shell.chat-ui .chat-bubble-meta{color:var(--chat-muted);gap:4px;font-size:11px;line-height:18px}.chat-shell.chat-ui .chat-text-content .chat-bubble-meta{float:right;margin-top:5px;margin-left:8px;display:inline-flex}.chat-shell.chat-ui .chat-bubble.mentioned{box-shadow:inset 3px 0 var(--chat-accent)}.chat-shell.chat-ui .chat-bubble.failed{box-shadow:inset 0 0 0 1px var(--red)}.chat-shell.chat-ui .chat-quote-author{color:var(--chat-accent)}.chat-shell.chat-ui .chat-bubble-sender{color:var(--chat-author-dark);font-size:13px;font-weight:600}html[data-theme=light] .chat-shell.chat-ui .chat-bubble-sender{color:var(--chat-author-light)}.chat-shell.chat-ui .chat-quote{border-color:var(--chat-accent);background:#00000012}.chat-shell.chat-ui :is(.chat-quote-text,.chat-forwarded,.chat-revoked,.chat-edited-mark){color:var(--chat-muted)}.chat-shell.chat-ui .chat-day span{color:var(--chat-muted);background:var(--chat-incoming)}.chat-shell.chat-ui .chat-read-count{min-width:24px;height:18px;min-height:18px;color:var(--chat-muted);padding:0;line-height:18px}.chat-shell.chat-ui .chat-sidebar{background:var(--chat-list);border-color:var(--chat-divider);min-width:0}.chat-shell.chat-ui .chat-sidebar-head{border:0;min-height:64px;padding:10px 16px}.chat-shell.chat-ui .chat-sidebar-head h2{letter-spacing:0;text-transform:none;color:var(--chat-text);font-size:24px;font-weight:700;line-height:32px}.chat-shell.chat-ui .chat-sidebar-search{background:var(--chat-panel);color:var(--chat-muted);border:0;border-radius:20px;margin:0 12px 8px;padding:8px 12px}.chat-shell.chat-ui .chat-sidebar-search input{color:var(--chat-text)}.chat-shell.chat-ui .chat-new-button{width:40px;height:40px;color:var(--chat-accent);box-shadow:none;background:0 0;border:0}.chat-shell.chat-ui .chat-conversation-item{background:var(--chat-list)}.chat-shell.chat-ui .chat-conversation-item:hover{background:var(--chat-list-hover)}.chat-shell.chat-ui .chat-conversation-item.active{background:var(--chat-list-selected)}.chat-shell.chat-ui .chat-conversation-item .chat-conversation,.chat-shell.chat-ui .chat-conversation-item .chat-conversation:hover,.chat-shell.chat-ui .chat-conversation-item .chat-conversation.active{min-height:78px;box-shadow:none;color:var(--chat-text);background:0 0;border:0;border-radius:0;gap:12px;padding:10px 4px 10px 16px}.chat-shell.chat-ui .chat-conversation-item:after{content:"";background:var(--chat-divider);pointer-events:none;height:1px;position:absolute;bottom:0;left:80px;right:0}.chat-shell.chat-ui .chat-conversation .chat-avatar{flex:0 0 52px;width:52px;height:52px;font-size:18px}.chat-shell.chat-ui .chat-conversation-body{gap:4px}.chat-shell.chat-ui .chat-conversation-name{min-width:0;font-size:16px;font-weight:600;line-height:21px}.chat-shell.chat-ui .chat-conversation-preview{color:var(--chat-muted);font-size:14px;line-height:20px}.chat-shell.chat-ui .chat-conversation-time{color:var(--chat-muted);font-size:12px;line-height:16px}.chat-shell.chat-ui .chat-conversation-item.unread .chat-conversation-time,.chat-shell.chat-ui .chat-conversation-preview.typing{color:var(--chat-accent)}.chat-shell.chat-ui .chat-unread-badge{box-sizing:border-box;background:var(--chat-accent);min-width:20px;min-height:20px;color:var(--chat-on-accent);border-radius:12px;padding:1px 5px;font-size:11px;line-height:18px}.chat-shell.chat-ui .chat-mark{color:var(--chat-muted)}.chat-shell.chat-ui .chat-conversation:focus-visible{outline:2px solid var(--chat-accent);outline-offset:-3px}.chat-shell.chat-ui .chat-read{color:var(--chat-read)}.chat-shell.chat-ui .chat-thread-peer{min-width:0;overflow:hidden}.chat-shell.chat-ui .chat-thread-title h3{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.chat-shell.chat-ui .chat-thread-head>button:not(.chat-thread-peer),.chat-shell.chat-ui .chat-thread-peer>.chat-avatar{flex-shrink:0}.chat-shell.chat-ui .chat-thread-status{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.chat-shell.chat-ui .chat-conv-actions{flex:0 0 32px;align-items:center;display:flex;position:static}.chat-shell.chat-ui .chat-conversation-item .chat-conversation{min-width:0;padding-right:4px}.chat-shell.chat-ui .chat-conv-more{min-width:28px;min-height:36px}.chat-shell.chat-ui .chat-conversation-item:focus-within .chat-conv-more,.chat-shell.chat-ui .chat-group-member .chat-msg-more,.chat-shell.chat-ui .chat-msg-more[aria-expanded=true],.chat-shell.chat-ui .chat-conv-more[aria-expanded=true]{opacity:1}@media (hover:none),(pointer:coarse){.chat-shell.chat-ui :is(.chat-msg-more,.chat-conv-more){opacity:1;min-width:32px;min-height:44px}}.chat-shell.chat-ui .chat-voice{min-width:min(220px,100%);max-width:100%;display:flex}.chat-shell.chat-ui .chat-voice-btn{width:40px;min-width:40px;height:40px;min-height:40px}.chat-shell.chat-ui .chat-voice-details{flex-direction:column;flex:1;gap:5px;min-width:0;display:flex}.chat-shell.chat-ui .chat-voice-bar{flex:none;width:100%;height:4px;display:block;overflow:hidden}.chat-shell.chat-ui .chat-voice-progress{background:var(--text);border-radius:inherit;height:100%;display:block}.chat-shell.chat-ui .chat-voice-time{font-variant-numeric:tabular-nums;line-height:1.2}.chat-shell.chat-ui :is(.chat-voice-status,.chat-voice-error){font-size:12px;line-height:1.3}.chat-shell.chat-ui .chat-voice-error{color:var(--red)}.chat-shell.chat-ui .chat-voice-loading{animation:1s linear infinite chat-ui-spin}@keyframes chat-ui-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.chat-shell.chat-ui .chat-voice-loading{animation:none}}.chat-shell.chat-ui .chat-media-file{box-sizing:border-box;background:var(--bg-soft);border:1px solid var(--border);text-align:left;width:260px;min-width:min(220px,100%);max-width:100%;min-height:68px;font:inherit;border-radius:8px;padding:6px}.chat-shell.chat-ui .chat-file-meta{flex:1;min-width:0}.chat-shell.chat-ui .chat-media-file>svg{flex-shrink:0}.chat-shell.chat-ui .chat-file-status{color:var(--muted);font-size:12px;line-height:16px}.chat-shell.chat-ui .chat-file-status[role=alert]{color:var(--red)}.chat-shell.chat-ui .chat-group-title{flex:1;align-items:flex-start;min-width:0}.chat-shell.chat-ui .chat-group-title h4{overflow-wrap:anywhere}.chat-shell.chat-ui .chat-group-image{margin:0}.chat-shell.chat-ui .chat-group-image.editable:after{bottom:0;right:0}.chat-shell.chat-ui .chat-text-action{width:auto;max-width:100%;min-height:44px;color:var(--text);white-space:normal;cursor:pointer;background:0 0;border:0;border-radius:8px;justify-content:flex-start;align-items:center;gap:6px;padding:4px 8px;display:inline-flex}.chat-shell.chat-ui .chat-text-action:hover{background:var(--bg-soft)}@media (width<=720px){.chat-shell.chat-ui .chat-messages{padding:10px 8px}.chat-shell.chat-ui .chat-bubble{max-width:86%}}.chat-shell.chat-ui .chat-voice{align-items:flex-start;gap:8px;width:260px;min-width:0;max-width:100%;padding:5px 0}.chat-shell.chat-ui .chat-voice-btn{width:44px;height:44px;color:var(--chat-text);background:0 0;border:0;border-radius:50%}.chat-shell.chat-ui .chat-voice-btn svg{width:27px;height:27px}.chat-shell.chat-ui .chat-voice-details{padding:11px 6px 0 0}.chat-shell.chat-ui .chat-voice-bar{background:var(--chat-muted);border-radius:3px;align-self:stretch;width:auto;height:5px;margin:0 5px 10px;overflow:visible}.chat-shell.chat-ui .chat-voice-progress{background:var(--chat-read);border-radius:3px;position:relative}.chat-shell.chat-ui .chat-voice-progress:after{content:"";background:var(--chat-read);border-radius:50%;width:11px;height:11px;position:absolute;top:-3px;right:-5px}.chat-shell.chat-ui .chat-voice-time{font-variant-numeric:tabular-nums;color:var(--chat-muted);font-size:12px;line-height:18px}.chat-shell.chat-ui :is(.chat-voice-status,.chat-recording-info){color:var(--chat-muted)}.chat-shell.chat-ui .chat-composer{padding:8px max(8px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left))}.chat-shell.chat-ui .chat-composer:has(.chat-capture-notice){flex-wrap:wrap}.chat-shell.chat-ui .chat-capture-notice{color:var(--chat-muted);flex:0 0 100%;font-size:13px}.chat-shell.chat-ui .chat-capture-notice[role=alert]{color:var(--red)}.chat-shell.chat-ui .chat-recording{align-items:center}.chat-shell.chat-ui .chat-recording-info{flex-direction:column;flex:1;align-items:flex-start;gap:3px;min-width:0;display:flex}.chat-shell.chat-ui .chat-recording-timer{color:var(--chat-text);font-variant-numeric:tabular-nums;align-items:center;gap:8px;font-size:16px;display:flex}.chat-shell.chat-ui .chat-recording-label{font-size:12px}.chat-shell.chat-ui .chat-composer .chat-icon-btn.danger{color:var(--red)}.chat-shell.chat-ui .chat-visual-bubble{padding:3px}.chat-shell.chat-ui .chat-visual-frame{background:#111b21;border-radius:7px;width:330px;max-width:100%;max-height:410px;position:relative;overflow:hidden}.chat-shell.chat-ui .chat-visual-frame :is(.chat-media-image,.chat-media-video){background:0 0;border:0;border-radius:0;width:100%;max-width:none;height:100%;max-height:none;margin:0;padding:0;display:block}.chat-shell.chat-ui .chat-media-image{cursor:pointer}.chat-shell.chat-ui .chat-media-image img{object-fit:contain;border-radius:0;width:100%;max-width:none;height:100%;max-height:none;display:block}.chat-shell.chat-ui .chat-media-video{object-fit:contain}.chat-shell.chat-ui .chat-visual-frame .chat-media-load{white-space:normal;color:#e9edef;width:100%;height:100%;min-height:80px;font:inherit;cursor:pointer;background:0 0;border:0;padding:24px}.chat-shell.chat-ui .chat-media-meta{background:#000b;border-radius:8px;padding:1px 6px;position:absolute;bottom:4px;right:4px}.chat-shell.chat-ui .chat-media-meta :is(.chat-bubble-meta,.chat-read-count){color:#fff}.chat-shell.chat-ui .chat-media-meta .chat-read{color:#53bdeb}.chat-shell.chat-ui .chat-media-file{color:var(--chat-text);background:#00000012;border:0;padding:8px}.chat-shell.chat-ui .chat-file-name{white-space:normal;overflow-wrap:anywhere;-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box}.chat-shell.chat-ui :is(.chat-file-size,.chat-file-status){color:var(--chat-muted);overflow-wrap:anywhere}.chat-overlay-root.chat-ui .chat-image-viewer{box-sizing:border-box;width:100vw;max-width:none;height:100dvh;max-height:none;padding:max(64px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));color:#fff;pointer-events:auto;background:#0b141af5;border:0;margin:0;position:fixed;inset:0}.chat-overlay-root.chat-ui .chat-image-viewer[open]{justify-content:center;align-items:center;display:flex}.chat-overlay-root.chat-ui .chat-image-viewer::backdrop{background:#000b}.chat-overlay-root.chat-ui .chat-image-viewer img{object-fit:contain;width:100%;height:100%}.chat-overlay-root.chat-ui .chat-image-viewer button{top:max(8px, env(safe-area-inset-top));right:max(8px, env(safe-area-inset-right));color:#fff;cursor:pointer;background:#202c33;border:0;border-radius:50%;place-items:center;width:44px;height:44px;padding:0;display:grid;position:absolute}.chat-overlay-root.chat-ui .chat-image-viewer button:focus-visible{outline-offset:2px;outline:2px solid #25d366}.chat-shell.chat-ui .chat-pending-message{min-width:min(220px,82%)}.chat-shell.chat-ui .chat-pending-message small{color:var(--chat-muted);font-size:12px;line-height:18px}.chat-shell.chat-ui .chat-pending-state{color:var(--chat-muted);font-size:12px}.chat-shell.chat-ui .chat-pending-actions{flex-wrap:wrap;gap:0 12px;display:flex}.chat-shell.chat-ui .chat-pending-actions button{min-height:44px;color:var(--chat-accent);box-shadow:none;background:0 0;border:0;padding:6px 0;font-size:13px}.chat-shell.chat-ui .chat-pending-actions button:disabled{opacity:.5}.chat-shell.chat-ui .chat-pending-image,.chat-shell.chat-ui .chat-pending-video{object-fit:contain;border-radius:6px;width:auto;max-width:100%;max-height:410px;display:block}.chat-shell.chat-ui .chat-pending-message .chat-file-card{color:var(--chat-text);overflow-wrap:anywhere;align-items:center;gap:12px;padding:12px 4px;display:flex}.chat-shell.chat-ui .chat-pending-message .chat-file-card svg{flex-shrink:0}.chat-shell.chat-ui .chat-thread-empty{text-align:center;max-width:320px;color:var(--chat-muted);align-self:center;margin:auto;padding:24px}.chat-shell.chat-ui .chat-search-panel,.chat-shell.chat-ui .chat-modal{background:var(--chat-panel);color:var(--chat-text)}.chat-shell.chat-ui .chat-search-panel :is(input,button),.chat-shell.chat-ui .chat-modal :is(input,button){color:var(--chat-text)}.chat-shell.chat-ui .chat-search-panel :is(.muted,.chat-search-hit-time),.chat-shell.chat-ui .chat-modal :is(.muted,.chat-contact-login){color:var(--chat-muted)}.chat-shell.chat-ui .chat-search-input,.chat-shell.chat-ui .chat-modal .chat-search{background:var(--chat-input);color:var(--chat-text);border-color:var(--chat-divider)}.chat-shell.chat-ui .chat-modal .chat-text-action{color:var(--chat-accent);min-height:44px}.chat-shell.chat-ui .chat-group-head{text-align:center;border-color:var(--chat-divider);flex-direction:column;padding:24px 16px}.chat-shell.chat-ui .chat-group-title{overflow-wrap:anywhere;min-width:0}.chat-shell.chat-ui .chat-group-title h4{font-size:22px}.chat-shell.chat-ui .chat-group-head .chat-avatar{width:80px;height:80px;font-size:28px}.chat-shell.chat-ui .chat-group-image{width:80px;height:80px}.chat-shell.chat-ui .chat-group-head .chat-group-image{border:0;padding:0;overflow:visible}.chat-shell.chat-ui .chat-group-head .chat-group-image:not(.editable){cursor:default}.chat-shell.chat-ui .chat-group-head .chat-group-image.editable:after{background:var(--chat-panel);border:2px solid var(--chat-divider);width:22px;height:22px;color:var(--chat-text)}.chat-shell.chat-ui .chat-group-member-main{cursor:default;min-width:0}.chat-shell.chat-ui .chat-group-member-main>span{overflow-wrap:anywhere;min-width:0}.chat-shell.chat-ui .chat-group-member-main:hover{background:0 0}.chat-shell.chat-ui .chat-group-member{padding:4px 0}.chat-shell.chat-ui .chat-group-rename{width:100%;min-width:0}.chat-shell.chat-ui .chat-group-rename input{min-width:0}.chat-shell.chat-ui .chat-member-search{flex-shrink:0;width:calc(100% - 32px)}.chat-shell.chat-ui .chat-modal-head{border-color:var(--chat-divider);flex-shrink:0}.chat-shell.chat-ui .chat-modal .danger-button{color:var(--red);min-height:44px}.chat-shell.chat-ui .chat-modal-backdrop{padding:max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left))}.chat-shell.chat-ui .chat-group-panel{border-radius:14px}.chat-shell.chat-ui .chat-group-title .chat-text-action{align-self:center}.chat-shell.chat-ui :is(button,input):focus-visible{outline:2px solid var(--chat-accent);outline-offset:2px}.chat-shell.chat-ui .chat-main{position:relative}.chat-shell.chat-ui .chat-main:has(>.chat-group-panel)>.chat-thread{visibility:hidden}.chat-shell.chat-ui .chat-main>.chat-group-panel{z-index:5;box-sizing:border-box;background:var(--chat-list);width:100%;height:100%;max-height:none;box-shadow:none;border:0;border-radius:0;position:absolute;inset:0}.chat-shell.chat-ui .chat-group-panel>.chat-modal-head{box-sizing:border-box;border:0;justify-content:flex-start;gap:12px;min-height:64px;padding:8px 16px}.chat-shell.chat-ui .chat-group-panel>.chat-modal-head h3{text-transform:none;letter-spacing:0;color:var(--chat-text);font-size:16px;font-weight:500;line-height:22px}.chat-shell.chat-ui .chat-group-panel>.chat-modal-head button{width:40px;height:44px;box-shadow:none;background:0 0;border:0;border-radius:50%;flex-shrink:0}.chat-shell.chat-ui .chat-group-scroll{overscroll-behavior:contain;flex:1;min-height:0;overflow:auto}.chat-shell.chat-ui .chat-group-panel .chat-group-head{gap:12px;margin:0 16px;padding:24px 20px}.chat-shell.chat-ui .chat-group-panel .chat-group-title{align-items:center}.chat-shell.chat-ui .chat-group-panel .chat-group-title h4{font-size:24px;font-weight:500;line-height:30px}.chat-shell.chat-ui .chat-group-panel .chat-group-head :is(.chat-group-image,.chat-avatar){width:120px;height:120px}.chat-shell.chat-ui .chat-group-panel .chat-group-head .chat-avatar{font-size:36px}.chat-shell.chat-ui .chat-group-summary{color:var(--chat-muted);font-size:14px;line-height:20px}.chat-shell.chat-ui .chat-group-panel .chat-group-members-head{padding:12px 20px 4px}.chat-shell.chat-ui .chat-group-panel .chat-group-members{flex:none;margin:0;padding:0 12px;overflow:visible}.chat-shell.chat-ui .chat-group-panel .chat-group-member{min-height:64px}.chat-shell.chat-ui .chat-group-panel .chat-group-member .chat-avatar{flex-shrink:0;width:48px;height:48px}.chat-shell.chat-ui .chat-group-panel .chat-modal-actions{border-top:1px solid var(--chat-divider);justify-content:flex-start;margin:16px 16px 0;padding:16px 20px}.chat-shell.chat-ui .chat-group-panel .danger-button{box-shadow:none;text-align:left;background:0 0;border:0;padding:8px 0}.chat-shell.chat-ui .chat-video-card{cursor:pointer;color:#fff;background:0 0;border:0;border-radius:0;width:100%;height:100%;padding:0;display:block;position:relative}.chat-shell.chat-ui .chat-video-preview{object-fit:contain;pointer-events:none;width:100%;height:100%;display:block}.chat-shell.chat-ui .chat-video-card:after{content:"";pointer-events:none;background:linear-gradient(#0000,#0009);position:absolute;inset:65% 0 0}.chat-shell.chat-ui .chat-video-play{background:#0006;border-radius:50%;place-items:center;width:50px;height:50px;display:grid;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.chat-shell.chat-ui .chat-video-play svg{margin-left:3px}.chat-shell.chat-ui .chat-video-duration{color:#fff;font-variant-numeric:tabular-nums;pointer-events:none;align-items:center;gap:4px;font-size:12px;line-height:20px;display:flex;position:absolute;bottom:5px;left:8px}.chat-shell.chat-ui .chat-video-card~.chat-media-meta{background:0 0}.chat-shell.chat-ui .chat-video-card:focus-visible{outline-offset:-3px}.chat-overlay-root.chat-ui .chat-video-viewer{box-sizing:border-box;width:100vw;max-width:none;height:100dvh;max-height:none;padding:max(64px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));color:#fff;pointer-events:auto;background:#0b141af5;border:0;margin:0;position:fixed;inset:0}.chat-overlay-root.chat-ui .chat-video-viewer[open]{flex-direction:column;justify-content:center;align-items:center;gap:12px;display:flex}.chat-overlay-root.chat-ui .chat-video-viewer::backdrop{background:#000b}.chat-overlay-root.chat-ui .chat-video-viewer video{object-fit:contain;width:100%;height:100%;min-height:0;display:block}.chat-overlay-root.chat-ui .chat-video-close{top:max(8px,env(safe-area-inset-top));right:max(8px,env(safe-area-inset-right));color:#fff;cursor:pointer;background:#202c33;border:0;border-radius:50%;place-items:center;width:44px;height:44px;padding:0;display:grid;position:absolute}.chat-overlay-root.chat-ui .chat-video-viewer :is(button,video):focus-visible{outline-offset:2px;outline:2px solid #25d366}.chat-overlay-root.chat-ui .chat-video-error{text-align:center;flex-shrink:0}.chat-overlay-root.chat-ui .chat-video-start{color:#fff;cursor:pointer;background:#111b21e6;border:0;border-radius:28px;align-items:center;gap:8px;max-width:calc(100% - 32px);min-height:48px;padding:12px 16px;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.chat-overlay-root.chat-ui .chat-video-error button{color:#fff;cursor:pointer;background:#202c33;border:1px solid #a6b4bc;border-radius:8px;min-height:44px;margin:4px auto 0;padding:8px 16px;display:block}.chat-shell.chat-ui .chat-message-content{flex-direction:column;align-items:flex-start;min-width:0;max-width:min(82%,560px);display:flex}.chat-shell.chat-ui .own>.chat-message-content{align-items:flex-end}.chat-shell.chat-ui .chat-message-content>.chat-bubble{box-sizing:border-box;max-width:100%}.chat-shell.chat-ui .chat-reactions{align-self:flex-start;gap:3px;max-width:100%;margin:-2px 4px 3px;position:relative}.chat-shell.chat-ui .own .chat-reactions{justify-content:flex-end;align-self:flex-end}.chat-shell.chat-ui .chat-reaction{border:2px solid var(--chat-background);background:var(--chat-incoming);min-height:26px;color:var(--chat-text);border-radius:16px;padding:2px 7px;font-size:15px;line-height:18px;box-shadow:0 1px 2px #0002}.chat-shell.chat-ui .chat-reaction.mine{background:var(--chat-incoming);border-color:var(--chat-background)}.chat-shell.chat-ui .chat-reaction:hover{background:var(--chat-input)}.chat-shell.chat-ui .chat-reaction .chat-reaction-count{color:var(--chat-muted);font-size:12px}.chat-overlay-root.chat-ui .chat-message-menu{min-width:min(284px,100vw - 16px);box-shadow:none;background:0 0;border:0;border-radius:0;align-items:flex-end;gap:6px;padding:2px}.chat-overlay-root.chat-ui .chat-quick-reactions{box-sizing:border-box;border:1px solid var(--chat-divider);background:var(--chat-panel);border-radius:28px;flex-wrap:wrap;flex-shrink:0;justify-content:center;gap:2px;max-width:282px;padding:4px;display:flex;box-shadow:0 2px 8px #0002}.chat-overlay-root.chat-ui .chat-quick-reactions .chat-react-btn{min-width:40px;color:var(--chat-text);border-radius:50%;justify-content:center;padding:4px;font-size:24px}.chat-overlay-root.chat-ui .chat-message-menu-actions{box-sizing:border-box;border:1px solid var(--chat-divider);background:var(--chat-panel);border-radius:12px;flex-direction:column;flex-shrink:0;width:224px;max-width:100%;padding:4px;display:flex;box-shadow:0 2px 8px #0002}.chat-overlay-root.chat-ui .chat-message-menu-actions button{color:var(--chat-text);text-align:left;justify-content:flex-start;font-size:14px;line-height:20px}.chat-overlay-root.chat-ui .chat-message-menu button:hover{background:var(--chat-input)}.chat-overlay-root.chat-ui .chat-message-menu button:focus-visible{outline:2px solid var(--chat-accent);outline-offset:-2px}@media (width<=720px){.chat-shell.chat-ui .chat-message-content{max-width:86%}}@media (hover:none),(pointer:coarse){.chat-shell.chat-ui .chat-reaction{min-width:32px;min-height:32px}}.collaboration-app[data-inline]{background:0 0;min-width:0;min-height:0}.collaboration-app.work-toolbar{align-items:center;gap:6px;display:flex;background:0 0!important;min-width:0!important;min-height:0!important}.collaboration-app.work-toolbar .icon-button{width:36px;height:36px;padding:0}.work-bell{position:relative}.work-bell .work-count{position:absolute;top:-6px;right:-5px}.work-count{min-width:19px;height:19px;font:600 10px var(--font);background:var(--accent);color:var(--accent-ink);border-radius:3px;justify-content:center;align-items:center;padding:0 4px;display:inline-flex}.work-count--muted{background:var(--bg-elev-3);color:var(--text-muted)}.work-home-actions{justify-content:flex-end;gap:10px;margin-bottom:20px;display:flex}.work-home-grid{grid-template-columns:minmax(0,1.5fr) minmax(300px,1fr);align-items:start;gap:24px;display:grid}.work-home-grid--single{grid-template-columns:minmax(0,1fr)}.work-section-head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;display:flex}.work-section-head h2,.work-section-head h3{font:600 12px var(--font);text-transform:uppercase;letter-spacing:.06em;margin:0}.work-section-head>a{color:var(--accent-text);font-size:12px}.work-section-head select{width:auto;min-height:34px;padding:4px 24px 4px 8px;font-size:12px}.work-metrics{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-bottom:16px;display:grid}.work-metric{background:var(--bg-elev);border:1px solid var(--line);flex-direction:column;gap:8px;padding:14px 10px;display:flex}.work-metric strong{font:500 30px var(--font-display);color:var(--accent-text)}.work-metric span{color:var(--text-muted);font-size:11px;line-height:1.4}.work-metric:hover{border-color:var(--accent)}.work-metric--alert strong{color:var(--danger)}.work-card{background:var(--bg-elev);border:1px solid var(--line);border-radius:var(--radius);padding:20px}.work-card a:hover{color:var(--accent-text)}.work-row{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:15px 0;display:flex}.work-row>div{min-width:0}.work-row strong{overflow-wrap:anywhere;font-size:14px;display:block}.work-row span,.work-row small{color:var(--text-dim);margin-top:5px;font-size:11px;display:block}.work-row small{white-space:nowrap}.work-pagination{justify-content:space-between;align-items:center;gap:8px;margin-top:16px;font-size:12px;display:flex}.work-empty{color:var(--text-dim);padding:25px 0;font-size:13px}.work-chat-filters{flex-wrap:wrap;gap:4px;margin-bottom:14px;display:flex}.work-chat-filters button{min-height:28px;color:var(--text-dim);border:1px solid var(--line);background:0 0;padding:4px 7px;font-size:10px}.work-chat-filters button[aria-pressed=true]{background:var(--chip-bg);color:var(--accent-text);border-color:var(--accent-text)}.work-conversation{text-align:left;border:0;border-top:1px solid var(--line);width:100%;color:var(--text);background:0 0;align-items:center;gap:10px;padding:14px 0;display:flex}.work-conversation:hover{background:var(--bg-elev-2)}.work-initial{background:var(--chip-bg);width:32px;height:32px;color:var(--accent-text);flex-shrink:0;justify-content:center;align-items:center;font-weight:600;display:flex}.work-conversation-body{flex:1;min-width:0}.work-conversation-body strong{align-items:center;gap:4px;font-size:13px;display:flex}.work-conversation-body>span{white-space:nowrap;text-overflow:ellipsis;color:var(--text-dim);margin-top:5px;font-size:12px;display:block;overflow:hidden}.work-conversation-meta{flex-direction:column;align-items:flex-end;gap:5px;display:flex}.work-conversation-meta time{color:var(--text-dim);font-size:10px}.work-page-heading h1{font:500 34px var(--font-display);text-transform:uppercase;margin:0}.work-page-heading{margin-bottom:24px}.work-full-chat .chat-shell{height:calc(100dvh - 210px);min-height:450px}.work-chat-drawer{z-index:90;background:var(--bg-elev);border:1px solid var(--line-strong);flex-direction:column;width:min(740px,100vw - 40px);height:min(660px,100dvh - 100px);display:flex;position:fixed;bottom:20px;right:20px;box-shadow:0 14px 55px #0004}.work-chat-drawer[hidden]{display:none}.work-chat-drawer .chat-shell{flex:1;grid-template-columns:230px 1fr;height:auto;min-height:0}.work-drawer-head{border-bottom:1px solid var(--line);align-items:center;gap:12px;padding:10px 16px;display:flex}.work-drawer-head strong{text-transform:uppercase;flex:1;font-size:12px}.work-drawer-head .icon-button{width:30px;height:30px}.work-chat-drawer .chat-sidebar-head{padding:10px}.work-chat-drawer .chat-sidebar-head h2{font-size:12px}.work-overlay{z-index:120;background:#0007;justify-content:center;align-items:flex-start;padding:90px 20px 20px;display:flex;position:fixed;inset:0}.work-dialog{background:var(--bg-elev);border:1px solid var(--line);width:760px;max-width:100%;max-height:calc(100dvh - 120px);padding:24px;overflow:auto}.work-dialog input{margin-top:10px}.work-dialog h3{letter-spacing:.05em;text-transform:uppercase;color:var(--text-dim);margin:24px 0 10px;font-size:12px}.work-search-hit{border-top:1px solid var(--line);flex-direction:column;gap:5px;padding:12px 0;font-size:14px;display:flex}.work-search-hit span{font-size:12px}.work-hint{color:var(--text-dim);font-size:11px}.collaboration-app.work-person{gap:10px;display:flex;background:0 0!important;min-width:0!important;min-height:0!important}@media (width<=1000px){.work-home-grid{grid-template-columns:minmax(0,1fr)}.work-metrics{grid-template-columns:repeat(5,minmax(0,1fr))}}@media (width<=600px){.work-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.work-metric:last-child{grid-column:span 2}.work-home-actions{flex-wrap:wrap;justify-content:flex-start}.work-row{align-items:flex-start}.work-row small{white-space:normal;max-width:70px}.work-chat-drawer{width:100%;height:auto;inset:64px 0 0}.work-chat-drawer .chat-shell{display:flex}.work-chat-drawer .chat-sidebar{width:100%}.work-chat-drawer .chat-shell.chat-has-active .chat-sidebar{display:none}.work-dialog{padding:16px}.work-overlay{padding:75px 10px 10px}.collaboration-app.work-toolbar .icon-button{width:32px;height:32px}.work-page-heading h1{font-size:27px}.work-card{padding:16px}.work-full-chat .chat-shell{min-height:400px}}.work-home-actions .primary-button,.work-person .primary-button{align-items:center;gap:6px;width:auto;display:inline-flex}.work-task-block,.work-chat-preview{min-width:0}
