.tech-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px}.tech-card{display:grid;gap:7px;text-align:left;padding:16px}.tech-card strong{font-size:16px}.tech-card span{font-size:13px}.tech-dialog{width:min(900px,calc(100% - 32px));max-height:90dvh;border:1px solid var(--line);border-radius:22px;padding:24px;background:var(--panel);color:var(--text);overflow:auto}.tech-dialog::backdrop{background:#07111dbb;backdrop-filter:blur(4px)}.tech-dialog-head{display:flex;justify-content:space-between;gap:12px;align-items:center;position:sticky;top:-24px;background:var(--panel);padding:10px 0;z-index:3}.tech-dialog h2{margin:0;font-size:20px}.tech-dialog label{display:grid;min-width:0;gap:6px}.tech-dialog input,.tech-dialog select,.tech-dialog textarea{width:100%;min-width:0}.tech-dialog form{display:grid;gap:14px;margin:16px 0}.tech-dialog [hidden]{display:none!important}.tech-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.tech-day-tools,.tech-phase-days,.tech-quick-times,.tech-save-actions,.tech-overview-filters,.tech-directory-form{display:flex;flex-wrap:wrap;gap:10px;align-items:end}.tech-quick-times span{flex-basis:100%;font-size:13px}.tech-save-actions{position:sticky;bottom:-24px;padding:14px 0;background:var(--panel);z-index:2}.tech-dialog button,.tech-dialog input,.tech-dialog select{min-height:44px}.tech-shifts{display:grid;gap:8px;margin:14px 0}.tech-shifts button{text-align:left}.tech-ticks{display:flex;justify-content:space-between;font-size:12px;color:var(--muted)}.tech-agenda{margin:18px 0}.tech-track{position:relative;min-height:90px;margin:8px 0;background:repeating-linear-gradient(to right,transparent 0,transparent calc(100% / 24 - 1px),var(--line) calc(100% / 24 - 1px),var(--line) calc(100% / 24));border:1px solid var(--line);border-radius:10px;cursor:crosshair;touch-action:pan-y}.tech-shift-bar{position:absolute;min-height:30px!important;height:30px;padding:3px 16px!important;min-width:5px;white-space:nowrap;overflow:hidden;font-size:12px;cursor:grab;z-index:1}.tech-drag-handle{position:absolute;top:0;bottom:0;width:14px;display:grid;place-items:center;background:#0002;cursor:ew-resize}.tech-drag-handle[data-edge=start]{left:0}.tech-drag-handle[data-edge=end]{right:0}.tech-selection{position:absolute;inset:0 auto 0 0;background:var(--soft);border:2px dashed var(--accent);pointer-events:none}.tech-phase-days button{font-size:12px}.tech-copy{border-top:1px solid var(--line);padding-top:14px}.tech-event-list{display:grid;gap:8px;margin-top:20px}.tech-event-row{display:flex;justify-content:space-between;align-items:center;gap:14px;text-decoration:none;padding:16px;border:1px solid var(--line);border-radius:12px}.tech-event-row:hover{background:var(--soft)}.tech-event-row small{display:block;color:var(--muted);margin-top:6px}.tech-overview-filters label{flex:1;min-width:150px}.tech-overview-filters input,.tech-overview-filters select{width:100%}[data-tech-directory-list]{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px}[data-tech-conflicts]{padding:14px;border:1px solid var(--danger-line);border-radius:12px;background:var(--danger)}[data-tech-dialog-status]{white-space:pre-wrap}[data-tech-phase-days]{margin-top:12px}.tech-agenda small{color:var(--muted)}.tech-dialog button:disabled{opacity:.5;cursor:wait}
@media(max-width:640px){.tech-dialog{width:100%;max-width:100%;max-height:100dvh;height:100dvh;margin:0;border-radius:0;padding:16px}.tech-dialog-head{top:-16px}.tech-save-actions{bottom:-16px;padding-bottom:max(14px,env(safe-area-inset-bottom))}.tech-form-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.tech-dialog input,.tech-dialog select,.tech-dialog textarea{font-size:16px}.tech-event-row{align-items:start;flex-direction:column}.tech-day-tools>*{flex:1}.tech-agenda small{display:none}.tech-shift-bar{font-size:10px}.tech-overview-filters{display:grid;grid-template-columns:1fr}.tech-overview-filters label{min-width:0}.tech-quick-times button{flex:1;min-width:calc(50% - 10px)}}

.tech-event-days{margin-top:20px}.tech-event-days summary{cursor:pointer;font-weight:700}[data-tech-event-days]{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}[data-tech-event-day-form]{margin:14px 0;display:grid}[data-tech-day-total]{font-size:15px}
