.app-shell{--pp-ink:var(--text);--pp-secondary:var(--muted);--pp-link:var(--primary);--pp-card-bg:color-mix(in srgb, var(--surface) 94%, var(--primary-light));--pp-card-border:color-mix(in srgb, var(--primary) 12%, var(--border));--pp-pill-bg:color-mix(in srgb, var(--primary-light) 72%, var(--surface));--pp-hero-base:color-mix(in srgb, var(--primary) 13%, var(--surface));--pp-wave-blue:color-mix(in srgb, var(--primary) 45%, var(--surface));--pp-wave-light:color-mix(in srgb, var(--primary) 10%, var(--surface));--pp-avatar-ink:#fff}.app-shell.dark{--pp-ink:var(--text);--pp-card-bg:color-mix(in srgb, var(--surface) 95%, var(--primary));--pp-card-border:var(--border);--pp-pill-bg:var(--primary-light);--pp-hero-base:color-mix(in srgb, var(--primary) 17%, var(--surface));--pp-wave-blue:color-mix(in srgb, var(--primary) 35%, var(--surface));--pp-wave-light:color-mix(in srgb, var(--primary) 11%, var(--surface))}.app-shell .pp-page-heading-hidden{display:none}.app-shell .project-dashboard{gap:18px!important}.app-shell .pp-project-header{min-width:0}.app-shell .pp-project-heading-row{align-items:center;gap:16px;min-height:112px;padding:8px 0 14px;display:flex}.app-shell .pp-back,.app-shell .pp-project-menu-button{width:30px;height:36px;color:var(--pp-link);background:0 0;border:0;flex:none;place-items:center;padding:0;display:grid}.app-shell .pp-project-menu-button{color:var(--pp-ink)}.app-shell .pp-project-avatar{background:var(--primary);width:88px;height:88px;color:var(--pp-avatar-ink);border-radius:50%;flex:0 0 88px;place-items:center;font-size:42px;font-weight:600;display:grid}.app-shell .pp-project-title{flex:1;min-width:0}.app-shell .pp-project-title h1{text-overflow:ellipsis;white-space:nowrap;color:var(--pp-ink);margin:0 0 3px;font-size:clamp(27px,2.5vw,36px);font-weight:700;line-height:1.12;overflow:hidden}.app-shell .pp-project-title p{text-overflow:ellipsis;white-space:nowrap;color:var(--pp-secondary);margin:0;font-size:17px;overflow:hidden}.app-shell .pp-project-state,.app-shell .pp-status-value{align-items:center;gap:9px;display:inline-flex}.app-shell .pp-project-state{color:var(--pp-ink);flex:none;margin-left:auto;font-size:14px}.app-shell .pp-status-dot{background:var(--success);border-radius:50%;flex:none;width:13px;height:13px}.app-shell .pp-status-dot--attention{background:var(--warning)}.app-shell .pp-status-dot--risk{background:var(--danger)}.app-shell .pp-project-menu-wrap{margin-left:18px;position:relative}.app-shell .pp-menu-dismiss{z-index:40;position:fixed;inset:0}.app-shell .pp-project-menu{z-index:41;border:1px solid var(--pp-card-border);border-radius:var(--radius-sm);background:var(--surface);min-width:218px;box-shadow:var(--shadow);padding:5px;display:grid;position:absolute;top:calc(100% + 8px);right:0}.app-shell .pp-project-menu button{width:100%;color:var(--pp-ink);text-align:left;background:0 0;border:0;border-radius:7px;align-items:center;gap:8px;padding:10px 12px;font-size:14px;display:flex}.app-shell .pp-project-menu button:hover{background:var(--primary-light)}.app-shell .pp-project-tabs{border-bottom:1px solid var(--pp-card-border);scrollbar-width:thin;justify-content:space-between;gap:12px;min-width:0;display:flex;overflow-x:auto}.app-shell .pp-project-tabs button{min-height:50px;color:var(--pp-ink);white-space:nowrap;background:0 0;border:0;flex:none;padding:7px 14px 13px;font-size:15px;position:relative}.app-shell .pp-project-tabs button.active{color:var(--pp-link)}.app-shell .pp-project-tabs button.active:after{background:var(--pp-link);content:"";border-radius:3px 3px 0 0;height:3px;position:absolute;bottom:0;left:0;right:0}.app-shell .pp-project-tabs button:hover{color:var(--pp-link)}.app-shell .project-dashboard .tab-content{min-width:0}.app-shell .project-passport-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:18px;display:grid}.app-shell .pp-card,.app-shell .pp-hero-card{border:1px solid var(--pp-card-border);border-radius:var(--radius-md);background:var(--pp-card-bg);min-width:0;box-shadow:var(--shadow)}.app-shell .pp-card{padding:18px 20px 16px}.app-shell .pp-info-card,.app-shell .pp-activity-card{min-height:416px}.app-shell .pp-team-card,.app-shell .pp-hero-card{min-height:188px}.app-shell .pp-card-heading{justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:11px;display:flex}.app-shell .pp-card-heading h2{color:var(--pp-ink);margin:0;font-size:18px;font-weight:700}.app-shell .pp-text-action{color:var(--pp-link);white-space:nowrap;background:0 0;border:0;flex:none;padding:0;font-size:14px;font-weight:400}.app-shell .pp-text-action:not(.pp-text-action--static):hover{text-underline-offset:3px;text-decoration:underline}.app-shell .pp-facts{margin:0}.app-shell .pp-facts>div{border-bottom:1px solid var(--pp-card-border);grid-template-columns:minmax(124px,34%) minmax(0,1fr);align-items:center;gap:10px;min-height:42px;font-size:15px;display:grid}.app-shell .pp-facts dt{color:var(--pp-secondary)}.app-shell .pp-facts dd{overflow-wrap:anywhere;min-width:0;color:var(--pp-ink);margin:0}.app-shell .pp-socials{margin-top:18px}.app-shell .pp-socials h3{color:var(--pp-ink);margin:0 0 13px;font-size:16px}.app-shell .pp-social-list{flex-wrap:wrap;gap:12px;display:flex}.app-shell .pp-social-pill{border-radius:var(--radius-sm);background:var(--pp-pill-bg);min-width:165px;min-height:50px;color:var(--pp-link);justify-content:center;align-items:center;gap:10px;padding:8px 14px;font-size:15px;text-decoration:none;display:inline-flex}.app-shell .pp-social-pill--empty{color:var(--pp-secondary)}.app-shell .pp-social-pill small{font-size:11px}.app-shell .pp-social-pill:not(.pp-social-pill--empty):hover{background:var(--primary-light)}.app-shell .pp-activity-list{gap:9px;margin:0;padding:0;list-style:none;display:grid}.app-shell .pp-activity-item{align-items:center;gap:15px;min-width:0;min-height:59px;display:flex}.app-shell .pp-activity-item .ava{flex:none}.app-shell .pp-activity-copy{flex:1;gap:2px;min-width:0;display:grid}.app-shell .pp-activity-copy strong{color:var(--pp-ink);text-overflow:ellipsis;white-space:nowrap;font-size:14px;overflow:hidden}.app-shell .pp-activity-copy span{color:var(--pp-secondary);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.app-shell .pp-activity-item time{color:var(--pp-secondary);white-space:nowrap;flex:none;align-self:flex-start;margin-top:9px;font-size:12px}.app-shell .pp-activity-empty{min-height:300px;color:var(--pp-secondary);text-align:center;place-items:center;margin:0;font-size:14px;display:grid}.app-shell .pp-activity-end{color:var(--pp-secondary);margin:12px 0 0;font-size:12px}.app-shell .pp-team-list{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:14px;display:grid}.app-shell .pp-team-person{text-align:center;align-content:start;justify-items:center;gap:5px;min-width:0;display:grid}.app-shell .pp-team-person strong{max-width:100%;color:var(--pp-ink);text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:600;overflow:hidden}.app-shell .pp-team-person span:not(.ava){max-width:100%;color:var(--pp-secondary);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.app-shell .pp-team-empty{color:var(--pp-secondary);text-align:center;margin:36px 0 0;font-size:14px}.app-shell .pp-hero-card{background:url(/project-passport-wave.png) center / cover no-repeat, var(--pp-hero-base);align-items:end;padding:28px;display:flex;position:relative;overflow:hidden}.app-shell.dark .pp-hero-card{background:linear-gradient(90deg, color-mix(in srgb, var(--surface) 91%, transparent), color-mix(in srgb, var(--surface) 42%, transparent)), url(/project-passport-wave.png) center / cover no-repeat, var(--pp-hero-base)}.app-shell .pp-hero-copy{z-index:1;position:relative}.app-shell .pp-hero-copy p{color:var(--pp-ink);margin:0 0 14px;font-size:20px;font-weight:700;line-height:1.24}.app-shell .pp-hero-copy>span{color:var(--pp-ink);align-items:center;gap:12px;font-size:12px;display:inline-flex}.app-shell .pp-hero-copy>span:before{background:var(--pp-secondary);content:"";width:32px;height:1px;display:block}.app-shell .pp-more-details{color:var(--pp-secondary);margin-top:20px;font-size:14px}.app-shell .pp-more-details summary{cursor:pointer;width:fit-content}.app-shell .pp-more-details-content{border-radius:var(--radius-sm);background:var(--pp-card-bg);margin-top:12px;padding:15px 18px}.app-shell .pp-more-details-content p{margin:0 0 8px}.app-shell .pp-more-details-content p:last-child{margin-bottom:0}.app-shell .pp-more-details-content a{color:var(--pp-link)}.app-shell .project-passport-desktop :is(button,a,summary):focus-visible,.app-shell .pp-project-header button:focus-visible{outline:2px solid var(--pp-link);outline-offset:3px}@media (max-width:1180px){.app-shell .pp-project-tabs{justify-content:flex-start}.app-shell .pp-project-heading-row{gap:12px}.app-shell .pp-project-menu-wrap{margin-left:3px}.app-shell .pp-activity-item{gap:10px}.app-shell .pp-activity-item time{font-size:11px}}@media (max-width:900px){.app-shell .project-passport-grid{grid-template-columns:minmax(0,1fr)}.app-shell .pp-project-state{display:none}}
.app-shell .desktop-messages{--dchat-blue:#0874df;--dchat-blue-hover:#066bd2;--dchat-on-blue:#fff;--dchat-media-ink:#fff;--dchat-text:#131b48;--dchat-muted:#617098;--dchat-bg:#f8fbff;--dchat-soft:#edf4fc;--dchat-selected:#e3f1ff;--dchat-bubble:#eef4fc;--dchat-own-bubble:#e2f0ff;--dchat-line:#e3ecf7;--dchat-purple:#8376dc;--dchat-teal:#39a8ad;--dchat-sand:#bc885a;--dchat-indigo:#7380c3;--dchat-name-purple:#7154b0;--dchat-name-teal:#227a81;--dchat-name-sand:#8f6239;--dchat-name-indigo:#5263aa;height:100%;min-height:0;color:var(--dchat-text);background:var(--dchat-bg);isolation:isolate;scrollbar-color:var(--border) var(--dchat-bg);scrollbar-width:thin;flex:1;grid-template-rows:minmax(0,1fr);grid-template-columns:clamp(280px,28%,340px) minmax(0,1fr);gap:0;display:grid}.app-shell.dark .desktop-messages{--dchat-blue:var(--primary);--dchat-blue-hover:var(--primary-hover);--dchat-on-blue:var(--canvas);--dchat-text:var(--text);--dchat-muted:var(--muted);--dchat-bg:var(--surface);--dchat-soft:color-mix(in srgb, var(--primary) 10%, var(--surface));--dchat-selected:color-mix(in srgb, var(--primary) 20%, var(--surface));--dchat-bubble:color-mix(in srgb, var(--primary) 9%, var(--surface));--dchat-own-bubble:color-mix(in srgb, var(--primary) 19%, var(--surface));--dchat-line:var(--border);--dchat-name-purple:#c5b0ff;--dchat-name-teal:#72d1d7;--dchat-name-sand:#e3b480;--dchat-name-indigo:#b1baff}.app-shell #page-main:has(>.desktop-messages){flex-direction:column;min-height:0;padding:0;display:flex;overflow:hidden}.app-shell #page-main:has(>.desktop-messages)>.page-heading{display:none}.app-shell .desktop-messages ::selection{background:var(--dchat-selected);color:var(--dchat-text)}.app-shell .desktop-messages :is(button,a,summary,input,textarea):focus-visible{outline:2px solid var(--dchat-blue);outline-offset:3px}.app-shell .desktop-messages button{font:inherit}.app-shell .desktop-messages :is(button,summary){-webkit-tap-highlight-color:transparent}.app-shell .desktop-messages button:disabled{cursor:default}.app-shell .desktop-messages .messages-main{grid-column:2;gap:0;position:relative}.app-shell .desktop-messages .messages-chat.panel{box-shadow:none;-webkit-backdrop-filter:none;background:0 0;border:0;border-radius:0;padding:0;overflow:hidden;justify-content:flex-start!important}.app-shell .desktop-messages .messages-chat.panel:before{display:none}.app-shell .desktop-messages .dchat-sidebar{border-right:1px solid var(--dchat-line);background:color-mix(in srgb, var(--surface) 60%, var(--dchat-bg));flex-direction:column;min-width:0;min-height:0;padding:26px 12px 18px;display:flex}.app-shell .desktop-messages .dchat-sidebar h1{letter-spacing:-.03em;color:var(--dchat-text);margin:0 6px 19px;font-size:27px;line-height:1.25}.app-shell .desktop-messages .dchat-search{border-radius:var(--radius-md);background:var(--dchat-soft);height:42px;color:var(--dchat-muted);flex-shrink:0;align-items:center;gap:10px;margin:0 2px 18px;padding:0 13px;display:flex}.app-shell .desktop-messages .dchat-search svg{flex-shrink:0}.app-shell .desktop-messages .dchat-search input{width:100%;min-width:0;height:100%;color:var(--dchat-text);caret-color:var(--dchat-blue);background:0 0;border:0;padding:0;font-size:13px}.app-shell .desktop-messages .dchat-search input::placeholder{color:var(--dchat-muted);opacity:1;font-style:normal}.app-shell .desktop-messages .dchat-filters{flex-wrap:wrap;flex-shrink:0;gap:5px;margin:0 2px 14px;display:flex}.app-shell .desktop-messages .dchat-filters button{border-radius:var(--radius-pill);background:var(--dchat-soft);min-height:33px;color:var(--dchat-text);white-space:nowrap;border:0;justify-content:center;align-items:center;gap:4px;padding:6px 7px;font-size:11px;display:inline-flex}.app-shell .desktop-messages .dchat-filters button[aria-pressed=true]{background:var(--dchat-blue);color:var(--dchat-on-blue);box-shadow:0 3px 8px color-mix(in srgb, var(--dchat-blue) 18%, transparent)}.app-shell .desktop-messages .dchat-filters button:hover{background:var(--dchat-selected);color:var(--dchat-text)}.app-shell .desktop-messages .dchat-filters button[aria-pressed=true]:hover{background:var(--dchat-blue-hover);color:var(--dchat-on-blue)}.app-shell .desktop-messages .dchat-filters span{font-variant-numeric:tabular-nums}.app-shell .desktop-messages .dchat-filters button[aria-pressed=true] span{background:color-mix(in srgb, var(--dchat-on-blue) 25%, transparent);color:var(--dchat-on-blue);text-align:center;border-radius:999px;min-width:18px;padding:1px 6px}.app-shell .desktop-messages .dchat-rows{flex:1;min-height:0;padding:1px;overflow-y:auto}.app-shell .desktop-messages .dchat-row{text-align:left;border-radius:var(--radius-md);width:100%;min-width:0;min-height:78px;color:var(--dchat-text);background:0 0;border:1px solid #0000;align-items:center;gap:13px;margin-bottom:2px;padding:10px 12px;display:flex}.app-shell .desktop-messages .dchat-row:hover{background:var(--dchat-soft)}.app-shell .desktop-messages .dchat-row.is-active{background:var(--dchat-selected);border-color:#0000}.app-shell .desktop-messages .dchat-tone-0{--dchat-avatar-tone:var(--dchat-blue);--dchat-name-tone:var(--dchat-blue)}.app-shell .desktop-messages .dchat-tone-1{--dchat-avatar-tone:var(--dchat-purple);--dchat-name-tone:var(--dchat-name-purple)}.app-shell .desktop-messages .dchat-tone-2{--dchat-avatar-tone:var(--dchat-teal);--dchat-name-tone:var(--dchat-name-teal)}.app-shell .desktop-messages .dchat-tone-3{--dchat-avatar-tone:var(--dchat-sand);--dchat-name-tone:var(--dchat-name-sand)}.app-shell .desktop-messages .dchat-tone-4{--dchat-avatar-tone:var(--dchat-indigo);--dchat-name-tone:var(--dchat-name-indigo)}.app-shell .desktop-messages .dchat-avatar{background:linear-gradient(145deg, color-mix(in srgb, var(--dchat-avatar-tone) 38%, var(--surface)), var(--dchat-avatar-tone));width:52px;height:52px;color:var(--dchat-on-blue);border-radius:50%;flex:0 0 52px;place-items:center;font-size:29px;font-weight:500;line-height:1;display:grid}.app-shell .desktop-messages .dchat-row-copy{flex-direction:column;flex:1;gap:5px;min-width:0;display:flex}.app-shell .desktop-messages .dchat-row-copy strong{font-size:14px;font-weight:600}.app-shell .desktop-messages .dchat-row-copy>*{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.app-shell .desktop-messages .dchat-row-copy>span{color:var(--dchat-muted);font-size:12px}.app-shell .desktop-messages .dchat-row-meta{color:var(--dchat-muted);font-variant-numeric:tabular-nums;flex-direction:column;flex:none;justify-content:center;align-self:stretch;align-items:flex-end;gap:7px;font-size:11px;display:flex}.app-shell .desktop-messages .dchat-unread{border-radius:var(--radius-pill);background:var(--dchat-blue);min-width:20px;height:20px;color:var(--dchat-on-blue);justify-content:center;align-items:center;padding:0 5px;font-size:11px;display:inline-flex}.app-shell .desktop-messages .dchat-list-note{color:var(--dchat-muted);margin:12px;font-size:13px;line-height:1.5}.app-shell .desktop-messages .dchat-search-results{margin:12px 4px}.app-shell .desktop-messages .dchat-search-results p{color:var(--dchat-muted);font-size:12px}.app-shell .desktop-messages .dchat-search-results button{border-radius:var(--radius-sm);text-align:left;background:var(--dchat-soft);width:100%;min-width:0;color:var(--dchat-text);border:0;flex-direction:column;gap:5px;margin-bottom:6px;padding:12px;font-size:12px;display:flex}.app-shell .desktop-messages .dchat-search-results button>*{white-space:nowrap;text-overflow:ellipsis;max-width:100%;overflow:hidden}.app-shell .desktop-messages .dchat-search-results time{color:var(--dchat-muted)}.app-shell .desktop-messages .dchat-quick{border-radius:var(--radius-md);background:var(--dchat-soft);flex-direction:column;flex-shrink:0;gap:3px;margin:16px 6px 0;padding:13px 14px;display:flex;position:relative}.app-shell .desktop-messages .dchat-quick>strong{margin-bottom:6px;font-size:12px;font-weight:500}.app-shell .desktop-messages .dchat-quick>button,.app-shell .desktop-messages .dchat-quick-assistant>summary{min-height:32px;color:var(--dchat-muted);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:8px;padding:4px 0;font-size:12px;display:flex}.app-shell .desktop-messages .dchat-quick>button svg{color:var(--dchat-blue)}.app-shell .desktop-messages .dchat-quick>button:disabled{opacity:.6;cursor:default}.app-shell .desktop-messages .dchat-quick>button:not(:disabled):hover{color:var(--dchat-blue)}.app-shell .desktop-messages .dchat-quick-assistant>summary{list-style:none}.app-shell .desktop-messages .dchat-quick-assistant>.quick-bar{z-index:15;background:var(--surface);width:min(460px,65vw);box-shadow:var(--shadow);position:absolute;bottom:0;left:calc(100% + 12px)}.app-shell .desktop-messages .dchat-chat-top{flex-shrink:0;padding:24px 26px 0}.app-shell .desktop-messages .dchat-header{align-items:center;gap:16px;min-width:0;margin-bottom:20px;display:flex}.app-shell .desktop-messages .dchat-avatar--large{flex-basis:70px;width:70px;height:70px;font-size:38px}.app-shell .desktop-messages .dchat-header-copy{flex:1;min-width:0}.app-shell .desktop-messages .dchat-header h2{color:var(--dchat-text);letter-spacing:-.025em;text-overflow:ellipsis;white-space:nowrap;margin:0 0 5px;font-size:27px;font-weight:700;line-height:1.25;overflow:hidden}.app-shell .desktop-messages .dchat-header p{color:var(--dchat-muted);text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:14px;line-height:1.5;overflow:hidden}.app-shell .desktop-messages .dchat-header-actions{flex-shrink:0;align-items:center;gap:7px;display:flex}.app-shell .desktop-messages .dchat-icon-button{width:38px;height:38px;color:var(--dchat-muted);cursor:pointer;background:0 0;border:0;border-radius:50%;justify-content:center;align-items:center;padding:0;display:inline-flex}.app-shell .desktop-messages .dchat-icon-button:hover{background:var(--dchat-soft);color:var(--dchat-blue)}.app-shell .desktop-messages .dchat-icon-button[aria-disabled=true]{cursor:not-allowed}.app-shell .desktop-messages .dchat-menu{position:relative}.app-shell .desktop-messages .dchat-menu summary{color:var(--dchat-text);list-style:none}.app-shell .desktop-messages summary::-webkit-details-marker{display:none}.app-shell .desktop-messages .dchat-menu-popover{z-index:20;border:1px solid var(--dchat-line);border-radius:var(--radius-sm);background:var(--surface);min-width:238px;box-shadow:var(--shadow);padding:6px;position:absolute;top:calc(100% + 8px);right:0}.app-shell .desktop-messages .dchat-menu-popover button{text-align:left;width:100%;color:var(--dchat-text);background:0 0;border:0;border-radius:8px;align-items:center;gap:9px;padding:10px;font-size:13px;display:flex}.app-shell .desktop-messages .dchat-menu-popover button:hover{background:var(--dchat-soft)}.app-shell .desktop-messages .dchat-project-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:15px;display:grid}.app-shell .desktop-messages .dchat-project-shortcuts>:is(a,button){border-radius:var(--radius-md);background:var(--dchat-selected);min-width:0;min-height:58px;color:var(--dchat-blue);text-align:left;border:0;align-items:center;gap:14px;padding:11px 16px;text-decoration:none;display:flex}.app-shell .desktop-messages .dchat-project-shortcuts>a:hover{background:color-mix(in srgb, var(--dchat-blue) 17%, var(--dchat-bg))}.app-shell .desktop-messages .dchat-project-shortcuts span{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.app-shell .desktop-messages .dchat-project-shortcuts strong{color:var(--dchat-text);font-size:14px;font-weight:500}.app-shell .desktop-messages .dchat-project-shortcuts small{color:var(--dchat-muted);font-size:12px}.app-shell .desktop-messages .dchat-project-shortcuts svg{color:var(--dchat-blue);flex-shrink:0}.app-shell .desktop-messages .dchat-project-tabs{border-bottom:1px solid var(--dchat-line);scrollbar-width:thin;align-items:stretch;gap:24px;min-width:0;display:flex;overflow-x:auto}.app-shell .desktop-messages .dchat-project-tabs button{min-height:39px;color:var(--dchat-text);white-space:nowrap;background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;flex-shrink:0;padding:5px 0 12px;font-size:12px;position:relative}.app-shell .desktop-messages .dchat-project-tabs button[aria-current=page]{border-bottom-color:var(--dchat-blue);color:var(--dchat-blue)}.app-shell .desktop-messages .dchat-project-tabs button:disabled{color:var(--dchat-muted);cursor:not-allowed}.app-shell .desktop-messages .dchat-project-tabs button:not(:disabled):hover{color:var(--dchat-blue)}.app-shell .desktop-messages .messages-list{overscroll-behavior:contain;min-height:0;gap:20px!important;padding:22px 26px!important}.app-shell .desktop-messages .dchat-date{flex-shrink:0;justify-content:center;align-self:center;margin:1px 0;display:flex}.app-shell .desktop-messages .dchat-date time{background:var(--dchat-soft);color:var(--dchat-muted);border-radius:999px;padding:3px 12px;font-size:12px}.app-shell .desktop-messages .message-bubble{border-radius:var(--radius-md);background:var(--dchat-bubble);min-width:130px;max-width:min(78%,660px);color:var(--dchat-text);overflow-wrap:anywhere;border:0;flex-shrink:0;margin-left:52px;padding:10px 13px 12px}.app-shell .desktop-messages .message-bubble.self{background:var(--dchat-own-bubble);margin-left:0}.desktop-messages .message-bubble.self :not(.msg-sender):not(button){color:var(--dchat-text)!important}.app-shell .desktop-messages .message-bubble.self .dchat-message-time,.app-shell .desktop-messages .message-bubble.self .dchat-message-footer button{color:var(--dchat-muted)!important}.app-shell .desktop-messages .dchat-sender-avatar{border-radius:50%;position:absolute;top:0;left:-52px}.app-shell .desktop-messages .dchat-sender-avatar.ava-fallback{background:color-mix(in srgb, var(--dchat-avatar-tone) 18%, var(--surface))!important;color:var(--dchat-name-tone)!important}.app-shell .desktop-messages .message-bubble .msg-head{margin-bottom:4px;justify-content:flex-start!important;align-items:center!important;gap:9px!important}.app-shell .desktop-messages .dchat-sender{text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:80%;color:var(--dchat-name-tone);font-size:12px;font-weight:600;overflow:hidden}.app-shell .desktop-messages .message-bubble .dchat-message-time{font-variant-numeric:tabular-nums;white-space:nowrap;font-size:10px;color:var(--dchat-muted)!important}.app-shell .desktop-messages .dchat-message-text{line-height:1.5}.app-shell .desktop-messages .dchat-message-text a{text-underline-offset:2px;text-decoration:underline;color:var(--dchat-blue)!important}.app-shell .desktop-messages .message-bubble .msg-reactions{z-index:4;flex-direction:row-reverse;align-items:center;position:absolute;top:calc(100% - 3px);right:8px;gap:4px!important;margin-top:0!important}.app-shell .desktop-messages .message-bubble:has(.react-active){margin-bottom:12px}.app-shell .desktop-messages .message-bubble .msg-react{min-height:26px;border-radius:var(--radius-pill)!important;background:var(--surface)!important;color:var(--dchat-blue)!important;border:0!important;padding:3px 8px!important}.app-shell .desktop-messages .message-bubble .msg-react.react-empty{opacity:0;pointer-events:none;background:var(--surface)!important}.app-shell .desktop-messages .message-bubble:hover .msg-react.react-empty,.app-shell .desktop-messages .message-bubble:focus-within .msg-react.react-empty,.app-shell .desktop-messages .message-bubble .msg-react.react-empty:focus{opacity:1;pointer-events:auto}.app-shell .desktop-messages .message-bubble .dchat-message-footer{z-index:3;min-height:22px;position:absolute;top:100%;left:0}.app-shell .desktop-messages .message-bubble .dchat-message-footer>div:first-child{border-radius:var(--radius-pill);background:var(--dchat-soft);pointer-events:none}.app-shell .desktop-messages .message-bubble:hover .dchat-message-footer>div:first-child,.app-shell .desktop-messages .message-bubble:focus-within .dchat-message-footer>div:first-child{pointer-events:auto}.app-shell .desktop-messages .dchat-message-footer>div:first-child{opacity:0}.app-shell .desktop-messages .message-bubble:hover .dchat-message-footer>div:first-child,.app-shell .desktop-messages .message-bubble:focus-within .dchat-message-footer>div:first-child{opacity:1}.app-shell .desktop-messages .dchat-message-footer button{justify-content:center;min-width:24px;min-height:22px}.app-shell .desktop-messages .dchat-message-footer>div:last-child{margin-left:auto;color:var(--dchat-muted)!important}.app-shell .desktop-messages .msg-head svg[role=img]{stroke:var(--dchat-blue)}.app-shell .desktop-messages .dchat-legacy-time{display:none}.app-shell .desktop-messages .dchat-attachment-group{margin-top:7px}.app-shell .desktop-messages .dchat-attachment{border-radius:var(--radius-sm);background:var(--surface);align-items:center;gap:12px;min-width:0;padding:7px;display:flex}.app-shell .desktop-messages .dchat-document-icon{background:var(--dchat-selected);border-radius:9px;flex-shrink:0;place-items:center;width:66px;height:62px;display:grid;color:var(--dchat-blue)!important}.app-shell .desktop-messages .dchat-file-info{flex-direction:column;flex:1;gap:4px;min-width:0;text-decoration:none;display:flex}.app-shell .desktop-messages .dchat-file-info strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:500;overflow:hidden}.app-shell .desktop-messages .dchat-file-info span,.app-shell .desktop-messages .dchat-file-count{font-size:12px;color:var(--dchat-muted)!important}.app-shell .desktop-messages .dchat-file-count{margin:5px 0 0;display:block}.app-shell .desktop-messages .dchat-file-download{border-radius:50%;flex-shrink:0;place-items:center;width:30px;height:30px;display:grid;color:var(--dchat-blue)!important}.app-shell .desktop-messages .dchat-file-download:hover{background:var(--dchat-selected)}.app-shell .desktop-messages .dchat-attachment--image{max-width:420px}.app-shell .desktop-messages .dchat-image-preview{border-radius:8px;flex:0 0 84px;width:84px;height:70px;display:block;overflow:hidden}.app-shell .desktop-messages .dchat-image-preview img{object-fit:cover;width:100%;height:100%;display:block}.app-shell .desktop-messages .dchat-video-preview{background:var(--canvas);border-radius:8px;flex:0 0 84px;height:70px;position:relative;overflow:hidden}.app-shell .desktop-messages .dchat-video-preview video{object-fit:cover;width:100%;height:100%}.app-shell .desktop-messages .dchat-video-preview>button{background:color-mix(in srgb, var(--text) 22%, transparent);border:0;place-items:center;padding:0;display:grid;position:absolute;inset:0;color:var(--dchat-media-ink)!important}.app-shell .desktop-messages .dchat-video-time{background:var(--surface);border-radius:4px;padding:1px 4px;font-size:10px;position:absolute;bottom:3px;left:4px;color:var(--text)!important}.app-shell .desktop-messages .dchat-video-preview.is-playing{flex-basis:100%;width:100%;height:auto;min-height:170px}.app-shell .desktop-messages .dchat-attachment:has(.is-playing){flex-wrap:wrap}.app-shell .desktop-messages .dchat-composer{isolation:isolate;flex-shrink:0;align-items:flex-end;display:flex;position:relative;border:0!important;gap:8px!important;padding:18px 26px 24px!important}.app-shell .desktop-messages .dchat-composer:before{content:"";z-index:-1;border-radius:var(--radius-pill);background:var(--dchat-soft);position:absolute;inset:18px 88px 24px 84px}.app-shell .desktop-messages .dchat-attach-button{flex:none;order:0}.app-shell .desktop-messages .dchat-attach-button>button{place-items:center;width:50px;height:50px;display:grid;background:var(--dchat-soft)!important;color:var(--dchat-muted)!important;border:0!important;border-radius:50%!important}.app-shell .desktop-messages .dchat-attach-button svg{width:23px;height:23px}.app-shell .desktop-messages .dchat-composer textarea{min-height:50px;max-height:150px;font:inherit;caret-color:var(--dchat-blue);order:1;font-size:14px;line-height:22px;color:var(--dchat-text)!important;border-radius:var(--radius-pill)!important;background:0 0!important;border:0!important;padding:15px 10px 13px 18px!important}.app-shell .desktop-messages .dchat-composer textarea::placeholder{color:var(--dchat-muted);opacity:1}.app-shell .desktop-messages .dchat-emoji-control{flex:0 0 32px;order:2;align-self:flex-end;padding-bottom:6px;position:relative}.app-shell .desktop-messages .dchat-emoji-control>button{width:32px}.app-shell .desktop-messages .dchat-emoji-popover{border-radius:var(--radius-sm);background:var(--surface);box-shadow:var(--shadow);z-index:20;grid-template-columns:repeat(4,40px);gap:4px;padding:8px;display:grid;position:absolute;bottom:calc(100% + 12px);right:0}.app-shell .desktop-messages .dchat-emoji-popover button{background:0 0;border:0;border-radius:8px;width:40px;height:40px;font-size:22px}.app-shell .desktop-messages .dchat-emoji-popover button:hover{background:var(--dchat-selected)}.app-shell .desktop-messages .dchat-mic-button{flex:0 0 36px;order:3;align-self:flex-end;height:50px;margin-right:8px;color:var(--dchat-muted)!important;background:0 0!important;border:0!important;border-radius:50%!important;padding:0!important}.app-shell .desktop-messages .dchat-mic-button svg{width:23px;height:23px}.app-shell .desktop-messages .dchat-mic-button.is-recording{color:var(--danger)!important}.app-shell .desktop-messages .dchat-recording{order:1;min-width:0;min-height:50px}.app-shell .desktop-messages .dchat-recording canvas{min-width:20px}.app-shell .desktop-messages .chat-send{background:var(--dchat-blue);width:52px;height:52px;color:var(--dchat-on-blue);box-shadow:0 4px 12px color-mix(in srgb, var(--dchat-blue) 16%, transparent);border:0;border-radius:50%;flex:0 0 52px;order:4;place-items:center;display:grid;padding:0!important}.app-shell .desktop-messages .chat-send:hover{background:var(--dchat-blue-hover);transform:none}.app-shell .desktop-messages .chat-send .send-icon{display:block}.app-shell .desktop-messages .chat-send .send-label{display:none}.app-shell .desktop-messages .messages-participants{z-index:30;background:var(--surface);height:100%;position:absolute;top:0;bottom:0;right:0;width:min(320px,90%)!important}.app-shell .desktop-messages .participants-backdrop{z-index:29;background:color-mix(in srgb, var(--text) 16%, transparent);display:block;position:absolute;inset:0}@media (max-width:1200px){.app-shell .desktop-messages{grid-template-columns:280px minmax(0,1fr)}.app-shell .desktop-messages .dchat-chat-top{padding:20px 18px 0}.app-shell .desktop-messages .dchat-header{flex-wrap:wrap;gap:12px}.app-shell .desktop-messages .dchat-header h2{font-size:23px}.app-shell .desktop-messages .dchat-header-actions{margin-left:auto}.app-shell .desktop-messages .dchat-project-shortcuts>:is(a,button){gap:10px;padding:12px}.app-shell .desktop-messages .dchat-project-tabs{gap:19px}.app-shell .desktop-messages .messages-list{padding:20px 18px!important}.app-shell .desktop-messages .message-bubble{max-width:calc(100% - 52px)}.app-shell .desktop-messages .dchat-composer{gap:5px!important;padding:16px 18px 20px!important}.app-shell .desktop-messages .dchat-composer:before{inset:16px 75px 20px 73px}}@media (max-width:760px){.app-shell .desktop-messages{grid-template-columns:235px minmax(300px,1fr);overflow-x:auto}.app-shell .desktop-messages .dchat-sidebar{padding-inline:7px}.app-shell .desktop-messages .dchat-row{gap:8px;padding-inline:7px}.app-shell .desktop-messages .dchat-row .dchat-avatar{flex-basis:40px;width:40px;height:40px;font-size:24px}.app-shell .desktop-messages .dchat-header-actions{gap:3px}.app-shell .desktop-messages .dchat-avatar--large{flex-basis:52px;width:52px;height:52px;font-size:30px}}
.academy-page{flex-direction:column;gap:16px;display:flex}.academy-learning{align-items:stretch;gap:12px;display:flex}.academy-search{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);min-width:0;color:var(--muted);flex:1;align-items:center;gap:10px;padding:0 14px;display:flex}.academy-search input{width:100%;min-width:0;min-height:44px;color:var(--text);box-shadow:none;background:0 0;border:0;padding:10px 0}.academy-search input::placeholder{color:var(--muted);opacity:1}.academy-search:focus-within{outline:2px solid var(--primary);outline-offset:2px}.academy-continue{border-radius:var(--radius-sm);background:var(--brand);min-width:0;color:var(--on-brand);text-align:left;border:0;flex:1;align-items:center;gap:12px;padding:12px 16px;display:flex}.academy-continue>span{flex:1;min-width:0}.academy-continue strong,.academy-continue small{display:block}.academy-continue small{text-overflow:ellipsis;white-space:nowrap;margin-top:3px;overflow:hidden}.academy-continue svg,.academy-search svg{flex-shrink:0}.academy-continue:hover{background:color-mix(in srgb, var(--brand) 90%, var(--surface))}.academy-toolbar{border-bottom:1px solid var(--border);align-items:center;gap:8px;min-width:0;display:flex}.academy-tabs{flex:1;gap:4px;min-width:0;display:flex;overflow-x:auto}.academy-tabs button{min-height:44px;color:var(--text);white-space:nowrap;background:0 0;border:0;border-radius:6px;flex-shrink:0;padding:8px 12px;font-weight:600}.academy-tabs button[aria-pressed=true]{background:var(--primary-light);color:var(--brand)}.academy-tabs button:hover,.academy-management summary:hover{background:var(--primary-light)}.academy-management{flex-shrink:0;position:relative}.academy-management summary{min-width:44px;min-height:44px;color:var(--text);cursor:pointer;border-radius:6px;justify-content:center;align-items:center;gap:6px;padding:8px;list-style:none;display:flex}.academy-management summary::-webkit-details-marker{display:none}.academy-management__actions{z-index:20;border-radius:var(--radius-sm);background:var(--surface);width:min(310px,100vw - 32px);box-shadow:var(--shadow);flex-direction:column;gap:8px;padding:12px;display:flex;position:absolute;top:100%;right:0}.academy-management__actions button{text-align:left;white-space:normal;justify-content:flex-start;min-height:44px}.academy-page .lesson-row button{min-width:44px;min-height:44px}.academy-page .academy-preview{scroll-margin-top:80px}.academy-page :is(button,summary):focus-visible{outline:2px solid var(--primary);outline-offset:2px}.task-row__status{background:var(--muted);border-radius:50%;flex-shrink:0;width:8px;height:8px}.task-row__status[data-status=В\ работе]{background:var(--primary)}.task-row__status[data-status=На\ проверке]{background:var(--warning)}.task-row__status[data-status=Выполнено]{background:var(--success)}html .modal-backdrop>.modal-panel[role=dialog]{background:var(--surface);-webkit-backdrop-filter:none}html .modal-backdrop>.modal-panel:before{display:none}@media (max-width:768px){.academy-learning{flex-direction:column;gap:8px}.academy-management summary span{display:none}}
.owner-board{align-items:flex-start;gap:12px;padding-bottom:8px;display:flex;overflow-x:auto}.owner-board__col{border:1px solid var(--border);background:var(--surface-2,var(--surface));border-radius:14px;flex-direction:column;flex:0 0 280px;gap:8px;min-width:0;padding:10px;display:flex}.owner-board__col--over{border-color:var(--primary);background:var(--primary-light)}.owner-board__head{color:var(--text);align-items:center;gap:8px;margin:0;font-size:.9rem;font-weight:700;display:flex}.owner-board__name{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.owner-board__count{background:var(--primary);min-width:24px;color:var(--on-brand);text-align:center;border-radius:999px;flex:none;padding:1px 8px;font-size:.78rem;font-weight:700}.owner-board__empty{border:1px dashed var(--border);color:var(--text);opacity:.6;text-align:center;border-radius:12px;margin:0;padding:14px 8px;font-size:.8rem}.owner-board__add{flex:0 0 240px;padding-top:2px}.owner-board .desktop-project-card[draggable=true]{cursor:grab}.owner-board .desktop-project-card[draggable=true]:active{cursor:grabbing}.owner-groups{flex-direction:column;gap:8px;display:flex}.owner-group{border:1px solid var(--border);background:var(--surface);border-radius:14px;overflow:hidden}.owner-group__head{cursor:pointer;min-height:44px;color:var(--text);align-items:center;gap:8px;padding:10px 14px;font-weight:700;display:flex}.owner-group__name{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.owner-group[open] .owner-group__head{border-bottom:1px solid var(--border)}.owner-group .project-grid,.owner-group .owner-board__empty{padding:10px}.owner-group__head:after{content:"▾";opacity:.6;flex:none}.owner-group[open] .owner-group__head:after{content:"▴"}.owner-group__head::-webkit-details-marker{display:none}

