/* ───────────── Delivery module: portfolio, board, backlog, sprints, teams, reports, import ───────────── */

.dlhero { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; animation: fadeUp .45s both; }
.dlhero h2 { margin: 0; font-size: 26px; letter-spacing: -.02em; display: flex; align-items: center; gap: 10px; } .dlhero h2 svg { width: 26px; height: 26px; stroke: var(--brand); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dlhero p { margin: 6px 0 0; color: var(--mut); max-width: 640px; } .dlactions { display: flex; gap: 10px; flex-wrap: wrap; }
.dlkpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 16px; }
.dlkpi { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 2px; text-decoration: none; color: var(--ink); transition: transform .2s, border-color .2s; animation: fadeUp .45s both; }
.dlkpi.link:hover { transform: translateY(-3px); border-color: var(--brand-glow); } .dlkpi span { font-size: 12px; color: var(--mut); font-weight: 600; } .dlkpi b { font-size: 26px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; } .dlkpi b small { font-size: 13px; color: var(--mut); } .dlkpi b.neg { color: var(--bad); }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 16px; }
.pcard { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; animation: fadeUp .45s both; }
.pcard::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--c); } .pcard:hover { transform: translateY(-4px); border-color: var(--c); box-shadow: 0 22px 40px -26px var(--c); }
.pcard .top { display: flex; justify-content: space-between; align-items: center; } .pcard h3 { margin: 2px 0 0; font-size: 18px; letter-spacing: -.01em; } .pcard p { margin: 0; font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 36px; }
.pkey { font-weight: 800; font-size: 11.5px; letter-spacing: .08em; background: color-mix(in srgb, var(--c, var(--brand)) 16%, transparent); color: var(--c, var(--brand-ink)); padding: 3px 9px; border-radius: 8px; }
.pst { font-size: 11px; font-weight: 700; padding: 2px 10px; border-radius: 99px; background: var(--surface2); color: var(--mut); text-transform: capitalize; white-space: nowrap; } .pst.active { background: var(--ok-soft); color: var(--ok); } .pst.on_hold, .pst.planning { background: var(--warn-soft); color: var(--warn); } .pst.completed { background: var(--info-soft); color: var(--info); } .pst.archived { opacity: .7; }
.pmeta { display: flex; gap: 14px; font-size: 12.5px; color: var(--mut); flex-wrap: wrap; } .pmeta b { color: var(--ink); } .pfoot { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: var(--mut); border-top: 1px solid var(--line); padding-top: 10px; margin-top: 2px; gap: 8px; flex-wrap: wrap; }
.pfoot svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.8; vertical-align: -2px; } .pfoot em { font-style: normal; } .pfoot .live { color: var(--ok); font-weight: 650; } .late { color: var(--bad); font-weight: 650; }
.dlbar { height: 7px; border-radius: 99px; background: var(--line); overflow: hidden; flex: 1; min-width: 60px; } .dlbar i { display: block; height: 100%; border-radius: 99px; background: var(--brand); transition: width .6s cubic-bezier(.2, .8, .2, 1); }

.dlhead { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; flex-wrap: wrap; border-left: 5px solid var(--c); padding: 2px 0 2px 16px; margin-bottom: 14px; animation: fadeUp .4s both; }
.dlhead .ttl { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 2px; } .dlhead h2 { margin: 0; font-size: 24px; letter-spacing: -.02em; } .dlhead .sub { display: flex; align-items: center; gap: 14px; margin-top: 8px; min-width: 300px; font-size: 13px; color: var(--mut); } .dlhead .sub b { color: var(--ink); }
.dltabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 16px; overflow-x: auto; scrollbar-width: none; }
.dltabs a { display: flex; align-items: center; gap: 7px; padding: 10px 16px; color: var(--mut); text-decoration: none; font-weight: 600; font-size: 13.5px; border-bottom: 2.5px solid transparent; margin-bottom: -1px; white-space: nowrap; transition: color .2s, border-color .2s; } .dltabs a svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dltabs a:hover { color: var(--ink); } .dltabs a.on { color: var(--brand-ink); border-bottom-color: var(--brand); }
.dltool { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; } .grow { flex: 1; } .dltool label.f { display: flex; flex-direction: column; gap: 3px; font-size: 11.5px; font-weight: 600; color: var(--mut); }
.dlsearch { min-width: 160px; max-width: 230px; }

