.portal-root{min-height:100dvh;background:var(--portal-page);color:var(--portal-ink)}.crm-navigation{display:contents}.crm-shell .portal-sidebar{position:sticky;top:0;align-self:start;min-height:calc(100dvh - 88px)}.crm-shell .portal-content{width:100%;max-width:1480px;padding:32px}.crm-shell .portal-metrics .portal-card{grid-template-rows:44px auto 1fr;align-content:start}.crm-shell .portal-metrics .portal-card p{margin:0}.crm-heading{display:grid;gap:8px}.crm-heading.portal-toolbar{display:flex}.crm-heading p{margin:0;line-height:1.6}.crm-eyebrow{font-size:13px;font-weight:650;letter-spacing:.04em;color:var(--portal-accent)}.crm-filter-bar{display:grid;gap:16px;padding:20px;background:var(--portal-surface);border:1px solid var(--portal-line);border-radius:18px}.crm-filter-fields{display:grid;grid-template-columns:1fr 1fr 1.25fr auto;gap:12px;align-items:end}.crm-filter-fields>*{min-width:0}.crm-section{display:grid;gap:16px;min-width:0}.crm-columns{display:grid;grid-template-columns:1.15fr 1fr;gap:20px}.crm-columns .portal-card{align-content:start}.crm-ledger{margin:0;display:grid}.crm-ledger>div{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:14px 0;border-bottom:1px solid var(--portal-line)}.crm-ledger>div:last-child{border:0;padding-bottom:0}.crm-ledger dt{color:var(--portal-muted);line-height:1.5}.crm-ledger dd{margin:0;text-align:right;font-weight:600;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.crm-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--portal-accent);margin-right:10px}.crm-dot.completed{background:var(--portal-positive)}.crm-dot.cancelled{background:var(--portal-danger)}.crm-dot.no_show{background:var(--portal-warning)}.crm-form-width{width:100%;max-width:860px}.crm-fit{width:fit-content}.crm-wrap{overflow-wrap:anywhere}.crm-success{background:var(--portal-positive-soft);color:var(--portal-positive);padding:14px 18px}.crm-note,.crm-success{border-radius:12px;margin:0}.crm-note{background:var(--portal-elevated);padding:16px;color:var(--portal-muted);line-height:1.65}.crm-switch-row{display:flex;justify-content:space-between;align-items:center;gap:20px;min-height:56px;padding:12px 0;border-bottom:1px solid var(--portal-line);cursor:pointer}.crm-switch-row:last-child{border:0}.crm-switch-row input{appearance:none;width:48px;height:28px;border:2px solid var(--portal-disabled-ink);background:var(--portal-disabled);border-radius:99px;flex-shrink:0;cursor:pointer;transition:background .18s}.crm-switch-row input:before{content:"";display:block;width:20px;height:20px;margin:2px;border-radius:50%;background:var(--portal-disabled-ink);transition:transform .2s cubic-bezier(.2,.8,.2,1)}.crm-switch-row input:checked{background:var(--portal-accent);border-color:var(--portal-accent)}.crm-switch-row input:checked:before{background:var(--portal-on-primary);transform:translateX(20px)}.crm-team-list{display:grid;gap:12px}.crm-member{gap:20px;padding:22px;background:var(--portal-surface);border:1px solid var(--portal-line);border-radius:18px;flex-wrap:wrap}.crm-member,.crm-member-info{display:flex;align-items:center}.crm-member-info{gap:16px;flex:1 1;min-width:180px}.crm-member-info p{margin:5px 0 0}.crm-member .journal-avatar{width:48px;height:48px;font-size:19px}.crm-service-assignment{padding:12px 0 18px;border-bottom:1px solid var(--portal-line)}.crm-shift{border:1px solid var(--portal-line);border-radius:16px;padding:18px;display:grid;gap:14px;background:var(--portal-elevated)}.crm-break{display:grid;grid-template-columns:1fr 1fr auto;gap:10px;align-items:end}.crm-break>*{min-width:0}.crm-exception{display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding:14px 0;border-bottom:1px solid var(--portal-line)}.crm-exception>div:first-child{flex:1 1}.crm-exception .crm-note{flex-basis:100%}.crm-integration-heading{display:flex;align-items:center;gap:18px;padding:4px 0 12px}.crm-integration-heading img{object-fit:contain}.crm-integration-heading p{margin:6px 0 0}.crm-steps{display:grid;gap:16px;margin:0;padding-left:24px;line-height:1.65}.crm-steps li::marker{color:var(--portal-accent);font-weight:700}.crm-qr{max-width:100%;height:auto;justify-self:center}.crm-shell button{touch-action:manipulation}.crm-shell button:active:not(:disabled){transform:translateY(1px)}.crm-shell input:disabled,.crm-shell select:disabled,.crm-shell textarea:disabled{opacity:.65;cursor:not-allowed}@media (max-width:1150px){.crm-filter-fields{grid-template-columns:1fr 1fr}.crm-columns{grid-template-columns:1fr}}@media (max-width:720px){.crm-shell .portal-sidebar{position:static;min-height:auto;align-self:stretch;flex-direction:column;align-items:stretch;overflow:visible;gap:8px}.crm-shell .crm-navigation{display:flex;gap:6px;overflow-x:auto;padding-block:3px}.crm-shell .portal-sidebar .portal-business-select{width:100%;max-width:none;min-width:0;flex-shrink:0}.crm-shell .portal-sidebar .portal-subtle{margin:0;padding-inline:12px}.crm-shell .portal-content{padding:22px 14px}.crm-filter-bar{padding:16px}.crm-filter-fields{gap:10px}.crm-filter-fields .portal-field input{padding:10px 8px;min-width:0}.crm-member{padding:18px;gap:14px}.crm-member>.portal-toolbar{width:100%}.crm-member>.portal-toolbar .btn{flex:1 1}.crm-shift{padding:14px}.crm-break{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 44px;gap:6px}.crm-break input{padding-inline:6px}.crm-filter-fields>.btn{width:100%}}@media (prefers-reduced-motion:reduce){.crm-shell *,.crm-shell :before{transition:none!important}.crm-shell button:active:not(:disabled){transform:none}}.portal-top{height:88px;display:flex;align-items:center;gap:18px;padding:12px 28px;background:var(--portal-surface);border-bottom:1px solid var(--portal-line)}.portal-top .brand{width:182px;height:64px;flex-shrink:0}.portal-product{font-size:11px;letter-spacing:1.6px;font-weight:700;background:var(--portal-accent-soft);padding:8px 12px;border-radius:8px}.portal-top-end{margin-left:auto;display:flex;gap:12px;align-items:center}.portal-login{max-width:500px;margin:60px auto;padding:32px;background:var(--portal-surface);border-radius:24px;display:grid;gap:22px}.portal-login h1{font-size:34px;line-height:1.15;letter-spacing:-1px}.portal-shell{display:grid;grid-template-columns:216px minmax(0,1fr);min-height:calc(100dvh - 88px)}.portal-sidebar{background:var(--portal-surface);border-right:1px solid var(--portal-line);padding:24px 14px;display:flex;flex-direction:column;gap:6px}.portal-sidebar a,.portal-sidebar button{padding:13px 16px;border:0;border-radius:12px;background:transparent;text-align:left;min-height:48px;color:inherit;font-weight:550;text-decoration:none}.portal-sidebar [aria-current=page]{background:var(--portal-accent-soft);color:var(--portal-accent)}.portal-sidebar a:hover,.portal-sidebar button:hover{background:var(--portal-elevated)}.portal-sidebar .portal-business-select{margin-bottom:20px}.portal-content{min-width:0;padding:28px;display:flex;flex-direction:column;gap:24px}.portal-content h1{font-size:32px;line-height:1.2;letter-spacing:-.9px;margin:0}.portal-content h2{font-size:20px;line-height:1.3;margin:0}.portal-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.portal-toolbar .grow{flex:1 1}.portal-card{padding:22px;border:1px solid var(--portal-line);min-width:0}.portal-card,.portal-state{border-radius:18px;background:var(--portal-surface);display:grid;gap:14px}.portal-state{padding:36px 24px;text-align:center;justify-items:center}.portal-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:14px}.portal-number{font-size:34px;line-height:1.15;letter-spacing:-1px}.portal-table-wrap{overflow:auto;border:1px solid var(--portal-line);border-radius:18px;background:var(--portal-surface)}.portal-table{width:100%;border-collapse:collapse;var(--portal-surface)-space:nowrap;text-align:left;font-size:15px}.portal-table th{font-size:13px;font-weight:600;color:var(--portal-muted);background:var(--portal-elevated)}.portal-table td,.portal-table th{padding:15px 18px;border-bottom:1px solid var(--portal-line)}.portal-table td{vertical-align:middle}.portal-table tr:last-child td{border-bottom:0}.portal-table td.wrap{var(--portal-surface)-space:normal;min-width:200px;max-width:360px}.portal-table .link-button{font:inherit;font-weight:600;border:0;background:none;color:var(--portal-accent);text-align:left;min-height:44px;padding:0 8px}.portal-field{display:grid;gap:6px}.portal-business-select,.portal-field input,.portal-field select,.portal-field textarea,.portal-toolbar input,.portal-toolbar select{border:1px solid var(--portal-line);border-radius:12px;padding:12px 14px;min-height:48px;width:100%;background:var(--portal-surface);color:var(--portal-ink);font:inherit}.portal-field textarea{min-height:110px;resize:vertical}.portal-toolbar input,.portal-toolbar select{width:auto;max-width:100%}.portal-form{display:grid;gap:16px}.portal-form fieldset{padding:0;border:0;display:grid;gap:16px;min-width:0}.portal-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.portal-pager{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap}.portal-pager>span{margin-right:auto}.portal-dialog{border:0;border-radius:24px;padding:24px;max-height:90dvh;max-width:680px;width:calc(100% - 32px);margin:auto;background:var(--portal-surface);color:var(--portal-ink);overflow:auto}.portal-dialog::backdrop{background:#16132366}.portal-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:22px}.portal-detail-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:20px;align-items:start}.portal-tag{font-size:12px;padding:5px 9px;border-radius:7px;background:var(--portal-accent-soft);color:var(--portal-accent);display:inline-block}.portal-tag.good{background:var(--portal-positive-soft);color:var(--portal-positive)}.portal-tag.bad{background:var(--portal-danger-soft);color:var(--portal-danger)}.portal-secret{word-break:break-all;background:var(--portal-elevated);padding:16px;border-radius:12px}.portal-spinner{width:24px;height:24px;border:3px solid var(--portal-accent-soft);border-top-color:var(--portal-accent);border-radius:50%;animation:portal-spin .8s linear infinite}.portal-inline-error{color:var(--portal-danger);background:var(--portal-danger-soft);border-radius:12px;padding:12px}.portal-subtle{padding:12px 16px;font-size:13px;color:var(--portal-muted)}.portal-root :focus-visible{outline:3px solid var(--portal-accent);outline-offset:3px}.portal-root button:disabled{cursor:not-allowed;opacity:.45}.portal-data-pairs{display:grid;grid-template-columns:1fr auto;gap:12px}.portal-data-pairs dt{color:var(--portal-muted)}.portal-data-pairs dd{margin:0;font-weight:550}.portal-state p{margin:0}.portal-root .btn{min-height:46px}.portal-tabs{display:flex;gap:8px;flex-wrap:wrap}.portal-tabs button{color:var(--portal-ink);border:1px solid var(--portal-line);border-radius:12px;padding:12px 16px;background:var(--portal-surface)}.portal-tabs button[aria-pressed=true]{background:var(--portal-accent-soft);border-color:var(--portal-accent)}@keyframes portal-spin{to{transform:rotate(1turn)}}@media (prefers-reduced-motion:reduce){.portal-spinner{animation:none}.portal-root *{scroll-behavior:auto!important}}@media (max-width:1000px){.portal-shell{grid-template-columns:172px minmax(0,1fr)}.portal-content{padding:20px}.portal-detail-grid{grid-template-columns:1fr}.portal-top{padding-inline:20px}}@media (max-width:720px){.portal-top{height:74px;padding:10px 14px;gap:8px}.portal-top .brand{width:105px;height:42px}.portal-top .brand-art{width:105px;height:37px;background-size:202px auto;background-position:-10px -12px}.portal-product{font-size:9px;padding:6px}.portal-top-end{gap:4px}.portal-top-end .btn{padding:8px;font-size:13px}.portal-top .lang button{padding:8px}.portal-shell{display:flex;flex-direction:column;min-height:calc(100dvh - 74px)}.portal-sidebar{border-right:0;border-bottom:1px solid var(--portal-line);padding:12px;flex-direction:row;overflow-x:auto;flex-shrink:0;align-items:center}.portal-sidebar a,.portal-sidebar button{var(--portal-surface)-space:nowrap;padding:12px}.portal-sidebar .portal-business-select{margin:0;max-width:170px;font-size:14px}.portal-content{padding:18px 14px;gap:18px}.portal-content h1{font-size:28px}.portal-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-metrics .portal-card{padding:16px}.portal-number{font-size:28px}.portal-login{margin:24px 14px;padding:24px}.portal-form-grid{grid-template-columns:1fr}.portal-table td,.portal-table th{padding:12px}.portal-toolbar input,.portal-toolbar select{flex:1 1;min-width:130px}}.journal-workspace{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;align-items:start}.journal-workspace.has-detail{grid-template-columns:minmax(0,1fr) 320px}.journal-main{min-width:0;display:grid;gap:12px}.journal-scroll{overflow:auto;max-height:calc(100dvh - 285px);min-height:360px;background:var(--portal-surface);border:1px solid var(--portal-line);border-radius:18px;overscroll-behavior:contain}.journal-grid{display:grid;position:relative;isolation:isolate}.journal-corner{left:0;z-index:5;background:var(--portal-elevated)}.journal-column-head,.journal-corner{position:sticky;top:0;border-right:1px solid var(--portal-line)}.journal-column-head{z-index:3;min-height:68px;display:flex;align-items:center;gap:12px;padding:12px 16px;background:var(--portal-surface);border-bottom:1px solid var(--portal-line);font-size:15px}.journal-avatar{flex-shrink:0;width:36px;height:36px;border-radius:12px;background:var(--portal-accent-soft);display:inline-grid;place-items:center;font-size:14px;font-weight:600;color:var(--portal-accent)}.journal-axis{position:sticky;left:0;z-index:2;background:var(--portal-elevated);border-right:1px solid var(--portal-line);font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.journal-axis>span{position:absolute;right:7px;font-size:11px;color:var(--portal-muted);padding-top:3px}.journal-column{position:relative;border-right:1px solid var(--portal-line);background:repeating-linear-gradient(to bottom,transparent 0,transparent calc(var(--hour-height) - 1px),var(--portal-line) calc(var(--hour-height) - 1px),var(--portal-line) var(--hour-height))}.journal-visit{position:absolute;border:0;border-left:3px solid var(--portal-accent);border-radius:9px;padding:5px 9px;display:flex;flex-direction:column;gap:3px;text-align:left;background:var(--portal-elevated);color:var(--portal-ink);overflow:hidden;font:inherit;transition:background .18s,box-shadow .18s,transform .18s;cursor:pointer}.journal-visit:active{transform:scale(.985)}.journal-visit:hover{box-shadow:0 3px 12px #32234d18;background:var(--portal-elevated)}.journal-visit[aria-pressed=true]{background:var(--portal-accent-soft);box-shadow:inset 0 0 0 1px var(--portal-accent);border-left-color:var(--portal-accent)}.journal-visit.status-completed{background:var(--portal-positive-soft);border-left-color:var(--portal-positive);color:var(--portal-positive)}.journal-visit.status-no_show{background:var(--portal-warning-soft);border-left-color:var(--portal-warning);color:var(--portal-warning)}.journal-visit-top{display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:12px;line-height:16px;var(--portal-surface)-space:nowrap}.journal-visit-top>span{font-size:10px;overflow:hidden;text-overflow:ellipsis}.journal-customer{font-size:13px;line-height:17px}.journal-customer,.journal-services{overflow:hidden;text-overflow:ellipsis;var(--portal-surface)-space:nowrap}.journal-services{font-size:12px;line-height:16px;color:var(--portal-muted)}.journal-empty{background:var(--portal-elevated);padding:12px 16px;border-radius:12px;color:var(--portal-muted);font-size:14px}.journal-detail{position:sticky;top:16px;background:var(--portal-surface);border:1px solid var(--portal-line);border-radius:18px;padding:20px;display:flex;flex-direction:column;gap:20px;max-height:calc(100dvh - 200px);overflow:auto}.journal-detail h3{font-size:17px;line-height:1.4;margin:0}.journal-detail p{margin:0}.journal-detail .btn,.journal-detail .portal-data-pairs{font-size:14px}.journal-date{display:flex;gap:2px;align-items:center}.journal-date input{color:var(--portal-ink);background:var(--portal-surface);font:inherit;min-height:46px;border:1px solid var(--portal-line);border-radius:10px;padding:8px;width:160px}.journal-date button{padding:10px;min-width:44px}.portal-check{display:flex;align-items:center;gap:12px;min-height:48px;padding:6px 0;cursor:pointer}.portal-check input{width:22px;height:22px;accent-color:var(--portal-accent)}.portal-slots{display:grid;grid-template-columns:repeat(auto-fill,minmax(80px,1fr));gap:8px}.portal-slots button{border:1px solid var(--portal-line);border-radius:12px;background:var(--portal-surface);color:var(--portal-ink);min-height:48px;font:inherit;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;transition:transform .18s,background .18s}.portal-slots button[aria-pressed=true]{background:var(--portal-accent-soft);border-color:var(--portal-accent)}.portal-slots button:active{transform:scale(.96)}@media (max-width:1150px){.journal-workspace.has-detail{grid-template-columns:minmax(0,1fr) 290px}.journal-detail{padding:16px}.journal-controls{gap:6px}.journal-controls select{max-width:180px}}@media (max-width:900px){.journal-workspace.has-detail{grid-template-columns:1fr}.journal-detail{position:static;max-height:none;grid-row:1}.journal-scroll{max-height:65dvh}.journal-controls{align-items:center}.journal-controls select{flex:1 1}}@media (prefers-reduced-motion:reduce){.journal-visit,.portal-slots button{transition:none;transform:none!important}}.staff-photo-field{display:flex;align-items:center;gap:20px;padding:16px 0}.staff-photo-field>div{min-width:0}.staff-name-with-photo{display:inline-flex;align-items:center;gap:10px}@media (max-width:480px){.staff-photo-field{align-items:flex-start;gap:14px}}.messaging-status{margin-block:20px}.messaging-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr));gap:12px}.messaging-grid h3{margin-top:0}.delivery-list{display:grid;gap:12px;padding:0;margin:0;list-style:none}.delivery-item{min-width:0;overflow-wrap:anywhere}.notification-history{margin-block:24px}.notification-history .portal-pager{flex-wrap:wrap;gap:8px}.journal-view-toggle{display:flex;gap:4px}.journal-view-toggle [aria-pressed=true]{background:var(--lavender,var(--portal-accent-soft));color:var(--portal-accent);box-shadow:inset 0 0 0 1px var(--portal-accent)}.journal-column-head{align-items:flex-start;gap:10px}.journal-shifts{display:grid;gap:3px;font-size:12px;line-height:1.5;font-weight:400;color:var(--portal-muted)}.journal-add{display:block;min-height:44px;background:none;border:0;color:var(--portal-accent);font:inherit;font-size:13px;cursor:pointer;text-align:left}.business-cover-preview{width:min(100%,320px);aspect-ratio:16/9;object-fit:cover;border-radius:16px}.portal-root .btn{background:var(--portal-primary);color:var(--portal-on-primary)}.portal-root .btn:hover:not(:disabled){background:var(--portal-primary);filter:brightness(1.08)}.portal-root .btn.secondary{background:var(--portal-accent-soft);color:var(--portal-ink)}.portal-root .btn.ghost{background:transparent;color:var(--portal-ink);border-color:var(--portal-line)}.portal-root .btn.ghost:hover:not(:disabled){background:var(--portal-elevated);filter:none}.portal-root .btn.danger{background:var(--portal-danger-soft);color:var(--portal-danger)}.portal-root .btn:disabled{background:var(--portal-disabled);color:var(--portal-disabled-ink);opacity:1}.portal-root .input{background:var(--portal-surface);color:var(--portal-ink);border-color:var(--portal-line)}.portal-root :is(input,textarea)::placeholder{color:var(--portal-muted);opacity:1}.portal-root .input:read-only{background:var(--portal-disabled)}.portal-root .error{background:var(--portal-danger-soft);color:var(--portal-danger);border-color:var(--portal-danger)}.portal-root .lang{background:var(--portal-elevated)}.portal-root .lang button{color:var(--portal-muted)}.portal-root .lang button[aria-pressed=true]{background:var(--portal-surface);color:var(--portal-ink)}.portal-root .badge{background:var(--portal-accent-soft);color:var(--portal-ink)}.portal-root .badge.mint{background:var(--portal-positive-soft);color:var(--portal-positive)}.portal-root :is(.portal-tag,.journal-visit){font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.portal-root .journal-visit[aria-pressed=true]{box-shadow:inset 0 0 0 2px var(--portal-accent)}.portal-root :is(.journal-services,.journal-visit-top>span){color:inherit}.portal-root .prepay-brand img{background:#fff;border-radius:6px;padding:3px;box-sizing:content-box}.portal-root .brand{background:#fff;border-radius:8px}.portal-root .crm-qr{background:#fff;padding:12px;border-radius:12px}.portal-theme-select{display:grid;grid-template-columns:auto auto;align-items:center;gap:8px;font-size:13px;color:var(--portal-muted)}.portal-theme-select select{min-height:44px;max-width:150px;border:1px solid var(--portal-line);border-radius:12px;padding:8px 10px;font:inherit;background:var(--portal-surface);color:var(--portal-ink);cursor:pointer}@media (max-width:720px){.portal-top{height:auto;min-height:74px;flex-wrap:wrap}.portal-top-end{width:100%;justify-content:space-between;gap:8px}.portal-theme-select{gap:5px}.portal-theme-select select{max-width:128px}.portal-top-end .btn{min-width:56px}}@media (max-width:380px){.portal-theme-select{grid-template-columns:1fr;gap:0}.portal-theme-select>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}}