.ol-line,.ol-cutoff-row{display:grid;grid-template-columns:minmax(120px,1fr) minmax(110px,160px) auto;gap:10px;align-items:end;padding:10px 0;border-bottom:1px solid var(--line)}
.ol-line label,.ol-cutoff-row label{display:grid;gap:5px;font-size:12px}
.ol-line input,.ol-cutoff-row input,.ol-cutoff-row select{min-height:42px;max-width:100%;border:1px solid var(--line);border-radius:9px;padding:7px;background:var(--paper)}
.ol-cutoff-row{grid-template-columns:repeat(5,minmax(95px,1fr)) auto}
.ol-line .ol-unavailable{display:block;color:#8b4a1d;font-weight:600}
#olEdit h3{margin-top:24px}#olPreview{margin:18px 0}
#olMove [hidden]{display:none}
.ol-request{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}
.ol-compare{width:100%;border-collapse:collapse;margin:10px 0}
.ol-compare th,.ol-compare td{text-align:left;vertical-align:top;padding:7px 8px;border-bottom:1px solid var(--line);overflow-wrap:anywhere}
.ol-compare thead th{font-size:12px;font-weight:600}
.ol-compare tbody th{font-weight:600;white-space:nowrap;overflow-wrap:normal}
.ol-compare .ol-changed td:last-child{font-weight:700}
.ol-difference{margin:6px 0 14px}
.ol-warnings,.ol-lines-changed{margin:8px 0 14px;padding-left:1.2rem}
.ol-warnings li,.ol-lines-changed li{margin:6px 0}
@media(max-width:760px){.ol-request{grid-template-columns:1fr}.ol-compare tbody th{white-space:normal}.ol-line{grid-template-columns:1fr 94px auto}.ol-cutoff-row{grid-template-columns:repeat(2,minmax(0,1fr))}.ol-cutoff-row [data-ol=remove-cutoff]{grid-column:1/-1}}
/* Avvisi: one card per notice, the order it is about and the way to open it; the number to read beside the menu entry. */
.ol-filter{display:flex;gap:6px;margin:10px 0 14px;flex-wrap:wrap}
.ol-filter button{flex:1 1 140px;min-height:48px;border:1px solid #cfd6c4;border-radius:12px;background:#fffefa;color:#253c19;font:600 14px/1.1 system-ui,sans-serif}
.ol-filter button[aria-pressed=true]{background:#253c19;border-color:#253c19;color:#fff}
.ol-notice{align-items:flex-start}
.ol-notice-text{display:grid;gap:4px;flex:1 1 260px;min-width:0;overflow-wrap:anywhere}
.ol-notice-text small{display:block;color:var(--muted);line-height:1.45}
.ol-notice .app-actions{margin-top:0;flex:0 1 auto}
.ol-notice .app-actions a,.ol-notice .app-actions button{display:inline-flex;align-items:center;justify-content:center}
.nav-count{display:inline-block;min-width:18px;padding:1px 6px;border-radius:10px;background:#b36b36;color:#fff;font-weight:700;text-align:center;text-decoration:none}
.nav-count span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

/* The role a person works in, for whoever has more than one (Gabriele, 11/10/2026). */
.nav-role{display:inline-flex;align-items:center;gap:6px;font-size:14px;white-space:nowrap}
.nav-role select{min-height:36px;border-radius:10px;border:1px solid #cfd6c4;background:#fffefa;padding:0 8px;font:inherit}
/* Importi e motivi delle differenze (Gabriele, risposte 17 e 22 dell'11/10/2026). */
.amount-why { margin: .5rem 0; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.amount-why summary { padding: .55rem .75rem; cursor: pointer; min-height: 44px; display: flex; align-items: center; flex-wrap: wrap; gap: .3rem; }
.amount-why summary s { color: var(--muted); }
.amount-why .amount-why-group { display: flex; justify-content: space-between; gap: 1rem; margin: .4rem .75rem 0; font-weight: 600; color: var(--ink, #273121); }
.amount-why-cta { color: var(--olive); text-decoration: underline; text-underline-offset: 3px; }
.amount-why[open] .amount-why-cta { text-decoration: none; }
.amount-why ul { list-style: none; margin: 0 .75rem .55rem; padding: 0; }
.amount-why li { display: flex; justify-content: space-between; gap: 1rem; padding: .3rem 0; border-top: 1px solid var(--line); font-size: .92em; overflow-wrap: anywhere; }
.amount-why li strong, .amount-why .amount-why-group strong { white-space: nowrap; }
/* «Guarda come» del responsabile (Gabriele, risposta 2): sempre visibile mentre si guarda, sola lettura. */
.nav-viewas { background: #fff0e6; color: #8a3f1d; border: 1px solid #dcac8e; border-radius: 10px; padding: 4px 9px; font-size: 13px; }
.nav-viewas-end, .nav-viewas-open { min-height: 36px; }
.nav-viewas-end { font-weight: 700; }
.viewas-people { display: grid; gap: 8px; margin-top: 12px; }
.viewas-people button { min-height: 44px; text-align: left; }
