/* faz1/plan.css · Uygulama planı sekmesi (faz1/plan.js) and the page's tabs (faz1/principles.js). Every rule targets .f1q-pl-
 * or .f1q-tab elements (plus the film's note box, toast and question windows while the page is open); colours come from
 * the page's --pro-* tokens, plus the two kinds of work (light and dark): blue software, orange real life.
 * Leo 2026-10-16 night: two columns, the Gantt on the left (always in view, fits 1366 x 768 without scrolling) and the
 * explanation of the selected part on the right, its lines editable (drafts: new, edited, to be removed, requests). */
.f1q-root { --pl-kod: #2f6fdb; --pl-hayat: #dc7414; --pl-add: #1f8a4c; --pl-del: #c2412d; --pl-ask: #7a4fd0; }
:root[data-film-theme="dark"] .f1q-root { --pl-kod: #7fa6ff; --pl-hayat: #f4a549; --pl-add: #5cc98a; --pl-del: #ff8a75; --pl-ask: #b39cff; }
@media (prefers-color-scheme: dark) { :root:not([data-film-theme]) .f1q-root { --pl-kod: #7fa6ff; --pl-hayat: #f4a549; --pl-add: #5cc98a; --pl-del: #ff8a75; --pl-ask: #b39cff; } }
.f1q-pl-k-kod { --pl-c: var(--pl-kod); }
.f1q-pl-k-hayat { --pl-c: var(--pl-hayat); }

/* the film's note box, its toast, its questions and the password card come up over the page (Leo 2026-10-16: notes on
   every part of the plan); the page sets html.f1q-open while it is open (faz1/principles.js) */
html.f1q-open #f1-fb-pop, html.f1q-open #f1-toast, html.f1q-open #f1-gate { z-index: 130; }
html.f1q-open #f1-toast { position: fixed; }
html.f1q-open #f1-modal { z-index: 125; position: fixed; }
#f1-fb-pop.f1-fb-plan .f1-fb-where { white-space: normal; }

/* ------------------------------------------------------------------ the tabs in the page head */
.f1q-tabs { display: flex; gap: 4px; padding: 3px; border-radius: 10px; background: var(--pro-soft); border: 1px solid var(--pro-line); flex: none; }
.f1q-tab { height: 30px; padding: 0 14px; border: 0; border-radius: 7px; background: transparent; font-size: 13px; font-weight: 600; color: var(--pro-text2); }
.f1q-tab[aria-selected="true"] { background: var(--pro-panel); color: var(--pro-ink); box-shadow: 0 1px 3px rgba(16, 24, 40, .14); }
.f1q-tab:hover { color: var(--pro-accent); }
.f1q-tabpane[hidden] { display: none !important; }

/* ------------------------------------------------------------------ two columns */
.f1q-body.f1q-pl-pane { grid-template-columns: minmax(0, 1fr) clamp(380px, 38vw, 760px); }
.f1q-pl-left { min-width: 0; min-height: 0; overflow: auto; padding: 8px 14px 10px; display: flex; flex-direction: column; gap: 6px; }
.f1q-pl-left > * { flex: none; }
.f1q-pl-detail { min-width: 0; min-height: 0; overflow: auto; border-left: 1px solid var(--pro-line); background: var(--pro-panel); padding: 14px 18px 40px; }
.f1q-pl-print, .f1q-pl-printhead { display: none; }
.f1q-pl-pick { cursor: pointer; }
.f1q-pl-pick:focus-visible { outline: 2px solid var(--pro-accent); outline-offset: 1px; }

/* the legend row: the two colours (clickable), the line styles, the date, print */
.f1q-pl-legend { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; font-size: 12px; color: var(--pro-text2); }
.f1q-pl-kind { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 8px; border: 1px solid var(--pro-line); border-radius: 999px; background: var(--pro-panel); font-size: 12px; }
.f1q-pl-kind b { color: var(--pro-ink); font-weight: 600; }
.f1q-pl-legend-more { display: inline-flex; align-items: center; gap: 6px; }
.f1q-pl-legend-gap { flex: 1 1 0; }
.f1q-pl-updated { margin-left: auto; font-size: 11.5px; color: var(--pro-muted); }
.f1q-pl-printbtn { height: 24px; font-size: 12px; }
.f1q-pl-sw { flex: none; display: inline-block; width: 16px; height: 10px; border-radius: 3px; background: var(--pl-c); vertical-align: 0; }
.f1q-pl-sw-opt { background: repeating-linear-gradient(45deg, var(--pro-text2) 0 3px, transparent 3px 6px); border: 1px solid var(--pro-line); }
.f1q-pl-sw-tail { height: 0; border-top: 3px dashed var(--pro-text2); border-radius: 0; background: none; }

/* the phases (Osman Bey): Faz 1 is this calendar; the others have no duration yet */
.f1q-pl-phases { display: flex; flex-direction: column; gap: 3px; }
.f1q-pl-phrow { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1fr; gap: 4px; }
.f1q-pl-ph { display: flex; flex-direction: column; align-items: flex-start; gap: 0; min-width: 0; padding: 3px 9px; border-radius: 8px; border: 1px dashed var(--pro-line); background: transparent; text-align: left; line-height: 1.3; }
.f1q-pl-phtop { display: flex; align-items: baseline; gap: 6px; max-width: 100%; min-width: 0; }
.f1q-pl-ph b { flex: none; font-size: 12px; }
.f1q-pl-ph small { min-width: 0; font-size: 10.5px; color: var(--pro-text2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.f1q-pl-phbrief { font-size: 11.5px; color: var(--pro-ink); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.f1q-pl-ph-now { border-style: solid; border-color: color-mix(in srgb, var(--pro-accent) 55%, var(--pro-line)); background: color-mix(in srgb, var(--pro-accent) 7%, var(--pro-panel)); }
.f1q-pl-ph-band { height: 18px; border: 0; border-radius: 5px; padding: 0 9px; font-size: 11px; font-weight: 600; text-align: left; color: var(--pro-text2);
  background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--pro-accent) 14%, transparent) 0 10px, color-mix(in srgb, var(--pro-accent) 8%, transparent) 10px 20px); }
.f1q-pl-ph:hover, .f1q-pl-ph-band:hover, .f1q-pl-kind:hover { border-color: var(--pro-accent); color: var(--pro-accent); }

/* the first stage's scope and limits (Leo, 21 Oct 2026): a strip of cards like the phases, two short lines each */
.f1q-pl-scope { display: grid; grid-template-columns: minmax(0, 1.25fr) repeat(4, minmax(0, 1fr)); gap: 4px; }
.f1q-pl-sc { display: flex; flex-direction: column; align-items: flex-start; gap: 0; min-width: 0; padding: 2px 9px; border-radius: 8px; border: 1px solid var(--pro-line); background: var(--pro-panel); text-align: left; line-height: 1.3; }
.f1q-pl-sc b { max-width: 100%; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.f1q-pl-sc span { max-width: 100%; font-size: 11px; color: var(--pro-text2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.f1q-pl-sc-head { border-color: color-mix(in srgb, var(--pro-accent) 55%, var(--pro-line)); background: color-mix(in srgb, var(--pro-accent) 7%, var(--pro-panel)); }
.f1q-pl-sc-head b { color: var(--pro-ink); }
.f1q-pl-sc-yok, .f1q-pl-sc-donanim { border-style: dashed; background: transparent; }
.f1q-pl-sc:hover { border-color: var(--pro-accent); color: var(--pro-accent); }
.f1q-pl-sc.f1q-pl-on { border: 2px solid var(--pro-accent); background: var(--pro-focus); padding: 1px 8px; }
.f1q-pl-linkrow { margin: 4px 0 10px; }
.f1q-pl-linkrow .f1q-btn { height: 28px; }
.f1q-pl-sclist { margin: 2px 0 0; padding-left: 16px; }

/* ------------------------------------------------------------------ the Gantt */
.f1q-pl-tl-wrap { background: var(--pro-panel); border: 1px solid var(--pro-line); border-radius: 10px; padding: 4px 10px 6px; overflow-x: auto; }
.f1q-pl-tl { --pl-lab: 230px; --pl-row: 23px; display: grid; grid-template-columns: var(--pl-lab) minmax(420px, 1fr); row-gap: 1px; align-items: center; }
.f1q-pl-tl-months, .f1q-pl-tl-weeks, .f1q-pl-tl-ms, .f1q-pl-tl-track { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); align-items: center; position: relative; }
.f1q-pl-tl-lab { font-size: 12px; padding-right: 8px; min-width: 0; }
.f1q-pl-tl-head { font-weight: 700; color: var(--pro-text2); font-size: 11.5px; }
.f1q-pl-tl-sub { color: var(--pro-text2); font-size: 11px; }
.f1q-pl-tl-months span { font-size: 11.5px; font-weight: 700; color: var(--pro-text2); padding: 1px 4px; border-left: 1px solid var(--pro-line); }
.f1q-pl-tl-weeks span { font-size: 10px; color: var(--pro-muted); padding-left: 3px; border-left: 1px solid var(--pro-line); font-variant-numeric: tabular-nums; }
.f1q-pl-tl-ms { height: 22px; }
.f1q-pl-ms { position: relative; display: flex; justify-content: center; align-items: center; height: 22px; padding: 0; border: 0; background: transparent; z-index: 2; }
.f1q-pl-ms i { width: 11px; height: 11px; transform: rotate(45deg); background: var(--pro-ink); border-radius: 2px; }
.f1q-pl-ms b { position: absolute; left: 50%; top: 2px; transform: translateX(7px); font-size: 10.5px; white-space: nowrap; }
.f1q-pl-ms:hover i { background: var(--pro-accent); }
.f1q-pl-tl-stage { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 8px; height: 19px; margin-top: 2px; padding: 2px 4px 0; border: 0; border-top: 1px solid var(--pro-line); border-radius: 0; background: transparent; text-align: left; font-size: 11.5px; }
.f1q-pl-tl-stage span { color: var(--pro-text2); font-size: 11px; }
.f1q-pl-tl-stage:hover b { color: var(--pro-accent); }
.f1q-pl-tl-name { display: flex; align-items: center; gap: 6px; height: var(--pl-row); border: 0; background: transparent; text-align: left; border-radius: 6px; padding-left: 2px; }
.f1q-pl-tl-name:hover { background: var(--pro-focus); color: var(--pro-accent); }
.f1q-pl-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.f1q-pl-tl-name em { flex: none; font-style: normal; font-size: 10px; color: var(--pro-text2); border: 1px dashed var(--pro-line); border-radius: 999px; padding: 0 5px; }
.f1q-pl-no { flex: none; width: 18px; height: 18px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 10.5px; font-weight: 700; background: var(--pro-soft); color: var(--pro-text2); }
/* a faint line at the start of every week */
.f1q-pl-tl-track { height: var(--pl-row); background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--pro-line) 70%, transparent) 0 1px, transparent 1px calc(100% * 5 / var(--cols))); }
.f1q-pl-tl-line { grid-row: 1; height: var(--pl-row); width: 0; justify-self: center; border-left: 1px dashed color-mix(in srgb, var(--pro-ink) 28%, transparent); }
.f1q-pl-bar { grid-row: 1; position: relative; display: flex; height: 16px; border-radius: 5px; overflow: hidden; z-index: 1; min-width: 0; }
.f1q-pl-seg { display: block; height: 100%; min-width: 0; padding: 0; border: 0; border-radius: 0; background: var(--pl-c); }
.f1q-pl-seg + .f1q-pl-seg { box-shadow: inset 1px 0 0 rgba(255, 255, 255, .85); }
.f1q-pl-seg:hover { filter: brightness(1.12); }
.f1q-pl-opt .f1q-pl-seg { background: repeating-linear-gradient(45deg, var(--pl-c) 0 6px, color-mix(in srgb, var(--pl-c) 55%, transparent) 6px 12px); }
.f1q-pl-bartext { position: absolute; left: 6px; top: 0; line-height: 16px; font-size: 10px; font-weight: 700; color: #fff; text-shadow: 0 1px 1px rgba(0, 0, 0, .35); white-space: nowrap; pointer-events: none; }
.f1q-pl-dur { grid-row: 1; padding-left: 5px; font-size: 10px; font-weight: 600; color: var(--pro-text2); white-space: nowrap; overflow: hidden; }
.f1q-pl-dur-before { padding: 0 5px 0 0; text-align: right; }
.f1q-pl-tail { grid-row: 1; height: 4px; border-radius: 2px; background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--pl-c) 60%, transparent) 0 6px, transparent 6px 10px); }

/* the selection: the step name, the whole bar or one part, a decision, a stage, a colour, a phase */
.f1q-pl-tl-name.f1q-pl-on { background: var(--pro-focus); color: var(--pro-accent); font-weight: 700; }
.f1q-pl-tl-name.f1q-pl-on .f1q-pl-no { background: var(--pro-accent); color: var(--pro-panel); }
.f1q-pl-bar.f1q-pl-on { outline: 2px solid var(--pro-ink); outline-offset: 2px; }
.f1q-pl-seg.f1q-pl-on { box-shadow: inset 0 0 0 2px var(--pro-ink), inset 0 0 0 4px rgba(255, 255, 255, .7); }
.f1q-pl-ms.f1q-pl-on i { background: var(--pro-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--pro-accent) 35%, transparent); }
.f1q-pl-ms.f1q-pl-on b { color: var(--pro-accent); }
.f1q-pl-tl-stage.f1q-pl-on, .f1q-pl-morebtn.f1q-pl-on { color: var(--pro-accent); background: var(--pro-focus); }
.f1q-pl-kind.f1q-pl-on, .f1q-pl-ph.f1q-pl-on { border: 2px solid var(--pro-accent); background: var(--pro-focus); }
.f1q-pl-ph-band.f1q-pl-on { box-shadow: inset 0 0 0 2px var(--pro-accent); color: var(--pro-accent); }
/* a part with notes: a small dot */
.f1q-pl-tl-name.f1q-pl-noted::after, .f1q-pl-morebtn.f1q-pl-noted::after, .f1q-pl-ph.f1q-pl-noted b::after, .f1q-pl-kind.f1q-pl-noted::after, .f1q-pl-sc.f1q-pl-noted b::after {
  content: ''; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--pro-accent); margin-left: 4px; display: inline-block; vertical-align: 2px; }
