/* Approved Team desk shell. Client-only layout overrides; colours, fonts and the navy/readable-orange pair come from theme.css. */
.client-layout {
  --ground:#f6f5f1; --card:#fffefa; --soft:#eef1e9; --hairline:#dce0d6; --line-2:#cbd2c5;
  --ink:#262d27; --ink-2:#465344; --muted:#646e63; --muted-2:#646e63;
  --ember:#985333; --ember-hover:#82452b; --on-ember:#fffef7;
  --fs-page:30px; --fs-card:18px; --fs-body:14px; --fs-secondary:14px; --fs-small:12px;
  --track-head:-.025em; --track-btn:0; --control-main:44px;
  --radius-card:12px; --radius-btn:8px;
  display:grid; grid-template-columns:220px minmax(0,1fr); min-height:100dvh;
  background:var(--ground); color:var(--ink); font:400 14px/1.5 var(--font-ui);
}
[data-theme="dark"] .client-layout {
  --ground:#191e1b; --card:#232a24; --soft:#2b342d; --hairline:#39433a; --line-2:#4c5a4d;
  --ink:#f0f1e8; --ink-2:#d0d8ca; --muted:#aab6a7; --muted-2:#aab6a7;
  --ember:#c47e57; --ember-hover:#d58d64; --on-ember:#191e1b;
}
.client-layout .frame { position:sticky; top:0; height:100dvh; background:var(--soft); border:0; border-right:1px solid var(--hairline); padding:28px 16px 18px; overflow:auto; }
.client-layout .frame-bar { display:flex; flex-direction:column; align-items:stretch; gap:0; padding:0; height:100%; }
.client-layout .brand { padding:0 12px 24px; min-width:0; }
.client-wordmark { display:block; width:max-content; font-size:25px; font-weight:600; line-height:.95; letter-spacing:-1.4px; color:var(--ink); text-decoration:none; margin:0 0 24px; }
.client-wordmark span { font-size:11px; letter-spacing:-.3px; }
.client-layout .company { font:600 13px/1.5 var(--font-ui); white-space:normal; overflow-wrap:anywhere; }
.client-layout .byline { font-size:12px; margin:4px 0 0; }
.client-layout .screen-tabs { position:static; display:flex; flex-direction:column; flex:0 0 auto; gap:4px; padding:0; border:0; background:transparent; }
.client-layout .screen-tabs a, .client-layout .screen-tabs a.wide { display:flex; flex-direction:row; justify-content:flex-start; padding:10px 12px; min-height:44px; font:500 14px/1.4 var(--font-ui); letter-spacing:0; text-transform:none; border-radius:8px; color:var(--ink-2); }
.client-layout .screen-tabs a[aria-current="page"] { background:var(--navy-soft); color:var(--navy); font-weight:600; }
.client-layout .screen-tabs svg { display:none; }
.client-layout .screen-tabs .count { position:static; margin-left:auto; }
.sidebar-team { margin-top:auto; padding:28px 12px 20px; color:var(--muted); font-size:12px; }
.sidebar-team a { display:flex; width:max-content; padding:8px 0; text-decoration:none; }
.sidebar-team b { display:grid; place-items:center; width:32px; height:32px; background:var(--card); border:1px solid var(--hairline); border-radius:50%; color:var(--navy); margin-right:-3px; }
.client-layout .frame-right { margin:0; display:flex; flex-wrap:wrap; border-top:1px solid var(--hairline); padding-top:12px; }
.client-layout .more-btn { position:static; display:flex; flex-direction:row; width:100%; justify-content:flex-start; border:0; background:transparent; }
.client-layout .more-btn .initials { display:grid; place-items:center; width:32px; height:32px; border-radius:50%; background:var(--navy-soft); color:var(--navy); }
.client-layout .more-btn .more-word { display:block; text-transform:none; letter-spacing:0; color:var(--ink); margin-left:8px; }
.client-layout .back { position:static; margin-top:8px; }
.client-main { min-width:0; }
.client-topline { display:flex; align-items:center; gap:12px; min-height:64px; padding:12px 32px; border-bottom:1px solid var(--hairline); color:var(--muted); font-size:12px; }
.client-topline span:first-child { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.client-topline a { margin-left:auto; flex-shrink:0; display:flex; align-items:center; min-height:44px; }
.client-layout .content { max-width:1440px; padding:32px; margin:0 auto; }
.client-layout .msg-panes { grid-template-columns:minmax(180px,240px) minmax(0,1fr) minmax(260px,.9fr); }
.client-layout h1, .client-layout h2, .client-layout h3 { font-family:var(--font-ui); text-transform:none; letter-spacing:-.025em; }
.client-layout h1 { font-size:30px; line-height:1.2; font-weight:600; }
.client-layout h2 { font-size:17px; line-height:1.4; font-weight:600; }
.client-layout h3 { font-size:16px; line-height:1.4; font-weight:600; }
.client-layout .btn, .client-layout .chip { text-transform:none; letter-spacing:0; }
.client-layout .btn { font-size:13px; }
.client-layout .chip { font-size:11px; font-weight:500; }
.client-layout .m-enter, .client-layout .m-enter *, .client-layout .m-stagger > * { animation:none !important; }
.desk-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:30px; }
.desk-heading h1 { margin:5px 0 0; }
.desk-eyebrow { margin:0; color:var(--muted); font-size:12px; }
.desk-photo-estimate { padding:24px; margin-bottom:28px; border:1px solid var(--navy); border-radius:var(--radius-card); background:var(--navy-soft); }
.client-layout .desk-photo-estimate h2 { margin:0 0 8px; font-size:22px; }
.desk-photo-estimate p { margin:0; max-width:64ch; }
.desk-photo-actions { display:flex; align-items:flex-end; flex-wrap:wrap; gap:20px 28px; margin-top:20px; }
.desk-photo-actions > .btn { min-height:48px; }
.desk-photo-actions form { flex:1 1 280px; min-width:0; max-width:580px; }
.desk-photo-actions label { display:block; margin-bottom:6px; font-weight:600; }
.desk-photo-select { display:flex; gap:10px; }
.desk-photo-select select { flex:1; min-width:0; width:100%; min-height:48px; font-size:16px; text-overflow:ellipsis; }
.desk-photo-select .btn { flex-shrink:0; min-height:48px; }
.desk-photo-estimate .desk-photo-steps { margin-top:18px; color:var(--ink-2); font-size:13px; }
@media(max-width:600px) {
  .desk-photo-estimate { padding:18px; }
  .desk-photo-actions > .btn, .desk-photo-actions form { width:100%; max-width:none; }
  .desk-photo-select { flex-wrap:wrap; }
  .desk-photo-select select { flex-basis:100%; }
  .desk-photo-select .btn { width:100%; }
}
.desk-columns { display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:26px; }
.desk-section-head { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:16px; }
.desk-section-head h2 { margin:0; }
.desk-section-head > span { color:var(--muted); }
.desk-section-head a { font-size:12px; min-height:44px; display:flex; align-items:center; }
.desk-projects { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.desk-project { display:flex; flex-direction:column; min-width:0; background:var(--card); border:1px solid var(--hairline); border-radius:12px; padding:20px; color:var(--ink); text-decoration:none; }
.desk-project:hover { border-color:var(--navy); }
.desk-project-top { display:flex; justify-content:space-between; align-items:center; gap:8px; }
.desk-project-icon { display:grid; place-items:center; width:40px; height:40px; border-radius:10px; background:var(--soft); color:var(--navy); font-size:24px; }
.desk-project h3 { margin:20px 0 8px; overflow-wrap:anywhere; }
.desk-project p { margin:0 0 24px; color:var(--muted); font-size:12px; }
.desk-project-bottom { display:flex; justify-content:space-between; gap:12px; border-top:1px solid var(--hairline); padding-top:14px; margin-top:auto; font-size:12px; color:var(--navy); }
.desk-aside { display:flex; flex-direction:column; gap:20px; }
.desk-panel { border:1px solid var(--hairline); border-radius:12px; background:var(--card); padding:18px; }
.desk-panel h2 { margin:0 0 12px; }
.desk-panel .desk-section-head h2 { margin:0; }
.desk-task { display:flex; align-items:center; gap:10px; padding:12px 0; border-top:1px solid var(--hairline); text-decoration:none; color:var(--ink); font-size:13px; }
.desk-task > span:last-child { margin-left:auto; }
.desk-task-dot { width:8px; height:8px; border:1px solid var(--ember); border-radius:50%; flex-shrink:0; }
.desk-agent { display:flex; align-items:center; gap:10px; min-height:64px; color:var(--ink); text-decoration:none; }
.desk-agent > span:last-child { margin-left:auto; }
.desk-agent strong { font-size:13px; font-weight:600; }
.desk-agent small { display:block; color:var(--muted); font-size:11px; }
.desk-avatar { display:grid; place-items:center; width:34px; height:34px; border-radius:50%; background:var(--soft); color:var(--navy); flex-shrink:0; }
.desk-availability { display:flex; flex-wrap:wrap; gap:8px 20px; padding:16px 20px; border:1px solid var(--hairline); border-radius:12px; margin-bottom:24px; color:var(--muted); }
@media(max-width:1200px) { .desk-columns { grid-template-columns:minmax(0,1fr); } .desk-aside { display:grid; grid-template-columns:1fr 1fr; } }
@media(max-width:860px) {
  .client-layout { grid-template-columns:minmax(0,1fr); }
  .client-layout .frame { position:static; height:auto; padding:16px; border-right:0; border-bottom:1px solid var(--hairline); overflow:visible; }
  .client-layout .frame-bar { display:grid; grid-template-columns:1fr auto; }
  .client-layout .brand { padding:0; }
  .client-wordmark { font-size:19px; margin:0 0 10px; }
  .client-layout .brand .company, .client-layout .byline, .sidebar-team { display:none; }
  .client-layout .frame-right { grid-column:2; grid-row:1; border:0; padding:0; }
  .client-layout .more-btn { min-height:44px; }
  .client-layout .screen-tabs { grid-column:1/-1; flex-direction:row; overflow-x:auto; flex-wrap:nowrap; max-width:100%; padding-top:8px; }
  .client-layout .screen-tabs a, .client-layout .screen-tabs a.wide { flex-shrink:0; font-size:13px; }
  .client-layout .back { display:none; }
  .client-topline { padding:8px 20px; min-height:48px; }
  .client-topline span:first-child { display:none; }
  .client-topline span:nth-child(2) { display:none; }
  .client-layout .content { padding:24px 20px 48px; }
  .client-layout h1 { font-size:26px; }
}
@media(max-width:560px) {
  .desk-heading { align-items:flex-start; }
  .desk-heading .btn { padding:8px 12px; }
  .desk-projects, .desk-aside { grid-template-columns:minmax(0,1fr); }
}
