html:root body :is(.panel,.pm,.attendance,[role=dialog]) :is(select:not([multiple]):not([size]),input:not([type]),input[type=text],input[type=search],input[type=email],input[type=tel],input[type=password],input[type=number],input[type=date],input[type=time],input[type=datetime-local],input[type=month]){box-sizing:border-box;min-height:48px!important;height:auto;font-size:16px!important;line-height:24px!important;padding:11px 14px;flex-shrink:0;min-width:0;max-width:100%}html:root body :is(.panel,.pm,.attendance,[role=dialog]) select:not([multiple]):not([size]){appearance:none;-webkit-appearance:none;width:100%;height:48px;padding:11px 42px 11px 14px!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23889ba8' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center}html:root body :is(.panel,.pm,.attendance,[role=dialog]) label:not(:has(input[type=checkbox])):not(:has(input[type=radio])){display:flex;flex-direction:column;line-height:1.5;gap:9px;min-width:0}html:root body :is(.panel,.pm,.attendance,[role=dialog]) textarea{min-height:104px;font-size:16px;line-height:1.6}html:root .pm-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 24px}html:root .pm-form-grid>label{font-size:14px}html:root .pm .pm-table{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}html:root .pm .pm-table table{width:100%;min-width:960px;table-layout:auto;font-size:15px;line-height:1.6}html:root .pm .pm-table :is(th,td){min-width:136px;padding:18px;white-space:normal;word-break:normal;overflow-wrap:break-word;vertical-align:top;height:auto}html:root .pm .pm-table th{font-size:12px;line-height:1.5;text-transform:none;letter-spacing:0}html:root .pm .pm-table :is(th,td):first-child{min-width:220px}html:root .pm .pm-table td small{font-size:13px;line-height:1.6;margin-top:7px;max-width:none}html:root .pm .pm-table td strong{line-height:1.6}html:root .pm .pm-actions{gap:10px}html:root .pm .pm-table .pm-actions{min-width:210px}html:root .pm .pm-actions button{min-height:42px;padding:10px 13px;font-size:14px;line-height:1.5;white-space:normal}html:root .attendance .att-scroll{overflow-x:auto;max-width:100%;overscroll-behavior-x:contain}html:root .attendance .att-scroll table{min-width:1080px;font-size:15px;line-height:1.6}html:root .attendance .att-scroll :is(th,td){min-width:100px;padding:18px 16px;white-space:normal;vertical-align:top;height:auto}html:root .attendance .att-scroll :is(th,td):first-child{min-width:240px}html:root .attendance .att-scroll :is(th,td):last-child{min-width:240px}html:root .attendance .att-scroll small{font-size:13px;line-height:1.6;margin-top:7px}html:root .attendance .att-actions{gap:10px}html:root .attendance .att-actions button{min-height:42px;font-size:14px;line-height:1.5;padding:10px 13px;white-space:normal}html:root .att-toolbar>label{min-width:min(240px,100%);flex:1 1 240px}html:root body .att-dialog{width:min(800px,100%)}html:root .clinic-shell [data-slot=table-cell]{padding-top:18px;padding-bottom:18px;line-height:1.6;height:auto}html:root .clinic-shell [data-slot=table-cell] :is(.muted,small){line-height:1.6}@media(max-width:700px){html:root .pm-form-grid{grid-template-columns:minmax(0,1fr);gap:20px;padding:20px}html:root .pm-dialog{max-height:92dvh}html:root .pm .pm-actions button{min-height:44px}}@media print{html:root .attendance .att-scroll table,html:root .pm .pm-table table{min-width:0;font-size:10px}html:root .attendance .att-scroll :is(th,td),html:root .pm .pm-table :is(th,td){min-width:0!important;padding:6px}}html:root .pm-tabs button{min-height:44px;font-size:14px;line-height:1.45;padding:10px 14px;white-space:normal;text-align:left}html:root body .attendance .att-dialog{width:min(900px,100%)}html:root body input.pl-10{padding-left:42px!important}html:root body .relative:has(>input.pl-10)>svg.absolute{top:50%;transform:translateY(-50%);pointer-events:none}html:root .visit-create-dialog .visit-create-summary{display:flex;flex-direction:column;align-items:stretch;gap:18px}html:root .visit-create-dialog .visit-create-summary>*{flex:0 0 auto;min-width:0;min-height:max-content}html:root .pm-form-grid,html:root .visit-create-dialog .visit-create-summary :is(.grid2,.visit-plan){grid-auto-rows:max-content;align-content:start;align-items:start}html:root .visit-create-dialog .visit-create-summary :is(.grid2,.visit-plan){row-gap:18px}html:root .pm-form-grid label,html:root .visit-create-dialog .visit-create-summary label{min-width:0;min-height:max-content;line-height:1.5;overflow-wrap:break-word}html:root .visit-create-dialog .selected-services-list{flex:none;min-height:max-content}html:root .visit-create-dialog .selected-service-line{grid-auto-rows:max-content;row-gap:12px}html:root .visit-create-dialog .selected-service-line>.service-quantity{grid-column:1/-1;grid-row:auto;white-space:normal}html:root .visit-create-dialog [data-slot=select-trigger]{min-height:48px;height:auto;line-height:1.5;padding:10px 12px;white-space:normal}html:root .visit-create-dialog [data-slot=select-trigger]>svg{flex:none}html:root .visit-create-dialog [data-slot=select-value]{white-space:normal;overflow-wrap:anywhere}html:root .visit-create-dialog .visit-create-summary :is(.staff-check,.fast-track-check){flex-direction:row;align-items:flex-start;gap:10px}html:root .visit-create-dialog .visit-create-summary [data-slot=checkbox]{flex:none;margin-top:3px}html:root .pm-dialog{width:min(920px,100%);max-height:calc(100dvh - 32px)}html:root .pm-dialog header h3{min-width:0;line-height:1.4;overflow-wrap:anywhere}html:root .pm-dialog footer,html:root .pm-dialog header>button{flex-shrink:0}html:root .pm-form-grid{gap:24px}html:root .pm-form-grid>*{min-width:0}html:root .pm-form-grid label{gap:9px;font-size:14px}html:root .pm-form-grid .pm-line{grid-template-columns:minmax(0,2fr) minmax(120px,1fr) minmax(120px,1fr) auto;gap:14px;align-items:end;padding:16px 0;border-bottom:1px solid var(--border)}html:root .pm-dialog :is(button,.pm-check){white-space:normal;line-height:1.5}html:root .pm-dialog footer{gap:12px;flex-wrap:wrap}html:root .attendance input[type=time]{min-width:142px}html:root .attendance .att-week-row{grid-template-columns:minmax(160px,1fr) minmax(150px,.7fr) minmax(150px,.7fr) minmax(90px,.7fr)}@media(max-width:900px){html:root .attendance .att-week-row{grid-template-columns:repeat(2,minmax(0,1fr))}html:root .attendance .att-week-row :is(.att-day-enabled,.att-day-duration,.att-day-off){grid-column:1/-1}}@media(max-width:380px){html:root .attendance .att-week-row{grid-template-columns:minmax(0,1fr)}}@media(max-width:760px){html:root .pm-overlay{padding:12px}html:root .pm-form-grid{grid-template-columns:minmax(0,1fr);padding:20px;gap:22px}html:root .pm-form-grid .pm-line{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}html:root .pm-form-grid .pm-line>label:first-child{grid-column:1/-1}html:root .pm-form-grid .pm-line>button{grid-column:1/-1;justify-self:start}html:root .pm-dialog footer,html:root .pm-dialog header{padding:16px 20px}}@media screen{html:root{--work-radius:12px;--work-space:18px}html:root .centered-workspace{padding:14px 22px 24px}html:root .clinic-shell .clinic-header.pulse-header.clinic-header-clean{min-height:48px;padding:4px 10px;margin-bottom:12px;gap:10px;border-radius:10px}html:root .clinic-header-clean .pulse-header-main{flex:1 1 auto;min-width:0}html:root .clinic-header-clean .site-navigation-compact{gap:6px;min-width:0;flex-wrap:wrap}html:root .clinic-header-clean .site-navigation-compact button.nav-back-label{width:auto;min-width:0;padding:6px 10px;gap:6px;height:36px;min-height:36px}html:root .clinic-header-clean .site-navigation-compact button.clinic-section-search{height:36px;min-height:36px}.compact-breadcrumbs{display:flex;align-items:center;gap:7px;min-width:0;color:var(--muted-foreground);font-size:13px;line-height:1.4}.compact-breadcrumbs>[aria-current]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:32ch}html:root .compact-breadcrumbs>button{width:auto!important;min-width:0!important;padding:6px!important;height:36px;min-height:36px}html:root .clinic-shell .topline{margin:0 0 12px;gap:12px;align-items:center}html:root .clinic-shell .topline h1{font-size:28px;line-height:1.25;margin:0 0 3px;letter-spacing:-.025em}html:root .workspace-eyebrow{font-size:12px;letter-spacing:.04em;margin-bottom:3px}html:root .workspace-description{font-size:14px;line-height:1.5}html:root .clinic-shell .day-filter{padding:10px 12px;margin-bottom:14px;gap:10px;align-items:center}html:root .day-filter label{gap:6px;font-size:13px;white-space:nowrap}html:root .day-filter input{min-height:42px!important;font-size:15px!important;line-height:22px!important;padding:8px 10px!important}html:root .day-filter>.muted{font-size:12px;line-height:1.4}html:root .panel{padding:18px;border-radius:12px;margin-bottom:14px}html:root .panelhead{margin-bottom:12px;gap:10px;align-items:center}html:root .panelhead h2{font-size:20px;line-height:1.35}html:root .panelhead .muted{font-size:14px;line-height:1.5}html:root .workspace-context-links{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0 0 12px}html:root .workspace-context-links>button{display:inline-flex;align-items:center;gap:7px;min-height:38px;padding:8px 11px;font-size:14px;line-height:1.4;border:1px solid var(--border);border-radius:8px;background:var(--card);color:var(--foreground);text-align:left}.workspace-context-links>button>svg{flex:none}.workspace-context-links .workspace-link-arrow{color:var(--primary)}html:root .workspace-context-links>button:hover{background:var(--accent);border-color:var(--primary)}html:root .stats{gap:12px;margin-bottom:14px}html:root .pulse-stats .stat-link{min-height:122px;padding:14px 16px;gap:6px 8px}html:root .pulse-stats .stat-link>.muted:not(:last-child){min-height:24px;font-size:14px}html:root .pulse-stats .stat-link>.muted:last-child{font-size:13px;line-height:1.45}html:root .pulse-stats .stat-link>strong{font-size:30px;line-height:1.25;margin:0}html:root .pulse-stats .pulse-payment-stat>strong{font-size:clamp(23px,2vw,30px)}html:root .pulse-stats .stat-icon{width:30px;height:30px}html:root .workflow-links{margin-bottom:14px;gap:8px}html:root .workflow-links button{min-height:38px;font-size:14px;line-height:1.4}html:root .shift-home-link{margin-bottom:12px}html:root .clinic-pulse{padding:18px;margin:0 0 14px;border-radius:12px}html:root .pulse-visual-heading{margin-bottom:12px;gap:12px}html:root .pulse-visual-heading h2{font-size:22px;margin:4px 0}html:root .pulse-flow-stages{margin:12px 0 16px}html:root .table-viewport-body{max-height:none;overflow-x:auto;overscroll-behavior-y:auto;scrollbar-gutter:auto}html:root :is(.clinic-shell,.doctor-workspace,.finance-workspace) [data-slot=table-head]{font-size:13px;line-height:1.45;letter-spacing:0;padding:11px 14px;white-space:normal}html:root :is(.clinic-shell,.doctor-workspace,.finance-workspace) [data-slot=table-cell]{font-size:15px;line-height:1.55;padding:14px;vertical-align:middle}html:root [data-slot=table-cell] :is(.muted,small){font-size:13px;line-height:1.5}html:root .table-viewport-body [data-slot=button]{min-height:38px;font-size:14px;padding:8px 11px;line-height:1.4}html:root .visit-table .visit-action-cell{min-width:152px}html:root .visit-table .visit-action-cell>[data-slot=button]{white-space:normal}html:root .visit-table .visit-action-cell>[data-slot=button].text-destructive{display:block;margin:8px 0 0 auto}html:root .clinic-shell [data-slot=select-trigger]{min-height:44px;font-size:15px;line-height:1.5;white-space:normal;padding:10px 12px}html:root .clinic-shell [data-slot=select-value]{white-space:normal}html:root [data-slot=button]{line-height:1.45}html:root .room-directory .room-grid{grid-template-columns:repeat(auto-fit,minmax(min(245px,100%),1fr));gap:12px}html:root .room-directory .room-card{padding:18px;min-height:0;border-radius:12px}html:root .room-card-top{margin-bottom:10px}html:root .room-directory .room-icon{width:38px;height:38px;border-radius:10px}html:root .room-directory .room-card-name{font-size:22px}html:root .room-directory .room-card-specialist{font-size:16px;margin-top:8px}html:root .room-directory .room-card-purpose{font-size:14px;margin:6px 0 12px}html:root .room-directory .room-card-bottom{padding-top:10px;gap:8px}html:root .room-directory.routes-workspace .route-queue{margin-top:12px}html:root .room-direction-filters{gap:8px;margin-bottom:12px}html:root .room-direction-filters button{min-height:38px;font-size:14px;padding:8px 10px}html:root .appointments-page{gap:14px}html:root .appointments-page .panelhead h2{font-size:21px}html:root .appointments-page .appointment-controls{gap:12px}html:root .appointment-summary>div{padding:12px 16px}html:root .appointment-summary strong{font-size:26px}html:root .shift-workspace .shift-overview-grid{gap:14px}html:root .work-shifts :is(td,th){font-size:14px;line-height:1.5;padding:12px}html:root .work-shifts td:first-child{min-width:210px}html:root .work-shifts td:last-child{min-width:220px}html:root .work-shifts td button{min-height:38px;font-size:14px;line-height:1.4}html:root .pm .pm-heading{padding:12px 16px}html:root .pm .pm-table :is(th,td){padding:14px 16px}html:root .pm .pm-toolbar{padding:10px 12px;gap:10px}html:root .pm-tabs{gap:8px}.pm-dialog,html:root .pm .pm-dialog{border-radius:12px}html:root .doctor-workspace{padding:16px 22px 24px}html:root .medical-header{padding:14px 16px;margin-bottom:14px;border-radius:12px}html:root .medical-card{padding:18px;border-radius:12px}html:root .pulse-workspace-footer{margin-top:14px;padding-right:0}body.clinic-with-utilities{--clinic-utility-height:48px}.clinic-utility-bar{padding:4px 16px;gap:10px;box-shadow:none}.clinic-utility-bar .workflow-alert-dock button,.clinic-utility-chat>button{min-height:36px;height:36px;font-size:13px;padding:7px 11px}html:root .clinic-sidebar [data-slot=sidebar-menu-button]{font-size:14px;min-height:40px;padding:9px 10px}html:root .clinic-sidebar [data-slot=sidebar-group-label]{font-size:12px;letter-spacing:0}@media(min-width:1101px){html:root .pulse-stats{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:1100px){html:root .centered-workspace{padding:14px 16px 24px}.compact-breadcrumbs{display:none}html:root .pulse-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){html:root .centered-workspace,html:root .doctor-workspace{padding:12px 12px 20px}html:root .clinic-shell .topline h1{font-size:25px}html:root .clinic-shell .topline{align-items:flex-start}html:root .workspace-description{font-size:14px}html:root .clinic-shell .clinic-header.pulse-header.clinic-header-clean{flex-wrap:wrap}html:root .clinic-header-clean .pulse-header-tools,html:root .workspace-context-links{gap:6px}html:root .workspace-context-links>button{min-height:44px;font-size:13px;padding:8px 10px}html:root .clinic-header-clean .site-navigation-compact button.clinic-section-search{width:auto;min-width:0;padding:0 8px}html:root .clinic-section-search>span{display:inline}html:root .clinic-header-clean .site-navigation-compact button.nav-back-label{padding:6px}.nav-back-label>span{display:none}html:root .day-filter>.flex{gap:8px}html:root .pulse-stats .stat-link{min-height:118px;padding:13px}html:root .medical-card,html:root .panel{padding:16px}html:root .appointment-summary{grid-template-columns:1fr}html:root .clinic-utility-bar{padding-left:10px;padding-right:10px;gap:6px}body.clinic-with-utilities{--clinic-utility-height:calc(54px + env(safe-area-inset-bottom))}.clinic-utility-bar{padding-bottom:max(4px,env(safe-area-inset-bottom))}}@media(max-width:380px){html:root .pulse-stats{grid-template-columns:1fr}html:root .clinic-header-clean .pulse-header-main{flex-basis:100%}html:root .clinic-header-clean .pulse-header-tools{width:100%;justify-content:space-between}}@media(pointer:coarse){html:root .room-direction-filters button,html:root .table-viewport-body [data-slot=button],html:root .workflow-links button{min-height:44px}}}@media print{.workspace-context-links{display:none!important}}@media screen{html:root .premium-clinic-shell .premium-work-grid.premium-idle-work-grid{align-items:start}html:root .premium-clinic-shell .premium-patients.premium-patients-idle{align-self:start;min-height:0;height:auto}html:root .premium-clinic-shell .premium-patients-idle .premium-empty-inline{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;text-align:left;gap:14px;min-height:0;padding:15px 13px;background:var(--muted);border:1px solid var(--border);border-radius:10px}html:root .premium-clinic-shell .premium-patients-idle .premium-empty-inline>svg{flex:none;width:25px;height:25px;color:var(--primary)}html:root .premium-clinic-shell .premium-patients-idle .premium-empty-copy{display:flex;flex:1 1 auto;flex-direction:column;gap:4px;min-width:0}html:root .premium-clinic-shell .premium-patients-idle .premium-empty-copy>strong{font-size:16px!important;line-height:1.4;font-weight:700;color:var(--foreground)}html:root .premium-clinic-shell .premium-patients-idle .premium-empty-copy>span{font-size:14px!important;line-height:1.45;color:var(--muted-foreground)}html:root .premium-clinic-shell .premium-patients-idle .premium-empty-inline>button{flex:none;min-height:40px;font-size:14px!important;font-weight:600;display:inline-flex;align-items:center;gap:8px;padding:9px 12px}html:root .premium-clinic-shell .premium-attention .premium-carryover-attention{display:flex;align-items:center;gap:12px;min-height:56px;color:var(--foreground)}html:root .premium-clinic-shell .premium-attention .premium-carryover-attention>span{flex:1 1 auto;min-width:0}html:root .premium-clinic-shell .premium-attention .premium-carryover-attention strong{font-size:15px!important;font-weight:700;line-height:1.4;color:var(--foreground)}html:root .premium-clinic-shell .premium-attention .premium-carryover-attention small{font-size:14px!important;line-height:1.4;color:var(--muted-foreground)}@media(max-width:850px){html:root .premium-clinic-shell .premium-patients-idle .premium-empty-inline{flex-wrap:wrap}html:root .premium-clinic-shell .premium-patients-idle .premium-empty-inline>button{margin-left:39px}}@media(max-width:450px){html:root .premium-clinic-shell .premium-patients-idle .premium-empty-inline{padding:12px;gap:10px}html:root .premium-clinic-shell .premium-patients-idle .premium-empty-inline>button{margin-left:0;width:100%;justify-content:space-between}}}html:root .premium-clinic-shell [data-view="Рабочие смены"]>.topline{margin:0 0 12px;padding:0;min-height:0}html:root .premium-clinic-shell [data-view="Рабочие смены"]>.topline .workspace-eyebrow{display:none}html:root .premium-clinic-shell [data-view="Рабочие смены"]>.topline h1{margin:0;font-size:28px}html:root .premium-clinic-shell .shift-workspace{padding:14px 16px}html:root .premium-clinic-shell .shift-workspace .shift-overview-grid{grid-template-columns:minmax(0,1fr);padding:0;border:0;gap:12px}html:root .shift-workspace .work-shifts-embedded{margin:0;padding:0;border:0}html:root .shift-date-toolbar,html:root .shift-toolbar,html:root .shift-view-tabs{display:flex;align-items:center;gap:10px;flex-wrap:wrap}html:root .shift-toolbar{margin-bottom:12px}html:root .shift-view-tabs [role=tab]{min-height:40px;font-size:15px;padding:8px 20px}html:root .shift-date-toolbar{margin:0 0 10px}html:root .shift-date-toolbar>label{display:flex;align-items:center;gap:8px;font-size:14px}html:root .shift-date-toolbar input{width:160px;min-height:40px;font-size:15px}html:root .att-help,html:root .shift-help{font-size:14px;line-height:1.5;color:var(--muted-foreground)}html:root .shift-help{margin:0 0 10px}html:root :is(.shift-help,.att-help)>summary{cursor:pointer;width:fit-content;min-height:28px;font-size:14px}html:root :is(.shift-help,.att-help)>div{padding:8px 12px;border:1px solid var(--border);border-radius:8px;background:var(--muted);color:var(--foreground);max-width:900px}html:root .shift-test-check{display:flex;align-items:center;gap:8px}html:root .shift-journal [data-slot=table],html:root .shift-journal table{width:100%;font-size:15px;min-width:920px}html:root .shift-journal :is(th,td){vertical-align:middle;padding:12px 10px;line-height:1.45}html:root .shift-journal th{text-align:center;background:var(--muted);color:var(--foreground);font-weight:650}html:root .shift-journal td:not(:first-child){text-align:center;font-variant-numeric:tabular-nums}html:root .shift-journal td:first-child{font-weight:600}html:root .shift-journal td:last-child{min-width:190px}html:root .shift-journal td:last-child button{min-height:38px;margin:2px 3px}html:root body .attendance.attendance-compact{margin:0;padding:0;border:0}html:root body .attendance>.att-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0}html:root body .attendance.attendance-compact>.att-heading{justify-content:flex-end}html:root body .attendance>.att-toolbar{display:flex;align-items:end;flex-wrap:wrap;gap:10px;margin:6px 0 12px}html:root body .attendance>.att-toolbar>label:first-child{flex:0 0 170px}html:root body .attendance>.att-toolbar>label:nth-child(2){flex:1 1 230px;max-width:380px}html:root body .attendance>.att-toolbar :is(input,select,button,a){min-height:40px;font-size:15px}html:root body .attendance .att-summary table{min-width:940px;font-size:15px;line-height:1.45}html:root body .attendance .att-summary :is(th,td){height:auto;min-width:64px;padding:12px 10px;vertical-align:middle;text-align:center}html:root body .attendance .att-summary th{font-size:14px;font-weight:650;background:var(--muted);color:var(--foreground);white-space:normal}html:root body .attendance .att-summary :is(th,td):first-child{min-width:240px;width:27%;text-align:left}html:root body .attendance .att-summary :is(th,td):last-child{min-width:160px;width:165px}html:root body .attendance .att-summary td strong{font-size:15px;line-height:1.5}html:root body .attendance .att-duration{white-space:nowrap;font-weight:600;font-variant-numeric:tabular-nums}html:root body .attendance .att-row-actions{display:flex;align-items:center;justify-content:center;gap:7px;flex-wrap:nowrap}html:root body .attendance .att-row-actions>button{min-height:38px;white-space:nowrap;padding:7px 10px;font-size:14px}html:root body .attendance .att-auto{font-size:13px;margin:3px 0 0;color:var(--muted-foreground)}html:root body .attendance .att-row-notes{margin-top:4px;font-size:13px;line-height:1.4}html:root body .attendance .att-row-notes>summary{cursor:pointer;color:var(--muted-foreground);width:fit-content}html:root body .attendance .att-row-notes>div{padding:8px 10px;margin-top:6px;border:1px solid var(--border);border-radius:7px;background:var(--muted);color:var(--foreground)}html:root body .attendance .att-row-notes p{font-size:14px;margin:4px 0}html:root body .attendance .att-has-problems>summary{color:#804700;font-weight:650}html:root body .attendance .att-approval{display:inline-block;font-size:13px;line-height:1.4;padding:5px 8px;border-radius:7px;background:var(--muted);color:var(--foreground)}html:root body .attendance .att-approval[data-status=approved]{background:#e3f5ec;color:#14563d}html:root body .attendance .att-approval[data-status=changed]{background:#fff2cc;color:#694000}html:root body .attendance .att-issues{margin:8px 0 12px;border:1px solid var(--border);border-radius:8px}html:root body .attendance .att-issues>summary{padding:9px 12px;cursor:pointer;color:#804700;background:#fff6dd;font-size:14px;font-weight:650;border-radius:8px}html:root body .attendance .att-issues>div{padding:4px 12px}html.dark:root body .attendance .att-has-problems>summary,html:root[data-theme=dark] body .attendance .att-has-problems>summary{color:#ffdb88}html.dark:root body .attendance .att-issues>summary,html:root[data-theme=dark] body .attendance .att-issues>summary{background:#3d2a13;color:#ffdb88}html.dark:root body .attendance .att-approval[data-status=approved],html:root[data-theme=dark] body .attendance .att-approval[data-status=approved]{background:#143c2d;color:#a9efcc}html.dark:root body .attendance .att-approval[data-status=changed],html:root[data-theme=dark] body .attendance .att-approval[data-status=changed]{background:#3d2a13;color:#ffdb88}@media(max-width:650px){html:root body .attendance>.att-toolbar>label:first-child,html:root body .attendance>.att-toolbar>label:nth-child(2){flex:1 1 140px;max-width:none}html:root .shift-date-toolbar{gap:8px}html:root .shift-date-toolbar>label{flex:1;min-width:130px}html:root .shift-date-toolbar input{width:100%}html:root .shift-workspace{max-width:100%;overflow:hidden}}@media print{html:root body .attendance :is(.att-row-actions,.att-help,.att-issues,.att-row-notes>summary){display:none}}@media(min-width:901px){html:root body .attendance.attendance-compact{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:16px}html:root body .attendance.attendance-compact>.att-heading{grid-column:2;grid-row:1;align-self:center}html:root body .attendance.attendance-compact>.att-toolbar{grid-column:1;grid-row:1}html:root body .attendance.attendance-compact>:not(.att-heading):not(.att-toolbar){grid-column:1/-1}}html:root .work-shifts>[role=tabpanel][hidden]{display:none}html:root body .shift-workspace .work-shifts :is(.shift-journal,.shift-toolbar) .shift-date-toolbar>label{display:flex;flex-direction:row;align-items:center;gap:8px;white-space:nowrap}@media(min-width:601px){html:root .shift-workspace .work-shifts .shift-date-toolbar{flex-wrap:nowrap}}@media(max-width:650px){html:root body .shift-workspace .work-shifts :is(.shift-journal,.shift-toolbar) .shift-date-toolbar>label input{width:auto;flex:1 1 0;min-width:0}}html:root .shift-workspace .work-shifts .shift-toolbar>.shift-date-toolbar{margin:0;flex:0 1 auto}html:root .shift-workspace .work-shifts .shift-toolbar .shift-date-toolbar input{width:150px}@media(min-width:901px){html:root .shift-workspace .work-shifts .shift-toolbar{flex-wrap:nowrap}}@media screen{html:root body .shift-workspace .shift-journal .shift-row-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;gap:6px}html:root body .shift-workspace .shift-journal .shift-row-actions>button{margin:0;width:100%;min-height:38px}html:root body .shift-workspace .shift-journal .shift-row-actions>.shift-end-action{grid-column:1;grid-row:1}html:root body .shift-workspace .shift-journal .shift-row-actions>.shift-correct-action{grid-column:2;grid-row:1}html:root body .work-shifts .shift-journal table.shift-comparison-table{min-width:760px;width:100%;table-layout:fixed}html:root body .work-shifts .shift-journal table.shift-comparison-table .shift-person-col{width:22%}html:root body .work-shifts .shift-journal table.shift-comparison-table .shift-time-col{width:18%}html:root body .work-shifts .shift-journal table.shift-comparison-table .shift-count-col,html:root body .work-shifts .shift-journal table.shift-comparison-table .shift-more-col{width:12%}}@media screen{html:root body .work-shifts .shift-journal table.shift-comparison-table :is(th,td){min-width:0;width:auto;padding:8px 4px;white-space:normal;vertical-align:middle;overflow-wrap:normal;word-break:normal;text-align:center}html:root body .work-shifts .shift-journal table.shift-comparison-table :is(th,td):first-child,html:root body .work-shifts .shift-journal table.shift-comparison-table :is(th,td):last-child{min-width:0;width:auto;white-space:normal}html:root body .work-shifts .shift-journal table.shift-comparison-table th{font-size:14px;line-height:1.35;font-weight:650;height:60px}html:root body .work-shifts .shift-journal table.shift-comparison-table .shift-person{text-align:left;font-size:16px;font-weight:700;line-height:1.45;padding-left:10px}html:root body .work-shifts .shift-journal table.shift-comparison-table .shift-number{display:block;font-size:19px;line-height:1.3;font-weight:700;white-space:nowrap;font-variant-numeric:tabular-nums;color:var(--foreground)}html:root body .work-shifts .shift-journal table.shift-comparison-table .shift-number[data-zero=true]{color:var(--muted-foreground);font-weight:500}html:root body .work-shifts .shift-journal table.shift-comparison-table .shift-timing{font-weight:400;font-size:14px;line-height:1.2}html:root body .work-shifts .shift-journal table.shift-comparison-table .shift-dates{font-size:13px;color:var(--muted-foreground)}html:root body .work-shifts .shift-journal table.shift-comparison-table .shift-clock{font-size:16px;white-space:nowrap;font-variant-numeric:tabular-nums}html:root body .work-shifts .shift-journal table.shift-comparison-table .shift-duration{font-size:14px}html:root body .work-shifts .shift-journal table.shift-comparison-table .shift-row-status{font-size:13px;line-height:1.2;color:var(--muted-foreground)}html:root body .work-shifts .shift-journal table.shift-comparison-table .shift-more{margin:0;width:100%;min-height:38px;padding:6px;font-size:14px;white-space:nowrap}html:root body .shift-activity-dialog{display:flex;flex-direction:column;width:min(720px,calc(100vw - 24px));max-width:720px;max-height:calc(100dvh - 32px);overflow:hidden}html:root body .shift-activity-body{min-height:0;overflow:auto;display:grid;gap:18px;padding-right:4px}html:root body .shift-activity-body h3{font-size:16px;font-weight:700;margin:0 0 8px}html:root body .shift-activity-body p{font-size:14px;line-height:1.5;margin:8px 0 0}html:root body .shift-detail-counts{margin:0;display:grid;gap:0}html:root body .shift-detail-counts>div{display:flex;align-items:baseline;justify-content:space-between;gap:16px;padding:6px 0;border-bottom:1px solid var(--border);font-size:14px;line-height:1.4}html:root body .shift-detail-counts dd{margin:0;font-size:18px;font-weight:700;font-variant-numeric:tabular-nums}html:root body .shift-audit-details>summary{cursor:pointer;font-size:14px;min-height:32px}html:root body .shift-detail-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;flex:0 0 auto}html:root body .shift-detail-actions>.shift-end-action{grid-column:1;grid-row:1}html:root body .shift-detail-actions>.shift-correct-action{grid-column:2;grid-row:1}}@media screen and (max-width:650px){html:root body .shift-activity-dialog{max-height:calc(100dvh - 24px);padding:16px}html:root body .shift-detail-actions{grid-template-columns:1fr}html:root body .shift-detail-actions>.shift-correct-action{grid-column:1;grid-row:2}}@media screen{html:root body .work-shifts .shift-journal table.shift-comparison-table .shift-timing>div{display:block;white-space:normal;margin:0;line-height:1.2}html:root body .work-shifts .shift-journal table.shift-comparison-table .shift-timing>div.shift-clock{white-space:nowrap}.shift-visit-breakdown{display:grid;gap:2px;margin-top:4px;color:var(--muted-foreground);font-size:13px;line-height:1.3}.archive-section-switch{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}html:root body .work-shifts[data-shift-view=shifts]>.shift-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;padding-bottom:10px;margin-bottom:8px;border-bottom:1px solid var(--border)}html:root body .work-shifts[data-shift-view=shifts]>.shift-toolbar>.shift-date-toolbar{margin-inline-start:auto}}@media screen{html:root body .work-shifts[data-shift-view=shifts]>.shift-toolbar :is(input,[data-slot=button]){height:42px;min-height:42px;box-sizing:border-box}html:root body .work-shifts[data-shift-view=shifts]>.shift-toolbar .shift-date-toolbar input{width:150px;min-height:42px!important}html:root .work-shifts[data-shift-view=shifts] .shift-journal .table-viewport-body{max-height:none;overscroll-behavior-y:auto}html:root body .work-shifts[data-shift-view=shifts] .shift-journal table.shift-comparison-table :is(th,td){padding:10px 8px}html:root body .work-shifts[data-shift-view=shifts] .shift-journal table.shift-comparison-table :is(th,td):is(:first-child,:nth-child(2)){text-align:left}html:root body .work-shifts[data-shift-view=shifts] .shift-journal table.shift-comparison-table .shift-clock{margin-block:3px}html:root body .work-shifts[data-shift-view=shifts] .shift-journal table.shift-comparison-table .shift-row-status{margin-top:4px;overflow-wrap:anywhere}html:root .work-shifts[data-shift-view=shifts] .shift-status-label{font-weight:400}html:root .work-shifts[data-shift-view=shifts] tr[data-shift-status=active] .shift-status-label{color:var(--foreground);font-weight:650}html:root .work-shifts[data-shift-view=shifts] tr[data-shift-status=active] .shift-status-label:before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;margin-inline-end:6px;vertical-align:.13em;background:#16866c}html:root .work-shifts[data-shift-view=shifts] tr[data-shift-status=overdue] .shift-status-label{font-weight:650}html:root body .work-shifts[data-shift-view=shifts] .shift-journal table.shift-comparison-table .shift-more{max-width:132px;border-color:transparent;background:transparent;color:var(--foreground);font-weight:500;text-decoration:underline;text-underline-offset:3px}html:root body .work-shifts[data-shift-view=shifts] .shift-journal table.shift-comparison-table .shift-more:hover{background:var(--muted)}html:root body .work-shifts[data-shift-view=shifts] table.shift-comparison-table :is(th,td){background:var(--card);box-shadow:none;border-bottom:1px solid var(--border)}html:root body .work-shifts[data-shift-view=shifts] table.shift-comparison-table th{height:auto;color:var(--muted-foreground)}html:root body .work-shifts[data-shift-view=shifts] table.shift-comparison-table tbody tr:last-child td{border-bottom:0}html:root body .work-shifts[data-shift-view=shifts] table.shift-comparison-table .shift-person{font-weight:600}html:root body .work-shifts[data-shift-view=shifts] table.shift-comparison-table .shift-number[data-zero=true]{font-size:15px;font-weight:400}html:root body .work-shifts[data-shift-view=shifts] .shift-toolbar>.badge{border:0;background:transparent;padding-inline:0;color:var(--muted-foreground)}html:root body .work-shifts[data-shift-view=shifts] .shift-view-tabs [role=tab]{background:transparent;color:var(--muted-foreground);border:0;border-bottom:2px solid transparent;border-radius:0;box-shadow:none;padding-inline:12px}html:root body .work-shifts[data-shift-view=shifts] .shift-view-tabs [aria-selected=true]{color:var(--foreground);font-weight:650;border-bottom-color:var(--primary)}html:root body .work-shifts .shift-journal table.shift-comparison-table .shift-timing>.shift-time-meta{display:flex;flex-wrap:wrap;gap:3px 9px;align-items:baseline;color:var(--muted-foreground)}html:root body .work-shifts table.shift-comparison-table .shift-time-meta .shift-duration{font-size:13px;white-space:nowrap}html:root body .work-shifts[data-shift-view=shifts] .shift-journal table.shift-comparison-table .shift-clock{margin:0 0 4px;font-weight:600}html:root body .shift-activity-body .shift-note-details p{overflow-wrap:anywhere}}@media screen and (max-width:650px){html:root body .work-shifts[data-shift-view=shifts]>.shift-toolbar>.shift-date-toolbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));flex:1 1 100%;width:100%;gap:8px;margin:0}html:root body .shift-workspace .work-shifts[data-shift-view=shifts] .shift-toolbar .shift-date-toolbar>label{display:grid;grid-template-columns:minmax(0,1fr);gap:4px;min-width:0}html:root body .work-shifts[data-shift-view=shifts]>.shift-toolbar .shift-date-toolbar input{width:100%;padding-inline:6px}}html:root body .work-shifts .shift-journal table.shift-comparison-table[data-pending-documents=true]{min-width:780px}html:root body .work-shifts .shift-journal table.shift-comparison-table[data-pending-documents=true] .shift-person-col{width:21%}html:root body .work-shifts .shift-journal table.shift-comparison-table[data-pending-documents=true] .shift-time-col{width:17%}html:root body .work-shifts .shift-journal table.shift-comparison-table[data-pending-documents=true] .shift-count-col,html:root body .work-shifts .shift-journal table.shift-comparison-table[data-pending-documents=true] .shift-pending-col{width:10%}.shift-pending-link{display:inline-flex;justify-content:center;align-items:center;min-height:38px;min-width:42px;padding-inline:7px;border-radius:6px;text-decoration:underline;text-underline-offset:3px;color:var(--primary)}html:root body .work-shifts .shift-journal table.shift-comparison-table .shift-pending-link .shift-number{color:inherit}.shift-pending-link:hover{background:var(--accent)}.shift-pending-link:focus-visible{outline:2px solid var(--ring);outline-offset:2px}.shift-pending-list>ul{display:grid;gap:0;list-style:none;padding:0;margin:0}.shift-pending-list li{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--border);font-size:14px;line-height:1.4}.shift-pending-list li div{overflow-wrap:anywhere}.shift-pending-list li small{display:block;color:var(--muted-foreground);margin-block:2px}.shift-pending-status{display:block;margin-bottom:3px}@media(max-width:620px){.shift-pending-list li{grid-template-columns:1fr;gap:7px}.shift-pending-list li button{justify-self:start}}@media screen and (min-width:851px){html:root body.clinic-with-utilities .premium-clinic-shell [data-slot=sidebar-container]{top:0;bottom:0;height:100dvh}html:root .premium-clinic-shell .clinic-navigation-content{flex:1 1 0;min-height:0;overflow-y:auto;padding-bottom:8px}}@media screen and (min-width:901px){html:root .clinic-app-viewport>.premium-clinic-shell:has(>[data-view="Рабочие смены"] [data-shift-view=attendance]){height:100%;min-height:0}html:root .clinic-app-viewport .premium-clinic-shell>[data-view="Рабочие смены"]:has([data-shift-view=attendance]){height:100%;min-height:0;display:flex;flex-direction:column;padding-bottom:12px}html:root .premium-clinic-shell>[data-view="Рабочие смены"]:has([data-shift-view=attendance])>:not(.shift-workspace){flex-shrink:0}html:root .premium-clinic-shell>[data-view="Рабочие смены"]:has([data-shift-view=attendance])>.shift-workspace{flex:1 1 0;min-height:0;margin-bottom:0;display:flex;flex-direction:column}html:root .shift-workspace:has([data-shift-view=attendance])>.shift-overview-grid{flex:1 1 0;min-height:0;display:flex;flex-direction:column}html:root .shift-workspace:has([data-shift-view=attendance]) [data-shift-mode=self]{flex:0 0 auto}html:root .shift-workspace [data-shift-view=attendance]{flex:1 1 0;min-height:0;display:flex;flex-direction:column}html:root .shift-workspace [data-shift-view=attendance]>.shift-toolbar{flex:0 0 auto}html:root .shift-workspace [data-shift-view=attendance]>[role=tabpanel]:not([hidden]){flex:1 1 0;min-height:0;overflow:auto}}html:root .shift-workspace .shift-journal td:nth-child(2),html:root .shift-workspace .shift-journal td:nth-child(3),html:root .shift-workspace .shift-journal td:nth-child(4){white-space:nowrap}html:root .shift-workspace .shift-journal td:last-child{white-space:nowrap;min-width:294px}html:root .shift-workspace .shift-journal td:last-child button{padding:7px 8px}html:root .shift-workspace .shift-journal td:nth-child(6){overflow-wrap:normal;word-break:normal;min-width:95px}html:root .shift-workspace .shift-journal td:first-child{min-width:200px}@media screen{html:root body.clinic-with-utilities{--crm-font:Arial,"Helvetica Neue",sans-serif;--crm-type-page:30px;--crm-type-section:22px;--crm-type-subsection:18px;--crm-type-body:14px;--crm-type-person:16px;--crm-type-meta:13px;--crm-type-field:16px;font-family:var(--crm-font)!important;font-size:var(--crm-type-body)!important;line-height:1.5!important;font-weight:400!important}html:root body.clinic-with-utilities :is(.clinic-app-viewport,.clinic-utility-bar,.clinic-shell,.doctor-workspace,[role=dialog],[role=alertdialog],[role=menu],button,input,select,textarea){font-family:var(--crm-font)!important}html:root body.clinic-with-utilities :is(.clinic-app-viewport,[role=dialog],[role=alertdialog]) h1{font-size:var(--crm-type-page)!important;line-height:1.2!important;font-weight:750!important;letter-spacing:-.025em!important}html:root body.clinic-with-utilities :is(.clinic-app-viewport,[role=dialog],[role=alertdialog]) h2{font-size:var(--crm-type-section)!important;line-height:1.25!important;font-weight:700!important;letter-spacing:-.02em!important}html:root body.clinic-with-utilities :is(.clinic-app-viewport,[role=dialog],[role=alertdialog]) :is(h3,h4){font-size:var(--crm-type-subsection)!important;line-height:1.35!important;font-weight:650!important;letter-spacing:-.015em!important}html:root body.clinic-with-utilities :is(.clinic-app-viewport,[role=dialog],[role=alertdialog]) :is(p,label,.text-sm,.workspace-description){font-size:var(--crm-type-body)!important;line-height:1.5!important}html:root body.clinic-with-utilities :is(.clinic-app-viewport,[role=dialog],[role=alertdialog]) :is(small,.text-xs,[data-slot=dialog-description],[data-slot=alert-dialog-description]){font-size:var(--crm-type-meta)!important;line-height:1.45!important}html:root body.clinic-with-utilities :is(.clinic-app-viewport,[role=dialog],[role=alertdialog]) :is(th,[data-slot=table-head]){font-size:var(--crm-type-body)!important;line-height:1.4!important;font-weight:650!important;letter-spacing:0!important}html:root body.clinic-with-utilities :is(.clinic-app-viewport,[role=dialog],[role=alertdialog]) :is(td,[data-slot=table-cell]){font-size:var(--crm-type-body)!important;line-height:1.45!important}html:root body.clinic-with-utilities :is(.clinic-app-viewport,[role=dialog],[role=alertdialog]) :is(td,[data-slot=table-cell]) :is(small,.muted){font-size:var(--crm-type-meta)!important;line-height:1.45!important}html:root body.clinic-with-utilities .shift-workspace .shift-journal td:first-child,html:root body.clinic-with-utilities :is(.clinic-app-viewport,[role=dialog],[role=alertdialog]) td:first-child :is(strong,.patient-card-link,.patient-name-button){font-size:var(--crm-type-person)!important;line-height:1.4!important;font-weight:700!important}html:root body.clinic-with-utilities :is(.clinic-app-viewport,[role=dialog],[role=alertdialog],[role=menu]) :is(button,[data-slot=button],[role=menuitem]){font-size:var(--crm-type-body)!important;line-height:1.4!important}html:root body.clinic-with-utilities :is(.clinic-app-viewport,[role=dialog],[role=alertdialog]) :is(input,select,textarea){font-family:var(--crm-font)!important;font-size:var(--crm-type-field)!important;line-height:1.5!important}html:root body.clinic-with-utilities :is([data-slot=dialog-title],[data-slot=alert-dialog-title]){font-size:var(--crm-type-section)!important;line-height:1.25!important;font-weight:700!important;letter-spacing:-.02em!important}html:root body.clinic-with-utilities .premium-home .premium-person strong{font-size:var(--crm-type-person)!important;line-height:1.4!important;font-weight:700!important}html:root body.clinic-with-utilities .premium-home .premium-ticket{font-size:var(--crm-type-meta)!important;line-height:1.45!important}html:root body.clinic-with-utilities .premium-home .premium-service-description{font-size:var(--crm-type-body)!important;line-height:1.45!important}}@media screen and (min-width:1451px) and (min-height:851px){html:root body.clinic-with-utilities{--crm-type-page:36px;--crm-type-section:26px}}@media screen and (max-width:600px){html:root body.clinic-with-utilities{--crm-type-page:28px;--crm-type-person:15px}}@media screen{html:root body.clinic-with-utilities .clinic-navigation-content [data-slot=sidebar-menu-button]{font-size:15px!important}}@media screen and (min-width:1451px){html:root body.clinic-with-utilities .clinic-navigation-content [data-slot=sidebar-menu-button]{font-size:17px!important}}html:root .universal-workspace{display:flex;flex-direction:column;gap:12px;min-width:0}html:root .universal-workspace>.panel{margin:0;padding:14px;min-height:0}html:root .universal-workspace .night-shift-status{margin:0;gap:10px;min-width:0}html:root .universal-workspace .universal-status-help{margin-left:auto}html:root .universal-workspace .night-handoff>.panelhead{margin:0 0 10px;gap:12px;align-items:center}html:root .universal-workspace .universal-metrics{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0 0 10px}html:root .universal-workspace .universal-metrics button{gap:9px;min-height:40px}html:root .universal-workspace .universal-metrics strong{font-variant-numeric:tabular-nums}html:root .universal-workspace .universal-empty{margin:0;padding:8px 0}html:root .universal-workspace .universal-settings>summary{cursor:pointer;font-size:16px;font-weight:650;line-height:1.5}html:root .universal-workspace .universal-settings-form{display:grid;grid-template-columns:minmax(240px,2fr) minmax(140px,1fr) minmax(140px,1fr) auto;gap:14px;align-items:end;margin-top:14px}html:root .universal-workspace .universal-settings-form>.grid2{display:contents}html:root .universal-workspace .universal-settings-form>.staff-check{grid-column:1/-1;display:flex;flex-direction:row;align-items:center;gap:9px}html:root .universal-workspace .universal-settings-form>button{min-height:48px}html:root .universal-workspace .night-handoff td:nth-child(2)>strong{font-size:var(--crm-type-person,16px);font-weight:700}@media(max-width:1100px){html:root .universal-workspace .universal-settings-form{grid-template-columns:repeat(2,minmax(0,1fr))}html:root .universal-workspace .universal-settings-form>button,html:root .universal-workspace .universal-settings-form>label:not(.staff-check){grid-column:1/-1}}@media(max-width:600px){html:root .universal-workspace .universal-status-help{margin-left:0}html:root .universal-workspace .universal-settings-form{grid-template-columns:minmax(0,1fr)}html:root .universal-workspace .night-handoff>.panelhead{align-items:flex-start;flex-wrap:wrap}}@media screen{html:root .universal-workspace{gap:14px}html:root .universal-workspace>.panel{padding:16px;border-radius:13px}html:root .universal-workspace>.night-shift-hero{background:var(--card)}html:root .universal-workspace .night-shift-status{gap:8px 12px}html:root .universal-workspace .night-shift-status>svg{flex:none;color:var(--foreground)}html:root .universal-queue-state,html:root .universal-shift-badge{display:inline-flex;max-width:100%;padding:4px 8px;border:1px solid var(--border);border-radius:7px;background:var(--muted);color:var(--foreground);font-size:13px;line-height:1.35;font-weight:650;white-space:normal}html:root .universal-queue-state[data-tone=progress],html:root .universal-shift-badge[data-active=true]{background:color-mix(in srgb,var(--primary) 15%,var(--card));border-color:color-mix(in srgb,var(--primary) 40%,var(--border))}html:root .universal-workspace .universal-shift-doctor{color:var(--foreground);font-size:15px;overflow-wrap:anywhere;min-width:0}html:root .universal-workspace .universal-shift-time{font-variant-numeric:tabular-nums;color:var(--foreground);white-space:nowrap}html:root .universal-workspace .universal-metrics button{min-height:44px;white-space:normal}html:root .universal-workspace .universal-queue-table{width:100%;table-layout:fixed;min-width:0}html:root .universal-workspace .universal-queue-table th{background:color-mix(in srgb,var(--muted) 66%,var(--card));color:var(--foreground);padding:11px 12px;text-align:left;white-space:normal}html:root .universal-queue-table th:first-child{width:16%}html:root .universal-queue-table th:nth-child(2){width:29%}html:root .universal-queue-table th:nth-child(3){width:22%}html:root .universal-queue-table th:nth-child(4){width:16%}html:root .universal-workspace .universal-queue-table td{padding:12px;white-space:normal;vertical-align:middle;text-align:left;overflow-wrap:anywhere;color:var(--foreground)}html:root .universal-queue-table .universal-queue-patient{font-size:16px;font-weight:700}html:root .universal-queue-table .universal-queue-meta{margin-top:3px;color:var(--muted-foreground);font-size:14px;line-height:1.45}html:root .universal-workspace .universal-queue-table .payment-blocked-row{background:color-mix(in srgb,#ef4444 7%,var(--card))!important}html:root .universal-queue-table .universal-queue-state[data-tone=blocked]{background:color-mix(in srgb,#ef4444 12%,var(--card));border-color:color-mix(in srgb,#ef4444 50%,var(--border))}html:root .universal-queue-table .universal-queue-action button{width:100%;min-height:44px;height:auto;padding:7px 9px;white-space:normal}html:root .universal-workspace .universal-settings>summary:focus-visible{outline:2px solid var(--primary);outline-offset:3px}@media(max-width:900px){html:root .universal-workspace .universal-queue-viewport :is(.table-viewport-body,[data-slot=table-container]){max-height:none!important;overflow:visible!important}html:root .universal-workspace .universal-queue-viewport .table-viewport-controls{display:none!important}html:root .universal-queue-table tbody,html:root .universal-workspace .universal-queue-table{display:block;width:100%}html:root .universal-queue-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}html:root .universal-queue-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 10px;margin:0 0 10px;padding:8px 12px;border:1px solid var(--border);border-radius:10px;background:var(--card)}html:root .universal-queue-table tbody tr:last-child{margin-bottom:0}html:root .universal-workspace .universal-queue-table td{display:block;min-width:0;padding:6px 0;border:0}html:root .universal-queue-table td:before{content:attr(data-label);display:block;margin-bottom:3px;color:var(--muted-foreground);font-size:12px;font-weight:650}html:root .universal-queue-table .universal-queue-action,html:root .universal-queue-table td:nth-child(2){grid-column:1/-1}html:root .universal-queue-table .universal-queue-action:before{display:none}html:root .universal-queue-table .payment-blocked-row>td:first-child{border-left:0}html:root .universal-queue-table .payment-blocked-row{border-left:3px solid #ef4444}}@media(max-width:600px){html:root .universal-workspace>.panel{padding:12px}html:root .universal-workspace .universal-status-help{width:100%}html:root .universal-status-help button{height:auto;min-height:44px;max-width:100%;white-space:normal;text-align:left}}}html:root body [data-slot=dialog-content].room-editor{display:flex;flex-direction:column;gap:0;width:min(760px,calc(100vw - 24px));max-width:min(760px,calc(100vw - 24px));max-height:calc(100dvh - 32px);padding:0;overflow:clip;min-height:0}html:root body .room-editor>[data-slot=dialog-header]{flex:0 0 auto;padding:20px 24px 14px;border-bottom:1px solid var(--border);margin:0}html:root body .room-editor>.room-editor-form{display:flex;flex-direction:column;flex:1 1 auto;min-height:0;overflow:clip;gap:0;margin:0}html:root body .room-editor .room-editor-body{display:grid;grid-auto-rows:max-content;align-content:start;gap:14px;min-height:0;overflow:auto;overscroll-behavior:contain;padding:18px 24px;flex:1 1 auto}html:root body .room-editor .room-service-choices{max-height:min(200px,28dvh);overflow:auto}html:root body .room-editor .room-editor-footer{display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;flex:0 0 auto;gap:10px;margin:0;padding:14px 24px;border-top:1px solid var(--border);background:var(--card);position:relative;z-index:1}html:root body .room-editor .room-save-error{flex:1 0 100%;margin:0;color:var(--destructive,#b91c1c);line-height:1.45}html:root body .room-editor .room-editor-footer>button{min-height:42px}@media(max-width:600px){html:root body [data-slot=dialog-content].room-editor{max-height:calc(100dvh - 20px)}html:root body .room-editor .room-editor-body,html:root body .room-editor .room-editor-footer,html:root body .room-editor>[data-slot=dialog-header]{padding:14px 16px}html:root body .room-editor .room-editor-footer>button{flex:1}}html:root body .room-editor :is(.room-editor-body,.room-services,.room-service-choices,.room-service-choice,.staff-check){position:relative}@media screen{html:root body .workspace-help{margin:6px 0 12px;min-width:0}html:root body .catalog-extra-filters>summary,html:root body .workspace-help>summary{cursor:pointer;color:var(--muted-foreground);font-size:14px;line-height:1.5;width:fit-content;max-width:100%}html:root body .workspace-help[open]>summary{color:var(--foreground)}html:root body .workspace-help>div,html:root body .workspace-help>p{margin:10px 0}html:root body :is(.partner-toolbar,.contract-registry-toolbar,.daily-summary-toolbar,.audit-toolbar){display:flex;align-items:center;flex-wrap:wrap;gap:10px 14px;min-width:0}html:root body :is(.partner-toolbar,.contract-registry-toolbar,.daily-summary-toolbar) .actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0}html:root body .partner-toolbar>label{flex:1 1 260px;max-width:420px;gap:6px}html:root body .partner-toolbar>.actions{align-self:flex-end}html:root body .contract-registry-toolbar :is(button,input),html:root body .daily-summary-toolbar :is(button,input),html:root body .partner-toolbar :is(button,input,select){min-height:42px;height:42px;padding:8px 12px;line-height:24px;white-space:nowrap}html:root body .partner-toolbar>.actions button{font-size:14px}html:root body .contract-registry{min-width:0;margin-top:12px}html:root body :is(.contract-registry-toolbar,.daily-summary-toolbar)>label{display:flex;flex-direction:row;align-items:center;gap:8px;margin:0;white-space:nowrap;font-weight:600;min-width:0}html:root body .contract-registry-toolbar input[type=date],html:root body .daily-summary-toolbar input[type=date]{width:164px;min-width:0;max-width:100%;font-size:16px;flex:0 1 auto}html:root body .contract-registry-summary,html:root body .daily-summary-count{margin:12px 0 8px;line-height:1.5}html:root body .partner-ledger-summary{display:flex;flex-wrap:wrap;gap:10px 26px;align-items:center;margin:12px 0;padding:10px 0;border-block:1px solid var(--border)}html:root body .partner-ledger-summary>.stat{display:flex;align-items:baseline;gap:10px;flex:0 1 auto;min-height:0;padding:0;margin:0;border:0;border-radius:0;box-shadow:none;background:transparent}html:root body .partner-ledger-summary>.stat strong{font-size:22px;line-height:1.3;margin:0;white-space:nowrap}html:root body .partner-ledger-summary>.stat span{font-size:14px;line-height:1.5}html:root body .referral-rewards{margin-top:14px}html:root body .daily-summary-toolbar{justify-content:flex-start}html:root body .daily-summary>.daily-summary-count{margin-top:8px}html:root body .daily-summary .daily-summary-table{margin-top:8px;max-width:100%}html:root body .daily-copy-text{margin-top:16px}html:root body .catalog-overview{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 16px;margin-bottom:8px}html:root body .catalog-overview>.catalog-summary{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px;padding:0;margin:0;min-height:42px}html:root body .catalog-overview>.catalog-summary strong{font-size:18px}html:root body .catalog-overview>.actions{display:flex;gap:8px;flex-wrap:wrap;margin:0}html:root body .price-catalog .catalog-reconciliation{margin:4px 0 10px}html:root body .price-catalog .catalog-toolbar{margin:8px 0;padding:12px;gap:10px}html:root body .catalog-extra-filters{margin:8px 0}html:root body .catalog-extra-filters>summary .badge{margin-left:8px}html:root body .catalog-result-count{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:6px 0 10px;font-size:14px;color:var(--muted-foreground)}html:root body .users-panel .team-directory-toolbar{display:grid;grid-template-columns:minmax(200px,1fr) minmax(150px,190px) auto auto;gap:12px;align-items:end;margin-top:8px}html:root body .users-panel .team-directory-toolbar>.actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}html:root body .audit-toolbar{justify-content:space-between;margin-bottom:12px}}@media screen and (max-width:1100px){html:root body .users-panel .team-directory-toolbar{grid-template-columns:minmax(180px,1fr) minmax(150px,190px) auto}html:root body .users-panel .team-directory-toolbar>.actions{grid-column:1/-1}}@media screen and (max-width:600px){html:root body .partner-toolbar>label{min-width:0;max-width:100%;flex-basis:100%}html:root body .catalog-overview .retail-sales,html:root body .partner-toolbar>.actions{min-width:0;max-width:100%}html:root body .catalog-overview .retail-sales>button,html:root body .partner-toolbar>.actions button{min-width:0;max-width:100%;height:auto;min-height:44px;white-space:normal;overflow-wrap:normal;word-break:normal;line-height:1.35}html:root body .contract-registry-toolbar{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:end;gap:10px}html:root body .contract-registry-toolbar>label{display:grid;gap:5px;white-space:normal}html:root body .contract-registry-toolbar input[type=date]{width:100%;max-width:100%;flex-basis:auto}html:root body .contract-registry-toolbar>.actions{grid-column:1/-1}html:root body .contract-registry-toolbar>.actions button{flex:1 1 130px}html:root body .daily-summary-toolbar{gap:10px}html:root body .daily-summary-toolbar>.actions{width:100%}html:root body .daily-summary-toolbar>.actions button{flex:1 1 auto}html:root body .daily-summary-toolbar>label{width:100%;justify-content:space-between}html:root body .users-panel .team-directory-toolbar{grid-template-columns:minmax(0,1fr) auto}html:root body .users-panel .team-directory-search,html:root body .users-panel .team-directory-toolbar>.actions{grid-column:1/-1}html:root body .catalog-overview>.actions{width:100%;min-width:0}html:root body .catalog-overview>.actions button{flex:1 1 auto}html:root body .partner-ledger-summary{gap:10px 20px}html:root body .partner-ledger-summary>.stat{justify-content:space-between;flex:1 1 100%}}@media screen{html:root body :is(.partner-tariffs,.referral-rule-settings)>summary{cursor:pointer;font-size:16px;font-weight:650;line-height:1.5}html:root body .partner-tariffs{margin-top:12px}html:root body .partner-tariffs>div{padding-top:10px}html:root body .referral-rule-settings{margin-top:12px}html:root body .retail-sales{padding:0;margin:0 0 10px;border:0;background:transparent;box-shadow:none}html:root body .partner-billing .contract-registry-toolbar>label{display:flex;flex-direction:row;align-items:center;gap:8px;white-space:nowrap}html:root body .partner-billing .contract-registry-toolbar input[type=date]{height:42px;min-height:42px;width:164px;flex:0 1 auto;padding:8px 12px}}@media screen and (max-width:600px){html:root body .partner-billing .contract-registry-toolbar>label{display:grid;gap:5px;white-space:normal}html:root body .partner-billing .contract-registry-toolbar input[type=date]{width:100%;max-width:100%}}@media screen{html:root body :is(.partner-billing .contract-registry,.daily-summary) :is(.contract-registry-toolbar,.daily-summary-toolbar)>label{display:flex!important;flex-direction:row!important;align-items:center;gap:8px;white-space:nowrap}html:root body :is(.contract-registry-toolbar,.daily-summary-toolbar) input[type=date]{height:42px!important;min-height:42px!important;flex:0 1 auto!important;width:164px;padding:8px 12px}html:root body .catalog-filter-footer{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0 14px;align-items:start;margin:6px 0 10px}html:root body .catalog-filter-footer>.catalog-extra-filters,html:root body .catalog-filter-footer>.catalog-result-count{margin:0}html:root body .catalog-filter-footer>.catalog-extra-filters[open]{grid-column:1/-1}html:root body .catalog-overview>.actions:has(.retail-sales .form){flex:1 1 100%}html:root body .catalog-overview .retail-sales{margin:0}}@media screen and (max-width:600px){html:root body .partner-billing .contract-registry .contract-registry-toolbar>label{display:grid!important;white-space:normal}html:root body .partner-billing .contract-registry-toolbar input[type=date]{width:100%}html:root body .catalog-filter-footer{grid-template-columns:minmax(0,1fr)}}@media screen{html:root body .partner-billing>.referral-rewards{border:0;border-radius:0;padding:12px 0 0;box-shadow:none;background:transparent}html:root body .catalog-overview .retail-sales:has(.form){width:100%;min-width:0}}.accounting-report{container:accounting/inline-size}html:root .accounting-report .accounting-toolbar{display:grid;grid-template-columns:max-content minmax(0,1fr) max-content;align-items:end;gap:10px 14px;padding:12px;margin:0}.accounting-toolbar .period-buttons,.accounting-toolbar-actions{display:flex;flex-wrap:wrap;grid-column:auto;gap:6px}.accounting-date-fields{display:grid;grid-template-columns:minmax(252px,1.4fr) repeat(2,minmax(154px,1fr));gap:10px}.accounting-date-fields label{display:grid;min-width:0;gap:5px}html:root .accounting-report .accounting-toolbar :is(button,select,input){height:48px;min-height:48px}.accounting-toolbar input,.accounting-toolbar select{width:100%;min-width:0}html:root .accounting-report .accounting-toolbar .period-buttons>button{padding-inline:7px}html:root .accounting-report .accounting-toolbar-actions>button{padding-inline:10px}html:root .accounting-report .report-stats{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-block:12px}html:root .accounting-report .report-stats>.stat{display:grid;grid-template-rows:38px auto auto;align-content:start;gap:4px;min-width:0;min-height:0;padding:11px 12px;text-align:start}.accounting-report .report-stats>.stat>.muted{margin-top:0}.accounting-report .report-stats>.stat>.muted:first-child{line-height:19px}html:root .accounting-report .report-stats>.stat>strong{margin:0;font-size:clamp(16px,2.05cqi,24px);line-height:1.2;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}@container accounting (max-width:1150px){html:root .accounting-report .accounting-toolbar{grid-template-columns:minmax(0,1fr) max-content}.accounting-date-fields{grid-column:1/-1;grid-row:2}.accounting-toolbar-actions{grid-column:2;grid-row:1}}@container accounting (max-width:875px){html:root .accounting-report .report-stats{grid-template-columns:repeat(3,minmax(0,1fr))}html:root .accounting-report .report-stats>.stat>strong{font-size:clamp(17px,3cqi,24px)}}@container accounting (max-width:540px){html:root .accounting-report .accounting-toolbar{grid-template-columns:minmax(0,1fr)}.accounting-date-fields{grid-template-columns:repeat(2,minmax(0,1fr));grid-row:auto}.accounting-date-fields label:first-child{grid-column:1/-1}.accounting-toolbar-actions{grid-column:auto;grid-row:auto}.accounting-date-fields input,.accounting-date-fields select{font-size:16px}html:root .accounting-report .report-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@container accounting (max-width:310px){.accounting-date-fields{grid-template-columns:minmax(0,1fr)}}@media screen{html:root .visit-list-panel{min-width:0;scroll-margin-top:96px}html:root .visit-list-panel :is(.visit-table-shell,.table-viewport-body,[data-slot=table-container]){height:auto;max-height:none;overflow:visible;overscroll-behavior:auto;scrollbar-gutter:auto}html:root .visit-list-panel .table-viewport-controls{display:none}html:root .visit-list-panel .visit-table{width:100%;min-width:0;font-family:var(--crm-font,Arial,sans-serif)}html:root body.clinic-with-utilities .visit-list-panel .visit-table :is(.patient-card-link,.visit-patient-name){display:inline-block;max-width:100%;font-size:var(--crm-type-person,16px)!important;font-weight:700;line-height:1.35!important;text-align:left;white-space:normal;overflow-wrap:anywhere}html:root body.clinic-with-utilities .visit-list-panel .visit-table .visit-service-name{font-size:var(--crm-type-body,14px)!important;line-height:1.35!important}html:root .visit-list-panel .visit-page-nav{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 16px;margin-block:12px;color:var(--foreground)}html:root .visit-list-panel .visit-page-nav .actions{display:flex;gap:8px}}@media screen and (min-width:901px){html:root .visit-list-panel .visit-table :is(th,td){position:static;min-width:0;max-width:none;padding:8px 10px;vertical-align:top;text-align:left;white-space:normal;overflow-wrap:anywhere;box-shadow:none}html:root .visit-list-panel .visit-table :is(th,td):first-child{box-shadow:none}html:root .visit-list-panel .visit-table th:first-child{width:12%}html:root .visit-list-panel .visit-table th:nth-child(2){width:auto}html:root .visit-list-panel .visit-table th:nth-child(3){width:9%}html:root .visit-list-panel .visit-table th:nth-child(4),html:root .visit-list-panel .visit-table th:nth-child(5){width:17%}html:root .visit-list-panel .visit-table th:nth-child(6){width:clamp(136px,12vw,156px)}html:root .visit-list-panel .visit-table :is(th,td):last-child{text-align:right}html:root .visit-list-panel .visit-table .visit-payment-cell>strong{display:block;font-size:16px}html:root .visit-list-panel .visit-table .payment-result{margin:0;padding:1px 4px;font-size:12px}html:root .visit-list-panel .visit-table .badge{padding:2px 5px}html:root .visit-list-panel .visit-table .visit-action-cell>[data-slot=button]:first-child{min-height:34px;max-width:100%;padding:5px 7px;gap:5px;white-space:nowrap;text-align:center}html:root .visit-list-panel .visit-table .visit-action-cell>[data-slot=button].text-destructive{min-height:28px;margin:3px 0 0 auto;padding:2px 7px}}@media screen and (min-width:901px) and (max-width:1600px){html:root .visit-list-panel .visit-table .visit-action-cell>[data-slot=button]:first-child svg{display:none}}@media screen and (max-width:900px){html:root .clinic-shell .visit-list-panel .visit-table tbody{gap:10px}html:root .clinic-shell .visit-list-panel .visit-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:12px;padding:4px 12px}html:root .clinic-shell .visit-list-panel .visit-table tbody tr>td{gap:3px;padding:7px 0!important;align-content:start}html:root .clinic-shell .visit-list-panel .visit-table td:first-child{grid-area:1/1}html:root .clinic-shell .visit-list-panel .visit-table td:nth-child(2){grid-area:2/1/3/-1}html:root .clinic-shell .visit-list-panel .visit-table td:nth-child(3){grid-area:1/2}html:root .clinic-shell .visit-list-panel .visit-table td:nth-child(4){grid-area:3/1}html:root .clinic-shell .visit-list-panel .visit-table td:nth-child(5){grid-area:3/2}html:root .clinic-shell .visit-list-panel .visit-table td:nth-child(6){grid-area:4/1/5/-1}html:root .clinic-shell .visit-list-panel .visit-table td:nth-child(6):before{content:none}html:root .clinic-shell .visit-list-panel .visit-table .visit-payment-cell>strong{font-size:16px}html:root .clinic-shell .visit-list-panel .visit-table .visit-action-cell>[data-slot=button]{min-height:44px}html:root .clinic-shell .visit-list-panel .visit-table .visit-action-cell>[data-slot=button].text-destructive{margin:0}}@media screen{html:root .visit-list-title,html:root .visit-list-toolbar,html:root .visit-list-tools{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;min-width:0}html:root .visit-list-toolbar{justify-content:space-between;margin-bottom:12px}html:root .visit-list-title h2{margin:0;color:var(--foreground)}html:root .visit-list-title .visit-list-count{min-height:26px;padding:3px 8px;white-space:nowrap;font-size:13px;line-height:1.4;font-variant-numeric:tabular-nums}html:root .visit-list-tools{gap:8px;margin-inline-start:auto;justify-content:flex-end}html:root .visit-list-tools>[data-slot=button]{height:38px;min-height:38px;padding:0 10px;white-space:nowrap}html:root .visit-list-filters{display:grid;grid-template-columns:minmax(0,1fr) minmax(196px,min(30%,280px));gap:12px;align-items:center;margin-bottom:14px}html:root .visit-list-search{position:relative;min-width:0}html:root .visit-list-search>svg{position:absolute;inset-inline-start:12px;top:50%;transform:translateY(-50%);color:var(--muted-foreground);pointer-events:none}html:root body.clinic-with-utilities .visit-list-panel .visit-list-search input{padding-inline-start:38px;min-width:0;width:100%}html:root .visit-list-status{display:flex;align-items:center;gap:8px;min-width:0}html:root .visit-list-status>span{font-weight:600;color:var(--foreground)}html:root .visit-list-status [data-slot=select-trigger]{min-width:0;flex:1 1 0}html:root .visit-list-status [data-slot=select-value]{min-width:0}html:root body.clinic-with-utilities .visit-list-filters :is(input,[data-slot=select-trigger]){height:48px;min-height:48px;font-size:16px!important;box-sizing:border-box}html:root .clinic-shell .visit-date-toolbar :is(input,[data-slot=button]),html:root .clinic-shell [data-view="Визиты"]>.topline .actions>[data-slot=button]{height:42px;min-height:42px;box-sizing:border-box}html:root .clinic-shell .visit-date-toolbar>.flex{flex-wrap:wrap;gap:8px}html:root .visit-list-panel .visit-table .payment-result{font-size:13px;line-height:1.35}html:root .visit-list-panel .visit-table .ticket{font-size:13px;letter-spacing:0;font-variant-numeric:tabular-nums}}@media screen and (min-width:901px){html:root .clinic-shell .visit-date-toolbar input[type=date]{width:152px}html:root .visit-list-panel .visit-table :is(th,td){vertical-align:middle}html:root .visit-list-panel .visit-table :is(th,td):is(:nth-child(3),:last-child){text-align:center}html:root .visit-list-panel .visit-table th:nth-child(3){width:7%}html:root .visit-list-panel .visit-table th:nth-child(4){width:15%}html:root .visit-list-panel .visit-table th:nth-child(5){width:18%}html:root .visit-list-panel .visit-table .visit-action-cell>[data-slot=button]:first-child{width:100%;min-height:36px;font-weight:600}html:root .visit-list-panel .visit-table .visit-action-cell>[data-slot=button]:first-child svg{display:none}html:root .visit-list-panel .visit-table .visit-action-cell>[data-slot=button].text-destructive{margin-inline:auto}}@media screen and (max-width:600px){html:root .visit-list-tools{width:100%;margin-inline-start:0;justify-content:flex-start}html:root .visit-list-tools>[data-slot=button]{min-height:44px;white-space:normal;text-align:left}html:root .visit-list-filters{grid-template-columns:minmax(0,1fr);gap:8px}html:root .clinic-shell .visit-date-toolbar>div:first-child{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;align-items:end}html:root .clinic-shell .visit-date-toolbar label{display:grid;grid-template-columns:minmax(0,1fr);gap:4px;align-items:start;min-width:0}html:root .clinic-shell .visit-date-toolbar input[type=date]{width:100%;min-width:0;padding-inline:6px!important}html:root .visit-list-tools>[data-slot=button]{flex:1 1 100%;justify-content:flex-start}}@media screen{html:root .cash-list-panel .cash-list-filter{max-width:380px;margin-bottom:14px}html:root .cash-list-panel .cash-list-filter [data-slot=select-trigger]{height:48px;min-height:48px}}@media screen and (min-width:901px){html:root .cash-list-panel .visit-table th:last-child{width:clamp(152px,14vw,168px)}}@media screen and (max-width:480px){html:root .cash-list-panel .cash-list-filter{display:grid;grid-template-columns:minmax(0,1fr);gap:4px}}@media screen{html:root .clinic-shell [data-view="Касса"]>.integration-strip>div{min-width:0;flex-wrap:wrap;gap:6px 10px}html:root .clinic-shell [data-view="Касса"]>.integration-strip>div>.badge{max-width:100%;white-space:normal}}@media screen and (min-width:901px){html:root .clinic-shell [data-view="Касса"]>.integration-strip{grid-template-columns:repeat(3,minmax(0,1fr))}}@media screen{html:root .clinic-shell [data-view="Касса"]>.cash-terminals{gap:8px;padding:0;border:0;background:transparent;margin-block:0 10px}html:root .clinic-shell [data-view="Касса"]>.cash-terminals>div{min-height:48px;padding:7px 10px;align-content:center;font-size:14px;line-height:1.25}html:root .clinic-shell [data-view="Касса"]>.cash-terminals>div>strong{font-size:14px;line-height:1.25}html:root .clinic-shell [data-view="Касса"]>.cash-terminals>div>.badge{min-height:0;padding:3px 6px;font-size:12px;line-height:1.25}.cash-method,.cash-stat-label,.cash-terminal-name{display:inline-flex;align-items:center;gap:6px;min-width:0}.cash-terminal-name{font-weight:650}.cash-pay-mark{display:inline-grid;place-items:center;flex:0 0 auto;width:24px;height:24px;border-radius:6px;color:#234b78;background:#eaf2fd}.cash-pay-mark[data-kind=cash]{color:#16603e;background:#e3f4e9}.cash-pay-mark[data-kind=transfer]{color:#573887;background:#f0eafb}.cash-pay-mark[data-kind=mixed]{color:#765018;background:#fcf0d7}.cash-pay-mark[data-kind=total]{color:#285d60;background:#e3f2f1}.cash-pay-mark[data-kind=bcc]{background:transparent}.cash-pay-mark[data-kind=kaspi]{background:#fff}.cash-pay-mark img{width:20px;height:20px;object-fit:contain}html:root .clinic-shell [data-view="Касса"]>.pulse-cash-stats{gap:8px;margin-block:0 12px}html:root .clinic-shell .pulse-cash-stats>.stat{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-width:0;min-height:70px;gap:5px;padding:9px 12px;text-align:left}.cash-stat-label{font-size:14px;font-weight:650;color:var(--foreground)}html:root .clinic-shell .pulse-cash-stats>.stat>strong{margin:0;font-size:clamp(22px,2.1vw,30px);line-height:1.12;font-variant-numeric:tabular-nums}html:root .clinic-shell .pulse-cash-stats>.stat[aria-pressed=true]{border-color:var(--primary);box-shadow:inset 0 0 0 1px var(--primary)}.cash-list-tools,.cash-methods{display:flex;flex-wrap:wrap;align-items:center;gap:6px;min-width:0}html:root .cash-list-panel .visit-list-title h2{font-size:21px;line-height:1.25}html:root .cash-list-panel .visit-list-toolbar{margin-bottom:8px}html:root .cash-list-panel .visit-table th{height:42px;font-size:13px;line-height:1.25}html:root .cash-list-panel .cash-list-filter{margin:0;width:min(180px,100%);max-width:none}html:root .cash-list-panel .cash-list-filter [data-slot=select-trigger]{min-height:40px;height:40px}html:root .cash-list-panel .visit-page-nav{margin-block:6px}html:root .cash-list-panel .visit-page-nav .actions>button{min-height:38px}.cash-methods{margin-top:4px}.cash-method{max-width:100%;padding:2px 6px 2px 3px;border:1px solid var(--border);border-radius:7px;color:var(--foreground);background:var(--muted);font-size:13px;font-weight:650;line-height:1.3;white-space:normal;overflow-wrap:normal}.cash-method .cash-pay-mark{width:21px;height:21px}.cash-method .cash-pay-mark :is(img,svg){width:16px;height:16px}html:root .cash-list-panel .visit-table .visit-payment-cell>strong{font-size:18px;line-height:1.2;font-variant-numeric:tabular-nums;white-space:nowrap}.payment-option .cash-pay-mark{width:20px;height:20px}.payment-option .cash-pay-mark svg{width:16px;height:16px}}@media screen and (min-width:901px){html:root .cash-list-panel .cash-list-tools{flex-wrap:nowrap}html:root .cash-list-panel .cash-list-tools>.badge{white-space:nowrap}html:root .cash-list-panel .cash-list-filter{width:132px;flex:0 0 132px}html:root .cash-list-panel .visit-table{table-layout:fixed}html:root .cash-list-panel .visit-table th:first-child{width:11%}html:root .cash-list-panel .visit-table th:nth-child(3){width:8%}html:root .cash-list-panel .visit-table th:nth-child(4){width:15%}html:root .cash-list-panel .visit-table th:nth-child(5){width:22%}html:root .cash-list-panel .visit-table th:last-child{width:clamp(123px,11vw,150px)}html:root .cash-list-panel .visit-table :is(th,td){padding:7px 8px}html:root .cash-list-panel .visit-table .visit-action-cell>[data-slot=button]{height:auto;white-space:normal;overflow-wrap:normal;line-height:1.2}}@media screen and (max-width:600px){html:root .clinic-shell [data-view="Касса"]>.pulse-cash-stats{grid-template-columns:repeat(2,minmax(0,1fr))}html:root .clinic-shell .pulse-cash-stats>.stat:last-child{grid-column:1/-1}}@media screen{html:root body.clinic-with-utilities{--crm-font:-apple-system,BlinkMacSystemFont,"Segoe UI Variable","Segoe UI",Arial,sans-serif;--crm-type-body:15px;--crm-type-meta:13px;--crm-type-field:16px;--crm-ui-radius:10px;--crm-ui-control:42px;--crm-ui-action-text:15px}html:root body.clinic-with-utilities .clinic-app-viewport [data-slot=button][data-size=default]:not(.table-viewport-body [data-slot=button]){min-height:var(--crm-ui-control);height:auto;padding:9px 14px;border-radius:var(--crm-ui-radius);font-size:var(--crm-ui-action-text)!important;line-height:1.45;font-weight:600}html:root body.clinic-with-utilities .clinic-app-viewport [data-slot=button][data-size=lg]{min-height:46px;border-radius:var(--crm-ui-radius);font-size:var(--crm-ui-action-text)!important;font-weight:600}html:root body.clinic-with-utilities .clinic-app-viewport [data-slot=button][data-variant=outline]{background:var(--card);border:1px solid var(--input);color:var(--foreground);box-shadow:none}html:root body.clinic-with-utilities .clinic-app-viewport [data-slot=button][data-variant=outline]:hover:not(:disabled){border-color:var(--primary);background:var(--accent)}html:root body.clinic-with-utilities .clinic-app-viewport [data-slot=button][data-variant=default]{box-shadow:none}html:root body.clinic-with-utilities .clinic-app-viewport :is([data-slot=input],[data-slot=select-trigger],input[type=date],select):not(.premium-home *){border-radius:var(--crm-ui-radius);border-color:var(--input);color:var(--foreground)}html:root body.clinic-with-utilities .clinic-app-viewport :is(.panel,.stat,.dashboard-card,.dashboard-kpi,.metric):not(.premium-home *){border-radius:12px;border-color:var(--border);box-shadow:none}html:root body.clinic-with-utilities .clinic-app-viewport .badge.neutral{border:1px solid var(--border);background:var(--muted);color:var(--foreground);font-size:13px;line-height:1.35;font-weight:600;border-radius:7px}html:root body.clinic-with-utilities .clinic-app-viewport .panelhead :is(h2,h3){letter-spacing:-.02em}html:root body.clinic-with-utilities .clinic-app-viewport :is(button,input,select,[role=combobox]):focus-visible,html:root body.clinic-with-utilities .clinic-app-viewport [data-slot=button]:focus-visible{outline:2px solid var(--ring);outline-offset:3px}html:root body.clinic-with-utilities .accounting-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:stretch}html:root body.clinic-with-utilities .accounting-overview-card{gap:12px;padding:20px 22px;min-height:210px;border:1px solid var(--border);border-radius:12px;background:var(--card);color:var(--foreground)}html:root body.clinic-with-utilities .clinic-app-viewport .accounting-overview-card h2{margin:0;gap:10px;font-size:19px!important;line-height:1.4!important;font-weight:700!important;letter-spacing:-.015em!important;color:var(--foreground)}html:root body.clinic-with-utilities .accounting-overview-card h2 svg{color:var(--primary);width:22px;height:22px}html:root body.clinic-with-utilities .accounting-overview-value{font-size:clamp(27px,3cqi,34px)!important;line-height:1.15;letter-spacing:-.025em;font-weight:750;font-variant-numeric:tabular-nums}html:root body.clinic-with-utilities .accounting-overview-card small{font-size:14px!important;line-height:1.45;color:var(--muted-foreground)}html:root body.clinic-with-utilities .accounting-overview-card dl{gap:8px;font-size:15px;line-height:1.5}html:root body.clinic-with-utilities .accounting-overview-card dl>div{gap:5px 12px;padding-block:4px;border-bottom:1px solid var(--border)}html:root body.clinic-with-utilities .accounting-overview-card dl>div:last-child{border-bottom:0}html:root body.clinic-with-utilities .accounting-overview-card dd{font-size:16px;font-weight:700}html:root body.clinic-with-utilities .accounting-overview-card dd.accounting-overview-asof{font-weight:400;font-size:13px}html:root body.clinic-with-utilities .accounting-overview-actions{gap:8px;padding-top:14px;margin-top:auto}html:root body.clinic-with-utilities .accounting-overview-link{display:inline-flex;align-items:center;justify-content:center;min-height:42px;gap:9px;padding:10px 14px;border:1px solid var(--input);border-radius:9px;background:var(--card);color:var(--foreground);font-size:15px!important;line-height:1.4;font-weight:600;text-decoration:none}html:root body.clinic-with-utilities .accounting-overview-link:hover:not(:disabled){color:var(--primary);border-color:var(--primary);background:var(--accent);text-decoration:none}html:root body.clinic-with-utilities .accounting-overview-link:disabled{cursor:not-allowed;opacity:.55}html:root body.clinic-with-utilities .accounting-overview-flow{margin-block:16px;font-size:14px;color:var(--muted-foreground)}@container accounting (max-width:800px){html:root body.clinic-with-utilities .accounting-overview-grid{grid-template-columns:minmax(0,1fr)}html:root body.clinic-with-utilities .accounting-overview-card{min-height:0}}@container accounting (max-width:480px){html:root body.clinic-with-utilities .accounting-overview-grid{gap:10px}html:root body.clinic-with-utilities .accounting-overview-card{padding:15px}html:root body.clinic-with-utilities .accounting-overview-value{font-size:26px!important}html:root body.clinic-with-utilities .accounting-overview-actions{display:grid;grid-template-columns:minmax(0,1fr)}html:root body.clinic-with-utilities .accounting-overview-link{width:100%;justify-content:space-between}}html:root body.clinic-with-utilities .accounting-report .report-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:16px 0 20px}html:root body.clinic-with-utilities .accounting-report .report-stats>.stat{display:grid;grid-template-rows:auto auto 1fr;gap:10px;align-content:start;min-height:136px;padding:18px 20px;border:1px solid var(--border);border-radius:12px;background:var(--card);color:var(--foreground)}html:root body.clinic-with-utilities .accounting-report .report-stats>.stat>.muted:first-child{font-size:14px!important;line-height:1.4;color:var(--muted-foreground);font-weight:600}html:root body.clinic-with-utilities .accounting-report .report-stats>.stat>strong{font-size:clamp(23px,2.65cqi,30px)!important;line-height:1.15;letter-spacing:-.025em;font-weight:750;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;word-break:normal}html:root body.clinic-with-utilities .accounting-report .report-stats>.stat>.muted:last-child{align-self:end;font-size:13px!important;line-height:1.4}html:root body.clinic-with-utilities .accounting-report .report-stats>.stat:hover{border-color:var(--primary)}html:root body.clinic-with-utilities .accounting-report .report-stats>.stat[aria-pressed=true]{background:color-mix(in srgb,var(--primary) 7%,var(--card));border-color:var(--primary);box-shadow:inset 3px 0 var(--primary)}html:root body.clinic-with-utilities .accounting-report .accounting-toolbar{grid-template-columns:minmax(0,1fr) auto;gap:14px 16px;align-items:center;padding:18px}html:root body.clinic-with-utilities .accounting-report .accounting-date-fields{grid-column:1/-1;grid-row:2;grid-template-columns:minmax(270px,1.5fr) repeat(2,minmax(150px,1fr));gap:12px}html:root body.clinic-with-utilities .accounting-report .accounting-toolbar-actions{grid-column:2;grid-row:1;justify-content:flex-end;align-items:center;gap:10px}html:root body.clinic-with-utilities .accounting-report .accounting-date-fields label{font-size:14px!important;font-weight:600;line-height:1.4;gap:7px;color:var(--foreground)}html:root body.clinic-with-utilities .accounting-report .accounting-toolbar :is(button,input,select){min-height:44px;height:44px;font-size:15px!important;border-radius:9px}html:root body.clinic-with-utilities .accounting-report .period-buttons{gap:8px;flex-wrap:wrap}html:root body.clinic-with-utilities .accounting-report .period-buttons>button{min-width:66px;padding-inline:13px}html:root body.clinic-with-utilities .accounting-report>.muted{font-size:14px!important;line-height:1.5}@container accounting (max-width:760px){html:root body.clinic-with-utilities .accounting-report .accounting-date-fields,html:root body.clinic-with-utilities .accounting-report .report-stats{grid-template-columns:repeat(2,minmax(0,1fr))}html:root body.clinic-with-utilities .accounting-report .accounting-date-fields label:first-child{grid-column:1/-1}html:root body.clinic-with-utilities .accounting-report .accounting-toolbar{grid-template-columns:minmax(0,1fr)}html:root body.clinic-with-utilities .accounting-report .accounting-toolbar-actions{grid-column:1;grid-row:2;justify-content:flex-start}html:root body.clinic-with-utilities .accounting-report .accounting-date-fields{grid-column:1;grid-row:3}}@container accounting (max-width:420px){html:root body.clinic-with-utilities .accounting-report .report-stats{grid-template-columns:minmax(0,1fr)}html:root body.clinic-with-utilities .accounting-report .report-stats>.stat{min-height:110px;padding:14px 16px}html:root body.clinic-with-utilities .accounting-report .accounting-date-fields{grid-template-columns:minmax(0,1fr)}html:root body.clinic-with-utilities .accounting-report .accounting-toolbar{padding:12px}}}.accounting-overview{container:accounting/inline-size;margin-block:16px 8px}.accounting-overview-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-items:stretch}.accounting-overview-card{display:flex;flex-direction:column;gap:8px;min-width:0;padding:15px;border:1px solid var(--clinic-line-dfe7ec);border-radius:12px;background:var(--clinic-bg-ffffff)}.accounting-overview-card h2{display:flex;align-items:flex-start;gap:8px;margin:0 0 2px;font-size:15px;font-weight:690;line-height:1.35}.accounting-overview-card h2 svg{color:var(--clinic-fg-087e8b);flex:none}.accounting-overview-value{font-size:clamp(17px,2vw,23px);font-variant-numeric:tabular-nums;line-height:1.25;overflow-wrap:anywhere}.accounting-overview-card small{display:block;color:var(--clinic-fg-55717e);font-size:13px;line-height:1.45;overflow-wrap:anywhere}.accounting-overview-card dl{display:grid;gap:7px;margin:0;font-size:14px}.accounting-overview-card dl div{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:3px 8px}.accounting-overview-card dd,.accounting-overview-card dt{margin:0;min-width:0}.accounting-overview-card dd{font-weight:650;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.accounting-overview-card dd.accounting-overview-asof{flex:1 0 100%;font-weight:400}.accounting-overview-actions{display:flex;flex-wrap:wrap;gap:3px 14px;margin-top:auto;padding-top:4px}.accounting-overview-link{border:0;background:transparent;color:var(--clinic-fg-087e8b);padding:6px 0;display:inline-flex;align-items:center;text-align:left;gap:6px;font-size:14px;font-weight:650;line-height:1.35}.accounting-overview-link svg{flex:none}.accounting-overview-link:hover{text-decoration:underline}.accounting-overview-link:disabled{opacity:.6}.accounting-overview-card small.accounting-preliminary{font-weight:680;color:var(--clinic-fg-91540d,var(--clinic-fg-55717e))}.accounting-overview-card small.accounting-confirmed{font-weight:680}.accounting-overview-flow{margin-block:12px;color:var(--clinic-fg-55717e);font-size:14px}.accounting-overview-flow summary{cursor:pointer;font-weight:630;width:fit-content}.accounting-overview-flow ol{padding-inline-start:23px;list-style:decimal;margin-block:8px 0;display:grid;gap:6px}.accounting-overview-card :focus-visible,.accounting-overview-flow :focus-visible{outline:2px solid var(--clinic-fg-087e8b);outline-offset:3px;border-radius:3px}#finance-checks,#report-detail-list,[data-finance-target]{scroll-margin-block-start:16px}.accounting-visit-link{text-decoration:underline;text-underline-offset:3px;color:var(--clinic-fg-087e8b);font-weight:650;text-align:left}@container accounting (max-width:900px){.accounting-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@container accounting (max-width:475px){.accounting-overview-grid{grid-template-columns:minmax(0,1fr);gap:8px}}html:root body.clinic-with-utilities .clinic-app-viewport .accounting-overview-card h2{font-size:17px!important;line-height:1.35!important;letter-spacing:-.01em!important}.accounting-erp{margin-block:14px;padding:12px;border:1px solid var(--clinic-fg-55717e);border-radius:12px;min-width:0}.accounting-erp h2{font-size:16px;font-weight:650;margin:0 0 10px}.accounting-erp-tabs{display:flex;flex-wrap:wrap;gap:6px}.accounting-erp-tabs button{border:1px solid var(--clinic-fg-55717e);padding:6px 10px;border-radius:8px;font-size:13px}.accounting-erp-tabs button[aria-pressed=true]{background:var(--clinic-fg-087e8b);color:white}.accounting-erp-bar{height:6px;border-radius:6px;background:rgba(120,140,130,.18);overflow:hidden;margin:5px 0}.accounting-erp-bar i{display:block;height:100%;background:var(--clinic-fg-087e8b)}