/* Port adaptations layered over the verbatim prototype stylesheet (pcc.css).
   pcc.css must stay line-identical to PCC:app/globals.css — anything the Django port needs on
   top of it lives here.

   ponytail: pcc.css carries duplicate last-wins rules from prototype iterations; consolidate it
   — dedupe to computed rules, prune selectors with no matching markup, fold this file in, retire
   the line-parity test (tests/test_auth.py). The blocker was the porting work, which ended
   21 Sep 2026, so this is now a live task rather than a deferred one. Until it is done, pcc.css
   stays untouched: the line-parity test still guards it. */

/* Dashboard rows are real links in the port; mirror of `.portfolio-table > button`
   (globals.css .portfolio-head/.portfolio-table blocks). */
.portfolio-head, .portfolio-table > a { display: grid; grid-template-columns: minmax(240px, 1.5fr) minmax(180px, 1fr) minmax(170px, .9fr) minmax(150px, .8fr) 100px; gap: 14px; align-items: center; min-width: 920px; padding: 12px 18px; }
.portfolio-table > a { width: 100%; border-top: 1px solid var(--line); background: #fff; color: var(--ink); text-align: left; cursor: pointer; }
.portfolio-table > a:hover { background: #f7f9fd; }
.portfolio-table > a > span { display: grid; gap: 3px; min-width: 0; }
.portfolio-table > a strong { overflow-wrap: anywhere; font-size: 11px; }
.portfolio-table > a small { color: var(--muted); font-size: 9px; }
.portfolio-table > a span:nth-child(2) > b { width: max-content; border-radius: 999px; padding: 5px 8px; background: #edf3ff; color: var(--navy); font-size: 9px; }
.portfolio-table > a span:nth-child(2) > b.attention { background: #fff0da; color: #8a5816; }
.portfolio-table > a i { display: block; height: 6px; border-radius: 99px; overflow: hidden; background: #e4e9f2; }
.portfolio-table > a i b { display: block; height: 100%; background: var(--navy); }
.portfolio-table > a > span:last-child { color: var(--navy); font-size: 9px; font-weight: 900; text-align: right; }

.tender-trial-toggle:has(input:checked) { border-color: #d3a449; background: #fff9ea; }

/* The prototype moves `.selected` on the feedback-kind cards with React state
   (help-center.tsx:334); the port lets the checked radio drive the same declarations
   (pcc.css:6802-6803). The radio itself is visually hidden, so focus lands on the card. */
.feedback-kind-grid label:has(input:checked) { border-color: var(--navy); background: var(--blue-bg); box-shadow: inset 0 0 0 1px rgba(41, 66, 148, .08); }
.feedback-kind-grid label:has(input:checked) strong { color: var(--navy); }
.feedback-kind-grid label:has(input:focus-visible) { outline: 2px solid var(--navy); outline-offset: 1px; }

/* Feedback attachments (help-center.tsx:337): the input is visually hidden (pcc.css:6813), so
   keyboard focus shows on the box; the file list and the client-side error start hidden and the
   upload island reveals them — pcc.css's display:grid would otherwise beat the UA [hidden] rule. */
.feedback-dropzone:has(input:focus-visible) { outline: 2px solid var(--navy); outline-offset: 1px; }
.feedback-selected-files[hidden], .feedback-error[hidden] { display: none; }

/* Reporter-facing handling-stage track — the go-live prototype's component (owner's screenshot,
   4 Sep 2026), absent from the local checkout, so styled here rather than transcribed. */
.feedback-status-track { display: flex; margin: 0; padding: 2px 0 0; list-style: none; }
.feedback-status-track li { position: relative; display: grid; flex: 1; min-width: 0; justify-items: center; gap: 4px; }
.feedback-status-track li::before { content: ""; position: absolute; top: 5px; right: 50%; left: -50%; height: 1px; background: var(--line); }
.feedback-status-track li:first-child::before { display: none; }
.feedback-status-track li.done::before, .feedback-status-track li.current::before { background: var(--navy); }
.feedback-status-track i { position: relative; width: 11px; height: 11px; border: 1px solid var(--line); border-radius: 50%; background: #fff; }
.feedback-status-track li.done i { border-color: var(--navy); background: var(--navy); }
.feedback-status-track li.current i { border-color: var(--navy); box-shadow: 0 0 0 3px var(--blue-bg); }
.feedback-status-track span { color: var(--muted); font-size: 7px; line-height: 1.3; text-align: center; }
.feedback-status-track li.current span { color: var(--navy); font-weight: 800; }
.feedback-status-note { text-align: right; }

/* Owner request (4 Sep 2026): the prototype's utility-group separator (pcc.css:44) pads the
   item itself, which drops "Tentang PCC" and "Bantuan & Masukan" below the vertical centre every
   other item sits on, and its white hairline is invisible on the port's light sidebar anyway.
   Centre them like the rest and keep one group gap above the first utility item. */
.primary-nav .nav-item.utility { margin-top: 0; padding-top: 0; border-top: 0; }
.primary-nav .nav-item:not(.utility) + .nav-item.utility { margin-top: 13px; }

/* Admin password reset is an inline row form instead of a modal. */
.access-reset-form { display: inline-flex; align-items: center; gap: 6px; }
.access-reset-form input { width: 150px; min-height: 31px; border: 1px solid #ccd4cf; border-radius: 4px; background: #fff; padding: 5px 8px; color: var(--ink); font-size: 10px; }

/* The reopen-revision action is a real form in the port; give it the prototype's `> div` layout. */
.checklist-locked-message > form { display: grid; min-width: 260px; gap: 9px; }

/* The SPA never had a 403 page; the port renders one inside the shell. */
.forbidden-panel { display: grid; gap: 10px; justify-items: start; max-width: 620px; }
.forbidden-panel h1 { margin: 0; color: var(--navy-deep); font-size: 20px; }
.forbidden-panel p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }

/* Forced password change is a standalone page instead of a modal. */
.account-security-page { display: grid; place-items: center; min-height: 100vh; padding: 26px; background: var(--canvas); }
.account-security-card { display: grid; gap: 12px; width: min(460px, 100%); }
.account-security-card h1 { margin: 0; color: var(--navy-deep); font-size: 22px; }
.account-security-card > p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }

/* --- Requirement board (Phase 3 Task 3) ---------------------------------------------------- */

/* The row's status toggle and its summary are separate elements in one grid; the port wraps the
   toggle in a form, so the form itself must not become a grid item. */
.requirement-row > form.row-status-form { display: contents; }
a.requirement-summary, a.expand-button { text-decoration: none; }
a.requirement-summary:hover, a.expand-button:hover { background: #f7f9fd; }

/* The document-route card's select is a real form here (the prototype saved on change). */
.document-route-card > form { display: flex; align-items: end; gap: 8px; }
.document-route-card > form > label { display: grid; gap: 4px; }

/* Editing a checklist item was a modal; in the port it is an inline form in the description card. */
.requirement-edit-form, .requirement-add-form { display: grid; gap: 8px; margin-top: 10px; }
.requirement-edit-form label, .requirement-add-form label { display: grid; gap: 4px; color: var(--muted); font-size: 11px; }
/* The UA's small{0.8em} was compounding on a 9px label and landing the field labels at 7.2px. */
.requirement-edit-form label > small, .requirement-add-form label > small { font-size: inherit; }
.requirement-edit-form input, .requirement-edit-form textarea, .requirement-edit-form select,
.requirement-add-form input, .requirement-add-form textarea, .requirement-add-form select { border: 1px solid var(--line); border-radius: 4px; padding: 6px 8px; color: var(--ink); font-size: 13px; }
.requirement-edit-form .requirement-required-toggle,
.requirement-add-form .requirement-required-toggle { display: flex; align-items: center; gap: 6px; }
.requirement-edit-form .requirement-required-toggle input,
.requirement-add-form .requirement-required-toggle input { width: auto; }
.requirement-upload-form { flex-wrap: wrap; }
.requirement-source-trace { display: flex; gap: 10px; border: 1px solid var(--line-soft); border-radius: 5px; background: #fff; padding: 9px 11px; }
.requirement-source-trace small { color: var(--muted); font-size: 8px; }
.requirement-source-trace strong { display: block; color: var(--navy-deep); font-size: 10px; }
.requirement-source-trace em { color: var(--muted); font-size: 9px; }
.requirement-source-trace > form { margin-left: auto; align-self: center; flex: none; }
.board-actions { justify-content: flex-end; }

/* The evidence and batch modals are pages in the port: no backdrop, so give the panel the page. */
.page-section > .modal { width: 100%; max-width: none; }
.evidence-keep-toggle { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: 9px; }
.evidence-keep-toggle input { width: auto; }
a.evidence-preview-link { text-decoration: underline; }

/* --- Pusat Review (Phase 3 Task 4) ---------------------------------------------------------- */

/* The queue rows are links in the port; mirror of `.review-queue-list > button` in globals.css. */
.review-queue-list > a { display: grid; width: 100%; grid-template-columns: 9px minmax(0, 1fr) auto; align-items: center; gap: 10px; border: 0; border-bottom: 1px solid var(--line-soft); background: transparent; padding: 13px 14px; color: var(--ink); text-align: left; text-decoration: none; }
.review-queue-list > a:hover { background: #f6f8f7; }
.review-queue-list > a.active { background: #eef3f7; box-shadow: inset 3px 0 #527493; }
.review-queue-list > a > span:nth-child(2) { display: flex; min-width: 0; flex-direction: column; }
.review-queue-list > a > span:last-child { display: flex; align-items: flex-end; flex-direction: column; gap: 4px; }

/* The reader modal is a list of tracked links here: each one records the preview when opened,
   and carries hx-get so the pdf.js island renders it in #reader-dialog when JavaScript is on. */
.review-preview-list { display: grid; gap: 5px; margin-top: 11px; }
.review-preview-list > small { color: var(--muted); font-size: 8px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.review-preview-list > a { overflow-wrap: anywhere; color: var(--navy); font-size: 10px; text-decoration: none; }
.review-preview-list > a:hover { text-decoration: underline; }
.review-preview-list > a.viewed { color: var(--green); }

/* Decision and finding actions are forms in the port, not click handlers; `display: contents`
   keeps the prototype's own `> .review-correction-note` / `> .review-decision-actions` layout. */
.multi-level-decision-bar > form,
.ai-review-summary > form,
.ai-review-empty > form { display: contents; }

/* --- Paket Kirim (Phase 3 Task 6) ------------------------------------------------------------ */

/* The decision, submit, and feedback handlers are forms here; `display: contents` keeps the
   prototype's own `.package-decision-controls > label` / `> div` layout. */
.package-decision-controls > form { display: contents; }

/* The client-side ZIP builder is a download link in the port. */
.export-panel > a.button { text-decoration: none; }

/* --- Brankas Dokumen (Phase 3 Task 7) -------------------------------------------------------- */

/* Filter tabs and pagination are links carrying the query string; mirror of `.filter-tabs button`
   and the pagination buttons in globals.css. */
.filter-tabs > a { display: inline-flex; align-items: center; gap: 6px; border: 0; border-bottom: 2px solid transparent; background: transparent; padding: 8px 12px; color: var(--muted); font-size: 9px; font-weight: 700; text-decoration: none; }
.filter-tabs > a b { min-width: 19px; border-radius: 999px; background: var(--line-soft); padding: 2px 5px; color: inherit; font-size: 8px; text-align: center; }
.filter-tabs > a.active { border-bottom-color: var(--navy); color: var(--navy); }
.filter-tabs > a.active b { background: rgba(31, 61, 139, 0.1); }
.vault-pagination a.button, .table-actions a.button { text-decoration: none; }

/* The row's revoke action and the preview decision are forms here. */
.table-actions > form { display: contents; }
.vault-decision-form > .review-decision-bar { margin-top: 14px; }

/* --- Addendum & Klarifikasi (Phase 3 Task 8) ------------------------------------------------- */

/* The entry tabs are links here; mirror of `.change-tabs button` in globals.css. */
.change-tabs > a { border: 0; border-right: 1px solid var(--line); padding: 13px 18px; background: transparent; color: var(--muted); font-weight: 800; text-decoration: none; }
.change-tabs > a.active { background: #fff; color: var(--navy); box-shadow: inset 0 -3px var(--navy); }

/* Each impact row saves through its own form instead of an onChange handler. */
.impact-list > div > form { display: flex; align-items: center; gap: 7px; }

/* --- Meja Kerja (Phase 3 Task 9) ------------------------------------------------------------- */

/* Workbench rows, revision shortcuts, and task rows are links here; mirrors of
   `.role-task-list > button`, `.revision-command-card > div button`, and `.task-row`. */
.role-task-list > a { display: grid; grid-template-columns: 44px minmax(0, 1fr) 150px 100px; gap: 14px; align-items: center; width: 100%; border: 1px solid var(--line); border-radius: 13px; padding: 13px 14px; background: #fff; color: var(--ink); text-align: left; text-decoration: none; }
.role-task-list > a:hover { border-color: #aebfda; box-shadow: 0 5px 18px rgba(31, 58, 105, .08); }
.role-task-list > a > span:nth-child(2), .role-task-list > a .task-sla { display: grid; gap: 3px; }
.role-task-list > a > b { color: var(--navy); font-size: 9px; text-align: right; }
/* Feedback 319f55a0: the tasks past the first eight fold behind one control; the Sprint panel is a link away. */
.role-task-more { margin-top: 8px; }
.role-task-more > summary { cursor: pointer; padding: 10px 2px; color: var(--navy); font-size: 13px; font-weight: 800; }
.role-task-more > .role-task-list { margin-top: 4px; }
.role-task-sprint-link { display: inline-block; margin-top: 10px; color: var(--navy); font-size: 13px; font-weight: 800; }
/* Notification centre rows are links; mirror of `.notification-center > div > button` (pcc.css:6717),
   which left them unstyled — label, title, detail and "Buka" ran together in one line. The kind
   chip carries the row's tone: overdue red, Brankas amber, everything else navy. */
.notification-center summary small { color: var(--navy); font-size: 8px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.notification-center > div > a { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 12px; align-items: center; border: 1px solid transparent; border-radius: 9px; padding: 9px 10px; background: #fff; color: var(--ink); text-decoration: none; }
.notification-center > div > a:hover { border-color: #c8d5ed; background: #f7f9fd; }
.notification-center > div > a > b { justify-self: start; border: 1px solid var(--line); border-radius: 999px; padding: 3px 8px; background: #eef3fa; color: var(--navy); font-size: 8px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.notification-center > div > a.late > b { border-color: #e9a0a8; background: #fff3f4; color: var(--red); }
.notification-center > div > a.vault > b { border-color: #ecd3a6; background: #fdf6ea; color: #8a5a12; }
.notification-center > div > a > span { display: grid; gap: 2px; min-width: 0; }
.notification-center > div > a strong { overflow-wrap: anywhere; color: var(--navy-deep); font-size: 10px; }
.notification-center > div > a small { color: var(--muted); font-size: 8px; }
.notification-center > div > a > em { color: var(--navy); font-size: 8px; font-style: normal; font-weight: 850; }
.notification-center > div > a > em::after { content: " →"; }
@media (max-width: 760px) { .notification-center > div > a { grid-template-columns: minmax(0, 1fr) auto; } .notification-center > div > a > b { grid-column: 1 / -1; } }
.revision-command-card > div > a, a.task-row { text-decoration: none; color: inherit; }
.task-filter-tabs > a { text-decoration: none; }
.task-search { display: flex; align-items: center; gap: 6px; }

/* Sprint status, claims, and allocations post instead of firing onChange. */
.sprint-card > header > form { display: flex; align-items: center; gap: 7px; }
.sprint-backlog-list > article > form { display: contents; }

/* --- Dashboard filters and sprint monitor (Phase 3 Task 14) ---------------------------------- */

/* The signal chips are links carrying ?filter=; mirror of `.portfolio-signals button`. */
.portfolio-signals > a { display: grid; gap: 2px; border: 0; border-right: 1px solid var(--line); background: transparent; padding: 13px 15px; color: var(--ink); text-align: left; text-decoration: none; }
.portfolio-signals > a:last-child { border-right: 0; }
.portfolio-signals > a.active { background: #eef3fa; box-shadow: inset 0 -3px var(--navy); }
.portfolio-tools > label { display: flex; align-items: center; gap: 6px; }
.sprint-monitor-detail > a.button { text-decoration: none; }

/* --- Tentang PCC & Bantuan (Phase 3 Task 15) ------------------------------------------------- */

/* PCC:app/about-pcc-actions.css — a component stylesheet in the prototype, not part of globals.css. */
.about-pcc-actions { display: flex !important; align-items: center; gap: 12px; margin-top: 5px; }
.about-pcc-actions .button { background: #fff; color: var(--navy); }
.about-pcc-actions > em { color: #dce6fb; font-size: 9px; font-style: normal; }
@media (max-width: 620px) { .about-pcc-actions { align-items: flex-start; flex-direction: column; } }

/* Role tabs and guide steps are links here; mirrors of `.help-role-tabs button` and the step
   buttons in globals.css. */
.help-role-tabs > a { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; background: #fff; padding: 8px 13px; color: var(--muted); font-size: 10px; font-weight: 800; text-decoration: none; }
.help-role-tabs > a.active { border-color: var(--navy); background: #eef3fa; color: var(--navy); }
.help-steps a.button, .help-evidence-guide-body aside a.button { text-decoration: none; }

/* SSR adaptation: the prototype rendered <div class="modal-backdrop"><section class="modal …">;
   here the backdrop is a native <dialog>, so only the UA's own dialog styling is undone and every
   prototype rule (pcc.css:2261 .modal-backdrop, :2273 .modal) applies as written. */
/* Owner decision, 19 Sep 2026: the Brankas detail page carries the viewer inline. In the dialog the
   modal's height bounded the canvas; on a page it needs its own bound, or a long PDF pushes the
   decision bar out of reach. The file list is a GET form there (no-JavaScript switching). */
.vault-viewer { margin-top: 14px; border: 1px solid var(--line); border-radius: 5px; overflow: hidden; }
/* pcc.css centres the shell in the canvas; once the canvas is bounded a tall PDF would overflow above
   the top, unreachable by scrolling — anchor it to the top instead. */
.vault-viewer .attachment-viewer-canvas { max-height: 72vh; align-items: start; }
.vault-viewer form.attachment-preview-list { margin: 0; }
#reader-dialog:not([open]) { display: none; }
#reader-dialog { width: auto; height: auto; max-width: none; max-height: none; border: 0; }
#reader-dialog::backdrop { background: transparent; }

/* SSR adaptation: the prototype tracked upload progress in React state next to each control.
   Here one shell-level bar reports whatever htmx is currently uploading (spec §5, island 2). */
.upload-meter { width: 100%; height: 3px; border: 0; background: #e4e9f2; }
.upload-meter::-webkit-progress-bar { background: #e4e9f2; }
.upload-meter::-webkit-progress-value { background: var(--navy); }
.upload-meter::-moz-progress-bar { background: var(--navy); }

/* --- Bantuan & Masukan triage (Phase 4 Task 7) ------------------------------------------------ */

/* The side panels stack their eyebrow over the heading, as the main panel beside them does —
   pcc.css set them side by side, so two headers in one row read in two different ways. */
.help-side-panel section > header { display: grid; justify-content: start; gap: 3px; }

/* The prototype's status filter was a bare <label> in the header; SSR needs a GET form around it.
   `display: contents` was tried here and left the label unstyled — it changes layout, not selector
   matching, so pcc.css's `.feedback-history > header > label` no longer reached it. The label and
   select take the triage editor's field look instead. The apply button replaces the prototype's
   onChange submit — no inline script, and the filter still works without JavaScript. */
.feedback-history > header > .triage-filter-form { display: flex; align-items: end; gap: 8px; }
.triage-filter-form > label { display: grid; gap: 4px; min-width: 190px; color: var(--muted); font-size: 8px; font-weight: 750; }
.triage-filter-form select { border: 1px solid var(--line); border-radius: 7px; background: #fff; padding: 8px; color: var(--ink); }

/* --- Command palette (Phase 4 Task 8) --------------------------------------------------------- */

/* SSR adaptation: the prototype rendered .command-backdrop as a plain div overlay; here it is a
   native <dialog>, and the action rows are anchors rather than buttons, so the prototype's own
   `.command-results button` rules (pcc.css:4972-5011) are restated verbatim for `a`. */
#command-dialog:not([open]) { display: none; }
/* The UA's `dialog { width: fit-content }` would shrink the overlay to its contents, so the
   flex centring in .command-backdrop never gets a viewport to centre in. */
#command-dialog { width: auto; height: auto; max-width: none; max-height: none; border: 0; }
/* .command-backdrop already paints the dim and the 12vh offset (pcc.css:4908); the native
   ::backdrop would double it. */
#command-dialog::backdrop { background: transparent; }

.command-results a {
  display: grid;
  width: 100%;
  min-height: 55px;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  padding: 8px 10px;
  color: var(--ink);
  text-align: left;
  text-decoration: none;
}

.command-results a:hover,
.command-results a:focus-visible,
.command-results a.active {
  background: #edf2ef;
}

.command-results a > i {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid #d5dbd7;
  border-radius: 4px;
  background: #fff;
  color: #49645a;
  font-family: var(--font-mono), monospace;
  font-size: 9px;
  font-style: normal;
  font-weight: 750;
}

.command-results a > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

/* --- Document drafting (parity catch-up, 28 Agu 2026) ---------------------------------------- */

/* The prototype submitted the company-template file the moment it was chosen, from an onChange
   handler. Spec §5 allows exactly three JavaScript islands and this is not one of them, so each
   card lives in its own form with a real submit button; the form becomes the grid cell so the card
   and its button stay together in one column. */
.method-choice-grid > form { display: grid; align-content: start; gap: 8px; }
.method-choice-grid > form > .method-choice-card { width: 100%; }

/* The draft editor is a page here, not a modal, so the panel takes the page's width. */
#draft-editor.modal { width: 100%; max-width: none; }
#draft-editor .draft-editor textarea { width: 100%; }

/* --- Administrator allocation table (parity catch-up, 28 Agu 2026) ---------------------------- */

/* The prototype's row is a <div> that saves on every change; the port wraps it in a <form> with an
   explicit save, so the row rules (pcc.css:8099 `.sprint-assignment-table > div`) are restated for
   the form and given a fourth column for the button. */
.sprint-assignment-table > form {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 210px minmax(180px, .6fr) auto;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
.sprint-assignment-table > form:last-child { border-bottom: 0; }
.sprint-assignment-table > form > span { display: grid; gap: 3px; }
.sprint-assignment-table > form > span small { color: var(--muted); }

@media (max-width: 800px) {
  .sprint-assignment-table > form { grid-template-columns: 1fr; }
}

/* --- Intake preview editor (parity catch-up, 29 Agu 2026) ------------------------------------- */

/* The prototype's ReaderReviewEditor lived in the reader modal, which sized its own cards; here the
   same rows sit inside the intake panel, where an inherited rule clips them to the height of a
   collapsed summary and hides the category, route, and required controls entirely. The row must
   size to its content. */
.reader-results > .reader-result-item { height: auto; overflow: visible; }
/* The reading's review page (interface review, 26 Sep 2026): the prototype's list was a 450px
   scrollbox inside a modal, and its card carried a five-field editor. Here the list is the page
   and each row is one line — number, checkbox, name with its description, then the locator and
   the reader's tags. The whole line is the checkbox's label. */
.checklist-gap-analysis .reader-results { max-height: none; overflow: visible; padding: 0; gap: 8px; }
/* pcc.css paints a row without `.selected` dashed and grey; here a row is kept unless its box is
   unticked, and that state is read from the checkbox itself (the :has rule below). */
.checklist-gap-analysis .reader-result-item { border-style: solid; background: #fff; }
.reader-results > .reader-result-item > .reader-result-header {
  display: grid; grid-template-columns: 30px 20px minmax(0, 1fr) auto; align-items: start;
  gap: 8px 12px; min-height: 0; padding: 12px 14px; cursor: pointer;
}
.reader-results > .reader-result-item > .reader-result-header > b {
  padding-top: 2px; color: var(--navy); font-size: 12px; font-variant-numeric: tabular-nums;
}
.reader-results > .reader-result-item > .reader-result-header > input {
  width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--navy);
}
.reader-row-title { display: grid; gap: 3px; min-width: 0; }
.reader-row-title > strong { color: var(--ink); font-size: 13px; font-weight: 700; line-height: 1.4; }
.reader-row-title > small {
  color: var(--muted); font-size: 11.5px; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
/* The create landing scrolls to this card; keep it clear of the sticky topbar. */
.checklist-compare-step { scroll-margin-top: 96px; }
/* Locator and reader tags: one right-aligned group that wraps as a unit, so a long locator never
   pushes a tag past the card edge. */
.reader-row-meta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 6px;
  max-width: 100%; padding-top: 1px;
}
.reader-row-meta > em { color: var(--muted); font-size: 11px; font-style: normal; line-height: 1.4; text-align: right; }
.reader-results > .reader-result-item:has(> .reader-result-header > input:not(:checked)) {
  border-style: dashed; background: #f7f7f6;
}
.reader-results > .reader-result-item:has(> .reader-result-header > input:not(:checked)) .reader-row-title > strong {
  color: var(--muted); text-decoration: line-through;
}
@media (max-width: 640px) {
  .reader-results > .reader-result-item > .reader-result-header { grid-template-columns: 30px 20px minmax(0, 1fr); }
  .reader-row-meta { grid-column: 3; justify-content: flex-start; }
  .reader-row-meta > em { text-align: left; }
}
.intake-review .page-header .button { flex: 0 0 auto; }
.intake-review .reader-import-footer { margin-top: 4px; }
/* "Lihat checklist Anda" (Jalur B, 15 Oct 2026): a native popover listing the board rows the
   comparison used. The UA centres a popover with inset:0 + margin:auto, but a pcc.css margin rule
   on sections wins over it, so the centring is restated here; box, border and shadow per the accent rule. */
.checklist-peek:popover-open { position: fixed; inset: 0; margin: auto; height: fit-content; }
.checklist-peek { width: min(560px, calc(100vw - 32px)); max-height: 80vh; overflow: auto; padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 2px 10px color-mix(in srgb, var(--navy) 30%, transparent); }
.checklist-peek::backdrop { background: rgba(20, 37, 75, .28); }
.checklist-peek > header { display: grid; gap: 2px; margin-bottom: 12px; }
.checklist-peek > header strong { font-size: 15px; }
.checklist-peek > ol { list-style: none; margin: 0; padding: 0; display: grid; }
.checklist-peek > ol > li { display: flex; gap: 10px; align-items: baseline; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; }
.checklist-peek:focus { outline: none; }
.checklist-peek > ol > li.peek-section { display: block; padding: 14px 0 4px; border-top: 0; font-size: 12px; font-weight: 600; color: var(--navy); }
.checklist-peek > ol > li.peek-section + li { border-top: 0; }
.checklist-peek > ol > li > i { font-style: normal; font-variant-numeric: tabular-nums; color: var(--muted); flex: 0 0 auto; min-width: 2ch; }
.checklist-peek > footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.checklist-peek > footer a { font-size: 13px; font-weight: 600; color: var(--navy); }
/* "Batalkan pembacaan ini" is a .button.ghost (pcc.css:576 — transparent border, transparent
   background); beside the primary confirm a neutral outline is enough to read as a button without
   competing with it (task 5 review, 22 Sep 2026). */
.intake-review .reader-import-footer .button.ghost { border-color: var(--line); }
.intake-review .reader-cancel-form { display: contents; }
.reader-import-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; }


/* The add card is a create form, not a row's edit form: a distinct class keeps a selector for
   "the form on a requirement row" unambiguous — reusing the name made the UAT harness pick the
   collapsed add card instead of a row. */
.requirement-add-card { margin: 12px 0; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; background: #fff; }
.requirement-add-card > summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 5px 0; cursor: pointer; color: var(--navy); font-size: 11px; font-weight: 800; list-style: none; }
.requirement-add-card > summary::-webkit-details-marker { display: none; }

/* Owner UX round, 18 Sep 2026: on an undecided authoring-choice row the finished-document upload
   leads and the A/B drafting cards wait behind a native <details>. The grid keeps its prototype
   rules; only its top rule is dropped because the details supplies the separator. */
.authoring-fallback { margin-top: 12px; border-top: 1px solid var(--line-soft); padding-top: 10px; }
.authoring-fallback > summary { cursor: pointer; color: var(--navy); font-size: 10px; font-weight: 800; }
.authoring-fallback > .method-choice-grid { margin-top: 10px; border-top: 0; padding-top: 0; }
/* pcc.css:3838 dresses every <small> in .authoring-control as an uppercase kicker; the hint is a sentence. */
/* User feedback, 18 Sep 2026: the names a `.file-button` picker chose, painted by upload-progress.js. */
.row-actions > .chosen-files, .evidence-slot-actions > .chosen-files { flex-basis: 100%; color: var(--ink); font-size: 9px; font-weight: 600; letter-spacing: 0; text-transform: none; overflow-wrap: anywhere; }
.chosen-files.refused { color: var(--red); }
.authoring-control .requirement-upload-form > .upload-hint { flex-basis: 100%; color: var(--muted); font-size: 9px; font-weight: 500; letter-spacing: 0; text-transform: none; }

/* The running commit, shown on the login screen and in the sidebar footer. Not in the prototype:
   the prototype had no deploy of its own, and an automated one needs a way to answer "is my push
   live?" without an SSH session. */
.app-version { display: block; margin-top: 10px; color: var(--muted); font-size: 9px; letter-spacing: .04em; }

/* Tender switcher — SSR adaptation of the prototype topbar switcher (v182 §20.2). Same variables
   as .sidebar-persona-switcher (pcc.css) since it sits in the same light sidebar. */
/* Topbar tender switcher — SSR adaptation of the prototype's button+state dropdown
   (PCC:app/tender-workspace.tsx:2163): <details>/<summary> supplies open/close without
   JavaScript, so the .caret.open class becomes the [open] attribute, the option buttons become
   links, and the delete column stays with the deletion screens. */
.tender-switcher-wrap > summary { cursor: pointer; list-style: none; }
.tender-switcher-wrap > summary::-webkit-details-marker { display: none; }
.tender-switcher-wrap[open] .caret { transform: rotate(225deg) translate(-1px, -2px); }
.switcher-menu-head a { color: var(--navy); font-size: 11px; font-weight: 700; text-decoration: none; }
.switcher-option { text-decoration: none; }

/* Work-type chip (v182 §5.3) — mirrors the sidebar label idiom. */
.worktype-chip { font-size: 10px; font-weight: 800; letter-spacing: 0.06em; padding: 1px 6px; border-radius: 999px; border: 1px solid var(--line); color: var(--navy); margin-left: 6px; vertical-align: middle; }

/* Brankas renewal (v182 §7.3/§7.4) — new feature, no prototype source. The distribution/status
   forms are compact row controls; mirror of the .access-reset-form inline idiom above. */
.renewal-status-block { display: grid; gap: 4px; margin-top: 6px; }
.renewal-assign-form { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 4px; }
.renewal-assign-form input, .renewal-assign-form select, .renewal-assign-form textarea { min-height: 28px; border: 1px solid #ccd4cf; border-radius: 4px; background: #fff; padding: 4px 7px; color: var(--ink); font-size: 9px; }
.renewal-assign-form input[type="text"] { width: 120px; }
.renewal-assign-form textarea { width: 180px; min-height: 28px; resize: vertical; }

/* --- Kinerja proses dashboard section (v182 §6, OI-04..OI-06) — new feature, no prototype
   source. The KPI/renewal-count cards reuse the .sprint-monitor-signals idiom's variables and
   proportions (pcc.css:8190-8194); the action lists reuse the .role-task-list link idiom. */
.insights-block { display: grid; gap: 16px; margin-top: 20px; }
.insights-block > header > span { display: grid; gap: 4px; }
.insights-block > header small { color: var(--navy); font-size: 9px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.insights-block > header h2 { margin: 0; color: var(--navy-deep); font-size: clamp(20px, 2vw, 27px); }
.insights-block > header p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.55; }

.insights-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
.insights-kpis > span { display: grid; gap: 3px; border: 1px solid var(--line); box-shadow: 0 2px 10px color-mix(in srgb, var(--navy) 30%, transparent); border-radius: 12px; background: #fff; padding: 12px 14px; }
.insights-kpis > span > small:first-child { color: var(--muted); font-size: 8px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.insights-kpis > span > strong { color: var(--navy-deep); font-size: 24px; }
.insights-kpis > span > small:last-child { color: var(--muted); font-size: 8px; font-style: normal; }

.renewal-detail { border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 12px 14px; }
.renewal-detail > summary { cursor: pointer; color: var(--navy); font-size: 10px; font-weight: 800; }
.insights-renewal-counts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; margin-top: 10px; }
.insights-renewal-counts > span { display: grid; gap: 3px; border: 1px solid var(--line-soft); border-radius: 10px; padding: 9px 11px; }
.insights-renewal-counts > span > small { color: var(--muted); font-size: 8px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.insights-renewal-counts > span > strong { color: var(--navy-deep); font-size: 18px; }

.insights-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.insights-action-group h3 { margin: 0 0 8px; color: var(--navy-deep); font-size: 11px; }
.insights-action-list { display: grid; gap: 6px; }
.insights-action-list > a { display: grid; gap: 2px; border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; color: var(--ink); font-size: 10px; text-decoration: none; }
.insights-action-list > a:hover { border-color: #aebfda; box-shadow: 0 5px 18px rgba(31, 58, 105, .08); }
.insights-action-list > a > small { color: var(--muted); font-size: 8px; }
.insights-empty { margin: 0; color: var(--muted); font-size: 9px; }

@media (max-width: 760px) {
  .insights-kpis, .insights-renewal-counts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .insights-actions { grid-template-columns: 1fr; }
}

/* --- Feedback KPI/SLA dashboard (Phase 4 Task 2, v182 §12.2-§12.4) ----------------------------- */

/* New component, not in the prototype: an Administrator-only dashboard above the existing history
   list. Mirrors the `.insights-kpis` card idiom above (rounded card, accent as a colored shadow) but every
   chip is a link — clicking one applies an HTMX filter to #feedback-history (dual-path per FB-03:
   href navigates full-page, hx-get swaps just the panel). */
.feedback-metrics { display: grid; gap: 12px; margin-top: 18px; border-top: 1px solid var(--line); padding-top: 18px; }
.feedback-metrics > header { display: flex; align-items: end; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.feedback-metrics > header > span > small:first-child { color: var(--navy); font-size: 9px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.feedback-metrics > header h3 { margin: 2px 0 0; color: var(--ink); font-size: 14px; }
.feedback-metrics-sla { display: block; margin-top: 3px; color: var(--muted); font-size: 9px; }
.feedback-metrics-chips { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 9px; }
/* A link filters the list; a plain tile (oldest age, completion rate) only reports, so it carries no
   shadow — the shadow is what reads as clickable here. */
.feedback-metrics-chips > div { display: grid; gap: 3px; border: 1px solid var(--line); border-radius: 12px; background: #f7f9fc; padding: 11px 13px; }
.feedback-metrics-chips > a { display: grid; gap: 3px; border: 1px solid var(--line); box-shadow: 0 2px 10px color-mix(in srgb, var(--navy) 30%, transparent); border-radius: 12px; background: #fff; padding: 11px 13px; color: var(--ink); text-decoration: none; }
.feedback-metrics-chips > a:hover { border-color: #aebfda; box-shadow: 0 5px 18px rgba(31, 58, 105, .08); }
.feedback-metrics-chips > a.active { border-color: var(--navy); background: #eef3fa; }
.feedback-metrics-chips > a.risk { box-shadow: 0 2px 10px color-mix(in srgb, var(--red) 30%, transparent); }
.feedback-metrics-chips small { color: var(--muted); font-size: 8px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.feedback-metrics-chips strong { color: var(--navy-deep); font-size: 20px; }
.feedback-metrics-breakdowns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.feedback-metrics-breakdowns h4 { margin: 0 0 6px; color: var(--navy-deep); font-size: 11px; }
.feedback-metrics-breakdowns ul { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.feedback-metrics-breakdowns a { display: flex; align-items: center; justify-content: space-between; gap: 8px; border: 1px solid var(--line); border-radius: 8px; padding: 6px 9px; color: var(--ink); font-size: 10px; text-decoration: none; }
.feedback-metrics-breakdowns a:hover { border-color: #aebfda; }
.feedback-metrics-breakdowns a.active { border-color: var(--navy); background: #eef3fa; }
.feedback-metrics-breakdowns a > b { color: var(--navy); }
.feedback-metrics-empty { color: var(--muted); font-size: 9px; }
.feedback-active-filter { margin: 4px 0 0; color: var(--muted); font-size: 10px; }
.feedback-active-filter b { color: var(--navy-deep); }
.feedback-active-filter a { color: var(--navy); font-weight: 750; }
.feedback-history-empty { color: var(--muted); font-size: 10px; }

@media (max-width: 760px) {
  .feedback-metrics-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feedback-metrics-breakdowns { grid-template-columns: 1fr; }
}

/* --- Multi-user status strip (Phase 4 Task 3, v182 §13: SYNC-01/02/03/05/06) -------------------- */

/* New component, not in the prototype (the SPA had no multi-tab conflict story). Read-only,
   self-polling flex row of label/value pairs — mirrors the `.workflow-status-card` idiom above.
   Never wraps a form: another user's activity can never replace typed text (SYNC-02). */
.status-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-bottom: 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 10px 16px; }
.status-strip > span { display: grid; gap: 2px; }
.status-strip > span > small { color: var(--muted); font-size: 9px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.status-strip > span > strong { color: var(--navy-deep); font-size: 12px; }
.status-strip-notice { color: var(--navy); font-size: 10px; font-style: normal; font-weight: 700; }

/* --- Checklist review composer save-lock (v207 parity, Task 9 fix round 1) --------------------- */

/* v207's feedbackSaving disables both decision buttons and swaps the helper text while the
   composer's own feedback POST is in flight; the port has no client state to hold that flag, so
   htmx's own in-flight signal stands in for it (hx-indicator on #checklist-review-form, toggled by
   the "Tambahkan feedback" button in checklist_panel.html). */
#checklist-review-form .decision-helper-saving { display: none; }
#checklist-review-form.htmx-request .decision-helper-saving { display: block; }
#checklist-review-form.htmx-request .decision-helper:not(.decision-helper-saving) { display: none; }

/* Known, accepted cosmetic quirk (not a bug): htmx also stamps `htmx-request` on the element that
   ISSUED the request, not only the one an hx-indicator names. For the decision POST, the button's
   `form="checklist-review-form"` makes that issuing element #checklist-review-form itself — the
   same selector above — so clicking "Kembalikan ke Staff" / "Selesaikan review & teruskan" also
   flashes the "Tunggu sampai feedback tersimpan…" helper for a moment. It is sub-second and the
   panel swaps in the server's response right after, so nothing is left showing the wrong helper.
   A clean fix needs a separate indicator element scoped only to the feedback POST; not done here
   because the visible defect is nil. */

/* --- Reviewer completion confirmation (Change A, v207 parity) ----------------------------------- */

/* v207 keeps manualChecked as passive client state and disables "Selesaikan review & teruskan" in
   the DOM the moment it changes (checklist-workflow-panel.tsx:142,204). The port renders server-side
   and has no such state, so workspace.permissions.can_review_checklist is the real gate (the
   confirmation now posts with #checklist-review-form); this :has() rule is only a same-page visual
   hint, not a blocker — no pointer-events:none, so the button stays reachable by mouse and keyboard
   and a click still reaches the server, which is what tests/test_review_single_form.py proves. */
.reviewer-completion-panel:not(:has(input[name="confirmed"]:checked)) .checklist-decision-actions button[value="approved"] {
  opacity: 0.55;
  cursor: not-allowed;
}
.reviewer-completion-panel:has(input[name="confirmed"]:checked) .decision-helper-confirm { display: none; }

/* Checklist review workbench (owner check, 29 Sep 2026). Before the automated check has run, it is
   step one and the only thing on the left — a banner across the top instead of a narrow card over
   empty space. */
.checklist-review-workbench.awaiting-check { grid-template-columns: 1fr; min-height: 0; }
.checklist-review-workbench.awaiting-check .checklist-ai-column { border-right: 0; border-bottom: 1px solid var(--line-soft); }
.approval-stage-strip > span { align-content: start; }
.approval-stage-strip em { font-style: normal; color: var(--muted); font-size: 12px; }
.approval-stage-strip span.current { border-color: var(--navy); box-shadow: 0 2px 10px color-mix(in srgb, var(--navy) 30%, transparent); }
.approval-stage-strip .stage-turn { justify-self: start; margin-top: 2px; padding: 2px 8px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 10px; letter-spacing: .04em; text-transform: uppercase; }
.checklist-ai-passed { margin-top: 10px; }
.checklist-ai-passed > summary { cursor: pointer; color: var(--muted); font-size: 12px; font-weight: 700; }
.checklist-ai-passed > .checklist-ai-checks { margin-top: 8px; }
.checklist-manual-column > .review-guide { margin: -6px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
/* The decision form is one flex child of the column, so the column's gap never reached the
   attestation, the note and the buttons — they sat flush against each other. */
.checklist-manual-column > form, .reviewer-completion-panel { display: grid; gap: 13px; }
.checklist-manual-column > form > .decision-helper { margin-top: -5px; }
/* pcc.css draws these cards with a left bar and square left corners; the accent block turned the
   bar into a 1px line on one side only. A full border closes the card. */
.review-feedback-list article { border: 1px solid var(--line); border-radius: 10px; }

/* --- UAT 14 Sep 2026: Brankas + Checklist feedback ---------------------------------------------- */

/* In-flight feedback on every htmx form (Brankas 1, Checklist 2). htmx stamps `htmx-request` on the
   element that issued the request — the form, or a button posting on its own — for the life of
   the request; the submit button then spins and stops taking clicks. A second submit is already
   dropped by htmx's default hx-sync, so this is the visible half, not the guard. */
form.htmx-request, form.submitting { cursor: progress; }
form.htmx-request button[type="submit"], form.submitting button[type="submit"], button.htmx-request, a.button.htmx-request { position: relative; pointer-events: none; opacity: .7; padding-right: 30px; }
form.htmx-request button[type="submit"]::after, form.submitting button[type="submit"]::after, button.htmx-request::after, a.button.htmx-request::after { content: ""; position: absolute; top: 50%; right: 9px; width: 12px; height: 12px; margin-top: -7px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: pcc-spin .7s linear infinite; }
@keyframes pcc-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { form.htmx-request button[type="submit"]::after, form.submitting button[type="submit"]::after, button.htmx-request::after, a.button.htmx-request::after { animation-duration: 2s; } }

/* Round 9, item 5 retired on 16 Sep 2026: the baseline list itself is gone. It restated the board —
   number, name, wajib, source locator — across a third of a very long page, above the rows it
   duplicated. */
/* Round 9, item 6: the reason a prominent button is disabled, under the button. */
.action-reason { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; text-align: right; }
/* Round 9, item 7: a pending version that a newer upload has replaced. */
.approval-label.superseded { background: #eef1f6; color: var(--muted); }
/* Round 9, item 9: the audit view toggle reuses the filter tabs. */
.audit-view-toggle { margin-bottom: 14px; }

/* The upload's answer (Brankas 1): the prototype's toast, as a status line above the header. */
#vault-panel { scroll-margin-top: 100px; }  /* hx-swap "show:top" lands under the sticky topbar otherwise */
.requirement-row { scroll-margin-top: 100px; }  /* the upload form's show:#requirement-<id>:top, same reason */
/* 7 Oct 2026: expanding a row, saving its route, or deleting it threw the window to the bottom of
   the page. htmx's outerHTML swap inserts the new board before the old one and only then removes
   the old one; Chrome's scroll anchoring had picked its anchor inside the old board, so it pushed
   the window down by a whole board height and had nothing left to pull it back by. htmx marks the
   outgoing element for exactly that window, so this excludes it (and its descendants) from
   anchoring for every outerHTML target in the app, and nothing else. */
.htmx-swapping { overflow-anchor: none; }
.login-alert.success { margin-bottom: 14px; border-left-color: var(--line); background: #eef7f1; color: #1f5a3f; box-shadow: 0 2px 10px color-mix(in srgb, var(--green) 30%, transparent); }

/* The upload form folded under the prototype's header button (Brankas 2). <details> keeps the
   no-JavaScript route: the summary is the button, the form is the modal card rendered inline. */
.vault-form-fold { margin: 0 0 18px; }
.vault-form-fold > summary { display: inline-flex; list-style: none; cursor: pointer; }
.vault-form-fold > summary::-webkit-details-marker { display: none; }
.vault-form-fold[open] > summary { margin-bottom: 12px; }
.vault-form-fold .vault-form-card { width: 100%; max-height: none; animation: none; border: 1px solid var(--line); box-shadow: 0 2px 10px color-mix(in srgb, var(--navy) 30%, transparent); }
.vault-form-fold .vault-form-card > header { border-bottom: 1px solid var(--line); }

/* OCR queue state on a Brankas row and its detail page (Brankas 4). */
.vault-ocr-hint { color: var(--navy); font-weight: 700; }
.vault-returned-note .button { margin-left: 8px; }
/* Owner UAT 30 Oct 2026: the deletion card opens its target, so the Reviewer checks what is deleted. */
.cleanup-request-copy .cleanup-target-link { margin-top: 8px; }
/* The repair/renewal links land on #vault-form; keep its heading clear of the sticky top bar. */
#vault-form { scroll-margin-top: 100px; }
/* The update form's "same or changed" number question (owner, 30 Oct 2026). */
.vault-number-check { display: grid; gap: 8px; margin: 0; border: 1px solid var(--line); border-radius: 5px; padding: 10px 12px 12px; }
.vault-number-check legend { padding: 0 4px; color: var(--navy-deep); font-size: 9px; font-weight: 700; }
.vault-number-check label { display: flex; align-items: center; gap: 8px; font-size: 13px; cursor: pointer; }
.vault-number-check input { margin: 0; accent-color: var(--navy); }
/* An update keeps the name of the version it follows (owner, 30 Oct 2026). */
.vault-form-card .field-hint { color: var(--muted); font-size: 11px; }
.vault-form-card input[readonly] { background: #f3f5f8; color: var(--muted); }
/* A newer approved Brankas version (owner UAT, 1 Nov 2026): the revision alert's shape, in amber —
   an action is waiting, nothing was rejected. */
.staff-revision-alert.version-update { border-color: #e6d2ac; background: var(--amber-bg); box-shadow: 0 2px 10px color-mix(in srgb, var(--amber) 30%, transparent); }
.staff-revision-alert.version-update small { color: var(--amber); }
.staff-revision-alert.version-update form { margin: 0; }
/* Both row alerts open the detail: give them the gap and the type size of the panels below. */
.requirement-detail > .staff-revision-alert { margin-bottom: 10px; }
.requirement-detail > .staff-revision-alert strong { font-size: 13px; }
.requirement-detail > .staff-revision-alert em { font-size: 11px; }

/* The prototype's compact-upload inside the addendum grid (Checklist 1): that grid styles every
   label > span as a small uppercase caption (pcc.css:6724 `.change-form-grid label>span`); the
   upload label keeps its own voice. The matching `.access-form` half died when the tender-creation
   form stopped carrying that class (Task 1) and the intake panel never did (Task 4) — removed
   (whole-branch review, 22 Sep 2026); `.intake-files` needs no such override, since nothing scopes
   an uppercase-caption rule to `.tender-intake-form`. */
.change-form-grid .compact-upload { display: flex; }
.change-form-grid .compact-upload > span { color: inherit; font-size: inherit; font-weight: inherit; letter-spacing: normal; text-transform: none; }
.change-form-grid .compact-upload > small { font-size: 11px; }
.change-form-grid .compact-upload input { width: 100%; min-height: 0; border: 0; padding: 0; }

/* The next-step banner was merged into the submit card on 16 Sep 2026; its override went with it.
   Both blocks stay scroll-anchored, because the returned-checklist note still links to
   #checklist-submit and that id now sits on the card. */
.checklist-approval-message, .checklist-submit-card { scroll-margin-top: 16px; }

/* --- Interface review, 21 Sep 2026 ------------------------------------------------------------
   Findings from the better-interface pass over the checklist-creation flow. pcc.css untouched. */

/* The intake radios are visually hidden (pcc.css:8232), so the app-wide focus outline was landing
   on a 1x1 box — the same problem the feedback cards solved at the top of this file. */
.intake-mode-options > label:has(input:focus-visible) { outline: 2px solid var(--navy); outline-offset: 1px; }

/* pcc.css:2322 paints the dialog's close glyph #9da4af on white — 2.51:1 against the 4.5:1 it
   needs. --muted measures 7.5:1; :hover keeps its own navy on specificity. */
.modal-close { color: var(--muted); }

/* One live region per page for the reader's progress, outside the polled panel so its text can be
   updated in place (htmx swaps #intake-panel wholesale, which would recreate a region inside it). */
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* pcc.css:5592 paints a file picker that is merely empty in the danger palette (#fcf3f4 on
   #cf9ca2, text #9c3e47) — the pair of `.complete`'s green. Nothing has gone wrong when the page
   first renders, so the two loudest things on the intake panel were two ordinary file inputs.
   The base `.compact-upload` (pcc.css:3249) is already the right neutral dashed target; this puts
   its three colours back and keeps only the geometry the modifier adds. Same fix reaches the
   Brankas form, which wears the same class. */
.compact-upload.required-upload { border-color: #b9c5d8; background: #f7f9fc; color: var(--navy); }

/* Task 5 review, 22 Sep 2026: the two pickers in .intake-files (intake_files.html) are one group —
   the customer document and the optional Staff checklist — but only the document's carries
   `.required-upload`, and pcc.css:5592 is where its taller, stacked-label layout actually comes
   from (`flex-direction: column; gap: 5px; min-height: 76px`), not from anything `.required-upload`
   itself means semantically. Without this the optional picker fell back to base `.compact-upload`'s
   centred single row, so its label and hint ran together with no gap and the two controls read as
   different components stacked in the same group. `.required-upload` stays what the fix above
   already made it — a palette, not a layout — so this reaches every picker in the group instead. */
.intake-files .compact-upload { min-height: 76px; flex-direction: column; gap: 5px; }
/* Checklist tiga jalur, fase 1: whose checklist the file is — two plain choices under its picker. */
.intake-origin { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 6px; margin: 0; padding: 0; border: 0; }
.intake-origin legend { margin-bottom: 4px; color: var(--muted); font-size: 11px; font-weight: 700; }
.intake-origin label { display: flex; gap: 8px; align-items: flex-start; border: 1px solid var(--line-soft); border-radius: 5px; background: #fff; padding: 8px 10px; cursor: pointer; }
.intake-origin label:has(input:checked) { border-color: var(--navy); }
.intake-origin span { display: grid; gap: 2px; }
.intake-origin strong { color: var(--navy-deep); font-size: 12px; }
.intake-origin small { color: var(--muted); font-size: 11px; line-height: 1.35; }

/* Owner request (26 Sep 2026): the document card itself shows the upload happening, not just the
   submit button's spinner. Two states, choreographed on the card that holds the customer document:
   while the bytes travel a 3px stripe along the card's bottom edge fills to the real progress
   (htmx forms — upload-progress.js writes --upload and data-upload); with no progress to report
   (the plain-post creation form, and the server-side read after the bytes have landed) the stripe
   sweeps instead. The optional checklist card and the notes step back so the eye stays on the
   document. Linear timing on purpose: the sweep is continuous, not an entrance. */
form.submitting .intake-files, form.htmx-request .intake-files { pointer-events: none; }
form.submitting .intake-files > :not(:has(input[name="file"])),
form.htmx-request .intake-files > :not(:has(input[name="file"])) { opacity: .45; transition: opacity .2s ease-out; }
form.submitting .intake-files .compact-upload:has(input[name="file"]),
form.htmx-request .intake-files .compact-upload:has(input[name="file"]) {
  overflow: hidden; border-style: solid; border-color: var(--navy); background: #fff; color: var(--navy);
  box-shadow: 0 2px 10px color-mix(in srgb, var(--navy) 30%, transparent);
}
form.submitting .intake-files .compact-upload:has(input[name="file"])::after,
form.htmx-request .intake-files .compact-upload:has(input[name="file"])::after {
  content: "Mengunggah dan membaca dokumen…"; font-size: 11px; font-weight: 700; color: var(--navy);
  animation: pcc-fade-in .18s ease-out;
}
form[data-upload="progress"] .intake-files .compact-upload:has(input[name="file"])::after { content: "Mengunggah dokumen…"; }
form[data-upload="done"] .intake-files .compact-upload:has(input[name="file"])::after { content: "Terunggah · sedang dibaca…"; }
form.submitting .intake-files .compact-upload:has(input[name="file"])::before,
form.htmx-request .intake-files .compact-upload:has(input[name="file"])::before {
  content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 40%;
  background: linear-gradient(90deg, transparent, var(--navy), transparent);
  animation: pcc-sweep 1.1s linear infinite;
}
form[data-upload="progress"] .intake-files .compact-upload:has(input[name="file"])::before {
  width: var(--upload, 0%); background: var(--navy); animation: none; transition: width .15s linear;
}
@keyframes pcc-sweep { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
@keyframes pcc-fade-in { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  form.submitting .intake-files .compact-upload:has(input[name="file"])::before,
  form.htmx-request .intake-files .compact-upload:has(input[name="file"])::before { width: 100%; background: var(--navy); animation: none; }
  form.submitting .intake-files .compact-upload:has(input[name="file"])::after,
  form.htmx-request .intake-files .compact-upload:has(input[name="file"])::after { animation: none; }
  form.submitting .intake-files > :not(:has(input[name="file"])),
  form.htmx-request .intake-files > :not(:has(input[name="file"])) { transition: none; }
}

/* Whole-branch review, 22 Sep 2026: with no `.access-form`/`.change-form-grid` ancestor to inherit
   from, the label span fell to `.compact-upload`'s own 9px (pcc.css:3249) — smaller than the 11px
   hint right below it (`.compact-upload small` two rules down), so "Dokumen PQ customer" read as
   less prominent than its own hint text. The label is the primary line; give it back that role. */
.intake-files .compact-upload > span { font-size: 13px; }

/* pcc.css:5594 sets 8px; the `.change-form-grid` rule above outranks it wherever a picker actually
   renders, so the floor is raised there. This catches the rest. */
.compact-upload small { font-size: 11px; }

/* A note, not a field: no box, no shadow — see the exclusion note on the accent block above. */
.intake-format-note { border-left: 0; box-shadow: none; padding: 4px 0 0; }

/* The resumable reading (the reader's own note promises the result survives closing the page). */
.reader-resume { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 14px 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface-soft); box-shadow: 0 2px 10px color-mix(in srgb, var(--navy) 30%, transparent); }
.reader-resume > span { display: grid; gap: 3px; min-width: 0; }
.reader-resume small { color: var(--navy); font-size: 9px; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.reader-resume strong { color: var(--navy-deep); font-size: 15px; }
.reader-resume em { color: var(--muted); font-size: 12px; font-style: normal; line-height: 1.5; }

/* Work creation as a page (owner decision, 21 Sep 2026). The form kept its `.form-stack` and
   `.tender-meta-fields` from the modal; only the frame changed, so this is the frame. */
.new-tender-page > .page-header + form { display: grid; gap: 22px; margin-top: 22px; }
.new-tender-page .form-footer { display: flex; justify-content: flex-end; gap: 12px; border-top: 1px solid var(--line-soft); padding-top: 18px; }
@media (max-width: 640px) { .new-tender-page .form-footer { flex-direction: column-reverse; } .new-tender-page .form-footer > * { width: 100%; } }

/* Focus indicator — owner preference (2 Sep 2026): the prototype's 3px translucent rounded halo
   (pcc.css:117) reads "AI-product chic"; replaced app-wide with a crisp thin brand outline.
   Accessibility holds: this is HIGHER contrast than the 0.22-alpha ring it overrides — never
   remove the indicator, only restyle it. */
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 1px;
  box-shadow: none;
}

/* Accent language — owner decision (3 Sep 2026): no single-edge accent bars (left/top border or
   inset-shadow bars, "ChatGPT-style"). Every accent is now one uniform 1px border plus a colored
   soft shadow carrying the former bar color. Generated mechanically from every pcc.css rule with
   a >=2px border-left/top, a border-*-color variant, or an inset side bar (triangle/caret border
   hacks excluded); pcc.css itself stays untouched. Regenerate rather than hand-edit on a pcc.css
   refresh.

   One exclusion, added 21 Sep 2026: an element whose *only* border is the accent bar has no box
   to put a uniform border on, so the substitution turned a plain note into something that reads
   as a disabled input. `.intake-format-note` was the case that surfaced it; keep such elements
   out of a regenerated block and give them a borderless treatment below. */
.staff-guided-action { border-left: 1px solid var(--line); box-shadow: 0 2px 10px color-mix(in srgb, var(--navy) 30%, transparent); }
.nav-item.active { box-shadow: 0 2px 10px color-mix(in srgb, var(--navy) 30%, transparent); }
.onboarding-steps article { border-top: 1px solid var(--line); box-shadow: 0 2px 10px color-mix(in srgb, var(--blue-soft) 30%, transparent); }
.workflow-step { border-top: 1px solid var(--line); box-shadow: 0 2px 10px color-mix(in srgb, var(--line) 30%, transparent); }
.workflow-step.done { border-top-color: var(--line); box-shadow: 0 2px 10px color-mix(in srgb, var(--green) 30%, transparent); }
.workflow-step.current { border-top-color: var(--line); box-shadow: 0 2px 10px color-mix(in srgb, var(--navy) 30%, transparent); }
.staff-revision-alert { border-left: 1px solid var(--line); box-shadow: 0 2px 10px color-mix(in srgb, var(--red) 30%, transparent); }
.reader-error { border-left: 1px solid var(--line); box-shadow: 0 2px 10px color-mix(in srgb, var(--red) 30%, transparent); }
.batch-mapping-list article.mapped { border-left: 1px solid var(--line); box-shadow: 0 2px 10px color-mix(in srgb, var(--green) 30%, transparent); }
.batch-mapping-list article.unmapped { border-left: 1px solid var(--line); box-shadow: 0 2px 10px color-mix(in srgb, var(--amber) 30%, transparent); }
.document-summary-card { border-left: 1px solid var(--line); box-shadow: 0 2px 10px color-mix(in srgb, var(--navy) 30%, transparent); }
.document-summary-card.compact { border-left-color: var(--line); box-shadow: 0 2px 10px color-mix(in srgb, var(--blue-soft) 30%, transparent); }
.document-summary-role-focus { border-left: 1px solid var(--line); box-shadow: 0 2px 10px color-mix(in srgb, var(--navy) 30%, transparent); }
.requirement-row.vault-locked { box-shadow: 0 2px 10px color-mix(in srgb, #5b846f 30%, transparent); }
.draft-source-banner.tender-template { border-left: 1px solid var(--line); box-shadow: 0 2px 10px color-mix(in srgb, var(--blue-soft) 30%, transparent); }
.draft-source-banner.company-template { border-left: 1px solid var(--line); box-shadow: 0 2px 10px color-mix(in srgb, #a07934 30%, transparent); }
.draft-source-banner.ai-assisted { border-left: 1px solid var(--line); box-shadow: 0 2px 10px color-mix(in srgb, #77598b 30%, transparent); }
.reader-source-assurance p { border-left: 1px solid var(--line); box-shadow: 0 2px 10px color-mix(in srgb, var(--blue-soft) 30%, transparent); }
.requirement-description-card { border-left: 1px solid var(--line); box-shadow: 0 2px 10px color-mix(in srgb, var(--navy) 30%, transparent); }
.route-note { border-left: 1px solid var(--line); box-shadow: 0 2px 10px color-mix(in srgb, #718b7f 30%, transparent); }
.hero-panel { border-top: 1px solid var(--line); box-shadow: 0 2px 10px color-mix(in srgb, var(--navy) 30%, transparent); }
.priority-brief { border-left: 1px solid var(--line); box-shadow: 0 2px 10px color-mix(in srgb, var(--navy) 30%, transparent); }
.milestone-card { border-left: 1px solid var(--line); box-shadow: 0 2px 10px color-mix(in srgb, var(--navy) 30%, transparent); }
.metric-card.green { border-top-color: var(--line); box-shadow: 0 2px 10px color-mix(in srgb, var(--green) 30%, transparent); }
.metric-card.amber { border-top-color: var(--line); box-shadow: 0 2px 10px color-mix(in srgb, var(--amber) 30%, transparent); }
.metric-card.red { border-top-color: var(--line); box-shadow: 0 2px 10px color-mix(in srgb, var(--red) 30%, transparent); }
.metric-card.blue { border-top-color: var(--line); box-shadow: 0 2px 10px color-mix(in srgb, var(--navy) 30%, transparent); }
.document-control-strip { border-left: 1px solid var(--line); box-shadow: 0 2px 10px color-mix(in srgb, var(--navy) 30%, transparent); }
.deletion-validation { border-left: 1px solid var(--line); box-shadow: 0 2px 10px color-mix(in srgb, var(--red) 30%, transparent); }
.review-queue-list > button.active { box-shadow: 0 2px 10px color-mix(in srgb, #527493 30%, transparent); }
.ai-finding-list > article { border-left: 1px solid var(--line); box-shadow: 0 2px 10px color-mix(in srgb, #6685a1 30%, transparent); }
.ai-finding-list > article.warning { border-left-color: var(--line); box-shadow: 0 2px 10px color-mix(in srgb, #b1882b 30%, transparent); }
.ai-finding-list > article.critical { border-left-color: var(--line); box-shadow: 0 2px 10px color-mix(in srgb, #b54c56 30%, transparent); }
.identity-check-card { border-left: 1px solid var(--line); box-shadow: 0 2px 10px color-mix(in srgb, #4f745f 30%, transparent); }
.identity-check-card.unreadable { border-left-color: var(--line); box-shadow: 0 2px 10px color-mix(in srgb, #9a721d 30%, transparent); }
.identity-check-card.mismatch { border-left-color: var(--line); box-shadow: 0 2px 10px color-mix(in srgb, var(--red) 30%, transparent); }
.identity-check-card > blockquote { border-left: 1px solid var(--line); box-shadow: 0 2px 10px color-mix(in srgb, rgba(68, 91, 78, 0.2) 30%, transparent); }
.identity-check-legacy { border-left: 1px solid var(--line); box-shadow: 0 2px 10px color-mix(in srgb, #9a721d 30%, transparent); }
.attachment-preview-list > button.active { box-shadow: 0 2px 10px color-mix(in srgb, #567765 30%, transparent); }
.role-model-card { border-top: 1px solid var(--line); box-shadow: 0 2px 10px color-mix(in srgb, #6e9483 30%, transparent); }
.role-model-card.reviewer { border-top-color: var(--line); box-shadow: 0 2px 10px color-mix(in srgb, #577b9a 30%, transparent); }
.role-model-card.admin { border-top-color: var(--line); box-shadow: 0 2px 10px color-mix(in srgb, #7a608b 30%, transparent); }
.draft-source-banner.ai-assisted { border-left-color: var(--line); box-shadow: 0 2px 10px color-mix(in srgb, var(--navy) 30%, transparent); }
.role-model-card.admin { border-top-color: var(--line); box-shadow: 0 2px 10px color-mix(in srgb, var(--navy) 30%, transparent); }
.about-pcc-purpose { border-left: 1px solid var(--line); box-shadow: 0 2px 10px color-mix(in srgb, var(--navy) 30%, transparent); }
.evidence-slot-card { border-left: 1px solid var(--line); box-shadow: 0 2px 10px color-mix(in srgb, #d3dbe9 30%, transparent); }
.evidence-slot-card.complete { border-left-color: var(--line); box-shadow: 0 2px 10px color-mix(in srgb, #2d8b68 30%, transparent); }
.evidence-manual-override,.review-manual-override { border-left: 1px solid var(--line); box-shadow: 0 2px 10px color-mix(in srgb, var(--red) 30%, transparent); }
.addendum-readiness { border-left: 1px solid var(--line); box-shadow: 0 2px 10px color-mix(in srgb, var(--navy) 30%, transparent); }
.addendum-list>article.open { border-left: 1px solid var(--line); box-shadow: 0 2px 10px color-mix(in srgb, #bd7c20 30%, transparent); }
.addendum-list>article.resolved { border-left: 1px solid var(--line); box-shadow: 0 2px 10px color-mix(in srgb, #23815d 30%, transparent); }
.help-purpose { border-left: 1px solid var(--line); box-shadow: 0 2px 10px color-mix(in srgb, var(--navy) 30%, transparent); }
.help-evidence-guide-body aside p { border-left: 1px solid var(--line); box-shadow: 0 2px 10px color-mix(in srgb, var(--navy) 30%, transparent); }
.help-faq p { border-left: 1px solid var(--line); box-shadow: 0 2px 10px color-mix(in srgb, #9fb1d6 30%, transparent); }
.feedback-thanks { border-left: 1px solid var(--line); box-shadow: 0 2px 10px color-mix(in srgb, var(--green) 30%, transparent); }
.feedback-prompts blockquote { border-left: 1px solid var(--line); box-shadow: 0 2px 10px color-mix(in srgb, #94a8d0 30%, transparent); }
.feedback-admin-kpis button.attention { border-top: 1px solid var(--line); box-shadow: 0 2px 10px color-mix(in srgb, var(--amber) 30%, transparent); }
.feedback-admin-kpis button.risk { border-top: 1px solid var(--line); box-shadow: 0 2px 10px color-mix(in srgb, var(--red) 30%, transparent); }
.admin-triage article.critical { border-left: 1px solid var(--line); box-shadow: 0 2px 10px color-mix(in srgb, var(--red) 30%, transparent); }
.feedback-user-status p { border-left: 1px solid var(--line); box-shadow: 0 2px 10px color-mix(in srgb, var(--blue) 30%, transparent); }
.feedback-progress .closed-message { border-left: 1px solid var(--line); box-shadow: 0 2px 10px color-mix(in srgb, var(--muted) 30%, transparent); }
.renewal-trace { border-left: 1px solid var(--line); box-shadow: 0 2px 10px color-mix(in srgb, #c68a1b 30%, transparent); }
.template-approval-trace { border-left: 1px solid var(--line); box-shadow: 0 2px 10px color-mix(in srgb, var(--navy) 30%, transparent); }
.login-loading span { border-top-color: var(--line); box-shadow: 0 2px 10px color-mix(in srgb, var(--navy) 30%, transparent); }
.login-alert { border-left: 1px solid var(--line); box-shadow: 0 2px 10px color-mix(in srgb, var(--red) 30%, transparent); }
.login-alert.warning { border-left-color: var(--line); box-shadow: 0 2px 10px color-mix(in srgb, var(--amber) 30%, transparent); }
.checklist-ai-findings article { border-left: 1px solid var(--line); box-shadow: 0 2px 10px color-mix(in srgb, var(--blue-soft) 30%, transparent); }
.checklist-ai-findings article.critical { border-left-color: var(--line); box-shadow: 0 2px 10px color-mix(in srgb, var(--red) 30%, transparent); }
.checklist-ai-findings article.warning { border-left-color: var(--line); box-shadow: 0 2px 10px color-mix(in srgb, var(--amber) 30%, transparent); }
.delivery-readiness-grid > span { border-top: 1px solid var(--line); box-shadow: 0 2px 10px color-mix(in srgb, #aab7c8 30%, transparent); }
.delivery-readiness-grid > span.ready { border-top-color: var(--line); box-shadow: 0 2px 10px color-mix(in srgb, var(--green) 30%, transparent); }
.delivery-readiness-grid > span.attention { border-top-color: var(--line); box-shadow: 0 2px 10px color-mix(in srgb, var(--amber) 30%, transparent); }
.delivery-readiness-grid > span.blocked { border-top-color: var(--line); box-shadow: 0 2px 10px color-mix(in srgb, var(--red) 30%, transparent); }
.package-version-chip { border-top: 1px solid var(--line); box-shadow: 0 2px 10px color-mix(in srgb, #aab7c8 30%, transparent); }
.package-version-chip.submitted { border-top-color: var(--line); box-shadow: 0 2px 10px color-mix(in srgb, var(--amber) 30%, transparent); }
.package-version-chip.approved { border-top-color: var(--line); box-shadow: 0 2px 10px color-mix(in srgb, var(--green) 30%, transparent); }
.package-version-chip.changes { border-top-color: var(--line); box-shadow: 0 2px 10px color-mix(in srgb, var(--red) 30%, transparent); }
.package-release-gate { border-left: 1px solid var(--line); box-shadow: 0 2px 10px color-mix(in srgb, #aab7c8 30%, transparent); }
.package-release-gate.submitted { border-left-color: var(--line); box-shadow: 0 2px 10px color-mix(in srgb, var(--amber) 30%, transparent); }
.package-release-gate.approved { border-left-color: var(--line); box-shadow: 0 2px 10px color-mix(in srgb, var(--green) 30%, transparent); }
.package-release-gate.changes, .package-release-gate.blocked { border-left-color: var(--line); box-shadow: 0 2px 10px color-mix(in srgb, var(--red) 30%, transparent); }
.delivery-receipt.recorded { border-top: 1px solid var(--line); box-shadow: 0 2px 10px color-mix(in srgb, var(--green) 30%, transparent); }
.inline-error { border-left: 1px solid var(--line); box-shadow: 0 2px 10px color-mix(in srgb, var(--red) 30%, transparent); }
.learning-status-chip { border-top: 1px solid var(--line); box-shadow: 0 2px 10px color-mix(in srgb, #aab7c8 30%, transparent); }
.learning-status-chip.submitted { border-top-color: var(--line); box-shadow: 0 2px 10px color-mix(in srgb, var(--amber) 30%, transparent); }
.learning-status-chip.approved { border-top-color: var(--line); box-shadow: 0 2px 10px color-mix(in srgb, var(--green) 30%, transparent); }
.learning-status-chip.changes { border-top-color: var(--line); box-shadow: 0 2px 10px color-mix(in srgb, var(--red) 30%, transparent); }
.learning-gate-note { border-left: 1px solid var(--line); box-shadow: 0 2px 10px color-mix(in srgb, var(--amber) 30%, transparent); }
.learning-metrics > span { border-top: 1px solid var(--line); box-shadow: 0 2px 10px color-mix(in srgb, var(--navy) 30%, transparent); }
.learning-review-panel { border-left: 1px solid var(--line); box-shadow: 0 2px 10px color-mix(in srgb, var(--amber) 30%, transparent); }
.learning-review-panel.approved { border-left-color: var(--line); box-shadow: 0 2px 10px color-mix(in srgb, var(--green) 30%, transparent); }
.insight-engine { border-top: 1px solid var(--line); box-shadow: 0 2px 10px color-mix(in srgb, var(--blue) 30%, transparent); }
.organization-playbook article { border-left: 1px solid var(--line); box-shadow: 0 2px 10px color-mix(in srgb, var(--green) 30%, transparent); }
.manual-checklist-gate { border-left: 1px solid var(--line); box-shadow: 0 2px 10px color-mix(in srgb, #29479b 30%, transparent); }
.review-feedback-list article { border-left: 1px solid var(--line); box-shadow: 0 2px 10px color-mix(in srgb, #3153a5 30%, transparent); }
.gap-findings article { border-left: 1px solid var(--line); box-shadow: 0 2px 10px color-mix(in srgb, #7887a8 30%, transparent); }
.gap-findings article.critical { border-left-color: var(--line); box-shadow: 0 2px 10px color-mix(in srgb, var(--red) 30%, transparent); }
.gap-findings article.warning { border-left-color: var(--line); box-shadow: 0 2px 10px color-mix(in srgb, #bd7c20 30%, transparent); }
.manual-gap-summary { border-left: 1px solid var(--line); box-shadow: 0 2px 10px color-mix(in srgb, var(--navy) 30%, transparent); }
.manual-gap-summary > div > b { border-top: 1px solid var(--line); box-shadow: 0 2px 10px color-mix(in srgb, #8290a8 30%, transparent); }
.manual-gap-summary > div > b.matched { border-top-color: var(--line); box-shadow: 0 2px 10px color-mix(in srgb, var(--green) 30%, transparent); }
.manual-gap-summary > div > b.adjustment { border-top-color: var(--line); box-shadow: 0 2px 10px color-mix(in srgb, #bd7c20 30%, transparent); }
.manual-gap-summary > div > b.addition { border-top-color: var(--line); box-shadow: 0 2px 10px color-mix(in srgb, var(--navy) 30%, transparent); }
.manual-gap-summary > div > b.manual-only { border-top-color: var(--line); box-shadow: 0 2px 10px color-mix(in srgb, #8c6672 30%, transparent); }
.manual-gap-group article blockquote { border-left: 1px solid var(--line); box-shadow: 0 2px 10px color-mix(in srgb, #d4deef 30%, transparent); }
.manual-gap-group.adjustment { border-left: 1px solid var(--line); box-shadow: 0 2px 10px color-mix(in srgb, #bd7c20 30%, transparent); }
.manual-gap-group.addition { border-left: 1px solid var(--line); box-shadow: 0 2px 10px color-mix(in srgb, var(--navy) 30%, transparent); }
.manual-gap-group.not_found { border-left: 1px solid var(--line); box-shadow: 0 2px 10px color-mix(in srgb, #bd7c20 30%, transparent); }
.gap-decision-summary { border-left: 1px solid var(--line); box-shadow: 0 2px 10px color-mix(in srgb, var(--green) 30%, transparent); }
.sprint-monitor-signals > span { border-top: 1px solid var(--line); box-shadow: 0 2px 10px color-mix(in srgb, #8190aa 30%, transparent); }
.sprint-monitor-signals > span.claimed { border-top-color: var(--line); box-shadow: 0 2px 10px color-mix(in srgb, var(--navy) 30%, transparent); }
.sprint-monitor-signals > span.attention { border-top-color: var(--line); box-shadow: 0 2px 10px color-mix(in srgb, #bd7c20 30%, transparent); }
.sprint-monitor-signals > span.ready { border-top-color: var(--line); box-shadow: 0 2px 10px color-mix(in srgb, var(--green) 30%, transparent); }
.sprint-monitor-list > article { border-left: 1px solid var(--line); box-shadow: 0 2px 10px color-mix(in srgb, #98a5bb 30%, transparent); }
.sprint-monitor-list > article.active { border-left-color: var(--line); box-shadow: 0 2px 10px color-mix(in srgb, var(--navy) 30%, transparent); }
.sprint-monitor-list > article.attention:not(.active) { border-left-color: var(--line); box-shadow: 0 2px 10px color-mix(in srgb, #bd7c20 30%, transparent); }
/* Account actions inside the mobile menu (Codex retest F01): the sidebar footer that carries them
   on desktop is hidden by pcc.css under 900px. */
.nav-account { display: none; }
@media (max-width: 900px) { .nav-account { display: block; } .nav-account .nav-item { width: 100%; } }
@media (max-width: 900px) { .nav-item.active { box-shadow: 0 2px 10px color-mix(in srgb, var(--navy) 30%, transparent); } }

/* Design audit, 15 Sep 2026 — refinements that keep the prototype's markup and copy. */
/* Review Centre: the decision bar's status line ("Status approval" / "Keputusan Manager") is not the
   bar's first child in the multi-level layout, so pcc.css:5437 never stacked it and the label ran
   into its text. */
.multi-level-decision-bar > span { display: flex; min-width: 0; flex-direction: column; }
/* Meja Kerja: the Staff workbench sat flush against the priority list (0px in the prototype too). */
.staff-workbench { margin-top: 24px; }
/* Sidebar: Manager, Direksi and Admin carry eleven nav items, which pushed the account card below
   a 768–900px viewport with nothing to say the sidebar scrolls. The nav scrolls instead; the
   account card stays reachable. Desktop only: at 900px and below pcc.css:6251 opens the sidebar's
   overflow so the Menu dropdown, absolutely positioned under the 72px header, can show — an
   unscoped `hidden` here clipped it, and the Menu button opened nothing (feedback 94cf5b5a). */
@media (min-width: 901px) {
  .sidebar { overflow: hidden; }
  .primary-nav { flex: 1 1 auto; min-height: 0; overflow-y: auto; }
}
/* Review Centre KPI numerals: pcc.css:5312 sets the mono stack; every other KPI on the site uses
   the sans, so the four cards read as a different typeface. */
.review-metric-grid strong { font-family: inherit; }
/* Dashboard signals: seven chips in a five-column grid left a ragged 5 + 2 second row. */
.portfolio-signals { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
/* Phones: the portfolio table and the Brankas filter strip scroll inside their box; a narrow
   fade on the right edge says so. */
@media (max-width: 900px) {
  .portfolio-table, .filter-tabs { mask-image: linear-gradient(90deg, #000 calc(100% - 24px), transparent); }
  /* The fade promised a scroll the strip never had: at 768 px the Brankas tabs pushed the page to
     1199 px (docs/uat/periksa-layar-sempit.py, 17 Nov 2026). */
  .filter-tabs { overflow-x: auto; scrollbar-width: none; }
}
/* The work desk's links missed pcc.css's narrow rule, written for `> button` (pcc.css:6720): at
   375 px four fixed columns pushed every task past the edge. Same two-column fold. */
@media (max-width: 760px) {
  .role-task-list > a { grid-template-columns: 40px minmax(0, 1fr); }
  .role-task-list > a > span:nth-child(3), .role-task-list > a > b { grid-column: 2; text-align: left; }
}
/* Akses & Peran: the inline reset form pushed every row to three lines; buttons on the first,
   the reset field on its own second line. */
.access-row-actions .access-reset-form { flex-basis: 100%; order: 1; }
/* Ubah kata sandi: "Keluar dari PCC" takes its own line so Batal and the primary button share one. */
.account-security-card .modal-footer .danger-text { flex-basis: 100%; }
.account-security-card .modal-footer .modal-footer-spacer { display: none; }
/* Identity check card: the Reviewer's manual validation line (owner UX allowance, 14 Sep 2026). */
.identity-check-card .identity-manual-validation { display: flex; align-items: center; gap: 8px; margin: 8px 0 0; color: var(--green); font-size: 10px; font-weight: 800; }
.identity-check-card .identity-manual-validation i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
/* Tender switcher: the prototype's per-row delete is a <button>; here it is a link to the deletion
   screen (PCC:app/tender-workspace.tsx:2369), so it needs the centring a button had for free, and
   the waiting state is aria-disabled on a <span> because :disabled is button-only. */
.switcher-delete { display: flex; align-items: center; justify-content: center; text-align: center; text-decoration: none; }
.switcher-delete[aria-disabled="true"] { cursor: not-allowed; background: #f7f8fa; color: #7a8290; }
.switcher-delete[aria-disabled="true"]:hover { background: #f7f8fa; }
/* "Buat pekerjaan baru" (PCC:app/tender-intake-modal.tsx) as SSR. One React-computed thing stays
   a selector on this markup — the modal's own :target left with the page it opened on (21 Sep
   2026) — `selected` is :has(:checked), and the labels that followed workType are sibling spans,
   one of which each pair of :has() rules reveals. The checklist-route pair (intakeMode) left with
   the route question itself (21 Sep 2026): one submit now takes both files, so the submit button
   carries no route-dependent label. */
.intake-mode-options > label:has(input:checked) { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(41, 71, 155, .1); background: linear-gradient(145deg, #fff, #f3f6fc); }
.tender-trial-toggle:has(input:checked) { border-color: #d3a449; background: #fff9ea; }
.tender-intake-form i { font-style: normal; }
.tender-intake-form .for-pq, form:has([name="work_type"][value="pq"]:checked) .tender-intake-form .for-tender { display: none; }
form:has([name="work_type"][value="pq"]:checked) .tender-intake-form .for-pq { display: inline; }
/* Ringkasan (PCC:app/tender-workspace.tsx:3126-3232): the prototype's blocker rows were <button
   onClick={navigate}>, so pcc.css:1000 scopes them to `button`. Here they navigate, which is what
   an anchor is for; these three rules give the anchor the button's box. */
.blocker-list > a { display: grid; grid-template-columns: 20px minmax(0, 1fr) 10px; align-items: center; gap: 12px; border: 0; border-top: 1px solid var(--line-soft); background: transparent; padding: 14px 0; color: inherit; text-align: left; text-decoration: none; }
.blocker-list > a:first-child { border-top: 0; padding-top: 0; }
.blocker-list > a > span:nth-child(2) { display: flex; flex-direction: column; }
/* Same swap for the category rows and the readiness/priority links. */
.category-list > a.category-progress, .priority-brief > a.button, .milestone-card > a.button { text-decoration: none; }
/* The Ringkasan hero's red tab (pcc.css:6043) is a 4px single-edge accent bar on the right edge —
   the same thing the generated block above removes everywhere else. The generator skips pseudo-
   elements, so it is dropped here by hand; the hero already carries its soft navy shadow. */
.hero-panel::after { display: none; }
/* PDF zoom (PCC:app/pdf-attachment-viewer.tsx:31): pcc.css caps a page at the container width, which
   is right until the reader deliberately zooms past it. */
.pdf-preview-pages[data-zoom] { overflow-x: auto; }
.pdf-preview-pages[data-zoom] .pdf-preview-page { max-width: none; }
/* Batch upload progress (PCC:app/batch-document-upload.tsx:148) — the prototype's `busy` state is
   htmx's own in-flight class here, so the panel needs no script of its own. */
.batch-progress { display: none; }
form.htmx-request .batch-progress, form.submitting .batch-progress { display: flex; }
.batch-progress .spinner { width: 16px; height: 16px; flex: 0 0 auto; border: 2px solid var(--navy); border-right-color: transparent; border-radius: 50%; animation: pcc-spin .7s linear infinite; }
@media (prefers-reduced-motion: reduce) { .batch-progress .spinner { animation-duration: 2s; } }
/* The official-checklist gate (PCC:app/checklist-approval-panel.tsx:180) had one control on its
   right: a <label> styled as a button that uploaded on change. Without JavaScript the picker and
   the submit are two controls, so they share that one slot as a stack. */
.manual-checklist-gate .gate-upload { display: grid; flex: 0 0 auto; gap: 6px; justify-items: stretch; min-width: 210px; }
.manual-checklist-gate .compact-upload { flex-direction: column; gap: 1px; padding: 6px 12px; }
/* Owner UX round, 18 Sep 2026: the repair form's optional picker gets the required picker's
   presence (pcc.css:5592) in the accent language of port.css, so it reads as the place to act. */
.compact-upload.repair-upload { min-height: 76px; flex-direction: column; gap: 5px; padding: 10px 14px; border: 1px dashed var(--navy); background: #f3f6fc; text-align: center; }
.compact-upload.repair-upload > span { font-size: 10px; }
.compact-upload.repair-upload > small { color: var(--muted); }
.manual-checklist-gate .compact-upload small { color: var(--muted); font-weight: 600; }
/* Checklist board stage note (owner UX report, 15 Sep 2026). Modelled on the prototype's
   `.manual-order-notice` box but kept a separate class: same shape, different component — reusing
   that one would dress this message in rules written for the manual-order lane. */
.checklist-stage-note { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--blue-bg); padding: 13px 16px; box-shadow: 0 2px 10px color-mix(in srgb, var(--navy) 30%, transparent); }
.checklist-stage-note > span { display: grid; width: 28px; height: 28px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: var(--navy); color: #fff; font-size: 10px; font-weight: 900; }
.checklist-stage-note > p { display: grid; flex: 1 1 auto; gap: 3px; margin: 0; min-width: 0; }
.checklist-stage-note strong { color: var(--navy-deep); font-size: 12px; }
.checklist-stage-note small { color: var(--muted); font-size: 10px; line-height: 1.5; }
.checklist-stage-note > .button { flex: 0 0 auto; }
@media (max-width: 720px) { .checklist-stage-note { align-items: stretch; flex-direction: column; } }
.checklist-stage-note.attention { border-color: #efc3cc; background: var(--red-bg); box-shadow: 0 2px 10px color-mix(in srgb, var(--red) 30%, transparent); }
.checklist-stage-note.attention > span { background: var(--red); }

/* --- Evidence folder upload (owner decision, 16 Sep 2026) --------------------------------------- */
/* SSR adaptation: the prototype had no folder picker, so this note is the port's own element. */
.evidence-folder-note { margin: -4px 0 0; color: var(--muted); font-size: 11px; line-height: 1.6; }

/* --- Validation gate rows lead somewhere (owner request, 16 Sep 2026) --------------------------- */
/* SSR adaptation: the prototype's rows were <button>s (pcc.css:7519). An anchor navigates without
   JavaScript, so it repeats those rules rather than re-styling the panel. */
.checklist-validation-panel > div > a {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px;
  padding: 9px 11px; border: 1px solid rgba(197, 48, 48, 0.2); border-radius: 9px;
  background: #fff; color: inherit; cursor: pointer; text-decoration: none;
}
.checklist-validation-panel > div > a span { display: grid; gap: 2px; }
.checklist-validation-panel > div > a:hover,
.checklist-validation-panel > div > a:focus-visible {
  border-color: rgba(197, 48, 48, 0.48); box-shadow: 0 0 0 3px rgba(197, 48, 48, 0.08);
}
.checklist-validation-panel > div > a:focus-visible { outline: 2px solid var(--navy); outline-offset: 1px; }

/* --- Validation gate rows lead somewhere (owner request, 16 Sep 2026) --------------------------- */
/* SSR adaptation: the prototype's rows were <button>s (pcc.css:7519). An anchor navigates without
   JavaScript, so it repeats those rules rather than re-styling the panel. */
.checklist-validation-panel > div > a {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px;
  padding: 9px 11px; border: 1px solid rgba(197, 48, 48, 0.2); border-radius: 9px;
  background: #fff; color: inherit; cursor: pointer; text-decoration: none;
}
.checklist-validation-panel > div > a span { display: grid; gap: 2px; }
.checklist-validation-panel > div > a:hover,
.checklist-validation-panel > div > a:focus-visible {
  border-color: rgba(197, 48, 48, 0.48); box-shadow: 0 0 0 3px rgba(197, 48, 48, 0.08);
}
.checklist-validation-panel > div > a:focus-visible { outline: 2px solid var(--navy); outline-offset: 1px; }

/* --- Bulk compliance assist (owner request, 16 Sep 2026) ---------------------------------------- */
/* Not a prototype screen, so it carries its own names rather than borrowing a pcc.css component. */
.compliance-assist-intro { display: grid; margin-bottom: 14px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 12px; background: var(--navy-bg); }
.compliance-assist-intro small { color: var(--muted); font-size: 8.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.compliance-assist-intro strong { color: var(--navy-deep); font-size: 11px; }
.compliance-assist-intro em { color: var(--muted); font-size: 9.5px; font-style: normal; line-height: 1.6; }
.compliance-assist-list { display: grid; gap: 8px; }
.compliance-assist-list > article { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; align-items: start; gap: 12px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 11px; background: #fff; }
.compliance-assist-list > article.found { border-color: #c7dbc9; box-shadow: 0 2px 10px color-mix(in srgb, var(--green) 30%, transparent); }
.compliance-assist-list > article.missing { border-color: #e7d6ae; box-shadow: 0 2px 10px color-mix(in srgb, var(--amber) 30%, transparent); }
.compliance-assist-list > article > div { display: grid; min-width: 0; gap: 4px; }
.compliance-assist-list strong { color: var(--navy-deep); font-size: 10.5px; }
.compliance-assist-list small { color: var(--muted); font-size: 8.5px; }
.compliance-assist-clause { margin: 0; color: var(--ink); font-size: 9.5px; }
.compliance-assist-clause.none { color: var(--amber-ink, var(--muted)); }
.compliance-assist-clause em { color: var(--muted); font-style: normal; }
.compliance-assist-list blockquote { margin: 0; padding: 6px 9px; border-left: 1px solid var(--line); border-radius: 0 7px 7px 0; background: #f8fafc; color: var(--muted); font-size: 8.5px; line-height: 1.6; }
.compliance-assist-pick { display: grid; grid-template-columns: 15px auto; align-items: center; gap: 7px; color: var(--navy-deep); font-size: 9px; font-weight: 800; }
.compliance-assist-footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 14px; }
.compliance-assist-footer p { max-width: 62ch; margin: 0; color: var(--muted); font-size: 9px; line-height: 1.6; }
@media (max-width: 720px) {
  .compliance-assist-list > article { grid-template-columns: minmax(0, 1fr); }
  .compliance-assist-footer { align-items: stretch; flex-direction: column; }
}
.checklist-validation-bulk { display: flex; align-items: center; gap: 11px; flex-wrap: wrap; }
.checklist-validation-bulk small { color: var(--muted); font-size: 8.5px; line-height: 1.6; }
.compliance-assist-found { color: var(--navy-deep); font-size: 8.5px; line-height: 1.6; }
.compliance-assist-found.none { color: var(--muted); }

/* --- Clause reconciliation (owner request, 16 Sep 2026) ----------------------------------------
   Own names, not a pcc.css component's: this screen has no prototype counterpart, and reusing a
   component's classes for a different structure dresses it in that component's rules. The two-side
   row deliberately reads like the Review Centre's source grid, because it is the same act — our
   checklist on the left, the customer's document on the right. The citation is the one thing this
   page exists to confirm, so it is the one thing set in the system's mono face. */
.clause-source-bar { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 14px; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface-soft); }
.clause-source-bar span { display: grid; min-width: 0; gap: 3px; }
.clause-source-bar small { color: var(--muted); font-size: 8px; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; }
.clause-source-bar strong { overflow: hidden; color: var(--navy-deep); font-size: 11px; text-overflow: ellipsis; }
.clause-source-bar.empty { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; border-color: #e7d6ae; background: var(--amber-bg); box-shadow: 0 2px 10px color-mix(in srgb, var(--amber) 30%, transparent); }
.clause-source-bar.empty p { grid-column: 1; margin: 4px 0 0; color: var(--muted); font-size: 9px; line-height: 1.6; }
.clause-source-bar.empty > .button { grid-column: 2; grid-row: 1 / span 2; }

.clause-group { margin-bottom: 14px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--panel); overflow: hidden; }
.clause-group > header { display: flex; min-height: 44px; align-items: center; gap: 12px; padding: 0 16px; border-bottom: 1px solid var(--line); background: #fafbfc; }
.clause-group > header h2 { margin: 0; color: var(--navy-deep); font-size: 12px; }
.clause-group > header > i { height: 1px; flex: 1; background: var(--line); }
.clause-group > header > span:last-child { color: var(--muted); font-family: var(--font-mono), monospace; font-size: 9px; }
.clause-group-code { display: grid; width: 22px; height: 22px; place-items: center; border-radius: var(--radius-sm); background: var(--navy); color: #fff; font-size: 8px; font-weight: 800; }

.clause-head { display: grid; grid-template-columns: 52px minmax(0, 1fr); border-bottom: 1px solid var(--line); background: #fafbfc; }
.clause-head > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
.clause-head span { padding: 7px 15px; color: var(--muted); font-size: 8px; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; }
.clause-head > span { border-right: 1px solid var(--line-soft); padding-inline: 4px; font-size: 7px; text-align: center; }

.clause-row { display: grid; grid-template-columns: 52px minmax(0, 1fr); align-items: stretch; border-top: 1px solid var(--line-soft); }
.clause-group > .clause-row:first-child { border-top: 0; }
.clause-accept { display: grid; place-items: center; border-right: 1px solid var(--line-soft); background: var(--surface-soft); }
.clause-accept input { width: 14px; height: 14px; cursor: pointer; }
.clause-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); min-width: 0; background: #fafaf7; }
.clause-pair > article { min-width: 0; padding: 11px 15px; }
.clause-pair > article:first-child { border-right: 1px solid var(--line); background: var(--panel); }
/* The column heading carries these words once; the per-row copies return when the pair stacks. */
.clause-pair small { display: none; color: var(--muted); font-size: 8px; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; }
.clause-pair strong { display: block; color: var(--navy-deep); font-size: 10.5px; line-height: 1.45; }
.clause-pair strong a { color: inherit; text-decoration: none; }
.clause-pair strong a:hover { text-decoration: underline; }
.clause-pair p { margin: 5px 0 0; color: var(--muted); font-size: 9px; line-height: 1.55; }
.clause-pair em { display: block; margin-top: 5px; color: var(--muted); font-size: 8.5px; font-style: normal; }
.clause-file { margin-top: 4px !important; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* The citation — the address this page exists to confirm, and the only mono on the screen. It is a
   field, because a proposal Staff cannot correct is a verdict, and this screen does not give those. */
.clause-cite { width: 100%; margin-top: 4px; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 6px 8px; background: var(--panel); color: var(--navy-deep); font-family: var(--font-mono), monospace; font-size: 10.5px; letter-spacing: -0.01em; }
.clause-cite::placeholder { color: #9aa3b2; font-family: var(--font-sans), "Open Sans", sans-serif; }
.clause-cite[readonly] { background: var(--surface-soft); color: var(--muted); }
.clause-pair b { color: var(--green); font-size: 8.5px; }
.clause-none { color: var(--amber); }
.clause-pair > article:first-child > .button { margin-top: 7px; }
.clause-row.unmatched .clause-pair { background: var(--amber-bg); }

/* The confirmation after applying — a result, not a refusal. */
.clause-applied { margin-bottom: 14px; border: 1px solid rgba(35, 97, 72, 0.22); border-radius: var(--radius-lg); padding: 12px 16px; background: var(--green-bg); }
.clause-applied strong { color: var(--ink); font-size: 11px; }
.clause-applied p { margin: 4px 0 0; color: var(--muted); font-size: 9px; line-height: 1.6; }

.clause-apply-bar { position: sticky; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--panel); box-shadow: var(--shadow); }
.clause-apply-bar p { max-width: 68ch; margin: 0; color: var(--muted); font-size: 9px; line-height: 1.6; }

@media (max-width: 860px) {
  .clause-head { display: none; }
  .clause-pair small { display: block; }
  .clause-pair strong { margin-top: 4px; }
  .clause-pair { grid-template-columns: minmax(0, 1fr); }
  .clause-pair > article:first-child { border-right: 0; border-bottom: 1px solid var(--line); }
  .clause-apply-bar { align-items: stretch; flex-direction: column; }
  .clause-source-bar.empty { grid-template-columns: minmax(0, 1fr); }
  .clause-source-bar.empty > .button { grid-column: 1; grid-row: auto; justify-self: start; }
}

/* --- One card for the next step (owner request, 16 Sep 2026) ------------------------------------
   Replaces four blocks that each answered "what do I do now": the next-step banner, the draft half
   of the board's stage note, the validation list and the submit block. Own names, because no
   prototype component had this shape. */
.checklist-submit-card { display: grid; gap: 11px; padding: 15px 20px; border-top: 1px solid var(--line); background: var(--surface-soft); }
.checklist-submit-card.attention { background: #fff8f8; }
.checklist-submit-head { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 11px; align-items: start; }
.checklist-submit-head > span:first-child { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; background: var(--navy); color: #fff; font-size: 11px; font-weight: 850; }
.checklist-submit-card.attention .checklist-submit-head > span:first-child { background: var(--red); }
.checklist-submit-head > span:last-child { display: grid; gap: 4px; min-width: 0; }
.checklist-submit-head small { color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; }
.checklist-submit-head strong { color: var(--ink); font-size: 15px; }
.checklist-submit-head p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.checklist-issue-list { border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--panel); }
.checklist-issue-list > summary { display: flex; align-items: center; justify-content: space-between; padding: 9px 12px; color: var(--navy); cursor: pointer; font-size: 11px; font-weight: 700; list-style: none; }
.checklist-issue-list > summary::-webkit-details-marker { display: none; }
.checklist-issue-list[open] > summary { border-bottom: 1px solid var(--line-soft); }
.checklist-issue-list .checklist-validation-panel { padding: 11px 12px; border-bottom: 0; background: transparent; }
.checklist-issue-list .checklist-validation-panel > div { padding-left: 0; }
.checklist-submit-actions { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.checklist-submit-note { color: var(--muted); font-size: 10px; line-height: 1.6; }
/* The row carries its own flag now that the list is a disclosure. */
.reference-missing-tag { border: 1px solid #efc3cc; border-radius: 999px; padding: 1px 7px; background: var(--red-bg); color: var(--red); font-size: 8px; font-style: normal; font-weight: 800; }
/* Akurasi design §5 (25 Sep 2026): a Staff row the reading could not pair is flagged, never
   deleted. Amber, not red — it is a question for Staff, not a defect. Same pill as the
   reference-missing tag so the two read as one family. */
.reference-flag-tag { border: 1px solid color-mix(in srgb, var(--amber) 45%, white); border-radius: 999px; padding: 1px 7px; background: var(--amber-bg); color: var(--amber); font-size: 8px; font-style: normal; font-weight: 800; }

/* --- The board as a verification ledger (owner review, 16 Sep 2026) ----------------------------
   While a checklist is under review, a reviewing role's row carries the customer clause instead
   of Staff's execution line, in the same mono address form the clause page uses — what Staff
   filled in and what the Reviewer verifies share one shape. */
.row-clause { font-family: var(--font-mono), monospace; letter-spacing: -0.01em; }
.requirement-summary > small .row-clause { color: var(--navy-deep); }
.row-clause.none { color: var(--amber); font-family: var(--font-sans), "Open Sans", sans-serif; }
/* A status mark for a reader who cannot change it: same look, no button affordance. */
.status-button.static { cursor: default; }

/* Stage 2 (port copy — no prototype component): the AI reader's markers on preview rows. */
.reader-ai-badge {
  display: inline-block; padding: 1px 7px; border: 1px solid var(--navy); border-radius: 4px;
  font-size: 10px; font-weight: 700; letter-spacing: .02em; line-height: 16px; color: var(--navy);
  white-space: nowrap;
}
.reader-ai-badge.corroborated { border-color: var(--green); color: var(--green); }
.reader-ai-badge.required { border-color: var(--line); color: var(--muted); }
/* Roadmap 2.1: whether the model's quote was found in the document (partials/_grounding_badge.html). */
.grounding-badge {
  display: inline-block; margin-left: 4px; padding: 1px 7px; border: 1px solid var(--line); border-radius: 4px;
  font-size: 10px; font-style: normal; font-weight: 700; line-height: 16px; white-space: nowrap;
}
.grounding-badge.verified { border-color: var(--green); color: var(--green); }
.grounding-badge.missing { border-color: color-mix(in srgb, var(--amber) 45%, white); background: var(--amber-bg); color: var(--amber); }
.grounding-quote { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; font-style: italic; }
/* Same specificity as the grid rule at :366 and later in the file, so the read-only row is a flex
   line; a looser selector lost to the grid and the name landed in the 20px checkbox column. */
.reader-results > .reader-unmatched > .reader-result-header { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 12px 14px; min-height: 0; cursor: default; }
.reader-results > .reader-unmatched > .reader-result-header:hover { background: transparent; }
.reader-results > .reader-unmatched > .reader-result-header strong { font-weight: 600; font-size: 12px; }
.reader-results > .reader-unmatched > .reader-result-header em { color: var(--muted); font-size: 11px; font-style: normal; }
/* A section's detail is a sentence now (views/tenders.py: GAP_GROUPS); pcc.css:8244 sets every
   small under .checklist-gap-analysis header in 10px uppercase, which a sentence cannot wear. */
.checklist-gap-analysis .manual-gap-group > header small { color: var(--muted); font-size: 11px; font-weight: 400; letter-spacing: 0; text-transform: none; line-height: 1.45; }

/* Jalur B's "what may be missing" page (owner, 15 Oct 2026). A section is a heading with its
   count, not a boxed banner between boxed cards: the cards are the content, the heading only
   names them. Position numbers mean nothing inside a section, so they go. Each candidate card is
   a toggle: it answers on press, its checked state is the accent language (1px border + soft
   coloured shadow), and an unticked one steps back instead of shouting. */
.reader-results.jalur-b { gap: 10px; }
.reader-results.jalur-b > .manual-gap-group { border: 0; border-radius: 0; background: transparent; box-shadow: none; overflow: visible; margin-top: 14px; }
.reader-results.jalur-b > .manual-gap-group:first-child { margin-top: 0; }
.reader-results.jalur-b > .manual-gap-group > header { align-items: baseline; border: 0; background: transparent; padding: 0 17px 6px; }
.reader-results.jalur-b > .manual-gap-group > header strong { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; color: var(--ink); }
.reader-results.jalur-b > .manual-gap-group > header > b { font-size: 11px; font-weight: 700; padding: 3px 9px; border: 1px solid var(--line); border-radius: 999px; background: #fff; white-space: nowrap; }
.reader-results.jalur-b > .reader-result-item > .reader-result-header { grid-template-columns: 22px minmax(0, 1fr) auto; gap: 10px 14px; padding: 14px 16px; }
.reader-results.jalur-b > .reader-result-item > .reader-result-header > b { display: none; }
.reader-results.jalur-b > .reader-result-item > .reader-result-header > input { width: 20px; height: 20px; margin-top: 0; }
.reader-results.jalur-b .reader-row-title > strong { font-size: 14px; font-weight: 600; letter-spacing: -0.005em; }
.reader-results.jalur-b .reader-row-title > small { font-size: 12px; }
/* "Is it really missing?" — the nearest checklist rows under each candidate, or the plain answer. */
.reader-results.jalur-b .reader-row-title > .reader-row-similar { display: block; -webkit-line-clamp: unset; color: #9a5b0f; font-weight: 600; }
.reader-results.jalur-b .reader-row-meta > em { font-size: 11px; padding: 3px 8px; border: 1px solid var(--line-soft); border-radius: 999px; background: var(--surface-soft); font-variant-numeric: tabular-nums; }
.reader-results.jalur-b > .reader-result-item { border-radius: 12px; transition: background 120ms ease-out, border-color 120ms ease-out, box-shadow 120ms ease-out, transform 100ms ease-out; }
.reader-results.jalur-b > .reader-result-item:has(> .reader-result-header > input:checked) { border-color: color-mix(in srgb, var(--navy) 35%, var(--line)); box-shadow: 0 2px 10px color-mix(in srgb, var(--navy) 18%, transparent); }
.reader-results.jalur-b > .reader-result-item:hover { background: var(--surface-soft); }
.reader-results.jalur-b > .reader-result-item:active { transform: scale(0.995); }
.reader-results.jalur-b > .reader-result-item:has(> .reader-result-header > input:not(:checked)) { box-shadow: none; opacity: 0.72; }
.reader-results.jalur-b > .reader-result-item:has(> .reader-result-header > input:focus-visible) { outline: 2px solid var(--navy); outline-offset: 1px; }
.reader-results.jalur-b > .reader-result-item > .reader-result-header > input:focus-visible { outline: none; }
/* A candidate nothing paired is a decision, not a toggle (owner, 1 Nov 2026): the name on top,
   then the same three answers on every card as one segmented control — the chosen one is a white
   segment with the accent border and shadow. "Sama dengan butir Anda" opens the row picker under
   it, the nearest row already picked; "Abaikan" makes the card step back.
   Spacing (owner UAT, same day — "the padding"): 16px around the card, 4px inside the text group,
   14px from the text to the answers, 10px from the answers to the picker. The track is a fill,
   not a second border (10px radius, 3px inset, so the 7px segment is concentric), its three
   segments are equal width, and the picker row takes the control's width. */
.reader-results.jalur-b > .reader-decision > .reader-result-header { grid-template-columns: minmax(0, 1fr) auto; cursor: default; padding: 16px 16px 0; }
.reader-results.jalur-b > .reader-decision .reader-row-title { gap: 4px; }
.reader-results.jalur-b > .reader-decision:hover { background: #fff; }
.reader-results.jalur-b > .reader-decision:active { transform: none; }
.reader-choices { display: grid; gap: 10px; width: fit-content; max-width: 100%; min-width: 0; margin: 0; border: 0; padding: 14px 16px 16px; }
.reader-choice-group { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 2px; max-width: 100%; padding: 3px; border-radius: 10px; background: color-mix(in srgb, var(--navy) 7%, #fff); }
.reader-choice-group > label { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 32px; padding: 6px 16px; border: 1px solid transparent; border-radius: 7px; white-space: nowrap; color: var(--muted); font-size: 12.5px; font-weight: 600; cursor: pointer; transition: color 120ms ease-out, background 120ms ease-out; }
.reader-choice-group > label:hover { color: var(--ink); }
.reader-choice-group > label:has(input:checked) { border-color: var(--line); background: #fff; color: var(--navy); box-shadow: 0 2px 10px color-mix(in srgb, var(--navy) 18%, transparent); }
.reader-choice-group > label:has(input:focus-visible) { outline: 2px solid var(--navy); outline-offset: 1px; }
.reader-choice-group input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.reader-pair-pick { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12.5px; }
.reader-pair-pick > span { flex: 0 0 auto; }
/* width 0 + flex: the select fills the row without its longest option widening the control. */
.reader-pair-pick select { flex: 1 1 auto; width: 0; min-width: 0; min-height: 34px; border: 1px solid var(--line); border-radius: 8px; padding: 5px 10px; background: #fff; color: var(--ink); font: inherit; }
.reader-choices:not(:has(input[value="pair"]:checked)) > .reader-pair-pick { display: none; }
.reader-results.jalur-b > .reader-decision:has(input[value="skip"]:checked) { border-style: dashed; background: #f7f7f6; box-shadow: none; }
.reader-results.jalur-b > .reader-decision:has(input[value="skip"]:checked) .reader-row-title { opacity: 0.6; }
.intake-review .reader-import-status:has(#reader-decision-summary) { padding-left: 17px; font-size: 12.5px; font-weight: 500; }
#reader-decision-summary b { color: var(--ink); font-variant-numeric: tabular-nums; }
.reader-results.jalur-b > .reader-unmatched { border-radius: 12px; }
.reader-results.jalur-b > .reader-unmatched > .reader-result-header { padding: 12px 16px; }
.reader-results.jalur-b > .reader-unmatched > .reader-result-header strong { font-size: 13px; }
/* The paired rows, folded: a quiet line, not a section — nothing to decide here. */
.reader-paired { margin-top: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-soft); }
.reader-paired > summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 16px; cursor: pointer; list-style: none; }
.reader-paired > summary::-webkit-details-marker { display: none; }
.reader-paired > summary > span { display: grid; gap: 2px; min-width: 0; }
.reader-paired > summary strong { font-size: 13px; font-weight: 600; color: var(--ink); }
.reader-paired > summary small { font-size: 11.5px; color: var(--muted); line-height: 1.45; }
/* Own chevron: pcc.css's .caret is drawn for the topbar switcher and carries its own rotate. */
.reader-paired-caret { flex: 0 0 auto; width: 8px; height: 8px; margin: 0 6px 4px 0; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform 120ms ease-out; }
.reader-paired[open] > summary .reader-paired-caret { transform: rotate(225deg); margin: 4px 6px 0 0; }
.reader-paired > summary:focus-visible { outline: 2px solid var(--navy); outline-offset: 1px; border-radius: 12px; }
.reader-paired > ul { margin: 0; padding: 0 16px 12px; list-style: none; display: grid; gap: 6px; }
.reader-paired > ul > li { display: grid; gap: 1px; font-size: 12.5px; }
.reader-paired > ul > li > strong { font-weight: 600; color: var(--ink); }
.reader-paired > ul > li > small { font-size: 11.5px; color: var(--muted); }
@media (prefers-reduced-motion: reduce) {
  .reader-results.jalur-b > .reader-result-item, .reader-paired-caret { transition: none; }
  .reader-results.jalur-b > .reader-result-item:active { transform: none; }
}
@media (max-width: 640px) {
  .reader-results.jalur-b > .reader-result-item > .reader-result-header { grid-template-columns: 22px minmax(0, 1fr); }
  .reader-results.jalur-b .reader-row-meta { grid-column: 2; justify-content: flex-start; }
  /* A decision has no tick column: title and tags take the full width. */
  .reader-results.jalur-b > .reader-decision > .reader-result-header { grid-template-columns: minmax(0, 1fr); }
  .reader-results.jalur-b > .reader-decision .reader-row-meta { grid-column: 1; }
  .reader-choices { width: auto; }
  .reader-choice-group { display: flex; flex-wrap: wrap; width: 100%; }
  .reader-choice-group > label { white-space: normal; }
  .reader-pair-pick { flex-wrap: wrap; }
  .reader-pair-pick select { flex-basis: 100%; }
  .reader-choice-group > label { flex: 1 1 auto; justify-content: center; }
}
/* The model's caveats about the whole reading: a quiet aside in the same voice as the gap checks
   (flat white card, 1px line), not a shadowed panel of its own. */
.reader-ai-notes {
  display: grid; gap: 6px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff;
}
.reader-ai-notes > small { color: var(--navy); font-size: 9px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.reader-ai-notes ul { margin: 0; padding-left: 16px; list-style: disc; }
.reader-ai-notes li { color: var(--ink); font-size: 12px; line-height: 1.5; }
.reader-ai-notes li + li { margin-top: 3px; }

/* The materials section, shared by the creation page and the intake panel's recovery state. */
.intake-files { display: grid; gap: 8px; }
.intake-files > .compact-upload + .intake-files-note { margin: 0 0 14px; color: var(--muted); font-size: 13px; line-height: 1.5; }
/* The tender/PQ word inside the shared partial. port.css:804-805 scopes the existing pair to
   `.tender-intake-form`, so the same spans rendered anywhere else show BOTH words ("Dokumen
   tenderPQ customer"). Two sources decide it: on the creation page the radio on the same form,
   through :has(); in the intake panel the tender's stored type, which Task 4 puts on the form as
   `work-tender` / `work-pq`. */
.intake-files i { font-style: normal; }
.intake-files .for-pq,
form:has([name="work_type"][value="pq"]:checked) .intake-files .for-tender,
.work-pq .intake-files .for-tender { display: none; }
form:has([name="work_type"][value="pq"]:checked) .intake-files .for-pq,
.work-pq .intake-files .for-pq { display: inline; }

/* --- AI tokens (spec 2026-10-01-mcp-masukan-design.md) ----------------------------------------- */
/* Not a prototype screen: fresh names. The secret box takes the accent language — one 1px border
   and a soft green shadow — because it is the one thing on the page to act on now. */
.ai-token-page { display: grid; gap: 16px; max-width: 920px; }
.ai-token-page h1 { margin: 0; color: var(--navy-deep); font-size: 22px; }
.ai-token-secret { display: grid; gap: 8px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: 0 2px 10px color-mix(in srgb, var(--green) 30%, transparent); }
.ai-token-secret h2 { margin: 6px 0 0; color: var(--navy-deep); font-size: 14px; font-weight: 700; }
.ai-token-secret p { margin: 0; font-size: 12px; line-height: 1.65; overflow-wrap: anywhere; }
.ai-token-secret pre { margin: 0; padding: 10px 12px; border-radius: var(--radius-md); background: var(--canvas); font-family: var(--font-mono); font-size: 12px; white-space: pre-wrap; overflow-wrap: anywhere; }
/* `.password-form` is the ancestor the prototype's password field takes its input box from (pcc.css:7321);
   the flex row below overrides its grid. */
.ai-token-form { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; }
.ai-token-form label { flex: 1 1 240px; }
.ai-token-scroll { overflow-x: auto; }
.ai-token-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.ai-token-table caption { padding-bottom: 8px; color: var(--navy-deep); font-weight: 700; text-align: left; }
.ai-token-table th, .ai-token-table td { padding: 8px; border-bottom: 1px solid var(--line-soft); text-align: left; vertical-align: middle; }
.ai-token-table form { margin: 0; }

/* --- Feedback thread (spec 2026-10-01-mcp-masukan-design.md, decision 13) ---------------------- */
/* Functional first; the layout is the next stage's UI/UX work. */
.feedback-thread { display: grid; gap: 10px; margin-top: 12px; }
.feedback-thread ol { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.feedback-comment { padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); }
.feedback-comment small { color: var(--muted); font-size: 11px; }
/* Scoped under .feedback-history: pcc.css's `.feedback-history article p` (9.5px, pre-wrap) outranks a
   bare `.feedback-comment p`, which left the body smaller than its own meta line. */
.feedback-history .feedback-comment p { margin: 4px 0 0; font-size: 13px; }
/* Feedback e3c9ec78: the ticket an Administrator answered since the reporter last looked. */
.feedback-history article header .feedback-new-reply { margin-right: auto; padding: 2px 8px; border: 1px solid var(--blue); border-radius: 999px; background: var(--surface); color: var(--navy); font-size: 10px; font-weight: 800; box-shadow: 0 2px 10px color-mix(in srgb, var(--blue) 30%, transparent); }
.feedback-comment-internal { background: var(--amber-bg); }
.feedback-comment-form { display: grid; gap: 8px; }
.feedback-comment-form label { display: grid; gap: 4px; color: var(--muted); font-size: 12px; font-weight: 700; }
.feedback-comment-form textarea { box-sizing: border-box; width: 100%; min-height: 72px; padding: 8px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); color: var(--ink); font-weight: 400; resize: vertical; }
.feedback-comment-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }

/* --- AI assistant guide (/help/asisten-ai/) --------------------------------------------------- */
/* Not a prototype screen: fresh names. Tables and code reuse the token page's own classes. */
.ai-guide { display: grid; gap: 18px; max-width: 980px; }
.ai-guide h1 { margin: 0; }
.ai-guide h2 { margin: 0 0 8px; color: var(--navy-deep); font-size: 18px; }
.ai-guide h3 { margin: 16px 0 6px; color: var(--navy-deep); font-size: 15px; }
.ai-guide p, .ai-guide li { font-size: 13px; line-height: 1.6; }
.ai-guide-lead { margin: 0; }
.ai-guide-toc { padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface-soft); }
.ai-guide-toc ol { margin: 0; padding-left: 20px; columns: 2 220px; }
.ai-guide-step { display: grid; gap: 6px; padding-top: 14px; border-top: 1px solid var(--line-soft); scroll-margin-top: 80px; }
.ai-guide-step h3 { scroll-margin-top: 80px; }
.ai-guide-substeps { display: grid; gap: 10px; margin: 0; padding-left: 20px; }
.ai-guide-substeps p { margin: 0 0 6px; }
.ai-guide pre { margin: 0; padding: 10px 12px; border-radius: var(--radius-md); background: var(--canvas); font-family: var(--font-mono); font-size: 12px; white-space: pre-wrap; overflow-wrap: anywhere; }
.ai-guide code { font-family: var(--font-mono); font-size: 12px; overflow-wrap: anywhere; }
.ai-guide-note { margin: 0; color: var(--muted); font-size: 12px; }
.ai-guide-prompt { margin: 0; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface-soft); font-size: 13px; line-height: 1.6; }
.ai-guide-shot { margin: 6px 0 0; display: grid; gap: 6px; }
.ai-guide-shot img { max-width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: 0 2px 10px color-mix(in srgb, var(--navy) 12%, transparent); }
.ai-guide-shot figcaption { color: var(--muted); font-size: 12px; }
.feedback-metrics-links { display: inline-flex; flex-wrap: wrap; gap: 12px; }

/* "Lengkapi butir" — one butir per screen (16 Oct 2026). Fresh class names: nothing here comes from
   the prototype. Press feedback on pointer-down, no overshoot, reduced motion honoured. */
.lengkapi { display: grid; gap: 18px; max-width: 760px; }
.lengkapi .page-header h1 { letter-spacing: -0.02em; line-height: 1.15; text-wrap: balance; }
.lengkapi-progress { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.lengkapi-progress > span { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.lengkapi-progress ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.lengkapi-progress a { display: grid; place-items: center; min-width: 30px; height: 30px; padding: 0 8px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--muted); font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums; text-decoration: none; transition: transform 100ms ease-out, background 160ms ease-out, color 160ms ease-out; }
.lengkapi-progress a:active { transform: scale(0.94); }
.lengkapi-progress .current a { border-color: var(--navy); background: var(--navy); color: #fff; box-shadow: 0 2px 10px color-mix(in srgb, var(--navy) 30%, transparent); }
.lengkapi-card { display: grid; gap: 18px; border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 22px 24px; box-shadow: 0 2px 10px color-mix(in srgb, var(--navy) 12%, transparent); }
.lengkapi-card > header { display: grid; gap: 8px; }
.lengkapi-card > header h2 { margin: 0; color: var(--navy-deep); font-size: 17px; letter-spacing: -0.01em; line-height: 1.3; text-wrap: balance; }
.lengkapi-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.lengkapi-card form { display: grid; gap: 20px; }
.lengkapi-group { display: grid; gap: 12px; margin: 0; padding: 0; border: 0; min-width: 0; }
.lengkapi-group > legend { padding: 0; margin-bottom: 4px; color: var(--navy); font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.lengkapi-group label { display: grid; gap: 5px; min-width: 0; }
.lengkapi-group label > span { color: var(--ink); font-size: 12px; font-weight: 600; }
.lengkapi-group label > small, .lengkapi-help { color: var(--muted); font-size: 11px; line-height: 1.5; }
.lengkapi-help { margin: 0; }
.lengkapi-group input, .lengkapi-group select, .lengkapi-group textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; background: #fff; color: var(--ink); font-size: 13px; }
.lengkapi-group textarea { resize: vertical; min-height: 4.5em; }
.lengkapi-group input:user-invalid, .lengkapi-group select:user-invalid { border-color: var(--red, #b42318); }
.lengkapi-row { display: flex; gap: 12px; flex-wrap: wrap; }
.lengkapi-row .grow { flex: 1 1 220px; }
.lengkapi-row .narrow { flex: 0 1 120px; }
.lengkapi-source { display: flex; align-items: center; gap: 14px; border: 1px solid var(--line-soft); border-radius: 8px; background: var(--blue-bg, #f4f7fd); padding: 12px 14px; }
.lengkapi-source > span { display: grid; gap: 3px; min-width: 0; flex: 1; }
.lengkapi-source small { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.lengkapi-source strong { color: var(--navy-deep); font-size: 13px; overflow-wrap: anywhere; }
.lengkapi-source q { color: var(--muted); font-size: 12px; line-height: 1.5; quotes: "\201C" "\201D"; }
.lengkapi-source .button { flex: none; }
.lengkapi-check { display: flex !important; align-items: flex-start; gap: 10px; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; cursor: pointer; transition: border-color 160ms ease-out, box-shadow 160ms ease-out; }
.lengkapi-check input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--navy); }
.lengkapi-check:has(input:checked) { border-color: var(--navy); box-shadow: 0 2px 10px color-mix(in srgb, var(--navy) 30%, transparent); }
.lengkapi-check span { display: grid; gap: 2px; }
.lengkapi-check strong { font-size: 12px; color: var(--ink); }
.lengkapi-check small { color: var(--muted); font-size: 11px; }
.lengkapi-match > header { gap: 6px; }
.lengkapi-page { display: grid; gap: 10px; }
.lengkapi-page > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 6px; border-bottom: 1px solid var(--line-soft); }
.lengkapi-page > header h3 { margin: 0; color: var(--navy); font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.lengkapi-ready { display: grid; gap: 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 14px 16px; transition: border-color 160ms ease-out, box-shadow 160ms ease-out; }
.lengkapi-ready:has(input:checked) { border-color: var(--navy); box-shadow: 0 2px 10px color-mix(in srgb, var(--navy) 30%, transparent); }
.lengkapi-ready-head { display: grid; gap: 2px; }
.lengkapi-ready-head small { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.lengkapi-ready-head strong { color: var(--navy-deep); font-size: 14px; letter-spacing: -0.01em; }
.lengkapi-ready-head span { color: var(--navy); font-size: 12px; font-weight: 600; }
.lengkapi-ready q { display: block; margin: 0; padding: 10px 14px; border-radius: 8px; background: var(--blue-bg, #f4f7fd); color: var(--ink); font-size: 13px; line-height: 1.55; quotes: "\201C" "\201D"; }
.lengkapi-ready-wording { display: grid; gap: 3px; margin: 0; color: var(--ink); font-size: 13px; line-height: 1.55; }
.lengkapi-ready-wording > small { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.lengkapi-ready .lengkapi-check { border-color: transparent; padding: 6px 0 0; }
.lengkapi-ready .lengkapi-check:has(input:checked) { border-color: transparent; box-shadow: none; }
.lengkapi-hints { display: grid; gap: 6px; }
.lengkapi-hints > small { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.lengkapi-hint { display: grid; gap: 2px; text-align: left; border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 8px 12px; cursor: pointer; transition: transform 100ms ease-out, border-color 160ms ease-out; }
.lengkapi-hint:hover { border-color: var(--navy); }
.lengkapi-hint:active { transform: scale(0.985); }
.lengkapi-hint strong { font-size: 12px; color: var(--navy-deep); }
.lengkapi-hint span { font-size: 11px; color: var(--muted); }
.lengkapi-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 4px; }
.lengkapi-actions .button { transition: transform 100ms ease-out; }
.lengkapi-actions .button:active { transform: scale(0.97); }
.lengkapi-pending { display: grid; gap: 6px; margin: 0; padding: 0 0 0 20px; }
.lengkapi-pending a { display: grid; gap: 2px; color: inherit; text-decoration: none; }
.lengkapi-pending strong { font-size: 13px; color: var(--navy-deep); }
.lengkapi-pending small { color: var(--muted); font-size: 11px; }
.lengkapi-done { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--ink); font-size: 14px; }
.lengkapi-done > span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--green, #277452); color: #fff; font-weight: 800; }
@media (prefers-reduced-motion: reduce) {
  .lengkapi-progress a, .lengkapi-hint, .lengkapi-actions .button, .lengkapi-check { transition: none; }
  .lengkapi-progress a:active, .lengkapi-hint:active, .lengkapi-actions .button:active { transform: none; }
}

/* A decision already taken, in place of its form (feedback 1249dc43, 3 Nov 2026). */
.decision-on-record { display: grid; gap: 3px; margin: 0 0 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--green-bg); padding: 12px 14px; box-shadow: 0 2px 10px color-mix(in srgb, var(--green) 30%, transparent); }
.decision-on-record strong { color: var(--navy-deep); font-size: 12px; }
.decision-on-record small { color: var(--muted); font-size: 10px; line-height: 1.5; }

/* Brankas search (feedback 7b5d887a, 3 Nov 2026): the dashboard's search box language, under a
   class of its own. */
.vault-search { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 12px; }
.vault-search > label { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; padding: 7px 11px; background: #fff; }
.vault-search > label:first-of-type { flex: 1 1 260px; }
.vault-search input, .vault-search select { width: 100%; border: 0; background: transparent; color: var(--ink); font-size: 10px; }
.vault-search input:focus-visible, .vault-search select:focus-visible { outline: 2px solid var(--navy); outline-offset: 1px; }

/* Feedback bf60928b (3 Nov 2026): pcc.css keeps the ticket cards two abreast down to 680px, and an
   Administrator's card holds the triage form and the thread, so a half-width window squeezed both.
   A card now takes a column only while it can be 360px wide. */
.feedback-history > div { grid-template-columns: repeat(auto-fill, minmax(min(360px, 100%), 1fr)); }

/* Decided deletion requests fold under the waiting ones on the work desk (feedback c2fefe10). */
.cleanup-history { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 10px; }
.cleanup-history > summary { cursor: pointer; color: var(--muted); font-size: 11px; font-weight: 700; }
.cleanup-history > .cleanup-request-list { margin-top: 10px; }

/* Checklist tiga jalur fase 2: consistency findings on the Addendum & Klarifikasi page
   (partials/findings_section.html). Accents follow the owner's 2–3 Sep 2026 language: one 1px border
   plus a coloured soft shadow, never an edge bar. */
.findings-status { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; justify-content: space-between; margin-bottom: 10px; color: var(--muted); font-size: 12px; }
.findings-status p { margin: 0; }
.findings-status .findings-failed { color: var(--red, #b42318); }
.findings-notes { flex-basis: 100%; margin: 0; padding-left: 18px; font-size: 12px; }
.finding-card { display: grid; gap: 10px; margin-bottom: 10px; border: 1px solid var(--line-soft); border-radius: 6px; background: #fff; padding: 12px 14px; }
.finding-card.high { border-color: color-mix(in srgb, var(--red, #b42318) 45%, white); box-shadow: 0 2px 10px color-mix(in srgb, var(--red, #b42318) 30%, transparent); }
.finding-card.medium { border-color: color-mix(in srgb, var(--amber) 45%, white); box-shadow: 0 2px 10px color-mix(in srgb, var(--amber) 30%, transparent); }
.finding-card > header { display: flex; gap: 10px; justify-content: space-between; align-items: flex-start; }
.finding-card > header strong { display: block; color: var(--navy-deep); font-size: 13px; }
.finding-card > header small { color: var(--muted); font-size: 11px; }
.finding-severity { flex: none; border: 1px solid var(--line); border-radius: 999px; padding: 1px 8px; color: var(--muted); font-size: 10px; }
.finding-card.high .finding-severity { border-color: var(--red, #b42318); color: var(--red, #b42318); }
.finding-sides { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 8px; }
.finding-sides > div { display: grid; gap: 4px; border: 1px solid var(--line-soft); border-radius: 5px; background: #f8fafc; padding: 8px 10px; }
.finding-sides small { color: var(--muted); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.finding-sides p { margin: 0; color: var(--navy-deep); font-size: 12px; }
.finding-sides q { color: var(--muted); font-size: 11px; font-style: italic; }
.finding-sides a { justify-self: start; font-size: 11px; }
.finding-actions { display: grid; gap: 8px; }
.finding-apply { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; }
.finding-apply p { display: grid; gap: 2px; margin: 0; font-size: 12px; }
.finding-apply small { color: var(--muted); font-size: 10px; font-weight: 700; }
.finding-actions details > summary { cursor: pointer; color: var(--navy); font-size: 12px; font-weight: 700; }
.finding-actions details form { display: grid; gap: 6px; margin-top: 6px; }
.finding-actions details label { display: grid; gap: 3px; font-size: 11px; color: var(--muted); }
.finding-actions details form > small { color: var(--muted); font-size: 11px; }
.findings-history ul { display: grid; gap: 6px; margin: 8px 0 0; padding: 0; list-style: none; }
.findings-history li { display: flex; gap: 10px; justify-content: space-between; align-items: center; font-size: 12px; }
.findings-history li small { display: block; color: var(--muted); font-size: 11px; }
.clarification-evidence { margin: 4px 0 0; color: var(--muted); font-size: 11px; font-style: italic; }
.requirement-findings { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
a.reference-flag-tag { text-decoration: none; }
.findings-register > :not(header) { margin-left: 16px; margin-right: 16px; }
.findings-register > .findings-status { margin-top: 12px; }
.findings-register > :last-child { margin-bottom: 16px; }
.finding-actions details input, .finding-actions details textarea { width: 100%; border: 1px solid var(--line); border-radius: 5px; background: #fff; padding: 6px 8px; color: var(--ink, #212121); font: inherit; font-size: 12px; }
.finding-actions details form > button { justify-self: start; }

/* Owner decisions 4 Nov 2026: the model's reading of a butir's evidence (partials/content_check_box.html). */
.content-check-box { display: flex; gap: 12px; justify-content: space-between; align-items: flex-start; margin: 10px 0; border: 1px solid var(--line-soft); border-radius: 6px; background: #fff; padding: 10px 12px; }
.content-check-box > span { display: grid; gap: 3px; }
.content-check-box small { color: var(--muted); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.content-check-box strong { color: var(--navy-deep); font-size: 13px; }
.content-check-box em { color: var(--muted); font-size: 11px; font-style: normal; }
.content-check-box ul { margin: 2px 0 0; padding-left: 16px; font-size: 11px; color: var(--muted); }
.content-check-box.done { border-color: color-mix(in srgb, var(--navy) 35%, white); box-shadow: 0 2px 10px color-mix(in srgb, var(--navy) 18%, transparent); }
.content-check-box.failed, .content-check-box.deferred { border-color: color-mix(in srgb, var(--amber) 45%, white); }
.content-check-box > form { flex: none; }
/* Owner request, 4 Nov 2026: today's AI reading budget and its temporary top-ups. */
.ai-budget-box { display: grid; gap: 8px; margin: 0 0 10px; border: 1px solid color-mix(in srgb, var(--amber) 45%, white); border-radius: 6px; background: var(--amber-bg); padding: 10px 12px; }
.ai-budget-box > span { display: grid; gap: 3px; }
.ai-budget-box small, .ai-budget-requests small { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .03em; }
.ai-budget-box strong { color: var(--navy-deep); font-size: 13px; }
.ai-budget-box em, .ai-budget-request em { color: var(--muted); font-size: 11px; font-style: normal; }
.ai-budget-box form, .ai-budget-request form { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; }
.ai-budget-box label, .ai-budget-request label { display: grid; gap: 3px; font-size: 11px; color: var(--muted); }
.ai-budget-box input, .ai-budget-box select, .ai-budget-request input { border: 1px solid var(--line); border-radius: 5px; background: #fff; padding: 5px 8px; font: inherit; font-size: 12px; }
.ai-budget-box input[name="reason"] { min-width: 240px; }
.ai-budget-request { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; border-top: 1px solid var(--line-soft); padding: 10px 0; }
.ai-budget-request > span { display: grid; gap: 2px; }
.ai-budget-request strong { color: var(--navy-deep); font-size: 13px; }

/* Notifications, phase N1 (docs/superpowers/specs/2026-11-03-notifikasi-design.md). Not a prototype
   screen: fresh names. Unread and urgent take the accent language — a 1px border plus a soft shadow. */
.notif-bell { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; margin-left: auto; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--navy); text-decoration: none; }
.notif-bell:hover { border-color: var(--navy); }
.notif-bell:focus-visible { outline: 2px solid var(--navy); outline-offset: 1px; }
.notif-bell b { position: absolute; top: -4px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--red); color: #fff; font-size: 11px; line-height: 18px; text-align: center; }
.notif-inbox { display: grid; gap: 16px; max-width: 880px; }
.notif-inbox-head { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: flex-end; }
.notif-inbox-head small { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.notif-inbox-head h1 { margin: 2px 0 4px; color: var(--navy-deep); font-size: 22px; }
.notif-inbox-head p { margin: 0; color: var(--muted); font-size: 13px; }
.notif-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.notif-row > a, .notif-row > span { display: grid; gap: 3px; border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 12px 14px; color: inherit; text-decoration: none; }
.notif-row > a:hover { border-color: var(--navy); }
.notif-row > a:focus-visible { outline: 2px solid var(--navy); outline-offset: 1px; }
.notif-row.unread > a { border-color: color-mix(in srgb, var(--navy) 45%, white); box-shadow: 0 2px 10px color-mix(in srgb, var(--navy) 30%, transparent); }
.notif-row.urgent > a { border-color: color-mix(in srgb, var(--red) 45%, white); box-shadow: 0 2px 10px color-mix(in srgb, var(--red) 30%, transparent); }
.notif-row strong { color: var(--navy-deep); font-size: 14px; }
.notif-row.unread strong::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 7px; border-radius: 50%; background: var(--navy); vertical-align: middle; }
.notif-row small { color: var(--ink, #222); font-size: 12px; }
.notif-row time { color: var(--muted); font-size: 11px; }
.notif-row.resolved > span { background: transparent; }
.notif-row.resolved strong { color: var(--muted); font-weight: 600; }
.notif-title { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.notif-urgent { border-radius: 4px; background: var(--red-bg); color: var(--red); padding: 1px 6px; font-size: 10px; font-style: normal; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.notif-tag { border-radius: 4px; background: var(--amber-bg); color: var(--amber); padding: 1px 6px; font-size: 10px; font-style: normal; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.notif-empty { margin: 0; border: 1px dashed var(--line); border-radius: 8px; padding: 18px; color: var(--muted); text-align: center; }
.notif-done summary { cursor: pointer; color: var(--muted); font-size: 13px; font-weight: 600; }
.notif-done .notif-list { margin-top: 8px; }

/* Checklist tiga jalur fase 4: "Minta AI periksa ulang butir ini" (templates/workspace/partials/recheck_panel.html). */
.recheck-page { display: grid; gap: 16px; }
.recheck-head { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-start; justify-content: space-between; }
.recheck-head small { color: var(--navy); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.recheck-head h1 { margin: 2px 0; color: var(--navy-deep); font-size: 22px; }
.recheck-head p { margin: 0; color: var(--muted); font-size: 12px; }
.recheck-panel { display: grid; gap: 12px; }
.recheck-row { display: grid; gap: 4px; border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 12px 14px; }
.recheck-row small { color: var(--muted); font-size: 10px; font-weight: 700; text-transform: uppercase; }
.recheck-row strong { color: var(--navy-deep); font-size: 13px; }
.recheck-row span { color: var(--muted); font-size: 12px; }
.recheck-form { display: grid; gap: 8px; border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 12px 14px; }
.recheck-form label { display: grid; gap: 6px; }
.recheck-form label span { color: var(--navy-deep); font-size: 13px; font-weight: 700; }
.recheck-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 9px 10px; font: inherit; resize: vertical; }
.recheck-form button { justify-self: start; }
.recheck-form small, .recheck-note, .recheck-summary { color: var(--muted); font-size: 12px; margin: 0; }
.recheck-running { margin: 0; border: 1px dashed var(--line); border-radius: 8px; padding: 12px 14px; color: var(--navy); font-size: 13px; }
.requirement-recheck { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 6px 0 0; }
.requirement-recheck small { color: var(--muted); font-size: 11px; }
.lengkapi-recheck { margin-left: auto; }

/* Akses & Peran: the heading note and the create button say what will happen as "Kirim undangan
   email" is ticked or not. CSS only, so the labels are right without JavaScript too. */
.access-panel .when-invite { display: none; }
.access-panel:has(input[name="send_invite"]:checked) .when-invite { display: inline; }
.access-panel:has(input[name="send_invite"]:checked) .when-manual { display: none; }

/* Roadmap 3.1-3.3 (6 Nov 2026): Brankas suggestions used from the row, the picker's search, and
   the mark on documents that answer the butir. */
.vault-suggestion-actions { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0; }
.vault-suggestion-more { margin: 4px 0 0; font-size: 11px; }
.vault-pick-filter { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.vault-pick-filter[hidden] { display: none; }
.vault-pick-filter input { flex: 1 1 160px; min-width: 0; }
.evidence-vault-popover label[hidden] { display: none; }
.vault-pick-match { color: #176b4d; font-weight: 700; }
.vault-pick-empty { margin: 6px 0 0; color: var(--muted); font-size: 11px; }
.vault-pick-warning { color: #a4650c; font-size: 10px; font-style: normal; white-space: normal; }

/* Roadmap 3.4 (6 Nov 2026): Pasang dari Brankas. */
.brankas-massal-list { display: grid; gap: 8px; margin: 12px 0; padding: 0; list-style: none; }
.brankas-massal-list > li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 360px); gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 9px; padding: 10px 12px; background: #fff; }
.brankas-massal-butir { display: grid; gap: 2px; min-width: 0; }
.brankas-massal-butir small { color: var(--muted); font-size: 10px; }
.brankas-massal-butir em { color: var(--muted); font-size: 11px; font-style: normal; }
.brankas-massal-choice select { width: 100%; }
.brankas-massal-none { color: #a4650c; font-size: 11px; }
.brankas-massal-result { border: 1px solid var(--line); border-radius: 9px; padding: 10px 12px; margin-bottom: 10px; }
.brankas-massal-result ul { margin: 6px 0 0; padding-left: 18px; font-size: 12px; }
.brankas-massal-result.done { box-shadow: 0 2px 10px color-mix(in srgb, #176b4d 30%, transparent); }
.brankas-massal-result.refused { box-shadow: 0 2px 10px color-mix(in srgb, #b42338 30%, transparent); }
@media (max-width: 720px) { .brankas-massal-list > li { grid-template-columns: 1fr; } }
.vault-old-versions { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin: 12px 0; background: #fff; }
.vault-old-versions h3 { margin: 0 0 4px; color: var(--navy-deep); font-size: 14px; }
.reader-pair-choices { padding: 8px 0 0; }

/* Owner request 9 Nov 2026: Manager and Direksi decisions in the Review Centre (workspace/decisions.py). */
.decision-return-callout { border: 1px solid #b42338; border-radius: 10px; padding: 10px 12px; background: #fff; box-shadow: 0 2px 10px color-mix(in srgb, #b42338 22%, transparent); }
.decision-return-callout span { display: grid; gap: 3px; }
.decision-return-callout small { color: var(--muted); font-size: 11px; font-weight: 700; }
.decision-return-callout strong { font-size: 14px; color: var(--navy-deep); white-space: pre-line; }
.decision-return-callout em { color: #8a1c2c; font-size: 12px; font-style: normal; }
.decision-return-note { margin: 4px 0 0; font-size: 14px; color: var(--navy-deep); white-space: pre-line; }
.decision-history { border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; background: #fff; }
.decision-history summary { cursor: pointer; font-size: 12px; font-weight: 700; color: var(--navy-deep); }
.decision-history ol { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.decision-history li { border-top: 1px solid var(--line); padding-top: 6px; }
.decision-history li span { display: grid; gap: 2px; }
.decision-history li small { color: var(--muted); font-size: 11px; }
.decision-history li strong { font-size: 12px; }
.decision-history li.changes strong { color: #b42338; }
.decision-history li.approved strong { color: #176b4d; }
.decision-history li em { font-size: 12px; font-style: normal; white-space: pre-line; }

/* Owner decisions 9 Nov 2026: a butir's discussion (workspace/comments.py). */
.butir-replies { list-style: none; margin: 6px 0 0; padding: 0 0 0 10px; display: grid; gap: 6px; border-left: 1px solid var(--line); }
.butir-replies li, .decision-history .butir-replies li { border: 0; padding: 0; }
.butir-replies small { display: block; color: var(--muted); font-size: 11px; font-weight: 700; }
.butir-replies p { margin: 2px 0 0; font-size: 13px; color: var(--navy-deep); }
.butir-replies li.explanation p { color: #176b4d; }
.butir-reply, .butir-ask { margin-top: 6px; }
.butir-reply summary, .butir-ask summary { cursor: pointer; font-size: 12px; font-weight: 700; color: var(--navy); }
.butir-reply form, .butir-ask form, .butir-explain form { display: grid; gap: 6px; margin-top: 6px; }
.butir-reply label, .butir-ask label, .butir-explain label { display: grid; gap: 3px; }
.butir-reply label small, .butir-ask label small, .butir-explain label small { color: var(--muted); font-size: 11px; font-weight: 700; }
.butir-reply textarea, .butir-ask textarea, .butir-explain textarea, .butir-ask select { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 6px 9px; font: inherit; font-size: 13px; background: #fff; }
.butir-reply button, .butir-ask button { justify-self: start; }
.butir-explain { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin: 8px 0; background: #fff; }
.butir-explain form > div { display: flex; flex-wrap: wrap; gap: 8px; }
.butir-questions, .butir-discussion { display: grid; gap: 8px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin: 8px 0; background: #fff; }
.butir-questions > header, .butir-discussion > header { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.butir-questions > header small, .butir-discussion > header small { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.butir-questions > header strong { font-size: 12px; color: var(--navy-deep); }
.butir-questions article, .butir-discussion article { border-top: 1px solid var(--line); padding-top: 8px; display: grid; gap: 4px; }
.butir-questions article header { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.butir-questions article header small, .butir-discussion article > small { color: var(--muted); font-size: 11px; font-weight: 700; }
.butir-questions article header b { font-size: 11px; border: 1px solid var(--line); border-radius: 999px; padding: 1px 8px; white-space: nowrap; }
.butir-questions article.open:not(.answered) header b { color: #a4650c; box-shadow: 0 2px 10px color-mix(in srgb, #a4650c 30%, transparent); }
.butir-questions article.answered header b { color: #176b4d; }
.butir-questions article.closed { opacity: .75; }
.butir-questions article p, .butir-discussion article p { margin: 0; font-size: 13px; color: var(--navy-deep); }
.butir-questions article form { justify-self: start; }
.butir-earlier { display: grid; gap: 3px; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; background: #fff; }
.butir-earlier small { color: var(--muted); font-size: 11px; font-weight: 700; }
.butir-earlier strong { font-size: 13px; color: var(--navy-deep); white-space: pre-line; }

/* Roadmap 3.7 (9 Nov 2026): the date this tender's Brankas documents must be valid on (overview). */
.vault-valid-until { display: grid; gap: 8px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin: 10px 0; background: #fff; }
.vault-valid-until-fact { display: grid; gap: 2px; }
.vault-valid-until-fact small { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.vault-valid-until-fact strong { font-size: 15px; color: var(--navy-deep); }
.vault-valid-until-fact em { color: var(--muted); font-size: 11px; font-style: normal; }
.vault-valid-until-form { display: grid; gap: 6px; }
.vault-valid-until-form label { color: var(--muted); font-size: 11px; }
.vault-valid-until-form > span { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.vault-valid-until-form input[type="date"] { min-height: 32px; border: 1px solid var(--line); border-radius: 8px; padding: 4px 9px; font-size: 12px; background: #fff; }
.vault-valid-until-message { margin: 0; font-size: 12px; color: var(--navy-deep); }
/* Owner decision 12 Nov 2026 (views/tenggat.py): the deadline, its history, and the form that changes it. */
.deadline-change { scroll-margin-top: 120px; display: grid; gap: 8px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin: 10px 0 0; background: #fff; }
.deadline-change-fact { display: grid; gap: 2px; }
.deadline-change-fact small { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.deadline-change-fact strong { font-size: 15px; color: var(--navy-deep); }
.deadline-change-fact em { color: var(--muted); font-size: 11px; font-style: normal; }
.deadline-change-message { margin: 0; font-size: 12px; color: var(--navy-deep); }
.deadline-change details > summary, .deadline-change-edit > summary, .deadline-change-history > summary { cursor: pointer; font-size: 12px; font-weight: 700; color: var(--navy); }
.deadline-change-edit form { display: grid; gap: 8px; margin-top: 8px; }
.deadline-change-field { display: grid; gap: 4px; font-size: 11px; color: var(--muted); }
.deadline-change-field input { min-height: 32px; border: 1px solid var(--line); border-radius: 8px; padding: 4px 9px; font-size: 12px; background: #fff; color: var(--ink); }
.deadline-change-reasons { display: grid; gap: 4px; margin: 0; padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; font-size: 12px; }
.deadline-change-reasons legend { padding: 0 4px; font-size: 11px; color: var(--muted); }
.deadline-change-reasons label { display: flex; gap: 6px; align-items: center; }
.deadline-change-hint { margin: 0; font-size: 11px; color: var(--muted); }
.deadline-change-history ol { margin: 6px 0 0; padding-left: 18px; display: grid; gap: 4px; font-size: 12px; }
.deadline-change-history small { display: block; color: var(--muted); font-size: 11px; }
.deadline-change-panel .deadline-change { margin: 0; border: 0; padding: 0; }
/* Feedback d6e22dc6: the late reason sits under the deadline it ran past. */
.portfolio-table .portfolio-late { color: var(--red); font-weight: 700; }
/* Feedback d091361b: the note the team wrote follows the reason, so "Lainnya" says what it was. */
.portfolio-table .portfolio-late-note { color: var(--ink); font-weight: 400; overflow-wrap: anywhere; }
/* Feedback 72cf5a35: what the latest send left in Google Drive (drive_export.sent_state). */
.portfolio-table .portfolio-drive { font-weight: 700; color: var(--muted); }
.portfolio-table .portfolio-drive.complete { color: var(--green); }
.portfolio-table .portfolio-drive.attention { color: var(--amber); }
/* Owner decision 24 Nov 2026 (feedback 20f4169a, a217131d): a sprint card's own edit and delete. */
.sprint-card-actions { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px; margin-top: 12px; }
.sprint-card-actions .sprint-delete > summary { cursor: pointer; padding: 6px 0; color: var(--red); font-size: 12px; font-weight: 700; }
.sprint-card-actions .sprint-delete form { display: grid; gap: 8px; margin-top: 6px; max-width: 420px; }
.sprint-card-actions .sprint-delete p { margin: 0; font-size: 13px; color: var(--ink); }
.sprint-card > .sprint-create-form { margin-top: 12px; grid-template-columns: minmax(0, 1fr); }
.sprint-card > .sprint-create-form input:not([type="checkbox"]) { width: 100%; min-width: 0; box-sizing: border-box; }
.sprint-card > .login-alert.inline { margin-top: 10px; }
.sprint-card-saved { margin: 10px 0 0; color: var(--green); font-size: 13px; font-weight: 700; }
.learning-late-note { margin: 0 0 10px; padding: 8px 10px; border: 1px solid var(--amber); border-radius: 8px; background: var(--amber-bg); font-size: 12px; color: var(--ink); box-shadow: 0 2px 10px color-mix(in srgb, var(--amber) 30%, transparent); }
.late-reason { display: grid; gap: 8px; margin-top: 4px; padding-top: 10px; border-top: 1px solid var(--line); }
@media (max-width: 760px) { .deadline-change { scroll-margin-top: 230px; } }
.hero-deadline-edit { margin-left: 8px; font-size: 12px; font-weight: 700; color: var(--navy); text-decoration: underline; }
/* UI review 17 Nov 2026 (views/pages.py: HELP_TABS): Bantuan & Masukan as two views a link apart. */
.help-view-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 0 14px; }
.help-view-tabs a { display: grid; gap: 3px; border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; background: #fff; color: var(--muted); text-decoration: none; }
.help-view-tabs a strong { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--navy-deep); font-size: 15px; }
.help-view-tabs a small { font-size: 12px; }
.help-view-tabs a:hover { border-color: var(--navy); }
.help-view-tabs a[aria-current="page"] { border-color: var(--navy); background: var(--blue-bg); box-shadow: 0 2px 10px color-mix(in srgb, var(--navy) 30%, transparent); }
.help-view-tabs a[aria-current="page"] strong { color: var(--navy); }
.help-view-badge { border-radius: 999px; padding: 1px 8px; background: var(--red); color: #fff; font-size: 10px; font-weight: 800; }
#feedback-title { scroll-margin-top: 120px; }
.help-ask { display: grid; gap: 8px; }
.help-ask p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.help-ask .button { justify-self: start; }
.help-release-toggle { margin: 14px 0; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.help-release-toggle > summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 20px; cursor: pointer; list-style: none; }
.help-release-toggle > summary::-webkit-details-marker { display: none; }
.help-release-toggle > summary > span { display: grid; gap: 3px; }
.help-release-toggle > summary small { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.help-release-toggle > summary strong { color: var(--navy-deep); font-size: 13px; }
.help-release-toggle > summary > i { flex: 0 0 auto; width: 9px; height: 9px; transform: rotate(45deg); border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transition: transform .16s ease; }
.help-release-toggle[open] > summary > i { transform: rotate(225deg); }
.help-release-toggle > .help-release-panel { margin: 0; border: 0; box-shadow: none; }
@media (max-width: 760px) {
  .help-view-tabs { grid-template-columns: 1fr 1fr; gap: 6px; }
  .help-view-tabs a { padding: 10px 12px; }
  .help-view-tabs a small { display: none; }
  #feedback-title { scroll-margin-top: 230px; }
  /* Five kind cards stacked one per row cost the form some 370 px on a phone. */
  .feedback-kind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feedback-kind-grid label { min-height: 0; }
}
/* Owner decisions 17 Nov 2026 (views/drive.py): the approved package saved into the customer's Drive folder. */
.drive-export { scroll-margin-top: 120px; display: grid; gap: 10px; }
.drive-export h2 { margin: 4px 0 0; font-size: 18px; }
.drive-export > p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.drive-export form { margin: 0; }
.drive-export-form { display: grid; gap: 6px; }
.drive-export-form label { font-size: 12px; font-weight: 700; color: var(--navy-deep); }
.drive-export-form input { width: 100%; min-width: 0; min-height: 38px; border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; font-size: 13px; background: #fff; color: var(--ink); }
.drive-export-form input:disabled { background: #f4f6fa; color: var(--muted); }
.drive-export-summary a { color: var(--navy); font-weight: 700; overflow-wrap: anywhere; }
.drive-export .lock-note { justify-content: flex-start; margin-top: 0; font-size: 11px; line-height: 1.4; }
.drive-export-note { margin: 0; font-size: 12px; line-height: 1.5; color: var(--muted); }
.drive-export-account strong { color: var(--ink); overflow-wrap: anywhere; }
#decision-refusal { display: grid; gap: 6px; }
.decision-refusal-count { margin: 0; font-size: 12px; line-height: 1.5; color: var(--ink); }
.drive-export-status { display: grid; gap: 8px; border-top: 1px solid var(--line); padding-top: 10px; }
.drive-export-status p { margin: 0; font-size: 12px; line-height: 1.5; }
.drive-export-summary small { display: block; color: var(--muted); font-size: 11px; }
.drive-export-spinner { display: inline-block; width: 11px; height: 11px; margin-right: 6px; border: 2px solid var(--line); border-top-color: var(--navy); border-radius: 50%; vertical-align: -1px; animation: pcc-spin .9s linear infinite; }
.drive-export-failed summary { cursor: pointer; font-size: 12px; font-weight: 700; color: var(--red); }
.drive-export-failed ul { display: grid; gap: 6px; margin: 6px 0 0; padding: 0; list-style: none; font-size: 12px; }
.drive-export-failed li { display: grid; gap: 2px; overflow-wrap: anywhere; }
.drive-export-failed small { color: var(--muted); }
/* The worker's package ZIP (workspace/package_zip.py): its form and status line in "Ekspor final". */
.export-panel form { margin: 0; }
.export-panel form .button { width: 100%; }
.zip-export-note { display: block; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.zip-export-note strong { color: var(--ink); }
.drive-account { display: grid; gap: 12px; max-width: 980px; }
.drive-account h1 { margin: 2px 0 0; font-size: 22px; }
.drive-account > p { margin: 0; line-height: 1.55; }
.drive-account-status span { display: grid; gap: 2px; min-width: 0; }
.drive-account-status small { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.drive-account-status { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.drive-account-status strong { overflow-wrap: anywhere; }
.drive-account-actions { margin: 0; }
.drive-script { width: 100%; min-width: 0; box-sizing: border-box; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; font: 12px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--ink); background: #f8f9fc; resize: vertical; white-space: pre; overflow: auto; }
ul.drive-account-steps { list-style: disc; }
.drive-account-help summary { cursor: pointer; font-weight: 700; color: var(--navy-deep); }
.drive-account .drive-export-form { max-width: 640px; }
.drive-guide-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.drive-guide-table th, .drive-guide-table td { border-bottom: 1px solid var(--line); padding: 8px; text-align: left; vertical-align: top; line-height: 1.5; }
.drive-guide-table thead th { color: var(--muted); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.drive-guide-table td:first-child { width: 36%; }
@media (max-width: 760px) {
  .drive-export { scroll-margin-top: 230px; }
  .drive-guide-table thead { display: none; }
  .drive-guide-table tr, .drive-guide-table td { display: block; width: auto; }
  .drive-guide-table td:first-child { width: auto; border-bottom: 0; padding-bottom: 2px; font-weight: 700; }
}

/* Owner decisions 9 Nov 2026: the Direksi decision page (workspace/views/keputusan_direksi.py). */
.direksi-brief { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; margin: 0 0 16px; }
.direksi-brief > div { border: 1px solid var(--line); border-radius: 9px; padding: 10px 12px; background: #fff; display: grid; gap: 4px; min-width: 0; }
.direksi-brief dt { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.direksi-brief dd { margin: 0; font-size: 13px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.direksi-brief dd small { flex-basis: 100%; color: var(--muted); font-size: 11px; }
.direksi-brief dd ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; font-size: 12px; }
.direksi-brief-wide { grid-column: 1 / -1; }
.direksi-chip { display: inline-block; border: 1px solid var(--line); border-radius: 999px; padding: 1px 9px; font-size: 11px; font-weight: 600; white-space: nowrap; }
.direksi-chip.clean { color: #176b4d; border-color: #176b4d; background: color-mix(in srgb, #176b4d 8%, #fff); }
.direksi-chip.attention { color: #a4650c; border-color: #a4650c; background: color-mix(in srgb, #a4650c 8%, #fff); }
.direksi-chip.spot { color: var(--navy); border-color: var(--navy); background: #fff; }
.direksi-group { display: grid; gap: 6px; margin: 0 0 18px; }
.direksi-group h3 { margin: 0; color: var(--navy-deep); font-size: 15px; }
.direksi-list { display: grid; gap: 8px; margin: 6px 0 12px; padding: 0; list-style: none; }
.direksi-list > li { display: grid; gap: 10px 12px; align-items: center; border: 1px solid var(--line); border-radius: 9px; padding: 10px 12px; background: #fff; }
.direksi-attention { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto; box-shadow: 0 2px 10px color-mix(in srgb, #a4650c 18%, transparent); }
.direksi-clean { grid-template-columns: auto minmax(0, 1fr) auto; }
.direksi-clean.spot { box-shadow: 0 2px 10px color-mix(in srgb, #1f3a68 22%, transparent); }
.direksi-butir { display: grid; gap: 2px; min-width: 0; }
.direksi-butir small { color: var(--muted); font-size: 10px; }
.direksi-butir em { color: var(--muted); font-size: 11px; font-style: normal; overflow-wrap: anywhere; }
.direksi-reasons { margin: 0; padding-left: 18px; display: grid; gap: 3px; font-size: 12px; color: #7a4a06; }
.direksi-pick input { width: 18px; height: 18px; }
.direksi-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.direksi-result { border: 1px solid var(--line); border-radius: 9px; padding: 10px 12px; margin-bottom: 10px; }
.direksi-result ul { margin: 6px 0 0; padding-left: 18px; font-size: 12px; }
.direksi-result.done { box-shadow: 0 2px 10px color-mix(in srgb, #176b4d 30%, transparent); }
.direksi-result.refused { box-shadow: 0 2px 10px color-mix(in srgb, #b42338 30%, transparent); }
@media (max-width: 720px) {
  .direksi-attention, .direksi-clean { grid-template-columns: 1fr; }
  .direksi-clean { grid-template-columns: auto minmax(0, 1fr); }
  .direksi-clean .direksi-actions { grid-column: 1 / -1; justify-content: flex-start; }
}

/* Roadmap 2.7 (6 Nov 2026): candidates Staff left out at the last confirm. */
.ignored-candidates { border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; margin: 0 0 12px; background: #fff; }
.ignored-candidates summary { display: grid; gap: 2px; cursor: pointer; }
.ignored-candidates summary small { color: var(--muted); font-size: 11px; }
.ignored-candidates ul { display: grid; gap: 6px; margin: 10px 0 0; padding-left: 18px; }
.ignored-candidates li { display: grid; gap: 1px; font-size: 12px; }
.ignored-candidates li small, .ignored-candidates li em { color: var(--muted); font-size: 11px; font-style: normal; }
.vault-pick-filter input, .vault-pick-filter select { min-height: 32px; border: 1px solid var(--line); border-radius: 8px; padding: 4px 9px; font-size: 12px; background: #fff; }

/* Tarik untuk diperbaiki (masukan lisan Remboko, 16 Nov 2026): a submitted butir taken back before
   it is repaired. Fresh classes: nothing in pcc.css owns this structure. */
.withdraw-butir { border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; margin: 8px 0; background: #fff; }
.withdraw-butir summary { cursor: pointer; font-size: 12px; font-weight: 700; color: var(--navy-deep); }
.withdraw-butir form { display: grid; gap: 8px; margin-top: 8px; }
.withdraw-butir p { margin: 0; font-size: 12px; color: var(--muted); }
.withdraw-butir label { display: grid; gap: 4px; font-size: 12px; font-weight: 600; }
.withdraw-butir textarea { width: 100%; font: inherit; }
.withdraw-butir button { justify-self: start; }
/* Owner decision 18 Nov 2026: a butir reopened for revision lists what changed since it was unlocked. */
.revision-changes { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 4px; }
.revision-changes li { display: grid; grid-template-columns: minmax(90px, auto) 1fr 1fr; gap: 8px; font-size: 12px; align-items: baseline; }
.revision-changes small { color: var(--muted); font-weight: 700; }
.revision-changes del { color: var(--muted); overflow-wrap: anywhere; }
.revision-changes ins { text-decoration: none; font-weight: 600; overflow-wrap: anywhere; }
@media (max-width: 560px) { .revision-changes li { grid-template-columns: 1fr; gap: 2px; } }
.decision-history li.withdrawn strong { color: var(--navy-deep); }

/* Ticket c4c4a100 (16 Nov 2026): how far the Reviewer is through the attachments, beside "Tandai review selesai". */
.review-preview-progress { margin: 0; color: var(--muted); font-size: 12px; }
.review-preview-progress.done { color: #1f6a4c; }
.review-preview-progress a { color: var(--navy); overflow-wrap: anywhere; }

/* Ticket 9895f387 (16 Nov 2026): a native spreadsheet read in the reader, one <details> per sheet. */
.attachment-viewer-canvas > .sheet-preview { display: grid; width: 100%; gap: 10px; align-self: start; }
.sheet-preview details { border: 1px solid var(--line, #d7ddd9); border-radius: 6px; background: #fff; }
.sheet-preview summary { display: flex; align-items: baseline; gap: 8px; padding: 9px 12px; cursor: pointer; color: var(--ink); font-size: 12px; font-weight: 700; }
.sheet-preview summary em { color: var(--muted); font-weight: 400; }
.sheet-preview summary small { margin-left: auto; color: var(--muted); font-size: 10px; font-weight: 400; }
.sheet-preview-scroll { max-height: 60vh; overflow: auto; border-top: 1px solid var(--line, #d7ddd9); }
.sheet-preview table { border-collapse: collapse; font-size: 11px; font-variant-numeric: tabular-nums; }
.sheet-preview th, .sheet-preview td { padding: 3px 7px; border: 1px solid #e3e7e4; text-align: left; vertical-align: top; white-space: pre-wrap; }
.sheet-preview td { min-width: 60px; max-width: 360px; overflow-wrap: anywhere; color: var(--ink); }
.sheet-preview thead th { position: sticky; top: 0; z-index: 1; background: #f1f4f2; color: var(--muted); font-weight: 600; text-align: center; }
.sheet-preview tbody th { position: sticky; left: 0; background: #f7f9f8; color: var(--muted); font-weight: 600; text-align: right; }
.sheet-preview-note { margin: 0; padding: 8px 12px; color: var(--muted); font-size: 11px; }
.sheet-preview-scroll:focus-visible { outline: 2px solid var(--navy); outline-offset: 1px; }

/* Quality plan Tahap 2 (17 Nov 2026): a Word attachment read in the reader — text and tables, no layout. */
.attachment-viewer-canvas > .docx-preview { width: 100%; max-width: 820px; align-self: start; padding: 24px 28px; border-radius: 4px; background: #fff; color: var(--ink); font-size: 13px; line-height: 1.6; box-shadow: 0 4px 18px rgba(21, 28, 24, 0.1); overflow-wrap: anywhere; }
.docx-preview p { margin: 0 0 8px; }
.docx-preview .docx-heading { margin: 16px 0 8px; font-weight: 700; color: var(--ink); }
.docx-preview .docx-heading.level-1 { font-size: 17px; }
.docx-preview .docx-heading.level-2 { font-size: 15px; }
.docx-preview .docx-heading.level-3, .docx-preview .docx-heading.level-4 { font-size: 13px; }
.docx-preview .docx-item { padding-left: 18px; text-indent: -12px; }
.docx-preview .docx-item::before { content: "•"; display: inline-block; width: 12px; text-indent: 0; color: var(--muted); }
.docx-preview .docx-preview-note { color: var(--muted); font-size: 11px; }
.docx-table { margin: 0 0 12px; overflow-x: auto; }
.docx-table table { border-collapse: collapse; font-size: 12px; }
.docx-table td { padding: 4px 8px; border: 1px solid #d7ddd9; vertical-align: top; min-width: 48px; }
.docx-preview:focus-visible { outline: 2px solid var(--navy); outline-offset: 1px; }
@media (max-width: 760px) { .attachment-viewer-canvas > .docx-preview { padding: 14px; } }

/* Tentang PCC "Pembaruan" (18 Nov 2026): what the bell's "Pembaruan PCC" line announces, the
   viewer's own notes first. Fresh classes; the accent is the one-border-plus-soft-shadow language. */
.about-release { display: grid; gap: 12px; border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; background: #fff; box-shadow: 0 2px 10px color-mix(in srgb, var(--navy) 30%, transparent); scroll-margin-top: 120px; }
.about-release > header { display: flex; align-items: end; justify-content: space-between; gap: 18px; }
.about-release > header span { display: grid; gap: 5px; }
.about-release > header small { color: var(--navy); font-size: 9px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.about-release > header h2 { margin: 0; color: var(--navy-deep); font-size: 18px; line-height: 1.35; }
.about-release > header b { flex: 0 0 auto; border-radius: 999px; padding: 7px 10px; background: #edf3ff; color: var(--navy); font-size: 9px; }
.about-release-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.about-release-list > li { display: grid; gap: 7px; align-content: start; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: #fbfcfe; }
.about-release-list > li.mine { border-color: #b9c9e6; background: #fff; box-shadow: 0 2px 10px color-mix(in srgb, var(--navy) 18%, transparent); }
.about-release-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.about-release-head strong { color: var(--navy-deep); font-size: 13px; line-height: 1.35; }
.about-release-head em { flex: 0 0 auto; border-radius: 999px; padding: 3px 8px; background: #edf3ff; color: var(--navy); font-size: 8.5px; font-style: normal; font-weight: 800; }
.about-release-list p { margin: 0; color: var(--muted); font-size: 10.5px; line-height: 1.6; }
.about-release-where { display: grid; gap: 2px; font-size: 10.5px; }
.about-release-where small { color: var(--muted); font-size: 8.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.about-release-where > span { color: var(--navy-deep); font-weight: 700; }
.about-release-where a { color: var(--navy); font-weight: 700; }
.help-release-where { display: block; margin-top: 4px; color: var(--navy); font-size: 9.5px; font-weight: 700; }
.help-release-more { margin: 0; padding: 0 20px 16px; font-size: 11px; }
.help-release-more a { color: var(--navy); font-weight: 700; }
@media (max-width: 860px) { .about-release-list { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .about-release { padding: 16px; } .about-release > header { align-items: flex-start; flex-direction: column; } .about-release-head { flex-direction: column; gap: 4px; } }
/* A link inside a small note reads as one (owner, 19 Nov 2026: the Google Drive link at the foot of
   Akses & Peran looked like plain text). */
.form-note a { color: var(--navy); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

/* --- Dashboard review (27 Nov 2026) ----------------------------------------------------------- */
/* The page heading is an h1 now (it was the page's first h2, with no h1 above it); same look. */
.portfolio-overview > header h1 { margin: 0; color: var(--navy-deep); font-size: 20px; }
/* The active signal chip wore a 3px bottom bar — the single-edge accent the owner retired
   (2-3 Sep 2026). One uniform 1px edge plus the soft shadow instead, drawn inset so the grid does
   not move; the trial chip keeps its amber. */
.portfolio-signals > a.active { position: relative; z-index: 1; background: #fff; box-shadow: inset 0 0 0 1px var(--navy), 0 2px 10px color-mix(in srgb, var(--navy) 30%, transparent); }
.portfolio-signals > a.trial.active { box-shadow: inset 0 0 0 1px #c5892f, 0 2px 10px color-mix(in srgb, #c5892f 30%, transparent); }
/* Legibility: 8-9 px labels and details were too small to read on the dashboard (Direksi reads it
   on a laptop). 11 px floor for the text people act on. */
.portfolio-signals small, .portfolio-signals em, .portfolio-overview > header p, .portfolio-tools > span,
.portfolio-table > a small, .portfolio-table > a span:nth-child(2) > b, .portfolio-table > a > span:last-child,
.notification-center summary small, .renewal-operations summary small,
.notification-center > div > a small, .notification-center > div > a > em, .notification-center > div > a > b { font-size: 11px; }
.portfolio-table > a strong, .notification-center > div > a strong { font-size: 12.5px; }
.portfolio-overview .portfolio-head > span, .portfolio-overview > header small, .portfolio-overview > header > b,
.sprint-portfolio-monitor .sprint-monitor-list > article > header > span > small,
.operational-insights > header small, .operational-insights > header p, .operational-insights > header > b,
.operational-insights .outcome-kpi-grid small, .operational-insights .outcome-kpi-grid em,
.operational-insights .renewal-operations-grid small, .operational-insights .renewal-operations-grid em,
.operational-insights summary > em,
.sprint-portfolio-monitor > summary small, .sprint-portfolio-monitor .sprint-monitor-tools > span,
.sprint-portfolio-monitor .sprint-monitor-signals small, .sprint-portfolio-monitor .sprint-monitor-signals em,
.sprint-portfolio-monitor .sprint-task-facts small, .sprint-portfolio-monitor .sprint-monitor-detail small,
.sprint-portfolio-monitor .sprint-risk-summary strong, .sprint-portfolio-monitor .sprint-state small, .sprint-portfolio-monitor .sprint-state em,
.sprint-portfolio-monitor .sprint-monitor-list > article > header small,
.sprint-portfolio-monitor .sprint-owner-chips em, .sprint-portfolio-monitor .sprint-run-chips em { font-size: 11px; }
:is(.portfolio-table, .sprint-monitor-list) em.trial-badge { font-size: 9.5px; }
/* Brankas: at desktop width the filter tabs pushed the page 5 px sideways (Staff Perizinan's
   landing page); they wrap above 900 px and scroll inside their strip below it. */
@media (min-width: 901px) { .filter-tabs { flex-wrap: wrap; } }
.portfolio-overview > header > b, .operational-insights > header > b { white-space: nowrap; }
/* The Meja Kerja count, the same number as the menu badge, where the eye lands first. */
.portfolio-queue { display: inline-flex; flex-wrap: wrap; gap: 0 5px; align-items: baseline; justify-self: start; min-width: 0; max-width: 100%; margin-top: 8px; border: 1px solid #c8d5ed; border-radius: 10px; padding: 8px 12px; background: #fff; color: var(--navy); font-size: 13px; font-weight: 700; text-decoration: none; }
a.portfolio-queue:hover { border-color: var(--navy); background: #f7f9fd; }
.portfolio-queue strong { color: var(--navy-deep); }
.portfolio-queue.empty { border-color: var(--line); color: var(--muted); font-weight: 600; }
/* Work desk: distinguish the cross-tender inbox from the selected tender's workspace. */
.desk-page { --desk-muted: #536179; }
.desk-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 16px; }
.desk-heading h1 { margin: 6px 0; font-size: clamp(24px, 3vw, 32px); color: var(--navy); }
.desk-heading p, .desk-tender-context p { margin: 6px 0 0; color: var(--desk-muted); font-size: 14px; line-height: 1.6; }
.desk-shortcuts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.desk-shortcuts a { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--navy); font-size: 14px; font-weight: 700; text-decoration: none; }
.desk-shortcuts a:hover { background: #edf3ff; border-color: var(--navy); }
.desk-guide { margin-bottom: 24px; border: 1px solid var(--line); border-radius: 10px; background: #f6f8fc; color: var(--desk-muted); font-size: 14px; line-height: 1.65; }
.desk-guide summary { padding: 14px 16px; cursor: pointer; color: var(--navy); font-weight: 700; }
.desk-guide ol { padding: 0 24px 0 40px; margin: 0; }
.desk-guide li + li { margin-top: 10px; }
.desk-guide p { margin: 14px 20px; }
.desk-guide a, .desk-search-result a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.desk-page [id] { scroll-margin-top: 90px; }
.desk-page .page-header h2 { margin: 5px 0 8px; color: var(--navy); font-size: 23px; }
.desk-page .page-header p { font-size: 14px; line-height: 1.6; color: var(--desk-muted); }
.desk-page .workbench-summary { flex-shrink: 0; padding: 12px 16px; }
.desk-page .workbench-summary strong { font-size: 18px; }
.desk-page .workbench-summary small { font-size: 12px; }
.desk-page .role-task-list > a { padding: 16px; grid-template-columns: 38px minmax(0, 1fr) 155px 105px; }
.desk-page .role-task-list > a > span { min-width: 0; overflow-wrap: anywhere; }
.desk-page .role-task-list small { font-size: 12px; text-transform: none; letter-spacing: normal; color: var(--desk-muted); }
.desk-page .role-task-list strong { font-size: 15px; line-height: 1.45; }
.desk-page .role-task-list em { font-size: 13px; line-height: 1.5; color: var(--desk-muted); }
.desk-page .role-task-list > a > b { font-size: 13px; }
.desk-page .role-task-rank { font-size: 13px; }
.desk-page .role-task-more > summary { min-height: 44px; padding: 13px 4px; }
.desk-tender-context { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; padding: 20px; margin: 24px 0 18px; background: #f2f5fb; border: 1px solid var(--line); border-radius: 12px; }
.desk-tender-context > div { flex: 1 1 260px; min-width: 0; }
.desk-tender-context h2 { margin: 6px 0; font-size: 20px; color: var(--navy); overflow-wrap: anywhere; }
.desk-tender-picker { flex: 1 1 300px; min-width: 0; max-width: 460px; }
.desk-tender-picker label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 700; }
.desk-tender-picker > div { display: flex; gap: 8px; }
.desk-tender-picker select { flex: 1; min-width: 0; width: 100%; padding: 10px; border: 1px solid var(--line); border-radius: 6px; background: white; color: var(--ink); font: inherit; }
.desk-page .task-search { width: min(440px, 100%); }
.desk-page .task-search input:not([type="hidden"]) { min-width: 0; font-size: 14px; }
.desk-page .task-search .button { flex-shrink: 0; min-height: 44px; }
.desk-page .task-filter-tabs { flex-wrap: wrap; }
.desk-page .task-filter-tabs a { min-height: 44px; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
.desk-page .task-toolbar { flex-wrap: wrap; }
.desk-search-result { font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.desk-page :is(a, button, input, select, summary):focus-visible { outline: 2px solid var(--navy); outline-offset: 1px; box-shadow: none; }
@media (max-width: 760px) {
  .desk-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .desk-page .page-header { align-items: flex-start; flex-wrap: wrap; gap: 12px; }
  .desk-page .role-task-list > a { grid-template-columns: 32px minmax(0, 1fr); gap: 10px; padding: 14px 12px; }
  .desk-page .role-task-rank { width: 30px; height: 30px; }
  .desk-page .role-task-list .task-sla { grid-column: 2; }
  .desk-page .role-task-list > a > b { grid-column: 2; text-align: left; }
  .desk-tender-context { padding: 16px; gap: 14px; }
  .desk-tender-picker { max-width: none; }
}

/* Keep task details readable as well as the inbox, including inherited prototype components. */
.desk-page :is(.sprint-backlog-list, .task-row) strong { font-size: 14px; line-height: 1.5; }
.desk-page :is(.sprint-backlog-list, .task-row) small,
.desk-page .sprint-backlog-list em,
.desk-page .task-status,
.desk-page .task-row-action { font-size: 12px; line-height: 1.5; }
.desk-page :is(.task-focus-card, .task-gate-banner) p { font-size: 14px; line-height: 1.6; }
/* Navigation filters are anchors, so the prototype's button-only styling does not reach them. */
.desk-page .task-filter-tabs a { padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--navy); font-weight: 700; }
.desk-page .task-filter-tabs a[aria-current="true"] { background: var(--navy); border-color: var(--navy); color: white; }
.desk-page .task-filter-tabs a b { padding: 2px 6px; border-radius: 4px; background: #edf3ff; color: var(--navy); }
.desk-page .task-title strong { white-space: normal; overflow-wrap: anywhere; }
@media (min-width: 1121px) {
  .desk-page .task-list-head, .desk-page .task-row { grid-template-columns: minmax(200px, 2fr) minmax(120px, .8fr) 100px 120px 75px; }
}

/* Sprint drafting is one form with three explicit decisions, not an activation action. */
.desk-page .desk-sprint-form { background: #fff; border-radius: 12px; padding: 24px; gap: 24px; }
.desk-sprint-intro h3 { margin: 6px 0; color: var(--navy); font-size: 20px; overflow-wrap: anywhere; }
.desk-sprint-intro p, .desk-sprint-step p, .desk-sprint-next p { margin: 6px 0 0; color: var(--desk-muted); font-size: 14px; line-height: 1.6; }
.desk-page .desk-sprint-step { display: grid; gap: 14px; min-width: 0; }
.desk-sprint-step legend { margin-bottom: 12px; font-size: 16px; font-weight: 750; color: var(--navy); }
.desk-sprint-step label > span { font-size: 14px; font-weight: 650; }
.desk-sprint-step :is(input:not([type="checkbox"]), textarea) { width: 100%; min-width: 0; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); background: #fff; font: inherit; font-size: 15px; }
.desk-sprint-step textarea { resize: vertical; line-height: 1.5; }
.desk-sprint-dates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.desk-page .desk-sprint-form small { color: var(--desk-muted); font-size: 13px; line-height: 1.6; }
.desk-page .desk-sprint-form .sprint-member-options label { min-height: 44px; border-radius: 8px; padding: 10px 14px; }
.desk-sprint-form .sprint-member-options input { width: 18px; height: 18px; accent-color: var(--navy); flex-shrink: 0; }
.desk-sprint-next { padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: #f2f5fb; }
.desk-sprint-next strong { font-size: 14px; color: var(--navy); }
.desk-sprint-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.desk-sprint-actions .button { min-height: 44px; }
@media (max-width: 600px) {
  .desk-page .desk-sprint-form { padding: 16px; }
  .desk-sprint-dates { grid-template-columns: minmax(0, 1fr); }
  .desk-sprint-actions .button { flex: 1 1 auto; }
}
.desk-sprint-form [role="alert"] { font-size: 14px; line-height: 1.5; }
.desk-page .sprint-card > header > span { min-width: 0; overflow-wrap: anywhere; }
.desk-page .sprint-card h3 { font-size: 16px; line-height: 1.5; }
.desk-page .sprint-card-saved { font-size: 14px; line-height: 1.5; }
@media (max-width: 600px) {
  .desk-page .sprint-card > header { flex-direction: column; }
  .desk-page .sprint-card > header > form { width: 100%; }
  .desk-page .sprint-card > header select { flex: 1; min-width: 0; }
}

/* Work desk decisions: statuses describe state; buttons name the next action. */
.desk-section-help { color: var(--desk-muted); font-size: 14px; line-height: 1.6; margin: 12px 0; }
.desk-section-note { border: 1px solid var(--line); border-radius: 8px; padding: 16px; background: #f2f5fb; font-size: 14px; line-height: 1.6; }
.desk-section-note p { margin: 6px 0 0; }
.desk-section-note a { color: var(--navy); text-decoration: underline; }
.desk-task-explanation { display: block; margin: 6px 0; font-size: 13px; line-height: 1.5; color: var(--desk-muted); font-style: normal; }
.desk-page .task-row.owned-by-other { cursor: pointer; opacity: 1; }
.desk-team-load { margin: 12px 0 18px; }
.desk-team-load > summary { min-height: 44px; padding: 12px 0; color: var(--navy); cursor: pointer; font-size: 14px; font-weight: 700; }
.desk-sprint-status { display: inline-flex; align-items: center; padding: 7px 11px; border: 1px solid var(--line); border-radius: 6px; background: #f2f5fb; color: var(--navy); font-size: 13px; font-weight: 700; }
.desk-sprint-status.planned { background: #fff7e8; color: #805100; border-color: #dfc790; }
.desk-sprint-status.active { background: #edf8f1; color: #246340; border-color: #a5cfb5; }
.desk-sprint-status.completed { background: #f1f3f6; color: #536179; }
.desk-sprint-status-actions, .desk-task-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.desk-page .desk-task-actions .button, .desk-page .desk-sprint-status-actions .button { min-height: 44px; }
.desk-allocation-details > summary { padding: 14px 0; cursor: pointer; color: var(--navy); font-size: 14px; font-weight: 700; }
.desk-page .sprint-card [role="alert"], .desk-page .sprint-backlog-list [role="alert"] { font-size: 14px; line-height: 1.5; }
.desk-action-notice { padding: 14px 16px; border: 1px solid #a5cfb5; border-radius: 8px; background: #edf8f1; color: #246340; font-size: 14px; line-height: 1.6; }
.desk-page .ai-budget-request form { flex: 1 1 350px; min-width: 0; }
.desk-page .ai-budget-request > span { flex: 1 1 260px; min-width: 0; overflow-wrap: anywhere; }
.desk-page .ai-budget-request form > :is([role="alert"], small, label) { flex-basis: 100%; }
.desk-page .ai-budget-request :is(small, em, label) { font-size: 13px; line-height: 1.5; }
.desk-page .ai-budget-request input { width: 100%; min-width: 0; min-height: 44px; font-size: 14px; }
.desk-page .ai-budget-request .button { min-height: 44px; }
.desk-page .cleanup-request-card form small { font-size: 13px; line-height: 1.5; }
.desk-page .cleanup-request-card :is([role="alert"], textarea) { font-size: 14px; line-height: 1.5; }
.desk-page .desk-sprint-status-actions { margin: 14px 0; }
.desk-page .desk-sprint-status-actions p { margin: 0 0 10px; color: var(--desk-muted); font-size: 14px; line-height: 1.6; }
.desk-sprint-finish { width: 100%; }
.desk-sprint-finish > summary { width: fit-content; cursor: pointer; }
.desk-sprint-finish > form { margin-top: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: #f6f8fc; }
.desk-page .sprint-backlog-list > article { flex-wrap: wrap; }
.desk-page .sprint-backlog-list > article > span { flex: 1 1 230px; }
.desk-page .sprint-backlog-list > article > :is([role="alert"], [role="status"]) { flex-basis: 100%; margin: 8px 0 0; }
.desk-page .desk-task-actions { flex: 1 1 220px; justify-content: flex-end; }
.desk-page .desk-task-actions > form { display: contents; }
.desk-page .desk-task-actions > .desk-task-explanation { flex-basis: 100%; text-align: left; font-size: 13px; text-transform: none; }
.desk-page .sprint-assignment-table > form > :is([role="alert"], [role="status"]) { grid-column: 1 / -1; }
.desk-allocation-members { min-width: 0; margin: 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.desk-allocation-members legend { margin-bottom: 8px; font-size: 13px; color: var(--desk-muted); }
.desk-allocation-members label { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; font-size: 13px; }
.desk-allocation-members input { width: 18px; height: 18px; accent-color: var(--navy); }
@media (max-width: 760px) {
  .desk-page .sprint-backlog-list > article > span, .desk-page .desk-task-actions { flex-basis: auto; width: 100%; }
  .desk-page .desk-task-actions .button { flex: 1 1 auto; width: auto; }
  .desk-page .desk-sprint-status { align-self: flex-start; }
}
@media (min-width: 801px) {
  .desk-page .sprint-assignment-table > form { grid-template-columns: minmax(0, 1fr) minmax(120px, .6fr) minmax(0, 1fr) auto; }
}
.desk-page .sprint-assignment-table > form > span, .desk-page .sprint-assignment-table select { min-width: 0; overflow-wrap: anywhere; }
.desk-page .sprint-assignment-table select { width: 100%; min-height: 44px; }
.desk-allocation-members label span { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .desk-page [id] { scroll-margin-top: 180px; }
}
/* Keep row feedback inside the task card instead of an implicit grid column. */
.desk-page .sprint-backlog-list > article { display: flex; min-width: 0; }
.desk-page .sprint-backlog-list > article > :is([role="alert"], [role="status"]) { grid-column: 1 / -1; min-width: 0; width: 100%; white-space: normal; overflow-wrap: anywhere; }
.desk-page .ai-budget-request [role="alert"] { font-size: 14px; line-height: 1.5; }
.desk-page .cleanup-request-copy :is(small, p, em) { font-size: 13px; line-height: 1.5; }
.desk-page .cleanup-request-title strong { font-size: 15px; line-height: 1.5; }
@media (max-width: 760px) {
  .desk-page .sprint-backlog-list > article { flex-wrap: nowrap; }
  .desk-page .sprint-backlog-list > article > :is([role="alert"], [role="status"]) { flex: 0 0 auto; }
}
/* The sprint monitor folds again, as the prototype's did; its toggle says what it does. */
.sprint-monitor-head > span:last-child em::before { content: "Lihat rincian sprint ▾"; }
.sprint-portfolio-monitor[open] .sprint-monitor-head > span:last-child em::before { content: "Tutup rincian sprint ▴"; }
.sprint-portfolio-monitor > summary:hover h2 { text-decoration: underline; text-underline-offset: 3px; }
/* Tenders with no sprint: one line each instead of a card of zeros. */
.sprint-unscheduled { border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 12px 16px; }
.sprint-unscheduled h3 { display: flex; align-items: baseline; gap: 8px; margin: 0 0 6px; color: var(--navy-deep); font-size: 14px; }
.sprint-unscheduled h3 span { color: var(--muted); font-size: 12px; font-weight: 600; }
.sprint-unscheduled ul { display: grid; margin: 0; padding: 0; list-style: none; }
.sprint-unscheduled li { display: flex; align-items: center; justify-content: space-between; gap: 14px; border-top: 1px solid var(--line); padding: 9px 0; }
.sprint-unscheduled li:first-child { border-top: 0; }
.sprint-unscheduled li > span { display: grid; gap: 2px; min-width: 0; }
.sprint-unscheduled li strong { overflow-wrap: anywhere; color: var(--ink); font-size: 12.5px; }
.sprint-unscheduled li small { color: var(--muted); font-size: 11px; }
.sprint-unscheduled li .trial-badge { justify-self: start; font-size: 9.5px; }
.sprint-unscheduled li > a { flex: 0 0 auto; color: var(--navy); font-size: 12px; font-weight: 800; text-decoration: none; }
.sprint-unscheduled li > a:hover { text-decoration: underline; }
@media (max-width: 560px) { .sprint-unscheduled li { flex-direction: column; align-items: flex-start; gap: 4px; } }
/* Narrow screens: each Dashboard row becomes a card — name, then stage and progress, then the next
   action — instead of a 920 px table scrolled sideways inside its box, where the stage and the
   action were off screen. */
@media (max-width: 900px) {
  .portfolio-table { overflow: visible; mask-image: none; }
  .portfolio-head { display: none; }
  .portfolio-table > a { min-width: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; align-items: start; padding: 14px 16px; }
  .portfolio-table > a > span:first-child, .portfolio-table > a > span:last-child { grid-column: 1 / -1; }
  .portfolio-table > a > span:last-child { text-align: left; }
}
@media (max-width: 560px) {
  .portfolio-table > a { grid-template-columns: minmax(0, 1fr); }
}
/* The Manager's other open work (Brankas renewals, late reasons), linked beside the queue count. */
.portfolio-followups { display: grid; gap: 4px; margin: 6px 0 0; padding: 0; list-style: none; }
.portfolio-followups a { color: #8a5816; font-size: 12.5px; font-weight: 700; overflow-wrap: anywhere; text-decoration: none; }
.portfolio-followups a:hover { text-decoration: underline; }
/* "Terlambat" is its own chip now (Dashboard review, 27 Nov 2026): red numeral, the uniform-edge
   accent when chosen. */
.portfolio-signals > a.late strong { color: var(--red); }
.portfolio-signals > a.late.active { box-shadow: inset 0 0 0 1px var(--red), 0 2px 10px color-mix(in srgb, var(--red) 30%, transparent); }
/* Nine chips since "Terlambat" (eight for an Administrator): one row on a desktop instead of a
   ragged 8 + 1; the 2-up fold on phones is unchanged. */
.portfolio-signals { grid-template-columns: repeat(auto-fit, minmax(112px, 1fr)); }
.portfolio-signals > a { padding: 13px 12px; }
