/* المسح: the scanner */
.sc-cols { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; align-items: start; }
.sc-do, .sc-folder { padding: 0 16px 16px; }
.sc-dev { display: flex; flex-direction: column; gap: 2px; padding: 4px 0 10px; }
.sc-dev b { font-size: 14px; }
.sc-res { margin: 10px 0 0; }
.sc-res b { font-weight: 700; }
.sc-serial { width: 100%; min-width: 160px; }
@media (max-width: 900px) { .sc-cols { grid-template-columns: 1fr; } }

/* the folder row: the path and the button that opens the Mac's own window */
.sc-dirrow { display: flex; gap: 8px; align-items: center }
.sc-dirrow input { flex: 1 1 auto; min-width: 0 }
.sc-dirrow .btn { flex: 0 0 auto; white-space: nowrap }
#view.sc-drop { outline: 2px dashed var(--gold); outline-offset: -8px }

/* «قل عنها»: the officer's own words about a paper, and what the office proposes to do */
.sc-sayrow td { padding: 0 !important; border-bottom: none !important; }
.sc-say { padding: 10px 12px 14px; background: #fbf9f3; border: 1px solid var(--ui-line); border-radius: 8px; margin: 0 0 10px; }
.sc-say .fld { margin-bottom: 8px; }
.sc-understood { padding: 8px 0; line-height: 1.8; }
.sc-understood .banner { margin: 6px 0 0; }
.sc-props { margin: 8px 0; }
.sc-prop { display: flex; gap: 10px; align-items: flex-start; padding: 9px 11px; border: 1px solid var(--ui-line); border-radius: 8px; margin-bottom: 7px; cursor: pointer; background: var(--ui-card); }
.sc-prop:hover { background: var(--ui-cream); }
.sc-prop.money { border-color: var(--ui-gold); }
.sc-prop input[type=checkbox] { margin-top: 3px; }
.sc-prop > div { min-width: 0; flex: 1 1 auto; }
.sc-asks { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; margin-top: 8px; }
.sc-asks .fld { margin: 0; }

/* The second visual review (2026-10-24): the folder card keeps one left edge; on a phone the scanner's buttons stack full width. */
.card.sc-folder > p { padding-inline: 0; }
@media (max-width: 760px) {
  .sc-btns { display: grid; grid-template-columns: 1fr; gap: 8px; }
  .sc-btns > .btn { width: 100%; justify-content: center; }
}
