/* Specialist workspace — builds on brand.css */
@import url("brand.202e9a63aa08.css");

.wrap { padding: 26px 28px; max-width: 1240px; }
.head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-bottom: 22px; }
.progress { text-align: right; }

/* Matrix -------------------------------------------------------------- */
.matrix td.sc, .matrix th.sc { width: 280px; }
.matrix td.sc { font-weight: 600; color: var(--navy); }
.matrix .cell { text-align: center; width: 92px; padding: 5px; }

.chip {
  border: 1px solid var(--line); background: #fff; border-radius: 4px;
  min-width: 40px; height: 28px; cursor: pointer; font-size: 11px;
  font-weight: 700; color: var(--muted); padding: 0 8px;
  letter-spacing: .04em; transition: none;
}
.chip:hover { border-color: var(--blue); }
.s-accepted   { background: var(--ok-pale);   border-color: #bcd8ad; color: var(--ok); }
.s-received   { background: var(--blue-pale); border-color: #aecbe4; color: var(--blue-dark); }
.s-requested,
.s-promised   { background: var(--warn-pale); border-color: #e6cd93; color: var(--warn); }
.s-rejected,
.s-refused    { background: var(--bad-pale);  border-color: #e3b4b4; color: var(--bad); }
.s-na         { background: #f5f6f7; color: var(--grey); border-color: var(--grey-light); }
.s-waived     { background: #f5f6f7; color: var(--grey); }

.legend { margin-top: 16px; display: flex; gap: 12px; align-items: center; }

/* Drawer -------------------------------------------------------------- */
.split { display: flex; align-items: flex-start; }
.split .wrap { flex: 1; min-width: 0; }
.drawer {
  width: 400px; min-height: calc(100vh - 56px); background: #fff;
  border-left: 1px solid var(--line); position: sticky; top: 0;
  box-shadow: -1px 0 3px rgba(23,56,79,.05);
}
.drawer h2 { margin-top: 0; }
.pad { padding: 22px; }
.row { display: flex; gap: 6px; margin-bottom: 10px; }
.row input[type=text], .row select { flex: 1; min-width: 0; }
.ghost { width: 100%; margin-bottom: 14px; }
.upload { margin-top: 10px; display: flex; gap: 6px; }
.upload input[type=file] { flex: 1; min-width: 0; font-size: 13px; }
.doc { padding: 8px 0; border-bottom: 1px solid var(--line); }
.doc a { display: block; font-weight: 600; }
.act { padding: 9px 0; border-bottom: 1px solid var(--line); }
.act:last-child { border-bottom: none; }

/* Document rows in the drawer — filename above, meta and remove below */
.doc { padding: 9px 0; border-bottom: 1px solid var(--line); }
.doc:last-of-type { border-bottom: none; }
.doc a { display: block; font-weight: 600; word-break: break-word; }
.docmeta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 2px; }
.docmeta form { margin: 0; }
button.link-danger {
  background: none; border: none; padding: 0; font-size: 12px;
  color: var(--bad); font-weight: 600; cursor: pointer; text-transform: uppercase;
  letter-spacing: .05em;
}
button.link-danger:hover { background: none; text-decoration: underline; }

/* Review queue */
.reviewhead { display: flex; justify-content: space-between; align-items: flex-start;
              gap: 16px; margin-bottom: 10px; }
.reviewactions { display: flex; gap: 10px; align-items: flex-start;
                 margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.reviewactions form { margin: 0; }
.rejectform { display: flex; gap: 6px; flex: 1; }
.rejectform input[type=text] { flex: 1; min-width: 0; }

/* Equipment register */
.prod { border-top: 1px solid var(--line); padding: 12px 0 4px; }
.prodhead { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.prodhead form { margin: 0; }
.asset { display: flex; justify-content: space-between; align-items: center;
         gap: 12px; font-size: 13px; color: var(--muted);
         padding: 5px 0 5px 14px; border-left: 2px solid var(--grey-light); margin: 6px 0; }
.asset form { margin: 0; }
.assetform { margin: 8px 0 4px 14px; }
.prodform { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.prodform input, .assetform input { flex: 1; min-width: 0; }

/* Warranty claims */
.triage input[type=text] { flex: 1; min-width: 0; }
.notify { display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.notify input { width: auto; }

.preview-btn {
  display: inline-block; background: #17384f; color: #fff; text-decoration: none;
  font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 6px;
  transition: background .12s;
}
.preview-btn:hover { background: #0b72b5; }
