:root{color:#1a1a1a;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;background-color:#f4f6f8;font-family:Segoe UI,system-ui,-apple-system,sans-serif;font-weight:400;line-height:1.5}*{box-sizing:border-box}body{-webkit-tap-highlight-color:transparent;min-width:320px;min-height:100dvh;margin:0;overflow-x:hidden}a{color:inherit}ul{margin:0;padding-left:1.25rem}li+li{margin-top:8px}.layout{color:#1a1a1a;background:#f4f6f8;flex-direction:column;min-height:100dvh;display:flex}.mobile-header{min-height:52px;padding:env(safe-area-inset-top,0px) 12px 0;color:#fff;z-index:50;background:#1e293b;flex-shrink:0;justify-content:center;align-items:center;display:flex;position:sticky;top:0}.mobile-header .logo{letter-spacing:.05em;margin:0;font-size:1.25rem;font-weight:700}.header-guide-btn{margin-top:calc(env(safe-area-inset-top,0px) / 2);position:absolute;top:50%;right:12px;transform:translateY(-50%)}.guide-btn-icon{width:22px;height:22px;display:block}.header-guide-btn,.sidebar-guide-btn{color:#fff;cursor:pointer;background:#ffffff14;border:1px solid #ffffff40;border-radius:999px;justify-content:center;align-items:center;width:36px;height:36px;padding:0;transition:background .15s,border-color .15s;display:inline-flex}.header-guide-btn:hover,.sidebar-guide-btn:hover{background:#ffffff29;border-color:#fff6}.sidebar-top{justify-content:space-between;align-items:center;gap:8px;margin-bottom:24px;display:flex}.sidebar-top .logo{margin:0}.sidebar-guide-btn{flex-shrink:0}.sidebar{color:#fff;background:#1e293b;flex-shrink:0;width:220px;padding:24px 16px;display:none}.sidebar .logo{letter-spacing:.05em;margin:0 0 24px;font-size:1.5rem;font-weight:700}.sidebar-top .logo{margin:0;font-size:1.5rem}.sidebar-nav{flex-direction:column;gap:8px;display:flex}.bottom-nav{z-index:50;padding-bottom:env(safe-area-inset-bottom,0px);background:#fff;border-top:1px solid #e2e8f0;display:flex;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -2px 10px #0000000f}.bottom-nav-link{color:#94a3b8;flex-direction:column;flex:1;justify-content:center;align-items:center;min-height:52px;padding:8px 4px;text-decoration:none;transition:color .15s;display:flex}.bottom-nav-link.active{color:#2563eb}.bottom-nav-link.active .nav-icon-svg{stroke-width:2.25px}.nav-icon-svg{flex-shrink:0;width:24px;height:24px;display:block}.nav-icon{font-size:1.25rem;line-height:1}.nav-label{line-height:1.2}.nav-link{color:#cbd5e1;border-radius:8px;padding:10px 12px;text-decoration:none;transition:background .15s,color .15s;display:block}.nav-link .nav-icon,.nav-link .nav-icon-svg,.nav-link .nav-label{display:inline}.nav-link .nav-icon,.nav-link .nav-icon-svg{display:none}.nav-link:hover{color:#fff;background:#334155}.nav-link.active{color:#fff;background:#3b82f6}.content{padding:16px;padding-bottom:calc(52px + env(safe-area-inset-bottom,0px) + 16px);-webkit-overflow-scrolling:touch;flex:1;overflow:hidden auto}.page h2{margin:0 0 8px;font-size:1.375rem}.page .desc{color:#64748b;margin-bottom:24px}.card{background:#fff;border-radius:12px;padding:16px;box-shadow:0 1px 3px #00000014}.status-ok{color:#16a34a;font-weight:600}.status-error{color:#dc2626}.feature-grid{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:16px;margin-top:16px;display:grid}.feature-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:16px}.feature-card h3{margin:0 0 8px;font-size:1rem}.feature-card p{color:#64748b;margin:0;font-size:.875rem}.page-header{flex-direction:column;align-items:stretch;gap:12px;margin-bottom:16px;display:flex}.page-header .desc{margin-bottom:0}.page-header .btn{width:100%}.btn{cursor:pointer;border:none;border-radius:8px;min-height:44px;padding:12px 16px;font-size:.875rem;font-weight:600;transition:background .15s,opacity .15s}.btn:disabled{opacity:.6;cursor:not-allowed}.btn-primary{color:#fff;background:#3b82f6}.btn-primary:hover:not(:disabled){background:#2563eb}.btn-secondary{color:#334155;background:#e2e8f0}.btn-secondary:hover:not(:disabled){background:#cbd5e1}.btn-sm{padding:6px 12px;font-size:.8125rem}.empty-message{color:#64748b;margin:0}.table-wrap{overflow-x:auto}.data-table{border-collapse:collapse;width:100%;font-size:.875rem}.data-table th,.data-table td{text-align:left;vertical-align:top;border-bottom:1px solid #e2e8f0;padding:12px}.data-table th{color:#64748b;background:#f8fafc;font-weight:600}.data-table tbody tr:hover{background:#f8fafc}.cell-note{color:#64748b;max-width:200px}.cell-actions{white-space:nowrap;justify-content:flex-end;gap:6px;min-width:140px;display:flex}.modal-backdrop{z-index:200;background:#0f172a73;justify-content:center;align-items:flex-end;padding:0;display:flex;position:fixed;inset:0}.modal{width:100%;max-width:520px;max-height:92dvh;padding:20px 16px;padding-bottom:calc(20px + env(safe-area-inset-bottom,0px));-webkit-overflow-scrolling:touch;background:#fff;border-radius:16px 16px 0 0;overflow-y:auto;box-shadow:0 -8px 30px #00000026}.modal h3{margin:0 0 20px;font-size:1.125rem}.form{flex-direction:column;gap:16px;display:flex}.form-row{grid-template-columns:1fr;gap:12px;display:grid}.form-field{flex-direction:column;gap:6px;font-size:.875rem;display:flex}.form-field span{color:#334155;font-weight:600}.form-field .required{color:#dc2626;font-style:normal}.form-field input,.form-field textarea,.form-field select{width:100%;font:inherit;color:inherit;background:#fff;border:1px solid #cbd5e1;border-radius:8px;padding:10px 12px}.form-field input:focus,.form-field textarea:focus,.form-field select:focus{border-color:#3b82f6;outline:2px solid #93c5fd}.form-field input:disabled{color:#64748b;cursor:not-allowed;background:#f1f5f9}.field-hint{color:#64748b;font-size:.75rem}.form-field textarea{resize:vertical;min-height:80px}.form-error{color:#dc2626;margin:0;font-size:.875rem}.form-actions{flex-direction:column-reverse;gap:8px;margin-top:4px;display:flex}.form-actions .btn{width:100%}.modal-lg{max-width:860px;max-height:90vh;overflow-y:auto}.modal-header{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:20px;display:flex}.modal-header h3{margin:0}.modal-subtitle{color:#64748b;margin:4px 0 0;font-size:.875rem}.guide-modal .modal-header{margin-bottom:12px}.guide-modal-body{flex-direction:column;gap:20px;display:flex}.guide-section{border-top:1px solid #e2e8f0;padding:14px 0}.guide-section:first-child{border-top:none;padding-top:0}.guide-section-header{align-items:center;gap:10px;margin-bottom:6px;display:flex}.guide-section-icon{color:#2563eb;flex-shrink:0;width:20px;height:20px}.guide-section-title{color:#0f172a;margin:0;font-size:1rem;font-weight:600}.guide-section-desc{color:#475569;margin:0 0 10px;font-size:.875rem;line-height:1.5}.guide-section-list{color:#334155;margin:0;padding-left:1.15rem;font-size:.875rem;line-height:1.6}.guide-section-list li+li{margin-top:6px}.guide-intro{color:#0c4a6e;background:#f0f9ff;border:1px solid #bae6fd;border-radius:10px;margin:0 0 16px;padding:12px 14px;font-size:.875rem;line-height:1.6}.guide-topic-list{flex-direction:column;gap:8px;display:flex}.guide-topic-card{text-align:left;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:12px;align-items:center;gap:12px;width:100%;padding:14px 12px;transition:border-color .15s,background .15s;display:flex}.guide-topic-card:hover{background:#f8fafc;border-color:#93c5fd}.guide-topic-icon{color:#2563eb;flex-shrink:0;width:22px;height:22px}.guide-topic-card-text{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.guide-topic-card-text strong{color:#0f172a;font-size:.95rem}.guide-topic-card-text span{color:#64748b;font-size:.8rem;line-height:1.4}.guide-topic-chevron{color:#94a3b8;flex-shrink:0;font-size:1.25rem}.guide-back-btn{color:#2563eb;cursor:pointer;background:0 0;border:none;align-self:flex-start;margin-bottom:12px;padding:6px 0;font-size:.875rem;font-weight:600}.guide-back-btn:hover{text-decoration:underline}.guide-detail{flex-direction:column;display:flex}.guide-steps{flex-direction:column;gap:14px;margin:0;padding:0;list-style:none;display:flex}.guide-step{align-items:flex-start;gap:12px;display:flex}.guide-step-num{color:#fff;background:#2563eb;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:28px;height:28px;font-size:.8rem;font-weight:700;display:flex}.guide-step-body{flex:1;min-width:0}.guide-step-body strong{color:#0f172a;margin-bottom:4px;font-size:.9rem;display:block}.guide-step-body p{color:#475569;margin:0;font-size:.875rem;line-height:1.55}.guide-tips{color:#78350f;background:#fffbeb;border:1px solid #fde68a;border-radius:10px;margin-top:18px;padding:12px 14px;font-size:.85rem}.guide-tips strong{margin-bottom:8px;font-size:.875rem;display:block}.guide-tips ul{margin:0;padding-left:1.15rem;line-height:1.55}.guide-tips li+li{margin-top:4px}@media (width>=768px){.guide-modal.modal{border-radius:16px;max-height:85vh}.modal-backdrop:has(.guide-modal){align-items:center;padding:24px}}.form-row-2{grid-template-columns:1fr}.month-calendar{flex-direction:column;gap:16px;display:flex}.calendar-toolbar{justify-content:space-between;align-items:center;gap:12px;display:flex}.calendar-title{margin:0;font-size:1.125rem}.calendar-grid{grid-template-columns:repeat(7,1fr);gap:2px;display:grid}.calendar-weekday{text-align:center;color:#64748b;padding:8px 0;font-size:.8125rem;font-weight:600}.calendar-weekday.sun{color:#dc2626}.calendar-weekday.sat{color:#2563eb}.page-calendar{padding-top:0}.card-calendar{padding:12px}.calendar-day{width:100%;min-height:108px;font:inherit;color:inherit;text-align:left;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:6px;flex-direction:column;gap:2px;padding:3px;transition:background .15s,border-color .15s;display:flex;overflow:hidden}.calendar-day:not(.empty):hover{background:#f8fafc;border-color:#cbd5e1}.calendar-day:not(.empty):active{background:#eff6ff}.calendar-day.empty{background:0 0;border:none;min-height:0}.calendar-day.today{border-color:#3b82f6;box-shadow:inset 0 0 0 1px #3b82f6}.calendar-day.holiday{background:#fef2f2}.calendar-day.holiday .day-number,.calendar-day.sunday:not(.holiday) .day-number{color:#dc2626}.day-header{justify-content:space-between;align-items:center;gap:2px;min-height:18px;padding:0 2px 1px;display:flex}.day-number{font-size:.75rem;font-weight:700;line-height:1.2}.holiday-body{text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:4px;min-height:0;padding:2px 3px;display:flex}.holiday-name{color:#dc2626;word-break:keep-all;-webkit-line-clamp:4;-webkit-box-orient:vertical;font-size:.625rem;font-weight:600;line-height:1.35;display:-webkit-box;overflow:hidden}.day-period-row{pointer-events:none;background:#f8fafc;border-radius:4px;flex:1;justify-content:center;align-items:center;width:100%;min-height:0;padding:2px 3px;display:flex}.period-morning{background:#fffbeb}.period-lunch{background:#f0fdf4}.period-evening{background:#eff6ff}.period-empty{width:100%;min-height:8px;display:block}.schedule-dots{flex-wrap:wrap;justify-content:center;align-items:center;gap:2px;width:100%;display:flex}.day-schedule-list{border-bottom:1px solid #e2e8f0;margin-bottom:20px;padding-bottom:16px}.day-schedule-list h4{margin:0 0 12px;font-size:.9375rem}.day-schedule-list ul{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.day-schedule-list li{flex-direction:column;align-items:stretch;gap:8px;margin:0;display:flex}.day-schedule-list li .btn-danger{align-self:flex-end}.workplace-color-dot{border-radius:50%;flex-shrink:0;display:inline-block;box-shadow:inset 0 0 0 1px #00000014}.workplace-color-dot-sm{width:8px;height:8px}.workplace-color-dot-md{width:12px;height:12px}.schedule-marker{flex-shrink:0;display:inline-block}.schedule-marker-sm{width:8px;height:8px}.schedule-marker-md{width:12px;height:12px}.schedule-marker-triangle.schedule-marker-sm{border-left:4px solid #0000;border-right:4px solid #0000;border-bottom:7px solid var(--marker-color);background:0 0;width:0;height:0}.schedule-marker-triangle.schedule-marker-md{border-left:6px solid #0000;border-right:6px solid #0000;border-bottom:10px solid var(--marker-color);background:0 0;width:0;height:0}.schedule-marker-x{position:relative}.schedule-marker-x.schedule-marker-sm:before,.schedule-marker-x.schedule-marker-sm:after{width:8px;height:2px}.schedule-marker-x.schedule-marker-md:before,.schedule-marker-x.schedule-marker-md:after{width:12px;height:2px}.schedule-marker-x:before,.schedule-marker-x:after{content:"";background:var(--marker-color);border-radius:1px;position:absolute;top:50%;left:50%}.schedule-marker-x:before{transform:translate(-50%,-50%)rotate(45deg)}.schedule-marker-x:after{transform:translate(-50%,-50%)rotate(-45deg)}.schedule-marker-legend{color:#64748b;flex-wrap:wrap;gap:12px 16px;margin-bottom:12px;padding:0 4px;font-size:.75rem;display:flex}.schedule-marker-legend-item{align-items:center;gap:6px;display:inline-flex}.workplace-name-cell{align-items:center;gap:8px;display:inline-flex}.modal-title-with-color{align-items:center;gap:8px;display:flex}.color-picker{flex-direction:column;gap:10px;display:flex}.color-picker-presets{flex-wrap:wrap;gap:8px;display:flex}.color-swatch{cursor:pointer;border:2px solid #0000;border-radius:50%;width:32px;height:32px;padding:0;transition:transform .15s,border-color .15s}.color-swatch.selected{border-color:#1e293b;transform:scale(1.08)}.color-picker-custom{color:#64748b;align-items:center;gap:10px;font-size:.8125rem;display:flex}.color-picker-custom input[type=color]{cursor:pointer;background:0 0;border:1px solid #cbd5e1;border-radius:6px;width:40px;height:32px;padding:0}.workplace-legend{border-bottom:1px solid #e2e8f0;flex-wrap:wrap;gap:8px 14px;margin-bottom:16px;padding-bottom:14px;display:flex}.workplace-legend-item{color:#475569;align-items:center;gap:6px;font-size:.8125rem;display:inline-flex}.schedule-dot-more{color:#64748b;font-size:.625rem;font-weight:600}.workplace-color-preview{color:#64748b;align-items:center;gap:6px;font-size:.75rem;display:inline-flex}.schedule-list-item{text-align:left;cursor:pointer;font:inherit;color:inherit;background:#f8fafc;border:1px solid #e2e8f0;border-left-width:4px;border-radius:8px;flex:1;align-items:center;gap:8px;padding:10px 12px;display:flex}.schedule-list-item:hover{background:#eff6ff;border-color:#93c5fd}.form-row-4,.form-row-fee{grid-template-columns:1fr}.headcount-range-field .headcount-range-inputs{align-items:center;gap:8px;display:flex}.headcount-range-field .headcount-range-inputs input{flex:1;min-width:0}.headcount-range-sep{color:#64748b;flex-shrink:0}.fee-rate-form,.schedule-day-form{border-bottom:1px solid #e2e8f0;margin-bottom:20px;padding-bottom:20px}.schedule-readonly-summary{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;margin:0 0 16px;padding:12px 14px}.schedule-readonly-summary p{flex-wrap:wrap;align-items:center;gap:8px;margin:0;display:flex}.schedule-day-list .empty-message{margin:0}.back-to-calendar{margin-bottom:12px}.page-schedule-day .page-header h2{margin-top:0}.schedule-day-table .inline-number-input{width:72px;font:inherit;border:1px solid #cbd5e1;border-radius:6px;padding:6px 8px}.schedule-day-table .inline-number-input:disabled{color:#94a3b8;background:#f1f5f9}.schedule-day-table .inline-number-input.input-below-min{border-color:#ef4444;box-shadow:0 0 0 1px #ef4444}.schedule-day-table .inline-number-input.input-below-min:focus{border-color:#dc2626;outline:none;box-shadow:0 0 0 2px #ef444440}.inline-checkbox{cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;gap:6px;display:inline-flex}.inline-checkbox input{width:16px;height:16px;margin:0}.toggle-switch{cursor:pointer;align-items:center;width:44px;height:24px;display:inline-flex;position:relative}.toggle-switch input{opacity:0;width:0;height:0;position:absolute}.toggle-slider{background:#cbd5e1;border-radius:999px;transition:background .2s;position:absolute;inset:0}.toggle-slider:before{content:"";background:#fff;border-radius:50%;width:18px;height:18px;transition:transform .2s;position:absolute;top:3px;left:3px;box-shadow:0 1px 2px #0f172a33}.toggle-switch input:checked+.toggle-slider{background:#3b82f6}.toggle-switch input:checked+.toggle-slider:before{transform:translate(20px)}.toggle-switch input:disabled+.toggle-slider{cursor:not-allowed;background:#e2e8f0}.toggle-switch input:disabled:checked+.toggle-slider{background:#93c5fd}.schedule-day-table tbody tr.row-saving{opacity:.65}.form-section-title{margin:0 0 16px;font-size:1rem;font-weight:600}.list-toolbar{justify-content:flex-end;margin-bottom:12px;display:flex}.form-hint-block{margin:-8px 0 16px}.lesson-template-form{border-bottom:1px solid #e2e8f0;margin-bottom:20px;padding-bottom:20px}.form-row-lesson{grid-template-columns:1fr}.weekday-picker{flex-wrap:wrap;gap:8px;display:flex}.weekday-chip{cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:999px;align-items:center;gap:6px;padding:6px 10px;font-size:.875rem;display:inline-flex}.weekday-chip:has(input:checked){color:#1d4ed8;background:#eff6ff;border-color:#3b82f6}.weekday-chip input{margin:0}.schedule-list-item:disabled{cursor:default;opacity:.95}.headcount-fixed{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;align-items:center;min-height:42px;padding:0 12px;font-weight:600;display:flex}.fee-rate-list .empty-message{margin:0}.row-clickable{cursor:pointer}.row-clickable:hover{background:#eff6ff!important}.row-editing{background:#fef9c3!important}.btn-danger{color:#b91c1c;background:#fee2e2}.btn-danger:hover:not(:disabled){background:#fecaca}.data-table-responsive tbody tr.workplace-row{border-left:4px solid var(--workplace-color,#94a3b8)}.data-table-responsive thead{display:none}.data-table-responsive tbody tr{background:#fff;border:1px solid #e2e8f0;border-radius:10px;margin-bottom:10px;padding:12px;display:block}.data-table-responsive tbody tr:last-child{margin-bottom:0}.data-table-responsive tbody tr:hover{background:#f8fafc}.data-table-responsive tbody td{border:none;justify-content:space-between;align-items:flex-start;gap:12px;padding:6px 0;font-size:.875rem;display:flex}.data-table-responsive tbody td:before{content:attr(data-label);color:#64748b;flex-shrink:0;min-width:4.5rem;font-weight:600}.data-table-responsive tbody td:first-child{padding-top:0;font-size:1rem}.data-table-responsive tbody td:first-child:before{display:none}.data-table-responsive tbody td.cell-actions{border-top:1px solid #f1f5f9;flex-direction:row;justify-content:flex-end;margin-top:4px;padding-top:10px}.data-table-responsive tbody td.cell-actions:before{display:none}@media (width>=768px){.layout{flex-direction:row}.mobile-header,.bottom-nav{display:none}.sidebar{flex-direction:column;min-height:100vh;display:flex}.content{padding:32px}.page h2{font-size:1.5rem}.card{padding:24px}.page-header{flex-direction:row;justify-content:space-between;align-items:flex-start;margin-bottom:24px}.page-header .btn{flex-shrink:0;width:auto}.form-actions{flex-direction:row;justify-content:flex-end}.form-actions .btn{width:auto}.form-row,.form-row-2{grid-template-columns:1fr 1fr}.form-row-4,.form-row-fee,.form-row-lesson{grid-template-columns:repeat(4,1fr)}.modal-backdrop{align-items:center;padding:24px}.modal{border-radius:12px;max-height:90vh;padding:24px;box-shadow:0 20px 40px #00000026}.calendar-grid{gap:6px}.calendar-day{border-radius:8px;gap:4px;min-height:132px;padding:6px}.day-number{font-size:.875rem}.day-period-row{padding:4px 6px}.holiday-name{-webkit-line-clamp:5;font-size:.75rem}.day-schedule-list li{flex-direction:row;justify-content:space-between;align-items:center}.data-table-responsive thead{display:table-header-group}.data-table-responsive tbody tr{background:0 0;border:none;border-radius:0;margin-bottom:0;padding:0;display:table-row}.data-table-responsive tbody td{border-bottom:1px solid #e2e8f0;padding:12px;display:table-cell}.data-table-responsive tbody td:before{display:none}.data-table-responsive tbody td.cell-actions{border-top:none;margin-top:0;padding-top:12px}}.settlement-toolbar-card{margin-bottom:16px}.settlement-toolbar{justify-content:space-between;align-items:center;gap:12px;display:flex}.settlement-month-title{margin:0;font-size:1.125rem}.settlement-period{color:#64748b;margin:12px 0 0;font-size:.875rem}.settlement-planned-toggle{border-top:1px solid #e2e8f0;justify-content:space-between;align-items:center;gap:12px;margin-top:14px;padding-top:14px;display:flex}.settlement-planned-toggle-label{flex-direction:column;gap:2px;font-size:.9375rem;font-weight:600;display:flex}.settlement-planned-toggle-hint{color:#64748b;font-size:.8125rem;font-weight:400}.settlement-planned-line,.settlement-amount-planned{color:#2563eb}.settlement-summary-grid{grid-template-columns:1fr;gap:16px;margin-bottom:16px;display:grid}.settlement-summary-card{flex-direction:column;gap:8px;display:flex}.settlement-summary-label{color:#64748b;font-size:.875rem}.settlement-summary-value{color:#0f172a;font-size:1.5rem}.settlement-summary-breakdown{color:#475569;flex-wrap:wrap;gap:8px 16px;font-size:.8125rem;display:flex}.settlement-summary-net .settlement-summary-value{color:#1d4ed8}.settlement-section-title{margin:0 0 16px;font-size:1rem}.workplace-settlement-card{overflow:hidden}.workplace-tabs{-webkit-overflow-scrolling:touch;scrollbar-width:thin;border-bottom:1px solid #e2e8f0;gap:0;margin:0 -4px 16px;padding:0 4px;display:flex;overflow-x:auto}.workplace-tab{color:#64748b;min-width:120px;max-width:200px;font:inherit;cursor:pointer;background:0 0;border:none;border-bottom:2px solid #0000;border-radius:0;flex:none;align-items:center;gap:8px;margin-bottom:-1px;padding:12px 14px 10px;font-size:.875rem;transition:color .15s,border-color .15s,background .15s;display:inline-flex}.workplace-tab:hover{color:#334155;background:#f8fafc}.workplace-tab.active{color:#1d4ed8;background:#f8fbff;border-bottom-color:#3b82f6;font-weight:600}.workplace-tab-text{flex-direction:column;align-items:flex-start;gap:2px;min-width:0;display:flex}.workplace-tab-name{text-overflow:ellipsis;white-space:nowrap;max-width:100%;line-height:1.3;overflow:hidden}.workplace-tab-amount{color:#0f172a;white-space:nowrap;font-size:.8125rem;font-weight:600}.workplace-tab.active .workplace-tab-amount{color:#1d4ed8}.workplace-settlement-panel{padding-top:4px}.workplace-lesson-section{border-top:1px solid #e2e8f0;margin-top:20px;padding-top:20px}.workplace-lesson-section-title{color:#0f172a;margin:0 0 4px;font-size:.9375rem}@media (width>=768px){.workplace-tab{min-width:140px;max-width:240px;padding:14px 18px 12px}}.workplace-settlement-block{border-bottom:1px solid #e2e8f0;padding:16px 0}.workplace-settlement-block:last-child{border-bottom:none;padding-bottom:0}.workplace-settlement-header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px;display:flex}.workplace-settlement-subtotal{color:#0f172a;white-space:nowrap;font-size:1.0625rem}.workplace-settlement-amounts{color:#475569;flex-wrap:wrap;gap:8px 16px;margin-bottom:12px;font-size:.875rem;display:flex}.data-table-compact th,.data-table-compact td{padding:8px 10px;font-size:.875rem}@media (width>=768px){.settlement-summary-grid{grid-template-columns:1fr 1fr}}.settlement-section-hint{color:#64748b;margin:-8px 0 16px;font-size:.8125rem}.lesson-type-cards{flex-direction:column;gap:12px;display:flex}.lesson-type-card{background:#fff;border:1px solid #e2e8f0;border-radius:10px;transition:border-color .2s,box-shadow .2s;overflow:hidden}.lesson-type-card.is-expanded{border-color:#93c5fd;box-shadow:0 4px 12px #3b82f61f}.lesson-type-card-header{background:#f8fafc;border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;gap:12px;padding:14px 16px 10px;display:flex}.lesson-type-card.is-expanded .lesson-type-card-header{background:#eff6ff;border-bottom-color:#bfdbfe}.lesson-type-card-title{color:#0f172a;font-size:1rem}.lesson-type-card-total{color:#1d4ed8;white-space:nowrap;font-size:.8125rem;font-weight:600}.lesson-type-summary-table{margin:0}.lesson-type-card .table-wrap{padding:8px 12px 12px}.lesson-type-card.is-expanded .lesson-type-card .table-wrap:first-of-type{padding-bottom:8px}.lesson-type-detail-panel{background:#f1f5f9;border:1px dashed #cbd5e1;border-radius:8px;margin:0 12px 12px;padding:12px;animation:.2s ease-out lesson-detail-open}@keyframes lesson-detail-open{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.lesson-type-detail-label{letter-spacing:.02em;text-transform:uppercase;color:#64748b;margin:0 0 10px;font-size:.75rem;font-weight:600}.lesson-type-detail-table thead th{background:#e2e8f0;font-size:.75rem}.lesson-type-detail-table tbody td{background:#fff}.lesson-type-card-footer{background:#fafbfc;border-top:1px solid #e2e8f0;justify-content:center;padding:10px 16px 14px;display:flex}.lesson-type-card.is-expanded .lesson-type-card-footer{background:#f8fafc;border-top-color:#bfdbfe}.lesson-type-detail-btn{min-width:120px}.settlement-count{color:#0f172a;font-weight:600;display:block}.settlement-amount{color:#64748b;margin-top:2px;font-size:.75rem;display:block}.settlement-amount-total{color:#1d4ed8;font-weight:600}.header-actions{align-items:center;gap:8px;display:flex}.user-chip{cursor:pointer;background:0 0;border:none;padding:0}.user-chip-avatar,.user-chip-initial,.sidebar-user-avatar,.sidebar-user-initial{object-fit:cover;border-radius:50%;width:32px;height:32px}.user-chip-initial,.sidebar-user-initial{color:#1d4ed8;background:#dbeafe;justify-content:center;align-items:center;font-size:.85rem;font-weight:700;display:inline-flex}.sidebar-user{border-top:1px solid #e2e8f0;margin-top:auto;padding:16px 12px}.sidebar-user-info{align-items:center;gap:10px;margin-bottom:10px;display:flex}.sidebar-user-info strong{font-size:.9rem;display:block}.sidebar-user-id{color:#64748b;font-size:.75rem;display:block}.sidebar-logout{width:100%}.sidebar-user-avatar,.sidebar-user-initial{width:40px;height:40px}.profile-modal{max-width:400px}.profile-modal-body{flex-direction:column;align-items:center;gap:20px;padding-top:4px;display:flex}.profile-modal-avatar-wrap{justify-content:center;display:flex}.profile-modal-avatar,.profile-modal-avatar-placeholder{object-fit:cover;border-radius:50%;width:80px;height:80px}.profile-modal-avatar-placeholder{color:#1d4ed8;background:#dbeafe;justify-content:center;align-items:center;font-size:2rem;font-weight:700;display:flex}.profile-info-list{flex-direction:column;gap:12px;width:100%;margin:0;display:flex}.profile-info-row{border-bottom:1px solid #e2e8f0;grid-template-columns:72px 1fr;align-items:baseline;gap:8px;padding:10px 0;display:grid}.profile-info-row:last-child{border-bottom:none}.profile-info-row dt{color:#64748b;margin:0;font-size:.8rem;font-weight:600}.profile-info-row dd{color:#0f172a;word-break:break-all;margin:0;font-size:.95rem}.profile-logout-btn{width:100%;margin-top:4px}.auth-page{background:linear-gradient(160deg,#eef2ff 0%,#f4f6f8 45%,#e0f2fe 100%);justify-content:center;align-items:center;min-height:100dvh;padding:24px 16px;display:flex}.auth-card{background:#fff;border-radius:16px;width:100%;max-width:420px;padding:32px 28px;box-shadow:0 12px 40px #0f172a1a}.auth-card h1{color:#1e3a8a;margin:0 0 8px;font-size:1.75rem}.auth-subtitle{color:#64748b;margin:0 0 24px;font-size:.95rem}.auth-form .form-field{flex-direction:column;gap:6px;margin-bottom:16px;display:flex}.auth-form .form-field span{color:#334155;font-size:.9rem;font-weight:600}.auth-form input[type=text],.auth-form input[type=email],.auth-form input[type=password],.auth-form input[type=file]{border:1px solid #cbd5e1;border-radius:8px;width:100%;padding:10px 12px;font-size:1rem}.auth-form input:focus{border-color:#3b82f6;outline:2px solid #93c5fd}.auth-checkbox{color:#475569;align-items:center;gap:8px;margin:8px 0 20px;font-size:.9rem;display:flex}.auth-checkbox input{width:16px;height:16px}.auth-submit{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:8px;width:100%;padding:12px;font-size:1rem;font-weight:600}.auth-submit:disabled{opacity:.6;cursor:not-allowed}.auth-footer{text-align:center;color:#64748b;margin-top:20px;font-size:.9rem}.auth-footer a{color:#2563eb;font-weight:600;text-decoration:none}.auth-error{color:#b91c1c;background:#fef2f2;border-radius:8px;margin:0 0 12px;padding:10px 12px;font-size:.9rem}.auth-loading{color:#64748b;justify-content:center;align-items:center;min-height:100vh;display:flex}.profile-preview{object-fit:cover;border:2px solid #e2e8f0;border-radius:50%;width:64px;height:64px}.profile-preview-placeholder{color:#1d4ed8;background:#dbeafe;border-radius:50%;justify-content:center;align-items:center;width:64px;height:64px;font-size:1.25rem;font-weight:700;display:flex}.field-optional{color:#94a3b8;font-size:.8rem;font-weight:400}
