.client-dialog{width:min(620px,calc(100% - 24px));background:var(--paper);max-height:94dvh}.client-dialog.is-connected{width:min(1280px,calc(100% - 36px))}.portal-kicker{font-size:12px;letter-spacing:.17em;color:var(--muted);margin-left:auto;margin-right:28px}.client-shell{padding:33px 37px}.client-heading{display:flex;justify-content:space-between;align-items:center;gap:25px;margin-bottom:25px}.client-heading .eyebrow{font-size:11px;margin-bottom:12px}.client-heading h2{font-size:46px}.client-heading>.text-button{font-size:13px;color:var(--muted)}.auth-intro{font-size:15px;margin-bottom:27px;line-height:1.9}.auth-tabs{display:flex;background:#ece8df;padding:4px;border-radius:8px;gap:4px;margin-bottom:25px}.auth-tabs button{flex:1;border:0;background:none;padding:11px;border-radius:6px;font-size:14px;min-height:43px}.auth-tabs button[aria-selected=true]{background:#fdfcf8;box-shadow:0 2px 5px #0001}#client-auth-form{display:grid;gap:18px}#client-auth-form>.button{width:100%}#client-auth-form>.form-error:empty{display:none}.demo-explore{border-top:1px solid var(--line);margin-top:27px;padding-top:21px;display:grid;gap:3px}.demo-explore>span{font-size:13px;color:var(--muted)}.demo-explore .text-button{font-size:14px}.portal-demo-note{border-top:1px solid var(--line);font-size:12px;line-height:1.8;margin-top:27px;padding-top:17px;color:#7e7b71}.client-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:27px}.client-toolbar p{font-size:14px}.client-toolbar .button{font-size:13px;min-height:40px}.workspace-layout{display:grid;grid-template-columns:215px minmax(0,1fr);gap:30px}.project-sidebar>.eyebrow{font-size:11px;margin-bottom:12px}.project-list{display:grid;gap:10px}.project-item{display:flex;flex-direction:column;gap:8px;text-align:left;width:100%;padding:20px 17px;border:1px solid var(--line);background:#fdfcf9;border-radius:10px;line-height:1.6;transition:border-color .2s,background .2s}.project-item.selected{background:#eee7da;border-color:#bca57f;box-shadow:inset 3px 0 0 #a98956}.project-item-top{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#8a7d67;letter-spacing:.05em}.project-item>strong{font-size:15px;font-weight:600;letter-spacing:-.01em}.project-item>span:not(.status-pill):not(.project-item-top){font-size:12px;color:var(--muted)}.project-item .status-pill{font-size:11px;align-self:flex-start;margin-top:5px}.unread-dot{height:7px;width:7px;background:var(--gold);border-radius:50%}.sidebar-note{display:flex;gap:12px;align-items:center;margin-top:28px;padding:0 8px}.sidebar-note img{width:28px;object-fit:contain}.sidebar-note p{font-size:12px;line-height:1.8;color:#929083}.project-content{min-width:0;padding:26px;border:1px solid var(--line);background:#fdfcf9;border-radius:12px}.project-detail-top{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:23px}.project-reference{font-size:11px;letter-spacing:.08em;color:var(--gold)}.project-detail-top h3{font-size:37px;line-height:1.1;margin:11px 0 8px}.project-detail-top p{font-size:13px}.project-detail-top>.status-pill{margin-top:4px;font-size:11px}.project-tabs{display:flex;gap:25px;border-bottom:1px solid var(--line);margin-bottom:25px}.project-tabs button{padding:13px 1px;font-size:13px;background:none;border:0;border-bottom:2px solid transparent;margin-bottom:-1px;color:#8b887d;min-height:44px}.project-tabs button[aria-selected=true]{color:var(--ink);border-bottom-color:var(--gold)}#project-tabpanel{outline:none}.overview-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:27px}.timeline-panel>.eyebrow{font-size:10px;margin:0 0 22px;color:var(--muted)}.project-timeline{list-style:none;padding:0;margin:0}.project-timeline li{position:relative;display:flex;align-items:flex-start;gap:15px;padding-bottom:25px;color:#929185}.project-timeline li:last-child{padding-bottom:0}.project-timeline li:not(:last-child):before{position:absolute;content:'';left:13px;top:28px;bottom:0;width:1px;background:#e1ded4}.timeline-dot{width:28px;height:28px;display:grid;place-items:center;flex:none;font-size:11px;border:1px solid #dbd9cd;border-radius:50%;background:#faf9f5;z-index:1}.project-timeline .done .timeline-dot{border-color:#73816a;background:#73816a;color:white}.project-timeline .active .timeline-dot{border-color:var(--gold);background:var(--gold);color:#fff;box-shadow:0 0 0 4px #ad8e5020}.project-timeline .rejected .timeline-dot{background:#aa6753;color:white;border-color:#aa6753}.project-timeline :is(.done,.active,.rejected){color:var(--ink)}.project-timeline h4{margin:4px 0 7px;font-weight:600;line-height:1.45;font-size:13px}.project-timeline p{font-size:12px;line-height:1.8;color:inherit;overflow-wrap:anywhere}.project-timeline small{font-size:11px}.project-timeline .unavailable{opacity:.55}.next-card{background:#f0eadd;border:1px solid #e5dbc8;border-radius:9px;padding:24px}.next-card>.eyebrow{font-size:10px;margin-bottom:18px}.next-card h3{font-size:30px;line-height:1.1}.next-card>p:not(.form-error){font-size:13px;line-height:1.85;margin-top:16px;white-space:pre-wrap;overflow-wrap:anywhere}.next-card>.text-button{font-size:12px;margin-top:13px;line-height:1.6}.next-card>.button{font-size:12px;min-height:42px;margin-top:20px;padding:12px 17px;width:100%}.next-card>small{display:block;font-size:11px;line-height:1.7;color:#94856c;margin-top:18px}.meeting-state{display:block;font-size:11px;line-height:1.7;color:#7d6440;margin-top:15px;font-weight:600}.next-card .form-error:empty{display:none}.small-assurance{display:flex;gap:12px;margin:22px 8px 0;align-items:center}.small-assurance>span{color:#899278;font-size:17px}.small-assurance p{font-size:12px;line-height:1.8;color:#969487}.project-history{margin-top:28px}.project-history summary{font-size:12px;font-weight:400;padding:14px 0}.project-history ul{list-style:none;padding:0 0 15px;margin:0}.project-history li{display:flex;justify-content:space-between;gap:20px;font-size:11px;line-height:1.8;padding:6px 0;color:var(--muted)}.project-history time{white-space:nowrap;color:#9a9485}.dossier-facts>.eyebrow{font-size:11px}.dossier-facts dl{margin:0}.dossier-facts dl>div{display:grid;grid-template-columns:1fr 1.5fr;gap:20px;padding:12px 0;border-bottom:1px solid #ede9df;font-size:14px}.dossier-facts dt{color:var(--muted)}.dossier-facts dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.dossier-photos{margin-top:27px}.dossier-photos h4{font-size:14px}.dossier-photos>div{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.dossier-photos figure{margin:0}.dossier-photos img{height:125px;width:100%;border-radius:8px}.dossier-photos figcaption{font-size:11px;overflow-wrap:anywhere;margin-top:7px}.client-empty{text-align:center;padding:45px 22px;border:1px dashed #cfc5af;border-radius:12px}.client-empty img{margin:0 auto 25px}.client-empty h3{font-size:42px}.client-empty p{font-size:14px;max-width:430px;margin:23px auto 28px}
.chat-panel{min-width:0;display:flex;flex-direction:column}.chat-heading{display:flex;gap:13px;align-items:center;padding-bottom:18px;border-bottom:1px solid var(--line)}.chat-heading h3{font-family:var(--sans);font-size:14px;letter-spacing:0;line-height:1.6}.chat-heading p{font-size:11px;line-height:1.7;margin-top:3px}.chat-count{margin-left:auto;font-size:11px;color:var(--muted);white-space:nowrap}.chat-messages{padding:20px 0;overflow-y:auto;max-height:400px;min-height:180px;overscroll-behavior:contain;scrollbar-width:thin}.chat-message{max-width:88%;margin:0 auto 18px 0;border:1px solid #e3ded1;background:#f1ede4;padding:15px 18px;border-radius:0 12px 12px 12px}.chat-message.mine{margin:0 0 18px auto;background:#edf0e9;border-color:#d8e0d1;border-radius:12px 0 12px 12px}.message-meta{display:flex;gap:18px;align-items:center;justify-content:space-between;flex-wrap:wrap;font-size:10px;margin-bottom:10px;color:#9b917b}.message-meta strong{font-size:11px;color:#766549;font-weight:600}.chat-message.mine .message-meta strong{color:#66735b}.chat-message p{font-size:14px;line-height:1.85;white-space:pre-wrap;overflow-wrap:anywhere;color:#56584e}.message-photos{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.message-photos figure{margin:0;max-width:130px}.message-photos img{width:130px;max-height:150px;border-radius:6px}.message-photos figcaption{font-size:10px;overflow-wrap:anywhere;margin-top:6px;color:var(--muted)}.chat-form{border-top:1px solid var(--line);padding-top:18px}.chat-form textarea{width:100%;min-height:90px;resize:vertical;border:1px solid var(--line);border-radius:9px;background:#fffefa;padding:14px;font-size:16px;line-height:1.6}.chat-compose-actions{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:9px}.chat-compose-actions>.button{font-size:12px;min-height:40px;padding:10px 18px}.attachment-button{font-size:12px;color:var(--gold);position:relative;cursor:pointer;padding:10px 0;min-height:44px;display:inline-flex;align-items:center}.attachment-button input{position:absolute;inset:0;width:100%;opacity:0;cursor:pointer}.attachment-button:focus-within{outline:2px solid var(--gold);outline-offset:4px}.chat-file-status{font-size:11px;margin-top:8px;overflow-wrap:anywhere;line-height:1.7}.chat-form .form-error:empty{display:none}.chat-empty{text-align:center;padding:25px 15px}.chat-empty>span{font-size:26px;color:var(--gold)}.chat-empty h4{font-size:15px;margin:8px 0 12px}.chat-empty p{font-size:14px}
#admin-dialog.signed-in{width:min(1240px,calc(100% - 36px))}.admin-workflow-head{display:flex;justify-content:space-between;align-items:center;gap:30px;border-top:1px solid var(--line);padding:25px 0}.admin-workflow-head .eyebrow{font-size:11px;margin-bottom:9px}.admin-workflow-head>p{font-size:13px;max-width:330px}.admin-workflow-grid{display:grid;grid-template-columns:.85fr 1.25fr;gap:32px;margin-bottom:35px}.admin-action-card{padding:22px;border:1px solid var(--line);border-radius:9px;margin-bottom:20px;background:#fdfbf6}.admin-action-card h4{font-size:14px;margin:0 0 20px}.admin-action-card form{display:grid;gap:16px}.admin-action-card form>.button{justify-self:start;font-size:13px}.admin-action-card p{font-size:13px;line-height:1.8}.admin-action-card .field-hint{font-size:12px}.admin-action-card .form-error:empty{display:none}.admin-action-card .meeting-summary{margin-bottom:18px;color:var(--gold)}.admin-action-card .text-button{font-size:12px;margin-bottom:15px}.admin-workflow-grid>.chat-panel{border:1px solid var(--line);border-radius:9px;padding:23px;align-self:start;background:#fdfbf6}.admin-history summary{font-size:13px}.admin-history .project-timeline{padding:8px 0 25px}.admin-toolbar{gap:20px}.request-row{padding:20px}.request-project strong{font-size:15px}.request-client strong{font-size:14px}
@media(max-width:1050px){.client-shell{padding:28px}.workspace-layout{grid-template-columns:180px minmax(0,1fr);gap:22px}.project-content{padding:23px}.project-item{padding:17px 13px}.project-item>strong{font-size:13px}.project-detail-top{flex-wrap:wrap;gap:12px}.overview-grid{gap:20px;grid-template-columns:1fr}.next-card{padding:23px}.small-assurance{display:none}.project-timeline li{padding-bottom:23px}.next-card h3{font-size:30px}.admin-workflow-grid{gap:23px;grid-template-columns:1fr 1fr}.admin-workflow-grid>.chat-panel{padding:18px}.chat-count{display:none}}
@media(max-width:700px){.client-dialog.is-connected,#admin-dialog.signed-in{width:calc(100% - 12px);max-height:96dvh;border-radius:16px}.client-shell{padding:25px 20px}.client-heading{gap:13px;margin-bottom:24px}.client-heading h2{font-size:36px}.client-heading .eyebrow{font-size:10px;letter-spacing:.12em}.client-heading>.text-button{font-size:11px;max-width:85px}.portal-kicker{font-size:10px;margin-right:13px}.client-toolbar{gap:15px;align-items:center}.client-toolbar p{font-size:12px}.client-toolbar .button{font-size:11px;padding:11px 14px;gap:10px}.workspace-layout{grid-template-columns:1fr;gap:24px}.project-list{display:flex;overflow-x:auto;gap:12px;padding-bottom:6px;scrollbar-width:thin;scroll-snap-type:x proximity}.project-item{flex:0 0 225px;padding:17px 18px;scroll-snap-align:start;gap:6px}.project-item>strong{font-size:15px}.project-item>span:not(.status-pill):not(.project-item-top){font-size:13px}.project-item-top{font-size:11px}.sidebar-note{display:none}.project-content{padding:22px 18px}.project-detail-top{gap:15px;margin-bottom:17px}.project-detail-top h3{font-size:33px}.project-detail-top p{font-size:12px}.project-tabs{gap:20px;margin-bottom:25px}.project-tabs button{font-size:12px}.timeline-panel>.eyebrow{font-size:11px}.project-timeline h4{font-size:14px}.project-timeline p{font-size:13px}.project-timeline .timeline-dot{width:29px;height:29px;font-size:12px}.project-timeline li{gap:17px;padding-bottom:28px}.next-card h3{font-size:32px}.next-card>p:not(.form-error){font-size:14px}.next-card>.text-button{font-size:13px}.next-card>.button{font-size:13px}.next-card>small{font-size:11px}.project-history summary{font-size:13px}.project-history li{flex-direction:column;gap:3px;font-size:12px;padding:9px 0}.project-history time{font-size:11px}.project-reference{font-size:11px}.portal-demo-note{font-size:11px}.auth-intro{font-size:15px}.chat-heading p{font-size:11px}.chat-messages{max-height:360px}.chat-message{padding:14px;max-width:95%}.chat-message p{font-size:14px}.message-meta{gap:5px;font-size:10px}.chat-compose-actions>.button{font-size:12px;gap:10px;padding:12px 16px}.attachment-button{font-size:12px}.chat-file-status{font-size:11px}.chat-form textarea{font-size:16px}.dossier-facts dl>div{font-size:13px;grid-template-columns:1fr 1.2fr;gap:15px}.dossier-photos>div{grid-template-columns:1fr 1fr}.admin-workflow-grid{grid-template-columns:1fr;gap:25px}.admin-workflow-head{flex-direction:column;align-items:flex-start;gap:18px}.admin-action-card{padding:20px}.admin-workflow-grid>.chat-panel{padding:20px}.admin-workflow-head>p{font-size:13px}.admin-action-card h4{font-size:15px}.admin-action-card p{font-size:14px}.admin-action-card .field{font-size:14px}.client-empty{padding:30px 20px}.client-empty h3{font-size:35px}.client-empty p{font-size:15px}}
/* Grid items must be allowed to shrink; only the project rail scrolls sideways. */
.project-sidebar,.project-list,.project-content,.project-detail-top>div,.client-heading>div,.overview-grid>div,.overview-grid>section{min-width:0}
@media(max-width:700px){.client-dialog.is-connected{max-width:calc(100% - 12px)}.workspace-layout{grid-template-columns:minmax(0,1fr)}.project-tabs{gap:12px}.project-tabs button{flex:1;min-width:0;line-height:1.5}.client-heading h2{font-size:34px}.project-detail-top .status-pill{font-size:11px}.project-list{width:100%}.client-heading{align-items:flex-start}.client-heading>.text-button{margin-top:24px}}
.chat-empty>span,.admin-empty>span{display:inline-grid;place-items:center}
.chat-empty>span>.ui-icon,.admin-empty>span>.ui-icon{width:28px;height:28px}
.request-arrow>.ui-icon{width:22px;height:22px;min-width:22px}
.small-assurance>span>.ui-icon{width:20px;height:20px}
.client-empty img,.sidebar-note img{object-fit:contain;flex:none}
@media(max-width:700px){.client-heading h2{font-size:31px;line-height:1.2}.project-detail-top h3{font-size:30px;line-height:1.2}.project-tabs button{overflow-wrap:normal}.chat-compose-actions{flex-wrap:wrap;row-gap:5px}.chat-compose-actions>.button{margin-left:auto}}
