:root{--ink: #203b33;--muted: #64776e;--primary: #31654f;--border: #dfe7e1;--paper: #fff;--bg: #f4f7f4;--sage: #e8f1e9;--lilac: #eeeaf5;--peach: #fbefdf;--radius: 16px;font-family:Avenir Next,Segoe UI,sans-serif;font-size:14px;color:var(--ink);background:var(--bg);font-synthesis:none;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit;color:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{appearance:none;border:0;cursor:pointer;transition:background .18s,border-color .18s,box-shadow .18s}button:disabled{opacity:.5;cursor:default}button:focus-visible,a:focus-visible{outline:3px solid #8bb8a3;outline-offset:4px}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin-top:0}h1{letter-spacing:-1.3px;font-weight:650;font-size:36px;margin-bottom:10px;line-height:1.2}h2{font-size:21px;font-weight:600;letter-spacing:-.5px}h3{font-size:16px;font-weight:600}p{line-height:1.65}small{display:block}input,select,textarea{border:1px solid #d6e1d9;background:#fff;border-radius:10px;padding:12px 14px;min-height:44px;color:var(--ink);max-width:100%;outline:none;transition:border-color .18s,box-shadow .18s}input::placeholder,textarea::placeholder{color:#88998f}input:focus,select:focus,textarea:focus{border-color:var(--primary);box-shadow:0 0 0 3px #31654f15}select[multiple]{min-height:110px}label{display:flex;flex-direction:column;gap:8px;font-size:13px;font-weight:600;margin-bottom:20px}textarea{resize:vertical}.form-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 20px}.primary,.secondary{padding:12px 18px;min-height:44px;border-radius:10px;font-size:13px;font-weight:600;display:inline-flex;justify-content:center;align-items:center;gap:8px;white-space:nowrap}.primary{background:var(--primary);color:#fff;box-shadow:0 3px 8px #244d3c16}.primary:hover{background:#244d3c}.secondary{background:#fff;border:1px solid #d6e1d9;color:var(--ink)}.secondary:hover{background:var(--sage);border-color:#b6cdbf}.text-button{background:transparent;color:var(--primary);font-size:13px;padding:7px 0;font-weight:550}.text-button:hover{color:#173e2d;text-decoration:underline;text-underline-offset:4px}.full{width:100%}.muted{color:var(--muted);font-size:13px}.eyebrow{font-size:11px;letter-spacing:1.6px;font-weight:650;color:var(--muted);text-transform:uppercase}.brand{display:inline-flex;align-items:center;line-height:0}.brand img{display:block;width:100%;height:auto;object-fit:contain}.avatar{width:40px;height:40px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#e4efe6;color:#3d6851;font-size:12px;font-weight:650;flex-shrink:0}.avatar.small{width:34px;height:34px;font-size:11px}.avatar.large{width:60px;height:60px;font-size:18px}.avatar.huge{width:80px;height:80px;font-size:24px}.avatar img{width:100%;height:100%;object-fit:cover;border-radius:inherit}.lilac{background:var(--lilac)!important;color:#7b6a95!important}.badge{display:inline-flex;align-items:center;white-space:nowrap;padding:6px 10px;font-size:11px;font-weight:550;border-radius:6px;background:#eef2ee;color:#617366}.badge[data-status=confirmed]{background:#e8f3e9;color:#3d714e}.badge[data-status=pending]{background:#fcf0dc;color:#90651e}.badge[data-status=completed]{background:#eef2ee;color:#617366}.badge[data-status=cancelled],.badge[data-status=no-show]{background:#fbe9e4;color:#a44d40}.notice,.error,.success{padding:14px 16px;border-radius:10px;font-size:13px;line-height:1.6;margin:16px 0}.notice{background:#f7f3e7;color:#7a682f}.error{background:#fff0ec;color:#a2473c}.error-message{display:flex;align-items:center;justify-content:space-between;gap:16px}.error-message>span{min-width:0}.error-message>button{width:32px;height:32px;flex:0 0 32px;padding:0;border-radius:50%;background:transparent;color:currentColor;font-size:22px;line-height:1}.error-message>button:hover{background:#a2473c14}.error-message>button:focus-visible{outline:2px solid currentColor;outline-offset:2px}.success{background:#eaf3e7;color:#31654f}.check{flex-direction:row;align-items:center;gap:10px;font-weight:400;line-height:1.6}.check input{accent-color:var(--primary);width:17px;height:17px;min-height:0;flex-shrink:0}.back{background:transparent;color:var(--muted);font-size:13px;margin-bottom:24px;padding:0}.empty{text-align:center;padding:48px 24px;color:var(--muted);font-size:14px}.empty>span{display:block;font-size:32px;margin-bottom:14px;color:#94a58e}.button-group{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.danger{color:#ac5849}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;font-size:13px;text-align:left}th{font-size:11px;letter-spacing:.6px;color:#657c6f;font-weight:650;background:#f6f9f6;padding:16px 24px;text-transform:uppercase}td{padding:22px 24px;border-bottom:1px solid #edf1ed;white-space:nowrap}td small{font-size:12px;color:var(--muted);margin-top:6px}tbody tr:last-child td{border:0}tbody tr:hover{background:#fafcf9}.table-toolbar{padding:24px;display:flex;align-items:center;justify-content:space-between;gap:16px}.search-field{display:flex;flex-direction:row;align-items:center;margin:0;color:var(--muted);gap:10px;border:1px solid var(--border);border-radius:10px;padding:0 14px;width:340px;background:#fafcf9}.search-field input{border:0;width:100%;font-size:13px;background:transparent;padding-left:0;box-shadow:none}.search-field:focus-within{border-color:var(--primary);box-shadow:0 0 0 3px #31654f15}.document-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:22px 0;border-bottom:1px solid var(--border);font-size:13px}.document-row>span:first-child{flex:1;min-width:0;overflow-wrap:anywhere}.document-row small{color:var(--muted);font-size:12px;margin-top:6px}.document-row:last-child{border:0}.document-row .check{margin:0}.panel{background:#fff;border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;box-shadow:0 4px 20px #214b3504}.panel-heading{padding:26px 28px 22px;display:flex;align-items:center;justify-content:space-between;gap:16px}.panel-heading h2{font-size:18px;margin-bottom:8px}.panel-heading p{font-size:13px;color:var(--muted);margin-bottom:0}.detail-panel{padding:30px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 24px}.section-heading h2{margin:0}@media(max-width:700px){h1{font-size:29px}.form-grid{grid-template-columns:minmax(0,1fr)}.document-row{flex-wrap:wrap;gap:12px}.document-row>span:first-child{flex-basis:100%}.document-row select{flex:1;min-width:120px}.table-toolbar{padding:18px;flex-wrap:wrap}.search-field{width:100%}th,td{padding:16px 18px}.detail-panel{padding:22px}.section-heading{flex-wrap:wrap}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}@media(max-width:760px){input,select,textarea,.search-field input,.login-card input{font-size:16px}label,input,select,textarea{min-width:0}.primary,.secondary{white-space:normal}.panel-heading{flex-wrap:wrap}}:root app-root .mobile-menu-toggle{display:none}@media(max-width:760px){:root app-root .sidebar,:root app-root .sidebar.collapsed{position:sticky;top:0;inset-inline:auto;z-index:10;width:100%;padding:12px 16px;max-height:100dvh;overflow-y:auto;background:#fff}:root app-root .sidebar .brand,:root app-root .sidebar.collapsed .brand{width:130px;margin:0;height:42px}:root app-root .mobile-menu-toggle{display:flex;align-items:center;justify-content:center;position:absolute;top:12px;right:16px;min-height:44px;padding:10px 14px;border:1px solid var(--border);border-radius:10px;background:var(--sage);color:var(--primary);font-weight:600}:root app-root .sidebar nav,:root app-root .sidebar .sidebar-bottom{display:none}:root app-root .sidebar.mobile-open nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible;margin-top:12px;padding:0;gap:6px}:root app-root .sidebar nav button,:root app-root .sidebar.collapsed nav button{min-height:48px;width:100%;height:auto;padding:10px;justify-content:flex-start;white-space:normal;font-size:13px}:root app-root .sidebar.mobile-open .sidebar-bottom{display:block;margin-top:12px}:root app-root .sidebar .user-actions,:root app-root .sidebar.collapsed .user-actions{flex-direction:row;margin-top:0}:root app-root .sidebar .user-box,:root app-root .sidebar.collapsed .user-box{flex:1;width:auto;min-height:48px;padding:8px 0}:root app-root .sidebar .logout-button,:root app-root .sidebar.collapsed .logout-button{width:44px;height:44px}:root app-root .main-shell,:root app-root .sidebar.collapsed+.main-shell{margin-left:0;width:100%}:root app-root .topbar{height:auto;min-height:48px;padding:12px 16px}:root app-root .topbar>span{min-width:0;line-height:1.6}:root app-root .content{padding:24px 16px}:root app-root .content>*,:root app-root .page-heading>*,:root app-root .panel-heading>*,:root app-root .button-group>*,:root app-root .patient-title>div,:root app-root .professional-title>div{min-width:0;max-width:100%}:root app-root .page-heading h1,:root app-root .patient-title,:root app-root .professional-title,:root app-root .professional-details,:root app-root .ticket-card h2{overflow-wrap:anywhere}:root app-root .page-heading>.primary,:root app-root .page-heading>.button-group{width:100%}:root app-root .button-group>button,:root app-root .button-group>.upload-label{flex:1 1 auto;white-space:normal}:root app-root .panel-heading,:root app-root .note-heading,:root app-root .ticket-card header{flex-wrap:wrap}:root app-root .tabs{gap:20px}:root app-root .tabs button{flex-shrink:0;white-space:nowrap;min-height:44px}:root app-root .appointment-person{min-width:0;flex:1;overflow-wrap:anywhere}:root app-root .appointment-row .badge{margin-left:0}:root app-root .circle-button{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px}:root app-root .text-button,:root app-root .back,:root app-root .view-switch button,:root app-root .slot{min-height:44px}:root app-root .view-switch{width:100%}:root app-root .view-switch button{flex:1}:root app-root .agenda-panel .table-toolbar{padding:16px;align-items:stretch}:root app-root .agenda-panel .table-toolbar>.button-group{width:100%}:root app-root .agenda-panel .table-toolbar input,:root app-root .agenda-panel .table-toolbar select{width:100%;min-width:0}:root app-root .agenda-week-layout{grid-template-columns:minmax(0,1fr)}:root app-root .mini-month{display:none}:root app-root .calendar-heading{padding:16px;flex-wrap:wrap;gap:12px}:root app-root .week-navigation{width:100%;justify-content:space-between;gap:8px}:root app-root .week-navigation button{width:44px;height:44px;flex-shrink:0}:root app-root .week-navigation strong{text-align:center}:root app-root .agenda-week-main .weekly-calendar{grid-template-columns:48px minmax(1120px,1fr);max-height:65dvh;overscroll-behavior:contain}:root app-root .agenda-week-main .weekly-days{grid-template-columns:repeat(7,minmax(160px,1fr))}:root app-root .calendar-event time{font-size:12px}:root app-root .weekly-event strong{font-size:13px}:root app-root .weekly-event small,:root app-root .calendar-event-heading>span{font-size:11px}:root app-root .table-scroll{max-width:100%;overscroll-behavior-x:contain}:root app-root .professional-danger-zone{flex-direction:column;align-items:stretch;padding:16px}:root app-root .detail-panel,:root app-root .finance-detail,:root app-root .clinical-note,:root app-root .ticket-card{padding:20px 16px}:root app-root .modal-backdrop{padding:8px;align-items:center}:root app-root .modal{max-height:calc(100dvh - 16px);padding:28px 16px 20px;overscroll-behavior:contain}:root app-root .modal-close{width:44px;height:44px;top:4px;right:4px}:root app-root .modal>.eyebrow{display:block;padding-right:36px}:root app-root .schedule-row input[type=checkbox]{width:20px;min-height:20px}:root app-root .schedule-row input[type=time]{width:112px}:root app-root .login-page{min-height:100dvh;padding:20px 16px}:root app-root .login-card{padding:28px 20px;margin:12px auto}:root app-root .portal-header,:root app-root .portal-footer,:root app-root .portal-appointment{flex-wrap:wrap;gap:12px}:root app-root .portal-appointments{margin:20px 16px;padding:20px 16px}:root app-root .booking-layout{padding:0 16px}:root app-root .booking-card{min-width:0}:root app-root .agenda-content>.success,:root app-root .agenda-content>.error-message{bottom:max(12px,env(safe-area-inset-bottom));right:12px;max-width:calc(100vw - 24px)}}
