.studio-business, .biz-surface { min-width: 0; }
.biz-heading, .biz-intro, .biz-panel-head, .biz-form-footer, .biz-link-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.biz-heading { margin: 0 0 15px; }
.biz-heading h1 { margin: 0; }
.biz-sectors, .biz-tabs, .biz-actions, .biz-filters, .biz-stage-tools {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.biz-sectors {
  flex: 0 0 auto; gap: 3px; padding: 3px; border: 1px solid var(--line);
  border-radius: 9px; background: var(--panel);
}
.biz-sector, .biz-tabs a, .biz-link, .biz-title-link, .biz-doc, .studio-business a.button {
  text-decoration: none;
}
.biz-sector, .biz-tabs a {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  color: var(--muted); border-radius: 6px; transition: background-color .16s, color .16s;
}
.biz-sector { padding: 6px 15px; font-weight: 600; }
.biz-sector[aria-current="page"] { background: var(--raised); color: var(--text); box-shadow: 0 1px 3px #0002; }
.biz-tabs { border-bottom: 1px solid var(--line); padding: 0 0 11px; gap: 4px; }
.biz-tabs a { min-height: 36px; padding: 7px 13px; border: 1px solid transparent; }
.biz-tabs a:hover, .biz-sector:hover { color: var(--text); background: var(--raised); }
.biz-tabs a[aria-current="page"] { color: var(--text); background: color-mix(in srgb,var(--panel) 75%,var(--blue)); border-color: color-mix(in srgb,var(--edge) 60%,var(--blue)); }
.biz-body { animation: biz-content-in .18s ease-out both; }
.biz-intro { margin: 28px 0 28px; align-items: flex-start; }
.biz-intro h2 { font-size: clamp(20px, 1.65vw, 26px); line-height: 1.3; margin: 0; overflow-wrap: anywhere; }
.biz-intro p, .biz-doc-preview > p { margin: 7px 0 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.biz-actions { flex-shrink: 0; }
.biz-lifecycle-filters { margin-left:auto; }
.biz-tabs .biz-lifecycle-filters .button { min-height:34px;padding:6px 10px;font-size:12px; }
.biz-state[data-tone="online"]::before { background:#75a691; }
.biz-state[data-tone="offline"]::before { background:var(--faint); }
.biz-lifecycle-form { display:grid;gap:14px; }
.biz-lifecycle-form p { margin:0;line-height:1.65; }
.biz-muted { color:var(--muted);font-size:13px; }
.button.biz-danger { color:#d26868;border-color:currentColor; }
.biz-deleted-projects { display:grid;gap:12px; }
.biz-deleted-projects > div { display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid var(--line); }
.biz-deleted-projects strong,.biz-deleted-projects small { display:block;overflow-wrap:anywhere; }
.biz-deleted-projects small { color:var(--muted);margin-top:4px; }
.biz-grid { display: grid; gap: 15px; align-items: start; margin-bottom: 15px; }
.biz-overview { display:grid; grid-template-columns:minmax(0,.95fr) minmax(0,1.5fr) minmax(0,1fr); gap:15px; margin-top:18px; }
.biz-project-table { min-width:790px; }
.biz-project-table thead { background:color-mix(in srgb,var(--raised) 60%,var(--panel)); }
.biz-project-table thead th { height:38px; }
.biz-project-table tbody :is(td,th) { padding-block:14px; border-top:1px solid var(--line); vertical-align:middle; }
.biz-project-table tbody th { width:28%; white-space:normal; box-shadow:inset 3px 0 var(--project-ink); }
.biz-portfolio-row { cursor:pointer; background:linear-gradient(90deg,color-mix(in srgb,var(--project-ink) 7%,transparent),transparent 54%); }
.biz-project-table tbody tr:is(:hover,:focus-within) { background-color:color-mix(in srgb,var(--project-ink) 7%,var(--panel)); }
.biz-project-title,.biz-heading-mark,.biz-logo-input { display:flex; align-items:center; gap:11px; min-width:0; }
.biz-project-title { color:var(--text); text-decoration:none; }
.biz-project-title strong { font-size:14px; font-weight:640; overflow-wrap:anywhere; }
.biz-project-mark { display:block; flex:0 0 36px; width:36px; height:36px; object-fit:contain; border-radius:8px; background:var(--raised); }
.biz-initial { display:grid; place-items:center; color:var(--muted); font-weight:650; }
.biz-project-table td { max-width:230px; overflow-wrap:anywhere; }
.biz-project-table td:first-of-type { font-weight:550; color:var(--text); }
.biz-project-table td:last-child,.biz-portfolio-number { white-space:nowrap; font-variant-numeric:tabular-nums; }
.biz-logo-input input { min-width:0; }
.biz-logo-input input::file-selector-button { background:var(--raised); color:var(--text); border:1px solid var(--edge); border-radius:5px; padding:4px 8px; margin-right:8px; cursor:pointer; }
.biz-upcoming { display:flex; gap:12px; align-items:baseline; padding:12px 18px; text-decoration:none; color:var(--text); }
.biz-upcoming:hover { background:var(--raised); }
.biz-upcoming time,.biz-upcoming small { color:var(--muted); font-size:12px; }
.biz-upcoming time { white-space:nowrap; font-variant-numeric:tabular-nums; }
.biz-upcoming strong,.biz-upcoming small { display:block; overflow-wrap:anywhere; }
.biz-upcoming strong { font-size:13px; }
.biz-project-brief { padding:18px; }
.biz-project-brief > p { margin:0 0 12px; white-space:pre-wrap; overflow-wrap:anywhere; }
.biz-project-brief > .biz-empty { padding:0; margin:0; }
.biz-project-brief dl { margin:0; }
.biz-project-brief dl > div { display:grid; grid-template-columns:6.5em minmax(0,1fr); gap:14px; border-top:1px solid var(--line); padding:11px 0; font-size:13px; }
.biz-project-brief dl > div:first-child { border-top:0; }
.biz-project-brief dt { color:var(--muted); }
.biz-project-brief dd { margin:0; white-space:pre-wrap; overflow-wrap:anywhere; }
.biz-form-grid > div > .biz-panel + .biz-panel,[data-project-files] { margin-top:15px; }
.biz-brief-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
.biz-detail-grid { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }
.biz-doc-grid { grid-template-columns: minmax(0, .94fr) minmax(0, 1.2fr); }
.biz-project-directory { display:grid; grid-template-columns:clamp(160px,16%,196px) minmax(0,1fr); align-items:start; gap:clamp(14px,1.5vw,22px); margin-top:22px; }
.biz-project-nav { position:sticky; top:12px; min-width:0; padding:0; overflow:hidden; }
.biz-project-nav > .biz-panel-head { min-height:38px; padding:4px 7px 4px 12px; gap:6px; }
.biz-project-nav > .biz-panel-head h3 { font-size:13px; }
.biz-project-nav .icon-button { width:28px; height:28px; }
.biz-project-links { display:grid; gap:7px; padding:7px 5px; max-height:65vh; overflow:auto; }
.biz-project-links h4 { margin:0 6px 2px; font-size:11px; line-height:16px; font-weight:550; color:var(--muted); overflow-wrap:anywhere; }
.biz-project-choice { display:grid; grid-template-columns:22px minmax(0,1fr) 6px; align-items:center; gap:6px; min-height:32px; padding:4px 6px; border-radius:5px; color:var(--text); text-decoration:none; }
.biz-project-choice .biz-project-mark { width:22px; height:22px; border-radius:5px; font-size:11px; }
.biz-project-choice strong { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; overflow-wrap:anywhere; text-wrap:balance; font-size:12px; line-height:16px; font-weight:550; }
.biz-project-choice .biz-state::before { width:5px; height:5px; flex-basis:5px; }
.biz-project-choice:hover { background:var(--raised); }
.biz-project-choice[aria-current="true"] { background:var(--raised); box-shadow:inset 2px 0 var(--blue); }
[data-project-sheet] { min-width:0; container-type:inline-size; }
[data-project-sheet] > .biz-intro { margin:1px 0 17px; }
.biz-project-progress { padding:14px 18px; margin-bottom:15px; border:1px solid var(--line); border-radius:10px; background:var(--panel); }
.biz-project-progress > div { display:flex; align-items:baseline; justify-content:space-between; gap:12px; font-size:13px; }
.biz-project-progress progress { display:block; width:100%; height:5px; margin:11px 0 6px; accent-color:var(--blue); border:0; border-radius:3px; background:var(--raised); }
.biz-project-progress progress::-webkit-progress-bar { background:var(--raised); border-radius:3px; }
.biz-project-progress progress::-webkit-progress-value { background:var(--blue); border-radius:3px; }
.biz-project-progress small { color:var(--muted); }
@container (max-width:640px) { .biz-detail-grid { grid-template-columns:minmax(0,1fr); } .biz-intro { flex-wrap:wrap; } }
@media(max-width:900px) {
  .biz-project-directory { grid-template-columns:minmax(0,1fr); }
  .biz-project-nav { position:static; }
  .biz-project-links { grid-template-columns:repeat(auto-fit,minmax(min(142px,100%),1fr)); align-items:start; max-height:10rem; }
}
.biz-form-grid { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
.biz-panel { min-width: 0; padding: 0; overflow: hidden; }
.biz-panel-head { min-height: 56px; padding: 13px 20px; border-bottom: 1px solid var(--line); }
.biz-panel-head h3 { font-size: 15px; font-weight: 650; color: var(--text); margin: 0; }
.biz-link { display: inline-flex; align-items: center; gap: 4px; flex-shrink: 0; font-size: 12px; color: var(--blue); }
.biz-link:hover, .biz-title-link:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.biz-table-wrap { max-width: 100%; overflow: auto; }
.biz-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 13px; }
.biz-table th,.biz-table td { padding: 11px 10px; }
.biz-table :is(th,td):first-child { padding-left: 18px; }
.biz-table :is(th,td):last-child { padding-right: 18px; }
.biz-table th { font-size: 12px; color: var(--muted); font-weight: 500; white-space: nowrap; }
.biz-table td { border-top: 1px solid var(--line); color: var(--muted); }
.biz-table tbody tr:hover { background: color-mix(in srgb, var(--raised) 42%, transparent); }
.biz-title-link { display: inline; padding: 0; border: 0; background: none; color: var(--text); text-align: left; cursor: pointer; font: inherit; font-weight: 600; overflow-wrap: anywhere; }
.biz-title-link:disabled { color: var(--muted); cursor: default; }
.biz-table td small { font-size: 11px; display: block; margin-top: 3px; color: var(--muted); }
.biz-person, .biz-state { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.biz-state { font-size: 12px; color: var(--muted); }
.biz-state::before { content: ''; width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: var(--faint); }
.biz-state:is([data-tone="active"],[data-tone="working"])::before { background: var(--blue); }
.biz-state:is([data-tone="review"],[data-tone="revision"])::before { background: #c8a36e; }
.biz-state:is([data-tone="done"],[data-tone="completed"],[data-tone="approved"],[data-tone="delivered"])::before { background: #75a691; }
.biz-empty { margin: 0; padding: 27px 18px; color: var(--muted); font-size: 13px; }
.biz-doc-list { padding: 2px 10px; }
.biz-doc { display: flex; align-items: center; gap: 11px; margin: 4px 0; padding: 12px 8px; border-radius: 6px; color: var(--muted); }
.biz-doc:hover, .biz-doc[aria-current="true"], .biz-choice:hover { background: var(--raised); }
.biz-doc > span { min-width: 0; flex: 1; }
.biz-doc > svg:first-child { color: var(--blue); }
.biz-doc strong, .biz-choice strong { display: block; color: var(--text); font-size: 13px; font-weight: 600; overflow-wrap: anywhere; }
.biz-doc small, .biz-choice small { display: block; color: var(--muted); margin-top: 3px; font-size: 12px; }
.biz-doc-preview, .biz-fields { padding: 18px; }
.biz-doc-preview h4 { font-size: 19px; margin: 0; }
.biz-doc-preview ol { padding: 0 0 0 23px; margin: 20px 0 0; }
.biz-doc-preview li { padding: 0 0 14px 3px; overflow-wrap: anywhere; }
.biz-doc-preview li p { white-space: pre-line; line-height: 1.7; color: var(--muted); }
.biz-doc-preview li p { margin: 5px 0 0; }
.biz-filters { margin: 0 0 14px; }
.biz-fields, .biz-stage-fields { display: grid; gap: 16px; }
.biz-pair, .biz-trio { display: grid; align-items: start; gap: 12px; grid-template-columns: repeat(2,minmax(0,1fr)); }
.biz-trio { grid-template-columns: repeat(3,minmax(0,1fr)); }
.biz-field { display: grid; gap: 7px; min-width: 0; align-content: start; }
.biz-field > span:first-child, .biz-link-foot small { font-size: 12px; color: var(--muted); }
.biz-field input:not([type="checkbox"]), .biz-field select, .biz-field textarea, .biz-members summary, .biz-filters select {
  border: 1px solid var(--edge); border-radius: 7px; background: var(--bg); color: var(--text);
  padding: 8px 10px; font: inherit; font-size: 13px; min-height: 36px; min-width: 0;
}
.biz-field textarea { resize: vertical; line-height: 1.6; }
.biz-field input:not([type="checkbox"]), .biz-field textarea, .biz-field select { width: 100%; }
.biz-members { min-width: 0; }
.biz-members summary, .biz-stage-edit summary { display: flex; align-items: center; gap: 8px; list-style: none; cursor: pointer; }
.biz-members summary::-webkit-details-marker, .biz-stage-edit summary::-webkit-details-marker { display: none; }
.biz-members summary svg, .biz-stage-edit summary svg { margin-left: auto; }
.biz-members[open] summary svg, .biz-stage-edit[open] summary svg { transform: rotate(180deg); }
.biz-members > div { max-height: 175px; overflow-y: auto; padding: 6px; border: 1px solid var(--line); border-radius: 6px; margin-top: 4px; }
.biz-members label, .biz-choice { display: flex; align-items: center; gap: 8px; cursor: pointer; padding: 6px; }
.biz-members input, .biz-choice input { accent-color: var(--blue); }
.biz-stage-list { padding: 0 16px; }
.biz-stage-edit { border-bottom: 1px solid var(--line); }
.biz-stage-edit summary { padding: 13px 0; font-weight: 600; }
.biz-stage-number { display: inline-grid; place-items: center; width: 23px; height: 23px; border-radius: 50%; font-size: 11px; color: var(--muted); border: 1px solid var(--edge); }
.biz-stage-label { overflow-wrap: anywhere; }
.biz-stage-fields { padding-bottom: 15px; }
.biz-stage-fields > button { justify-self: start; }
.biz-stage-tools { padding: 12px 16px; }
.biz-stage-tools [hidden], .biz-form-footer [hidden], .biz-link-form [hidden] { display: none; }
.biz-form-footer { justify-content: flex-end; align-items: center; }
.biz-form-footer .form-error, .biz-link-foot small { margin-right: auto; }
.biz-timeline { list-style: none; padding: 10px 18px; margin: 0; }
.biz-timeline li { display: flex; align-items: baseline; justify-content: space-between; position: relative; padding: 12px 0 13px 22px; gap: 10px; }
.biz-timeline li::before { position: absolute; z-index: 1; top: 16px; left: 1px; content: ''; width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--faint); background: var(--panel); }
.biz-timeline li[data-stage="done"]::before { border-color: #75a691; background: #75a691; }
.biz-timeline li[data-stage="active"]::before { border-color: var(--blue); }
.biz-timeline li:not(:last-child)::after { position: absolute; content: ''; width: 1px; top: 21px; bottom: -18px; left: 5px; background: var(--edge); }
.biz-timeline li > div { min-width: 0; overflow-wrap: anywhere; }
.biz-timeline li p, .biz-timeline small { font-size: 12px; color: var(--muted); }
.biz-timeline li p { white-space: pre-line; margin: 5px 0; }
.biz-error { padding: 24px 0; }
.biz-link-form { display: grid; gap: 14px; }
.biz-link-search { display:flex; align-items:flex-end; gap:8px; }
.biz-link-search .biz-field { flex:1; }
.biz-link-search .button { flex:none; }
.biz-link-list { max-height: min(48vh, 400px); overflow-y: auto; border-block: 1px solid var(--line); }
.biz-choice { padding: 10px 6px; border-radius: 5px; }
.biz-link-foot { justify-content: flex-end; gap: 8px; }
.biz-sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); }
.studio-business :focus-visible, .biz-link-form :focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
@keyframes biz-content-in { from { transform: translateY(4px); opacity: .55; } to { transform: translateY(0); opacity: 1; } }
@media (max-width: 1050px) { .biz-trio { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 1000px) { .biz-overview { grid-template-columns:1fr; } }
@media (max-width: 900px) { .biz-grid { grid-template-columns: 1fr; } }
@media (max-width: 620px) {
  .biz-heading, .biz-intro { gap: 10px; }
  .biz-intro { align-items: flex-start; flex-direction: column; margin: 18px 0 14px; }
  .biz-tabs { flex-wrap: nowrap; overflow-x: auto; }
  .biz-tabs a { flex-shrink: 0; padding-inline: 8px; }
  .biz-sector { padding-inline: 10px; }
  .biz-fields { padding: 14px; }
  .biz-panel-head { min-height: 48px; padding: 11px 14px; }
}
@media (max-width: 420px) {
  .biz-trio, .biz-pair, .biz-brief-fields { grid-template-columns: 1fr; }
  .biz-tabs { gap: 1px; }
  .biz-form-footer { flex-wrap: wrap; }
  .biz-form-footer .form-error { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .biz-body { animation: none; } .biz-tabs a,.biz-sector { transition: none; } }

.biz-board-filter { display: inline-flex; align-items: center; gap: 5px; padding-inline: 9px 4px; border: 1px solid var(--line); border-radius: 7px; color: var(--muted); background: var(--panel); }
.biz-board-filter > span { display: flex; }
.biz-board-filter select { padding: 7px 3px; border: 0; background: transparent; color: var(--text); font: inherit; font-size: 13px; }
.biz-board-filter option { color: var(--text); background: var(--panel); }
.biz-board { --grid-dot: color-mix(in srgb,var(--faint) 24%,transparent); display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: clamp(8px,1vw,16px); align-items: stretch; padding: clamp(8px,1vw,15px); border: 1px solid var(--line); border-radius: 14px; background: radial-gradient(circle,var(--grid-dot) .8px,transparent 1px) 0 0/16px 16px, var(--bg); }
.biz-lane { --lane-color: #9897b1; min-width: 0; min-height: clamp(280px,47vh,550px); background: color-mix(in srgb,var(--panel) 85%,transparent); border: 1px solid var(--line); border-radius: 11px; transition: border-color .16s,background-color .16s; }
.biz-lane[data-biz-lane="active"] { --lane-color: #75a9dc; }
.biz-lane[data-biz-lane="review"] { --lane-color: #c8a26c; }
.biz-lane[data-biz-lane="done"] { --lane-color: #78ac92; }
.biz-lane.is-drop-target { border-color: var(--lane-color); background: color-mix(in srgb,var(--lane-color) 12%,var(--panel)); }
.biz-lane > header { display: flex; align-items: center; gap: 7px; min-height: 47px; padding: 9px 11px; border-bottom: 1px solid var(--line); }
.biz-lane > header i { height: 14px; width: 3px; border-radius: 2px; background: var(--lane-color); }
.biz-lane h3 { margin: 0; font-size: 14px; font-weight: 650; }
.biz-lane-count { color: var(--muted); font: 11px/1.5 ui-monospace,monospace; }
.biz-lane-add { margin-left: auto; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 5px; color: var(--muted); }
.biz-lane-add:hover { color: var(--text); background: var(--raised); }
.biz-lane-cards { display: grid; gap: 8px; padding: 8px; }
.biz-lane-empty { color: var(--faint); padding: 20px 0; margin: 0; text-align: center; font-size: 12px; }
.biz-board-card { display: grid; gap: 13px; padding: clamp(10px,1vw,15px); min-width: 0; background: var(--raised); border: 1px solid var(--edge); border-radius: 8px; box-shadow: 0 2px 4px #0001; cursor: pointer; }
.biz-board-card:hover, .biz-board-card:focus-within { border-color: color-mix(in srgb,var(--lane-color) 55%,var(--edge)); }
.biz-board-card.is-dragging { opacity: .55; border-style: dashed; }
.biz-card-top,.biz-card-top > span,.biz-card-foot,.biz-card-next,.biz-board-people { display: flex; align-items: center; }
.biz-card-top,.biz-card-foot { justify-content: space-between; gap: 6px; min-width: 0; }
.biz-card-top,.biz-card-next,.biz-board-people { color: var(--muted); font-size: 11px; }
.biz-card-top > span,.biz-card-next { gap: 5px; }
.biz-card-title { color: var(--text); text-decoration: none; overflow-wrap: anywhere; font-size: clamp(15px,1.1vw,17px); line-height: 1.4; font-weight: 640; }
.biz-card-next { margin: -3px 0 0; }
.biz-card-next svg { flex: 0 0 auto; }
.biz-card-template { font-size: 11px; line-height: 1.6; padding: 1px 6px; border-radius: 4px; color: var(--text); background: color-mix(in srgb,var(--lane-color) 18%,var(--raised)); }
.biz-board-avatar { display: inline-grid; place-items: center; max-width: 26px; }
.biz-board-avatar + .biz-board-avatar { margin-left: -4px; }
.biz-board-people small { margin-left: 4px; }
.biz-layer { box-sizing: border-box; width: min(1000px,calc(100vw - 36px)); max-width: none; max-height: calc(100dvh - 36px); padding: 0; border: 1px solid var(--edge); border-radius: 14px; background: var(--bg); color: var(--text); box-shadow: var(--shadow); overflow: clip; }
.biz-layer[open] { display: flex; flex-direction: column; animation: biz-dialog-in .2s ease-out; }
.biz-layer:has(.biz-task-meta),.biz-layer:has(.biz-doc-preview) { width: min(680px,calc(100vw - 36px)); }
.biz-layer::backdrop { background: #10111685; }
.biz-layer-bar { display: flex; justify-content: space-between; align-items: center; flex-shrink: 0; padding: 8px 17px; border-bottom: 1px solid var(--line); background: var(--panel); }
.biz-layer-bar > div { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; font-weight: 600; }
.biz-layer-scroll { padding: 0 clamp(14px,2vw,25px) 22px; overflow-y: auto; overscroll-behavior: contain; }
.biz-layer-scroll > .biz-doc-preview { padding: 24px 0 0; }
.biz-task-meta { display: grid; grid-template-columns: max-content 1fr; gap: 11px 24px; padding-block: 16px; margin: 0; border-block: 1px solid var(--line); font-size: 14px; }
.biz-task-meta dt { color: var(--muted); }
.biz-task-meta dd { margin: 0; }
.biz-task-text { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.7; }
.biz-task-footer { margin-top: 16px; display: flex; justify-content: end; }
@keyframes biz-dialog-in { from { opacity: .2; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 1000px) {
  .biz-board { grid-template-columns: repeat(4,minmax(175px,1fr)); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; }
  .biz-lane { scroll-snap-align: start; }
}
@media (max-width: 620px) {
  .biz-board { grid-template-columns: repeat(4,minmax(200px,75%)); }
  .biz-layer,.biz-layer:has(.biz-task-meta),.biz-layer:has(.biz-doc-preview) { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); border-radius: 10px; }
}
@media (prefers-reduced-motion: reduce) { .biz-layer[open] { animation: none; } }

.biz-board-card.is-dragging { opacity:1; background:transparent; border-color:var(--edge); box-shadow:none; }
.biz-board-card.is-dragging > * { visibility:hidden; }
.biz-insert-last,.biz-insert-before { position:relative; }
.biz-insert-before::before,.biz-insert-last::after { content:""; position:absolute; left:0; right:0; top:-6px; height:2px; border-radius:2px; background:var(--lane-color); }
.biz-insert-last::after { left:8px; right:8px; top:auto; bottom:2px; }
.biz-insert-last:has(.biz-lane-empty)::after { top:5px; bottom:auto; }
@media (prefers-reduced-motion: reduce) { .biz-lane { transition:none; } }

.biz-task-board-head,.biz-task-controls { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px; }
.biz-task-board-head { margin:0 0 12px; }
.biz-task-board-head h3 { margin:0; font-size:16px; }
[data-project-task-board] { margin-bottom:18px; grid-template-columns:repeat(4,minmax(154px,1fr)); overflow-x:auto; }
[data-project-task-board] .biz-lane { min-height:clamp(210px,32vh,360px); }
[data-project-task-board] .biz-board-card { cursor:auto; gap:9px; }
[data-project-task-board] .biz-board-card[data-movable] { cursor:grab; touch-action:pan-y; user-select:none; }
[data-project-task-board]:has(.is-dragging) { scroll-snap-type:none; }
.biz-board-card.biz-drag-preview { position:fixed; inset:0 auto auto 0; z-index:9999; margin:0; box-sizing:border-box; gap:9px; pointer-events:none; box-shadow:0 10px 24px #0003; }
.biz-drag-preview .biz-card-title { font-size:15px; }
[data-project-task-board] .biz-card-title { font-size:15px; }
.biz-task-owner,.biz-task-controls small { color:var(--muted); font-size:12px; overflow-wrap:anywhere; }
.biz-task-owner .biz-person { white-space:normal; }
@media (max-width:620px) { [data-project-task-board] { grid-template-columns:repeat(4,minmax(190px,75%)); } }
