/* DersTime v1.21.4 — kesin blok dili, tema bütünlüğü, üçlü dağıtım kapsamı ve ayarlanabilir program yüksekliği */

/* Eski dağıtımlardan tarayıcı önbelleğine kalmış yanıltıcı esnek-gün anahtarlarını görünmez kıl. */
.assignment-editor-modal .flexible-distribution-toggle,
.assignment-editor-modal .allow-same-day-blocks,
.assignment-editor-modal [data-flexible-distribution],
.assignment-editor-modal label:has(input[name="flexibleDistribution"]),
.assignment-editor-modal label:has(input[name="allowFlexibleDistribution"]),
.assignment-editor-modal label:has(input[name="allowSameDayBlocks"]),
.assignment-editor-modal label:has(input[name="sameDayBlocks"]),
.assignment-editor-modal label:has(input[name="allowBlockSplit"]),
.assignment-editor-modal label:has(input[name="splitBlocksAutomatically"]){display:none!important}

.block-day-policy-card{display:grid;grid-template-columns:42px minmax(0,1fr);gap:12px;align-items:start;padding:14px 15px;border:1px solid color-mix(in srgb,var(--primary,#5b5bd6) 24%,#dfe4ee);border-radius:15px;background:linear-gradient(135deg,color-mix(in srgb,var(--primary,#5b5bd6) 7%,#fff),#fff);box-shadow:0 8px 22px rgba(42,49,82,.055)}
.block-day-policy-icon{width:40px;height:40px;display:grid;place-items:center;border-radius:12px;background:linear-gradient(135deg,var(--primary,#5b5bd6),var(--primary2,#7878ef));color:#fff;font-size:18px;font-weight:950;box-shadow:0 8px 18px color-mix(in srgb,var(--primary,#5b5bd6) 25%,transparent)}
.block-day-policy-card b,.block-day-policy-card p,.block-day-policy-card small{display:block}.block-day-policy-card b{margin:1px 0 4px;color:#2f3950;font-size:13px}.block-day-policy-card p{margin:0;color:#4f5d73;font-size:11px;line-height:1.5}.block-day-policy-card p strong{color:var(--primary,#5b5bd6)}.block-day-policy-card small{margin-top:5px;color:#788398;font-size:9px;line-height:1.45}

/* Yayın & Talepler, sayfa zeminiyle kaybolmak yerine tema rengini taşır. */
.workspace-workflow-cta{border-color:color-mix(in srgb,var(--primary,#5b5bd6) 72%,#fff)!important;background:linear-gradient(135deg,var(--primary,#5b5bd6),var(--primary2,#7878ef))!important;color:#fff!important;box-shadow:0 8px 22px color-mix(in srgb,var(--primary,#5b5bd6) 28%,transparent)!important}
.workspace-workflow-cta:hover,.workspace-workflow-cta:focus-visible{border-color:color-mix(in srgb,var(--primary,#5b5bd6) 88%,#fff)!important;box-shadow:0 11px 28px color-mix(in srgb,var(--primary,#5b5bd6) 36%,transparent)!important;filter:saturate(1.05)}
.workspace-workflow-icon{background:rgba(255,255,255,.18)!important;color:#fff!important;border:1px solid rgba(255,255,255,.22);box-shadow:none!important}.workspace-workflow-cta b,.workspace-workflow-cta small{color:#fff!important}.workspace-workflow-cta small{opacity:.78}
.project-primary-actions .project-workflow{border-color:color-mix(in srgb,var(--primary,#5b5bd6) 35%,#dfe3ec)!important;background:linear-gradient(135deg,color-mix(in srgb,var(--primary,#5b5bd6) 10%,#fff),#fff)!important;color:color-mix(in srgb,var(--primary,#5b5bd6) 82%,#222b3d)!important;font-weight:850}.project-primary-actions .project-workflow:hover,.project-primary-actions .project-workflow:focus-visible{border-color:var(--primary,#5b5bd6)!important;background:linear-gradient(135deg,color-mix(in srgb,var(--primary,#5b5bd6) 16%,#fff),#fff)!important;box-shadow:0 8px 18px color-mix(in srgb,var(--primary,#5b5bd6) 14%,transparent)}

/* Dağıtım kapsamı: üç ana seçenek tek satır; katı mod ilk ve görünür varsayılan. */
.solver-options-modal .solver-scope-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;align-items:stretch}
.solver-options-modal .solver-scope-grid>.solver-scope-card{height:100%;min-height:82px!important;grid-template-columns:32px minmax(0,1fr)!important;padding:10px 11px!important}
.solver-options-modal .solver-scope-card-strict{order:1;border-style:solid!important;border-color:color-mix(in srgb,var(--primary,#5b5bd6) 24%,#dfe4ed)!important;background:linear-gradient(145deg,color-mix(in srgb,var(--primary,#5b5bd6) 5%,#fff),#fff)!important}
.solver-options-modal .solver-scope-card:not(.solver-scope-card-strict):not(.solver-scope-card-flex){order:2}.solver-options-modal .solver-scope-card-flex{order:3}
.solver-options-modal .solver-scope-card-strict.active{border-color:var(--primary,#5b5bd6)!important;background:linear-gradient(145deg,color-mix(in srgb,var(--primary,#5b5bd6) 13%,#fff),#fff)!important;box-shadow:0 0 0 2px color-mix(in srgb,var(--primary,#5b5bd6) 12%,transparent),0 9px 22px color-mix(in srgb,var(--primary,#5b5bd6) 12%,transparent)!important}
.solver-options-modal .solver-scope-card-flex.is-auto-recommended:not(.active){border-color:#a8d8c9!important;background:linear-gradient(145deg,#f3fbf8,#fff)!important;box-shadow:none!important}
.solver-class-scope-row{display:grid;grid-template-columns:minmax(0,1fr);margin-top:8px}.solver-class-scope-row .solver-selected-class-card{width:100%;min-height:62px!important;grid-template-columns:32px minmax(0,1fr) auto!important}.solver-selected-class-card>em{position:static!important;justify-self:end;align-self:center;padding:4px 7px;border-radius:999px;background:#eef1f7;color:#687389;font-size:7px;font-style:normal;font-weight:900}

/* Program alanı yüksekliği fare/klavye ile değiştirilebilir. */
.distribution-table-frame{display:grid;grid-template-rows:minmax(0,auto) 23px;min-width:0;width:100%}.distribution-table-frame>.distribution-table-wrap{min-height:240px}.distribution-table-frame>.distribution-table-wrap[data-user-sized="1"]{max-height:none!important;min-height:240px!important;overflow:auto!important}
.schedule-board-resizer{position:relative;width:100%;height:23px;display:flex;align-items:center;justify-content:center;gap:8px;margin:0;padding:0 12px;border:1px solid #dfe4ed;border-top:0;border-radius:0 0 12px 12px;background:linear-gradient(180deg,#f7f9fc,#eef2f7);color:#788398;cursor:row-resize;touch-action:none;user-select:none;transition:background .14s ease,border-color .14s ease,color .14s ease,box-shadow .14s ease}.schedule-board-resizer>span{width:44px;height:4px;border-radius:999px;background:repeating-linear-gradient(90deg,#9ba6b8 0 3px,transparent 3px 6px)}.schedule-board-resizer>small{font-size:8px;font-weight:800;letter-spacing:.01em}.schedule-board-resizer:hover,.schedule-board-resizer:focus-visible,.schedule-board-resizer.is-active{border-color:color-mix(in srgb,var(--primary,#5b5bd6) 40%,#dfe4ed);background:linear-gradient(180deg,color-mix(in srgb,var(--primary,#5b5bd6) 7%,#fff),color-mix(in srgb,var(--primary,#5b5bd6) 10%,#eef2f7));color:var(--primary,#5b5bd6);outline:none;box-shadow:0 7px 16px color-mix(in srgb,var(--primary,#5b5bd6) 10%,transparent)}.schedule-board-resizer.is-active>span{background:var(--primary,#5b5bd6)}
body.schedule-board-is-resizing,body.schedule-board-is-resizing *{cursor:row-resize!important;user-select:none!important}

body.theme-dark .block-day-policy-card,body[data-theme="dark"] .block-day-policy-card{border-color:#4d5872;background:linear-gradient(135deg,#2a3042,#242a3a);box-shadow:none}.theme-dark .block-day-policy-card b,[data-theme="dark"] .block-day-policy-card b{color:#eef1fb}.theme-dark .block-day-policy-card p,[data-theme="dark"] .block-day-policy-card p{color:#c9d0df}.theme-dark .block-day-policy-card small,[data-theme="dark"] .block-day-policy-card small{color:#9fa9bd}
body.theme-dark .project-primary-actions .project-workflow,body[data-theme="dark"] .project-primary-actions .project-workflow{border-color:#505b79!important;background:linear-gradient(135deg,#30374c,#272e40)!important;color:#dfe3ff!important}
body.theme-dark .solver-options-modal .solver-scope-card-strict,body[data-theme="dark"] .solver-options-modal .solver-scope-card-strict{border-color:#59647d!important;background:linear-gradient(145deg,#2b3244,#252c3c)!important}.theme-dark .solver-options-modal .solver-scope-card-strict.active,[data-theme="dark"] .solver-options-modal .solver-scope-card-strict.active{border-color:#8f91ff!important;background:linear-gradient(145deg,#343653,#282f42)!important}
body.theme-dark .schedule-board-resizer,body[data-theme="dark"] .schedule-board-resizer{border-color:#465166;background:linear-gradient(180deg,#30384a,#293143);color:#aeb7c9}.theme-dark .schedule-board-resizer>span,[data-theme="dark"] .schedule-board-resizer>span{background:repeating-linear-gradient(90deg,#778399 0 3px,transparent 3px 6px)}

@media(max-width:930px){.solver-options-modal .solver-scope-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.solver-options-modal .solver-scope-grid>.solver-scope-card-flex{grid-column:1/-1}}
@media(max-width:620px){.solver-options-modal .solver-scope-grid{grid-template-columns:1fr!important}.solver-options-modal .solver-scope-grid>.solver-scope-card-flex{grid-column:auto}.block-day-policy-card{grid-template-columns:35px minmax(0,1fr);padding:12px}.block-day-policy-icon{width:34px;height:34px}.schedule-board-resizer small{display:none}}
@media print{.schedule-board-resizer{display:none!important}.distribution-table-frame{display:block}.distribution-table-frame>.distribution-table-wrap{height:auto!important;max-height:none!important;overflow:visible!important}}