.sprinthead { display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 18px; margin-bottom: 14px; box-shadow: var(--shadow); } .sprinthead .goal { font-size: 12.5px; margin-top: 3px; } .sprintprog { display: flex; align-items: center; gap: 10px; min-width: 220px; font-size: 12.5px; font-weight: 650; }
.kanban { display: grid; grid-template-columns: repeat(4, minmax(230px, 1fr)); gap: 14px; overflow-x: auto; padding-bottom: 10px; align-items: start; }
.kcol { background: color-mix(in srgb, var(--surface2) 85%, transparent); border: 1px solid var(--line); border-radius: 16px; padding: 10px; min-height: 240px; transition: border-color .2s, background .2s; }
.kcol.over { border-color: var(--brand); background: var(--brand-soft); } .kcol header { display: flex; justify-content: space-between; align-items: center; padding: 4px 6px 10px; font-size: 13px; } .kcol header span { color: var(--mut); font-size: 12px; }
.kcol[data-status=in_progress] header b { color: var(--info); } .kcol[data-status=submitted] header b { color: var(--warn); } .kcol[data-status=done] header b { color: var(--ok); }
.kbody { display: flex; flex-direction: column; gap: 9px; } .kempty { text-align: center; color: var(--mut); font-size: 12.5px; padding: 18px 6px; border: 1.5px dashed var(--line2); border-radius: 12px; }
.tcard { background: var(--surface); border: 1px solid var(--line); border-radius: 13px; padding: 10px 12px; cursor: grab; box-shadow: 0 1px 2px rgba(16, 32, 59, .05); transition: transform .18s, box-shadow .18s, border-color .18s; animation: fadeUp .35s both; }
.tcard:hover { transform: translateY(-2px); border-color: var(--brand-glow); box-shadow: var(--shadow); } .tcard.drag { opacity: .4; transform: rotate(2deg); } .tcard.blocked { border-left: 3px solid var(--bad); }
.tcard .r1, .tcard .r3 { display: flex; align-items: center; gap: 7px; } .tcard .ttitle { font-size: 13.5px; font-weight: 550; margin: 7px 0 9px; line-height: 1.35; } .tkey { font-size: 11.5px; font-weight: 700; color: var(--mut); letter-spacing: .02em; }
.typei { width: 17px; height: 17px; border-radius: 5px; color: #fff; font-style: normal; font-size: 10px; font-weight: 800; display: inline-grid; place-items: center; flex: none; } .prio { font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: -1px; }
.tchip { font-size: 10.5px; font-weight: 700; padding: 1px 8px; border-radius: 99px; background: color-mix(in srgb, var(--c) 15%, transparent); color: var(--c); border: 1px solid color-mix(in srgb, var(--c) 30%, transparent); white-space: nowrap; }
.pts { min-width: 22px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--surface2); border: 1px solid var(--line2); font-size: 11.5px; font-weight: 700; display: inline-grid; place-items: center; } .pts.none { color: var(--mut); } .pts.big { height: 24px; font-size: 12.5px; }
.due { font-size: 11px; color: var(--mut); } .due.late { color: var(--bad); font-weight: 700; } .bflag { font-size: 11px; }
.dlav { --h: 220; width: 24px; height: 24px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 9.5px; font-weight: 800; color: #fff; background: hsl(var(--h) 55% 48%); flex: none; } .dlav.none { background: var(--line2); color: var(--mut); }

.bsec { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; margin-bottom: 12px; overflow: hidden; transition: border-color .2s, box-shadow .2s; } .bsec.over { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.bsec > header { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--surface2); } .bsec .bh { display: flex; flex-direction: column; } .bsec .bh .mut { font-size: 12px; } .fold { background: transparent !important; color: var(--mut) !important; border: 0 !important; box-shadow: none !important; min-height: 26px; width: 26px; padding: 0 !important; }
.brow { display: flex; align-items: center; gap: 10px; padding: 8px 14px; border-top: 1px solid var(--line); cursor: pointer; font-size: 13.5px; transition: background .15s; } .brow:hover { background: var(--surface2); } .brow .bt { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.quick { padding: 8px 14px; border-top: 1px solid var(--line); } .quick input { width: 100%; border-style: dashed; }

dialog.wide { width: min(980px, 96vw); } .tdlg { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 24px; } .tmain { min-width: 0; } .thead { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; } .thead .sm, button.sm { min-height: 28px; padding: 3px 11px; font-size: 12px; }
.ttl { width: 100%; border: 1.5px solid transparent !important; background: transparent !important; font-size: 21px; font-weight: 700; letter-spacing: -.02em; padding: 6px 8px; border-radius: 10px; } .ttl:hover:not([readonly]), .ttl:focus { border-color: var(--line2) !important; background: var(--surface2) !important; }
.tstatus { display: flex; gap: 6px; align-items: center; margin: 10px 0 14px; flex-wrap: wrap; } button.st { background: var(--surface2) !important; color: var(--mut) !important; border: 1px solid var(--line2) !important; box-shadow: none !important; min-height: 30px; padding: 4px 13px; font-size: 12.5px; }
button.st.on { color: #fff !important; border-color: transparent !important; } button.st.on.todo { background: #64748b !important; } button.st.on.in_progress { background: #3b82f6 !important; } button.st.on.submitted { background: #f59e0b !important; } button.st.on.done { background: #22c55e !important; }
.tside { background: var(--surface2); border: 1px solid var(--line); border-radius: 16px; padding: 14px; align-self: start; } .fields { display: flex; flex-direction: column; gap: 10px; } .fields label.f, .tdlg label.f { display: flex; flex-direction: column; gap: 3px; font-size: 11.5px; font-weight: 600; color: var(--mut); } .fields .two, #ntf .two, #spf .two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tmeta { font-size: 12px; margin: 14px 0 8px; line-height: 1.6; } .tsub { border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; margin: 12px 0; } .tsub .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.srow { display: flex; align-items: center; gap: 9px; padding: 6px 4px; font-size: 13px; border-top: 1px solid var(--line); cursor: pointer; } .srow:hover { background: var(--surface2); } .srow .bt { flex: 1; min-width: 0; }
.ttabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 14px 0 10px; } .ttabs button { background: transparent !important; color: var(--mut) !important; border: 0 !important; border-bottom: 2px solid transparent !important; border-radius: 0 !important; box-shadow: none !important; min-height: 32px; } .ttabs button.on { color: var(--brand-ink) !important; border-bottom-color: var(--brand) !important; }
.acts { display: flex; flex-direction: column; gap: 8px; max-height: 260px; overflow: auto; } .act { display: flex; gap: 10px; font-size: 13px; align-items: flex-start; } .act i { flex: none; width: 8px; height: 8px; margin-top: 6px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); } .act small { display: block; color: var(--mut); font-size: 11.5px; }

.tl { overflow-x: auto; } .tlaxis { position: relative; height: 26px; margin-left: 130px; border-bottom: 1px solid var(--line); } .tlaxis i { position: absolute; top: 0; bottom: 0; border-left: 1px dashed var(--line2); } .tlaxis i span { position: absolute; top: 4px; left: 5px; font-size: 11px; color: var(--mut); font-style: normal; white-space: nowrap; }
.tlaxis .today { position: absolute; top: 0; bottom: -400px; border-left: 2px solid var(--bad); z-index: 2; pointer-events: none; } .tlaxis .today span { position: absolute; top: 4px; left: 4px; font-size: 10.5px; color: var(--bad); font-weight: 700; }
.lane { display: flex; align-items: center; min-height: 46px; border-bottom: 1px solid var(--line); } .lane .ln { width: 130px; flex: none; font-size: 12.5px; font-weight: 650; display: flex; align-items: center; gap: 8px; } .lane .ln i { width: 10px; height: 10px; border-radius: 3px; }
.lane .lt { position: relative; flex: 1; height: 34px; min-width: 520px; } .sbar { position: absolute; top: 3px; height: 28px; border-radius: 9px; background: color-mix(in srgb, var(--c) 22%, var(--surface)); border: 1.5px solid var(--c); overflow: hidden; display: flex; align-items: center; padding: 0 8px; font-size: 11.5px; font-weight: 700; color: var(--ink); transition: transform .2s; }
.sbar:hover { transform: translateY(-2px); z-index: 3; } .sbar span { position: relative; z-index: 1; white-space: nowrap; } .sbar em { position: absolute; left: 0; top: 0; bottom: 0; background: color-mix(in srgb, var(--c) 45%, transparent); } .sbar.active { box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 30%, transparent); } .sbar.completed { opacity: .6; } .sbar.planned { border-style: dashed; }
.lane .tline { position: absolute; top: 0; bottom: 0; border-left: 2px solid var(--bad); opacity: .5; }
.sptbl { width: 100%; font-size: 13px; }

.tgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; } .tcardx { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--c); border-radius: 18px; padding: 16px 18px; display: flex; flex-direction: column; gap: 11px; box-shadow: var(--shadow); animation: fadeUp .4s both; }
.tcardx .top { display: flex; justify-content: space-between; align-items: center; } .tcardx h3 { margin: 0; font-size: 17px; } .tcardx .lead { display: flex; gap: 10px; align-items: center; min-height: 34px; } .tcardx .lead b, .tcardx .lead small { display: block; } .tcardx .lead small { color: var(--mut); font-size: 11.5px; } .tcardx .lead .dlav { width: 32px; height: 32px; font-size: 11px; }
.tcardx .members { min-height: 30px; } .tstats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; } .tstats div { background: var(--surface2); border-radius: 11px; padding: 8px; text-align: center; } .tstats b { display: block; font-size: 17px; } .tstats span { font-size: 11px; color: var(--mut); } .tact { display: flex; justify-content: space-between; align-items: center; }

.rgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); gap: 16px; } .rgrid .card h3 { margin-top: 0; } .hrow { display: flex; align-items: center; gap: 12px; padding: 6px 0; font-size: 13px; } .hrow > span:first-child { width: 110px; display: flex; align-items: center; gap: 7px; } .hrow b { width: 38px; text-align: right; } .dot { width: 9px; height: 9px; border-radius: 3px; display: inline-block; }
.vbars { display: flex; gap: 14px; align-items: flex-end; height: 190px; padding-top: 10px; } .vb { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; } .vb .bars { flex: 1; display: flex; align-items: flex-end; gap: 3px; width: 100%; justify-content: center; } .vb .bars i { width: 38%; border-radius: 6px 6px 0 0; min-height: 3px; transition: height .6s; } .vb .bars .c { background: #cbd5e1; } .vb .bars .d { background: var(--brand); } .vb small { font-size: 11px; color: var(--mut); text-align: center; }
.wrow { display: grid; grid-template-columns: 150px 1fr; gap: 4px 12px; align-items: center; padding: 6px 0; font-size: 13px; } .wrow .wn { display: flex; align-items: center; gap: 8px; } .wbar { display: flex; height: 10px; background: var(--line); border-radius: 99px; overflow: hidden; } .wbar .d { background: #22c55e; } .wbar .o { background: var(--brand); } .wrow small { grid-column: 2; color: var(--mut); font-size: 11.5px; }

.imp { display: grid; grid-template-columns: minmax(340px, 440px) 1fr; gap: 18px; align-items: start; } .impin { position: sticky; top: 14px; } .impin .tabs { margin-bottom: 12px; } .impin textarea { font-family: ui-monospace, Menlo, monospace; font-size: 12.5px; width: 100%; }
.impin .two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; } .impin label.f { display: flex; flex-direction: column; gap: 3px; font-size: 11.5px; font-weight: 600; color: var(--mut); margin-top: 8px; }
.tplgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; } .tpl { text-align: left; display: flex; flex-direction: column; gap: 2px; background: var(--surface2) !important; color: var(--ink) !important; border: 1.5px solid var(--line) !important; box-shadow: none !important; padding: 9px 12px; min-height: 0; } .tpl small { color: var(--mut); font-weight: 500; font-size: 10.5px; } .tpl.on { border-color: var(--brand) !important; background: var(--brand-soft) !important; }
.capgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; } .cap { display: flex; flex-direction: column; gap: 3px; border: 1px solid var(--line); border-left: 4px solid var(--c); border-radius: 12px; padding: 8px 12px; font-size: 12px; } .cap small { color: var(--mut); } .cap input { margin-top: 4px; }
.ep { border-top: 1px solid var(--line); padding: 6px 0; } .ep summary { cursor: pointer; padding: 6px 0; } .impout .card { animation: fadeUp .4s both; }
.mproj { font-size: 11px; font-weight: 700; color: var(--mut); margin: 0 0 3px 4px; } .mtwrap { margin-bottom: 4px; }
@media (max-width: 900px) { .imp { grid-template-columns: 1fr; } .impin { position: static; } .tdlg { grid-template-columns: 1fr; } .kanban { grid-template-columns: repeat(4, 78vw); } }
@media (prefers-reduced-motion: reduce) { .pcard, .tcard, .dlkpi, .tcardx, .dlhero, .dlhead { animation: none; } }
.pfoot span, .pfoot em { white-space: nowrap; } .pfoot { gap: 6px 12px; }

