@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap');
:root{--ink:#25353a;--muted:#7b898c;--line:#e5ebeb;--paper:#f7f9f9;--accent:#285c60;--soft:#eaf2f1}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:'DM Sans',sans-serif;font-size:14px}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{border:0;background:none;color:inherit}button:disabled{opacity:.45;cursor:wait}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible{outline:3px solid #80b9c4;outline-offset:3px}h1,h2,h3,h4,p{margin:0}h1,h2,h3{font-family:'Manrope',sans-serif}h1{font-size:27px;letter-spacing:-1px;font-weight:750}h2{font-size:17px;letter-spacing:-.4px}h3{font-size:16px}h4{font-size:13px;font-weight:650}.app-shell{display:flex;min-height:100vh}.rail{width:76px;background:white;border-right:1px solid var(--line);display:flex;align-items:center;flex-direction:column;position:fixed;inset:0 auto 0 0;z-index:15}.brand{width:45px;height:45px;border-radius:14px;background:var(--accent);color:white;display:grid;place-items:center;margin:24px 0 39px;box-shadow:0 5px 14px #285c6020}.rail nav{display:flex;flex-direction:column;gap:12px}.rail nav button,.rail-bottom button{width:46px;height:46px;display:grid;place-items:center;color:#899698;border-radius:12px;position:relative}.rail nav button:hover,.rail nav button.nav-active{background:var(--soft);color:var(--accent)}.rail nav button span{display:none;position:absolute;left:56px;white-space:nowrap;background:#253f43;color:white;padding:8px 12px;border-radius:6px;font-size:12px;z-index:60}.rail nav button:hover span{display:block}.rail-bottom{margin-top:auto;display:grid;justify-items:center;gap:16px;padding-bottom:24px}.owner-initial{background:#eadcc7;border:3px solid white;box-shadow:0 0 0 1px #e4ded3;border-radius:50%;width:35px;height:35px;display:grid;place-items:center;font-weight:700;color:#746551}.workspace{margin-left:76px;width:calc(100% - 76px)}.topbar{height:79px;border-bottom:1px solid var(--line);background:#ffffffdf;display:flex;align-items:center;justify-content:space-between;padding:0 34px}.breadcrumb,.top-actions{display:flex;align-items:center;gap:15px}.breadcrumb{font-size:12px}.breadcrumb span{color:var(--muted)}.breadcrumb strong{font-weight:550}.top-actions{gap:21px}.simulation{font-size:11px;color:#7c6b40;background:#f5f0e3;border:1px solid #ebe4ce;border-radius:6px;padding:6px 9px;display:flex;align-items:center;gap:6px}.simulation i{width:5px;height:5px;background:#ad9256;border-radius:50%}.icon-button{width:32px;height:32px;display:inline-grid;place-items:center;border-radius:8px}.icon-button:hover{background:var(--soft)}.user-chip{display:flex;align-items:center;gap:9px;font-size:12px}.user-chip>span{background:#e9ded0;border-radius:50%;width:33px;height:33px;display:grid;place-items:center;color:#75624b}.user-chip small{display:block;color:var(--muted);font-size:10px;margin-top:2px}.workspace main{padding:29px 34px 20px;max-width:1900px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px}.heading-row{display:flex;align-items:center;gap:13px}.page-heading p{color:var(--muted);font-size:12px;margin-top:8px}.floor-badge{font-size:10px;color:#81908e;border:1px solid #dfe7e5;border-radius:5px;padding:4px 7px}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:8px;padding:11px 17px;font-size:12px;font-weight:600;min-height:40px}.primary{background:var(--accent);color:white;box-shadow:0 3px 7px #284f5710}.primary:hover{background:#204c50}.secondary{border:1px solid #dce5e4;background:white}.secondary:hover{background:var(--soft)}.full{width:100%}.office-layout{display:grid;grid-template-columns:minmax(0,1fr) 288px;gap:20px}.office-view{position:relative;height:590px;min-height:420px;background:#e9eeee;border:1px solid #dce5e4;border-radius:13px;overflow:hidden}.office-view:fullscreen{border:0;border-radius:0;height:100vh}.office-scene{position:absolute;inset:0}.office-scene>canvas{width:100%;height:100%;display:block;touch-action:none}.scene-labels{position:absolute;inset:0;overflow:hidden;pointer-events:none}.room-label{pointer-events:auto;background:#ffffffed;border:1px solid #d2dfdc;border-radius:5px;padding:5px 8px;font-size:10px;color:#3c555a;box-shadow:0 2px 4px #324a5310;white-space:nowrap}.room-label:hover{background:var(--accent);color:white}.room-label .label-dot{display:inline-block;width:5px;height:5px;border-radius:50%;margin-right:5px}.view-top{position:absolute;top:16px;left:16px;right:16px;z-index:3;display:flex;justify-content:space-between;gap:10px;pointer-events:none}.view-top>*,.view-tools>*{pointer-events:auto}.segmented{display:flex;background:white;border:1px solid #dce4e3;padding:4px;border-radius:8px;box-shadow:0 2px 6px #284f5710}.segmented button{display:flex;align-items:center;gap:6px;font-size:11px;padding:7px 11px;border-radius:5px;color:#82908e}.segmented .selected{background:#edf4f2;color:var(--accent);font-weight:600}.location-button{display:flex;gap:7px;align-items:center;background:white;border:1px solid #dce4e3;border-radius:7px;padding:0 10px;font-size:11px;box-shadow:0 2px 6px #284f5710}.view-tools{position:absolute;right:16px;bottom:54px;display:flex;flex-direction:column;gap:3px;background:white;padding:5px;border:1px solid #dce4e3;border-radius:8px;z-index:4;box-shadow:0 2px 6px #284f5710}.view-tools button{width:31px;height:31px;display:grid;place-items:center;border-radius:5px;color:#6d8587;font-size:22px}.view-tools button:hover,.view-tools button.tool-active{background:var(--soft);color:var(--accent)}.scene-footer{position:absolute;bottom:0;left:0;right:0;background:#fffffff2;border-top:1px solid #dce5e4;display:flex;justify-content:space-between;padding:12px 17px;font-size:10px;color:#81918f}.scene-footer span{display:flex;gap:7px;align-items:center}.green-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#6b9b82;flex-shrink:0}.room-menu{position:absolute;right:15px;top:63px;z-index:10;background:white;border:1px solid var(--line);border-radius:8px;padding:6px;box-shadow:0 12px 30px #263a4822;max-height:370px;overflow:auto;min-width:220px}.room-menu button{display:block;width:100%;text-align:left;padding:9px 12px;font-size:12px;border-radius:5px}.room-menu button:hover{background:var(--soft)}.inspector{background:white;border:1px solid var(--line);border-radius:12px;padding:19px;max-height:590px;overflow:auto}.inspector-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.inspector-heading h2{font-size:13px}.department-mark{display:flex;gap:12px;align-items:center}.department-mark>svg{color:var(--accent);background:var(--soft);width:47px;height:47px;padding:10px;border-radius:10px;flex-shrink:0}.department-mark strong{font-size:13px;font-weight:650;display:block}.department-mark span{display:block;font-size:10px;color:var(--muted);margin-top:4px}.muted{color:var(--muted);line-height:1.7}.small{font-size:11px}.inspector-copy{font-size:11px;margin-top:17px}.mini-stats{display:flex;margin:23px 0 25px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:17px 0}.mini-stats>div{flex:1;text-align:center;border-right:1px solid var(--line)}.mini-stats>div:last-child{border:0}.mini-stats strong{display:block;font-family:Manrope;font-size:21px;font-weight:700}.mini-stats span{color:var(--muted);font-size:10px;display:block;margin-top:5px}.list-heading{margin-bottom:12px}.people-list button{display:flex;align-items:center;width:100%;gap:10px;padding:10px 0;text-align:left}.people-list button:hover{background:#f7faf9}.person-initial{display:inline-grid;place-items:center;width:33px;height:33px;border-radius:10px;color:white;font-size:12px;flex-shrink:0}.people-list strong{font-size:11px;font-weight:650;display:block}.people-list small{font-size:9px;color:var(--muted);display:block;margin-top:3px;max-width:180px}.people-list svg{margin-left:auto;color:#8e9e9d}.inspector-note{border-radius:7px;background:#f5f8f7;color:#839490;display:flex;gap:8px;padding:11px;margin-top:20px;font-size:10px;line-height:1.6}.inspector-note svg{flex-shrink:0;color:#7c9990}.profile-avatar{width:68px;height:75px;border-radius:12px;color:white;font-size:32px;display:flex;flex-direction:column;align-items:center;justify-content:center;margin:0 0 15px}.profile-avatar span{font-size:8px;opacity:.8;margin-top:3px}.inspector h3+.muted{font-size:11px;margin-top:5px}.status-line{display:flex;align-items:center;gap:7px;font-size:11px;color:#618775;margin:12px 0}.detail-section{border-top:1px solid var(--line);padding:15px 0;margin-top:15px}.detail-section label{font-size:10px;color:var(--muted);display:block;margin:0 0 6px}.detail-section p{font-size:11px;margin-bottom:14px}.skill-list{display:flex;flex-wrap:wrap;gap:5px}.skill-list span{background:var(--soft);color:var(--accent);border-radius:5px;padding:5px 7px;font-size:10px}.activity-buttons{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:10px 0}.activity-buttons button{border:1px solid var(--line);border-radius:6px;text-align:left;display:flex;gap:5px;align-items:center;padding:9px 6px;font-size:10px}.activity-buttons button:hover{background:var(--soft)}.below-office{margin-top:24px}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.section-heading h2{font-size:14px}.text-button{color:var(--accent);font-size:11px;font-weight:600;padding:5px 0}.text-button:hover{text-decoration:underline}.room-strip{display:flex;gap:10px;overflow-x:auto;padding:0 0 8px;scrollbar-width:thin}.room-chip{border:1px solid var(--line);background:white;border-radius:8px;min-width:135px;padding:13px 13px;text-align:left;position:relative}.room-chip.active{border-color:var(--accent);background:#edf4f2}.room-chip>span{width:6px;height:6px;display:inline-block;border-radius:50%;margin-right:7px}.room-chip strong{font-size:11px;font-weight:550}.room-chip small{display:block;font-size:9px;color:var(--muted);margin:6px 0 0 13px}.app-footer{display:flex;justify-content:space-between;padding:6px 34px 20px;font-size:9px;color:#9aa6a6}.toolbar{display:flex;align-items:center;justify-content:space-between;margin:0 0 23px}.search{display:flex;align-items:center;gap:10px;background:white;border:1px solid var(--line);border-radius:8px;padding:10px 14px;min-width:310px;color:#8b9b9b}.search input{border:0;outline:0;min-width:230px;font-size:12px}.workforce-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px}.workforce-card{text-align:left;background:white;border:1px solid var(--line);border-radius:10px;padding:22px;position:relative}.workforce-card:hover{border-color:#a8c2bd;box-shadow:0 5px 17px #285c6008}.person-initial.large{width:51px;height:51px;font-size:21px;border-radius:13px}.role-badge{position:absolute;right:17px;top:22px;font-size:9px;color:#7c8e8a;background:#f0f4f3;padding:4px 7px;border-radius:4px}.workforce-card h3{margin:16px 0 5px}.workforce-card p{font-size:12px}.workforce-card small{display:block;font-size:10px;color:var(--muted);margin-top:7px}.workforce-card>div{margin-top:20px;border-top:1px solid var(--line);padding-top:12px;font-size:10px;color:#889a91;display:flex;align-items:center;gap:6px}.workforce-card>div svg{margin-left:auto}.summary-row{display:grid;grid-template-columns:repeat(4,1fr);background:white;border:1px solid var(--line);border-radius:10px;padding:23px 0;margin-bottom:30px}.summary-row>div{padding:0 24px;border-right:1px solid var(--line)}.summary-row>div:last-child{border:0}.summary-row span{display:block;font-size:11px;color:var(--muted)}.summary-row strong{font-size:29px;font-family:Manrope;display:block;margin-top:9px}.summary-row .summary-text{font-size:15px;margin-top:16px;color:#8a7e5d}.project-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:18px}.project-card{background:white;border:1px solid var(--line);border-radius:10px;text-align:left;padding:22px}.project-card:hover{border-color:#a8c2bd}.project-card>div:first-child{display:flex;align-items:center;justify-content:space-between}.project-icon{width:45px;height:45px;display:grid;place-items:center;border-radius:10px;background:var(--soft);color:var(--accent)}.tag{font-size:9px;color:#7b8f89;background:#eff4f2;border-radius:4px;padding:5px 7px;display:inline-block}.project-card h3{margin:20px 0 10px}.project-card p{font-size:12px;color:var(--muted);line-height:1.8;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.progress-track{height:4px;background:#edf2f0;margin:23px 0 14px;border-radius:5px}.progress-track span{height:100%;display:block;background:#69988a;border-radius:5px}.project-meta{display:flex;justify-content:space-between;font-size:10px;color:var(--muted)}.project-meta>span{display:flex;align-items:center;gap:4px}.project-bottom{border-top:1px solid var(--line);padding-top:15px;margin-top:19px;display:flex;justify-content:space-between;color:var(--accent);font-size:11px}.knowledge-layout{display:grid;grid-template-columns:330px 1fr;gap:25px}.knowledge-banner{background:#e8f0ed;border:1px solid #d7e5df;padding:35px;border-radius:11px;color:#45665c}.knowledge-banner h2{font-size:25px;line-height:1.5;margin:25px 0 14px}.knowledge-banner p{font-size:12px;line-height:1.9}.document-list>button{display:flex;align-items:center;gap:18px;text-align:left;background:white;border-bottom:1px solid var(--line);padding:22px;width:100%}.document-list strong{display:block;font-size:13px}.document-list small{display:block;color:var(--muted);font-size:11px;line-height:1.8;margin-top:7px}.document-list>button>svg:last-child{margin-left:auto}.settings-panel{background:white;border:1px solid var(--line);border-radius:10px;padding:30px;max-width:780px}.settings-panel h2{margin-bottom:20px}.settings-panel>div{display:flex;justify-content:space-between;padding:19px 0;border-bottom:1px solid var(--line);font-size:12px}.settings-panel>div span{color:var(--muted)}.settings-panel>p{margin-top:20px;font-size:12px}.modal-backdrop{position:fixed;inset:0;background:#17393f75;backdrop-filter:blur(5px);display:flex;align-items:center;justify-content:center;z-index:50;padding:25px}.project-dialog,.edit-dialog{background:white;border-radius:15px;width:100%;max-width:1050px;max-height:94vh;display:flex;flex-direction:column;box-shadow:0 20px 80px #153d4a30}.dialog-header{padding:24px 28px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.dialog-header h2{font-size:23px;margin-top:9px}.dialog-header .icon-button{align-self:flex-start}.project-dialog-body{overflow:auto;padding:25px 28px}.stage-stepper{display:flex;justify-content:space-between;gap:5px;border-bottom:1px solid var(--line);padding-bottom:25px;margin-bottom:23px}.stage-stepper>div{flex:1;text-align:center;color:#99a6a2;position:relative}.stage-stepper>div:after{content:'';position:absolute;height:1px;background:var(--line);width:calc(100% - 32px);top:12px;left:calc(50% + 16px)}.stage-stepper>div:last-child:after{display:none}.stage-stepper span{margin:auto;display:grid;place-items:center;border:1px solid #dbe5e0;width:26px;height:26px;border-radius:50%;font-size:10px}.stage-stepper small{display:block;font-size:9px;margin-top:8px;line-height:1.6}.stage-stepper .current{color:var(--accent);font-weight:700}.stage-stepper .current span{background:var(--accent);color:white;border-color:var(--accent)}.stage-stepper .done span{background:var(--soft);color:var(--accent)}.project-overview{padding:20px;background:#f6f9f8;border-radius:8px;margin-bottom:24px}.project-overview>p{font-size:12px;line-height:1.9;color:#6d817b}.project-overview>div{display:flex;gap:30px;margin-top:16px;flex-wrap:wrap}.project-overview span{font-size:10px;color:var(--muted)}.project-overview strong{display:block;color:var(--ink);font-size:12px;margin-top:4px}.project-dialog-body>h3{margin-bottom:9px}.project-dialog-body>.muted{font-size:12px}.team-pills{display:flex;gap:7px;flex-wrap:wrap;margin:17px 0 22px}.team-pills button{background:var(--soft);border:1px solid #dce8e3;color:var(--accent);font-size:10px;padding:7px 11px;border-radius:20px}.task-table{border:1px solid var(--line);border-radius:8px;overflow:hidden;margin:17px 0}.task-table>div{display:grid;grid-template-columns:2fr 1fr 1fr;gap:15px;border-bottom:1px solid var(--line);padding:14px;font-size:11px;align-items:center}.task-table>div:last-child{border:0}.task-table-heading{background:#f6f8f7;color:var(--muted);font-size:10px!important}.task-table strong{font-size:11px;font-weight:550;display:block}.task-table small{display:block;font-size:10px;color:var(--muted);margin-top:5px}details{border-bottom:1px solid var(--line);padding:12px 0;font-size:12px}summary{cursor:pointer;display:flex;gap:8px;align-items:center;color:var(--accent)}details p{padding:14px 0;font-size:12px;line-height:1.8}.report{padding:16px;background:#f7f9f8;border:1px solid var(--line);border-radius:7px;margin:15px 0}.report p{font-size:12px;line-height:1.8;margin-top:9px;white-space:pre-wrap}.dialog-footer{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:18px 28px;border-top:1px solid var(--line);flex-wrap:wrap}.dialog-footer>.muted{margin-right:auto}.field{display:flex;flex-direction:column;font-size:11px;font-weight:600;gap:8px;margin:16px 0}.field input,.field textarea,.field select,.task-editor input,.task-editor select{width:100%;background:white;border:1px solid #dce5e2;border-radius:7px;padding:11px 12px;color:var(--ink);font-size:12px;outline:0}.field input:focus,.field textarea:focus,.field select:focus,.task-editor input:focus,.task-editor select:focus{border-color:#6e9a91;box-shadow:0 0 0 3px #79a79614}.field textarea{min-height:95px;resize:vertical;line-height:1.8}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:17px}.edit-body{display:grid;grid-template-columns:1fr 280px;overflow:auto}.form-main{padding:8px 28px 25px}.team-editor{background:#f8faf9;border-left:1px solid var(--line);padding:25px 22px}.team-editor>p{margin:9px 0 16px}.team-check{display:flex;gap:9px;padding:10px 0;align-items:center;cursor:pointer}.team-check input{accent-color:var(--accent);width:15px;height:15px}.team-check strong{display:block;font-size:11px;font-weight:600}.team-check small{display:block;font-size:9px;color:var(--muted);margin-top:4px}.task-editor{border:1px solid var(--line);border-radius:8px;padding:12px;margin:12px 0;display:grid;grid-template-columns:1fr 1fr;gap:8px}.task-editor>div{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;font-size:10px;color:var(--muted)}.task-editor input:first-of-type{grid-column:1/-1}.task-editor input,.task-editor select{font-size:11px;padding:9px}.form-main>.section-heading{margin-top:25px}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);z-index:80;display:flex;gap:10px;align-items:center;background:#254f50;color:white;border:1px solid #578880;border-radius:9px;padding:14px 20px;font-size:12px;box-shadow:0 7px 30px #23434d25;max-width:90vw}.notification{position:fixed;right:30px;top:68px;z-index:30;width:290px;background:white;border:1px solid var(--line);box-shadow:0 8px 30px #23383d20;border-radius:10px;padding:20px}.notification>.icon-button{float:right;margin-top:-8px}.notification p{font-size:12px;color:var(--muted);margin:12px 0}.error-banner{background:#fff0ea;color:#a35e49;border:1px solid #f0d6c9;padding:12px 15px;border-radius:7px;font-size:12px;margin-bottom:15px;display:flex;justify-content:space-between}.error-banner button{text-decoration:underline}.form-error{color:#a75243;background:#fff1ec;padding:12px 20px;font-size:12px;margin:10px 28px;border-radius:6px}.scene-loading{position:absolute;bottom:55px;left:17px;z-index:2;font-size:11px;color:#647e7a;background:#ffffffdf;border:1px solid var(--line);padding:10px 13px;border-radius:7px;display:flex;align-items:center;gap:8px}.scene-fallback{height:100%;padding:80px 30px;background:#edf3f0;overflow:auto}.scene-fallback h3{margin-bottom:12px}.scene-fallback p{font-size:12px;color:var(--muted);margin-bottom:20px}.scene-fallback button{display:block;padding:8px;text-align:left;color:var(--accent)}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
@media(min-width:1600px){.office-view{height:690px}.inspector{max-height:690px}.office-layout{grid-template-columns:minmax(0,1fr) 320px}}
@media(max-width:1100px){.workspace main{padding:24px}.topbar{padding:0 24px}.office-layout{grid-template-columns:minmax(0,1fr) 255px;gap:14px}.office-view{height:550px}.inspector{max-height:550px;padding:16px}.scene-footer span:last-child{display:none}.office-view .room-label{font-size:9px;padding:4px 6px}.top-actions{gap:12px}.summary-row>div{padding:0 15px}}
@media(max-width:800px){.rail{width:58px}.brand{width:37px;height:37px;margin:20px 0 30px;border-radius:11px}.rail nav button{width:41px;height:44px}.workspace{margin-left:58px;width:calc(100% - 58px)}.workspace main{padding:20px 16px}.topbar{height:65px;padding:0 17px}.breadcrumb>span,.breadcrumb>svg,.user-chip>div{display:none}.top-actions{gap:9px}.simulation{font-size:9px;padding:5px}.office-layout{grid-template-columns:1fr}.office-view{height:540px}.inspector{max-height:none;display:block}.people-list{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.mini-stats{margin:15px 0}.inspector-heading{margin-bottom:16px}.inspector-note{margin-top:14px}.summary-row{grid-template-columns:1fr 1fr;gap:20px;padding:20px 0}.summary-row>div:nth-child(2){border:0}.page-heading{gap:15px}.page-heading h1{font-size:23px}.floor-badge{display:none}.page-heading p{font-size:11px}.knowledge-layout{grid-template-columns:1fr}.knowledge-banner{padding:25px}.knowledge-banner h2{font-size:22px}.edit-body{grid-template-columns:1fr}.team-editor{border-left:0;border-top:1px solid var(--line)}.team-editor{display:grid;grid-template-columns:1fr 1fr;gap:0 10px}.team-editor>h3,.team-editor>p{grid-column:1/-1}.dialog-header{padding:20px}.dialog-header h2{font-size:20px}.project-dialog-body{padding:20px}.dialog-footer{padding:15px 20px}.stage-stepper{overflow-x:auto;justify-content:flex-start}.stage-stepper>div{min-width:70px}.modal-backdrop{padding:12px}.edit-dialog,.project-dialog{max-height:96vh}.form-main{padding:8px 20px 20px}.app-footer{padding:6px 16px 20px}.settings-panel{padding:20px}.settings-panel>div{gap:12px}.settings-panel>div span{text-align:right}.location-button{max-width:170px}.room-label{font-size:8px!important;padding:3px 5px!important}.view-top{left:12px;right:12px}.view-tools{right:12px}.toolbar{gap:10px;flex-wrap:wrap}.search{min-width:0;width:100%}.search input{min-width:0;width:100%}}
@media(max-width:500px){.rail{inset:auto 0 0;width:100%;height:62px;border-right:0;border-top:1px solid var(--line);flex-direction:row;background:#fffffffa}.brand,.rail-bottom{display:none}.rail nav{flex-direction:row;width:100%;justify-content:space-around;gap:0}.rail nav button{height:49px;width:49px}.rail nav button:hover span{display:none}.workspace{margin-left:0;width:100%;padding-bottom:62px}.topbar{padding:0 16px;height:60px}.breadcrumb{font-size:11px}.user-chip>span{width:27px;height:27px;font-size:11px}.page-heading{align-items:flex-start;margin-bottom:18px}.page-heading h1{font-size:23px}.page-heading p{max-width:210px;line-height:1.7}.primary,.secondary{padding:10px 12px;font-size:11px;min-height:44px}.page-heading>.primary{margin-top:2px;white-space:nowrap}.office-view{height:450px}.segmented button{font-size:10px;padding:7px;gap:4px}.segmented button svg{width:13px}.location-button{max-width:135px;font-size:10px;gap:4px}.scene-footer{font-size:9px;padding:12px}.view-top{gap:6px;top:12px}.view-tools button{width:32px;height:36px}.people-list{grid-template-columns:1fr 1fr}.workforce-grid{grid-template-columns:1fr 1fr;gap:10px}.workforce-card{padding:15px}.workforce-card p{font-size:10px;min-height:28px}.workforce-card small{font-size:9px;min-height:24px}.role-badge{top:15px;right:10px;font-size:8px}.person-initial.large{width:38px;height:42px;font-size:17px}.workforce-card>div{font-size:8px;gap:4px}.summary-row .summary-text{font-size:12px}.project-grid{grid-template-columns:1fr}.task-table>div{gap:8px;grid-template-columns:1.4fr 1fr .7fr;padding:10px;font-size:10px}.task-table strong{font-size:10px}.project-overview>div{gap:20px}.field-row{gap:10px}.dialog-footer{gap:7px}.dialog-footer>button{flex:1}.dialog-footer>.muted{width:100%;font-size:10px}.modal-backdrop{padding:6px}.team-editor{padding:20px}.task-editor{grid-template-columns:1fr}.task-editor input:first-of-type{grid-column:auto}.toast{bottom:76px;width:max-content}.notification{right:15px;top:55px}.app-footer{font-size:8px}.scene-loading{font-size:10px;left:10px}.room-chip{min-width:123px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}.spin{animation:none}}

/* Chat workspace */
.chat-workspace{display:grid;grid-template-columns:310px minmax(0,1fr);height:calc(100vh - 250px);min-height:550px;max-height:850px;background:white;border:1px solid var(--line);border-radius:18px;overflow:hidden}.chat-sidebar{border-right:1px solid var(--line);padding:20px 14px;overflow:auto}.chat-list-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.chat-search{display:flex;align-items:center;gap:8px;margin:17px 0;padding:10px;background:var(--paper);border-radius:9px}.chat-search input{width:100%;border:0;outline:0;background:transparent}.chat-thread-list{display:grid;gap:5px}.chat-thread-list>button{display:flex;align-items:center;gap:11px;text-align:left;padding:12px 9px;border-radius:12px;width:100%}.chat-thread-list>button.active{background:var(--soft)}.chat-thread-list>button>span:nth-child(2){flex:1;min-width:0}.chat-thread-list strong,.chat-thread-list small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-thread-list small{color:var(--muted);font-size:11px;margin-top:6px}.chat-avatar{width:40px;height:40px;flex-shrink:0;display:grid;place-items:center;background:#e7efeb;color:var(--accent);font-size:17px;border-radius:13px}.chat-unread{background:var(--accent);color:white;border-radius:20px;padding:3px 7px;font-size:10px}.chat-main{min-width:0;display:flex;flex-direction:column;overflow:hidden}.chat-header{display:flex;align-items:center;gap:12px;padding:19px 24px;border-bottom:1px solid var(--line)}.chat-header>div{flex:1;min-width:0}.chat-header h2{overflow-wrap:anywhere}.chat-header p{color:var(--muted);font-size:11px;margin-top:5px}.chat-participants{padding:12px 24px;color:var(--muted);font-size:11px;border-bottom:1px solid var(--line);line-height:1.7;max-height:85px;overflow:auto}.chat-runtime-note{background:#fbf7ee;color:#84724e;font-size:11px;line-height:1.6;padding:10px 24px}.chat-messages{flex:1;overflow:auto;padding:24px;display:flex;flex-direction:column;gap:15px;background:#f8fafa}.chat-message{max-width:82%;padding:13px 17px;border-radius:14px;background:white;border:1px solid var(--line);align-self:flex-start;min-width:130px}.chat-message.outgoing{align-self:flex-end;background:#e9f1ef;border-color:#dce8e4;border-bottom-right-radius:3px}.chat-message strong{font-size:10px;color:var(--accent)}.chat-message p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;margin:7px 0}.chat-message time{display:block;text-align:right;font-size:9px;color:var(--muted)}.chat-empty{flex:1;display:flex;align-items:center;justify-content:center;text-align:center;flex-direction:column;gap:15px;color:var(--muted);padding:30px}.chat-empty h2,.chat-empty h3{color:var(--ink)}.chat-empty p{max-width:360px;line-height:1.7}.chat-composer{display:grid;grid-template-columns:1fr auto;gap:9px;padding:16px 24px;border-top:1px solid var(--line)}.chat-composer textarea{resize:vertical;min-height:52px;max-height:150px;border:1px solid var(--line);border-radius:10px;padding:13px;outline-color:var(--accent);width:100%}.chat-composer small{grid-column:1/-1;font-size:9px;color:var(--muted)}.chat-create{overflow:auto;padding:24px}.chat-member-picker{display:grid;grid-template-columns:1fr 1fr;gap:4px 15px;margin:20px 0}.chat-hint{padding:15px 5px;line-height:1.7;color:var(--muted);font-size:12px}.chat-back{display:none}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.inspector>.primary.full{margin-bottom:10px}
@media(max-width:800px){.chat-workspace{grid-template-columns:250px minmax(0,1fr)}.chat-member-picker{grid-template-columns:1fr}.chat-header,.chat-messages,.chat-create{padding:16px}.chat-composer{padding:12px}.chat-runtime-note,.chat-participants{padding:10px 16px}}
@media(max-width:600px){.chat-workspace{display:flex;height:calc(100dvh - 230px);min-height:450px}.chat-sidebar{width:100%;border:0}.chat-main{display:none;width:100%}.chat-workspace.has-active .chat-sidebar{display:none}.chat-workspace.has-active .chat-main{display:flex}.chat-workspace:has(.chat-create) .chat-main{display:flex}.chat-workspace:has(.chat-create) .chat-sidebar{display:none}.chat-back{display:grid}.chat-message{max-width:94%}.chat-composer .primary span{display:none}.chat-member-picker{grid-template-columns:1fr 1fr}.chat-member-picker small{font-size:9px}.chat-member-picker .team-check{gap:6px}.chat-header h2{font-size:15px}.rail nav button{width:44px}}
@media(max-width:600px){.chat-workspace{height:calc(100dvh - 240px);min-height:320px}.chat-composer textarea{min-height:44px}.chat-composer{gap:6px}.chat-composer small{font-size:8px}}
.chat-sidebar{min-width:0;overflow-x:hidden}.chat-thread-list{min-width:0}.chat-composer{min-width:0}.chat-composer textarea{min-width:0}
.ambient-control{position:absolute;z-index:5;left:18px;bottom:53px;background:#ffffffeb;border:1px solid var(--line);border-radius:10px;padding:9px 12px;box-shadow:0 3px 12px #294b4810}.ambient-control button{display:flex;align-items:center;gap:7px;font-size:11px;font-weight:600;padding:0}.ambient-control small{display:block;font-size:9px;color:var(--muted);margin-top:4px}@media(max-width:600px){.ambient-control{left:12px;bottom:49px;padding:7px 10px}}

.prayer-panel{margin:24px 0;padding:20px;border:1px solid #d6ded8;border-radius:14px;background:#fafaf4;color:#314d45}.prayer-panel>div:first-child{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.prayer-panel form{display:flex;gap:10px;margin:16px 0;flex-wrap:wrap}.prayer-panel input{padding:8px;border:1px solid #bdcbc4;border-radius:6px}.prayer-panel button{padding:8px 12px;background:#e4ede6;border-radius:6px;margin:6px 0}.prayer-times{display:flex;gap:24px;flex-wrap:wrap}.prayer-times span{display:grid;gap:4px}.prayer-panel small{display:block;margin:10px 0}
