/* DersTime v1.18.16 — sade Nöbet dağıtım ekranı ve modal veri yönetimi */
.duty-distribution-studio{gap:12px}.duty-command-ribbon .schedule-ribbon-intro>span{font-size:18px}.duty-focus-bar{margin-bottom:0}.duty-area-picker .touch-class-card{min-width:150px}.duty-area-filter-card .touch-class-color{background:var(--class-color)}
.duty-distribution-main{display:grid;grid-template-columns:280px minmax(0,1fr);gap:12px;align-items:start;border:0;background:transparent;overflow:visible}.duty-teacher-pool{position:sticky;top:88px;max-height:calc(100vh - 116px);border-radius:17px}.duty-teacher-pool .pool-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 14px;border-bottom:1px solid var(--line)}.duty-teacher-pool .pool-heading b,.duty-teacher-pool .pool-heading small{display:block}.duty-teacher-pool .pool-heading b{font-size:13px}.duty-teacher-pool .pool-heading small{margin-top:2px;color:var(--muted);font-size:9px;line-height:1.35}.duty-pool-list{display:grid;gap:7px;padding:10px;overflow:auto}.duty-pool-card{display:grid;grid-template-columns:7px minmax(0,1fr) auto;align-items:center;gap:9px;width:100%;padding:9px 10px;border:1px solid #e1e5ec;border-radius:12px;background:#fff;text-align:left;cursor:pointer;transition:.12s ease}.duty-pool-card:hover{transform:translateX(2px);border-color:#cbc9ef;box-shadow:0 5px 15px rgba(34,43,72,.07)}.duty-pool-card.selected{border-color:var(--primary,#5b5bd6);background:rgba(var(--accent-rgb,91,91,214),.07);box-shadow:inset 0 0 0 1px var(--primary,#5b5bd6)}.duty-pool-color{width:7px;height:34px;border-radius:999px;background:var(--teacher-color)}.duty-pool-card b,.duty-pool-card small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.duty-pool-card b{font-size:11px;color:#30384c}.duty-pool-card small{margin-top:2px;font-size:8.5px;color:#7c8597}.duty-pool-card em{padding:4px 7px;border-radius:999px;background:#f1f3f7;color:#697286;font-size:8px;font-style:normal;font-weight:850;white-space:nowrap}.duty-pool-card.selected em{background:var(--primary,#5b5bd6);color:#fff}
.duty-distribution-board{min-width:0;border:1px solid var(--line);border-radius:17px;background:#fff;overflow:hidden}.duty-board-heading{justify-content:space-between;padding:12px 14px;border-bottom:1px solid var(--line);background:#fbfcfe}.duty-board-heading>div b,.duty-board-heading>div small{display:block}.duty-board-heading>span{padding:5px 8px;border-radius:999px;background:#f0f2f7;color:#667085;font-size:9px;font-weight:850}.duty-board-table{max-height:calc(100vh - 255px);border:0;border-radius:0}.duty-board-table table{min-width:760px;border-collapse:separate;border-spacing:0}.duty-board-table th,.duty-board-table td{border-right:1px solid #e6e9ef;border-bottom:1px solid #e6e9ef}.duty-board-table thead th{padding:9px 10px;background:#f7f8fb}.duty-board-table thead th:first-child{min-width:180px;text-align:left}.duty-board-table thead th b,.duty-board-table thead th small{display:block}.duty-board-table thead th b{font-size:10px}.duty-board-table thead th small{margin-top:2px;font-size:8px;color:#8a92a2}.duty-board-table tbody th{min-width:180px;padding:10px;background:#fbfcfe;text-align:left;vertical-align:top}.duty-board-table tbody th b,.duty-board-table tbody th small{display:block}.duty-board-table tbody th b{font-size:10px;line-height:1.35}.duty-board-table tbody th small{margin-top:3px;font-size:8px;color:#939bab}.duty-slot-cell{position:relative;min-width:175px;height:76px;padding:8px!important;background:#fff;cursor:pointer;vertical-align:top!important;transition:.1s ease}.duty-slot-cell:hover{background:#f7f6ff;box-shadow:inset 0 0 0 2px rgba(var(--accent-rgb,91,91,214),.20)}.duty-slot-cell.blocked{background:repeating-linear-gradient(135deg,#fff7f8,#fff7f8 7px,#fff0f2 7px,#fff0f2 14px);cursor:not-allowed}.duty-slot-cell.blocked:hover{box-shadow:inset 0 0 0 2px #e9a6b2}.duty-slot-cell.contains-selected{background:#f0fbf7;box-shadow:inset 0 0 0 2px #84d8bd}.duty-slot-capacity{display:flex;align-items:center;justify-content:space-between;margin-bottom:5px}.duty-slot-capacity>span{font-size:8px;font-weight:900;color:#8a93a3}.duty-slot-capacity>b{display:grid;place-items:center;width:18px;height:18px;border-radius:999px;background:#ffe0e5;color:#b4233a;font-size:11px}.duty-slot-people{display:grid;gap:4px}.duty-assigned-person{display:flex!important;align-items:center;gap:6px;margin:0!important;padding:5px 7px!important;border:1px solid #e1e6ef;border-radius:9px!important;background:#f6f8fc!important;color:#3e485e!important;font-size:8.8px;font-weight:800}.duty-assigned-person i{width:6px;height:20px;border-radius:999px;flex:0 0 auto}.duty-assigned-person.selected{border-color:#86d5be;background:#effbf6!important;color:#087b5b!important}.duty-empty{display:block;padding:7px 5px;color:#a0a7b4;font-size:8.5px}.duty-setup-empty{display:grid;place-items:center;min-height:420px;border:1px dashed #d4d9e4;border-radius:20px;background:linear-gradient(145deg,#fff,#f8f9fd)}.duty-setup-empty>div{max-width:560px;text-align:center;padding:35px}.duty-setup-empty>div>span{display:grid;place-items:center;width:58px;height:58px;margin:0 auto 13px;border-radius:18px;background:rgba(var(--accent-rgb,91,91,214),.10);color:var(--primary,#5b5bd6);font-size:28px}.duty-setup-empty h2{margin:0 0 7px;font-size:22px}.duty-setup-empty p{margin:0 auto 16px;color:#737d90;line-height:1.55}

.duty-data-dialog{width:min(1040px,calc(100vw - 28px));height:min(780px,calc(100vh - 28px));padding:0;overflow:hidden;border-radius:24px;background:#fff}.duty-data-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:22px 24px 16px;border-bottom:1px solid #e6e9ef}.duty-data-head h2{margin:5px 0 6px;font-size:22px}.duty-data-head p{margin:0;max-width:720px;color:#727c8f;line-height:1.45}.duty-data-count{padding:7px 10px;border-radius:999px;background:#f1f2fb;color:#5450b7;font-size:10px;font-weight:900;white-space:nowrap}.duty-data-tabs{display:flex;gap:5px;padding:9px 16px;border-bottom:1px solid #e8ebf0;background:#f8f9fc;overflow-x:auto}.duty-data-tabs button{padding:8px 12px;border:1px solid transparent;border-radius:10px;background:transparent;color:#667085;font-size:10px;font-weight:850;white-space:nowrap;cursor:pointer}.duty-data-tabs button:hover{background:#fff;border-color:#e0e4eb}.duty-data-tabs button.active{background:var(--primary,#5b5bd6);color:#fff;box-shadow:0 5px 12px rgba(var(--accent-rgb,91,91,214),.20)}.duty-data-body{height:calc(100% - 183px);overflow:auto;padding:18px 20px}.duty-data-actions{margin:0;padding:12px 18px;border-top:1px solid #e8ebf0;background:#fff}.duty-modal-section{display:grid;gap:13px}.duty-modal-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.duty-modal-section-head b,.duty-modal-section-head small{display:block}.duty-modal-section-head b{font-size:14px}.duty-modal-section-head small{margin-top:3px;color:#7d8697}.duty-modal-section-head>div:last-child{display:flex;gap:6px}.duty-modal-search{display:flex;align-items:center;gap:8px;padding:0 10px;border:1px solid #dfe4ec;border-radius:11px;background:#fff}.duty-modal-search input{width:100%;padding:9px 0;border:0;outline:0;background:transparent}.duty-teacher-picker-modal{grid-template-columns:repeat(3,minmax(0,1fr));max-height:none;margin:0}.duty-teacher-picker-modal label{border-radius:12px}.duty-area-editor{display:grid;gap:8px}.duty-area-editor-row{display:grid;grid-template-columns:32px minmax(0,1fr) 175px 38px;align-items:end;gap:9px;padding:10px;border:1px solid #e5e8ef;border-radius:13px;background:#fff}.duty-area-editor-row>span{display:grid;place-items:center;width:30px;height:36px;border-radius:9px;background:#f1f3f7;color:#6b7280;font-weight:900}.duty-area-editor-row label small{display:block;margin-bottom:4px;color:#7e8797;font-size:9px;font-weight:800}.duty-area-editor-row input{width:100%;padding:9px 10px;border:1px solid #dfe4ec;border-radius:10px;background:#fff}.duty-area-count{display:grid;grid-template-columns:75px auto;align-items:end;gap:6px}.duty-area-count small{grid-column:1/-1}.duty-area-count em{padding-bottom:9px;color:#7f8796;font-size:9px;font-style:normal}.duty-constraint-list{display:grid;gap:7px}.duty-constraint-row{display:grid;grid-template-columns:8px minmax(190px,1fr) auto;align-items:center;gap:10px;padding:9px 11px;border:1px solid #e5e8ee;border-radius:12px;background:#fff}.duty-constraint-row .teacher-dot{width:7px;height:30px;border-radius:999px}.duty-constraint-row b,.duty-constraint-row small{display:block}.duty-constraint-row b{font-size:10.5px}.duty-constraint-row small{font-size:8.5px;color:#7e8798}.duty-settings-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.duty-settings-grid label{display:grid;gap:5px;padding:13px;border:1px solid #e4e7ee;border-radius:13px;background:#fbfcfe}.duty-settings-grid label span{font-size:9px;font-weight:850;color:#667085}.duty-settings-grid input,.duty-settings-grid select{width:100%;padding:9px 10px;border:1px solid #dce1e9;border-radius:9px;background:#fff}.duty-settings-note{display:flex;align-items:flex-start;gap:9px;padding:12px 13px;border:1px solid #dde2f6;border-radius:13px;background:#f6f7ff}.duty-settings-note>span{display:grid;place-items:center;width:24px;height:24px;border-radius:8px;background:#e3e5ff;color:#4e4ab6;font-weight:900}.duty-settings-note p{margin:2px 0 0;color:#616b80;line-height:1.45}.duty-modal-empty{padding:36px;border:1px dashed #d8dde7;border-radius:14px;text-align:center;background:#fafbfc}.duty-modal-empty b,.duty-modal-empty span{display:block}.duty-modal-empty span{margin-top:5px;color:#7f8898}

.duty-output-dialog{width:min(820px,calc(100vw - 28px));padding:24px}.duty-output-dialog h2{margin:5px 0 7px;font-size:22px}.duty-output-dialog>p{margin:0;color:#727c8f}.duty-output-options{display:grid;gap:10px;margin:18px 0}.duty-output-options>section{display:grid;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:13px;padding:14px;border:1px solid #e2e6ed;border-radius:16px;background:#fbfcfe}.duty-output-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:rgba(var(--accent-rgb,91,91,214),.10);color:var(--primary,#5b5bd6);font-weight:950}.duty-output-options b,.duty-output-options small{display:block}.duty-output-options small{margin:3px 0 8px;color:#7a8394}.duty-output-options label{display:grid;gap:4px;color:#667085;font-size:9px;font-weight:800}.duty-output-options input{padding:8px 9px;border:1px solid #dce1e9;border-radius:9px;background:#fff}.duty-output-range{display:grid;grid-template-columns:1fr 1fr;gap:7px}

body.theme-dark .duty-distribution-board,body[data-theme="dark"] .duty-distribution-board,body.theme-dark .duty-teacher-pool,body[data-theme="dark"] .duty-teacher-pool,body.theme-dark .duty-data-dialog,body[data-theme="dark"] .duty-data-dialog,body.theme-dark .duty-output-dialog,body[data-theme="dark"] .duty-output-dialog{background:#202634;border-color:#394155;color:#eef1f8}body.theme-dark .duty-pool-card,body[data-theme="dark"] .duty-pool-card,body.theme-dark .duty-area-editor-row,body[data-theme="dark"] .duty-area-editor-row,body.theme-dark .duty-constraint-row,body[data-theme="dark"] .duty-constraint-row,body.theme-dark .duty-settings-grid label,body[data-theme="dark"] .duty-settings-grid label,body.theme-dark .duty-slot-cell,body[data-theme="dark"] .duty-slot-cell{background:#232a39;border-color:#3b4356}body.theme-dark .duty-board-heading,body[data-theme="dark"] .duty-board-heading,body.theme-dark .duty-data-tabs,body[data-theme="dark"] .duty-data-tabs,body.theme-dark .duty-board-table thead th,body[data-theme="dark"] .duty-board-table thead th,body.theme-dark .duty-board-table tbody th,body[data-theme="dark"] .duty-board-table tbody th{background:#1c2230;border-color:#394155;color:#eef1f8}body.theme-dark .duty-pool-card b,body[data-theme="dark"] .duty-pool-card b{color:#eef1f8}body.theme-dark .duty-data-head,body[data-theme="dark"] .duty-data-head,body.theme-dark .duty-data-actions,body[data-theme="dark"] .duty-data-actions{border-color:#394155;background:#202634}

@media(max-width:1100px){.duty-distribution-main{grid-template-columns:240px minmax(0,1fr)}.duty-teacher-picker-modal{grid-template-columns:repeat(2,minmax(0,1fr))}.duty-settings-grid{grid-template-columns:1fr 1fr}}
@media(max-width:820px){.duty-distribution-main{grid-template-columns:1fr}.duty-teacher-pool{position:static;max-height:300px}.duty-board-table{max-height:520px}.duty-data-dialog{height:calc(100vh - 18px);width:calc(100vw - 18px);border-radius:18px}.duty-teacher-picker-modal,.duty-settings-grid{grid-template-columns:1fr}.duty-area-editor-row{grid-template-columns:28px minmax(0,1fr) 38px}.duty-area-count{grid-column:2/3;grid-row:2}.duty-output-options>section{grid-template-columns:42px 1fr}.duty-output-options>section>.btn{grid-column:1/-1}.duty-output-range{grid-template-columns:1fr}.duty-constraint-row{grid-template-columns:8px 1fr}.duty-weekdays{grid-column:1/-1}.duty-modal-section-head{align-items:flex-start;flex-direction:column}}
