:root{--ink:#203b32;--muted:#7a867e;--green:#27664f;--green-dark:#1c503c;--mint:#edf3e9;--line:#e7eae3;--cream:#f6f7f2;--white:#fff;--red:#a34336;--shadow:0 8px 32px #2444320a}
*{box-sizing:border-box}body{margin:0;font-family:"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--cream);font-size:14px;-webkit-font-smoothing:antialiased}button,input,select{font:inherit}button,a,input,select{ -webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-decoration:none}button:disabled{opacity:.65;cursor:wait}button:focus-visible,a:focus-visible{outline:3px solid #9abda4;outline-offset:3px}h1,h2,h3,p{margin-top:0}h1{letter-spacing:-1.6px}input,select{min-width:0;color:var(--ink);background:white;border:1px solid #dce1d8;border-radius:8px;padding:12px 13px;outline:none;width:100%;height:44px}input:focus,select:focus{border-color:var(--green);box-shadow:0 0 0 3px #27664f14}input::placeholder{color:#9aa197}input[type=checkbox]{width:15px;height:15px;accent-color:var(--green);flex-shrink:0}label{display:block;font-weight:600;font-size:13px}label>input,label>select{margin-top:7px}small{font-size:12px}.muted{color:var(--muted)}.eyebrow{font-size:10px;font-weight:700;letter-spacing:2px;color:#7c8c7c}.button{display:inline-flex;align-items:center;justify-content:center;gap:14px;min-height:43px;border:1px solid transparent;border-radius:8px;padding:11px 18px;font-weight:600;font-size:13px;white-space:nowrap;transition:background .15s}.primary{color:white;background:var(--green);box-shadow:0 3px 6px #1c503c12}.primary:hover{background:var(--green-dark)}.subtle{background:white;border-color:var(--line);color:#536457}.subtle:hover{background:#f0f4ed}.text-button{background:none;border:0;color:var(--green);font-weight:600;padding:8px 0;font-size:13px}.icon-button{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:35px;height:35px;border-radius:7px;border:1px solid var(--line);background:white;color:#617466;font-size:25px}.icon-button:hover{background:var(--mint)}.brand{display:flex;align-items:center;font-weight:750;font-size:25px;letter-spacing:-1.1px;white-space:nowrap}.brand-icon{background:var(--green);color:#d9eabf;font-size:24px;display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;margin-right:10px;border-radius:10px}.brand-dot{color:#88aa61}.live-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#79a16c;flex-shrink:0}.local-badge{font-size:11px;display:flex;gap:8px;align-items:center;color:#7c8a7e}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.app-shell{display:flex;min-height:100vh}.sidebar{width:230px;flex-shrink:0;background:#f0f2e9;border-right:1px solid #e1e5da;padding:33px 22px 20px;display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0}.sidebar .brand{margin:0 6px 46px}.sidebar-caption{font-size:9px;letter-spacing:1.6px;color:#929b8c;font-weight:700;margin:0 14px 15px}.nav-item{padding:12px 13px;display:flex;align-items:center;gap:12px;font-weight:600;font-size:13px;border-radius:8px}.nav-item.selected{background:#e0e8d7;color:#315a3f}.calendar-icon{font-size:21px}.nav-arrow{margin-left:auto;font-size:18px;color:#5d7953}.sidebar-note{margin:65px 15px 30px;border-top:1px solid #dfe4d7;padding-top:25px}.note-symbol{display:block;font-size:36px;color:#8ca770;margin-bottom:14px}.sidebar-note h3{font-size:21px;line-height:1.45;letter-spacing:-.5px;font-weight:600;margin-bottom:10px}.sidebar-note p{font-size:12px;color:#8b9585;line-height:1.9}.sidebar-bottom{margin-top:auto}.backup{font-size:11px;padding:12px}.sidebar-bottom>.local-badge{margin:13px 12px 23px}.user-box{display:flex;align-items:center;gap:10px;border-top:1px solid #dfe4d7;padding-top:19px}.avatar{background:#e0e5d7;color:#5d7155;display:grid;place-items:center;width:33px;height:33px;border-radius:50%;font-size:12px;font-weight:700}.user-box strong{font-size:12px;display:block;max-width:105px;overflow:hidden;text-overflow:ellipsis}.user-box small{font-size:10px;color:#929b8c;display:block;margin-top:3px}.user-box form{margin-left:auto}.logout{border:0;background:none;color:#81917a;font-size:21px}.main-content{margin-left:230px;flex:1;min-width:0}.topbar{height:72px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 44px;font-size:11px;color:#8b9488;background:#fafbf7}.topbar strong{font-weight:500;color:#4a604d}.breadcrumb{margin:0 15px;color:#c4cbbf}.topbar-label{font-size:11px}.workspace{padding:36px 44px 20px;max-width:1500px;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:30px;gap:20px}.page-heading h1{font-size:35px;font-weight:650;margin:7px 0}.page-heading p{font-size:12px;margin:0}.plus{font-size:23px;font-weight:300;line-height:.8}.calendar-panel{background:white;border:1px solid #e3e7dd;border-radius:13px;box-shadow:var(--shadow);overflow:hidden}.calendar-toolbar{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:26px 28px 24px}.date-heading h2{font-size:21px;letter-spacing:-.5px;font-weight:600;margin:0 0 7px}.day-label{font-size:12px;color:#8b9687;display:flex;align-items:center;gap:8px}.today-tag{background:#edf3e7;color:#6c8858;border-radius:4px;padding:2px 6px;font-size:9px}.date-controls{display:flex;align-items:center;gap:6px}.today-button{min-height:35px;padding:6px 12px;font-size:11px;margin-right:4px}.date-picker-label{margin-left:6px}.date-picker-label input{font-size:11px;width:139px;height:35px;margin:0;padding:6px 8px}.week-strip{display:grid;grid-template-columns:repeat(7,1fr);gap:6px;margin:0 28px 24px}.week-day{padding:12px 8px 10px;border:1px solid transparent;border-radius:9px;text-align:center;transition:background .15s}.week-day:hover{background:#f5f7f0}.week-day>span{font-size:10px;color:#8b9687;display:block}.week-day strong{display:block;font-size:21px;font-weight:500;margin:6px 0}.week-day small{font-size:9px;color:#9ba493}.week-day.active{background:#27664f;color:white}.week-day.active>span,.week-day.active small{color:#c4d7c8}.week-day.is-today:not(.active){border-color:#dce8d4;background:#f5f8ef}.filters{display:flex;gap:12px;align-items:center;background:#fbfcf9;padding:17px 28px;border-block:1px solid var(--line)}.search-box{position:relative;flex:1;font-weight:400;min-width:150px}.search-box>span{position:absolute;top:7px;left:12px;font-size:26px;line-height:30px;color:#91a08d}.search-box input{margin:0;height:40px;padding-left:39px;font-size:11px;padding-right:64px;background:white}.search-box kbd{position:absolute;right:12px;top:14px;font-size:8px;font-family:inherit;color:#9ba592;pointer-events:none}.doctor-filter select{margin:0;width:165px;font-size:11px;height:40px;background:white}.checkbox-label{display:flex;align-items:center;gap:7px;font-size:10px;font-weight:400;color:#83917c;white-space:nowrap}.checkbox-label input{margin:0}.filter-submit{min-height:40px;padding:7px 12px;font-size:11px}.agenda-heading{display:flex;justify-content:space-between;align-items:center;padding:21px 28px 17px;border-bottom:1px solid var(--line);gap:12px}.agenda-heading>div{display:flex;align-items:center;gap:10px}.section-label{font-size:9px;font-weight:700;letter-spacing:1.5px;color:#87937f}.count-badge{background:#edf2e7;color:#6b825a;border-radius:4px;padding:3px 7px;font-size:10px}.agenda-hint{font-size:10px;color:#9ba592}.agenda-hint a{color:var(--green);text-decoration:underline}.hour-row{display:flex;min-height:66px}.hour-label{width:85px;flex-shrink:0;text-align:center;padding-top:20px;font-size:12px;color:#64775e;font-weight:600;border-right:1px solid #edf0e9}.hour-label span{font-size:10px;font-weight:400;color:#9aa591}.hour-content{flex:1;min-width:0;border-bottom:1px solid #edf0e9;padding:7px 16px;display:flex;flex-direction:column;gap:6px}.hour-row:last-child .hour-content{border-bottom:0}.free-slot{border:0;text-align:left;background:none;width:100%;color:#a4ae9a;font-size:11px;padding:13px 11px;border-radius:6px;min-height:50px}.free-slot>span{margin-right:8px;font-size:17px;vertical-align:-1px}.free-slot:hover{background:#f5f8f0;color:var(--green)}.appointment{display:flex;align-items:center;gap:14px;text-align:left;border:1px solid #e4eadc;border-left:3px solid #8ca86d;border-radius:7px;background:#f5f8ef;padding:13px 15px;width:100%;color:var(--ink);transition:background .15s;min-height:66px}.appointment:hover{background:#eaf1df;border-color:#bacbac}.appointment-time{font-size:14px;font-weight:650;min-width:59px}.appointment-time small{display:block;font-size:9px;color:#8a987f;font-weight:400;margin-top:4px}.patient-avatar{height:31px;width:31px;background:#e6ecd9;border-radius:50%;color:#809568;font-size:10px;display:grid;place-items:center;flex-shrink:0}.patient{flex:1;min-width:0}.patient strong{display:block;font-size:12px;font-weight:600;overflow-wrap:anywhere}.patient small{display:block;font-size:10px;color:#8a987e;margin-top:5px;overflow-wrap:anywhere}.contact-divider{margin:0 8px;color:#abb59f}.appointment-doctor{font-size:10px;color:#7d8f6f;max-width:180px;text-align:right;display:flex;flex-direction:column;gap:5px;overflow-wrap:anywhere}.edit-arrow{font-size:16px;color:#9faf91;margin-left:6px}.appointment.cancelled{opacity:.7;background:#f3f3f0;border-color:#e6e7e1;border-left-color:#b1b6ac}.cancelled-tag{font-size:9px;color:#a16a60}.search-results{padding:14px 24px;display:flex;flex-direction:column;gap:8px}.empty-state{text-align:center;padding:28px 20px;background:#fcfdf9;border-bottom:1px solid var(--line)}.empty-icon{display:inline-flex;align-items:center;justify-content:center;width:39px;height:39px;background:#eef2e7;border-radius:11px;color:#9cad89;font-size:26px;margin-bottom:10px}.empty-state h3{font-size:15px;font-weight:600;margin:0 0 7px}.empty-state p{font-size:11px;color:#8d9984;margin:0 0 5px}.empty-state .text-button{font-size:11px}.page-footer{display:flex;justify-content:space-between;font-size:10px;color:#a0a997;margin:20px 2px;gap:10px}.page-footer>span:first-child{display:flex;align-items:center;gap:8px}.notice{padding:13px 16px;border-radius:8px;border:1px solid #dce7d2;background:#f0f6e9;font-size:12px;line-height:1.6;margin:0 0 18px}.notice.error{border-color:#ead4cd;background:#fff5f0;color:#984d3e}
dialog{border:1px solid #e4e9dc;border-radius:15px;box-shadow:0 25px 100px #13251b38;padding:28px;width:min(580px,calc(100% - 28px));max-height:92dvh;color:var(--ink)}dialog::backdrop{background:#18362655;backdrop-filter:blur(3px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center}.dialog-heading h2{font-size:26px;letter-spacing:-.8px;margin:6px 0 0}.dialog-heading .icon-button{border:0;background:#f3f5ee}.dialog-intro{color:#8b9784;font-size:12px;margin:14px 0 23px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:19px 16px}.required{color:#789161;margin-left:3px}.optional{font-size:10px;font-weight:400;color:#9aa590;margin-left:4px}.wide{grid-column:1/-1}.time-fields{display:grid;grid-template-columns:1.15fr 1fr;gap:8px}.dialog-footer{border-top:1px solid var(--line);padding-top:21px;margin-top:25px;display:flex;justify-content:flex-end;gap:10px}.cancel-form{margin-top:16px;border-top:1px solid var(--line);padding-top:12px}.danger{color:var(--red);font-size:12px}.conflict-check{white-space:normal;margin-top:20px;line-height:1.6;font-size:12px;color:#984d3e}.login-layout{display:grid;grid-template-columns:1fr 1fr;min-height:100vh}.login-story{background:#edf1e5;padding:45px 9%;display:flex;flex-direction:column;justify-content:space-between;min-height:650px;position:relative;overflow:hidden}.login-story:after{content:"";position:absolute;right:-180px;bottom:-190px;width:440px;height:440px;border:1px solid #dbe3cd;border-radius:50%;box-shadow:0 0 0 50px #e5ebdb,0 0 0 51px #dbe3cd,0 0 0 100px #e9eede,0 0 0 101px #dbe3cd;pointer-events:none}.login-story>div{position:relative;z-index:1}.login-story h1{font-size:clamp(38px,4.1vw,64px);line-height:1.16;font-weight:550;margin:22px 0}.login-story p{color:#84917a;line-height:1.9;font-size:13px}.login-story>.local-badge{z-index:1}.login-panel{display:flex;align-items:center;justify-content:center;padding:45px 30px;background:#fbfcf8}.login-card{width:350px;max-width:100%}.login-card h2{font-size:29px;letter-spacing:-1px;margin:12px 0}.login-card>.muted{font-size:12px;margin-bottom:30px;line-height:1.7}.stack{display:flex;flex-direction:column;gap:18px}.stack .button{margin-top:7px}.full{width:100%;justify-content:space-between}.login-note{font-size:10px;color:#a2ad98;text-align:center;margin-top:30px}.error-page{max-width:600px;margin:12vh auto;padding:30px}.error-page h1{margin-top:35px}
@media(min-width:1600px){.workspace{padding-top:45px}.page-heading{margin-bottom:35px}.appointment{padding:16px}.hour-row{min-height:72px}}
@media(max-width:1200px){.sidebar{width:200px;padding-inline:15px}.main-content{margin-left:200px}.workspace{padding:28px 25px 15px}.topbar{padding-inline:25px}.filters{gap:8px;padding-inline:20px;flex-wrap:wrap}.search-box{flex-basis:240px}.checkbox-label{font-size:10px}.calendar-toolbar{padding-inline:22px}.week-strip{margin-inline:22px}.sidebar .brand{font-size:23px}.appointment{gap:10px}.patient-avatar{display:none}.appointment-doctor{max-width:130px}.agenda-hint{font-size:9px}}
@media(max-width:850px){.sidebar{width:75px;padding:26px 10px}.sidebar .brand{font-size:0;margin:0 auto 35px;display:block}.sidebar .brand-icon{margin:0;width:38px;height:38px;font-size:27px}.sidebar .brand-dot,.sidebar-caption,.sidebar-note,.sidebar-bottom{display:none}.nav-item{font-size:0;padding:12px;justify-content:center}.nav-arrow{display:none}.calendar-icon{font-size:25px}.main-content{margin-left:75px}.workspace{padding:24px 20px 15px}.topbar{padding-inline:20px}.appointment-doctor{max-width:110px}.doctor-filter select{width:150px}.agenda-heading{padding-inline:20px}.hour-label{width:65px}.hour-content{padding-inline:10px}.page-heading h1{font-size:31px}.calendar-toolbar{align-items:flex-start}.date-heading h2{font-size:18px}.date-picker-label{display:none}.login-story{padding-inline:10%}.login-story h1{font-size:42px}}
@media(max-width:600px){.sidebar{position:static;width:auto;min-height:65px;flex-direction:row;align-items:center;padding:12px 18px;border-right:0;border-bottom:1px solid var(--line)}.sidebar .brand{margin:0;font-size:23px;display:flex}.sidebar .brand-icon{width:30px;height:30px;font-size:23px;margin-right:9px}.sidebar .brand-dot{display:inline}.nav-item{display:none}.sidebar-bottom{display:flex;margin-left:auto;gap:6px}.sidebar-bottom .backup{font-size:0;padding:0}.sidebar-bottom>.local-badge,.user-box>span,.user-box>div{display:none}.user-box{border:0;padding:0}.app-shell{display:block}.main-content{margin-left:0}.topbar{height:45px;padding:0 18px}.topbar-label{font-size:9px}.workspace{padding:22px 12px 10px}.page-heading{margin:0 6px 24px;align-items:center;gap:10px}.page-heading h1{font-size:29px}.page-heading .eyebrow{font-size:8px;letter-spacing:1.5px}.page-heading p{font-size:10px}.page-heading>.button{font-size:11px;padding:10px 12px;gap:7px}.calendar-panel{border-radius:10px}.calendar-toolbar{padding:20px 15px 16px;gap:5px}.date-heading h2{font-size:17px}.date-controls{gap:4px}.today-button{font-size:10px;padding:5px 8px;margin:0}.icon-button{width:30px;height:30px}.week-strip{gap:2px;margin:0 10px 18px}.week-day{padding:9px 2px}.week-day>span{font-size:9px}.week-day strong{font-size:18px}.week-day small{font-size:8px}.filters{padding:12px;gap:9px}.search-box{flex-basis:100%}.doctor-filter{flex:1}.doctor-filter select{width:100%;font-size:10px}.filter-submit{display:none}.checkbox-label{font-size:9px}.agenda-heading{padding:17px 14px;gap:8px}.section-label{font-size:8px;letter-spacing:1px}.agenda-hint{font-size:8px;max-width:125px;text-align:right}.hour-label{width:48px;font-size:10px;padding-top:22px}.hour-label span{font-size:8px}.hour-content{padding-inline:7px}.appointment{padding:11px 9px;gap:9px;flex-wrap:wrap}.appointment-time{min-width:42px;font-size:12px}.appointment-time small{font-size:8px}.patient strong{font-size:11px}.patient small{font-size:9px}.appointment-doctor{max-width:none;font-size:9px;text-align:left;margin-left:51px;flex-basis:100%;flex-direction:row}.edit-arrow{display:none}.search-results{padding:12px}.page-footer{font-size:8px;margin-inline:4px}.empty-state{padding:22px 12px}.empty-state h3{font-size:13px}.empty-state p{font-size:10px}.form-grid{gap:17px 12px}.time-fields{grid-template-columns:1fr}.time-fields label:last-child{grid-column:1}.form-grid>label:has(#field-day){align-self:start}.dialog-heading h2{font-size:23px}dialog{padding:22px 18px}.login-layout{grid-template-columns:1fr}.login-story{min-height:0;padding:24px}.login-story>div,.login-story>.local-badge,.login-story:after{display:none}.login-panel{padding:45px 26px;min-height:calc(100vh - 82px)}}
