/* THE SET-UP PAGE'S CARDS, one section each: the Setup card, the Questions card, Additional Questions, sections, criteria,
   people, dates, the page cards and images (the set-up components plan, §4.2). Linked once, after setup-page.css. */
.tpl-start .tpl-setup-identity > :last-child{margin-bottom:0;}
/* Section divider Thin horizontal rule between consecutive criteria/section blocks in templates/start.blade.php. */
.tpl-section-divider{width:100%;height:var(--edge-1);background:rgba(var(--ink-rgb), 0.08);margin:var(--inset-panel) 0;}
.tpl-section-block.tpl-card-collapsed .tpl-section-type-select{display:none !important;}
/* Controls row — column 3, so the stepper's right edge lands under the pair's right edge with no alignment value of its
   own. */
.tpl-crit-ctrls{display:flex;align-items:center;gap:var(--step-group) var(--gap-block);flex-wrap:wrap;margin-top:var(--gap-stack);}
/* Weighting (label + stepper) pushed right. */
.tpl-crit-ctrls > .tpl-weight-row{margin-top:0;flex:0 0 auto;border:var(--edge-1) solid transparent;}
/* A collapsed card reads as just its name, so the controls row hides with the
   rest — matching the rows it replaced. */
.tpl-section-block.tpl-card-collapsed .tpl-edit-field > .tpl-crit-ctrls{display:none;}
.tpl-section-block.tpl-card-collapsed > *:not(.tpl-edit-row--header){display:none !important;}
.tpl-section-drag-handle{
    display:inline-flex;align-items:center;justify-content:center;
    flex:0 0 auto;
    font-size:var(--type-16);line-height:var(--leading-1);
    cursor:grab;
    user-select:none;-webkit-user-select:none;
    touch-action:none;
}
/* Section/criteria card drag handle is platform black; question-row handles stay muted. */
.tpl-section-drag-handle{color:var(--ink);width:var(--col-drag,var(--size-16));}
.tpl-section-drag-handle:active{cursor:grabbing;}
/* Per-item image fields (start.blade.php items editor) Rendered beneath each .tpl-item-row when the + Images toggle is
   on for the containing block (flat OPTIONS TO RANK list, or a single section's items in items_per_section templates). */
.tpl-item-image-row{display:flex;align-items:flex-start;gap:var(--inset-control);margin:var(--gap-tight) 0 var(--gap-tight) var(--space-32);}
.tpl-item-image-fields{display:flex;flex-direction:column;gap:var(--gap-tight);flex:1;min-width:0;}
@media(max-width:480px){
        /* Session-setup card */
    .tpl-start .tpl-setup-card{display:flex;flex-direction:column;}
}
.tpl-start.structural-locked .tpl-added-card .tpl-section-drag-handle{display:none;}
/* Where the blocks sit in the content column, stated as the participant's order, which is type-agnostic. */
.tpl-start.setup-sidebar :where(.tpl-start-form, .tpl-setup-body) > .tpl-setup-card{ order: 10; }
/* Criteria weighting: the control is the sidebar row, which holds the canonical #tpl-weighting-toggle
   (name=weighting_enabled), so the per-criterion weight row hides. */
.tpl-start.setup-sidebar .tpl-weight-row{ display: none; }
/* Inside the panel the controls wrapper stands off nothing: its margin-top is 0. */
.tpl-start.setup-sidebar .tpl-crit-ctrls{ margin-top: 0; }
/* Inside the panel the strip is the foot, not a card on the page. */
.tpl-start.setup-sidebar :where(#tpl-sidebar-weight-foot) .tpl-weight-strip-card{
    margin: 0;
}
/* The total reads at the rail's own label size: the shared --type-16 rule (start.blade.php) is the card-name tier,
   oversized for a foot row in the rail. */