.f1q-pl-seg.f1q-pl-noted, .f1q-pl-ms.f1q-pl-noted i { outline: 2px solid var(--pro-accent); outline-offset: -1px; }

/* the other parts of the plan */
.f1q-pl-more { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: 12px; color: var(--pro-text2); }
.f1q-pl-morebtn { height: 24px; padding: 0 10px; border: 1px solid var(--pro-line); border-radius: 7px; background: var(--pro-panel); font-size: 12px; }
.f1q-pl-morebtn:hover { border-color: var(--pro-accent); color: var(--pro-accent); }

/* ------------------------------------------------------------------ the explanation */
.f1q-pl-dhead { margin-bottom: 10px; }
.f1q-pl-kicker { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .02em; color: var(--pro-text2); text-transform: uppercase; }
.f1q-pl-dhead h2 { margin: 2px 0 6px; font-size: 19px; line-height: 1.25; }
.f1q-pl-dmeta { display: flex; flex-wrap: wrap; gap: 6px; }
.f1q-pl-chip { font-size: 11.5px; font-weight: 600; padding: 2px 9px; border-radius: 999px; border: 1px solid var(--pro-line); color: var(--pro-text2); }
.f1q-pl-kchip { color: var(--pl-c); border-color: color-mix(in srgb, var(--pl-c) 45%, transparent); background: color-mix(in srgb, var(--pl-c) 9%, transparent); }
.f1q-pl-partpick { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.f1q-pl-partbtn { height: 28px; font-size: 12.5px; display: inline-flex; align-items: center; gap: 6px; }
.f1q-pl-partbtn.f1q-pl-on { border-color: var(--pro-accent); color: var(--pro-accent); background: var(--pro-focus); }
.f1q-pl-dbody { display: flex; flex-direction: column; gap: 4px; }
.f1q-pl-dsec { padding: 8px 10px 6px; border-radius: 10px; border: 1px solid transparent; }
.f1q-pl-dsec h3 { display: flex; align-items: center; gap: 6px; margin: 0 0 4px; font-size: 12px; font-weight: 700; letter-spacing: .02em; color: var(--pro-text2); text-transform: uppercase; }
.f1q-pl-dsec.f1q-pl-k-kod h3, .f1q-pl-dsec.f1q-pl-k-hayat h3 { color: var(--pl-c); }
.f1q-pl-dsec.f1q-pl-focus { border-color: color-mix(in srgb, var(--pl-c, var(--pro-accent)) 55%, transparent); background: color-mix(in srgb, var(--pl-c, var(--pro-accent)) 6%, transparent); }
.f1q-pl-dsec-sm { padding: 4px 0 2px; }
.f1q-pl-dsec-sm h3 { font-size: 11px; }
.f1q-pl-lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1px; }
.f1q-pl-line { position: relative; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; padding: 3px 8px 3px 10px; border-radius: 6px; font-size: 14px; line-height: 1.5; border-left: 3px solid transparent; }
.f1q-pl-bullets .f1q-pl-line .f1q-pl-txt::before { content: '•'; margin-right: 7px; color: var(--pro-text2); }
.f1q-pl-line:hover { background: var(--pro-soft); }
.f1q-pl-txt { flex: 1 1 100%; min-width: 0; }
/* the tools of a plan line float over its end on hover; a draft shows them under its text, beside its state */
.f1q-pl-tools { display: inline-flex; gap: 4px; flex: none; }
.f1q-pl-line[data-state="base"] .f1q-pl-tools { position: absolute; right: 4px; top: 2px; padding: 2px; border-radius: 7px; background: var(--pro-soft); box-shadow: -10px 0 10px var(--pro-soft); opacity: 0; pointer-events: none; transition: opacity .12s; }
.f1q-pl-line[data-state="base"]:hover .f1q-pl-tools, .f1q-pl-line[data-state="base"]:focus-within .f1q-pl-tools { opacity: 1; pointer-events: auto; }
.f1q-pl-tool { height: 22px; padding: 0 8px; border: 1px solid var(--pro-line); border-radius: 6px; background: var(--pro-panel); font-size: 11.5px; color: var(--pro-text2); }
.f1q-pl-tool:hover { border-color: var(--pro-accent); color: var(--pro-accent); }
.f1q-pl-before { flex-basis: 100%; font-size: 12px; color: var(--pro-text2); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--pl-del) 60%, transparent); }
.f1q-pl-tag { flex: 1 1 auto; font-size: 11px; font-weight: 600; color: var(--pro-text2); }
.f1q-pl-line[data-state="add"] { border-left-color: var(--pl-add); background: color-mix(in srgb, var(--pl-add) 7%, transparent); }
.f1q-pl-line[data-state="add"] .f1q-pl-tag { color: var(--pl-add); }
.f1q-pl-line[data-state="edit"] { border-left-color: var(--pl-hayat); background: color-mix(in srgb, var(--pl-hayat) 7%, transparent); }
.f1q-pl-line[data-state="edit"] .f1q-pl-tag { color: var(--pl-hayat); }
.f1q-pl-line[data-state="remove"] { border-left-color: var(--pl-del); }
.f1q-pl-line[data-state="remove"] .f1q-pl-txt { text-decoration: line-through; color: var(--pro-text2); }
.f1q-pl-line[data-state="remove"] .f1q-pl-tag { color: var(--pl-del); }
.f1q-pl-line[data-state="istek"] { border-left-color: var(--pl-ask); background: color-mix(in srgb, var(--pl-ask) 7%, transparent); font-style: italic; }
.f1q-pl-line[data-state="istek"] .f1q-pl-tag { color: var(--pl-ask); font-style: normal; }
.f1q-pl-line[data-state="done"] { border-left-color: var(--pro-text2); }
.f1q-pl-empty { font-size: 12.5px; color: var(--pro-muted); padding: 2px 10px; }
.f1q-pl-addrow { padding: 2px 4px 0 6px; }
.f1q-pl-add { height: 24px; padding: 0 6px; border: 0; border-radius: 6px; background: transparent; font-size: 12px; font-weight: 600; color: var(--pro-text2); }
.f1q-pl-add:hover { color: var(--pro-accent); background: var(--pro-focus); }
.f1q-pl-dsec:not(:hover):not(:focus-within) .f1q-pl-add { color: var(--pro-muted); }
.f1q-pl-editor { flex: 1 1 100%; display: flex; flex-direction: column; gap: 6px; padding: 6px; border: 1px solid var(--pro-accent); border-radius: 8px; background: var(--pro-page); }
.f1q-pl-line-ed { padding: 2px 0; }
.f1q-pl-ta { width: 100%; min-height: 54px; resize: vertical; padding: 6px 8px; border: 1px solid var(--pro-line); border-radius: 6px; background: var(--pro-panel); color: var(--pro-ink); font: inherit; font-size: 14px; line-height: 1.45; }
.f1q-pl-ta:focus { outline: 2px solid var(--pro-accent); outline-offset: 0; }
.f1q-pl-edbar { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.f1q-pl-edbar small { flex: 1 1 160px; font-size: 11.5px; color: var(--pro-text2); }
.f1q-pl-edbar .f1q-btn { height: 28px; }
.f1q-pl-msg { margin: 0; font-size: 12.5px; color: var(--pl-del); }
.f1q-pl-child { padding: 8px 10px; border-radius: 10px; border: 1px solid var(--pro-line); background: var(--pro-page); }
.f1q-pl-childhead { display: flex; flex-direction: column; align-items: flex-start; gap: 0; width: 100%; padding: 0; border: 0; background: transparent; text-align: left; }
.f1q-pl-childhead b { font-size: 14px; }
.f1q-pl-childhead small { font-size: 11.5px; color: var(--pro-text2); }
.f1q-pl-childhead:hover b { color: var(--pro-accent); }

/* the notes on this part */
.f1q-pl-thread { margin-top: 16px; padding-top: 10px; border-top: 1px solid var(--pro-line); }
.f1q-pl-thread h3 { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .02em; color: var(--pro-text2); text-transform: uppercase; }
.f1q-pl-thread h3 small { font-weight: 500; }
.f1q-pl-hint { margin: 0; font-size: 12.5px; color: var(--pro-text2); line-height: 1.45; }
.f1q-pl-notelist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.f1q-pl-notelist li { padding: 6px 9px; border-radius: 8px; background: var(--pro-page); border: 1px solid var(--pro-line); font-size: 12.5px; }
.f1q-pl-notelist li[data-status="undone"] { opacity: .65; }
.f1q-pl-nmeta { display: flex; flex-wrap: wrap; gap: 4px 10px; color: var(--pro-text2); font-size: 11.5px; }
.f1q-pl-nmeta b { color: var(--pro-ink); }
.f1q-pl-nstate { margin-left: auto; font-weight: 600; }
.f1q-pl-notelist li[data-status="new"] .f1q-pl-nstate { color: var(--pl-hayat); }
.f1q-pl-notelist li[data-status="done"] .f1q-pl-nstate { color: var(--pl-add); }
.f1q-pl-nwhat { color: var(--pro-text2); font-size: 11.5px; }
.f1q-pl-nbody { margin-top: 2px; }

/* ------------------------------------------------------------------ print-only full text (the same classes as before) */
.f1q-pl-sec { margin: 0 0 22px; }
.f1q-pl-sec > h2 { margin: 0 0 4px; font-size: 16px; }
.f1q-pl-intro { margin: 0 0 10px; font-size: 13px; }
.f1q-pl-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 8px; }
.f1q-pl-fact { display: flex; flex-direction: column; gap: 3px; padding: 8px 10px; border: 1px solid #ccc; border-radius: 8px; font-size: 12px; }
.f1q-pl-ms-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; font-size: 12px; }
.f1q-pl-ms-list b { margin-right: 6px; }
.f1q-pl-rules { margin: 0; padding-left: 18px; font-size: 12px; }
.f1q-pl-rules li { margin-bottom: 4px; }
.f1q-pl-rules li b { margin-right: 6px; }
.f1q-pl-steps { display: flex; flex-direction: column; gap: 8px; }
.f1q-pl-stagehead { display: flex; gap: 8px; align-items: baseline; margin: 8px 0 0; font-size: 14px; }
.f1q-pl-stagehead span { font-weight: 500; font-size: 12px; }
.f1q-pl-step { border: 1px solid #ccc; border-radius: 8px; padding: 8px 10px; }
.f1q-pl-step header { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.f1q-pl-step h3 { margin: 0; font-size: 14px; }
.f1q-pl-stepno { font-weight: 700; }
.f1q-pl-step dl { margin: 0; display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 3px 10px; font-size: 12px; }
.f1q-pl-row { display: contents; }
.f1q-pl-step dt { font-weight: 700; }
.f1q-pl-step dd { margin: 0; }
.f1q-pl-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.f1q-pl-table th, .f1q-pl-table td { text-align: left; vertical-align: top; padding: 4px 6px; border-top: 1px solid #ccc; }

/* ------------------------------------------------------------------ windows */
@media (max-width: 1599px) {
  .f1q-pl-tl { --pl-lab: 210px; }
  .f1q-pl-lg-x { display: none; }
  .f1q-pl-legend { gap: 4px 8px; }
}
@media (max-width: 1100px) {
  .f1q-pl-tl { --pl-lab: 170px; }
  .f1q-pl-phrow { grid-template-columns: 1fr 1fr; }
  .f1q-pl-scope { grid-template-columns: 1fr 1fr; }
  .f1q-pl-sc-head { grid-column: 1 / -1; }
}
/* a short window (1366 x 768): the steps of the first stage (Leo, 21 Oct 2026) still fit without scrolling */
@media (max-height: 820px) and (min-width: 1000px) {
  .f1q-pl-tl { --pl-row: 19px; }
  .f1q-pl-bar { height: 14px; }
  .f1q-pl-bartext { line-height: 14px; }
  .f1q-pl-tl-name .f1q-pl-no { width: 16px; height: 16px; font-size: 10px; }
  .f1q-pl-tl-stage { height: 17px; margin-top: 1px; padding-top: 1px; }
}
@media (max-width: 999px) {
  .f1q-body.f1q-pl-pane { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; overflow: auto; }
  .f1q-pl-left, .f1q-pl-detail { overflow: visible; }
  .f1q-pl-detail { border-left: 0; border-top: 1px solid var(--pro-line); }
}
@media (min-width: 1800px) {
  .f1q-pl-tl { --pl-lab: 290px; --pl-row: 27px; }
  .f1q-pl-tl-name { font-size: 13px; }
  .f1q-pl-line { font-size: 15px; }
}

@media (min-width: 1800px) and (min-height: 1000px) {
  .f1q-pl-tl { --pl-row: 33px; }
  .f1q-pl-bar { height: 20px; }
  .f1q-pl-bartext { line-height: 20px; }
  .f1q-pl-tl-stage { height: 24px; font-size: 12.5px; }
}

/* ------------------------------------------------------------------ print: only the plan, the Gantt and the full text */
@media print {
  html.f1q-pl-printing body > *:not(#f1q-root) { display: none !important; }
  html.f1q-pl-printing .f1q-root { position: static; display: block; background: #fff; color: #111; }
  html.f1q-pl-printing .f1q-head, html.f1q-pl-printing .f1q-tabpane[data-pane="ilkeler"], html.f1q-pl-printing .f1q-pl-detail,
  html.f1q-pl-printing .f1q-pl-more, html.f1q-pl-printing .f1q-pl-printbtn, html.f1q-pl-printing .f1q-pl-scope, html.f1q-pl-printing .f1q-pl-legend .f1q-pl-updated { display: none !important; }
  html.f1q-pl-printing .f1q-tabpane[data-pane="plan"] { display: block !important; overflow: visible !important; height: auto !important; }
  html.f1q-pl-printing .f1q-pl-left { overflow: visible !important; padding: 0 !important; }
  html.f1q-pl-printing .f1q-pl-print, html.f1q-pl-printing .f1q-pl-printhead { display: block !important; }
  html.f1q-pl-printing .f1q-pl-print { margin-top: 16px; }
  html.f1q-pl-printing .f1q-pl-printhead h1 { margin: 0; font-size: 20px; }
  html.f1q-pl-printing .f1q-pl-printhead p { margin: 0 0 6px; font-size: 12px; }
  html.f1q-pl-printing .f1q-pl-name { white-space: normal; }
  html.f1q-pl-printing .f1q-pl-tl-name { height: auto; min-height: var(--pl-row); }
  html.f1q-pl-printing .f1q-pl-tl-name.f1q-pl-on { color: inherit; font-weight: inherit; }
  html.f1q-pl-printing .f1q-pl-tl-name.f1q-pl-on .f1q-pl-no { background: var(--pro-soft); color: var(--pro-text2); }
  html.f1q-pl-printing .f1q-pl-on { outline: 0 !important; box-shadow: none !important; background: transparent; }
  html.f1q-pl-printing .f1q-pl-noted::after { display: none !important; }
  html.f1q-pl-printing .f1q-pl-seg.f1q-pl-noted, html.f1q-pl-printing .f1q-pl-ms.f1q-pl-noted i { outline: 0 !important; }
  html.f1q-pl-printing .f1q-pl-step, html.f1q-pl-printing .f1q-pl-fact, html.f1q-pl-printing .f1q-pl-table tr, html.f1q-pl-printing .f1q-pl-tl-wrap { break-inside: avoid; }
  html.f1q-pl-printing .f1q-pl-sec > h2 { break-after: avoid; }
  html.f1q-pl-printing .f1q-pl-tl { --pl-lab: 210px; grid-template-columns: var(--pl-lab) minmax(0, 1fr); }
  html.f1q-pl-printing .f1q-pl-tl-wrap { overflow: visible; }
  html.f1q-pl-printing .f1q-pl-seg, html.f1q-pl-printing .f1q-pl-sw, html.f1q-pl-printing .f1q-pl-ph-band { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
}
