.kanban{grid-template-columns:repeat(7,minmax(190px,1fr))}
@media(max-width:560px){.kanban{grid-template-columns:repeat(7,220px)}}
/* v3.0.0 — ten lanes (incl. OWNER INFO and APPEALS) in two rows of five */
.kanban{grid-template-columns:repeat(5,minmax(190px,1fr))}
@media(max-width:560px){.kanban{grid-template-columns:repeat(5,250px)}}
/* Readability: admin hero chip for the selected workshop (the shared .active-workshop rule lives in workshop.css).
   On screen admin.css hides it while the workshop switch is shown; it still prints. */
.user-create>header>b{font-size:22px;font-weight:400}
.hero .active-workshop{margin:14px 14px 5px 0;padding:7px 14px;vertical-align:bottom;font-size:13px;font-weight:800;letter-spacing:.06em;line-height:1.35}
@media(max-width:560px){.workshop-create{margin:14px 12px;padding:18px 14px}.workshop-create>header strong{font-size:22px}.workshop-access>header strong{font-size:22px}}
@media(min-width:521px) and (max-width:900px){.workshop-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Round 2: on phones the ten lanes stack in one column (lane header, then its cards); no sideways scrolling.
   Desktop and tablet keep the two rows of five. */
@media(max-width:720px){.kanban{grid-template-columns:1fr;overflow:visible}.lane{min-height:0}.lane>div{padding:10px 12px 14px}.lane p.empty{margin:0;padding:4px 2px;color:var(--muted);font-size:14px;text-align:left}a.more{width:44px;height:44px}}
/* Round 3 ------------------------------------------------------------------------------------------------------ */
/* One focus ring everywhere (R3-3). Rules with their own outline above use the same values. */
:where(a,button,input,select,textarea,summary,[tabindex]):focus-visible{outline:3px solid var(--orange);outline-offset:2px}
.withdraw-form textarea:focus-visible{outline:3px solid var(--orange);outline-offset:2px;border-color:var(--ink)}
/* Setup: the evaluator assignments get their own heading, and "Save assignments" sits right after the cards.
   While a card has an unsaved change admin.js adds .dirty and the bar sticks to the bottom of the screen. */
.assignments-block{border-top:1px solid var(--line)}
.assignments-head{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:6px 12px;padding:22px 20px 0}
.assignments-head>b{display:grid;width:40px;height:40px;place-items:center;border-radius:10px;background:var(--ink);color:#fff;font-size:13px}
.assignments-head>span{display:flex;flex-direction:column;min-width:0}
.assignments-head small{color:var(--orange-text);font-size:13px;font-weight:800;letter-spacing:.08em}
.assignments-head strong{margin-top:3px;font:400 24px/1.2 Georgia,serif}
.assignments-head>p{grid-column:1/-1;max-width:70ch;margin:6px 0 0;color:var(--muted);font-size:15px;line-height:1.5}
.assignments-head>p b{color:var(--ink)}
.assignments-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:10px 18px;padding:16px 20px;border-top:1px solid var(--line);border-radius:0 0 13px 13px;background:#f8f9fa}
.assignments-bar .assignments-notice{flex:1 1 300px;margin:0;font-size:15px;line-height:1.45}
.assignments-bar .assignments-notice:empty{flex-basis:0}
#save-setup{flex:0 0 auto;min-height:48px;padding:0 26px;border:0;border-radius:10px;background:var(--orange-fill);color:#fff;font-size:16px;font-weight:700;cursor:pointer}
#save-setup:hover{background:#a93c17}
#save-setup:disabled{opacity:.55;cursor:not-allowed}
.assignments-bar.dirty{position:sticky;bottom:0;z-index:4;border-top:2px solid var(--orange);border-radius:0;background:#fff7f2;box-shadow:0 -12px 30px #12223824}
.assignments-bar.dirty .assignments-notice:not(.error){color:var(--ink);font-weight:700}
html:has(#panel-setup:not([hidden]) .assignments-bar.dirty){scroll-padding-bottom:120px}
/* Users: the list comes first; the create form follows it. "+ New user account" jumps to that form. */
#users-section .users-toolbar{border-top:0}
.users-toolbar p{margin-left:auto}
.users-new{flex:0 0 auto;min-height:44px;padding:0 16px;border:1px solid var(--ink);border-radius:10px;background:#fff;color:var(--ink);font-size:15px;font-weight:700;white-space:nowrap;cursor:pointer}
.users-new:hover{background:var(--ink);color:#fff}
.users-admin .user-create{margin:20px;scroll-margin-top:16px}
.user-edit>footer button.user-cancel:hover{background:#f1f3f5}
/* Portfolio on phones: every row becomes a labelled card (admin.js writes the column header into data-label).
   The table stays a table in the DOM; Open and Withdraw sit in the card's top-right corner. Screen only: a
   printed page (about 700px wide) keeps the table. */
@media screen and (max-width:720px){
.table-card .table-wrap{overflow:visible;padding:2px 12px 14px}
.table-card .table-wrap:has(#rows:empty){padding:0}
.table-wrap table{min-width:0}
.table-wrap table,.table-wrap tbody,#rows tr,#rows td{display:block}
.table-wrap thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#rows tr{position:relative;margin-top:12px;padding:14px 14px 4px;border:1px solid #e3e7eb;border-radius:12px;background:#fff}
#rows td{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,auto);align-items:center;column-gap:14px;min-width:0;padding:10px 0;border-top:1px solid #edf0f2;border-bottom:0;text-align:right}
#rows td::before{grid-column:1;grid-row:1/span 2;color:var(--muted);content:attr(data-label);font-size:12px;font-weight:800;letter-spacing:.06em;line-height:1.3;text-align:left}
#rows td>*{grid-column:2;justify-self:end;min-width:0}
#rows td small{margin-top:2px}
#rows td:first-child{display:block;min-width:0;padding:0 104px 12px 0;border-top:0;text-align:left}
#rows td:last-child{position:absolute;top:10px;right:10px;padding:0;border:0}
#rows td:first-child::before,#rows td:last-child::before{content:none}
#rows td:last-child .row-actions{gap:8px}
}
/* Tablets and small laptops: when the table is wider than its box it scrolls inside it; soft edge shadows show
   that more columns sit to the side (the white "local" covers hide each shadow once that edge is reached). */
@media screen and (min-width:721px){.table-card .table-wrap{background:linear-gradient(90deg,#fff 30%,#fff0) 0 0/40px 100% no-repeat local,linear-gradient(270deg,#fff 30%,#fff0) 100% 0/40px 100% no-repeat local,radial-gradient(farthest-side at 0 50%,#1222383d,#12223800) 0 0/16px 100% no-repeat scroll,radial-gradient(farthest-side at 100% 50%,#1222383d,#12223800) 100% 0/16px 100% no-repeat scroll,#fff}}
/* Phones: the admin tabs are sticky (≤560px); anything scrolled into view stops below them. */
@media(max-width:560px){
.admin-panel,.admin-panel *{scroll-margin-top:72px}
.users-admin .user-create{margin:16px 12px;scroll-margin-top:72px}
.assignments-bar.dirty{padding:10px 14px}
.assignments-bar.dirty .assignments-notice{font-size:14px;line-height:1.35}
.users-toolbar p{margin-left:0}
.users-new{width:100%}
.assignments-head{padding:18px 14px 0}
.assignments-head strong{font-size:22px}
.assignments-bar{padding:12px 14px}
.assignments-bar .assignments-notice{flex-basis:100%}
.assignments-bar .assignments-notice:empty{display:none}
#save-setup{flex:1 1 100%;min-height:44px}
}
@media print{.assignments-bar,.users-new{display:none!important}}
@media print{.status-pill{border-radius:8px}}
