/* Projects, conversations and permanent rooms share the Era surface system. */
#era-panel-layout .ex-page{max-width:1280px;margin:0 auto;min-width:0;color:#1a1b1e}
#era-panel-layout .ex-toolbar{display:flex;gap:16px;justify-content:space-between;align-items:center;flex-wrap:wrap;margin-bottom:32px}
#era-panel-layout .ex-tabs{display:flex;gap:6px;flex-wrap:wrap;padding:5px;border-radius:22px;background:#f4f5f7;width:fit-content}
#era-panel-layout .ex-tabs a,#era-panel-layout .ex-tabs button{padding:12px 18px;border:0;background:transparent;border-radius:18px;color:#828995;font:inherit;text-decoration:none;cursor:pointer}
#era-panel-layout .ex-tabs [aria-current=page],#era-panel-layout .ex-tabs [aria-pressed=true]{background:#fff;color:#1a1b1e;box-shadow:0 4px 15px #1a1b1e08}
#era-panel-layout .ex-search{display:flex;gap:12px;align-items:center;background:#f5f6f8;border-radius:20px;padding:0 18px;min-width:220px;flex:1;max-width:440px}
#era-panel-layout .ex-search input{width:100%;height:52px;padding:0;border:0;box-shadow:none!important;background:transparent;color:inherit;font:inherit;outline:0}
#era-panel-layout .ex-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
#era-panel-layout .ex-palette-graphite{--ex-accent:#4c535f;--ex-wash:#edf0f4;--ex-glow:#4c535f18}
#era-panel-layout .ex-palette-violet{--ex-accent:#8754c8;--ex-wash:#f4effb;--ex-glow:#8754c825}
#era-panel-layout .ex-palette-blue{--ex-accent:#3976b9;--ex-wash:#edf4fc;--ex-glow:#3976b925}
#era-panel-layout .ex-palette-emerald{--ex-accent:#2b8b76;--ex-wash:#edf7f2;--ex-glow:#2b8b7625}
#era-panel-layout .ex-palette-amber{--ex-accent:#a77a29;--ex-wash:#fcf6e9;--ex-glow:#a77a2925}
#era-panel-layout .ex-palette-rose{--ex-accent:#bc6688;--ex-wash:#fcf0f5;--ex-glow:#bc668825}
#era-panel-layout .ex-card{position:relative;display:flex;flex-direction:column;gap:22px;padding:28px;border:0;border-radius:30px;background:linear-gradient(145deg,#fff 12%,var(--ex-wash,#f5f6f8));box-shadow:0 8px 32px #20273706;transition:transform .35s,box-shadow .35s;text-decoration:none;color:inherit;min-width:0;overflow:hidden}
#era-panel-layout a.ex-card:hover{transform:translateY(-5px);box-shadow:0 18px 46px var(--ex-glow,#20273712)}
#era-panel-layout .ex-card-top{display:flex;justify-content:space-between;align-items:center;gap:12px}
#era-panel-layout .ex-logo{width:58px;height:58px;display:grid;place-items:center;flex-shrink:0;border-radius:19px;background:var(--ex-wash,#f0f2f5);color:var(--ex-accent,#545c6a);font-size:25px;font-weight:700}
#era-panel-layout .ex-club{display:inline-flex;align-items:center;gap:6px;color:#b68c32;font-size:12px;letter-spacing:.1em;font-weight:700}
#era-panel-layout .ex-card h2{font-family:inherit;font-weight:700;font-size:22px;line-height:1.3;margin:0;letter-spacing:-.04em}
#era-panel-layout .ex-card p{font-size:14px;line-height:1.7;color:#7b8492;margin:10px 0 0;overflow-wrap:anywhere}
#era-panel-layout .ex-card-meta{display:flex;gap:9px;flex-wrap:wrap;color:var(--ex-accent);font-size:12px}
#era-panel-layout .ex-revenue{margin-top:auto;padding-top:18px;display:flex;flex-direction:column;gap:6px}
#era-panel-layout .ex-revenue strong{font-size:26px;letter-spacing:-.04em;font-weight:600}
#era-panel-layout .ex-muted{color:#8993a2;font-size:13px;line-height:1.7}
#era-panel-layout .ex-card-foot{display:flex;justify-content:space-between;gap:12px;font-size:12px;color:#8791a0}
#era-panel-layout .ex-hiring{color:var(--ex-accent);display:flex;gap:6px;align-items:center}
#era-panel-layout .ex-intro{max-width:660px;font-size:16px;line-height:1.8;color:#818b9b;margin:0 0 32px}
#era-panel-layout .ex-status{font-size:12px;color:#8490a0;background:#f1f3f6;padding:7px 11px;border-radius:12px;display:inline-block}
#era-panel-layout .ex-status[data-status=pending]{color:#9a782b;background:#fbf5e8}
#era-panel-layout .ex-status[data-status=declined]{color:#bb5555;background:#fff1f1}
#era-panel-layout .ex-status[data-status=approved]{color:#36846c;background:#edf8f3}
#era-panel-layout .ex-detail-head{padding:38px;border-radius:34px;background:linear-gradient(120deg,var(--ex-wash),#fff);display:flex;gap:24px;align-items:center;margin-bottom:32px}
#era-panel-layout .ex-detail-head h2{font-size:clamp(27px,3vw,42px);line-height:1.2;letter-spacing:-.06em;margin:9px 0}
#era-panel-layout .ex-detail-head p{margin:0;color:#7f8998;line-height:1.8;max-width:700px}
#era-panel-layout .ex-detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:36px;align-items:start}
#era-panel-layout .ex-section{padding:30px 0;margin-bottom:14px}
#era-panel-layout .ex-section h3,#era-panel-layout .ex-form h2{font-size:23px;letter-spacing:-.045em;margin:0 0 22px}
#era-panel-layout .ex-prose{white-space:pre-wrap;line-height:1.9;color:#727e90;overflow-wrap:anywhere}
#era-panel-layout .ex-surface{background:#f7f8fa;border-radius:28px;padding:28px;min-width:0}
#era-panel-layout .ex-manager{position:sticky;top:28px;text-align:center;display:flex;gap:14px;flex-direction:column;align-items:center}
#era-panel-layout .ex-avatar{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;background:#e8ecf2;color:#7d899a;flex-shrink:0;overflow:hidden}
#era-panel-layout .ex-avatar img{width:100%;height:100%;object-fit:cover;border:0}
#era-panel-layout .ex-manager .ex-avatar{width:76px;height:76px;font-size:28px}
#era-panel-layout .ex-manager h3{margin:8px 0 0;font-size:20px}
#era-panel-layout .ex-manager p{margin:0}
#era-panel-layout .ex-chart{width:100%;height:190px;display:block;overflow:visible}
#era-panel-layout .ex-chart line{stroke:#eaedf3;stroke-width:1}
#era-panel-layout .ex-chart polyline{fill:none;stroke:var(--ex-accent,#677589);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
#era-panel-layout .ex-chart circle{fill:var(--ex-accent,#677589);stroke:#fff;stroke-width:3}
#era-panel-layout .ex-chart text{font:10px sans-serif;fill:#9aa3b0}
#era-panel-layout .ex-report-table{width:100%;border-collapse:collapse;font-size:13px;margin-top:20px}
#era-panel-layout .ex-report-table th,#era-panel-layout .ex-report-table td{text-align:left;padding:12px 8px;border-bottom:1px solid #edf0f4;font-weight:400}
#era-panel-layout .ex-report-table th{color:#96a0ae}
#era-panel-layout .ex-role{padding:28px;background:#f7f8fa;border-radius:26px;margin:14px 0;display:grid;gap:18px}
#era-panel-layout .ex-role h4{font-size:21px;margin:0;letter-spacing:-.04em}
#era-panel-layout .ex-role-pay{font-size:21px;font-weight:600}
#era-panel-layout .ex-role-meta{color:#8a95a4;font-size:13px;line-height:1.7}
#era-panel-layout .ex-role details summary{cursor:pointer;color:#6a788c;font-size:14px;list-style:none;display:flex;align-items:center;gap:8px}
#era-panel-layout .ex-role details summary::-webkit-details-marker{display:none}
#era-panel-layout .ex-form{max-width:880px;margin:auto;display:grid;gap:28px}
#era-panel-layout .ex-form .ep-field{margin-bottom:18px}
#era-panel-layout .ex-form .ep-input{background:#fff;border:1px solid #e7ebf1;border-radius:17px;box-shadow:none;min-height:52px}
#era-panel-layout .ex-form :is(input,textarea,select):focus-visible{outline:2px solid #b9c4d4;outline-offset:3px}
#era-panel-layout .ex-form-columns{display:grid;grid-template-columns:1fr 1fr;gap:20px}
#era-panel-layout .ex-palette-options{display:flex;gap:12px;flex-wrap:wrap}
#era-panel-layout .ex-color{cursor:pointer;display:flex;gap:7px;align-items:center;font-size:12px;color:#7d8898}
#era-panel-layout .ex-color input{accent-color:var(--ex-accent);width:17px;height:17px}
#era-panel-layout .ex-color span{height:28px;width:28px;border-radius:50%;background:var(--ex-accent);box-shadow:0 4px 15px var(--ex-glow)}
#era-panel-layout .ex-report-row{display:grid;grid-template-columns:1fr 1fr 1fr 40px;gap:10px;align-items:end;margin:14px 0}
#era-panel-layout .ex-report-row .ep-field{margin:0}
#era-panel-layout .ex-report-row label{font-size:12px}
#era-panel-layout .ex-note{font-size:13px;line-height:1.8;color:#8b96a5;margin:16px 0 0}
#era-panel-layout .ex-review{display:flex;flex-direction:column;gap:12px;background:#f6f7f9;border-radius:22px;padding:22px;margin:12px 0}
#era-panel-layout .ex-review h3{margin:0;font-size:18px}
#era-panel-layout .ex-form-submit{display:flex;justify-content:flex-end;gap:12px;flex-wrap:wrap}
#era-panel-layout .ex-lounge-head{display:flex;gap:9px;align-items:center;font-size:12px;color:#829586}
#era-panel-layout .ex-online-dot{height:7px;width:7px;border-radius:50%;background:#79a18a}
#era-panel-layout .ex-lounge .ex-card{gap:24px}
#era-panel-layout .ex-lounge .ex-card p{min-height:45px}
#era-panel-layout .ex-invite-link{padding:18px;border-radius:18px;background:#eef1f5;overflow-wrap:anywhere;font-size:13px}
/* Messenger: quiet list, durable conversation, a composer that never jumps. */
#era-panel-layout .em-shell{height:min(780px,calc(100dvh - 170px));min-height:540px;display:grid;grid-template-columns:300px minmax(0,1fr);gap:0;background:#fff;border-radius:30px;overflow:hidden;box-shadow:0 8px 60px #26374d07}
#era-panel-layout .em-list{background:#f8f9fb;padding:22px 12px;display:flex;flex-direction:column;min-height:0;min-width:0}
#era-panel-layout .em-list .ex-search{min-width:0;width:100%;max-width:none;box-sizing:border-box;background:#eef0f4}
#era-panel-layout .em-list .ex-tabs{margin:16px 0;width:100%;box-sizing:border-box}
#era-panel-layout .em-list .ex-tabs button{flex:1;font-size:12px;padding:10px}
#era-panel-layout .em-list-items{overflow:auto;flex:1}
#era-panel-layout .em-person{display:flex;align-items:center;gap:12px;width:100%;padding:15px 12px;background:transparent;border:0;border-radius:20px;text-align:left;font:inherit;cursor:pointer;min-width:0;color:#303947;transition:background .2s}
#era-panel-layout .em-person:hover,#era-panel-layout .em-person[aria-current=page]{background:#fff}
#era-panel-layout .em-person .ex-avatar{width:44px;height:44px;font-size:17px}
#era-panel-layout .em-person-copy{min-width:0;flex:1;display:grid;gap:6px}
#era-panel-layout .em-person-copy strong{font-size:14px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#era-panel-layout .em-person-copy small{font-size:12px;color:#98a2b0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#era-panel-layout .em-person-meta{display:flex;flex-direction:column;align-items:flex-end;gap:9px;font-size:10px;color:#a0a9b6}
#era-panel-layout .em-badge{background:#252a32;color:#fff;border-radius:20px;min-width:19px;height:19px;display:grid;place-items:center;font-size:10px}
#era-panel-layout .em-conversation{display:flex;flex-direction:column;min-width:0;min-height:0}
#era-panel-layout .em-empty{height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:30px;box-sizing:border-box;gap:18px;color:#9aa4b3}
#era-panel-layout .em-empty>svg{width:42px;height:42px;color:#bac3cf}
#era-panel-layout .em-empty h2{font-size:23px;color:#343d49;margin:0}
#era-panel-layout .em-empty p{max-width:340px;line-height:1.8;font-size:14px;margin:0}
#era-panel-layout .em-head{display:flex;gap:12px;align-items:center;padding:20px 26px;background:#ffffffed;flex-shrink:0}
#era-panel-layout .em-head-copy{flex:1;min-width:0}.em-head-copy a{color:inherit;text-decoration:none}
#era-panel-layout .em-head h2{font-size:17px;margin:0 0 4px;letter-spacing:-.03em}
#era-panel-layout .em-tools{display:flex;gap:6px}
#era-panel-layout .em-context{padding:10px 26px;color:#8a95a6;font-size:12px;background:#fafbfd}
#era-panel-layout .em-messages{flex:1;min-height:0;overflow:auto;padding:28px;display:flex;flex-direction:column;gap:13px;scroll-behavior:smooth}
#era-panel-layout .em-message{max-width:80%;align-self:flex-start;display:flex;flex-direction:column;gap:5px;min-width:80px}
#era-panel-layout .em-message.is-mine{align-self:flex-end}
#era-panel-layout .em-bubble{background:#f1f3f7;border-radius:21px 21px 21px 7px;padding:13px 17px;line-height:1.7;font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere}
#era-panel-layout .is-mine .em-bubble{background:#272b32;color:#fff;border-radius:21px 21px 7px 21px}
#era-panel-layout .em-message-foot{display:flex;gap:9px;align-items:center;font-size:10px;color:#a6aebb;padding:0 6px;justify-content:flex-end}
#era-panel-layout .em-message-foot button{border:0;padding:2px;background:transparent;color:inherit;cursor:pointer;opacity:0;transition:opacity .2s}
#era-panel-layout .em-message:hover .em-message-foot button,#era-panel-layout .em-message:focus-within .em-message-foot button{opacity:1}
#era-panel-layout .em-message-foot svg{width:12px;height:12px}
#era-panel-layout .em-message-foot .ep-danger{color:#bf5555}
#era-panel-layout .em-composer{padding:18px 24px 24px;flex-shrink:0;display:grid;gap:10px}
#era-panel-layout .em-composer form{display:flex;align-items:flex-end;gap:12px;background:#f4f6f9;padding:9px;border-radius:24px}
#era-panel-layout .em-composer textarea{resize:none;min-width:0;width:100%;max-height:140px;min-height:46px;padding:13px 10px;border:0;border-radius:16px;background:transparent;font:inherit;font-size:14px;line-height:1.6;outline:0;box-sizing:border-box}
#era-panel-layout .em-send{border:0;background:#24272d;color:#fff;width:46px;height:46px;display:grid;place-items:center;border-radius:17px;flex-shrink:0;cursor:pointer}
#era-panel-layout .em-request{padding:18px 24px;background:#f8f9fb;color:#8793a4;font-size:13px;line-height:1.8}
#era-panel-layout .em-request .ep-row{margin-top:12px}
#era-panel-layout .em-file{color:inherit;text-decoration:none;display:flex;align-items:center;gap:12px;white-space:normal;overflow-wrap:anywhere}
#era-panel-layout .em-mobile-back{display:none}
#era-panel-layout .em-progress{width:100%;height:4px;accent-color:#7f8da4}
#era-panel-layout .em-nav-unread{width:6px;height:6px;border-radius:50%;background:#343b48;display:inline-block;margin-left:auto}
@media(min-width:1600px){#era-panel-layout .em-shell{grid-template-columns:340px minmax(0,1fr)}}
@media(max-width:1150px){#era-panel-layout .ex-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#era-panel-layout .ex-detail-grid{grid-template-columns:minmax(0,1fr) 240px;gap:24px}#era-panel-layout .em-shell{grid-template-columns:250px minmax(0,1fr)}}
@media(max-width:760px){#era-panel-layout .ex-detail-grid{grid-template-columns:minmax(0,1fr)}#era-panel-layout .ex-manager{position:static;text-align:left;align-items:flex-start}#era-panel-layout .ex-form-columns{grid-template-columns:1fr;gap:0}#era-panel-layout .ex-detail-head{padding:24px;align-items:flex-start}#era-panel-layout .ex-detail-head .ex-logo{width:46px;height:46px;font-size:20px}#era-panel-layout .ex-report-row{grid-template-columns:1fr 1fr;gap:12px;padding:16px;background:#eef1f6;border-radius:20px}#era-panel-layout .ex-report-row>button{justify-self:end}#era-panel-layout .em-shell{display:block;height:calc(100dvh - 160px);min-height:480px;position:relative;border-radius:22px}#era-panel-layout .em-list,#era-panel-layout .em-conversation{height:100%;box-sizing:border-box}#era-panel-layout .em-conversation{display:none}#era-panel-layout .em-shell.has-chat .em-list{display:none}#era-panel-layout .em-shell.has-chat .em-conversation{display:flex}#era-panel-layout .em-mobile-back{display:grid}#era-panel-layout .em-head{padding:16px 12px}#era-panel-layout .em-messages{padding:18px}#era-panel-layout .em-composer{padding:12px}#era-panel-layout .em-tools{gap:0}#era-panel-layout .em-message{max-width:90%}}
@media(max-width:520px){#era-panel-layout .ex-grid{grid-template-columns:minmax(0,1fr)}#era-panel-layout .ex-card{padding:24px}#era-panel-layout .ex-toolbar{gap:14px}#era-panel-layout .ex-search{max-width:none;width:100%;min-width:0}#era-panel-layout .ex-tabs a{padding:11px 13px;font-size:12px}#era-panel-layout .ex-surface{padding:22px}#era-panel-layout .ex-role{padding:23px}#era-panel-layout .ex-detail-head{flex-direction:column}#era-panel-layout .ex-form-submit .ep-button{width:100%}}
@media(prefers-reduced-motion:reduce){#era-panel-layout .ex-card,#era-panel-layout .em-messages{transition:none;scroll-behavior:auto}}
#era-panel-layout .em-list .ex-search{flex:0 0 48px;height:48px;max-height:48px}
#era-panel-layout .em-list .ex-search input{height:48px}
@media(max-width:600px){
 #era-panel-layout .ep-shell{grid-template-columns:minmax(0,1fr)}
 #era-panel-layout .ep-sidebar{min-width:0;width:100%}
 #era-panel-layout .ep-nav{min-width:0;width:100%;max-width:100%}
 #era-panel-layout .ep-top-tools{min-width:0;max-width:100%}
 #era-panel-layout .em-shell{height:calc(100dvh - 340px);min-height:430px}
 #era-panel-layout .em-message-foot button{opacity:1}
}
