/* Match the information/quotation workspace without changing schedule behavior. */
.sb,.sb-dialog{font-family:Pretendard,"Noto Sans KR",Arial,sans-serif;font-size:14px;color:#263d48;line-height:1.5;}
.sb *,.sb-dialog *{box-sizing:border-box;}
.sb button,.sb input,.sb select,.sb-dialog :is(button,input,select,textarea){font:inherit;color:inherit;border:1px solid #dce5e9;background:#fff;border-radius:5px;min-height:34px;padding:6px 10px;}
.sb button,.sb-dialog button{cursor:pointer;}
.sb button:disabled{cursor:not-allowed;opacity:.5;}
.sb :is(button,input,select):focus-visible,.sb-dialog :is(button,input,select,textarea):focus-visible{outline:2px solid #24695c;outline-offset:2px;}
.sb-heading,.sb-toolbar,.sb-legend,.sb-tasks>header{display:flex;gap:8px;align-items:center;flex-wrap:wrap;}
.sb-heading{justify-content:space-between;margin-bottom:18px;}
.sb h1{font-size:28px;font-weight:600;margin:0;}
.sb h2,.sb-dialog h2{font-size:18px;font-weight:600;margin:0;}
.sb h3{font-size:14px;}
.sb-toolbar{margin-bottom:12px;}
.sb-search{margin-left:auto;}
.sb-search input{width:280px;}
.sb button[aria-pressed=true]{background:#edf6f3;border-color:#9ebdb4;color:#24695c;}
.sb-legend{gap:12px;font-size:13px;}
.sb-legend span{display:flex;gap:5px;align-items:center;}
.sb-legend i{width:14px;height:14px;border-radius:3px;border:1px solid #263d4820;}
.sb-legend label{margin-left:auto;display:flex;gap:6px;align-items:center;}
.sb-legend input{min-height:0;}
.sb-note{font-size:12px;color:#647982;}
.sb-workspace{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:14px;align-items:start;}
.sb-calendar,.sb-tasks{border:1px solid #dce5e9;background:white;border-radius:8px;overflow:hidden;}
.sb-calendar{overflow:auto;max-height:calc(100vh - 245px);min-height:400px;}
.sb-grid{display:grid;isolation:isolate;}
.sb-grid>strong{background:#f3f7f7;position:sticky;top:0;z-index:3;padding:10px;text-align:center;font-weight:500;border-bottom:1px solid #dce5e9;}
.sb-grid-row{display:contents;}
.sb-grid-row time{padding:12px 6px;color:#647982;text-align:center;border-bottom:1px solid #edf1f2;background:#fafcfc;}
.sb .sb-empty{border-radius:0;border-width:0 0 1px 1px;border-color:#e5ecef;padding:0;}
.sb-empty span{opacity:0;font-size:12px;color:#24695c;}
.sb-empty:hover span,.sb-empty:focus-visible span{opacity:1;}
.sb .sb-empty:hover{background:#f3f9f6;}
.sb .sb-event{z-index:1;margin:2px 3px;padding:7px 10px;display:flex;flex-direction:column;justify-content:center;gap:2px;text-align:left;border:1px solid #263d4820;overflow:auto;min-height:0;}
.sb-event>span:first-child{display:flex;justify-content:space-between;gap:8px;}
.sb-event b,.sb-event strong{font-weight:600;}
.sb-event span{font-size:13px;}
.sb-event small{font-size:12px;background:#ffffff90;border-radius:3px;padding:0 5px;}
.sb-tasks>header{justify-content:space-between;padding:12px;background:#f3f7f7;border-bottom:1px solid #dce5e9;}
.sb-filters{display:flex;flex-wrap:wrap;gap:6px;padding:12px;}
.sb-filters input{width:100%;}
.sb .sb-task{display:flex;flex-direction:column;width:100%;text-align:left;gap:4px;border-radius:0;border-width:0 0 1px;padding:12px;}
.sb-task b{font-weight:500;}
.sb-task span{font-size:13px;color:#647982;}
.sb-task-detail{padding:12px;background:#f3f9f6;}
.sb-task-detail button{margin:3px;font-size:13px;}
.sb-task-detail p{font-size:13px;overflow-wrap:anywhere;}
.sb-history-title{margin:0;padding:12px;border-top:1px solid #dce5e9;}
.sb-history{font-size:13px;padding:10px 12px;margin:0;border-top:1px solid #edf1f2;overflow-wrap:anywhere;}
.sb-history small{display:block;color:#647982;}
.sb-month{display:grid;grid-template-columns:repeat(7,minmax(95px,1fr));}
.sb-month>strong{text-align:center;padding:10px;background:#f3f7f7;font-weight:500;}
.sb .sb-month>button{min-height:100px;border-radius:0;display:flex;flex-direction:column;align-items:flex-start;border-width:0 0 1px 1px;}
.sb-month button span{font-size:13px;color:#647982;}
.sb-month .outside{opacity:.4;}
.sb-results{display:flex;gap:8px;flex-wrap:wrap;padding:12px;background:#fff;border:1px solid #dce5e9;margin-bottom:12px;}
.sb-dialog{position:fixed;inset:0;margin:auto;width:min(420px,calc(100vw - 32px));max-height:88vh;border:1px solid #dce5e9;border-radius:8px;padding:0;box-shadow:0 20px 60px #18394433;}
.sb-dialog::backdrop{background:rgba(213,224,230,.6);backdrop-filter:blur(2px);}
.sb-dialog{background:#fff;color:#263d48;color-scheme:light;}
.sb-booking-choice{padding:20px;display:grid;gap:14px;}
.sb-booking-choice p{font-size:14px;color:#647982;}
.sb-booking-choice button{padding:20px;text-align:left;background:#f4f9f7;}
.sb-booking-choice button strong,.sb-booking-choice button span{display:block;}
.sb-booking-choice button span{font-size:13px;color:#647982;margin-top:8px;}
.sb-dialog>header{display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;padding:14px 18px;background:#f3f7f7;border-bottom:1px solid #dce5e9;z-index:2;}
.sb-form{display:grid;gap:12px;padding:18px;}
.sb-form label{display:grid;gap:5px;color:#647982;}
.sb-form :is(input,select,textarea){width:100%;color:#263d48;}
.sb-form textarea{min-height:70px;resize:vertical;}
.sb-dialog .sb-primary{background:#24695c;color:white;}
.schedule-conflict{padding:12px 16px;background:#fff0ea;border:1px solid #e8b9a4;color:#9d4d31;border-radius:6px;}
.erp-ui .daily-studio-page .daily-slot{flex-direction:column;gap:3px;justify-content:flex-start;}
.erp-ui .daily-studio-page .daily-entry.has-customer{position:relative;inset:auto;width:100%;height:auto!important;min-height:76px;flex:none;}
.erp-ui .daily-studio-page .daily-time-row{height:auto!important;flex:none;min-height:42px;}
.fixed-month-calendar{background:#fff;border:1px solid #dce5e9;border-radius:8px;overflow:hidden;margin-top:16px;}
.fixed-month-calendar>header{display:flex;align-items:center;justify-content:space-between;padding:14px;}
.fixed-month-calendar button{background:#fff;border:1px solid #e2eaed;color:#263d48;font:inherit;cursor:pointer;padding:8px;}
.fixed-month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));}
.fixed-month-grid>b{text-align:center;padding:12px;background:#f3f7f7;font-size:14px;}
.fixed-month-grid>button{text-align:left;min-height:120px;display:flex;flex-direction:column;gap:5px;}
.fixed-month-grid span{font-size:12px;background:#edf6f3;padding:3px 5px;border-radius:4px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.fixed-month-grid .outside{background:#f8fafb;color:#98a9af;}
@media(max-width:1000px){.sb-workspace{grid-template-columns:1fr;}.sb-calendar{max-height:70vh;}.sb-search{margin-left:0;}}
/* Original schedule geometry and colors; typography only. */
.erp-ui .daily-studio-page .studio-schedule-title h1{font-family:Pretendard,"Noto Sans KR",Arial,sans-serif;font-size:50px!important;font-weight:600;}
.erp-ui .daily-studio-page .schedule-branch-title:before{display:none!important;}
.erp-ui .daily-studio-page .schedule-branch-title{font-size:inherit!important;font-weight:inherit!important;}
.erp-ui .daily-studio-page .daily-date-toolbar>strong{font-family:Pretendard,"Noto Sans KR",Arial,sans-serif;font-size:14px!important;font-weight:400!important;}
.erp-ui .daily-studio-page .schedule-control-bar .schedule-table-settings,.erp-ui .daily-studio-page .daily-date-toolbar .schedule-toolbar-button{width:112px;min-width:112px;height:38px;padding:0 6px;font-size:14px;font-weight:400;}
.erp-ui .daily-studio-page .schedule-table-settings{margin-left:auto;border:1px solid #d9e4e7;border-radius:7px;background:white;color:#516971;}
.erp-ui .daily-studio-page .daily-customer-quick-search{width:304px;max-width:304px;margin-left:0;}
.erp-ui .daily-studio-page .daily-customer-quick-search>label{margin-left:0;}
.erp-ui .daily-studio-page .daily-customer-results{left:0;}
.erp-ui .daily-studio-page .daily-slot>.daily-empty-register{width:100%;height:100%;min-height:36px;border:0;border-radius:0;background:transparent;color:transparent;font:inherit;font-size:12px;cursor:pointer;}
.erp-ui .daily-studio-page .daily-empty-register:hover,.erp-ui .daily-studio-page .daily-empty-register:focus-visible{background:#edf6f3;color:#24695c;}
.erp-ui .daily-studio-page .daily-entry.tone-cancelled{background:#e7e9ec!important;color:#68717c!important;border-color:#b7bec6!important;filter:none;}
.erp-ui .daily-studio-page .tone-cancelled .daily-entry-customer :is(b,em){color:#68717c!important;}
.erp-ui .daily-studio-page .tone-cancelled .daily-entry-customer>span:first-child em{background:#d3d8df!important;color:#434e5b!important;}
.erp-ui .daily-studio-page .daily-task-list article.daily-task-direct{display:grid;grid-template-columns:20px minmax(0,1fr);cursor:default;}
.erp-ui .daily-studio-page .daily-task-inline-actions{grid-column:2;display:flex;flex-wrap:wrap;gap:5px;padding-top:8px;}
.erp-ui .daily-studio-page .daily-task-inline-actions button{font:inherit;font-size:12px;font-weight:400;min-height:28px;padding:3px 7px;border:1px solid #dce5e9;border-radius:4px;background:white;}
.erp-ui .daily-studio-page .daily-task-inline-actions label{display:flex;align-items:center;gap:6px;font-size:12px;}
.erp-ui .daily-studio-page .daily-task-inline-actions input{width:135px;font:inherit;font-size:12px;border:1px solid #dce5e9;border-radius:4px;padding:3px;}
.erp-ui .studio-schedule-page,
.erp-ui .studio-schedule-page :is(button,input,select,textarea,h1,h2,h3){
 font-family:Pretendard,"Noto Sans KR",Arial,sans-serif;
}
.erp-ui .studio-schedule-page :is(.schedule-control-bar button,.schedule-view-toggle button,.schedule-edit-button,.daily-customer-quick-search input,.daily-task-search input,.daily-task-filters select,.daily-task-tabs button,.daily-grid-head>strong,.daily-time-row>time,.daily-entry,.daily-task-list strong){
 font-size:14px;font-weight:400;
}
.erp-ui .studio-schedule-page .daily-entry-customer b{font-size:14px!important;font-weight:600!important;}
.erp-ui .studio-schedule-page .daily-entry-customer em{font-size:13px!important;font-weight:400!important;}
.erp-ui .studio-schedule-page .daily-entry-customer>span:first-child em{font-size:12px!important;font-weight:500!important;}
.erp-ui .studio-schedule-page :is(.daily-task-list time,.daily-task-list p span,.daily-task-list p em,.daily-task-list p b,.daily-task-title p,.daily-axis-head b){font-size:12px;font-weight:400;}
.erp-ui .studio-schedule-page .daily-task-title h2{font-size:16px;font-weight:600;}
/* Equal half-hour rows keep saved 60/90/120-minute bookings aligned with the time axis. */
.daily-studio-page .daily-time-row,
.daily-studio-page .daily-time-row.expanded-customer-row{height:78px!important;min-height:78px;flex:0 0 78px!important;box-sizing:border-box}
.daily-studio-page .daily-entry.duration-30{height:100%}
.daily-studio-page .daily-entry.duration-60{height:calc(200% + 1px)}
.daily-studio-page .daily-entry.duration-90{height:calc(300% + 2px)}
.daily-studio-page .daily-entry.duration-120{height:calc(400% + 3px)}
.employee-dialog:has(.schedule-settings-body){width:min(760px,calc(100vw - 32px));max-height:90dvh;overflow:auto;color:#263d48;font:400 14px/1.5 Pretendard,sans-serif;}
.employee-dialog:has(.schedule-settings-body)::backdrop{background:#233c4855;backdrop-filter:blur(2px);}
.employee-dialog:has(.schedule-settings-body) .employee-dialog-heading{padding:20px 24px;background:linear-gradient(105deg,#edf5f3,#fff);border-bottom:1px solid #dce5e9;}
.employee-dialog:has(.schedule-settings-body) .employee-dialog-heading h2{font:600 24px/1.4 Pretendard,sans-serif;}
.schedule-settings-body{padding:24px;}
.schedule-settings-body .schedule-editor-sections{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}
.schedule-settings-body .schedule-editor-sections>article>header{min-height:74px;padding:14px;gap:10px;background:linear-gradient(110deg,#f0ecfa,#fff);}
.schedule-settings-body .schedule-editor-sections>article:nth-child(2)>header{background:linear-gradient(110deg,#fff1db,#fff);}
.schedule-settings-body .schedule-editor-sections>article>header b{font-size:14px;background:#ece7f6;color:#76618f;width:28px;height:28px;}
.schedule-settings-body .schedule-editor-sections>article>header strong{font-size:16px;font-weight:600;}
.schedule-settings-body .schedule-editor-sections>article>header small{font-size:13px;color:#6b7d86;line-height:1.5;}
.schedule-settings-body .schedule-time-picker{padding:20px 14px;gap:8px;}
.schedule-settings-body .schedule-time-picker label>span{font-size:14px;font-weight:400;}
.schedule-settings-body .schedule-time-picker select{height:42px;width:100%;font:400 14px Pretendard,sans-serif;text-align:center;}
.schedule-settings-body .schedule-editor-hint{margin:0 14px 16px!important;padding:10px;font-size:13px!important;line-height:1.5;}
.schedule-settings-body .schedule-column-stepper{padding:20px 14px;grid-template-columns:42px minmax(0,1fr) 42px;}
.schedule-settings-body .schedule-column-stepper>button{height:42px;font-size:22px;font-weight:400;}
.schedule-settings-body .schedule-column-stepper>span{height:42px;align-items:center;}
.schedule-settings-body .schedule-column-stepper strong{font-size:22px;font-weight:600;}
.schedule-settings-body .schedule-column-stepper small{font-size:14px;}
.schedule-settings-body .schedule-column-preview{gap:6px;padding:0 14px 16px;}
.schedule-settings-body .schedule-column-preview>span{height:auto;min-height:32px;padding:5px 8px;font-size:13px;font-weight:400;}
.schedule-settings-body .schedule-column-preview>span>i{width:20px;height:20px;font-size:12px;}
.schedule-settings-body .schedule-editor-summary{margin-top:16px;padding:14px;flex-wrap:wrap;background:linear-gradient(110deg,#edf5f3,#fff);}
.schedule-settings-body .schedule-editor-summary span,.schedule-settings-body .schedule-editor-summary strong{font-size:14px;font-weight:400;line-height:1.6;}
.schedule-settings-body .modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:20px;}
.schedule-settings-body .modal-actions button{min-height:42px;padding:9px 20px;border-radius:6px;font:400 14px Pretendard,sans-serif;}
.schedule-settings-body button:focus-visible,.schedule-settings-body select:focus-visible{outline:2px solid #338c84;outline-offset:2px;}
.schedule-settings-body button:disabled{opacity:.45;cursor:not-allowed;}
@media(max-width:600px){.schedule-settings-body{padding:16px;}.schedule-settings-body .schedule-editor-sections{grid-template-columns:1fr;}}