/* ── status engine: stepper, actions, quick buttons ── */
.stepper { display: flex; list-style: none; margin: 4px 0 12px; padding: 0; gap: 0; counter-reset: none; }
.stepper li { flex: 1; display: flex; align-items: center; gap: 8px; position: relative; font-size: 12.5px; font-weight: 650; color: var(--mut); min-width: 0; }
.stepper li:not(:last-child)::after { content: ""; flex: 1; height: 2px; margin: 0 8px; background: var(--line2); border-radius: 2px; transition: background .4s; } .stepper li.past:not(:last-child)::after { background: var(--brand); }
.stepper li i { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 11.5px; font-weight: 800; background: var(--surface2); border: 2px solid var(--line2); color: var(--mut); transition: all .3s; }
.stepper li.past i { background: var(--brand); border-color: var(--brand); color: var(--on-brand, #fff); } .stepper li.now { color: var(--ink); }
.stepper li.now i { border-color: var(--brand); color: var(--brand-ink); box-shadow: 0 0 0 4px var(--brand-soft); animation: pop .35s both; } .stepper li.now.s-submitted i { border-color: #f59e0b; color: #b45309; box-shadow: 0 0 0 4px var(--warn-soft); } .stepper li.now.s-done i, .stepper li.now.s-completed i { background: #22c55e; border-color: #22c55e; color: #fff; box-shadow: 0 0 0 4px var(--ok-soft); }
.stepper li span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tflow { margin: 8px 0 14px; } .flownote { font-size: 12.5px; margin: -4px 0 10px; } .tactions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 6px; }
button.mv { min-height: 34px; padding: 6px 16px; font-weight: 650; } button.mv.ghost { background: var(--surface) !important; color: var(--ink) !important; border: 1px solid var(--line2) !important; box-shadow: none !important; }
button.mv.ok { background: linear-gradient(180deg, #34d399, #16a34a) !important; color: #fff !important; box-shadow: 0 8px 18px -10px rgba(22, 163, 74, .8) !important; }
button.mv.warn { background: var(--warn-soft) !important; color: var(--warn) !important; border: 1px solid color-mix(in srgb, var(--warn) 40%, transparent) !important; box-shadow: none !important; }
button.mv:disabled { opacity: .5; }
.sprintflow { margin: 0 0 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 10px 18px 2px; } .sprintflow .stepper { margin-bottom: 8px; }
button.sa { min-height: 32px; padding: 5px 14px; font-size: 12.5px; font-weight: 650; } button.sa.ghost { background: var(--surface) !important; color: var(--ink) !important; border: 1px solid var(--line2) !important; box-shadow: none !important; }
button.sa.ok { background: linear-gradient(180deg, #34d399, #16a34a) !important; color: #fff !important; box-shadow: none !important; } button.sa.warn { background: var(--warn-soft) !important; color: var(--warn) !important; box-shadow: none !important; }
.sptbl button.sa { min-height: 26px; padding: 2px 10px; font-size: 12px; margin-right: 4px; }
.qa { margin-top: 9px; width: 100%; min-height: 28px; padding: 3px 10px; font-size: 12px; font-weight: 700; border-radius: 9px; opacity: .92; } .qa.ok { background: linear-gradient(180deg, #34d399, #16a34a) !important; color: #fff !important; box-shadow: none !important; } .qa.primary { background: var(--brand-soft) !important; color: var(--brand-ink) !important; border: 1px solid color-mix(in srgb, var(--brand) 35%, transparent) !important; box-shadow: none !important; }
.qa:hover:not(:disabled) { opacity: 1; transform: none !important; }
.kcol[data-status=submitted] { background: color-mix(in srgb, var(--warn-soft) 55%, var(--surface2)); }
.flowk { display: flex; gap: 14px; margin-bottom: 12px; } .flowk div { flex: 1; background: var(--surface2); border-radius: 12px; padding: 10px 12px; } .flowk b { display: block; font-size: 22px; letter-spacing: -.02em; } .flowk span { font-size: 11.5px; color: var(--mut); line-height: 1.3; display: block; }
.vbars.thr { height: 120px; } .vbars.thr .bars .d { width: 60%; }

/* ── attachments ── */
.att { margin-top: 14px; } .atthead { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 8px; } .atthead .count { background: var(--surface2); border: 1px solid var(--line); border-radius: 99px; padding: 0 8px; font-size: 12px; margin-left: 4px; } .attuse { font-size: 11.5px; }
.attzone { display: flex; flex-direction: column; align-items: center; gap: 3px; text-align: center; padding: 16px 12px; border: 2px dashed var(--line2); border-radius: 14px; background: var(--surface2); cursor: pointer; font-size: 13.5px; transition: border-color .2s, background .2s, transform .2s; }
.attzone:hover, .attzone:focus-visible { border-color: var(--brand); background: var(--brand-soft); outline: none; } .attzone.over { border-color: var(--brand); background: var(--brand-soft); transform: scale(1.01); } .attzone small { color: var(--mut); font-size: 11.5px; }
.attq { display: flex; flex-direction: column; gap: 6px; margin: 8px 0; } .attup { display: grid; grid-template-columns: 1fr 140px 52px; gap: 10px; align-items: center; font-size: 12.5px; } .attup em { font-style: normal; text-align: right; color: var(--mut); } .attup.bad em { color: var(--bad); grid-column: 2 / 4; }
.attlist { display: flex; flex-direction: column; margin-top: 6px; } .attrow { display: flex; align-items: center; gap: 12px; padding: 8px 4px; border-top: 1px solid var(--line); } .attrow:first-child { border-top: 0; }
.atticon { flex: none; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; font-size: 10.5px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); border: 1px solid color-mix(in srgb, var(--c) 30%, transparent); }
.attthumb { flex: none; width: 40px; height: 40px; padding: 0 !important; border-radius: 11px !important; overflow: hidden; border: 1px solid var(--line2) !important; background: var(--surface2) !important; box-shadow: none !important; min-height: 0 !important; } .attthumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.attmeta { flex: 1; min-width: 0; } .attmeta b { display: block; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .attmeta small { color: var(--mut); font-size: 11.5px; } .attact { display: flex; gap: 12px; font-size: 12.5px; white-space: nowrap; }
@media (max-width: 700px) { .stepper li span { display: none; } .stepper li.now span { display: inline; } }

/* ── briefs ── */
.bdots { display: inline-flex; gap: 3px; vertical-align: middle; } .bdots i { width: 9px; height: 9px; border-radius: 3px; background: var(--line2); } .bdots i.on { background: var(--brand); }
.brief, .brief2 { border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px 12px; margin: 12px 0; background: var(--surface2); } .brief summary { cursor: pointer; font-weight: 700; font-size: 13px; padding: 2px 0 6px; } .brief label.f, .brief2 label.f { margin-top: 8px; }
.bhead { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; } .bhead .mut { font-size: 12px; }
.bsec2 { margin: 8px 0 0; } .bsec2 b { display: block; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--mut); } .bsec2 p { margin: 2px 0 0; font-size: 13.5px; line-height: 1.5; white-space: pre-wrap; }

/* ── overview ── */
.osprints { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 14px; margin-bottom: 8px; }
.osp { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--c); border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; gap: 9px; box-shadow: var(--shadow); animation: fadeUp .4s both; } .osp.submitted { border-color: #f59e0b; background: color-mix(in srgb, var(--warn-soft) 40%, var(--surface)); }
.osp .top { display: flex; justify-content: space-between; align-items: center; gap: 8px; } .ostate { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 12.5px; } .ocacts { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.oc { display: inline-flex; gap: 4px; align-items: center; padding: 2px 10px; border-radius: 99px; font-size: 11.5px; background: var(--surface2); color: var(--mut); border: 1px solid var(--line); } .oc b { color: var(--ink); } .oc.ok { background: var(--ok-soft); color: var(--ok); border-color: transparent; } .oc.ok b { color: var(--ok); } .oc.warn { background: var(--warn-soft); color: var(--warn); border-color: transparent; } .oc.warn b { color: var(--warn); } .oc.bad { background: var(--bad-soft); color: var(--bad); border-color: transparent; } .oc.bad b { color: var(--bad); } .oc.info { background: var(--info-soft); color: var(--info); border-color: transparent; } .oc.info b { color: var(--info); }
.oteams { display: grid; grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); gap: 14px; margin-bottom: 16px; }
.oteam { background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--c); border-radius: 16px; padding: 14px 16px; box-shadow: var(--shadow); animation: fadeUp .4s both; } .oteam header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; } .oteam header b { display: block; font-size: 16px; } .oteam header small { color: var(--mut); } .opct { font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: var(--c); }
.oper { border-top: 1px solid var(--line); } .oper:first-of-type { margin-top: 10px; } .oper summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 2px; cursor: pointer; list-style: none; flex-wrap: wrap; } .oper summary::-webkit-details-marker { display: none; }
.oper .who { display: flex; align-items: center; gap: 8px; } .oper .who em { font-style: normal; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-ink); background: var(--brand-soft); border-radius: 6px; padding: 1px 7px; } .oper .chips { display: flex; gap: 5px; flex-wrap: wrap; }
.obody { padding: 0 2px 10px 34px; display: flex; flex-direction: column; gap: 4px; font-size: 13px; }

/* ── plan & assign ── */
.asg { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 18px; align-items: start; }
.asgl { position: sticky; top: 12px; display: flex; flex-direction: column; gap: 8px; max-height: calc(100vh - 40px); overflow: auto; }
.asgs { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); cursor: pointer; font-size: 12.5px; transition: border-color .2s, transform .2s, background .2s; } .asgs > div:first-child { display: flex; justify-content: space-between; align-items: center; gap: 6px; font-size: 13.5px; } .asgs:hover { border-color: var(--brand-glow); transform: translateX(3px); } .asgs.on { background: var(--brand-soft); border-color: var(--brand); }
.asgh .top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; } .leadpick { display: flex; gap: 14px; align-items: flex-end; flex-wrap: wrap; margin: 12px 0 4px; } .leadpick .f { min-width: 260px; }
.asgr .card { margin-bottom: 14px; } .asgr .top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; } .bulk { display: flex; gap: 10px; align-items: center; margin: 10px 0 6px; font-size: 12.5px; min-height: 34px; }
.atbl { width: 100%; font-size: 13px; } .atbl td { vertical-align: top; } .atbl .why { font-size: 11.5px; margin-top: 2px; max-width: 420px; } .atbl select { min-width: 150px; }
@media (max-width: 900px) { .asg { grid-template-columns: 1fr; } .asgl { position: static; max-height: none; flex-direction: row; overflow-x: auto; } .asgs { min-width: 230px; } }
