/* Foundation: guide colors, an 8px spacing rhythm, and local system typography. */
:root{color-scheme:light;--primary:#007c83;--canvas:#f5fbfb;--surface:#fff;--text:#173233;--muted:#526174;--border:#ddeced;--success:#16794c;--error:#b42318;font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:16px;color:var(--text);background:var(--canvas)}
*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button,a,input,textarea{touch-action:manipulation}button{cursor:pointer}a{color:var(--primary);text-decoration:none}button{color:inherit}button:disabled{cursor:default}svg{width:22px;height:22px;flex-shrink:0}button svg{vertical-align:middle}button{border:0;background:none}button,a,input,textarea{outline-offset:4px}:focus-visible{outline:3px solid #007c83}input,textarea{min-width:0}h1,h2,h3,p{margin-top:0}h1{font-size:26px;letter-spacing:-.8px}h2{font-size:18px;letter-spacing:-.3px}h3{font-size:14px}p{line-height:1.6;color:var(--muted)}small{font-size:12px}strong{font-weight:600}.app-shell{height:calc(100dvh - 36px);display:flex;overflow:hidden}.rail{width:72px;flex-shrink:0;background:#eef9f9;border-right:1px solid var(--border);display:flex;align-items:center;flex-direction:column;padding:24px 8px 16px;gap:40px}.brand{font-size:28px;font-weight:800;letter-spacing:-4px;background:var(--primary);color:white;border-radius:12px;width:42px;height:42px;line-height:37px;padding-left:6px;box-shadow:0 4px 12px #007c8320}.brand span{color:#b7edf0}.rail-links,.rail-bottom{display:flex;flex-direction:column;gap:12px;width:100%}.rail-bottom{margin-top:auto;align-items:center}.rail a:not(.brand){height:60px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;color:#526174;border-radius:10px}.rail a.active{color:var(--primary);background:#e2f8f9}.rail small{font-size:11px;font-weight:600}.workspace{display:flex;flex:1;min-width:0}.sidebar{width:330px;flex-shrink:0;background:white;border-right:1px solid var(--border);display:flex;flex-direction:column;min-height:0}.sidebar-title{display:flex;align-items:center;justify-content:space-between;padding:28px 24px 20px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.7px;color:var(--muted)}.sidebar h1{margin:8px 0 0}.sidebar h1 span{font-size:13px;vertical-align:middle;color:var(--muted);background:var(--canvas);padding:3px 7px;border-radius:6px;margin-left:5px;letter-spacing:0}.icon-button{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;border-radius:10px;color:var(--muted);flex-shrink:0}.icon-button:hover{background:#edf9fa;color:var(--primary)}.sidebar-title .icon-button{background:#f0fbfc;color:var(--primary)}.search{display:flex;align-items:center;gap:8px;background:#f5fbfb;border:1px solid #edf6f6;border-radius:9px;margin:0 20px;padding:0 12px;min-height:44px;color:var(--muted)}.search input{background:transparent;border:0;width:100%;font-size:13px;padding:12px 0}.search svg{width:18px}.search kbd{font-size:15px}.filters{display:flex;gap:6px;padding:18px 20px}.filters button{font-size:13px;color:var(--muted);padding:8px 13px;border-radius:7px;min-height:38px}.filters .selected{color:var(--primary);background:#edfbfb;font-weight:600}.filters span{font-size:15px;margin-left:4px}.list-heading{font-size:10px;letter-spacing:1.6px;font-weight:600;color:var(--muted);display:flex;align-items:center;justify-content:space-between;padding:0 24px 7px}.list-heading button{width:32px;height:32px}.list-heading svg{width:15px}.conversation-list{overflow-y:auto;padding:0 10px;flex:1}.conversation{display:flex;gap:12px;padding:16px 12px;width:100%;text-align:left;border-radius:10px;margin-bottom:3px;align-items:center;border:1px solid transparent}.conversation:hover{background:#f6fcfc}.conversation.active{background:#f0fbfc;border-color:#e4f8f9}.avatar{height:44px;width:44px;display:inline-flex;align-items:center;justify-content:center;border-radius:14px;flex-shrink:0;font-size:14px;font-weight:650;position:relative;color:#00646b;background:#e4f8f9}.avatar.small{width:32px;height:32px;font-size:11px;border-radius:10px}.avatar.peach{background:#ffe7d8;color:#8a472e}.avatar.mint{background:#ddf1e9;color:#2e6a56}.avatar.violet{background:#eae4fb;color:#68519a}.avatar.rose{background:#f9e0e8;color:#934761}.avatar.sand{background:#f4ecd6;color:#786127}.presence{position:absolute;width:10px;height:10px;border-radius:50%;background:var(--success);bottom:-2px;right:-1px;border:2px solid white}.conversation-copy{flex:1;min-width:0}.conversation-title{display:flex;justify-content:space-between;gap:6px;align-items:center}.conversation-title strong{font-size:13px;white-space:nowrap}.conversation-title time{font-size:10px;color:var(--muted);white-space:nowrap}.conversation-preview{display:flex;align-items:center;justify-content:space-between;margin-top:7px;gap:5px}.conversation-preview>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:var(--muted)}.badge{background:var(--primary);color:white;font-size:10px;border-radius:6px;padding:2px 5px}.sidebar-invite{margin:20px;background:linear-gradient(120deg,#f4fcfd,#f9fefe);border:1px solid #e9f7f8;border-radius:12px;padding:16px;text-align:center}.invite-art{color:var(--primary);margin-bottom:8px}.sidebar-invite strong{font-size:12px}.sidebar-invite p{font-size:11px;margin:6px 0 12px}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:8px;padding:11px 16px;min-height:44px;font-size:14px;font-weight:600}.primary{background:var(--primary);color:white}.primary:hover{background:#00646b}.secondary{border:1px solid var(--border);background:white;color:var(--primary)}.secondary:hover{background:#f0fbfc}.sidebar-invite .secondary{font-size:12px;width:100%;padding:8px}.secondary svg,.primary svg{width:17px}.account{border-top:1px solid var(--border);display:flex;align-items:center;gap:10px;padding:16px 20px}.account strong{font-size:12px}.account small,.member small{display:block;color:var(--muted);margin-top:4px;font-size:11px}.online-label{margin-left:auto;font-size:10px;color:var(--success)}.chat-panel{display:flex;flex-direction:column;flex:1;min-width:0;background:#f9fefe}.chat-header{display:flex;align-items:center;gap:14px;padding:18px 28px;border-bottom:1px solid var(--border);background:white;min-height:88px}.header-name{flex:1;min-width:0}.header-name h2{font-size:16px;margin:0 0 6px}.header-name p{font-size:12px;margin:0}.header-name p span{color:var(--success)}.message-history{flex:1;overflow-y:auto;padding:24px 40px 16px;scrollbar-width:thin}.date-divider{display:flex;align-items:center;gap:16px;margin:0 0 20px;color:var(--muted);font-size:11px}.date-divider:before,.date-divider:after{content:'';height:1px;flex:1;background:#e5f1f2}.date-divider span{background:#eef8f8;border-radius:6px;padding:6px 12px}.system-note{font-size:10px;color:var(--muted);text-align:center;margin:0 0 32px;display:flex;align-items:center;justify-content:center;gap:5px}.system-note svg{width:12px;height:12px}.message{display:flex;gap:10px;align-items:flex-start;margin-bottom:24px}.message>div{max-width:79%}.sender{font-size:11px;font-weight:600;margin-bottom:7px}.sender span{margin-left:10px;color:var(--muted);font-weight:400;font-size:10px}.bubble{background:white;border:1px solid #e6f1f2;box-shadow:0 2px 4px #14323303;padding:13px 16px;border-radius:0 12px 12px 12px;font-size:14px;line-height:1.65}.outgoing{justify-content:flex-end}.outgoing .bubble{background:#eefbfb;border-color:#e1f8f9;border-radius:12px 0 12px 12px}.message-meta{font-size:10px;color:var(--muted);margin-top:7px;display:flex;align-items:center;justify-content:flex-end;gap:9px}.receipt{color:var(--primary);display:inline-flex;align-items:center;gap:3px}.receipt svg{width:14px;height:14px}.attachment{display:flex;align-items:center;gap:12px;background:white;border:1px solid var(--border);border-radius:10px;padding:14px;cursor:pointer}.file-icon{padding:10px;color:#b9483b;background:#fff0ee;border-radius:8px;display:flex}.attachment strong{font-size:12px;display:block}.attachment small{display:block;color:var(--muted);margin-top:5px;font-size:10px}.attachment>svg{width:17px;color:var(--muted)}.unread-divider{display:flex;align-items:center;gap:16px;font-size:10px;color:var(--primary);margin:28px 0}.unread-divider:before,.unread-divider:after{content:'';flex:1;background:#def7f8;height:1px}blockquote{margin:0 0 10px;padding:8px 10px;border-left:3px solid var(--primary);background:#f2fcfc;border-radius:4px;font-size:12px;color:var(--muted)}blockquote strong{display:block;color:var(--primary);font-size:11px;margin-bottom:2px}.composer-area{padding:16px 28px 14px;background:#f9fefe}.composer{background:white;border:1px solid #d9edee;border-radius:12px;padding:8px;display:flex;align-items:flex-end;gap:4px;box-shadow:0 4px 12px #17323304}.composer textarea{resize:none;background:transparent;border:0;flex:1;padding:12px 4px;line-height:22px;max-height:144px;font-size:14px}.send-button{background:var(--primary);color:white;width:44px;height:44px;border-radius:9px;flex-shrink:0}.send-button svg{width:19px}.composer-help{display:flex;justify-content:space-between;font-size:10px;color:var(--muted);margin-top:9px}.composer-help strong{font-weight:500}.preview-bar{height:36px;display:flex;align-items:center;justify-content:center;gap:22px;background:white;border-top:1px solid var(--border);font-size:11px;color:var(--muted)}.preview-bar>span{display:flex;gap:6px;align-items:center}.preview-bar i{width:6px;height:6px;border-radius:50%;background:#d18b21}.preview-bar button,.preview-bar a{font-size:11px;color:var(--primary);text-decoration:underline;text-underline-offset:3px}.mobile-back{display:none}
/* Details and secondary pages reuse the same surfaces and typographic hierarchy. */
.details{width:290px;background:white;border-left:1px solid var(--border);overflow-y:auto;padding:22px}.details header{display:flex;align-items:center;justify-content:space-between}.details header h2{font-size:14px;margin:0}.group-profile{text-align:center;padding:28px 0}.group-profile>.avatar{width:66px;height:66px;font-size:22px;border-radius:20px}.group-profile h2{margin:16px 0 6px}.group-profile p{font-size:12px}.tag{font-size:11px;color:var(--primary);background:#f0fbfc;padding:6px 10px;border-radius:6px;display:inline-block;font-weight:500}.details>p{font-size:12px}.details h3{margin:24px 0 16px}.details h3 span{color:var(--muted);font-weight:400;margin-left:6px}.member{display:flex;align-items:center;gap:10px;padding:10px 0}.member strong{font-size:12px}.text-button{font-size:13px;color:var(--primary);padding:10px 0;display:inline-block}.shared-file{font-size:12px;display:flex;gap:8px;align-items:center;text-align:left}.shared-file svg{color:#b9483b}.detail-note{border-top:1px solid var(--border);padding-top:18px;margin-top:24px;font-size:12px}.single-page{overflow-y:auto}.page-content{max-width:1300px;width:100%;margin:0 auto;padding:48px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:36px}.page-heading h1{font-size:32px;margin:10px 0}.page-heading p{font-size:14px;margin:0}.directory-search{max-width:420px;margin:0 0 28px;background:white}.contact-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.contact-card{background:white;border:1px solid var(--border);border-radius:14px;padding:28px;text-align:center}.contact-card>.avatar{width:60px;height:60px;font-size:18px;border-radius:20px}.contact-card h2{font-size:16px;margin:18px 0 6px}.contact-card p{font-size:13px;margin-bottom:12px}.status-text{font-size:12px;color:var(--muted);display:block;margin-bottom:24px}.contact-card .secondary{width:100%;font-size:12px}.surface{padding:28px;border:1px solid var(--border);border-radius:14px;background:white}.surface-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.surface-title h2{margin:0}.invitation-row{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:12px;align-items:center;padding:18px 0;border-bottom:1px solid #edf5f5;font-size:13px}.table-head{font-size:10px;color:var(--muted);letter-spacing:1px}.green{background:#e6f5ed;color:var(--success)}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.profile-summary{display:flex;align-items:center;gap:14px;margin:28px 0}.profile-summary p{font-size:13px;margin:5px 0}.preference{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:24px 0;border-bottom:1px solid var(--border)}.preference strong{font-size:14px}.preference p{font-size:12px;margin:6px 0 0}.preference>svg{color:var(--muted)}.full{width:100%}label:not(.search){display:block;font-size:13px;font-weight:500;margin:20px 0}label:not(.search)>input:not([type=checkbox]){display:block;width:100%;border:1px solid var(--border);border-radius:8px;padding:13px;margin-top:8px;background:white;color:var(--text)}input[readonly]{background:#f7fcfc!important}.field-help{font-size:12px;color:var(--muted);line-height:50px}.error{color:var(--error);font-size:12px}input[aria-invalid="true"]{border-color:var(--error)!important}
/* Onboarding uses a calm brand panel and an independent, labeled form panel. */
.auth-workspace{overflow-y:auto}.auth-story{width:50%;background:#eefbfb;display:flex;flex-direction:column;justify-content:space-between;padding:48px;color:#00646b;min-height:100%}.auth-wordmark{font-size:24px;font-weight:750;letter-spacing:-1px}.auth-wordmark span{font-weight:400}.auth-brand-icon{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;margin-right:10px;border-radius:12px;background:#007c83;color:#fff;vertical-align:middle;box-shadow:0 3px 8px #007c8320}.auth-brand-icon svg{width:25px;height:25px}.auth-wordmark>span:last-child{font-weight:700}.auth-wordmark>span:last-child span{font-weight:400}.auth-story h1{font-size:clamp(30px,3.2vw,52px);line-height:1.15;margin:20px 0}.auth-story p{font-size:15px;color:#408184}.auth-story .eyebrow{color:#408184}.story-card{display:flex;align-items:center;gap:16px;margin-top:40px;padding:24px;background:#ffffffb0;border:1px solid white;border-radius:14px;transform:rotate(-3deg)}.story-card strong{font-size:14px}.story-card p{font-size:12px;margin:6px 0 0}.auth-form{flex:1;min-width:0;padding:32px 9%;display:flex;flex-direction:column;justify-content:space-between;background:white;gap:32px}.auth-form>div{width:100%;max-width:400px;margin:auto}.auth-form h1{font-size:30px;margin:20px 0 10px}.auth-form p{font-size:14px}.auth-form .field-help{font-size:12px}.auth-switch{text-align:center;margin-top:24px}.auth-options{display:flex;gap:16px;flex-wrap:wrap;margin:24px 0;font-size:12px}.verification-icon{margin:32px 0;color:var(--primary)}.verification-icon svg{width:50px;height:50px}.auth-form>small{text-align:center;color:var(--muted)}
/* Modal previews are keyboard accessible via the native dialog element. */
dialog{border:1px solid var(--border);border-radius:18px;padding:28px;width:min(500px,calc(100vw - 32px));max-height:85dvh;overflow:auto;box-shadow:0 24px 90px #155e6133;color:var(--text)}dialog::backdrop{background:#17323366;backdrop-filter:blur(3px)}.modal-header{display:flex;align-items:center;justify-content:space-between;gap:16px}.modal-header h2{font-size:21px;margin:0}.modal-description{font-size:14px;margin:12px 0 24px}.member-select{display:flex!important;margin:0!important;border-bottom:1px solid #edf5f5}.member-select input{margin-left:auto;width:18px;height:18px}.person-choice{width:100%;text-align:left;border-radius:8px;padding:12px}.person-choice:hover{background:#f4fcfd}.state-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.state-grid button{font-size:12px}.document-preview{background:#edf8f8;padding:24px;margin:24px 0;border-radius:10px}.document-sheet{background:white;aspect-ratio:0.77;padding:28px;box-shadow:0 4px 12px #17323312;border-top:6px solid var(--primary)}.document-sheet>span{font-size:9px;letter-spacing:2px;color:var(--primary)}.document-sheet h2{font-size:30px;margin-top:30px}.document-lines{height:65px;background:repeating-linear-gradient(0deg,#def7f8 0,#def7f8 8px,transparent 8px,transparent 16px);margin-bottom:20px}.document-sheet p{font-size:13px}.document-sheet small{font-size:9px}.file-caption{display:flex;flex-direction:column;gap:6px;font-size:13px}.file-caption span{font-size:12px;color:var(--muted)}progress{display:block;width:100%;margin-top:12px;accent-color:var(--primary)}.search-result{padding:16px;border:1px solid var(--border);border-radius:10px;font-size:13px}.search-result small{color:var(--muted);margin-left:8px}.search-result p{margin:10px 0 0}mark{background:#fff0b0}.empty{display:flex;align-items:center;justify-content:center;text-align:center;flex-direction:column;height:100%;min-height:250px}.empty>svg,.empty-icon svg{width:48px;height:48px;color:var(--primary);margin-bottom:20px}.empty h2{font-size:23px}.empty p{font-size:14px}.list-empty{padding:32px 16px;text-align:center}.list-empty h3{font-size:14px}.list-empty p{font-size:12px}.connection-banner{padding:12px 24px;background:#fff3d9;color:#76510a;font-size:12px}.typing{font-size:12px;color:var(--primary);padding:8px 42px}.typing span{color:var(--muted);margin-left:10px}.skeleton{padding:40px 0}.skeleton i{display:block;width:65%;height:65px;border-radius:12px;background:linear-gradient(90deg,#e7f6f7,#f5fcfc,#e7f6f7);background-size:200% 100%;margin-bottom:32px;animation:shimmer 1.5s infinite}.skeleton i:nth-child(even){margin-left:auto;width:50%}@keyframes shimmer{to{background-position:-200% 0}}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
/* Collapse secondary panels first; mobile uses one screen at a time. */
@media(min-width:1500px){.message-history{padding-left:7%;padding-right:7%}.bubble{font-size:16px}.conversation-title strong{font-size:14px}.conversation-preview>span{font-size:13px}}
@media(max-width:1200px){.details{width:260px}.with-details .sidebar{width:300px}.message-history{padding:24px}.auth-form{padding:32px 5%}.contact-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1023px){.with-details .details{position:absolute;right:0;top:0;bottom:36px;z-index:5;box-shadow:-12px 0 40px #17323312;width:300px}.sidebar,.with-details .sidebar{width:300px}.chat-header{padding:16px}.message-history{padding:20px}.message>div{max-width:86%}.composer-area{padding:12px 16px}.sidebar-invite{display:none}.page-content{padding:32px}.settings-grid{grid-template-columns:1fr}.auth-story{padding:32px}.auth-story br{display:none}}
@media(max-width:767px){.app-shell{height:calc(100dvh - 48px)}.rail{width:60px;padding:18px 4px;gap:28px}.rail a:not(.brand){height:56px}.rail small{font-size:10px}.brand{width:38px;height:38px;font-size:25px;line-height:35px}.sidebar,.with-details .sidebar{width:100%;border-right:0}.chat-panel{display:none}.mobile-chat .sidebar{display:none}.mobile-chat .chat-panel{display:flex}.mobile-chat .rail{display:none}.mobile-back{display:inline-flex}.chat-header{gap:8px;padding:12px;min-height:78px}.chat-header>.avatar{width:36px;height:36px;font-size:12px}.header-name h2{font-size:14px}.header-name p{font-size:10px}.chat-header .icon-button{width:36px;min-height:44px}.message-history{padding:20px 14px}.message>div{max-width:85%}.bubble{font-size:14px;padding:11px 13px}.system-note{font-size:9px;margin-bottom:24px}.composer-area{padding:10px 10px max(10px,env(safe-area-inset-bottom))}.composer-help{font-size:9px}.composer .icon-button{width:32px}.composer textarea{font-size:16px}.preview-bar{height:48px;gap:6px 14px;flex-wrap:wrap;padding:5px 8px;font-size:10px}.preview-bar button,.preview-bar a{font-size:10px}.with-details .details{bottom:48px;width:min(320px,100vw)}.page-content{padding:24px 18px}.page-heading{align-items:flex-start;flex-direction:column;gap:16px;margin-bottom:24px}.page-heading h1{font-size:28px}.page-heading p{font-size:13px}.contact-grid{grid-template-columns:1fr}.invitation-row{grid-template-columns:1fr 1fr;font-size:12px}.invitation-row strong{overflow-wrap:anywhere}.table-head{display:none}.surface{padding:20px}.auth-story{display:none}.auth-form{padding:28px 20px}.auth-form h1{font-size:28px}.auth-options{gap:14px}.sidebar-title{padding-top:24px}.sidebar-title .eyebrow{font-size:9px}.conversation-title strong{font-size:14px}.conversation-preview>span{font-size:12px}.conversation-title time{font-size:10px}.state-grid{grid-template-columns:1fr 1fr}.attachment{gap:8px;padding:10px}.attachment strong{font-size:11px}.attachment>svg{display:none}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;scroll-behavior:auto!important;transition:none!important}}

/* First-load brand moment while the workspace's initial screen is rendered. */
.startup-loader{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;overflow:hidden;padding:24px;background:radial-gradient(ellipse at 50% 42%,#f0fbfc 0,#e7f9fa 38%,#def7f8 100%);transition:opacity 280ms ease,visibility 280ms ease}
.startup-loader:before,.startup-loader:after{content:'';position:absolute;width:420px;height:420px;border:1px solid #ffffff80;border-radius:50%;pointer-events:none}
.startup-loader:before{transform:translate(-46%,-38%)}
.startup-loader:after{width:560px;height:560px;transform:translate(42%,24%)}
.startup-loader.is-exiting{opacity:0;visibility:hidden;pointer-events:none}
.startup-card{position:relative;z-index:1;width:min(100%,460px);padding:48px 40px 38px;text-align:center;background:#ffffffd9;border:1px solid #ffffff;border-radius:26px;box-shadow:0 28px 80px #00646b20,0 4px 14px #00646b10;backdrop-filter:blur(16px);animation:startup-arrive 650ms cubic-bezier(.2,.8,.2,1) both}
.startup-brand{width:68px;height:68px;display:grid;place-items:center;margin:0 auto 12px;border-radius:22px;background:linear-gradient(145deg,#007c83,#007c83);color:#fff;box-shadow:0 12px 24px #007c8345}
.startup-brand svg{width:34px;height:34px}
.startup-name{display:block;margin-bottom:24px;font-size:19px;font-weight:700;letter-spacing:-.5px;color:#204749}
.startup-name span{font-weight:400}
.startup-eyebrow{font-size:10px;font-weight:700;letter-spacing:2px;color:#007c83}
.startup-card h1{margin:14px 0 10px;font-size:30px;line-height:1.22;letter-spacing:-1px;color:#1b4345}
.startup-card p{margin:0 0 24px;font-size:14px;color:#63738b}
.startup-progress{height:4px;width:min(100%,210px);margin:0 auto 16px;overflow:hidden;border-radius:99px;background:#dcf7f8}
.startup-progress span{display:block;width:42%;height:100%;border-radius:inherit;background:linear-gradient(90deg,#007c83,#8be2e6);animation:startup-progress 1.15s ease-in-out infinite}
.startup-caption{font-size:11px;font-weight:500;letter-spacing:.3px;color:#8290a4}
@keyframes startup-arrive{from{opacity:0;transform:translateY(12px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes startup-progress{from{transform:translateX(-110%)}to{transform:translateX(250%)}}
@media(max-width:480px){.startup-card{padding:40px 24px 32px;border-radius:22px}.startup-card h1{font-size:26px}.startup-brand{width:60px;height:60px;border-radius:20px}}
@media(prefers-reduced-motion:reduce){.startup-loader,.startup-card,.startup-progress span{animation:none;transition:none}}
.startup-logo{display:block;width:min(180px,55vw);height:auto;margin:0 auto 4px}
.startup-name{margin:0 0 24px;font-size:15px;font-weight:600;letter-spacing:1px;color:#294344}
.auth-wordmark{display:flex;align-items:center;gap:8px}
.auth-brand-logo{display:block;width:104px;height:auto}
.auth-product-name{font-size:18px;font-weight:500;letter-spacing:0;color:#294344}

.colleague-results { padding: 12px 0; border-top: 1px solid var(--border, #729393); }
.colleague-results > h3, .colleague-results > p { margin: 8px 20px; font-size: 13px; }
.colleague-result { text-decoration: none; color: inherit; }
.colleague-result strong { font-size: 14px; }
.colleague-invite { display: flex; align-items: center; gap: 6px; margin-top: 7px; font-size: 12px; color: var(--accent, #00858d); }
.colleague-invite svg { width: 15px; height: 15px; }

.chat-requests { padding: 12px 16px; border-bottom: 1px solid var(--border, #729393); }
.chat-requests h3 { font-size: 13px; margin: 4px 0 10px; }
.chat-requests > p:empty { display: none; }
.chat-request { padding: 12px; margin: 8px 0; border: 1px solid var(--border, #729393); border-radius: 10px; }
.chat-request strong, .chat-request small { display: block; overflow-wrap: anywhere; }
.chat-request small, .chat-request p, .chat-requests > p { font-size: 12px; line-height: 1.5; }
.chat-request .primary { padding: 7px 16px; }

/* Shared files in the conversation info panel. */
.details{overflow-y:auto;min-height:0}
.conversation-attachments{margin-top:24px;padding-top:20px;border-top:1px solid var(--border)}
.info-attachment{padding:12px 0;border-bottom:1px solid var(--border);min-width:0}
.info-attachment-meta{display:flex;flex-direction:column;gap:5px;margin-bottom:9px;font-size:12px}
.info-attachment-meta strong{color:var(--primary);overflow-wrap:anywhere}
.info-attachment-meta time,.attachment-info-status{font-size:11px;color:var(--muted);line-height:1.5}
.info-attachment .shared-attachment{min-width:0;width:100%}
.info-attachment .sent-file{min-width:0;flex:1}
.info-attachment .sent-file span{min-width:0;overflow-wrap:anywhere;white-space:normal}
.info-attachment .sent-file img{width:40px;height:40px;object-fit:cover;flex-shrink:0}
.conversation-attachments .secondary{margin-top:12px;font-size:12px}
