.mdfb-launcher{position:fixed;right:16px;bottom:calc(20px + env(safe-area-inset-bottom,0px));z-index:900;display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 16px;border:1px solid #1f4d3a;border-radius:999px;background:#1f4d3a;color:#fff;font:600 14px/1 system-ui,-apple-system,Segoe UI,sans-serif;box-shadow:0 4px 14px #0000002e;cursor:pointer}.mdfb-launcher:focus-visible,.mdfb-sheet button:focus-visible,.mdfb-toast button:focus-visible{outline:3px solid #f2b84b;outline-offset:2px}.mdfb-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;display:flex;align-items:flex-end;justify-content:center;background:#0f191473}.mdfb-sheet{box-sizing:border-box;width:min(560px,100%);max-height:min(92vh,760px);overflow-y:auto;overflow-wrap:anywhere;padding:20px 20px calc(20px + env(safe-area-inset-bottom,0px));border-radius:16px 16px 0 0;background:#fff;color:#1d2a24;font:15px/1.45 system-ui,-apple-system,Segoe UI,sans-serif;box-shadow:0 -8px 30px #0003}@media(min-width:700px){.mdfb-overlay{align-items:center}.mdfb-sheet{border-radius:16px}}.mdfb-sheet h2{margin:0 0 12px;font-size:20px}.mdfb-sheet fieldset{margin:0 0 14px;padding:0;border:0;min-width:0}.mdfb-sheet legend{margin-bottom:8px;font-weight:600}.mdfb-kinds{display:grid;gap:8px}.mdfb-kind{min-height:44px;padding:10px 14px;border:1px solid #b9c7bf;border-radius:10px;background:#f6f8f7;color:inherit;font:inherit;text-align:left;cursor:pointer;white-space:normal}.mdfb-kind.is-selected{border-color:#1f4d3a;background:#e3efe8;font-weight:600;box-shadow:inset 0 0 0 1px #1f4d3a}.mdfb-importance label{display:flex;align-items:center;gap:8px;min-height:36px}.mdfb-field{display:block;margin:0 0 14px;font-weight:600}.mdfb-field textarea{box-sizing:border-box;display:block;width:100%;margin-top:6px;padding:10px;border:1px solid #b9c7bf;border-radius:8px;font:400 15px/1.4 system-ui,-apple-system,Segoe UI,sans-serif;resize:vertical}.mdfb-note{margin:0 0 12px;color:#55645c;font-size:13px}.mdfb-error{margin:0 0 12px;color:#a32020;font-weight:600}.mdfb-success{margin:8px 0 16px;font-weight:600}.mdfb-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.mdfb-actions button{min-height:44px;padding:0 16px;border-radius:10px;font:600 14px/1.2 system-ui,-apple-system,Segoe UI,sans-serif;cursor:pointer;white-space:normal}.mdfb-primary{border:1px solid #1f4d3a;background:#1f4d3a;color:#fff}.mdfb-primary:disabled{opacity:.55;cursor:default}.mdfb-secondary{border:1px solid #b9c7bf;background:#fff;color:#1d2a24}.mdfb-toasts{position:fixed;left:16px;bottom:calc(76px + env(safe-area-inset-bottom,0px));z-index:890;display:grid;gap:10px;width:min(420px,calc(100vw - 32px))}.mdfb-toast{box-sizing:border-box;padding:14px 16px;border:1px solid #c9d6ce;border-radius:12px;background:#fff;color:#1d2a24;font:14px/1.45 system-ui,-apple-system,Segoe UI,sans-serif;box-shadow:0 6px 20px #00000024;overflow-wrap:anywhere}.mdfb-toast h3{margin:0 0 6px;font-size:16px}.mdfb-toast p{margin:0 0 10px}.mdfb-invite{border-color:#1f4d3a;border-width:2px}@media(max-width:900px){.mdfb-launcher{bottom:calc(80px + env(safe-area-inset-bottom,0px));min-height:40px;padding:0 12px}.mdfb-toasts{bottom:calc(132px + env(safe-area-inset-bottom,0px))}}@media print{.mdfb-launcher,.mdfb-toasts{display:none}}:root{color-scheme:light;--canvas: #f3f5f1;--canvas-deep: #e9ede7;--surface: #ffffff;--surface-soft: #f8faf7;--ink: #17231d;--ink-soft: #34463d;--muted: #697970;--muted-light: #8d9a93;--line: #dfe5df;--line-strong: #cbd5ce;--brand: #246b51;--brand-dark: #154b38;--brand-deep: #102f25;--brand-soft: #e5f0eb;--accent: #c7782b;--accent-soft: #fff1df;--danger: #b54236;--danger-soft: #fcebe8;--warning: #9b671d;--warning-soft: #fff5df;--success: #277347;--success-soft: #e7f4eb;--info: #3c6577;--info-soft: #e9f2f5;--shadow-sm: 0 1px 2px rgba(18, 45, 33, .04), 0 4px 12px rgba(18, 45, 33, .035);--shadow-md: 0 14px 34px rgba(17, 43, 31, .1), 0 3px 8px rgba(17, 43, 31, .05);--shadow-lg: 0 30px 80px rgba(8, 29, 20, .22);--radius-sm: 8px;--radius: 14px;--radius-lg: 22px;--sidebar: 272px;--content: 1480px;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}html{min-width:320px;min-height:100%;background:var(--canvas)}body{margin:0;min-width:320px;min-height:100vh;background:var(--canvas);color:var(--ink);font-size:14px;line-height:1.5}body.modal-open,body.drawer-open{overflow:hidden}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{min-height:44px;color:inherit}a{color:var(--brand);text-decoration:none}a:hover{color:var(--brand-dark)}img{max-width:100%}h1,h2,h3,p{margin-top:0}h1,h2,h3{letter-spacing:-.025em}:focus-visible{outline:3px solid rgba(199,120,43,.45);outline-offset:2px}.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.skip-link{position:fixed;z-index:300;top:10px;left:10px;transform:translateY(-150%);padding:10px 14px;border-radius:var(--radius-sm);color:#fff;background:var(--brand-dark)}.skip-link:focus{transform:none}.pro-language-bar{display:flex;justify-content:flex-end;min-height:64px;padding:8px 20px;background:var(--surface);border-bottom:1px solid var(--line)}.pro-language-select{display:flex;align-items:center;gap:10px;max-width:100%;font-size:12px;font-weight:650}.pro-language-select select{min-height:44px;min-width:120px;max-width:100%;border:1px solid var(--line-strong);border-radius:8px;padding:8px 28px 8px 10px;background:var(--surface);color:var(--ink)}.pro-language-select span{overflow-wrap:anywhere}.pro-language-warning{margin:0;padding:12px 20px;background:#fff4d6;color:#493b11;font-size:13px}.pro-language-warning button{border:0;background:transparent;color:inherit;text-decoration:underline;min-height:44px;padding:8px}.pro-language-bar+.auth-layout{min-height:calc(100vh - 64px)}@media(max-width:600px){.pro-language-bar{padding:8px 14px}.mobile-bottom-nav a span,.mobile-bottom-nav button span{white-space:normal;overflow-wrap:anywhere;line-height:1.15}}.icon{display:inline-flex;align-items:center;justify-content:center;min-width:1em;font-style:normal;font-weight:800;line-height:1}.btn{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 16px;border:1px solid transparent;border-radius:10px;background:var(--brand);color:#fff;font-weight:720;line-height:1.1;cursor:pointer;transition:transform .15s ease,background .15s ease,border-color .15s ease,box-shadow .15s ease}.btn:hover:not(:disabled){background:var(--brand-dark);color:#fff;box-shadow:0 6px 16px #19523c26;transform:translateY(-1px)}.btn:active:not(:disabled){transform:translateY(0)}.btn:disabled{opacity:.48;cursor:not-allowed}.btn.primary{background:var(--brand);color:#fff}.btn.secondary{background:var(--surface);border-color:var(--line-strong);color:var(--ink-soft)}.btn.secondary:hover:not(:disabled){background:var(--surface-soft);color:var(--ink);border-color:#b8c5bc}.btn.ghost{background:transparent;color:var(--ink-soft);border-color:transparent;box-shadow:none}.btn.ghost:hover:not(:disabled){background:var(--canvas-deep);color:var(--ink);box-shadow:none}.btn.danger{background:var(--danger);color:#fff}.btn.danger:hover:not(:disabled){background:#913128}.btn.small{min-height:44px;padding:7px 11px;border-radius:8px;font-size:12px}.btn.wide{width:100%}.danger-text{color:var(--danger)!important}.icon-button{width:44px;height:44px;flex:0 0 44px;display:inline-flex;align-items:center;justify-content:center;padding:0;border:0;border-radius:10px;background:transparent;cursor:pointer}.icon-button:hover:not(:disabled){background:var(--canvas-deep)}.icon-button:disabled{opacity:.35;cursor:not-allowed}.icon-button.tiny{width:44px;height:44px;min-width:44px;flex-basis:44px;border-radius:9px;font-size:12px}.link-button,.text-link{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:4px;padding:8px 4px;border:0;background:none;color:var(--brand);font-weight:720;cursor:pointer}.text-link:hover,.link-button:hover{color:var(--brand-dark);text-decoration:underline}.field{min-width:0;margin:0}.field>label{display:block;margin:0 0 6px;color:var(--ink-soft);font-size:12px;font-weight:720;letter-spacing:.01em}.optional{color:var(--muted-light);font-weight:500}.field input,.field select,.field textarea,.compact-select select,.context-select select,.date-control input,.facility-heading input,.booking-filter select{width:100%;min-height:44px;padding:10px 12px;border:1px solid var(--line-strong);border-radius:9px;background:var(--surface);color:var(--ink);transition:border-color .15s ease,box-shadow .15s ease}.field textarea{min-height:88px;resize:vertical}.field input::placeholder,.field textarea::placeholder{color:#9ca8a1}.field input:focus,.field select:focus,.field textarea:focus,.compact-select select:focus,.context-select select:focus{outline:0;border-color:var(--brand);box-shadow:0 0 0 3px #246b511f}.field-hint,.field-error{display:block;margin-top:5px;color:var(--muted);font-size:11px;line-height:1.4}.field-error{color:var(--danger)}.form-grid{display:grid;gap:16px;margin-bottom:16px}.form-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.form-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.form-grid .span-two{grid-column:span 2}.input-prefix,.input-suffix{position:relative;display:flex;align-items:center}.input-prefix>span,.input-suffix>span{position:absolute;z-index:1;color:var(--muted);font-size:12px;pointer-events:none}.input-prefix>span{left:12px}.input-prefix input{padding-left:26px!important}.input-suffix>span{right:12px}.input-suffix input{padding-right:50px!important}.switch-label{min-height:44px;display:inline-flex;align-items:center;gap:9px;color:var(--ink-soft);font-size:12px;font-weight:650;cursor:pointer}.switch-label input{position:absolute;opacity:0;pointer-events:none}.switch-label>span{position:relative;width:36px;height:21px;flex:0 0 auto;border-radius:999px;background:#c9d1cc;transition:background .15s ease}.switch-label>span:after{content:"";position:absolute;width:15px;height:15px;top:3px;left:3px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #00000040;transition:transform .15s ease}.switch-label input:checked+span{background:var(--brand)}.switch-label input:checked+span:after{transform:translate(15px)}.switch-label input:focus-visible+span{outline:3px solid rgba(199,120,43,.45);outline-offset:2px}.switch-stack{display:flex;flex-wrap:wrap;gap:18px;margin:10px 0 18px}.loading-state{min-height:180px;display:flex;align-items:center;justify-content:center;gap:11px;color:var(--muted);font-weight:650}.loading-state.compact{min-height:64px;font-size:12px}.spinner{width:20px;height:20px;display:inline-block;border:2px solid #d7dfda;border-top-color:var(--brand);border-radius:50%;animation:spin .7s linear infinite}.spinner.small{width:15px;height:15px;border-color:#fff6;border-top-color:#fff}@keyframes spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}.app-loading{min-height:100vh;display:grid;place-items:center;padding:24px;background:var(--canvas)}.app-loading>*{width:min(520px,100%)}.state-banner{display:flex;align-items:flex-start;gap:12px;margin:0 0 18px;padding:13px 15px;border:1px solid;border-radius:12px}.state-icon{width:24px;height:24px;flex:0 0 24px;display:grid;place-items:center;border-radius:7px}.state-copy{min-width:0;flex:1;display:flex;flex-direction:column;gap:2px}.state-copy strong{font-size:13px}.state-copy span{font-size:12px;line-height:1.45}.error-banner{color:#87352c;background:var(--danger-soft);border-color:#f1c6c0}.error-banner .state-icon{color:#fff;background:var(--danger)}.success-banner{color:#225e3c;background:var(--success-soft);border-color:#c3dfcd}.success-banner .state-icon{color:#fff;background:var(--success)}.notice-banner{color:#78521c;background:var(--warning-soft);border-color:#ebd6aa}.notice-banner.info{color:#365c6d;background:var(--info-soft);border-color:#c7dfe7}.notice-banner.danger{color:#87352c;background:var(--danger-soft);border-color:#f1c6c0}.notice-banner.offline{color:#6d541d}.notice-banner .state-icon{color:#fff;background:var(--warning)}.notice-banner.info .state-icon{background:var(--info)}.notice-banner.danger .state-icon{background:var(--danger)}.blank-state{min-height:230px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:34px 24px;border:1px dashed var(--line-strong);border-radius:var(--radius);color:var(--muted);text-align:center;background:linear-gradient(180deg,#f8faf780,#f3f5f1b3)}.blank-icon{width:46px;height:46px;display:grid;place-items:center;margin-bottom:14px;border-radius:14px;color:var(--brand);background:var(--brand-soft);font-size:20px}.blank-state h2{margin:0 0 6px;color:var(--ink);font-size:17px}.blank-state p{max-width:500px;margin:0 0 16px;font-size:13px}.badge{width:fit-content;display:inline-flex;align-items:center;padding:4px 8px;border-radius:999px;background:#eef1ee;color:#58675f;font-size:10px;font-weight:800;line-height:1;letter-spacing:.04em;text-transform:uppercase;white-space:nowrap}.status-active,.status-paid,.status-completed,.status-done,.status-open-region,.status-verified,.status-signed,.status-included,.status-checked-in{color:var(--success);background:var(--success-soft)}.status-open,.status-scheduled,.status-planned,.status-booked,.status-upcoming,.status-new,.status-contacted{color:#365f79;background:#e7f0f6}.status-pending,.status-review-pending,.status-submitted,.status-processing,.status-auto-pending,.status-requires-approval,.status-needed,.status-building,.status-action-required,.status-overdue,.status-problem{color:var(--warning);background:var(--warning-soft)}.status-failed,.status-disputed,.status-returned,.status-skipped,.status-no-show,.status-restricted{color:var(--danger);background:var(--danger-soft)}.status-void,.status-canceled,.status-cancelled,.status-archived,.status-ended,.status-hidden,.status-paused,.status-revoked,.status-not-required,.status-not-connected,.status-free{color:var(--muted);background:#eef1ee}.status-en-route,.status-in-progress,.status-qualified,.status-booked{color:#7b5219;background:var(--accent-soft)}.status-manual{color:#694d7a;background:#f1eafa}.auth-layout{min-height:100vh;display:grid;grid-template-columns:minmax(420px,44%) 1fr;background:var(--surface)}.auth-story{position:relative;min-height:100vh;display:flex;flex-direction:column;padding:42px clamp(38px,6vw,88px);overflow:hidden;color:#f5faf7;background:radial-gradient(circle at 84% 13%,rgba(204,130,51,.28),transparent 25%),radial-gradient(circle at 4% 94%,rgba(76,139,111,.35),transparent 36%),linear-gradient(145deg,#153f30,#0d271e 70%)}.auth-story:before,.auth-story:after{content:"";position:absolute;border:1px solid rgba(255,255,255,.09);border-radius:50%}.auth-story:before{width:480px;height:480px;right:-240px;top:20%}.auth-story:after{width:320px;height:320px;right:-100px;top:32%}.auth-brand,.onboarding-brand{position:relative;z-index:1;display:inline-flex;align-items:center;gap:11px;color:inherit;font-size:17px;letter-spacing:-.02em}.auth-brand:hover{color:#fff}.auth-brand img,.onboarding-brand img{width:38px;height:38px;object-fit:contain}.auth-brand strong,.onboarding-brand strong{color:#e5a761;letter-spacing:.08em}.auth-story-copy{position:relative;z-index:1;max-width:570px;margin:auto 0}.eyebrow{display:block;margin-bottom:8px;color:var(--brand);font-size:11px;font-weight:850;letter-spacing:.12em;text-transform:uppercase}.eyebrow.light{color:#e8ad6b}.auth-story-copy h1{margin:0 0 22px;font-family:Georgia,Times New Roman,serif;font-size:clamp(45px,5vw,76px);font-weight:500;line-height:.98;letter-spacing:-.055em}.auth-story-copy>p{max-width:520px;color:#f0f8f3c2;font-size:17px;line-height:1.65}.auth-proof{display:grid;grid-template-columns:1fr;gap:12px;margin-top:30px}.auth-proof span{display:flex;align-items:center;gap:9px;color:#f5faf7e0;font-size:13px;font-weight:650}.auth-proof .icon{width:22px;height:22px;border-radius:50%;color:var(--brand-dark);background:#d8eadf;font-size:11px}.auth-legal{position:relative;z-index:1;margin:0;color:#ffffff7a;font-size:11px}.auth-form-wrap{display:grid;place-items:center;padding:46px clamp(24px,6vw,90px);overflow-y:auto}.auth-card{width:min(520px,100%)}.auth-mobile-brand{display:none}.auth-heading{margin-bottom:26px}.auth-heading h2{margin:0 0 8px;font-size:30px;line-height:1.15}.auth-heading p{margin:0;color:var(--muted)}.auth-card form{display:grid;gap:16px}.auth-toggle,.fine-print{margin:20px 0 0;color:var(--muted);text-align:center;font-size:12px}.fine-print{margin-top:12px;font-size:10px}.role-choice{display:grid;gap:8px;margin:0 0 2px;padding:0;border:0}.role-choice legend{margin-bottom:7px;color:var(--ink-soft);font-size:12px;font-weight:720}.role-choice>label{position:relative;display:flex;align-items:center;gap:12px;padding:12px 13px;border:1px solid var(--line);border-radius:11px;cursor:pointer}.role-choice>label.selected{border-color:var(--brand);background:var(--brand-soft);box-shadow:inset 0 0 0 1px var(--brand)}.role-choice input{position:absolute;opacity:0}.role-choice label>span{flex:1;display:flex;flex-direction:column}.role-choice label strong{font-size:13px}.role-choice label small{color:var(--muted);font-size:10px;line-height:1.4}.role-choice label i{width:20px;height:20px;display:grid;place-items:center;border:1px solid var(--line-strong);border-radius:50%;color:transparent;font-style:normal;font-size:10px}.role-choice label.selected i{color:#fff;border-color:var(--brand);background:var(--brand)}.onboarding-page{min-height:100vh;padding:28px 24px 70px;background:var(--canvas)}.onboarding-brand{max-width:980px;margin:0 auto 28px;color:var(--ink)}.onboarding-shell{width:min(980px,100%);margin:0 auto}.onboarding-shell.compact{width:min(650px,100%);padding-top:8vh}.setup-role-switch{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:20px}.setup-role-switch>label{display:flex;align-items:center;gap:10px;min-height:66px;padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--surface);font-weight:720;cursor:pointer}.setup-role-switch>label span{width:34px;height:34px;display:grid;place-items:center;border-radius:9px;background:var(--canvas);color:var(--brand)}.setup-role-switch>label.active{border-color:var(--brand);box-shadow:inset 0 0 0 1px var(--brand)}.setup-role-switch>label.active span{color:#fff;background:var(--brand)}.onboarding-actions,.settings-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}.pro-layout{min-height:100vh;display:flex}.sidebar{position:fixed;z-index:80;inset:0 auto 0 0;width:var(--sidebar);display:flex;flex-direction:column;color:#dce8e1;background:linear-gradient(180deg,#122f24,#0d261d 65%,#0a2018);box-shadow:inset -1px 0 #ffffff0a}.sidebar-brand{min-height:76px;display:flex;align-items:center;gap:10px;padding:18px 20px;border-bottom:1px solid rgba(255,255,255,.07);color:#fff;font-size:16px}.sidebar-brand img{width:35px;height:35px;object-fit:contain}.sidebar-brand strong{color:#e5a761;font-size:11px;letter-spacing:.09em}.drawer-close{display:none;margin-left:auto;color:#fff}.context-static,.context-select{min-width:0;display:flex;align-items:center;gap:10px}.context-picker{min-width:0;display:flex;align-items:center;gap:4px}.context-picker .context-select{flex:1}.context-add{width:44px;height:44px;flex:0 0 44px;display:inline-grid;place-items:center;padding:0;border:0;border-radius:10px;color:var(--brand);background:var(--brand-soft);font-size:18px;font-weight:800;cursor:pointer}.context-dot{width:8px;height:8px;flex:0 0 8px;border-radius:50%;background:#55b580;box-shadow:0 0 0 4px #55b5801f}.context-static>span:last-child{min-width:0;display:flex;flex-direction:column}.context-static strong{overflow:hidden;color:inherit;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.context-static small{color:var(--muted-light);font-size:9px;text-transform:capitalize}.sidebar-context{margin:14px 14px 7px;padding:5px 6px 5px 12px;border:1px solid rgba(255,255,255,.08);border-radius:11px;background:#ffffff0b}.sidebar .context-static small{color:#8fa99d}.sidebar .context-select{position:relative}.sidebar .context-select select{padding:0 18px 0 0;border:0;color:#e7f0eb;background:transparent;font-size:11px}.sidebar .context-add{color:#dce8e1;background:#ffffff14}.sidebar-nav{flex:1;padding:7px 12px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.15) transparent}.nav-group{margin-bottom:16px}.nav-group>span{display:block;padding:0 10px 5px;color:#789187;font-size:9px;font-weight:850;letter-spacing:.13em;text-transform:uppercase}.nav-group a{min-height:44px;display:flex;align-items:center;gap:10px;margin:2px 0;padding:8px 10px;border-radius:9px;color:#b8cac1;font-size:12px;font-weight:620;transition:background .15s ease,color .15s ease}.nav-group a:hover{color:#fff;background:#ffffff0e}.nav-group a.active{color:#fff;background:#488f6e52;box-shadow:inset 3px 0 #e2a15a}.nav-icon{width:28px;height:28px;display:grid;place-items:center;border-radius:8px;color:#91aa9f;background:#ffffff0b}.nav-group a.active .nav-icon{color:#e8af70;background:#ffffff14}.nav-chevron{margin-left:auto;opacity:.38;font-size:10px}.sidebar-help{display:flex;align-items:center;gap:10px;margin:8px 14px 12px;padding:11px;border:1px solid rgba(255,255,255,.07);border-radius:11px;background:#ffffff09}.sidebar-help>span{width:30px;height:30px;display:grid;place-items:center;border-radius:8px;color:#e7ad6d;background:#e7ad6d1a}.sidebar-help>div{min-width:0;flex:1;display:flex;flex-direction:column}.sidebar-help strong{font-size:11px}.sidebar-help small{color:#789187;font-size:9px}.sidebar-help a{min-width:44px;min-height:44px;display:grid;place-items:center;color:#a9bdb3}.sidebar-user{min-height:68px;display:flex;align-items:center;gap:10px;padding:13px 17px max(13px,env(safe-area-inset-bottom));border-top:1px solid rgba(255,255,255,.07)}.user-avatar{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;color:#113b2b;background:#d7e9df;font-weight:850}.sidebar-user>div{min-width:0;flex:1;display:flex;flex-direction:column}.sidebar-user strong{overflow:hidden;color:#fff;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.sidebar-user small{color:#7f978c;font-size:9px;text-transform:capitalize}.sidebar-user button{color:#9eb2a8}.pro-main{min-width:0;min-height:100vh;flex:1;margin-left:var(--sidebar)}.desktop-topbar{position:sticky;z-index:40;top:0;min-height:58px;display:flex;align-items:center;justify-content:space-between;padding:8px clamp(22px,3vw,42px);border-bottom:1px solid rgba(206,216,209,.85);background:#fafbf9e8;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.desktop-topbar>div{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:11px}.desktop-topbar strong{color:var(--ink);font-size:11px}.desktop-topbar .context-static{min-width:180px}.desktop-topbar .context-select select{min-width:210px;padding:5px 28px 5px 6px;border:0;background:transparent;color:var(--ink-soft);font-size:11px}.desktop-topbar .context-picker{max-width:330px}.mobile-header,.mobile-bottom-nav{display:none}.page-content{width:min(var(--content),100%);margin:0 auto;padding:30px clamp(22px,3vw,42px) 56px;outline:none}.offline-bar{position:sticky;z-index:35;top:58px;display:flex;align-items:center;justify-content:center;gap:8px;padding:8px 16px;color:#6e5217;background:#ffe9b7;font-size:11px;font-weight:700}.drawer-scrim{display:none}.page-intro{min-height:92px;display:flex;align-items:flex-start;justify-content:space-between;gap:28px;margin-bottom:24px}.page-intro>div:first-child{max-width:820px}.page-intro h1{margin:0 0 7px;color:var(--ink);font-size:clamp(27px,2.3vw,36px);font-weight:760;line-height:1.1;letter-spacing:-.045em}.page-intro p{margin:0;color:var(--muted);font-size:13px;line-height:1.6}.page-meta{margin-top:8px;color:var(--muted-light);font-size:10px;font-weight:650}.page-actions{flex:0 0 auto;display:flex;gap:9px;padding-top:22px}.panel{min-width:0;margin-bottom:20px;padding:20px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow-sm)}.workspace-choice{min-height:100vh;display:grid;place-items:center;padding:24px;background:var(--canvas)}.workspace-choice>.panel{width:min(100%,620px)}.workspace-choice h1{margin:0 0 8px;font-size:clamp(25px,4vw,34px)}.workspace-choice p{margin:0 0 20px;color:var(--muted)}.workspace-choice-list{display:grid;gap:10px;margin-bottom:18px}.workspace-choice-list .btn{justify-content:flex-start;min-height:58px;text-align:left}.workspace-choice-list .btn span{display:grid;gap:2px}.workspace-choice-list .btn small{color:var(--muted);text-transform:capitalize}.section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:16px}.section-heading h2{margin:0 0 3px;font-size:16px}.section-heading p{margin:0;color:var(--muted);font-size:11px}.section-action{flex:0 0 auto}.tabs{display:flex;align-items:center;gap:3px;width:fit-content;padding:4px;border-radius:10px;background:#edf1ed;overflow-x:auto;scrollbar-width:none}.tabs::-webkit-scrollbar{display:none}.tabs button{min-height:44px;display:inline-flex;align-items:center;gap:6px;padding:7px 11px;border:0;border-radius:7px;color:var(--muted);background:transparent;font-size:11px;font-weight:720;white-space:nowrap;cursor:pointer}.tabs button.active{color:var(--ink);background:#fff;box-shadow:0 1px 4px #18352817}.tab-count{min-width:18px;padding:2px 5px;border-radius:99px;color:var(--muted);background:var(--canvas);font-size:9px;text-align:center}.stats-grid{display:grid;gap:12px;margin-bottom:20px}.stats-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.stats-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.stats-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.stats-grid.five{grid-template-columns:repeat(5,minmax(0,1fr))}.stat-card{min-width:0;padding:16px;border:1px solid var(--line);border-radius:13px;background:var(--surface);box-shadow:var(--shadow-sm)}.stat-top{display:flex;justify-content:space-between;gap:8px;color:var(--muted);font-size:10px;font-weight:750;text-transform:uppercase;letter-spacing:.055em}.stat-top .icon{color:#8aa095;font-size:14px}.stat-card>strong{display:block;overflow:hidden;margin-top:8px;color:var(--ink);font-size:clamp(22px,2vw,30px);line-height:1;letter-spacing:-.04em;text-overflow:ellipsis;white-space:nowrap}.stat-card small{display:block;margin-top:7px;color:var(--muted);font-size:10px}.stat-card.warning{border-color:#ead4ae;background:linear-gradient(145deg,#fff,#fffaf1)}.stat-card.danger{border-color:#edcbc6;background:linear-gradient(145deg,#fff,#fff5f3)}.stat-card.success{border-color:#c8dfd0;background:linear-gradient(145deg,#fff,#f3faf5)}.table-wrap{width:100%;overflow-x:auto;outline:none}table{width:100%;border-collapse:collapse}th,td{padding:13px 12px;border-bottom:1px solid var(--line);vertical-align:middle;text-align:left}th{color:var(--muted);background:#fafbfa;font-size:9px;font-weight:820;letter-spacing:.07em;text-transform:uppercase;white-space:nowrap}thead th:first-child{border-radius:8px 0 0 8px}thead th:last-child{border-radius:0 8px 8px 0}td{color:var(--ink-soft);font-size:12px}tbody tr:last-child td{border-bottom:0}td>small,td>strong+small{display:block;margin-top:3px;color:var(--muted);font-size:9px;line-height:1.4}td>strong{color:var(--ink)}.table-actions{display:flex;align-items:center;justify-content:flex-end;gap:5px;white-space:nowrap}.table-link{padding:0;border:0;color:var(--brand);background:none;font-weight:780;cursor:pointer}.table-link:hover{text-decoration:underline}.person-inline{display:inline-flex;align-items:center;gap:8px}.person-inline>span{display:flex;flex-direction:column}.modal-backdrop{position:fixed;z-index:200;top:0;right:0;bottom:0;left:0;display:flex;align-items:flex-start;justify-content:center;padding:max(24px,env(safe-area-inset-top)) 18px max(24px,env(safe-area-inset-bottom));background:#0718109e;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);overflow-y:auto}.modal{width:min(580px,100%);max-height:calc(100vh - 48px);display:flex;flex-direction:column;margin:auto;border:1px solid rgba(255,255,255,.6);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-lg);overflow:hidden}.modal-large{width:min(820px,100%)}.modal-xlarge{width:min(1120px,100%)}.modal-header{display:flex;align-items:flex-start;gap:16px;padding:21px 22px 17px;border-bottom:1px solid var(--line)}.modal-header>div{min-width:0;flex:1}.modal-header h2{margin:0 0 4px;font-size:20px}.modal-header p{margin:0;color:var(--muted);font-size:11px;line-height:1.5}.modal-body{padding:20px 22px;overflow-y:auto}.modal-footer{display:flex;justify-content:flex-end;gap:9px;padding:15px 22px max(15px,env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#fbfcfb}.modal-destructive .modal-header{border-top:4px solid var(--danger)}.inline-actions{margin-top:9px}.avatar{width:38px;height:38px;flex:0 0 38px;display:inline-grid;place-items:center;border-radius:12px;color:var(--brand-dark);background:#dcebe3;font-size:11px;font-weight:850;letter-spacing:.03em}.avatar.small{width:29px;height:29px;flex-basis:29px;border-radius:9px;font-size:9px}.avatar.large{width:54px;height:54px;flex-basis:54px;border-radius:16px;font-size:15px}.progress-wrap{width:100%}.progress-label{display:flex;justify-content:space-between;margin-bottom:6px;color:var(--muted);font-size:10px;font-weight:650}.progress{height:7px;border-radius:999px;background:#e7ece8;overflow:hidden}.progress span{height:100%;display:block;border-radius:inherit;background:linear-gradient(90deg,var(--brand),#4a9571)}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(280px,.85fr);gap:18px}.dashboard-grid .panel{margin-bottom:18px}.route-list{margin:0;padding:0;list-style:none}.route-list li{position:relative;display:grid;grid-template-columns:30px 1fr;gap:13px;min-height:73px}.route-index{position:relative;z-index:1;width:30px;height:30px;display:grid;place-items:center;border:2px solid var(--surface);border-radius:50%;color:#fff;background:var(--brand);box-shadow:0 0 0 1px #bfd1c6;font-size:10px;font-weight:850}.route-line{position:absolute;top:28px;bottom:-1px;left:14px;width:1px;background:var(--line)}.route-list li:last-child .route-line{display:none}.route-card{min-width:0;display:grid;grid-template-columns:74px minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:0 0 15px;border-bottom:1px solid var(--line)}.route-list li:last-child .route-card{border-bottom:0}.route-time{color:var(--ink);font-size:11px;font-weight:780}.route-info{min-width:0;display:flex;flex-direction:column}.route-info strong{overflow:hidden;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.route-info span{overflow:hidden;color:var(--muted);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.route-list li.completed .route-index{color:var(--success);background:var(--success-soft)}.route-list li.completed .route-info strong{color:var(--muted);text-decoration:line-through}.person-list{display:flex;flex-direction:column}.person-row{min-height:44px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px;padding:9px 0;border-bottom:1px solid var(--line);color:var(--ink)}.person-row:last-child{border-bottom:0}.person-row>span:nth-child(2){min-width:0;display:flex;flex-direction:column}.person-row strong{overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.person-row small{color:var(--muted);font-size:9px}.date-note,.date-danger{color:var(--muted);font-size:9px;font-weight:720}.date-danger{color:var(--danger)!important}.all-clear{display:flex;align-items:center;gap:11px;padding:12px;border-radius:10px;color:var(--success);background:var(--success-soft)}.all-clear>.icon{width:30px;height:30px;border-radius:50%;color:#fff;background:var(--success)}.all-clear span{display:flex;flex-direction:column}.all-clear strong{font-size:11px}.all-clear small{color:#558067;font-size:9px}.attention-list{display:flex;flex-direction:column}.attention-list a{min-height:44px;display:grid;grid-template-columns:8px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid var(--line);color:var(--ink)}.attention-list a:last-child{border-bottom:0}.attention-list a>span:nth-child(2){display:flex;flex-direction:column}.attention-list strong{font-size:11px}.attention-list small{color:var(--muted);font-size:9px}.attention-list b{font-size:11px}.attention-dot{width:7px;height:7px;border-radius:50%;background:var(--warning)}.attention-dot.problem,.attention-dot.failed{background:var(--danger)}.task-list{display:flex;flex-direction:column;margin-top:14px}.task-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:11px;padding:10px 0;border-bottom:1px solid var(--line)}.task-row:last-child{border-bottom:0}.task-check{width:44px;height:44px;display:grid;place-items:center;border:1.5px solid var(--line-strong);border-radius:10px;color:#fff;background:#fff;cursor:pointer}.task-row.done .task-check{border-color:var(--success);background:var(--success)}.task-row>div{min-width:0;display:flex;flex-direction:column}.task-row strong{font-size:11px}.task-row span{overflow:hidden;color:var(--muted);font-size:9px;text-overflow:ellipsis;white-space:nowrap}.quick-links{display:flex;flex-direction:column}.quick-links a{min-height:44px;display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid var(--line);color:var(--ink)}.quick-links a:last-child{border-bottom:0}.quick-links>a>.icon:first-child{width:30px;height:30px;border-radius:9px;color:var(--brand);background:var(--brand-soft)}.quick-links span{display:flex;flex-direction:column}.quick-links strong{font-size:11px}.quick-links small{color:var(--muted);font-size:9px}.schedule-toolbar,.roster-toolbar,.daily-toolbar,.ledger-toolbar,.report-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.route-board,.visit-list{display:flex;flex-direction:column;gap:11px}.visit-card{display:grid;grid-template-columns:62px minmax(0,1fr);border:1px solid var(--line);border-radius:13px;background:var(--surface-soft);overflow:hidden}.visit-order{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;padding:14px 8px;border-right:1px solid var(--line);color:var(--brand);background:#f0f5f1;font-weight:850}.visit-order>span:not(.visit-date){width:30px;height:30px;display:grid;place-items:center;border-radius:50%;color:#fff;background:var(--brand)}.visit-order>div{display:flex}.visit-date{font-size:10px;text-align:center}.visit-content{min-width:0;padding:15px}.visit-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.visit-heading h2{margin:2px 0;font-size:15px}.visit-heading p{margin:0;color:var(--muted);font-size:10px}.visit-time{color:var(--accent);font-size:10px;font-weight:800}.visit-horses{display:flex;flex-wrap:wrap;gap:7px;margin:13px 0}.visit-horses>span{min-width:175px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:7px;padding:7px;border:1px solid var(--line);border-radius:9px;background:#fff}.visit-horses>span>span{min-width:0;display:flex;flex-direction:column}.visit-horses strong,.visit-horses small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.visit-horses strong{font-size:10px}.visit-horses small{color:var(--muted);font-size:8px}.visit-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}.picker-heading{display:flex;justify-content:space-between;margin:8px 0;font-size:12px}.picker-heading span{color:var(--muted)}.horse-picker{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;max-height:290px;padding:3px;overflow-y:auto}.horse-picker label{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px;padding:10px;border:1px solid var(--line);border-radius:10px;cursor:pointer}.horse-picker label.selected{border-color:var(--brand);background:var(--brand-soft)}.horse-picker input{position:absolute;opacity:0}.horse-picker label>span{min-width:0;display:flex;flex-direction:column}.horse-picker strong{overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.horse-picker small{color:var(--muted);font-size:9px}.horse-picker i{color:transparent;font-style:normal}.horse-picker .selected i{color:var(--brand)}.selected-order{margin-top:14px;padding:12px;border-radius:10px;background:var(--surface-soft)}.selected-order>strong{display:block;margin-bottom:7px;font-size:11px}.selected-order>div{display:grid;grid-template-columns:22px 1fr auto auto;align-items:center;gap:5px;padding:5px 0;border-top:1px solid var(--line)}.selected-order>div>span{width:20px;height:20px;display:grid;place-items:center;border-radius:50%;color:var(--brand);background:var(--brand-soft);font-size:9px;font-weight:800}.selected-order b{font-size:10px}.completion-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:15px}.completion-summary>span{display:grid;grid-template-columns:30px 1fr;column-gap:8px;padding:10px;border-radius:10px;background:var(--surface-soft)}.completion-summary .icon{grid-row:span 2;width:30px;height:30px;border-radius:9px;color:var(--brand);background:var(--brand-soft)}.completion-summary strong{font-size:10px}.completion-summary small{color:var(--muted);font-size:8px}.completion-horses{display:flex;flex-direction:column;gap:12px}.completion-card{padding:15px;border:1px solid var(--line);border-radius:13px;background:#fbfcfb}.completion-card>header{display:flex;align-items:center;gap:10px;margin-bottom:14px}.completion-card>header>span{min-width:0;flex:1}.completion-card h3{margin:0;font-size:14px}.completion-card header p{margin:0;color:var(--muted);font-size:9px}.completion-extras{display:grid;grid-template-columns:1fr 1fr;align-items:end;gap:16px}.completion-extras fieldset{display:flex;flex-wrap:wrap;gap:7px;margin:0;padding:0;border:0}.completion-extras legend{width:100%;margin-bottom:4px;color:var(--ink-soft);font-size:11px;font-weight:720}.completion-extras fieldset label{min-height:44px;display:flex;align-items:center;gap:5px;padding:8px 5px;color:var(--muted);font-size:9px;cursor:pointer}.roster-shell{display:grid;grid-template-columns:minmax(480px,1.35fr) minmax(320px,.8fr);gap:18px;align-items:start}.roster-list-panel{min-height:580px}.search-field{min-width:270px;display:flex;align-items:center;gap:7px;padding:0 11px;border:1px solid var(--line-strong);border-radius:9px;background:#fff}.search-field .icon{color:var(--muted)}.search-field input{width:100%;min-height:44px;padding:0;border:0;outline:0;background:transparent;font-size:11px}.roster-cards{display:flex;flex-direction:column}.roster-card{width:100%;min-height:66px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:11px;padding:10px 11px;border:0;border-bottom:1px solid var(--line);background:transparent;text-align:left;cursor:pointer}.roster-card:hover{background:var(--surface-soft)}.roster-card.selected{border-radius:10px;background:var(--brand-soft)}.roster-card-copy,.roster-card-meta{min-width:0;display:flex;flex-direction:column}.roster-card-copy strong{overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.roster-card-copy small{overflow:hidden;color:var(--muted);font-size:9px;text-overflow:ellipsis;white-space:nowrap}.roster-card-meta{align-items:flex-end;gap:4px}.roster-card-meta small{color:var(--muted);font-size:9px}.roster-card-meta b{color:var(--warning);font-size:10px}.sticky-detail{position:sticky;top:78px}.detail-placeholder{min-height:410px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:30px;border:1px dashed var(--line-strong);border-radius:var(--radius);color:var(--muted);text-align:center;background:var(--surface)}.detail-placeholder>div{width:56px;height:56px;display:grid;place-items:center;margin-bottom:14px;border-radius:18px;color:var(--brand);background:var(--brand-soft);font-size:22px}.detail-placeholder h2{margin:0 0 5px;color:var(--ink);font-size:16px}.detail-placeholder p{max-width:280px;font-size:11px}.detail-identity{display:flex;align-items:center;gap:12px;margin-bottom:18px}.detail-identity>div{min-width:0}.detail-identity h2{overflow:hidden;margin:0 0 4px;font-size:20px;text-overflow:ellipsis;white-space:nowrap}.detail-identity .eyebrow{margin:0 0 2px;font-size:8px}.detail-identity .muted{font-size:10px}.horse-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-bottom:15px}.horse-kpis>span{display:flex;flex-direction:column;gap:3px;padding:9px;border-radius:9px;background:var(--surface-soft)}.horse-kpis small{color:var(--muted);font-size:8px;text-transform:uppercase}.horse-kpis strong{overflow:hidden;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.money-warning{color:var(--warning)!important}.detail-list,.compact-definition{margin:0}.detail-list>div,.compact-definition>div{display:grid;grid-template-columns:110px 1fr;gap:10px;padding:8px 0;border-bottom:1px solid var(--line)}.detail-list dt,.compact-definition dt{color:var(--muted);font-size:9px;font-weight:700}.detail-list dd,.compact-definition dd{margin:0;color:var(--ink-soft);font-size:10px;text-align:right}.detail-list a{min-height:44px;display:inline-flex;align-items:center;justify-content:flex-end}.detail-subsection{margin-top:17px;padding-top:15px;border-top:1px solid var(--line)}.detail-subsection h3{margin:0 0 9px;font-size:12px}.inline-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}.mini-horse{width:100%;min-height:44px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;padding:7px;border:0;border-radius:8px;background:transparent;text-align:left;cursor:pointer}.mini-horse:hover{background:var(--surface-soft)}.mini-horse>span{display:flex;flex-direction:column}.mini-horse strong{font-size:10px}.mini-horse small{color:var(--muted);font-size:8px}.detail-actions{display:flex;gap:7px;margin-top:18px}.access-list{display:flex;flex-direction:column}.access-list>div{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:8px;padding:7px 0}.access-list span{display:flex;flex-direction:column}.access-list strong{font-size:10px}.access-list small{color:var(--muted);font-size:8px}.permission-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin:15px 0;padding:0;border:0}.permission-grid legend{margin-bottom:2px;font-size:12px;font-weight:750}.permission-grid>p{grid-column:1 / -1;margin:0 0 4px;color:var(--muted);font-size:9px}.permission-grid label{position:relative;cursor:pointer}.permission-grid input{position:absolute;opacity:0}.permission-grid label span{min-height:44px;display:flex;align-items:center;gap:7px;padding:9px;border:1px solid var(--line);border-radius:9px;color:var(--muted);font-size:10px}.permission-grid label span .icon{width:18px;height:18px;border-radius:6px;color:transparent;background:#edf1ee;font-size:8px}.permission-grid input:checked+span{color:var(--brand-dark);border-color:#b9d0c2;background:var(--brand-soft)}.permission-grid input:checked+span .icon{color:#fff;background:var(--brand)}.invitation-success{padding:18px;text-align:center}.invitation-success>div:first-child{width:50px;height:50px;display:grid;place-items:center;margin:0 auto 12px;border-radius:50%;color:#fff;background:var(--success)}.invitation-success h3{margin-bottom:5px}.invitation-success p{color:var(--muted);font-size:11px}.invitation-review>div:first-child{display:flex;align-items:center;gap:12px;margin-bottom:15px}.invitation-review>div:first-child>.badge{margin-left:auto}.invitation-review h2{margin:2px 0 0;font-size:21px}.copy-field{display:flex;gap:7px}.copy-field input{min-width:0;min-height:44px;flex:1;padding:9px;border:1px solid var(--line);border-radius:8px}.date-control{display:flex;align-items:center;gap:3px}.date-control input{width:140px;border:0;background:transparent;font-size:11px;font-weight:720}.daily-progress{display:grid;grid-template-columns:180px 1fr;align-items:center;gap:16px;margin:5px 0 20px;padding:11px 13px;border-radius:10px;background:var(--surface-soft)}.daily-progress>div{display:flex;flex-direction:column}.daily-progress strong{font-size:11px}.daily-progress span{color:var(--muted);font-size:9px}.daily-groups{display:flex;flex-direction:column;gap:20px}.daily-groups>section>h2{display:flex;align-items:center;gap:7px;margin:0 0 7px;color:var(--muted);font-size:10px;letter-spacing:.08em}.daily-groups>section>h2 span{min-width:18px;padding:2px 5px;border-radius:99px;color:var(--brand);background:var(--brand-soft);font-size:8px;text-align:center}.daily-items{display:flex;flex-direction:column}.daily-item{display:grid;grid-template-columns:auto auto minmax(0,1fr) auto auto;align-items:center;gap:10px;min-height:62px;padding:9px 5px;border-bottom:1px solid var(--line)}.daily-item:last-child{border-bottom:0}.daily-item.done{opacity:.68}.daily-item.skipped,.daily-item.problem{border-radius:8px;background:var(--danger-soft);opacity:1}.daily-complete{width:44px;height:44px;display:grid;place-items:center;border:1.5px solid var(--line-strong);border-radius:10px;color:#fff;background:#fff;cursor:pointer}.daily-item.done .daily-complete{border-color:var(--success);background:var(--success)}.daily-copy{min-width:0;display:flex;flex-direction:column}.daily-copy strong{overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.daily-copy span{overflow:hidden;color:var(--muted);font-size:9px;text-overflow:ellipsis;white-space:nowrap}.daily-copy small{color:var(--danger);font-size:8px}.daily-meta{display:flex;align-items:center;gap:7px}.daily-meta time,.daily-meta small{color:var(--muted);font-size:8px}.daily-actions{display:flex}.routine-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:16px}.routine-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:11px;padding:13px;border:1px solid var(--line);border-radius:11px;background:var(--surface-soft)}.routine-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;color:var(--brand);background:var(--brand-soft)}.routine-card h2{margin:3px 0 1px;font-size:12px}.routine-card p{margin:0;color:var(--muted);font-size:9px}.horse-chip-picker,.day-picker{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 16px;padding:0;border:0}.horse-chip-picker legend,.day-picker legend{width:100%;margin-bottom:4px;color:var(--ink-soft);font-size:11px;font-weight:720}.horse-chip-picker legend span{margin-left:5px;color:var(--muted);font-size:8px;font-weight:500}.horse-chip-picker label{position:relative;min-height:44px;display:flex;align-items:center;gap:6px;padding:5px 9px 5px 5px;border:1px solid var(--line);border-radius:99px;color:var(--muted);font-size:9px;cursor:pointer}.horse-chip-picker input,.day-picker input{position:absolute;opacity:0}.horse-chip-picker label.selected{color:var(--brand-dark);border-color:var(--brand);background:var(--brand-soft)}.day-picker label{position:relative;width:44px;height:44px;display:grid;place-items:center;border:1px solid var(--line);border-radius:9px;color:var(--muted);font-size:10px;font-weight:750;cursor:pointer}.day-picker label.selected{color:#fff;border-color:var(--brand);background:var(--brand)}.feed-horse-select{max-width:360px;margin:16px 0}.feed-plan-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:18px 0}.feed-plan-heading>div{display:flex;align-items:center;gap:11px}.feed-plan-heading h2{margin:0 0 2px;font-size:17px}.feed-plan-heading p{margin:0;color:var(--muted);font-size:10px}.feed-columns{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.feed-columns>section{padding:12px;border:1px solid var(--line);border-radius:11px;background:var(--surface-soft)}.feed-columns header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.feed-columns header>span{color:var(--brand);font-size:9px;font-weight:850;letter-spacing:.08em}.feed-item{display:flex;flex-direction:column;padding:7px 0;border-top:1px solid var(--line)}.feed-item strong{font-size:10px}.feed-item span,.feed-item small{color:var(--muted);font-size:8px}.feed-history{margin-top:18px}.feed-history h3{font-size:12px}.feed-history>div{display:grid;grid-template-columns:auto 1fr auto;gap:8px;padding:7px 0;border-bottom:1px solid var(--line);font-size:9px}.feed-history small{color:var(--muted)}.feed-form-items{display:flex;flex-direction:column;gap:10px;margin-bottom:12px}.feed-form-items>section{padding:12px;border:1px solid var(--line);border-radius:11px;background:var(--surface-soft)}.billing-panel>.tabs,.panel>.tabs:first-child{margin-bottom:18px}.authorization-grid,.agreement-grid,.service-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.authorization-card,.agreement-card{padding:14px;border:1px solid var(--line);border-radius:12px;background:var(--surface-soft)}.authorization-card header,.agreement-card header{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:9px}.authorization-card header>span,.agreement-card header>span{display:flex;flex-direction:column}.authorization-card header strong,.agreement-card header strong{font-size:11px}.authorization-card header small,.agreement-card header small{color:var(--muted);font-size:8px}.authorization-card dl,.agreement-card dl{display:grid;grid-template-columns:repeat(2,1fr);gap:7px;margin:13px 0 0}.authorization-card dl div,.agreement-card dl div{display:flex;flex-direction:column;padding:7px;border-radius:7px;background:#fff}.authorization-card dt,.agreement-card dt{color:var(--muted);font-size:7px;text-transform:uppercase}.authorization-card dd,.agreement-card dd{margin:2px 0 0;font-size:9px;font-weight:700}.agreement-money{margin:13px 0}.agreement-money strong{display:block;font-size:24px;letter-spacing:-.04em}.agreement-money span{color:var(--muted);font-size:9px}.card-actions{display:flex;flex-wrap:wrap;gap:5px;margin-top:12px}.invoice-lines{display:flex;flex-direction:column;gap:7px;margin:13px 0}.invoice-line-labels,.invoice-line{display:grid;grid-template-columns:1fr 2fr 70px 120px 38px;gap:7px;align-items:start}.invoice-line-labels{color:var(--muted);font-size:8px;font-weight:750;text-transform:uppercase}.invoice-line input,.invoice-line select{width:100%;min-height:44px;padding:7px 9px;border:1px solid var(--line-strong);border-radius:8px;background:#fff;font-size:10px}.invoice-line>div:nth-child(2){display:flex;flex-direction:column;gap:4px}.invoice-detail-head{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:15px}.invoice-detail-head>div{display:flex;flex-direction:column;padding:9px;border-radius:9px;background:var(--surface-soft)}.invoice-detail-head span{color:var(--muted);font-size:8px;text-transform:uppercase}.invoice-detail-head strong{margin-top:3px;font-size:10px}.invoice-totals{display:flex;justify-content:flex-end;gap:20px;margin:14px 0}.invoice-totals>span{display:flex;flex-direction:column;align-items:flex-end}.invoice-totals small{color:var(--muted);font-size:8px}.invoice-totals strong{font-size:12px}.invoice-totals .total strong{color:var(--brand);font-size:20px}.ledger-toolbar .date-range,.report-toolbar .date-range{display:flex;align-items:flex-end;gap:8px}.date-range .field{width:145px}.date-range>span{padding-bottom:11px;color:var(--muted);font-size:10px}.ledger-timeline{display:flex;flex-direction:column}.ledger-timeline article{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:11px;padding:12px 4px;border-bottom:1px solid var(--line)}.ledger-timeline article:last-child{border-bottom:0}.ledger-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;color:var(--brand);background:var(--brand-soft)}.ledger-icon.refund,.ledger-icon.dispute,.ledger-icon.fee{color:var(--danger);background:var(--danger-soft)}.ledger-copy{min-width:0;display:flex;flex-direction:column}.ledger-copy>div{display:flex;align-items:center;flex-wrap:wrap;gap:6px}.ledger-copy strong{font-size:11px}.ledger-copy>span,.ledger-copy>small{color:var(--muted);font-size:8px}.ledger-timeline article>strong{font-size:12px}.money-out{color:var(--danger)}.service-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:11px;padding:14px;border:1px solid var(--line);border-radius:12px;background:var(--surface-soft)}.service-mark{width:40px;height:40px;display:grid;place-items:center;border-radius:12px;color:var(--brand);background:var(--brand-soft)}.service-card h2{margin:4px 0 1px;font-size:13px}.service-card p{margin:0;color:var(--muted);font-size:9px}.service-card>strong{align-self:center;color:var(--brand);font-size:18px}.service-card>div:last-child{grid-column:2 / -1;display:flex;gap:6px}.update-composer{margin:16px 0 24px;padding:15px;border:1px solid var(--line);border-radius:12px;background:var(--surface-soft)}.composer-top,.composer-actions{display:flex;align-items:center;justify-content:space-between;gap:10px}.compact-select select{min-width:210px}.composer-body textarea{width:100%;min-height:90px;margin:10px 0;padding:12px;border:0;border-radius:10px;outline:0;background:#fff;resize:vertical}.composer-actions>span{flex:1;color:var(--muted);font-size:9px}.file-button{position:relative;overflow:hidden}.file-button input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer}.composer-preview{position:relative;width:130px;margin-bottom:10px}.composer-preview img{display:block;max-height:100px;border-radius:9px;object-fit:cover}.composer-preview button{position:absolute;top:3px;right:3px;color:#fff;background:#0000008c}.updates-feed>.section-heading{border-top:1px solid var(--line);padding-top:18px}.update-card{display:grid;grid-template-columns:auto minmax(0,1fr);gap:11px;padding:14px 0;border-bottom:1px solid var(--line)}.update-card:last-child{border-bottom:0}.update-avatar{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;color:var(--brand);background:var(--brand-soft)}.update-card header{display:flex;align-items:center;gap:7px}.update-card header strong{font-size:11px}.update-card time{margin-left:auto;color:var(--muted);font-size:8px}.update-card p{margin:8px 0;color:var(--ink-soft);font-size:11px;white-space:pre-wrap}.update-card img{max-width:260px;max-height:190px;border-radius:10px;object-fit:cover}.update-card footer{display:flex;gap:13px;margin-top:7px;color:var(--muted);font-size:8px}.facility-layout{display:grid;grid-template-columns:minmax(230px,.55fr) minmax(0,1.5fr);gap:18px;align-items:start}.facility-list{position:sticky;top:78px}.mobile-section-title{display:none}.facility-buttons{display:flex;flex-direction:column;gap:6px}.facility-buttons>button{min-height:44px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:9px;padding:10px;border:1px solid transparent;border-radius:10px;background:transparent;text-align:left;cursor:pointer}.facility-buttons>button:hover{background:var(--surface-soft)}.facility-buttons>button.selected{border-color:#c0d2c6;background:var(--brand-soft)}.facility-buttons>button>span:first-child{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;color:var(--brand);background:#fff}.facility-buttons>button>span:nth-child(2){display:flex;flex-direction:column}.facility-buttons strong{font-size:10px}.facility-buttons small{color:var(--muted);font-size:8px}.facility-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;margin-bottom:18px}.facility-heading h2{margin:0;font-size:19px}.facility-heading .eyebrow{margin:0 0 2px;font-size:8px}.facility-heading>div:last-child{display:flex;align-items:center;gap:8px}.facility-heading input{width:140px}.booking-day{display:flex;flex-direction:column}.booking-day article{position:relative;display:grid;grid-template-columns:65px 1px minmax(0,1fr) auto;gap:12px;min-height:76px;padding:8px 0}.booking-day time{display:flex;flex-direction:column;color:var(--muted);font-size:8px}.booking-day time strong{color:var(--ink);font-size:10px}.booking-line{background:var(--line)}.booking-line:before{content:"";position:absolute;width:7px;height:7px;margin-left:-3px;border-radius:50%;background:var(--brand)}.booking-day article>div:nth-child(3) header{display:flex;align-items:center;gap:7px}.booking-day article>div:nth-child(3) header strong{font-size:11px}.booking-day p{margin:3px 0;color:var(--muted);font-size:9px}.booking-day small{color:var(--muted);font-size:8px}.offering-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.offering-card{padding:15px;border:1px solid var(--line);border-radius:13px;background:var(--surface-soft)}.offering-card>header{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center}.offering-mark{width:40px;height:40px;display:grid;place-items:center;border-radius:12px;color:var(--brand);background:var(--brand-soft)}.offering-card h2{margin:4px 0 1px;font-size:13px}.offering-card header p{margin:0;color:var(--muted);font-size:8px}.offering-card header>strong{color:var(--brand);font-size:16px}.offering-card>p{min-height:38px;margin:13px 0;color:var(--muted);font-size:9px}.offering-facts{display:grid;grid-template-columns:repeat(4,1fr);gap:5px}.offering-facts span{display:flex;flex-direction:column;padding:7px;border-radius:7px;background:#fff}.offering-facts small{color:var(--muted);font-size:7px;text-transform:uppercase}.offering-facts strong{margin-top:2px;font-size:8px}.offering-slots{margin:13px 0}.offering-slots>div:first-child{display:flex;justify-content:space-between;margin-bottom:6px;font-size:9px}.offering-slots>span{display:flex;align-items:center;justify-content:space-between;padding:6px 0;border-top:1px solid var(--line)}.offering-slots time{color:var(--muted);font-size:8px}.offering-card>footer{display:flex;justify-content:flex-end;gap:6px}.booking-filter{width:290px;margin-bottom:12px}.listing-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:13px}.listing-card{border:1px solid var(--line);border-radius:14px;background:var(--surface);overflow:hidden}.listing-cover{min-height:90px;display:flex;align-items:flex-start;justify-content:space-between;padding:14px;background:radial-gradient(circle at 85% 10%,rgba(214,154,88,.36),transparent 38%),linear-gradient(140deg,#173e30,#285f49)}.listing-cover>div{width:40px;height:40px;display:grid;place-items:center;border-radius:12px;color:#fff;background:#ffffff1f}.listing-cover>span{display:flex;gap:5px}.listing-body{padding:16px}.listing-body .eyebrow{font-size:8px}.listing-body h2{margin:0 0 6px;font-size:16px}.listing-body>p{min-height:42px;color:var(--muted);font-size:9px;line-height:1.55}.listing-meta{display:flex;flex-wrap:wrap;gap:7px 12px;color:var(--muted);font-size:8px}.listing-meta span{display:flex;align-items:center;gap:3px}.listing-quality{display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px;margin:13px 0}.listing-quality>div{height:6px;border-radius:99px;background:var(--canvas-deep);overflow:hidden}.listing-quality>div span{display:block;height:100%;border-radius:inherit;background:var(--brand)}.listing-quality small{color:var(--muted);font-size:8px}.listing-region{min-height:34px;display:flex;align-items:center;gap:7px;padding:7px;border-radius:8px;background:var(--surface-soft);font-size:8px}.listing-body footer{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:5px;margin-top:13px}.lead-toolbar{margin-bottom:14px;overflow-x:auto}.lead-list{display:flex;flex-direction:column}.lead-list article{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:11px;padding:14px 0;border-bottom:1px solid var(--line)}.lead-list article:last-child{border-bottom:0}.lead-copy header{display:flex;align-items:center;gap:7px}.lead-copy header strong{font-size:11px}.lead-copy time{margin-left:auto;color:var(--muted);font-size:8px}.lead-copy p{margin:5px 0;color:var(--ink-soft);font-size:10px}.lead-copy>div{display:flex;flex-wrap:wrap;gap:8px;color:var(--muted);font-size:8px}.lead-copy>small{display:block;margin-top:5px;color:var(--success);font-size:8px}.lead-contact{display:flex;flex-direction:column;gap:4px}.review-list{display:flex;flex-direction:column}.review-list article{display:grid;grid-template-columns:auto 1fr;gap:9px;padding:10px 0;border-bottom:1px solid var(--line)}.review-list header{display:flex;align-items:center;gap:7px;font-size:9px}.review-list header span{color:var(--accent)}.review-list time{margin-left:auto;color:var(--muted);font-size:8px}.review-list p{margin:4px 0 0;color:var(--ink-soft);font-size:10px}.report-toolbar{padding-bottom:16px;border-bottom:1px solid var(--line)}.report-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-top:12px}.report-grid h2{margin:0 0 14px;font-size:14px}.bar-list{display:flex;flex-direction:column;gap:10px}.bar-list>div{display:grid;grid-template-columns:100px minmax(0,1fr) 72px;align-items:center;gap:8px}.bar-list>div>span{overflow:hidden;color:var(--ink-soft);font-size:9px;text-overflow:ellipsis;white-space:nowrap}.bar-list>div>div{height:8px;border-radius:99px;background:var(--canvas-deep);overflow:hidden}.bar-list i{display:block;height:100%;min-width:2px;border-radius:inherit;background:linear-gradient(90deg,var(--brand),#72a58b)}.bar-list strong{color:var(--ink);font-size:9px;text-align:right}.settings-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:18px;align-items:start}.settings-nav{position:sticky;top:78px;display:flex;flex-direction:column;gap:4px;padding:7px;border:1px solid var(--line);border-radius:13px;background:var(--surface);box-shadow:var(--shadow-sm)}.settings-nav button{display:grid;grid-template-columns:27px 1fr auto;align-items:center;gap:7px;min-height:44px;padding:7px;border:0;border-radius:8px;color:var(--muted);background:transparent;font-size:10px;font-weight:700;text-align:left;cursor:pointer}.settings-nav button>.icon:first-child{width:27px;height:27px;border-radius:8px;color:var(--brand);background:var(--brand-soft)}.settings-nav button>.icon:last-child{opacity:.4}.settings-nav button.active{color:var(--brand-dark);background:var(--brand-soft)}.workspace-profile-head,.account-card{display:flex;align-items:center;gap:12px;margin-bottom:18px;padding:13px;border-radius:11px;background:var(--surface-soft)}.workspace-profile-head>div,.account-card>div{display:flex;flex-direction:column;align-items:flex-start}.workspace-profile-head strong,.account-card h2{margin:0;font-size:14px}.workspace-profile-head p,.account-card p,.account-card span{margin:2px 0 0;color:var(--muted);font-size:9px}.plan-card{padding:19px;border:1px solid #bfd3c6;border-radius:14px;background:linear-gradient(145deg,#f4fbf6,#fff)}.plan-heading{display:flex;align-items:center;gap:12px}.plan-heading>span{width:46px;height:46px;display:grid;place-items:center;border-radius:14px;color:#fff;background:var(--brand);font-size:17px}.plan-heading h2{margin:4px 0 1px;font-size:18px}.plan-heading p{margin:0;color:var(--muted);font-size:9px}.plan-card ul{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin:18px 0;padding:0;list-style:none}.plan-card li{display:flex;align-items:center;gap:7px;color:var(--ink-soft);font-size:10px}.plan-card li .icon{width:20px;height:20px;border-radius:50%;color:var(--success);background:var(--success-soft);font-size:8px}.plan-actions{display:flex;gap:8px}.connect-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;margin-bottom:14px;padding:15px;border:1px solid var(--line);border-radius:12px;background:var(--surface-soft)}.connect-mark{width:45px;height:45px;display:grid;place-items:center;border-radius:14px;color:var(--brand);background:var(--brand-soft);font-size:17px}.connect-mark.active{color:#fff;background:var(--success)}.connect-card h2{margin:2px 0;font-size:14px}.connect-card p{margin:0;color:var(--muted);font-size:9px}.connect-card .eyebrow{margin:0;font-size:8px}.pref-table{border:1px solid var(--line);border-radius:11px;overflow:hidden}.pref-head,.pref-row{display:grid;grid-template-columns:minmax(0,1fr) repeat(3,60px);align-items:center;gap:7px;padding:9px 12px}.pref-head{color:var(--muted);background:var(--surface-soft);font-size:8px;font-weight:800;text-transform:uppercase;text-align:center}.pref-head span:first-child{text-align:left}.pref-row{border-top:1px solid var(--line)}.pref-row>span:first-child{display:flex;flex-direction:column}.pref-row strong{font-size:10px}.pref-row small{color:var(--muted);font-size:8px}.pref-row label{width:44px;height:44px;display:grid;place-items:center;justify-self:center;cursor:pointer}.pref-row input{width:16px;height:16px;accent-color:var(--brand)}.legal-links{display:flex;flex-direction:column}.legal-links a{min-height:44px;display:flex;align-items:center;justify-content:space-between;padding:10px 0;border-bottom:1px solid var(--line);color:var(--ink-soft);font-size:10px;font-weight:700}.legal-links a:last-child{border-bottom:0}.danger-zone{border-color:#efcbc6}.danger-zone p{color:var(--muted);font-size:10px}.acknowledgment-control{min-height:44px;display:flex;align-items:flex-start;gap:10px;padding:8px 0;cursor:pointer}.acknowledgment-control input{width:20px;height:20px;flex:0 0 20px;accent-color:var(--brand)}.store-cancel-instructions ol{padding-left:22px;color:var(--ink-soft)}@media(max-width:1180px){:root{--sidebar: 238px}.stats-grid.five{grid-template-columns:repeat(3,1fr)}.dashboard-grid{grid-template-columns:minmax(0,1.45fr) minmax(260px,.8fr)}.roster-shell{grid-template-columns:minmax(440px,1.25fr) minmax(300px,.8fr)}.form-grid.four,.offering-facts{grid-template-columns:repeat(2,1fr)}}@media(max-width:880px){:root{--sidebar: 300px}.pro-main{margin-left:0}.sidebar{visibility:hidden;pointer-events:none;transform:translate(-105%);transition:transform .22s ease,visibility 0s linear .22s;box-shadow:var(--shadow-lg)}.sidebar.drawer-visible{visibility:visible;pointer-events:auto;transform:translate(0);transition-delay:0s}.drawer-close{display:inline-flex}.drawer-scrim{position:fixed;z-index:70;top:0;right:0;bottom:0;left:0;display:block;border:0;background:#08191185;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.desktop-topbar{display:none}.mobile-header{position:sticky;z-index:50;top:0;min-height:calc(58px + env(safe-area-inset-top));display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:8px;padding:env(safe-area-inset-top) 13px 0;border-bottom:1px solid var(--line);background:#fafbf9f0;-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px)}.mobile-brand{min-width:0;display:flex;align-items:center;gap:7px;color:var(--ink);font-size:11px;font-weight:800}.mobile-brand img{width:29px;height:29px}.mobile-context .context-static{max-width:150px}.mobile-context .context-static strong{max-width:130px;font-size:9px}.mobile-context .context-static small,.mobile-brand span{display:none}.mobile-context .context-select select{max-width:105px;min-height:44px;padding:5px 20px 5px 6px;font-size:9px}.mobile-bottom-nav{position:fixed;z-index:60;inset:auto 0 0;min-height:calc(62px + env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(5,1fr);padding:5px 7px env(safe-area-inset-bottom);border-top:1px solid var(--line);background:#fffffff5;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);box-shadow:0 -8px 24px #122d2112}.mobile-bottom-nav a,.mobile-bottom-nav button{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:5px 2px;border:0;border-radius:9px;color:var(--muted);background:transparent;font-size:8px;font-weight:720;cursor:pointer}.mobile-bottom-nav .icon{min-height:19px;font-size:15px}.mobile-bottom-nav a.active{color:var(--brand);background:var(--brand-soft)}.page-content{padding:23px 18px calc(88px + env(safe-area-inset-bottom))}.offline-bar{top:calc(58px + env(safe-area-inset-top))}.page-intro{min-height:0}.page-intro h1{font-size:28px}.stats-grid.four{grid-template-columns:repeat(2,1fr)}.dashboard-grid,.roster-shell{grid-template-columns:1fr}.roster-detail .sticky-detail{position:static}.facility-layout{grid-template-columns:1fr}.facility-list{position:static}.facility-buttons{display:grid;grid-template-columns:repeat(3,minmax(150px,1fr));overflow-x:auto}.facility-buttons>button{min-width:180px}.settings-layout{grid-template-columns:1fr}.settings-nav{position:static;display:grid;grid-template-columns:repeat(5,minmax(130px,1fr));overflow-x:auto}.settings-nav button{min-width:140px}.authorization-grid,.agreement-grid,.service-grid,.offering-grid,.listing-grid{grid-template-columns:1fr}.auth-layout{grid-template-columns:38% 1fr}.auth-story{padding:34px 28px}.auth-story-copy h1{font-size:46px}.auth-form-wrap{padding:34px 26px}}@media(max-width:640px){body{font-size:13px}.auth-layout{display:block;min-height:100vh;background:var(--canvas)}.auth-story{display:none}.auth-form-wrap{min-height:100vh;display:block;padding:max(24px,env(safe-area-inset-top)) 18px max(28px,env(safe-area-inset-bottom))}.auth-card{margin:0 auto;padding:0}.auth-mobile-brand{display:flex;align-items:center;gap:8px;margin-bottom:34px;font-size:13px;font-weight:800}.auth-mobile-brand img{width:34px;height:34px}.auth-heading h2{font-size:27px}.role-choice label{padding:10px}.onboarding-page{padding:20px 14px 60px}.onboarding-brand{margin-bottom:20px}.setup-role-switch{grid-template-columns:1fr}.setup-role-switch>label{min-height:52px}.page-content{padding:19px 13px calc(84px + env(safe-area-inset-bottom))}.page-intro{display:block;margin-bottom:18px}.page-intro h1{font-size:25px}.page-intro p{font-size:11px}.page-actions{padding-top:14px}.page-actions .btn{width:100%}.panel{padding:14px;border-radius:12px}.section-heading{align-items:center}.section-heading .tabs{max-width:100%}.form-grid.two,.form-grid.three,.form-grid.four{grid-template-columns:1fr}.form-grid .span-two{grid-column:auto}.stats-grid.three,.stats-grid.four,.stats-grid.five{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.stat-card{padding:12px}.stat-card>strong{font-size:21px}.schedule-toolbar,.roster-toolbar,.daily-toolbar,.ledger-toolbar,.report-toolbar{align-items:stretch;flex-direction:column}.schedule-toolbar .tabs,.roster-toolbar .tabs,.daily-toolbar .tabs{width:100%}.search-field{width:100%;min-width:0}.route-card{grid-template-columns:58px minmax(0,1fr) auto}.route-card>.btn{grid-column:2 / -1;justify-self:start}.visit-card{grid-template-columns:42px minmax(0,1fr)}.visit-order{padding:10px 3px}.visit-horses{display:grid;grid-template-columns:1fr}.visit-horses>span{min-width:0}.horse-picker,.completion-summary{grid-template-columns:1fr}.completion-card>header{align-items:flex-start;flex-wrap:wrap}.completion-card .switch-label{margin-left:64px}.completion-extras{grid-template-columns:1fr}.roster-list-panel{min-height:430px}.horse-kpis{grid-template-columns:1fr 1fr}.detail-list>div,.compact-definition>div{grid-template-columns:1fr;gap:2px}.detail-list dd,.compact-definition dd{text-align:left}.permission-grid{grid-template-columns:1fr}.daily-toolbar{gap:10px}.daily-toolbar .switch-label{align-self:flex-start}.daily-progress{grid-template-columns:1fr;gap:8px}.daily-item{grid-template-columns:auto auto minmax(0,1fr) auto;gap:7px}.daily-meta{flex-direction:column;align-items:flex-end;gap:2px}.daily-actions{grid-column:3 / -1;justify-content:flex-end}.routine-grid,.feed-columns{grid-template-columns:1fr}.invoice-line-labels{display:none}.invoice-line{grid-template-columns:1fr 38px;padding:10px;border:1px solid var(--line);border-radius:10px}.invoice-line>*{grid-column:1}.invoice-line>.icon-button{grid-column:2;grid-row:1}.invoice-detail-head{grid-template-columns:repeat(2,1fr)}.invoice-totals{gap:10px}.ledger-toolbar .date-range,.report-toolbar .date-range,.date-range .field{width:100%}.ledger-timeline article{grid-template-columns:auto minmax(0,1fr) auto}.ledger-timeline article>.btn{grid-column:2 / -1;justify-self:end}.composer-top,.composer-actions{align-items:stretch;flex-direction:column}.compact-select select{width:100%;min-width:0}.composer-actions>span{order:3}.facility-heading{align-items:stretch;flex-direction:column}.facility-heading>div:last-child{display:grid;grid-template-columns:1fr 1fr}.facility-heading input{width:100%}.booking-day article{grid-template-columns:56px 1px minmax(0,1fr)}.booking-day article>.btn{grid-column:3;justify-self:start}.offering-facts{grid-template-columns:repeat(2,1fr)}.lead-list article{grid-template-columns:auto minmax(0,1fr)}.lead-contact{grid-column:2;flex-direction:row;flex-wrap:wrap}.report-grid{grid-template-columns:1fr}.bar-list>div{grid-template-columns:85px minmax(0,1fr) 62px}.settings-nav{display:flex;flex-direction:row}.settings-nav button{flex:0 0 145px}.plan-card ul{grid-template-columns:1fr}.plan-actions{flex-direction:column}.pref-head,.pref-row{grid-template-columns:minmax(0,1fr) repeat(3,38px);padding:8px}.modal-backdrop{padding:env(safe-area-inset-top) 0 0;align-items:flex-end}.modal{width:100%;max-height:calc(100vh - env(safe-area-inset-top));margin:auto 0 0;border-radius:20px 20px 0 0}.modal-header{padding:17px 16px 14px}.modal-body{padding:16px}.modal-footer{position:sticky;bottom:0;padding:12px 16px max(12px,env(safe-area-inset-bottom))}.modal-footer .btn{flex:1;padding-left:8px;padding-right:8px}.table-wrap{margin:0 -4px}th,td{padding:10px 9px}}@media(max-width:390px){.mobile-context{display:none}.mobile-header{grid-template-columns:42px 1fr 0}.stats-grid.three,.stats-grid.four,.stats-grid.five{grid-template-columns:1fr 1fr}.stats-grid.two{grid-template-columns:1fr}.stat-card>strong{font-size:19px}.tabs button{padding-inline:9px}.horse-kpis{grid-template-columns:1fr}}.beta-accept{box-sizing:border-box;max-width:680px;margin:2rem auto;padding:1.25rem 16px;overflow-wrap:anywhere}.beta-accept h1{margin:0 0 1rem;font-size:clamp(1.5rem,4vw,2rem)}.beta-accept h2{margin:1.25rem 0 .5rem;font-size:1.15rem}.beta-terms{white-space:pre-wrap;padding:14px 16px;border:1px solid var(--line-strong);border-radius:12px;background:var(--surface);line-height:1.5;max-height:52vh;overflow-y:auto}.beta-links{margin:.75rem 0 1rem}.beta-actions{display:flex;flex-wrap:wrap;gap:10px}.beta-accept .button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 18px;border-radius:10px;font-weight:600;text-decoration:none;cursor:pointer;text-align:center;white-space:normal}.beta-accept .button.primary{border:1px solid var(--brand);background:var(--brand);color:#fff}.beta-accept .button.primary:disabled{opacity:.6;cursor:default}.beta-accept .button.secondary{border:1px solid var(--line-strong);background:var(--surface);color:var(--ink)}.beta-barn{display:block;margin:0 0 1rem;font-weight:600}.beta-barn select{display:block;width:100%;margin-top:6px;min-height:44px}.beta-error{color:#a32020;font-weight:600}
