/* Workspace components. Actions, editable values and navigation have distinct
   surfaces. No decorative accent stripe on the left of any component. */
:root{--color-bg:#f6f7f9;--color-border:#e6e9ee;--color-ink:#202a39;--color-muted:#5d697a;--field-bg:#f3f5f7;--card-radius:18px;--control-radius:10px;--space-5:20px;--space-10:40px}
.workspace{grid-template-columns:232px minmax(0,1fr)}
.sidebar{padding:28px 16px 16px;border-right:1px solid #e9ecf1;background:#fff}
.sidebar .brand{padding:0 8px 28px;gap:10px;font-size:15px}.brand img{width:36px;height:36px}.brand small{letter-spacing:.08em;font-size:9px}
.project-back{min-height:44px;padding:10px 12px;gap:10px;font-size:12px;border-radius:10px;margin-bottom:12px}.project-back:hover{background:var(--field-bg);color:var(--color-ink)}
.project-label{letter-spacing:.08em;font-size:10px;padding:12px;margin-bottom:6px;color:#677587}
.navigation{gap:4px}.nav-item{min-height:46px;padding:12px;gap:12px;font-size:13px;line-height:1.45;font-weight:500;border-radius:10px;box-shadow:none}
.nav-item.is-active{background:#edf1fa;color:#214daf;font-weight:650;box-shadow:none;border:0}
.nav-item:hover{transform:none;background:#f3f5f8}.nav-item.is-active:hover{background:#e6ecf9}
.sidebar-bottom{padding:28px 8px 8px;gap:24px}.sidebar-bottom>label>span{font-size:11px}.sidebar-bottom select{min-height:40px;background-color:var(--field-bg);border-color:transparent;border-radius:9px;padding-left:12px}
.sidebar-toggle{display:none}.account-card{border-top-color:#edf0f4;padding-top:20px}.account-identity strong{font-weight:650}.account-settings{padding:10px 8px;min-height:44px}.account-signout{min-height:44px;background:#f2f4f7;border-color:transparent}
.topbar{min-height:76px;padding:14px 32px;border-bottom:1px solid #e9ecf1;gap:16px;background:#fffffff2}.breadcrumb{gap:8px 12px;font-size:12px}.breadcrumb strong{font-weight:600}.save-state{display:flex;gap:6px;align-items:center;color:#53705f;font-size:11px}.save-state::before{content:'';width:6px;height:6px;border-radius:50%;background:currentColor;flex-shrink:0}.save-state.is-dirty{color:#956222}
.main{padding:32px;container:workspace-content/inline-size;max-width:1600px}.page-heading{margin-bottom:32px;align-items:center;gap:20px}.page-heading .eyebrow{font-size:10px;letter-spacing:.09em;font-weight:600;margin-bottom:10px;color:#667386}.page-heading h1{font-size:30px;line-height:1.2;font-weight:650;letter-spacing:-.035em}.page-heading>div>p:not(.eyebrow){margin-top:10px;max-width:70ch;line-height:1.65}
.button{min-height:44px;padding:11px 16px;gap:9px;border:1px solid transparent;background:#eef1f5;color:#344156;border-radius:var(--control-radius);font-weight:600;font-size:12px;line-height:1.4;box-shadow:none}
.button:hover{background:#e4e9f0;border-color:transparent}.button:not(:disabled):hover{box-shadow:none}
.button.is-primary{background:var(--color-primary);color:white;border-color:transparent;box-shadow:0 2px 4px #2457d616}.button.is-primary:hover{background:var(--blue-700);border-color:transparent}.button.is-primary:disabled{opacity:1;background:#e6ebf5;color:#657796;box-shadow:none}
.button.is-secondary{background:#eaf0fd;color:#244ca3}.button.is-secondary:hover{background:#dfe8fb}.button.is-ghost{background:transparent;border-color:transparent;color:#516176}.button.is-ghost:hover{background:#eef2f7;color:#1e3f7d}.button.is-danger{background:#fff1f2;color:var(--color-danger)}.button.is-danger:hover{background:#ffe2e6;border-color:transparent}
.button.is-icon{width:44px;min-height:44px;height:44px;padding:11px}.button.is-small{min-height:40px;padding:9px 12px}.button-row{gap:12px}.button-row>button{flex-shrink:0}.button .icon{width:18px;height:18px}
.field{gap:9px;font-size:12px;font-weight:550;line-height:1.5}.field>span:first-child{color:#475469}.field small{font-size:11px;font-weight:400;color:var(--color-muted);line-height:1.7}
.field input:not([type=checkbox]):not([type=radio]),.field textarea,.field select,select,input[type=search],.text-input{background-color:var(--field-bg);border:1px solid #e4e8ee;border-radius:9px;min-height:46px;font-size:13px;padding:11px 13px;color:var(--color-ink);transition:background-color 140ms,border-color 140ms,box-shadow 140ms}
.field textarea{min-height:112px;resize:vertical}.field input:hover,.field textarea:hover,.field select:hover{border-color:#c5cfdb}.field input:focus,.field textarea:focus,.field select:focus,input[type=search]:focus{background-color:white;border-color:#315fd0;box-shadow:0 0 0 3px #2457d614}
select,.field select,.sidebar-bottom select,.drawing-toolbar select{padding-right:44px;background-position:right 14px center;background-size:17px}.password-field input{padding-right:48px!important}.password-toggle{width:40px;min-height:40px;right:4px}
.form-grid{gap:24px}.panel{border:1px solid #e8ebf0;padding:26px;background:white;border-radius:var(--card-radius);box-shadow:0 2px 4px #22304a03;margin-bottom:24px}.panel-heading{gap:20px;margin-bottom:24px;align-items:center}.panel h2{font-size:18px;font-weight:650}.panel h3{font-size:14px}
.stats{gap:16px;margin-bottom:28px}.stat{padding:22px 24px;border-color:#e8ebf0;border-radius:14px;display:flex;flex-direction:column;gap:14px}.stat span{font-size:12px;color:var(--color-muted)}.stat strong{font-size:32px;letter-spacing:-.035em;font-weight:600;line-height:1}
.split-layout{grid-template-columns:minmax(0,1.45fr) minmax(300px,.85fr);gap:24px;align-items:start}.project-languages{padding-bottom:22px;margin-bottom:16px;border-bottom:1px solid #edf0f4}.project-languages+p{margin-bottom:24px}.language-follow{padding:0;background:transparent;color:#257052;min-height:46px;gap:9px;font-size:13px}.overview-image{border-radius:12px}.notice{border:0;box-shadow:none;line-height:1.7;border-radius:12px;padding:16px 18px}
.table-tools{gap:12px;margin-bottom:24px}.table-tools input[type=search]{flex:1 1 220px;max-width:360px}.table-tools>select{flex:0 1 190px;width:190px;max-width:100%}.property-list{container:property-list/inline-size;border:0;background:transparent;overflow:visible;border-radius:0}
.property-data{border-collapse:separate;border-spacing:0;width:100%;table-layout:fixed;background:#fff;border:1px solid #e6eaf0;border-radius:16px;overflow:hidden;font-size:13px}.property-data th{padding:16px;color:#69768a;font-size:11px;letter-spacing:.02em;text-align:left;font-weight:550;background:#fafbfc;border-bottom:1px solid #e6eaf0}.property-data th:nth-child(1){width:25%}.property-data th:nth-child(2){width:19%}.property-data th:nth-child(3){width:19%}.property-data th:nth-child(4){width:14%}.property-data th:nth-child(5){width:8%}.property-data th:nth-child(6){width:15%;text-align:right}
.property-row{display:table-row;padding:0;cursor:pointer;background:#fff}.property-row:hover{background:#f8faff}.property-row>td{padding:20px 16px;border-bottom:1px solid #edf0f4;vertical-align:middle;min-width:0;overflow-wrap:anywhere}.property-row:last-child>td{border-bottom:0}.property-name strong{display:block;font-weight:650;font-size:13px;margin-bottom:6px}.property-name small{display:block;color:#69768a;font-size:11px;line-height:1.5}.property-value{font-variant-numeric:tabular-nums;line-height:1.7;font-size:12px}.property-value::before{display:none}.property-actions{text-align:right}.property-actions .button{white-space:normal;padding:9px 8px;gap:8px;font-size:12px}
.inline-status{display:block;min-width:0;max-width:190px}.inline-status select{min-height:40px;border:1px solid transparent;border-radius:8px;font-size:11px;line-height:1.4;padding:10px 34px 10px 11px;background-position:right 10px center;background-size:16px;max-width:100%;width:100%}.inline-status .unknown{background-color:#f0f2f6;color:#5b6676}
.modal-header{padding:20px 24px;border-bottom-color:#edf0f4}.modal-header .button{background:transparent}.modal-header .button:hover{background:#eef2f7}.modal-body{padding:24px}.modal-footer{padding:18px 24px;border-top-color:#edf0f4;gap:12px}.modal-header h2{font-size:21px;font-weight:650}.tab-row{gap:8px;border-bottom:0;background:#f3f5f8;padding:6px;border-radius:12px;margin-bottom:24px}.tab-row>button{min-height:40px;padding:10px 14px;background:transparent;border:0;border-radius:8px;font-weight:500;font-size:12px;color:#5d6c80}.tab-row>button.is-active{background:white;color:#203d76;box-shadow:0 1px 4px #182c4c14}
.section-heading{display:flex;align-items:center;gap:12px;justify-content:space-between;margin-bottom:18px}.quiet-label{font-size:10px;letter-spacing:.04em;color:#687486}.photo-plan-setting,.photo-location-setting{margin:0 0 28px;padding:0 0 24px;border-bottom:1px solid #e7ebf0}.photo-location-setting{margin-top:28px;padding-top:24px;border-top:1px solid #e7ebf0;border-bottom:0}.switch-setting{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;cursor:pointer}.switch-setting>span{display:grid;gap:8px;max-width:66ch}.switch-setting strong{font-size:13px;font-weight:600;line-height:1.55}.switch-setting small{font-size:12px;line-height:1.7;color:var(--color-muted);font-weight:400}.switch-setting input[role=switch]{appearance:none;flex:0 0 42px;width:42px;height:26px;margin:8px 2px 8px 0;border:1px solid #8e9bab;border-radius:20px;background:#a0acbb;cursor:pointer;position:relative;transition:background 150ms}.switch-setting input[role=switch]::after{content:'';position:absolute;left:3px;top:3px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #17233426;transition:transform 150ms}.switch-setting input[role=switch]:checked{background:#2457d6;border-color:#2457d6}.switch-setting input[role=switch]:checked::after{transform:translateX(16px)}.photo-plan-setting>p,.photo-location-setting>p{margin-top:16px;line-height:1.7}.photo-location-action{margin-top:20px;display:flex;justify-content:space-between;gap:20px;align-items:center;flex-wrap:wrap}.photo-location-action>p{flex:1 1 220px;line-height:1.7}.photo-location-action>.button{flex-shrink:0}.category-card{border-color:#e6eaf0;background:#fafbfc;border-radius:14px;padding:24px;gap:12px}.category-card:hover{background:white}.attachment{padding:16px;gap:16px;border-color:#edf0f4}.attachment-actions{gap:12px}.attachment-actions>button{border:0;background:#f2f4f7;min-height:44px;padding:10px 12px;border-radius:9px}.attachment-actions>[data-attachment-remove]{background:#fff1f2}.attachment-actions>[data-attachment-remove]:hover{background:#ffe2e6}
/* Canvas tools belong to the image, with a contextual inspector at each point. */
.tour-heading{display:grid;gap:10px}.tour-heading p{max-width:76ch;line-height:1.7}.panorama-editor-shell{container:tour-canvas/inline-size;isolation:isolate;margin:20px 0 14px;background:#e6ebf2;border-radius:14px}.panorama-editor-shell .panorama-editor-canvas{min-height:320px;max-height:52vh;border-radius:0;outline-offset:-4px}.panorama-editor-shell .panorama-fallback{min-height:350px}
.tour-toolbar{position:absolute;top:12px;left:12px;right:12px;z-index:5;display:flex;gap:6px;align-items:center;pointer-events:none}.tour-tool{pointer-events:auto;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:11px 12px;border:1px solid #ffffffc9;border-radius:9px;background:#fffffff2;backdrop-filter:blur(10px);color:#263b58;box-shadow:0 2px 10px #1420331a;font:600 11px/1.4 var(--font-ui);cursor:pointer;transition:background 140ms,transform 140ms}.tour-tool:hover{background:white}.tour-tool:active{transform:scale(.97)}.tour-tool[aria-pressed=true]{background:#2457d6;border-color:#2457d6;color:white}.tour-tool:disabled{opacity:.55}.tour-tool .icon{width:18px;height:18px}.tour-zoom{display:grid;gap:4px;position:absolute;bottom:12px;left:12px;z-index:5}.tour-zoom .tour-tool{width:44px;padding:10px}.tour-zoom .tour-tool span{display:none}.panorama-crosshair{z-index:4}.tour-placement-hint{position:absolute;bottom:12px;left:68px;right:12px;z-index:4;color:white;background:#182d46e8;padding:10px 14px;border-radius:9px;font-size:11px;line-height:1.6;pointer-events:none}.tour-placement-hint>span{display:block;color:#c6d4e5;font-size:10px}
.pe-tour-hotspot{width:44px;height:44px;z-index:4;pointer-events:auto}.tour-point{width:44px;height:44px;display:grid;place-items:center;background:#fff;color:#244da3;border:3px solid #fff;border-radius:50%;box-shadow:0 0 0 5px #ffffff3b,0 3px 12px #17233440;cursor:grab;touch-action:none;padding:9px;transition:background 130ms,box-shadow 130ms}.tour-point .icon{width:20px;height:20px;pointer-events:none}.tour-point:hover,.tour-point[aria-expanded=true]{background:#e9f0ff;box-shadow:0 0 0 6px #ffffff65,0 4px 14px #1723344d}.tour-point.is-moving{cursor:grabbing;background:#2457d6;color:#fff;box-shadow:0 0 0 7px #ffffff65,0 5px 18px #17233466}
.tour-point-panel{position:absolute;z-index:10;width:288px;max-width:calc(100% - 16px);max-height:calc(100% - 16px);overflow-y:auto;padding:16px;border:1px solid #e2e8f0;border-radius:12px;background:#fff;color:var(--color-ink);box-shadow:0 12px 36px #132d4e33;overscroll-behavior:contain}.tour-point-title{display:flex;justify-content:space-between;align-items:center;gap:12px}.tour-point-title>div{min-width:0;display:grid;gap:4px}.tour-point-title small{font-size:10px;color:#6b788d}.tour-point-title strong{font-size:13px;overflow-wrap:anywhere}.tour-point-title>.button{margin:-8px -8px -8px 0}.tour-point-panel>.field{margin-top:16px}.tour-point-panel .field small{font-size:11px;line-height:1.6}.tour-point-panel .field select{min-height:44px;font-size:12px}.tour-point-actions{margin-top:16px;display:flex;gap:8px;justify-content:space-between;align-items:center}.tour-point-actions>.button{font-size:11px;padding:10px;min-height:44px}.tour-point-actions>.is-danger{margin-left:auto;width:44px;flex-shrink:0}
.tour-feedback{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:14px 0 24px}.tour-feedback p{flex:1 1 250px;font-size:12px;line-height:1.7;color:var(--color-muted)}.tour-feedback .button{font-size:12px}.tour-point-list{border-top:1px solid #e7ebf0;padding-top:18px}.tour-point-list summary{cursor:pointer;font-size:12px;font-weight:600;padding:4px 0;line-height:1.8}.tour-point-list summary>span{font-size:10px;margin-left:8px;border-radius:6px;padding:3px 6px;background:#edf1f6}.tour-point-list>p{margin:16px 0;line-height:1.7}.tour-point-list .list-row{padding:12px 0;gap:16px}.tour-list-link{display:flex;align-items:center;gap:12px;min-width:0;min-height:44px;flex:1;border:0;background:transparent;color:#344763;text-align:left;font-size:12px;padding:8px;border-radius:9px}.tour-list-link:hover{background:#eff3f9}.tour-list-link>span{flex:1;overflow-wrap:anywhere}.tour-list-link>.icon:last-child{width:16px;color:#71819a}.tour-point-list [data-hotspots]>p{margin:16px 0}
@container tour-canvas (max-width:600px){.tour-toolbar .tour-tool{width:44px;padding:10px}.tour-toolbar .tour-tool span{display:none}.tour-toolbar{gap:8px}.tour-point-panel{width:264px;padding:14px}.tour-point-panel .field{gap:6px}.tour-point-actions{margin-top:12px}}
@container workspace-content (max-width:820px){.split-layout{grid-template-columns:1fr}.appearance-layout{grid-template-columns:1fr}.appearance-preview-panel{position:static}.stats{gap:12px}.stat{padding:20px}.form-grid{grid-template-columns:1fr 1fr}}
@container workspace-content (max-width:520px){.form-grid{grid-template-columns:1fr}.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.stat{padding:18px}.stat strong{font-size:28px}.page-heading{align-items:flex-start;gap:18px}.page-heading>div{width:100%}.panel{padding:20px}.page-heading h1{font-size:27px}.table-tools{display:grid;grid-template-columns:1fr}.table-tools>input[type=search],.table-tools>select{width:100%;max-width:none}.appearance-actions .button{flex:1 1 150px}}
@container property-list (max-width:900px){.property-data{display:block;background:transparent;border:0;border-radius:0;overflow:visible}.property-data thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.property-data tbody{display:grid;gap:14px}.property-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 28px;padding:20px;background:#fff;border:1px solid #e6eaf0;border-radius:14px}.property-row:last-child{border:1px solid #e6eaf0}.property-row>td{padding:0;border:0;display:block}.property-row .property-name{grid-column:1/3}.property-status{grid-column:3;align-self:start}.property-value::before{display:block;content:attr(data-label);font-size:11px;color:#6f7d90;margin-bottom:8px}.property-value{font-size:13px}.property-actions{grid-column:1/-1;justify-self:end;margin-top:-12px}.property-name strong{font-size:14px}.property-row>.property-price{grid-column:1}.property-row>.property-area{grid-column:2}.property-row>.property-rooms{grid-column:3}.property-actions .button{padding:8px 10px}.inline-status select{font-size:11px;max-width:190px}}
@container property-list (max-width:500px){.property-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 28px}.property-row .property-name{grid-column:1/-1}.property-status{grid-column:1/-1}.property-row>.property-price{grid-column:1/-1}.property-row>.property-area{grid-column:1}.property-row>.property-rooms{grid-column:2}.inline-status{width:fit-content;min-width:150px}.property-actions{margin-top:0}}
@media(min-width:1600px){.main{padding:40px}.topbar{padding-right:40px;padding-left:40px}}
@media(max-width:1100px) and (min-width:901px){.workspace{grid-template-columns:208px minmax(0,1fr)}.sidebar{padding:24px 12px}.brand{font-size:13px}.main{padding:28px 24px}.topbar{padding:14px 24px}.nav-item{font-size:12px}}
@media(max-width:900px){.workspace{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);height:100dvh}.sidebar{height:auto;max-height:70dvh;overflow-y:auto;position:relative;padding:14px 20px;border:0;border-bottom:1px solid #e6eaf0;scrollbar-gutter:auto}.sidebar .brand{display:flex;padding:0;gap:10px;font-size:14px;width:100%}.sidebar .brand img{width:32px;height:32px}.sidebar .brand small{display:block;font-size:9px}.sidebar-toggle{display:grid;place-items:center;margin-left:auto;width:44px;height:44px;flex-shrink:0;background:#f0f3f7;border:0;border-radius:10px;color:#425470}.sidebar-toggle svg{width:20px;height:20px}.workspace:not(.nav-open) .sidebar>:not(.brand){display:none}.sidebar .project-back{position:static;display:flex;margin:16px 0 8px;padding:8px 10px;font-size:12px}.sidebar .project-label{display:none}.sidebar .navigation{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible;margin-top:16px;padding:0;gap:6px}.sidebar .nav-item{min-height:44px;font-size:12px;padding:10px 12px;gap:10px;flex-shrink:1;width:100%}.sidebar .nav-item svg{width:18px;height:18px}.sidebar .sidebar-bottom{display:grid;grid-template-columns:minmax(100px,.7fr) minmax(0,1.3fr);position:static;gap:20px;padding:24px 0 8px;margin:0}.sidebar-bottom>label>span{display:block}.sidebar-bottom select{max-width:none;width:100%}.account-card{padding:0;border:0;gap:12px}.account-identity .avatar{display:grid;width:32px;height:32px}.account-identity strong{font-size:12px}.account-actions{grid-template-columns:1fr 1fr;gap:8px}.account-settings,.account-signout{font-size:11px;min-height:44px;padding:8px}.page{height:100%;min-height:0;overflow-y:auto}.topbar{min-height:72px;padding:14px 20px;gap:12px;flex-wrap:wrap}.breadcrumb{display:flex;flex:1 1 180px;gap:6px 10px}.breadcrumb>span{display:none}.breadcrumb strong{font-size:13px;max-width:100%}.topbar .button-row{flex:0 1 auto;justify-content:flex-start;gap:8px}.topbar .button{font-size:12px;min-height:44px;padding:10px 12px}.topbar .button svg{display:block;width:18px;height:18px}.main{padding:24px 20px}.form-grid{gap:22px}.panel{padding:24px}.split-layout{grid-template-columns:1fr}.view-list{grid-template-columns:repeat(auto-fill,minmax(190px,1fr));display:grid}.view-settings .form-grid{grid-template-columns:1fr 1fr}.modal-header{padding:16px 20px}.modal-body{padding:20px}.modal-footer{padding:16px 20px}.modal-footer .button{min-height:44px}.attachment-actions{max-width:none}}
@media(max-width:520px){.sidebar{padding:12px 16px}.main{padding:22px 16px}.topbar{padding:12px 16px}.topbar .button-row{flex:1 1 100%;justify-content:space-between}.topbar .button-row .button{flex:1}.breadcrumb{flex-basis:100%}.topbar .save-state{margin-left:auto}.panel{padding:20px}.form-grid,.view-settings .form-grid{grid-template-columns:1fr}.span-2{grid-column:auto}.tab-row{gap:4px;padding:4px}.tab-row>button{flex:1 1 auto;padding:10px 12px;min-height:44px}.modal-header h2{font-size:19px}.modal-body{padding:18px}.modal-footer{padding:14px 18px}.modal-footer>.button-row:empty{display:none}.modal-footer .button-row{width:auto}.modal-footer>.button{flex:1}.modal-header{padding:14px 16px}.modal-title{gap:8px}.category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.category-card{padding:18px;gap:10px}.attachment .attachment-info{min-width:90px}.attachment-actions{width:100%;justify-content:flex-end}.switch-setting{gap:16px}.sidebar .sidebar-bottom{grid-template-columns:1fr}.sidebar-bottom>label{max-width:200px}.account-actions{grid-template-columns:1fr 1fr}.photo-location-action>.button{width:100%}}
@media(prefers-reduced-motion:reduce){.tour-tool,.tour-point,.switch-setting input[role=switch],.switch-setting input[role=switch]::after{transition:none}.tour-tool:active{transform:none}}

/* Numeric columns share an edge; card labels stay above their values. */
.property-data th:nth-child(3),.property-data th:nth-child(4),.property-data th:nth-child(5),.property-value{text-align:right}
.field input::placeholder,.field textarea::placeholder,input[type=search]::placeholder{color:#69768a}
@container property-list (max-width:900px){.property-value{text-align:left}}

/* Workspace-level navigation and sales operations share the same spacing scale. */
.workspace-links{display:grid;gap:4px;margin:20px 0 8px;padding-top:16px;border-top:1px solid var(--line,#e5e9ef)}
.workspace-links .nav-item{width:100%;text-align:left;min-height:44px}
.panel>h2+.form-grid,.panel>h2+form,.panel>h3+.field{margin-top:24px}
.form-actions{display:flex;align-items:center;flex-wrap:wrap;gap:16px;margin-top:24px}
.form-actions small{color:#526071;max-width:36ch}
.schedule-days{border:0;margin:24px 0 0;padding:0;min-width:0}
.schedule-days legend{font-weight:650;margin-bottom:12px}
.host-summary{display:flex;align-items:center;gap:16px;padding:20px 0 24px}
.host-summary>svg{width:32px;height:32px;color:#506581;flex-shrink:0}
.host-summary p{margin:4px 0 0;color:#526071}
#calendar-connection .switch-setting{margin:24px 0}
#calendar-connection [data-project-schedule][hidden]{display:none}
#calendar-connection .panel-heading p,#my-schedule .panel-heading p{margin-top:8px;max-width:70ch;color:#526071}
.invitation-context{margin:24px 0;padding:24px;background:#f3f5f8;border-radius:16px;display:grid;gap:12px}
.invitation-context h2,.invitation-context p{margin:0}
.invitation-context small{color:#526071;overflow-wrap:anywhere}
.auth-card .invitation-context h2{font-size:22px}
.auth-card input[readonly]{color:#526071}
.invitation-result{display:grid;gap:16px;margin-top:24px;padding-top:24px;border-top:1px solid #e3e7ee}
.invitation-result p{margin:0}
.copy-field{display:flex;align-items:flex-end;gap:16px;flex-wrap:wrap}
.copy-field>.field{flex:1 1 280px;min-width:0;margin:0}
.copy-field>.button{flex:0 0 auto;margin:0;min-height:46px}
.copy-field input{width:100%;text-overflow:ellipsis}
.legacy-calendars{margin-top:24px;padding-top:24px;border-top:1px solid #e3e7ee}
.sales-filters{display:grid;grid-template-columns:minmax(180px,1fr) minmax(180px,.6fr);gap:24px;margin:24px 0}
.sales-records{display:grid;gap:8px}
.sales-record{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr) minmax(0,1fr) 24px;gap:24px;align-items:center;width:100%;border:0;background:#f7f8fa;border-radius:12px;padding:20px;text-align:left;color:#263447;font:inherit;cursor:pointer;transition:background .16s,transform .16s}
.sales-record:hover{background:#edf1f6;transform:translateY(-1px)}
.sales-record>span{min-width:0;display:grid;gap:6px;overflow-wrap:anywhere}
.sales-record strong{font-size:14px}.sales-record small{font-size:13px;color:#526071}
.sales-record>svg{width:20px;height:20px}.sales-record:focus-visible,.sales-project:focus-visible{outline:3px solid #2457d6;outline-offset:3px}
.sales-empty{display:grid;justify-items:center;gap:16px;padding:40px 16px;color:#526071;text-align:center}.sales-empty svg{width:36px;height:36px}
.sales-projects{display:grid;gap:12px;margin-top:24px;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr))}
.sales-project{display:flex;align-items:center;justify-content:space-between;gap:16px;border:0;border-radius:12px;padding:20px;background:#f3f5f8;color:#263447;font:inherit;cursor:pointer;text-align:left}
.sales-project>span{display:flex;gap:12px;align-items:center;min-width:0;overflow-wrap:anywhere}.sales-project svg{width:20px;height:20px;flex-shrink:0}
/* Commands sit directly on the image, without a toolbar strip or button backplates. */
.drawing-frame{padding-top:0!important;background:transparent}
.drawing-frame .canvas-tools{position:absolute;top:12px;left:12px;z-index:4;display:flex;gap:8px;padding:0;background:transparent;border:0;box-shadow:none}
.drawing-frame .canvas-tools .button{background:transparent!important;border:0!important;box-shadow:none!important;color:#fff!important;opacity:1;min-width:44px;min-height:44px;border-radius:8px;filter:drop-shadow(0 1px 1px #111827) drop-shadow(0 0 2px #111827);transition:transform .16s}
.drawing-frame .canvas-tools .button svg{stroke:currentColor;stroke-width:2.2;width:24px;height:24px;fill:none}
.drawing-frame .canvas-tools .button:hover:not(:disabled){transform:translateY(-2px)}
.drawing-frame .canvas-tools .button:disabled{opacity:.45;cursor:not-allowed}
.drawing-frame .canvas-tools .button[aria-pressed="true"]{outline:2px solid white;outline-offset:-4px}
.drawing-frame .canvas-tools .button:focus-visible{outline:3px solid white;outline-offset:2px}
.drawing-frame .canvas-pan span{display:none}
@container workspace-content (max-width:720px){.sales-record{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}.sales-record>svg{display:none}.sales-record>span:last-of-type{grid-column:1/-1}.sales-filters{gap:16px;grid-template-columns:1fr}.copy-field>.button{align-self:flex-end}.form-actions{align-items:flex-start}}
@media(max-width:900px){.workspace:not(.nav-open) .workspace-links{display:none}.workspace-links{margin:8px 0;padding-top:8px}}
@media(prefers-reduced-motion:reduce){.sales-record,.drawing-frame .canvas-tools .button{transition:none;transform:none!important}}


/* Adviser calendar and account navigation */
.calendar-controls{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:24px}.calendar-controls .field{flex:1;max-width:400px}.calendar-homes{border:0;padding:0;margin:20px 0}.calendar-homes legend{font-size:13px;font-weight:650;margin-bottom:8px}.calendar-homes .check-grid{margin-top:14px}.calendar-legend{display:flex;flex-wrap:wrap;gap:16px;font-size:12px;margin:20px 0}.calendar-legend span:before{content:'';display:inline-block;width:9px;height:9px;background:var(--slot-ink);border-radius:50%;margin-right:7px}.is-open{--slot-bg:#edf8f2;--slot-ink:#216246}.is-booked{--slot-bg:#edf1fd;--slot-ink:#244ca3}.is-unavailable{--slot-bg:#f1f3f6;--slot-ink:#626d7b}.calendar-week-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:22px 0 12px;font-size:12px}.calendar-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.calendar-day{border:1px solid #e2e7ef;background:#fff;border-radius:10px;padding:14px 8px;min-height:76px;display:flex;flex-direction:column;gap:10px;text-align:left;color:var(--color-ink);cursor:pointer}.calendar-day small{font-size:10px;color:var(--color-muted);line-height:1.5}.calendar-day.is-selected{border-color:#315fd0;background:#edf2ff}.calendar-day[aria-pressed=true] strong{color:#244ca3}.calendar-slots{display:grid;grid-template-columns:repeat(auto-fill,minmax(148px,1fr));gap:10px}.calendar-slot{display:flex;flex-direction:column;gap:6px;background:var(--slot-bg);color:var(--slot-ink);padding:14px;border-radius:9px;font-size:12px}.calendar-slot small{font-size:11px}.calendar-booking{width:100%;margin:10px 0;background:#edf1fd;border:0;cursor:pointer}.calendar-booking>span:first-child{display:flex;flex-direction:column;gap:8px}.calendar-booking small{color:#556783}[data-calendar-detail] h3{margin-top:28px}[data-calendar-detail] h4{font-size:13px;margin:24px 0 14px}.account-list{display:grid;gap:12px;margin-top:20px}.account-list .sales-project{width:100%;text-align:left}.account-list .sales-project>span:first-child{align-items:start;flex-direction:column;gap:6px}.account-list small{font-size:12px;font-weight:400}.preview-dialog .modal-body iframe{width:100%;height:65vh;border:0;border-radius:10px}.panel>summary{cursor:pointer;font-weight:650;min-height:44px;line-height:44px}.panel>summary~section{margin-top:24px}.calendar-slot strong{font-variant-numeric:tabular-nums}.calendar-day:focus-visible{outline:3px solid #315fd0;outline-offset:3px}
@container workspace-content (max-width:640px){.calendar-days{grid-template-columns:repeat(3,minmax(0,1fr))}.calendar-controls{align-items:stretch;flex-direction:column}.calendar-controls .field{max-width:none}.calendar-legend{gap:10px}}

dialog.assignment-dialog{width:min(860px,calc(100vw - 32px))}.assignment-dialog .modal-body{max-height:65vh;overflow:auto}.assignment-dialog .field{margin:18px 0}.assignment-toolbar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:20px 0}.assignment-toolbar>strong{margin-right:auto;font-size:13px}.assignment-list{display:grid;gap:10px}.assignment-row{display:flex;align-items:start;gap:14px;border:1px solid #e0e6ee;border-radius:10px;padding:16px;cursor:pointer}.assignment-row>input{margin-top:4px;width:18px;height:18px;flex-shrink:0}.assignment-row>span{display:flex;flex-direction:column;gap:7px;line-height:1.6;font-size:13px}.assignment-row small{color:#526176;font-size:12px}.assignment-row.is-assigned{background:#f3f5f8;cursor:default}.assignment-row .assignment-conflict{color:#a32432;font-weight:600}.assignment-status{border-radius:10px;padding:16px;margin:16px 0;background:#eef3fd;line-height:1.7;font-size:13px}.assignment-status.has-conflicts{background:#fff1f2;color:#982434}.assignment-summary{font-size:12px;color:#526176;margin-top:8px}.feedback-dialog .modal-body{line-height:1.75}.feedback-dialog ul{padding-left:22px;margin-top:14px}.feedback-dialog p{overflow-wrap:anywhere}.assignment-dialog .modal-footer{position:sticky;bottom:0;background:white;border-top:1px solid #e5e9f0}.assignment-dialog [data-unchecked-label]{align-items:start;line-height:1.7}.assignment-dialog [hidden]{display:none!important}
@media(max-width:560px){.assignment-dialog .modal-footer{flex-direction:column}.assignment-dialog .modal-footer .button{width:100%}}

/* Account identity and photo framing */
dialog.account-switcher{width:min(480px,calc(100vw - 32px));border-radius:22px}.account-switcher .modal-header{border-bottom:0;padding-bottom:4px}.account-switcher .modal-body{padding-top:14px}.account-switcher-intro{font-size:14px;color:#59687a;line-height:1.7;margin-bottom:22px}.account-choice-list{list-style:none;margin:0;padding:0;display:grid;gap:10px}.account-choice{width:100%;display:flex;align-items:center;gap:16px;text-align:left;border:1px solid #e4e9f0;border-radius:16px;background:white;padding:18px;color:#202a39;line-height:1.5;box-sizing:border-box}.account-choice.is-current{border-color:#cfdbf3;background:#f1f5ff}.account-choice:not(.is-current){cursor:pointer}.account-choice:not(.is-current):hover{background:#f6f8fc;border-color:#a9bce3}.account-choice>.icon{width:18px;height:18px;flex-shrink:0;color:#65758e}.account-choice-avatar{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:#dce6f9;color:#244ca3;font-size:17px;font-weight:700;flex-shrink:0;overflow:hidden}.account-choice-avatar img{width:100%;height:100%;object-fit:cover}.account-choice-text{min-width:0;flex:1;display:flex;flex-direction:column;gap:4px}.account-choice-text>strong{font-size:15px;font-weight:650;overflow-wrap:anywhere}.account-choice-text>small{font-size:12px;color:#526176;overflow-wrap:anywhere}.account-current-label{display:flex;gap:6px;align-items:center;font-size:11px;color:#244ca3;margin-top:5px}.account-current-label>.icon{width:14px;height:14px}.account-switcher-help{font-size:11px;color:#667487;line-height:1.7;margin-top:20px}.account-switcher .modal-footer{border-top:0;padding-top:0}.account-add-choice{width:100%;justify-content:flex-start;background:#f1f4f9;border-radius:13px;gap:14px}.account-add-icon{width:28px;height:28px;display:grid;place-items:center;border-radius:50%;background:white;color:#3159b9}.account-choice:focus-visible{outline:3px solid #315fd0;outline-offset:3px}.profile-photo-setting{display:flex;align-items:center;gap:22px;padding:8px 0 22px;margin-bottom:8px;border-bottom:1px solid #e5e9f0}.profile-photo-setting strong{font-size:15px}.profile-photo-setting p{font-size:12px;line-height:1.7;color:#647183;margin-top:8px;max-width:32ch}.profile-photo-button{padding:0;border:0;background:#e6ecf9;border-radius:50%;width:88px;height:88px;flex-shrink:0;position:relative;cursor:pointer;color:#3159b9}.profile-photo-button>.account-avatar{width:88px;height:88px;object-fit:cover;border-radius:50%;border:0}.profile-photo-button:focus-visible{outline:3px solid #315fd0;outline-offset:5px}.profile-photo-initials{font-size:28px;font-weight:650}.profile-photo-edit-icon{position:absolute;bottom:-2px;right:-2px;background:white;border:1px solid #d9e1ef;box-shadow:0 2px 5px #2438531a;width:28px;height:28px;border-radius:50%;display:grid;place-items:center}.profile-photo-edit-icon>.icon{width:15px;height:15px}.account-preferences{padding-top:20px;border-top:1px solid #e5e9f0}.account-preferences h3{margin-bottom:16px}.account-preferences>.field{max-width:360px}dialog.avatar-editor-dialog{width:min(480px,calc(100vw - 24px));border-radius:20px}.avatar-editor-dialog .modal-body{line-height:1.7;font-size:13px}.avatar-crop-preview{position:relative;width:min(320px,100%);aspect-ratio:1;margin:22px auto;overflow:hidden;border-radius:14px;background:#172334}.avatar-crop-preview canvas{display:block;width:100%;height:100%;cursor:grab;touch-action:none}.avatar-crop-preview canvas:active{cursor:grabbing}.avatar-crop-preview canvas:focus-visible{outline:3px solid #315fd0;outline-offset:-4px}.avatar-crop-mask{position:absolute;inset:0;pointer-events:none;border-radius:50%;box-shadow:0 0 0 120px #17233499;border:2px solid #ffffffdd}.crop-zoom{margin:0 auto 20px;max-width:320px}.crop-zoom input[type=range]{width:100%;min-height:40px;padding:0;box-shadow:none;background:transparent}.avatar-photo-options{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.avatar-editor-dialog .modal-footer{gap:12px}.avatar-editor-dialog .modal-footer>.button{flex:1}
.assignment-row.has-conflict{border-color:#cf7c87;background:#fff7f8}.assignment-conflict-links{display:grid;gap:8px;margin-top:14px}.assignment-conflict-links>button{text-align:left;padding:10px 12px;border:1px solid #e6b7bd;background:white;border-radius:8px;color:#982434;font-weight:400;line-height:1.6}.assignment-conflict-links small{display:block;margin-top:4px}
@media(max-height:800px){.avatar-crop-preview{width:min(240px,100%);margin:12px auto}.avatar-editor-dialog .modal-body{font-size:12px}.avatar-editor-dialog .crop-zoom{margin-bottom:12px}}