.tpl-start.setup-sidebar .tpl-weight-strip-label,
.tpl-start.setup-sidebar .tpl-weight-strip-status{
    font-size: var(--caption-size-rail);
}
/* The Total Weighting strip rides the SAME gate, not a second one. */
.tpl-start.setup-sidebar :where(#tpl-start-form:not(:has(#tpl-weighting-toggle:checked))) .tpl-weight-row,
.tpl-start.setup-sidebar :where(#tpl-start-form:not(:has(#tpl-weighting-toggle:checked))) .tpl-weight-strip-card{
    display: none;
}
/* Its switch and fold keep their size whatever the title takes, in a box one title line tall, centred on that line; a section
   card's type menu, beside them (templates/_section-card-head), the same. */
.tpl-start.setup-sidebar [data-card-badge-host]:where(:not(.tpl-edit-row--header)) > :is(div.tpl-block-header-toggles, div.tpl-section-type-select){
    flex: none;
    min-height: max(var(--tpl-badge-size), calc(var(--leading-1) * var(--tpl-heading)));
}
/* The head's drawing above it (--page-head-art, the room it takes --page-head-art-h) and where the head stands in its column
   (--page-head-align): none, and centred, by default. */
.tpl-start .tpl-setup-identity{padding-top:var(--page-head-art-h, 0px);background:var(--page-head-art, none);}
.tpl-start .tpl-start-intro .tpl-setup-identity,
.tpl-start .tpl-start-intro .tpl-setup-identity *:not(.tpl-switcher, .tpl-switcher *){text-align:var(--page-head-align, center);}
/* --col-line-width:100% is declared on the questions list, a descendant, not on these containers. */
.tpl-start.slim-mode :where(#tpl-flat-questions-body) .tpl-questions-list{--col-line-width:100%;--col-text-width:100%;}
/* Base .tpl-ws-group-name, the workshop/mode toggle row's class. */
.tpl-start .tpl-form-card .tpl-ws-group-name{width:70%;margin-left:auto;margin-right:auto;}
.tpl-start .tpl-section-prompt-input{text-transform:var(--tpl-prose-case);}
/* Flat / blank ranking: the question line, the item rows and the "+ Add Items" button render identically in Individual
   and Group mode. */
.tpl-start .tpl-ws-card-top{display:grid;grid-template-columns:1fr auto 1fr;align-items:start;gap:var(--inset-panel);}
/* The spacer goes with the grid, and stays where a Manage heading carries the status (manage-chrome.css). */
.tpl-start :where(.tpl-mgmt-head:not(:has(> .tpl-block-header-toggles))) > .tpl-ws-card-spacer{display:none;}
.tpl-start .tpl-ws-card-top > .tpl-ws-card-spacer{grid-column:1;}
/* The actions and a header's drag handle: a band the field's one-line height tall, on the first line. */
.tpl-start .tpl-edit-row--header > .tpl-section-drag-handle{align-self:flex-start;margin-top:var(--tpl-row-line-top);min-height:var(--field-h);}
.tpl-start .tpl-edit-row--header > .tpl-section-drag-handle{display:inline-flex;align-items:center;}
/* A section header's handle: a band its head line tall (--card-head-line), the line its badge centres on. */
.tpl-start :where(.tpl-form-card:not(.tpl-sidebar *)) .tpl-block-header-row[data-card-badge-host] > .tpl-section-drag-handle{min-height:var(--card-head-line);}
.tpl-start :is(.tpl-form-card, .tpl-section-block){--tpl-actions-w:var(--type-18);}
.tpl-start :is(.tpl-form-card, .tpl-section-block):where(:has(:is(.tpl-item-row, .tpl-edit-row--header) > .tpl-row-controls > :nth-child(2))){--tpl-actions-w:calc(2 * var(--type-18) + var(--gap-tight));}
.tpl-start :is(.tpl-form-card, .tpl-section-block):where(:has(:is(.tpl-item-row, .tpl-edit-row--header) > .tpl-row-controls > :nth-child(3))){--tpl-actions-w:calc(3 * var(--type-18) + 2 * var(--gap-tight));}
.tpl-start :is(.tpl-form-card, .tpl-section-block):where(:has(:is(.tpl-item-row, .tpl-edit-row--header) > .tpl-row-controls > .tpl-card-collapse)){
    --tpl-collapse-box:var(--size-30);
    --tpl-actions-w:max(calc(2 * var(--type-18) + var(--gap-tight)), calc(var(--type-18) + var(--gap-tight) + var(--tpl-collapse-box)));
}
.tpl-start :is(.tpl-form-card, .tpl-section-block):where(:has(:is(.tpl-item-row, .tpl-edit-row--header) > .tpl-row-controls > .tpl-card-collapse:nth-child(3))){
    --tpl-collapse-box:var(--size-30);
    --tpl-actions-w:calc(2 * var(--type-18) + 2 * var(--gap-tight) + var(--tpl-collapse-box));
}
/* Item-list rows and add buttons. */
.tpl-start .tpl-items-list:not(.tpl-questions-list){display:flex;flex-direction:column;row-gap:var(--step-row);}
/* A list of rows of several fields (.tpl-items-grid): who you're inviting (partials/_people-list) and an availability
   poll's dates (question-types.js). */
.tpl-start .tpl-items-grid--people{--tpl-grid-fields:repeat(var(--people-fields, 3), minmax(0, 1fr));}
.tpl-start .tpl-items-list.tpl-items-grid{
    display:grid;row-gap:0;column-gap:var(--col-gap);max-width:100%;
    grid-template-columns:calc(var(--col-flow-x) - var(--col-gap)) var(--tpl-grid-fields) var(--tpl-actions-w);
    width:calc(var(--col-flow-x) + var(--col-flow-width) + var(--col-gap) + var(--tpl-actions-w));
}
.tpl-slot-note{margin-top:0;font-family:var(--font-body);font-size:var(--type-13);color:var(--muted);}
.tpl-slot-note.is-error{color:var(--message-ink);}
.tpl-slot-ends{display:inline-flex;align-items:baseline;gap:var(--space-4);}
.tpl-slot-ask{display:flex;flex-wrap:wrap;align-items:center;gap:var(--gap-row);margin:0;}
/* The dates and the people as option cards. */
:is(.tpl-start, .dlm) :is(.tpl-items-grid--slots, .tpl-items-grid--people){--optcard-in-lead:calc(var(--edge-4) + var(--inset-panel) + var(--size-20));
    --optcard-in-end:calc(var(--size-32) + var(--space-8) + var(--card-border-width, var(--edge-1)));}
:is(.tpl-start, .dlm) .tpl-items-list.tpl-items-grid--slots{--slot-field-h:var(--field-h);--ufield-min-h:var(--slot-field-h);
    --tpl-grid-fields:minmax(var(--measure-160), 1fr) var(--size-84) var(--size-84) minmax(var(--measure-200), 1fr);
    grid-template-columns:var(--optcard-in-lead) var(--tpl-grid-fields) var(--optcard-in-end);column-gap:var(--gap-row);width:auto;}
:is(.tpl-start, .dlm) :is(.tpl-items-grid--slots, .tpl-items-grid--people) > :is(.tpl-slot-row, [data-person-row]){row-gap:var(--gap-tight);padding-block:var(--space-8);border-color:var(--card-border);border-left-color:var(--kicker-ink);
    border-radius:var(--radius-setup-card, var(--radius-card));background:var(--surface-field);box-shadow:var(--shadow-1) var(--optcard-shadow-ink);}
:is(.tpl-start, .dlm) :is(.tpl-items-grid--slots, .tpl-items-grid--people) > :is(.tpl-slot-row, [data-person-row]):focus-within{border-color:var(--kicker-ink);}
:is(.tpl-start, .dlm) .tpl-items-grid > :is(.tpl-slot-row + .tpl-slot-row, [data-person-row] + [data-person-row]){margin-top:var(--step-tight);}
.tpl-start .tpl-items-list.tpl-items-grid--people{--optcard-in-end:calc(var(--tpl-actions-w) + var(--space-8) + var(--card-border-width, var(--edge-1)));
    grid-template-columns:var(--optcard-in-lead) var(--tpl-grid-fields) var(--optcard-in-end);column-gap:var(--inset-panel);width:auto;}
/* The answer boxes take the card's first line, so they stand as tall as its date and time boxes at every width. */
.tpl-slot-answer{display:grid;grid-template-columns:repeat(3, minmax(0, 1fr));gap:var(--gap-tight);align-self:stretch;}
:is(.tpl-start, .dlm) .tpl-items-grid--slots > .tpl-slot-row > .tpl-slot-date{grid-column:2;grid-row:1;}
:where(:is(.tpl-start, .dlm) .tpl-items-grid--slots > .tpl-slot-row) > .tpl-slot-time:nth-child(3){grid-column:3;grid-row:1;}
:where(:is(.tpl-start, .dlm) .tpl-items-grid--slots > .tpl-slot-row) > .tpl-slot-time:nth-child(4){grid-column:4;grid-row:1;}
:is(.tpl-start, .dlm) .tpl-items-grid--slots > .tpl-slot-row > .tpl-slot-answer{grid-column:5;grid-row:1;}
.tpl-slot-answer-box{display:grid;place-items:center;box-sizing:border-box;padding:0 var(--space-4);
    border:var(--edge-1) solid var(--card-border);border-radius:var(--radius-control);background:var(--surface-field);
    font-size:var(--type-13);line-height:var(--leading-1);color:var(--ink);white-space:nowrap;}
:is(.tpl-start, .dlm) .tpl-items-grid--slots > .tpl-slot-row > :is(.tpl-slot-note, .tpl-slot-ask){grid-column:2 / -1;}
@media (max-width:640px){
    :is(.tpl-start, .dlm) .tpl-items-list.tpl-items-grid--slots{--tpl-grid-fields:minmax(0, 1fr) minmax(0, 1fr);}
    :is(.tpl-start, .dlm) .tpl-items-grid--slots > .tpl-slot-row > .tpl-slot-date{grid-column:2 / -2;grid-row:1;}
    :where(:is(.tpl-start, .dlm) .tpl-items-grid--slots > .tpl-slot-row) > .tpl-slot-time:nth-child(3){grid-column:2;grid-row:2;}
    :where(:is(.tpl-start, .dlm) .tpl-items-grid--slots > .tpl-slot-row) > .tpl-slot-time:nth-child(4){grid-column:3;grid-row:2;}
        /* With its captions gone the first card stands where they stood. */
    :is(.tpl-start, .dlm) .tpl-items-list:is(.tpl-items-grid--slots, .tpl-items-grid--people) > .tpl-item-labels + *{margin-top:0;}
}
/* In a dialog (at most --measure-640, the Manage poll's dates editor) the dates never have room for their wide tracks: the
   phone's arrangement at every width, its rules stated once more for that scope. */
.dlm .tpl-items-list.tpl-items-grid--slots{--tpl-grid-fields:minmax(0, 1fr) minmax(0, 1fr);}
.dlm .tpl-items-grid--slots > .tpl-slot-row > .tpl-slot-date{grid-column:2 / -2;grid-row:1;}
:where(.dlm .tpl-items-grid--slots > .tpl-slot-row) > .tpl-slot-time:nth-child(3){grid-column:2;grid-row:2;}
:where(.dlm .tpl-items-grid--slots > .tpl-slot-row) > .tpl-slot-time:nth-child(4){grid-column:3;grid-row:2;}
.dlm .tpl-items-list.tpl-items-grid--slots > .tpl-item-labels + *{margin-top:0;}
.dlm .tpl-items-grid--slots > .tpl-slot-row > .tpl-slot-answer{display:none;}
@media (max-width:640px){
    .tpl-items-grid--slots > .tpl-slot-row > .tpl-slot-answer{display:none;}
        /* A person's row: First name and Last Name on its line, Email under them, the number between the two lines. */
    .tpl-start .tpl-items-grid--people{--tpl-grid-fields:minmax(0, 1fr) minmax(0, 1fr);}
    .tpl-items-grid--people > [data-person-row]{row-gap:var(--gap-tight);}
}
.tpl-start .tpl-items-grid > :not(.tpl-item-labels) + *{margin-top:var(--step-row);}
.tpl-start .tpl-items-grid > .tpl-item-labels + *{margin-top:var(--step-tight);}
/* An option card's grip (setup-editor.js _optionOrder) stands in the card's leading padding; the letter stays where it is. */
.tpl-start .tpl-optcard > .tpl-section-drag-handle{position:absolute;inset-block:0;inset-inline-start:0;width:var(--inset-panel);}
/* A card header's handle spans its column, from the inner edge of the card it sits in to its number box (that card's own left
   padding, --col-card-pad-l, and the reserve), with its glyph centred; it gives back all of it, with the gap after it, so the
   number box stays at --col-num-x. */
.tpl-start [data-card-badge-host] > .tpl-section-drag-handle,
.tpl-start .tpl-edit-row--header > .tpl-section-drag-handle{width:calc(var(--col-card-pad-l) + var(--col-num-x));
    margin-inline:calc(-1 * var(--col-card-pad-l)) calc(-1 * (var(--col-num-x) + var(--col-gap)));}
.tpl-start .tpl-section-block--titled > .tpl-block-header-row > .tpl-section-type-select{display:flex;align-items:center;}
@media (max-width:640px){
    .tpl-start .tpl-section-block--titled > .tpl-block-header-row > .tpl-section-type-select{order:2;flex:1 1 auto;min-width:0;margin-left:var(--tpl-section-col-l);}
}
/* A ranking's (a ranking in sections, data-preview-screen="rank") holds its Text / Images alone: it stays on the title's line. */
@media (max-width:640px){
    .tpl-start :where(.tpl-section-block--titled[data-preview-screen="rank"] > .tpl-block-header-row) > .tpl-section-type-select{order:0;flex:none;margin-left:0;}
}
/* The header name field's left margin (templates.css) is an indent-based calc; this body sets its own padding. */
.tpl-start .tpl-flat-questions-body{
    padding-left:0;
    padding-right:0;
}
.tpl-start.shape-sectioned .tpl-section-block > .tpl-flat-subcard{margin-bottom:0;}
/* The section type band: the type's dropdown (templates._section-type-select), or its plain label when the
   structure is locked, at the card's inset across its top edge. */
.tpl-start .tpl-section-block > .tpl-section-type-select{padding:0 var(--inset-box);}
.tpl-start .tpl-section-type-locked-label{
    margin-bottom:0;
}
/* The band and the panel carry the card's inline inset (THE INSET IS ONE TERM); its top and bottom stay the card's own, so a
   section folded to its band keeps them. */
.tpl-start .tpl-section-block:has(> .tpl-section-band){padding-left:0;padding-right:0;}
@container not style(--card-head-rule: none){
    .tpl-start .tpl-section-block > .tpl-section-band{padding-bottom:var(--step-row);}
    .tpl-start .tpl-section-block > .tpl-section-band::after{content:"";position:absolute;bottom:0;left:var(--tpl-section-inset-l);right:var(--tpl-section-inset-r);border-bottom:var(--card-head-rule);}
}
.tpl-start .tpl-section-band{
    position:relative;
    display:flex;
    /* NO align-items HERE. */
    gap:var(--col-gap);
    margin:0;
    padding:0 var(--tpl-section-inset-r) 0 var(--tpl-section-inset-l);
}
/* The band is the card's own surface with the rule under it, not a tinted bar. */
.tpl-start .tpl-section-band + .tpl-flat-subcard{
    /* Bottom is 0 */
    padding:var(--gap-stack) var(--tpl-section-inset-r) 0 var(--tpl-section-inset-l);
    border-width:0;
}
.tpl-start .tpl-section-block{
    --tpl-section-col-l:var(--col-line-x);
    --tpl-section-col-r:calc(100% - var(--col-line-x) - var(--col-line-width));
}
.tpl-start .tpl-section-desc{
    margin-left:var(--tpl-section-col-l);
    margin-right:var(--tpl-section-col-r);
    /* THIS BOX OWNS THE GAP TO THE COMPARISON QUESTION, AND IT IS THE ONLY THING THAT DOES. */
    margin-bottom:0;
}
@media(max-width:640px){
    .tpl-start .tpl-section-band{flex-wrap:wrap;}
}
/* The "Customise Weighting" checkbox is the shared checkbox (.c-check). */
.tpl-start .tpl-weight-row{display:flex;align-items:center;justify-content:space-between;gap:var(--gap-row);flex-wrap:wrap;}
.tpl-start .tpl-weight-row-toggles{display:flex;align-items:center;gap:var(--inset-panel);flex-wrap:wrap;}
/* "Customise Weighting" steps up a type tier. */
.tpl-start .tpl-weight-strip-status{padding:0 var(--gap-tight) 0 var(--edge-1);}
/* Total weighting strip — ALWAYS rendered after the last criterion card. */
.tpl-start .tpl-weight-strip{display:flex;align-items:center;justify-content:space-between;padding:var(--inset-control) 0;margin:0;border-top:var(--edge-1) solid var(--line-strong);}
/* The two chrome-stripped wrappers. */
.tpl-start .tpl-weight-strip-card{margin:0;}
.tpl-start .tpl-weight-strip-label{flex:1 1 auto;min-width:0;}
/* THE BADGE IS PAINTED ON THE + COLUMN, CENTRED IN IT — no right-edge offsets and
   no reserved lane, because the box IS the column. align-self:stretch gives it the
   row's height, and its width is the stepper's + column. */
.tpl-start .tpl-weight-strip-mark{
    flex:none;
    width:var(--size-40, var(--size-32));   /* the stepper's + column (.c-stepper-btn) */
    align-self:stretch;
    background-repeat:no-repeat,no-repeat;
    background-size:
        calc(var(--tpl-badge-size) * 4 / 9) calc(var(--tpl-badge-size) * 4 / 9),
        calc(var(--tpl-badge-size) * 2 / 3) calc(var(--tpl-badge-size) * 2 / 3);
    background-position:center,center;
}
.tpl-start :where(.tpl-weight-strip.is-on[data-state="ok"]) .tpl-weight-strip-status{color:var(--ink);}
.tpl-start :where(.tpl-weight-strip.is-on[data-state="ok"]) .tpl-weight-strip-mark{
    background-image:
        var(--quiz-tick-svg),
        radial-gradient(circle closest-side, var(--success) 98%, transparent 100%);
}
/* Off 100%, over or under. --red is the platform rust the OFF pill and the
   criteria letters already use; the disc, its size and its position are the ok
   arm's, unchanged. */
:where(.tpl-start) .tpl-weight-strip.is-on[data-state="invalid"] .tpl-weight-strip-status{color:var(--message-ink);}
.tpl-start :where(.tpl-weight-strip.is-on[data-state="invalid"]) .tpl-weight-strip-mark{
    background-image:
        var(--quiz-cross-svg),
        radial-gradient(circle closest-side, var(--accent) 98%, transparent 100%);
}
.tpl-start.shape-criteria :where(.tpl-section-block .tpl-edit-field) > .tpl-section-prompt-wrap{justify-content:flex-start;}
/* The overall question sits on the line column. */
.tpl-start :where(#tpl-flat-compare-fields) > .tpl-section-prompt-wrap{padding-left:var(--col-line-x);padding-right:0;justify-content:flex-start;}
/* Flat Ranking sub-card — the near-white card that the OVERALL QUESTION and the ITEMS well render in, INSIDE the merged
   tan .tpl-form-card panel. */
.tpl-start .tpl-flat-subcard{
    background:transparent;
    /* Horizontal border and padding are both 0. */
    border:var(--edge-1) solid transparent;
    border-left-width:0;
    border-right-width:0;
    /* The bottom border too. */
    border-bottom-width:0;
    border-radius:var(--radius-entry);
    /* The trailing padding is 0. */
    padding:var(--inset-box) 0 0;
}
/* The criterion is a bounded card inside the criteria card (#tpl-criteria-card), its border on the card's number box. */
.tpl-start :where(#tpl-criteria-card) > .tpl-section-block{
    /* Its left padding is its own, 0, and its header's handle reads it (THE CARD'S HORIZONTAL INSET). */
    --col-card-pad-l:0px;
    border:var(--edge-1) solid var(--color-border-tertiary);
    border-radius:var(--radius-panel);
    background-color:var(--card-bg-inset);
    padding:var(--inset-card) 0 var(--inset-card) var(--col-card-pad-l);
    margin-bottom:0;
    margin-inline:var(--col-line-x) calc(-1 * var(--edge-1));
}
/* IMAGES sub-tab */
.tpl-start.shape-rank-type :where(#tpl-items-list) > .tpl-item-image-row{box-sizing:border-box;margin-left:var(--col-line-x);margin-right:0;width:auto;max-width:var(--col-line-width);padding-left:0;}
/* DM + MS images sub-tab: flush like the text rows — the thumbnail block sits on the item
   TEXT column (gutter + numeral + gap) and spans the same band, so each image lines up
   under its own label. Left-aligned (not the centred band). */
.tpl-start.shape-criteria :where(#tpl-items-list) > .tpl-item-image-row,
.tpl-start.shape-sectioned :where(.tpl-section-block .tpl-items-list) > .tpl-item-image-row{box-sizing:border-box;margin-left:var(--col-line-x);margin-right:0;width:auto;max-width:var(--col-line-width);padding-left:0;}
/* MS (flush grid) */
.tpl-start.shape-sectioned .tpl-section-block .tpl-section-prompt-wrap{justify-content:flex-start;padding-left:var(--col-line-x);}
/* MS: the item rows read as one bordered box split by hairlines. */
.tpl-start .tpl-section-option-kind{
    /* Flex, not grid. */
    display:flex;
    flex-direction:row;
    align-items:center;
    gap:var(--step-tight);
    /* The label sits on the text column of the rows it sits among. */
    margin-top:var(--space-16);
    padding-left:var(--col-flow-x);
}
/* Bebas, at the card's own body size so the control label sits level with the fields it governs rather than reading as a
   second card heading. */
.tpl-start .tpl-weight-strip-label,
.tpl-start .tpl-weight-strip-status,
.tpl-start .tpl-card-pair .tpl-card-part input.tpl-weight-strip-status{
    font-family:var(--font-heading);
    letter-spacing:var(--tracking-2, var(--tracking-2));
}
.tpl-start .tpl-weight-strip-label,
.tpl-start .tpl-weight-strip-status{
    font-size:var(--type-16);
    text-transform:var(--tpl-cardname-case, uppercase);
    line-height:var(--leading-11, var(--leading-11));
    color:var(--ink);
}
/* MS ONLY */
.tpl-start .tpl-section-option-kind{column-gap:var(--col-gap);}
/* THE END-OF-SECTION PART (.tpl-end-part, templates/_end-question-toggle; Reverse-scored on a criterion): the part of the card
   holding the caption-and-switch row (.c-switch-row), placed on the text column of the rows it sits among, a group step under
   them (THE GROUP-INSIDE-ROW JUNCTIONS, below); on a criterion card a full row of its controls, on the criterion's field text. */
.tpl-start .tpl-end-part{padding-left:var(--col-flow-x);}
.tpl-start.shape-criteria .tpl-crit-ctrls > .tpl-end-part{flex:0 0 100%;padding-left:var(--space-2);}
/* CHECKED */
.tpl-start.shape-criteria .tpl-section-block .tpl-section-prompt-wrap{justify-content:flex-start;}
/* Structural lock — when responses exist (<main>.structural-locked) each control of the structure editor is editable or
   read-only by what the lock still saves (RefusedEdits::lockedKeys, setup-editor.js), never by where it sits */
.tpl-start.structural-locked :where(#tpl-structural-region) .tpl-image-drop{display:none;}
/* Header (Session Overview) card — BALANCED top/bottom padding, defined ONCE via the shared --space scale so every shape
   reads symmetrically */
.tpl-start .tpl-setup-card{position:relative;}
/* A new session's title card while the page waits for its title (form[data-title-first], setup-editor.js): ringed in the field-focus
   colour, the ring breathing out twice, still under reduced motion. */
.tpl-start form[data-title-first] .tpl-setup-card{outline:var(--edge-2) solid var(--setup-field-focus, var(--kicker-ink));animation:tpl-start-here var(--motion-breathe) var(--ease-enter) 2;}
@keyframes tpl-start-here{
    from{box-shadow:0 0 0 0 var(--setup-field-focus, var(--kicker-ink));}
    to{box-shadow:0 0 0 var(--space-12) transparent;}
}
@media (prefers-reduced-motion: reduce){.tpl-start form[data-title-first] .tpl-setup-card{animation:none;}}
/* THE IMAGE BLOCK'S ADD IMAGE (image-block.js tplImageDrop), in List and on the slide: a dashed box as wide as its fields, the
   image mark on a tint of the accent on its left, then "Add Image" in the accent and how, muted. A file held over it lights its edge. */
.tpl-start .tpl-image-drop{display:flex;align-items:center;gap:var(--inset-box);box-sizing:border-box;width:100%;margin:0;padding:var(--inset-panel);
    border:var(--edge-1) dashed var(--line-strong);border-radius:var(--radius-control);background:var(--surface-field);
    color:var(--muted);font:inherit;font-size:var(--type-16);text-align:start;cursor:pointer;}
.tpl-start .tpl-image-drop.is-drop:not(:disabled){border-color:var(--accent);}
.tpl-start .tpl-image-drop:disabled:where(:not([data-read-only], [data-plan-inert])){cursor:default;opacity:var(--btn-off);}
.tpl-start .tpl-image-drop-mark{flex:none;display:grid;place-items:center;width:calc(var(--space-32) + var(--space-8));height:calc(var(--space-32) + var(--space-8));
    border-radius:var(--radius-control);background:color-mix(in srgb, var(--accent) 12%, transparent);color:var(--accent-ink);font-size:var(--type-20);}
.tpl-start .tpl-image-drop-words{min-width:0;}
/* Its two parts each keep their line: a narrow block breaks between them, never inside one. */
.tpl-start .tpl-image-drop-words > span{white-space:nowrap;}
.tpl-start .tpl-image-drop-name{color:var(--accent-ink);font-weight:var(--weight-semibold);}
/* A caller's own line under the name (the Results Page's: where the image will show). */
.tpl-start .tpl-image-drop--stacked .tpl-image-drop-how{display:block;font-size:var(--type-13);}
/* The results pages' image in place (image-block.js IN PLACE): the image as it shows there, its thumbnail row one line on
   its foot, on the panel's ground. */
.tpl-start .tpl-image-shown{position:relative;}
.tpl-start .tpl-image-line{position:absolute;inset-inline:var(--inset-box);bottom:var(--inset-box);align-items:center;box-sizing:border-box;
    padding:var(--gap-tight) var(--inset-box);background:var(--surface-panel);border:var(--edge-1) solid var(--line);border-radius:var(--radius-control);}
.tpl-start .tpl-image-line .tpl-item-image-fields{flex-direction:row;align-items:baseline;column-gap:var(--gap-row);}
.tpl-start .tpl-image-line .tpl-item-image-fields > *{white-space:nowrap;}
@media (max-width:640px){
    .tpl-start .tpl-image-line .tpl-item-image-fields{flex-direction:column;row-gap:0;}
}
/* An item adder is its list's last row (.tpl-add-row) and takes the field's column. The comparisons count under it is muted
   text on the add button's inset, the row step below, its padding the inset from its own top edge. */
.tpl-start .tpl-compare-count{margin-left:var(--col-line-x);width:var(--col-line-width);max-width:100%;box-sizing:border-box;padding-top:var(--gap-tight);border-top:var(--edge-1) solid var(--line-strong);border-radius:var(--radius-chip);font-family:var(--font-mono);font-size:var(--type-10);line-height:var(--leading-14);color:var(--ink);text-transform:uppercase;text-align:left;}
@media (min-width:641px){
    .tpl-start .tpl-section-block .tpl-items-list:not(.tpl-items-grid, .tpl-questions-list){width:80%;}
}
/* A section's question cards stand on its name and description's edges (.tpl-section-desc), as its option cards do. */
.tpl-start .tpl-section-block .tpl-questions-list:where([data-section-questions-list]:not(.tpl-optcards-list)){margin-left:var(--tpl-section-col-l);margin-right:var(--tpl-section-col-r);}
.tpl-start.shape-sectioned :where(.tpl-section-block) .tpl-items-list:not(.tpl-questions-list){align-items:stretch;width:100%;box-sizing:border-box;}
/* A poll's agenda document (partials/_poll-document): a tile of one line, its icon, its name cut before the extension, its
   type and size, and its × at the end; Attach document under the tiles. Its edge is the underlined field's line, which every
   design draws (a card's border may be transparent). */
.poll-doc{display:flex;flex-direction:column;align-items:flex-start;gap:var(--step-row);}
.poll-doc-tile{display:flex;align-items:center;gap:var(--gap-row);align-self:stretch;min-width:0;
    border:var(--ufield-rule-w) solid var(--ufield-rule);border-radius:var(--radius-control);padding:var(--inset-card);}
.poll-doc-icon{flex:none;}
.poll-doc-name{display:flex;min-width:0;color:var(--ink);white-space:nowrap;}
.poll-doc-name > :last-child{flex:none;}
.poll-doc-stem{min-width:0;overflow:hidden;text-overflow:ellipsis;}
.poll-doc-meta{flex:none;color:var(--muted);white-space:nowrap;}
/* Under the agenda field on set-up, at the card's step between rows. */
.tpl-start .tpl-card-part + .poll-doc{margin-top:var(--step-row);}
/* THE SET-UP TABLE (.ev-table): a ruled box of rows, its head row in the label face on the hover wash. A row is a flex line of
   cells; each table sizes its own columns. Read by the Event page's contributors and feedback tables (event-setup.js). */
.ev-table{border:var(--edge-1) solid var(--line);overflow-x:auto;}
.ev-list-row{display:flex;align-items:center;gap:var(--space-4);padding:var(--space-4) var(--space-8);border-top:var(--edge-1) solid var(--line);min-width:max-content;}
.ev-list-row:first-child{border-top:0;}
.ev-list-row--head{background:var(--menu-hover);}
.ev-list-row--head .ev-cell{font-family:var(--font-label);font-size:var(--type-12);letter-spacing:var(--tracking-6);text-transform:var(--label-case);color:var(--muted);}
.ev-cell{min-width:0;}
/* The row controls stay in view when a wide table scrolls sideways. */
.ev-cell--ctrls{flex:none;display:flex;align-items:center;gap:var(--space-4);position:sticky;right:0;background:var(--card-bg);}
/* Comparison-question input inside each criterion / section card — deliberately a soft box, not an underline input. */
.tpl-section-prompt-input{width:100%;box-sizing:border-box;outline:none;}
@media (min-width:641px){
    .tpl-section-prompt-input{width:40%;}
}
/* The end-of-section questions body is the next object down from whatever precedes it
   on the card — the adder on MS, the participant-question part on DM — so its top gap is
   the shared role, not a number of its own. */
.tpl-instructions-body{margin-top:var(--gap-stack);}
/* A well's first child stacks against the padding, not a preceding object, so it takes no margin. */
.tpl-start.slim-mode .tpl-setup-fields-well > .tpl-instructions-body{margin-top:0;}
.tpl-instructions-title,
.tpl-instructions-textarea{width:100%;box-sizing:border-box;outline:none;}
textarea.tpl-instructions-textarea{line-height:var(--leading-15);}
/* The People list's parts (its progress block, its actions, the search and chips, the list) one row step apart. */
:where(#tpl-respondents-card) .people-list:not([data-people-form]){display:flex;flex-direction:column;gap:var(--step-row);}
/* THE LIST: a rule above the first row and under every row. */
.tpl-segment-selected:has(> .tpl-segment-card){border-top:var(--card-border-width) solid var(--line);}
/* ONE FIELD ON ONE LINE: grip . the name, edited in place . Answer . Required . "n options" . x, a list's options under the
   line. The list holds the columns and every line takes them (subgrid), so a line without its x keeps the x's column; the
   handle and the x hold their distance as their own margin, so a phone (no handle) puts the line on the card's edge. */
.tpl-segment-selected{display:grid;grid-template-columns:auto minmax(0,1fr) var(--tpl-pd-name-w) var(--tpl-pd-name-w) var(--tpl-pd-name-w) auto;column-gap:var(--inset-box);}
.tpl-segment-card{display:grid;grid-column:1 / -1;grid-template-columns:subgrid;align-items:center;
    padding:var(--gap-tight) 0;border-bottom:var(--card-border-width) solid var(--line);}
.tpl-segment-card > .tpl-section-drag-handle{margin-right:calc(var(--gap-row) - var(--inset-box));}
/* --tpl-pd-name-w: the column Answer, Required and Options each take, so every summary starts at the same x; the rules key on
   the fields (.tpl-segment-fields: set-up's card, Respondent Data Defaults' sets), not a card. */
.tpl-segment-fields{container-type:inline-size;--tpl-pd-name-w:var(--measure-200);--switcher-fit-w:100%;}
/* A LIST NO WIDER THAN A PHONE (the card between the set-up page's two rails, RR-458) takes the phone's line: the name, then the
   Answer, each across the line, then Required, "n options" and the x, the handle beside the three. A phone also drops the handle. */
@container (max-width:640px){
    .tpl-segment-selected{grid-template-columns:auto minmax(0,1fr) auto auto;}
    .tpl-segment-card{row-gap:var(--gap-tight);}
    .tpl-segment-card > .tpl-section-drag-handle{grid-row:span 3;}
}
/* Required */
.tpl-start :is(.tpl-form-card, .tpl-invite-panel){--check-label-face:var(--font-label);--check-label-size:var(--caption-size-switch);
    --check-label-tracking:var(--tracking-14);--check-label-case:uppercase;--check-label-line:var(--leading-1);
    --check-label-ink:var(--setup-ph-color);--check-label-ink-on:var(--ink);}
.tpl-segment-tags{display:grid;grid-template-columns:repeat(auto-fill,minmax(var(--result-col-w),1fr));grid-auto-rows:1fr;gap:var(--step-row);}
/* A list's options with Add Option after them: above a phone's width on the line's three columns, from under Answer. */
@container (min-width:641px){.tpl-segment-tags{grid-template-columns:repeat(3,var(--tpl-pd-name-w));column-gap:var(--inset-box);}}
@media(max-width:640px){
    .tpl-segment-fields .tpl-section-drag-handle{display:none;}
    .tpl-segment-selected{grid-template-columns:minmax(0,1fr) auto auto;}
        /* Section-card header (MS + DM) — mobile reflow to match the question card's number treatment, type-agnostic (Items /
           Images / Questions share this header). */
    .tpl-start :is(.tpl-edit-row--header, [data-card-badge-host]) > .tpl-section-drag-handle{display:none;}
    .tpl-start .tpl-optcard > .tpl-section-drag-handle{display:none;}
}
@media(max-width:480px){
    .tpl-start .tpl-form-card .tpl-ws-group-name{width:100%;}
}
@media(max-width:640px){
    .tpl-start .tpl-ws-card-top > .tpl-ws-card-spacer{display:none;}
        /* Same as the ≤480 arm below. */
    .tpl-start .tpl-form-card .tpl-ws-group-name{width:100%;margin-left:auto;margin-right:auto;}
        /* A .tpl-items-grid's rows pay it through the list's columns, which they share: the actions column is the reserve
           less the gap the cluster's margin takes back, and the list is its row's width, so the fields keep it as a field does. */
    .tpl-start .tpl-items-list.tpl-items-grid{
            width:100%;
            grid-template-columns:calc(var(--col-flow-x) - var(--col-gap)) var(--tpl-grid-fields) calc(var(--tpl-actions-w) - var(--col-gap));
        }
        /* A section's header band spans its card, while the rows it heads sit in the section's body panel, inset on the right by
           --tpl-section-inset-r (.tpl-flat-subcard): the band's action column sits inside that same inset, so its field and its ×
           end where theirs do. */
    .tpl-start .tpl-section-band:has(> .tpl-row-controls){padding-inline-end:calc(var(--tpl-actions-w) + var(--tpl-section-inset-r));}
}
/* The session page's panels on their roles (templates.css's .tpl-invite-panel serves results too). */
.tpl-start .tpl-invite-panel{background:var(--surface-panel);}
/* GROUP — a card is a column of groups (the card's own, templates.css); a section block is one too. */
.tpl-start .tpl-section-block{display:flex;flex-direction:column;row-gap:var(--step-group);}
/* Scoped `.tpl-flat-subcard >`: DM's copy of this class lives inside .tpl-card-pair,
   which is already on this list, and must not be reached twice. */
.tpl-start .tpl-flat-subcard:not(.tpl-edit-row),
.tpl-start .tpl-questions-list{
    display:flex;
    flex-direction:column;
    row-gap:var(--step-row);
}
/* A list of questions (question-types.css): its rows touch, each divided from the next by its own hairline. */
.tpl-start .tpl-questions-list:has(> .qt-card){row-gap:0;}
/* In a column that steps its own parts (a band, a card, a criterion's fields) the column's gap is the whole distance. */
.tpl-start :is(.tpl-flat-subcard, .tpl-form-card:not([data-section-idx]), .tpl-edit-field) > .tpl-instructions-body{margin-top:0;}
/* A well of underlined fields (--underline): stacked, an underline to the next caption is the group step (the Setup card, a
   Profile's details card); after the flat well's own step, which it overrides. */
.tpl-start .tpl-setup-fields-well.tpl-setup-fields-well--underline{row-gap:var(--step-group);}
.tpl-start .tpl-section-option-kind{row-gap:var(--step-tight);}
/* Wells inside an ordinary card — 12px padding-top + a 1px transparent border. */
.tpl-start .tpl-form-card > .tpl-flat-subcard{
    margin-top:calc(-1 * (var(--inset-box) + var(--edge-1)));
}
/* The MS section body panel — 24px + 1px, the card's own inset on that shape. */
.tpl-start .tpl-section-band + .tpl-flat-subcard{
    margin-top:calc(-1 * (var(--space-24) + var(--edge-1)));
}
/* THE GROUP-INSIDE-ROW JUNCTIONS: flex gap and margin ADD, so a child that opens a new group inside a container stepping at
   --step-row spends only --step-lift, the difference. A container that steps its own parts at --step-group (.tpl-crit-ctrls,
   templates.css) gives its parts no margin. */
.tpl-start .tpl-flat-subcard > :is(.tpl-end-part, .tpl-section-option-kind),
.tpl-start .tpl-instructions-body > .tpl-end-part{margin-top:var(--step-lift);}
.tpl-start :where(.tpl-form-card:not(.tpl-sidebar *)) div.tpl-block-header-row[data-card-badge-host] > :is(div.tpl-block-header-toggles, div.tpl-section-type-select){min-height:var(--card-head-line);}
/* A ranking's card keeps no reserve on the right; the Session Title's well above a flat ranking takes the same column, so its line
   ends where the Question's does. */
.tpl-start :is(.tpl-form-card, .tpl-section-block):where(:is(.tpl-form-card:not(.tpl-section-block):has([data-ranked], [data-section-questions-list]):not(:has([data-question-wrap] .tpl-optcards-list)), .tpl-section-block.tpl-form-card:not([data-section-mode="questions"], [data-section-mode="quiz"], .tpl-section-block--titled):has(.tpl-optcards-list:not(.tpl-questions-list)))) > :not(.tpl-section-band),
.tpl-start:where(:has(#tpl-items-list[data-ranked]:not([hidden]))) :where(#tpl-session-setup-card) > .tpl-setup-fields-well{--col-right:0px;
    --col-line-width:min(var(--col-line-max), calc(100% - var(--col-line-x) - var(--col-right)));
    --col-flow-width:min(var(--col-line-max), calc(100% - var(--col-flow-x) - var(--col-right)));
    --col-text-width:calc(var(--col-flow-width) - var(--col-title-x) + var(--col-flow-x));}
/* A section's questions over their adder, a group apart, as a simple survey's list over its adder. */
.tpl-start :where(.tpl-section-block) .tpl-instructions-body[data-section-question-idx]:not(.tpl-card-part){row-gap:var(--step-group);}
/* A pairwise list's count under its adder (setup-editor.js _updateCompareCountUnder) spans the adder's width. */
.tpl-start .tpl-optcards-add > .tpl-compare-count{margin:0;width:auto;}
.tpl-start .tpl-setup-band .tpl-about-link{display:inline-flex;flex:none;color:inherit;text-decoration:none;}
.tpl-start .tpl-setup-band .tpl-about-i{width:var(--size-24);height:var(--size-24);box-sizing:border-box;display:grid;place-items:center;border:var(--field-edge-width) solid currentColor;border-radius:var(--radius-circle);
    font-family:var(--font-serif-display);font-style:italic;font-size:var(--type-13);line-height:var(--leading-1);}
.tpl-start .tpl-attach-row > .poll-doc{display:contents;}
.tpl-start :where(.tpl-attach-row > .poll-doc) > .poll-doc-tile:not([hidden]){flex:1 0 100%;order:1;}
.people-list-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:var(--inset-panel);margin-bottom:var(--step-tight);}
/* Paste list's panel stands under that line as the line stands over the list. */
.tpl-start .people-paste{margin-bottom:var(--step-tight);}
.tpl-start .people-paste > textarea{resize:vertical;}
.people-list-links{margin-inline-start:auto;gap:var(--inset-panel);}
.people-suggest{position:absolute;top:100%;left:var(--col-flow-x, 0px);z-index:var(--layer-menu);min-width:var(--measure-320);}

/* ═══ THE EVENT SET-UP (event-setup.js): the Event in the Setup card, its Sessions card and its Feedback card ═══════════════
   The Event and each session are one card (.qt-card); the cards' contents start under the card's number box (--col-line-x)
   and run to the card's end, as the heading row does. */
.tpl-start .tpl-form-card > :is(.ev-sessions, .ev-fq, .ev-fbc, .ev-fb-pick){margin-left:var(--col-line-x);margin-right:0;width:auto;box-sizing:border-box;}
.ev-sessions{display:flex;flex-direction:column;gap:var(--step-row);}
/* An item's heading: its name, and on the line under it when, where and who (wrapping on a phone). */
.tpl-start .qt-card-head > .ev-s-name{grid-column:type-start / sum-end;display:flex;flex-direction:column;gap:var(--space-4);min-width:0;}
.ev-s-title{font-family:var(--font-heading);font-size:var(--type-17);color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.ev-s-meta{font-family:var(--font-body);font-size:var(--type-13);line-height:var(--leading-13);color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.ev-sort{display:flex;align-items:center;gap:var(--space-8);}
/* An item's body: its rows, each a fields well of one field or two side by side (Start and End). */
.tpl-start .tpl-setup-fields-well.ev-well{display:flex;flex-direction:row;column-gap:var(--col-gap);row-gap:var(--step-group);align-items:stretch;}
.ev-well > *{flex:1 1 0;min-width:0;}
.ev-well .date-pick{display:flex;min-width:0;}
.ev-well .date-pick > .date-pick-field{flex:1 1 auto;min-width:0;width:100%;justify-content:space-between;}
/* Its image and documents (the document tile, .poll-doc-tile), then its three adders, equal, in one row. */
.ev-media{display:grid;grid-template-columns:repeat(2, minmax(0, max-content));align-items:start;gap:var(--gap-row) var(--col-gap);}
.ev-image-thumb{width:var(--size-36);height:var(--size-36);object-fit:cover;border-radius:var(--radius-control);}
.ev-add-row{display:grid;grid-template-columns:repeat(3, minmax(0, 1fr));gap:var(--col-gap);}
/* Contributors: Name, Job Title, Organisation, then Role and × at the end, as wide as they need. */
.ev-sp-table .ev-list-row{min-width:0;}
.ev-sp-row{cursor:pointer;min-height:var(--size-48);}
.ev-sp-row:hover{background:var(--menu-hover);}
.ev-sp-table .ev-cell{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--type-14);text-align:start;}
.ev-sp-table .ev-list-row--head .ev-cell{font-size:var(--type-12);}
.ev-sp-name{flex:1.2 1 0;}
.ev-sp-title,.ev-sp-org{flex:1.6 1 0;color:var(--muted);}
.ev-sp-role{flex:none;width:var(--size-84);}
.ev-sp-table .ev-cell--ctrls.ev-sp-x{flex:none;width:var(--size-24);gap:0;justify-content:flex-end;}
/* A contributor's card (the dialog, .dlm): its name with its role beside it, on one baseline; the photo a small circle. */
.dlm-head.ev-dlm-head{justify-content:flex-start;align-items:baseline;}
.ev-dlm-head > .dlm-title{text-align:start;margin:0;}
.ev-dlm-head > [data-close]{margin-inline-start:auto;align-self:center;}
.dlm .person-card .row{align-items:start;}
.dlm .person-card .ev-bio{min-height:calc(var(--size-48) * 3);}
.ev-photo{display:flex;align-items:center;gap:var(--gap-row);}
.ev-photo-acts{display:flex;align-items:center;gap:var(--space-8);}
/* Feedback: Questions for, one list of answer cards (.as-setup), then the table of items (Feedback On, Questions, the switch). */
.tpl-start .tpl-form-card .as-panel.ev-fb-pick{display:flex;flex-direction:row;align-items:baseline;justify-content:flex-start;text-align:start;gap:var(--space-8);}
.ev-fq{gap:var(--step-row);}
.ev-fb-table .ev-list-row{min-width:0;min-height:var(--size-48);}
.ev-fb-table .ev-list-row.is-off .ev-fb-name{color:var(--muted);}
.ev-fb-name{flex:1 1 0;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--type-14);}
.ev-fb-event{font-weight:var(--weight-semibold);}
.ev-fb-qs{flex:none;min-width:var(--measure-240);display:flex;align-items:center;gap:var(--space-4);}
.ev-fb-edit{flex:none;}
.ev-fb-on{flex:none;width:var(--size-48);display:flex;justify-content:flex-end;}
.ev-fb-n{flex:none;width:var(--size-30);color:var(--muted);font-size:var(--type-14);}
.ev-fb-m{flex:none;width:var(--measure-160);color:var(--muted);font-size:var(--type-14);}
@media (max-width:640px){
    .tpl-start .qt-card-head > .ev-s-name{grid-column:type;}
    .ev-s-meta{white-space:normal;}
    .tpl-start .tpl-setup-fields-well.ev-well{flex-direction:column;}
    .ev-add-row{grid-template-columns:minmax(0, 1fr);}
    .ev-sp-title,.ev-sp-org{display:none;}
    .ev-fb-table:not(.ev-fb-shared) .ev-list-row{flex-wrap:wrap;row-gap:var(--space-4);}
    .ev-fb-table:not(.ev-fb-shared) .ev-fb-name{flex-basis:100%;}
    .ev-fb-table .ev-list-row--head .ev-fb-qs{display:none;}
    .ev-fb-qs{flex:1 1 0;min-width:0;}
    .ev-fb-m{width:auto;}
}
/* A titled section's heading (its number and name, its type strip and tools) wraps where the cards' column cannot hold it whole. */
.tpl-start .tpl-section-block--titled > [data-card-badge-host]{flex-wrap:wrap;}
/* ── A TITLED SECTION (templates/_card-section): folded, its heading and its name · question in the caption's ink; open, its
   Introduction Page a group over a hairline, then its method's cards, question, options and Additional Questions, a button. */
.tpl-start .tpl-section-block--titled:not([data-folded]) > .tpl-section-fold-line{display:none;}
.tpl-start .tpl-section-block--titled > .tpl-section-fold-line{margin-left:var(--tpl-section-col-l);margin-right:var(--tpl-section-col-r);line-height:var(--leading-15);}
.tpl-start .tpl-section-block--titled > .tpl-section-fold-line:empty{display:none;}
.tpl-start .tpl-section-intro{display:flex;flex-direction:column;row-gap:var(--step-group);padding-bottom:var(--step-group);border-bottom:var(--edge-1) solid var(--hairline-faint);}
.tpl-start .tpl-section-intro > .tpl-section-intro-cap{margin-left:var(--tpl-section-col-l);--capt-ink:var(--muted);}
.tpl-start .tpl-section-method{display:flex;flex-direction:column;margin-left:var(--tpl-section-col-l);margin-right:var(--tpl-section-col-r);min-width:0;}
.tpl-start .tpl-section-method[hidden]{display:none;}

