.post-avatar{overflow:hidden;flex-shrink:0}.post-avatar img{width:100%;height:100%;object-fit:cover;display:block}.post-avatar:is(button){padding:0;border:1px solid #85838e;cursor:pointer}.post-avatar:is(button):focus-visible{outline:2px solid #7051a0;outline-offset:3px}
.profile-photo-preview{width:100px;height:100px;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:#242429;margin:12px auto;color:#eee;font-size:30px}.profile-photo-preview img{width:100%;height:100%;object-fit:cover}.profile-photo-library{display:grid;grid-template-columns:repeat(auto-fill,minmax(70px,1fr));gap:10px;margin:12px 0;max-height:280px;overflow:auto}.profile-photo-library button{padding:0;aspect-ratio:1;overflow:hidden;border-radius:50%}.profile-photo-library img{width:100%;height:100%;object-fit:cover}.profile-photo-library [aria-pressed=true]{outline:3px solid #b3f2c7;outline-offset:2px}
.blog-player{display:flex;align-items:center;gap:8px;padding:12px 16px;margin:0 0 22px;border:1px solid #d0cbd9;border-radius:16px;background:#f0edf5;color:#262331}.blog-player>div{display:grid;gap:3px;min-width:0;margin-right:auto}.blog-player strong{font:600 14px system-ui;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.blog-player span{font:12px system-ui;color:#665d76}.blog-player button{width:42px;min-width:42px;height:42px;border:1px solid #cbc3d8;border-radius:50%;background:#fff;color:#4d326d;cursor:pointer;font-size:17px}.blog-player button:disabled{opacity:.35;cursor:default}.blog-player.is-playing{border-color:#9670ba}.blog-player button:focus-visible{outline:2px solid #775194;outline-offset:2px}
.crm-page{padding:24px 24px 100px;color:#e8e7e2;background:#090b0e;min-height:75svh}#crm .settings-heading h1{font-size:clamp(42px,5vw,72px)}.crm-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.crm-tabs button,.crm-page button{font:inherit;border:1px solid #414347;border-radius:12px;background:#17191c;color:inherit;padding:10px 14px;cursor:pointer}.crm-tabs [aria-pressed=true]{background:#b48ce4;color:#17101f;border-color:#b48ce4}.crm-filters{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.crm-filters label{display:grid;gap:7px;font:13px system-ui;color:#bfc1c8}.crm-filters input[type=search]{flex:1;min-width:180px}.crm-filters input[type=search],.crm-filters select{background:#17191c;border:1px solid #414347;color:#e8e7e2;padding:12px;border-radius:10px;min-height:44px;font:14px system-ui}.crm-filters .crm-duplicates{display:flex;align-items:center;min-height:44px}.crm-duplicates input{width:20px;height:20px;accent-color:#b48ce4}.crm-feedback{min-height:24px;color:#b3f2c7}.crm-list{display:grid;gap:12px}.crm-row{display:flex;justify-content:space-between;align-items:center;gap:20px;border:1px solid #35373c;border-radius:16px;padding:18px;background:#0e1012}.crm-row-info{display:grid;gap:8px;min-width:210px;overflow-wrap:anywhere}.crm-row-info .crm-name{background:transparent;border:0;padding:0;text-align:left;font:600 18px system-ui;width:fit-content}.crm-row a{color:#bdb7e8;font:14px system-ui}.crm-inquiry{display:grid;gap:8px;flex:1;min-width:0;font:14px system-ui}.crm-inquiry p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;color:#c8c9cf;line-height:1.5}.crm-inquiry button{justify-self:start}.crm-actions{display:flex;gap:8px;flex-wrap:wrap}.crm-page .crm-delete,.editor-dialog .crm-delete{color:#ffbb98}.crm-duplicate-flag{background:#44301f;color:#ffc597;font:12px system-ui;padding:4px 8px;border-radius:8px;width:fit-content}.crm-history-item{border-top:1px solid #36383b;margin-top:18px;padding-top:16px}.crm-history-item p{white-space:pre-wrap;overflow-wrap:anywhere}.crm-page button:disabled{opacity:.45;cursor:wait}.crm-page button:focus-visible{outline:2px solid #b48ce4;outline-offset:3px}
.appointment-confirmed{background:#b5f4c9!important;position:relative}.appointment-confirmed::before{content:'✓';display:inline-block;margin-right:10px}.confirmation-celebrate{animation:confirm-pop .65s ease-out}.confirmation-celebrate::before{animation:confirm-check .5s ease-out}@keyframes confirm-pop{0%{transform:scale(.94);box-shadow:0 0 0 0 #a8efbe99}55%{transform:scale(1.025);box-shadow:0 0 0 8px #a8efbe22}100%{transform:scale(1);box-shadow:0 0 0 12px #a8efbe00}}@keyframes confirm-check{0%{opacity:0;transform:scale(.3) rotate(-30deg)}100%{opacity:1;transform:scale(1) rotate(0)}}
@media(max-width:700px){.has-editor .frame>header.nav{display:grid;grid-template-columns:1fr auto;height:auto;gap:12px;padding:12px}.has-editor .frame>header.nav .brand{position:static;grid-column:1;grid-row:1;transform:none}.has-editor .frame>header.nav .nav-details{position:static;grid-column:2;grid-row:1;transform:none}.has-editor .frame>header.nav .links{position:static;transform:none;grid-column:1/-1;grid-row:2;display:flex;flex-wrap:wrap;justify-content:center;gap:4px 14px;width:100%;height:auto;margin:0}.has-editor .frame>header.nav .links a{min-height:36px;display:inline-flex;align-items:center}.crm-page{padding:18px 12px 110px}.crm-row{align-items:start;flex-direction:column;gap:14px}.crm-row-info{min-width:0;width:100%}.crm-filters{gap:10px}.crm-filters>label{flex:1 1 calc(50% - 10px);min-width:0}.crm-filters select{min-width:0;max-width:100%;width:100%}.crm-filters .crm-duplicates{flex:1 1 100%;width:100%}.crm-filters input[type=search]{width:100%;flex-basis:100%}.crm-inquiry{width:100%}.blog-player{padding:10px;gap:5px;flex-wrap:wrap}.blog-player>div{width:100%;margin-bottom:4px}.blog-player button{width:44px;height:44px;min-width:44px}}
@media(prefers-reduced-motion:reduce){.confirmation-celebrate,.confirmation-celebrate::before{animation:none}}
.editor-dialog[hidden]{display:none!important}
.editor-dialog.customer-workspace-sheet .sheet-footer{display:grid;grid-template-columns:1fr 1.6fr 1fr;align-items:center}.customer-workspace-sheet .sheet-footer .sheet-error{grid-column:1/-1}.customer-workspace-sheet .sheet-footer button{min-height:46px}
.editor-dialog.customer-workspace-sheet.has-sheet-footer[open]{width:min(1320px,96vw);max-width:1320px;height:min(88svh,920px);max-height:88svh;top:4svh;bottom:auto;left:50%;transform:translateX(-50%);border-radius:20px;background:#101216;z-index:1100}.editor-dialog.customer-workspace-sheet .sheet-content{max-height:none;min-height:0;overflow:auto;padding:0;flex:1}.customer-workspace-sheet>header{padding:14px 22px}.customer-workspace-sheet .sheet-footer{padding:12px 20px}.crm-customer-layout{display:grid;grid-template-columns:270px minmax(0,1fr);min-height:100%}.crm-customer-info{background:#18171d;border-right:1px solid #3a3544;padding:22px;display:flex;flex-direction:column;gap:12px;overflow-wrap:anywhere}.crm-customer-info h2{font-size:26px;margin:0}.crm-customer-info p{margin:0}.crm-customer-info a{color:#cbb8ef}.crm-customer-info label{display:grid;gap:7px}.crm-customer-info input,.crm-customer-info textarea,.crm-customer-tools select{box-sizing:border-box;max-width:100%;width:100%;padding:10px;background:#0e1013;color:#eee;border:1px solid #46404e;border-radius:9px;font:14px/1.4 system-ui}.crm-customer-info .crm-special{color:#ffbd87}.crm-customer-main{padding:22px;min-width:0;background:#101216}.crm-pipeline{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;margin-bottom:20px}.crm-pipeline>span{padding:12px 6px;border-bottom:3px solid #49444f;color:#aaa;display:grid;gap:5px;font:12px system-ui;overflow-wrap:anywhere}.crm-pipeline small{font-size:11px}.crm-pipeline .reached{border-color:#b598d9;color:#d1b9ef}.crm-pipeline [aria-current=step]{background:#332440;color:#f0e1ff;border-radius:9px 9px 0 0}.crm-customer-tools{display:flex;align-items:end;flex-wrap:wrap;gap:8px}.crm-customer-tools label{display:grid;gap:6px;font:12px system-ui}.crm-customer-tools select{width:auto}.customer-workspace-sheet button{font:14px system-ui;padding:10px 13px;border-radius:9px}.crm-log-tools{display:flex;gap:10px;margin-bottom:16px;flex-wrap:wrap}.crm-log{display:grid;gap:12px}.crm-log-entry{border:1px solid #37343f;border-left:3px solid #8d78b0;border-radius:12px;background:#17191e;padding:16px;margin-bottom:12px}.crm-log-heading{display:flex;align-items:start;justify-content:space-between;gap:10px;margin-bottom:8px}.crm-log-heading time{font:11px system-ui;color:#aaa;white-space:nowrap}.crm-log-body{white-space:pre-wrap;overflow-wrap:anywhere;max-height:240px;overflow:auto;font:14px/1.6 system-ui}.crm-log-entry.email_in{border-left-color:#edaa76}.crm-log-entry button{margin-right:8px}.crm-invoice-fields{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px}
@media(max-width:760px){.editor-dialog.customer-workspace-sheet.has-sheet-footer[open]{width:96vw;height:85svh;max-height:85svh;top:2svh;bottom:auto}.crm-customer-layout{grid-template-columns:1fr}.crm-customer-info{border-right:0;border-bottom:1px solid #3a3544;padding:16px;display:grid;grid-template-columns:1fr 1fr;gap:10px}.crm-customer-info h2,.crm-customer-info>a,.crm-customer-info>p,.crm-customer-info>span{grid-column:1/-1}.crm-customer-info textarea{max-height:130px}.crm-customer-main{padding:14px}.crm-pipeline{gap:2px}.crm-pipeline>span{font-size:10px;padding:8px 3px}.crm-log-heading{flex-direction:column}.customer-workspace-sheet .sheet-footer{padding:10px;gap:6px}.customer-workspace-sheet .sheet-footer button{font-size:12px;padding:10px}.crm-invoice-fields{grid-template-columns:1fr 1fr}.crm-customer-info label{min-width:0}}

@media(min-width:761px){.customer-workspace-sheet .crm-customer-info{align-self:start;position:sticky;top:0;max-height:calc(88svh - 140px);overflow:auto;overscroll-behavior:contain}.customer-workspace-sheet .crm-customer-info h2{flex:0 0 auto}}

/* CRM keeps the customer list and record together; other pages retain their layout. */
body[data-page=crm]{background:#080e10!important;overflow:hidden}body[data-page=crm].has-editor .frame>header.nav{display:flex;margin:0;top:0;position:relative}body[data-page=crm] .frame>.nav .nav-details{display:none}body[data-page=crm] .frame>.footer{display:none}.crm-record-inline .sheet-footer>button{width:auto;flex:0 0 auto;margin:0}
body[data-page=crm] .frame{margin:0;max-width:none;border:0;min-height:100svh}body[data-page=crm] .review,body[data-page=crm] .footer,body[data-page=crm] .nav-details{display:none}body[data-page=crm] .frame>header.nav{height:54px;min-height:54px;padding:0 18px;gap:20px;background:#090e10;border-bottom:1px solid #263a36}body[data-page=crm] .nav .brand{font:600 16px system-ui;position:static;transform:none}body[data-page=crm] .nav .links{position:static;transform:none;gap:22px;align-items:center;margin:0 0 0 auto;height:auto}body[data-page=crm] .links a{font:12px system-ui}body[data-page=crm] .links a.active{color:#7ae5b2;border-color:#7ae5b2}
#crm.crm-home{padding:12px 16px 0;background:#080e10;color:#e1eeea;min-height:0;height:calc(100svh - 145px);font:14px/1.45 system-ui}#crm.crm-home.active{display:flex;flex-direction:column;gap:8px}.crm-home-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.crm-home-heading>div:first-child{display:flex;align-items:center;gap:14px}#crm .crm-home-heading h1{font:700 24px system-ui;margin:0}.crm-match-count{color:#a1b8b0;font-size:12px}.crm-home-feedback{margin:0;color:#81e7b4;font-size:13px}.crm-home-feedback:empty{display:none}.crm-home .crm-actions{gap:6px}.crm-home button,.crm-home summary{font:13px system-ui}.crm-home button{padding:9px 12px;border:1px solid #2b423d;border-radius:7px;background:#101b1e;color:#e1eeea;min-height:38px}.crm-home button.primary{background:#7ae5b2;border-color:#7ae5b2;color:#062318;font-weight:650}.crm-home button:focus-visible,.crm-home input:focus-visible,.crm-home select:focus-visible,.crm-home textarea:focus-visible,.crm-home summary:focus-visible{outline:2px solid #7ae5b2;outline-offset:2px}.crm-home-panels{display:grid;grid-template-columns:310px minmax(0,1fr);gap:12px;flex:1;min-height:0}.crm-customer-list{display:flex;flex-direction:column;min-height:0;border:1px solid #263a36;border-radius:9px;background:#0b1417;overflow:hidden}.crm-list-controls{padding:12px;border-bottom:1px solid #263a36}.crm-home input,.crm-home select,.crm-home textarea{background:#091114;color:#e1eeea;border:1px solid #2b423d;border-radius:6px;padding:9px 10px;font:13px system-ui;min-width:0;max-width:100%}.crm-list-controls>input{width:100%;min-height:42px}.crm-filter-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0}.crm-filter-grid label{display:grid;gap:4px;font-size:11px;color:#a1b8b0}.crm-filter-grid select{width:100%;min-height:38px}.crm-reset{font-size:11px!important;padding:5px 8px!important;min-height:30px!important}.crm-customer-scroll{overflow:auto;flex:1;min-height:0;overscroll-behavior:contain;scrollbar-gutter:stable;padding:6px}.crm-list-status{font-size:13px;color:#b7ccc3;margin:8px}.crm-list-status:empty{display:none}.crm-customer-rows{display:flex;flex-direction:column;gap:4px}.crm-home button.crm-customer-row{padding:12px 9px;text-align:left;background:transparent;border:1px solid transparent;border-bottom-color:#1c302b;border-radius:6px;display:grid;gap:9px;min-height:80px;width:100%}.crm-home button.crm-customer-row.selected{background:#163329;border-color:#73ddb0;box-shadow:inset 3px 0 #73ddb0}.crm-row-top,.crm-row-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}.crm-row-top strong{font-size:14px;overflow-wrap:anywhere}.crm-lead-age{font-size:10px;color:#a1b8b0;white-space:nowrap}.crm-stage{font-size:10px;background:#193f31;color:#9de8be;padding:3px 6px;border-radius:5px;white-space:nowrap}.crm-row-summary{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:#b4c9c1;min-width:0}.crm-detail{border:1px solid #263a36;border-radius:9px;background:#0b1417;overflow:hidden;min-width:0;min-height:0}.crm-no-selection{padding:30px;max-width:540px;color:#aec9bd}.crm-no-selection h2{font-size:22px;color:#e1eeea;margin:0 0 12px}
.crm-record-inline{height:100%;display:flex;flex-direction:column;min-height:0}.crm-record-inline>.sheet-content{flex:1;overflow:auto;min-height:0;padding:0}.crm-record-header{padding:15px 16px;display:flex;align-items:start;gap:12px;border-bottom:1px solid #263a36;background:#0d181b}.crm-record-header>div{flex:1;min-width:0;overflow-wrap:anywhere}.crm-record-header h2{font:650 23px system-ui;margin:0 0 5px}.crm-record-header p{font-size:13px;margin:0 0 6px;color:#c4d8cf}.crm-record-header .sheet-help{font:11px/1.5 system-ui;color:#a1b8b0}.crm-record-back{display:none}.crm-record-more{position:relative}.crm-record-more summary{padding:9px;cursor:pointer;border:1px solid #2b423d;border-radius:6px}.crm-record-more[open]{z-index:2}.crm-record-more[open]>button{display:block;white-space:nowrap;margin-top:5px}.crm-record-inline .crm-customer-main{padding:14px 16px;background:transparent}.crm-record-inline .crm-pipeline{margin-bottom:12px}.crm-record-inline .crm-pipeline>span{padding:6px;border-color:#244438;color:#a1b8b0}.crm-record-inline .crm-pipeline .reached{border-color:#66d6a2;color:#c2ebd6}.crm-record-inline .crm-pipeline [aria-current=step]{background:#17382a;color:#a0ecca}.crm-record-inline .crm-pipeline small{display:none}.crm-record-inline .crm-customer-tools{gap:6px}.crm-record-inline .crm-customer-tools label{display:flex;align-items:center;gap:8px}.crm-record-inline .crm-customer-tools select{width:auto;min-height:38px}.crm-record-inline .crm-tabs{margin:14px 0;gap:6px;border-bottom:1px solid #263a36;padding-bottom:10px}.crm-record-inline .crm-tabs [aria-pressed=true]{background:#173c2e;color:#94efbc;border-color:#53b38a}.crm-overview{display:grid;grid-template-columns:minmax(250px,1fr) minmax(230px,1fr);gap:18px}.crm-record-inline .crm-customer-info{padding:0;position:static;max-height:none;display:grid;grid-template-columns:1fr 1fr;align-content:start;gap:10px;background:transparent;border:0}.crm-record-inline .crm-customer-info>h2,.crm-record-inline .crm-customer-info>a,.crm-record-inline .crm-customer-info>span,.crm-record-inline .crm-customer-info>p{display:none}.crm-record-inline .crm-customer-info label{font-size:12px;color:#aac9ba;display:grid;gap:5px;min-width:0}.crm-record-inline .crm-customer-info label:has(textarea){grid-column:1/-1}.crm-record-inline .crm-customer-info input,.crm-record-inline .crm-customer-info textarea{background:#091114;border-color:#2b423d;color:#e1eeea;width:100%;font:13px/1.5 system-ui}.crm-record-inline .crm-customer-info .crm-special{color:#f8bf86}.crm-inquiry-details h3{font-size:15px;margin:0 0 12px}.crm-inquiry-details>p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;color:#b5ccc1;line-height:1.6;margin-bottom:24px}.crm-inquiry-details>strong{font-size:13px;color:#85dbae}.crm-recent-entry{display:grid;gap:5px;font-size:12px;padding:12px 0;border-bottom:1px solid #213930}.crm-recent-entry time{font-size:11px;color:#93b2a2}.crm-record-inline .crm-log-entry{background:#0d191d;border-color:#294038;border-left-color:#68c8a1;padding:12px;border-radius:7px}.crm-record-inline .crm-log-heading strong{font-size:14px}.crm-record-inline .crm-log-body{font-size:13px;line-height:1.6}.crm-record-inline>.sheet-footer{flex:none;display:flex;flex-wrap:wrap;justify-content:end;align-items:center;gap:8px;border-top:1px solid #263a36;padding:8px 12px;background:#0b1417}.crm-record-inline .sheet-footer .sheet-error{flex:1 1 100%;padding:0;margin:0;font-size:13px;background:transparent;color:#ffb393}.crm-record-inline .sheet-footer .sheet-error:empty{display:none}.crm-record-inline .sheet-footer button{min-height:38px}.crm-intake-form{display:grid;grid-template-columns:1fr 1fr;gap:12px}.crm-intake-form>label:last-child{grid-column:1/-1}.crm-intake-form label{display:grid;gap:7px;min-width:0}.crm-intake-duplicates{background:#382c1a;color:#ffcf8f;padding:12px;border-radius:8px;font-size:13px;margin-top:12px}.crm-intake-duplicates:empty{display:none}.crm-intake-duplicates label{display:flex!important;align-items:center;gap:10px}.crm-intake-duplicates input[type=checkbox]{width:20px;height:20px;flex:none}
@media(max-width:1100px){.crm-home-panels{grid-template-columns:285px minmax(0,1fr)}.crm-overview{grid-template-columns:1fr}.crm-record-header h2{font-size:20px}body[data-page=crm] .nav .links{gap:13px}}
@media(max-width:800px){body[data-page=crm] .frame>header.nav{display:block;height:48px;padding:0 12px;overflow-x:auto;white-space:nowrap}body[data-page=crm] .nav .brand{display:none}body[data-page=crm] .nav .links{display:flex;flex-wrap:nowrap;justify-content:start;height:48px;gap:18px;width:max-content;margin:0}body[data-page=crm] .nav .links a{min-height:40px;align-items:center;display:flex;font-size:12px}#crm.crm-home{padding:10px;height:calc(100svh - 135px)}.crm-home-heading{align-items:start}.crm-home-heading>div:first-child{display:grid;gap:2px}.crm-home-heading .crm-actions{justify-content:end}.crm-home-heading .crm-actions>button:first-child{display:none}.crm-home-panels{display:flex;flex-direction:column}.crm-customer-list{flex:1;width:100%}.crm-detail{display:none}.crm-home.crm-show-detail .crm-customer-list{display:none}.crm-home.crm-show-detail .crm-detail{display:block;position:fixed;inset:48px 0 87px;z-index:40;border-radius:0;border:0}.crm-record-back{display:block;min-width:64px}.crm-record-header{padding:12px;gap:8px;flex-wrap:wrap}.crm-record-header>div{flex-basis:calc(100% - 100px)}.crm-record-header h2{font-size:22px}.crm-record-header>button:not(.crm-record-back){margin-left:72px}.crm-record-inline .crm-customer-main{padding:12px}.crm-record-inline .crm-overview{grid-template-columns:1fr;gap:20px}.crm-record-inline .crm-pipeline>span{font-size:10px;word-break:normal;padding:6px 3px}.crm-record-inline .crm-customer-tools button{min-height:42px}.crm-record-inline .sheet-footer button{font-size:12px}.crm-intake-form{grid-template-columns:1fr}.crm-intake-form>label:last-child{grid-column:auto}}
@media(max-width:800px){body[data-page=crm].has-editor .frame>header.nav{display:block;grid-template-columns:none;grid-template-rows:none;}}
body[data-page=crm]{position:fixed;inset:0;width:100%;height:100svh}body[data-page=crm] .frame{height:100svh;min-height:0;overflow:hidden;background:#080e10!important}.crm-record-inline>.sheet-footer{flex-direction:row}
.crm-list-controls{padding:10px}.crm-list-controls>input{min-height:38px}.crm-filter-grid{gap:6px;margin:8px 0}.crm-filter-grid select{min-height:34px;font-size:12px}.crm-home button.crm-customer-row{min-height:70px;padding:10px 9px;gap:7px}@media(max-width:800px){body[data-page=crm].has-editor .frame>header.nav{overflow-y:hidden;}.crm-record-inline .crm-pipeline>span{white-space:nowrap;overflow:auto;font-size:9px}}
