/* Dense workbench, scoped to GU quote rows. */
.po-shell{font-size:var(--font-piccolo);min-width:0}.po-shell button,.po-shell input,.po-shell select,.po-shell textarea{font:inherit}.po-shell button{padding:3px 6px;border:1px solid #a8c5d5;border-radius:3px;background:#ecf5fa;color:#174a69;white-space:nowrap}.po-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px;background:#d7eaf3;border:1px solid #abc9da}.po-heading strong{font-size:var(--font-base)}.po-heading small{display:block;margin-top:4px}.po-tools{display:flex;align-items:end;flex-wrap:wrap;gap:12px;padding:7px 0}.po-tools label{display:flex;gap:5px;align-items:center}.po-tools input,.po-tools select{padding:4px;border:1px solid #a9c4d3;max-width:200px}.po-scroll{height:calc(100vh - 270px);min-height:300px;overflow:auto;border:1px solid #aac7d7}.po-table{border-collapse:separate;border-spacing:0;width:100%;min-width:1220px;table-layout:fixed;font-size:var(--font-piccolo)}.po-table th{background:#cfe7f2;position:sticky;top:0;z-index:2;padding:6px 4px;text-align:left}.po-table th:nth-child(1){width:40px}.po-table th:nth-child(2){width:120px}.po-table th:nth-child(3){width:145px}.po-table th:nth-child(4){width:120px}.po-table th:nth-child(5){width:300px}.po-table th:nth-child(6){width:42px}.po-table th:nth-child(7){width:60px}.po-table th:nth-child(8){width:78px}.po-table th:nth-child(9),.po-table th:nth-child(10){width:52px}.po-table th:nth-child(11){width:86px}.po-table th:nth-child(12){width:150px}.po-table td{padding:3px;border-bottom:1px solid #cadbe5;vertical-align:top;background:#f8fafc;overflow-wrap:anywhere}.po-table tr:nth-child(even) td{background:#edf2f5}.po-table input:not([type=hidden]),.po-table textarea{padding:2px 3px;border:1px solid transparent;background:transparent;width:100%;min-width:0;min-height:21px;border-radius:2px;color:#153d59;line-height:1.2}.po-table textarea{resize:vertical;height:32px}.po-table input:focus,.po-table textarea:focus{background:#fff;border-color:#1685b5;outline:1px solid #1685b5}.po-table input[readonly]{color:#577180}.po-table tr.po-selected td,.po-table tr:focus-within td{background:#c9eaf4}.po-table .po-zone th{position:static;background:#d5dde0;border-bottom:1px solid #92b8ca;padding:5px 6px;font-size:var(--font-piccolo);white-space:normal}.po-zone span{float:right}.po-table [hidden]{display:none}.po-commands form{display:inline}.po-commands button{margin:1px}.po-table details{font-size:var(--font-piccolo)}.po-totals{position:sticky;bottom:0;background:#d7eaf3;border:1px solid #aac7d7;padding:9px;text-align:right;font-size:var(--font-base);font-weight:700;z-index:3}.po-document-actions{margin:8px 0} [data-po-message]:not(:empty){padding:8px;background:#fff0c9;color:#6d4405;margin:5px 0}
#po-catalog{width:95vw;max-width:1500px;height:85vh;border:1px solid #7fa6bd;border-radius:6px;padding:12px;font-size:var(--font-lista);color:#153d59}#po-catalog::backdrop{background:#09243b70}#po-catalog header,#po-catalog nav,#po-catalog footer{display:flex;gap:10px;align-items:center;margin:4px 0 10px}#po-catalog header button{margin-left:auto}#po-catalog [data-po-search]{display:flex;gap:8px}#po-catalog [data-po-search] input{flex:1;padding:6px;border:1px solid #abc7d6}#po-catalog [data-po-results]{max-height:calc(85vh - 200px);overflow:auto;margin-top:8px}#po-catalog table{width:100%;border-collapse:collapse;font-size:var(--font-piccolo)}#po-catalog th{position:sticky;top:0;background:#d5eaf4;text-align:left}#po-catalog th,#po-catalog td{padding:5px;border-bottom:1px solid #c5d8e4}#po-catalog tbody tr:nth-child(even){background:#f0f5f8}#po-catalog button{font:inherit;padding:4px 8px;cursor:pointer}.ana-fold{border:1px solid #c7d9e4;border-radius:7px;margin:8px 0;padding:0;background:white}.ana-fold>summary{padding:12px;cursor:pointer;font-size:var(--font-base);font-weight:700;color:#174e6e;list-style-position:inside}.ana-fold>summary small{font-size:var(--font-piccolo);font-weight:400;margin-left:8px;color:#61768b}.ana-fold>.ana-fold-body{padding:0 12px 12px}.ana-fold .panel{box-shadow:none;margin:0;padding:10px}.gw94-portals{display:block!important}.ana-fold .ana-form-panel{margin:0}.ana-fold .section-title{display:none}
@media(max-width:700px){.po-heading strong{font-size:var(--font-lista)}.po-scroll{height:65vh}.po-zone span{float:none;display:block}.po-tools{gap:6px}.po-totals{font-size:var(--font-piccolo)}.po-shell .po-heading{flex-wrap:wrap}}

.po-mode .main{padding:12px 16px}.po-mode .dev-banner{padding:6px 10px;font-size:var(--font-piccolo);margin-bottom:8px}.po-mode .topbar{padding:8px 16px}.po-mode .topbar h1{font-size:var(--font-titolo)}.po-scroll{height:calc(100vh - 245px)}.po-table td:last-child{position:sticky;right:0;z-index:1;border-left:1px solid #b8cfdc}.po-table thead th:last-child{right:0;z-index:3}.ana-fold fieldset{min-width:0}.ana-fold .ana-form-grid{gap:10px}
.po-totals{position:relative;bottom:auto}.po-scroll{height:calc(100vh - 310px)}
@media(max-width:700px){.po-scroll{height:55vh}}

/* Scheda anagrafica compatta; nessuna modifica ai dati delle sedi. */
.gw94-workspace{font-size:var(--font-piccolo)}.gw94-workspace .gw94-client-header{padding:8px 10px;gap:8px}.gw94-workspace .gw94-client-title h2{font-size:var(--font-titolo);margin:3px 0 5px}.gw94-workspace .gw94-fiscal{margin-top:4px;font-size:var(--font-piccolo)}.gw94-workspace .gw94-head-actions .btn-link{padding:5px 7px;font-size:var(--font-piccolo)}.gw94-workspace .gw94-kpis{gap:5px;margin:5px 0}.gw94-workspace .gw94-kpis>div{padding:6px 8px;gap:6px}.gw94-workspace .gw94-kpis b{font-size:var(--font-medio)}.gw94-workspace .ana-fold{margin:5px 0;border-radius:5px}.gw94-workspace .ana-fold>summary{padding:7px 9px;font-size:var(--font-lista);line-height:1.3}.gw94-workspace .ana-fold>summary small{font-size:var(--font-piccolo)}.gw94-workspace .ana-fold-body{padding:0 6px 6px}.gw94-workspace .ana-fold .panel,.gw94-workspace .gw94-panel{padding:6px;min-height:0;border-radius:5px}.gw94-workspace .panel p{margin:5px 0;font-size:var(--font-piccolo);line-height:1.35}.gw94-workspace .form-stack{gap:7px}.gw94-workspace .form-stack label{font-size:var(--font-piccolo);gap:4px}.gw94-workspace .form-stack input:not([type=checkbox]),.gw94-workspace .form-stack select,.gw94-workspace .form-stack textarea{padding:5px 7px;font-size:var(--font-lista);line-height:1.3;border-radius:5px;min-width:0}.gw94-workspace .form-stack textarea{min-height:42px}.gw94-workspace .form-stack fieldset{padding:7px;margin:4px 0}.gw94-workspace .ana-actions{margin:7px 0;gap:7px}.gw94-workspace button,.gw94-workspace .btn-link{font-size:var(--font-piccolo);padding:5px 8px}.gw94-workspace .gw94-panel-head{margin-bottom:4px}.gw94-workspace .gw94-table th,.gw94-workspace .gw94-table td{padding:4px 5px;font-size:var(--font-piccolo)}.gw94-workspace .gw94-focus{padding:7px 9px;margin-bottom:5px}.gw94-workspace .gw94-focus h3{font-size:var(--font-medio);margin:3px 0}.gw94-workspace .gw94-focus h3 span{font-size:var(--font-lista)}.gw94-workspace .ana-branches-fold{position:sticky;top:8px;align-self:start;min-width:0;margin:0}.gw94-workspace .ana-branches-fold .gw94-branches{position:static;border:0;padding:0;max-height:65vh}.gw94-workspace .gw94-branch{padding:6px;gap:2px;font-size:var(--font-piccolo)}.gw94-workspace .gw94-search{padding:6px}.gw94-workspace .ana-compact-fields{gap:5px 10px}.gw94-workspace .ana-compact-fields p{margin:3px 0 5px}
@media(min-width:1100px){.gw94-workspace .ana-form-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px 10px}}
@media(max-width:700px){.gw94-workspace .ana-branches-fold{position:static}.gw94-workspace .ana-form-grid{grid-template-columns:1fr}.gw94-workspace .gw94-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}

.gw-company-reference small{display:block;font-size:var(--font-piccolo);font-weight:400;color:#657f91;margin-top:2px}.gw-company-reference strong{font-size:var(--font-piccolo)}.gw94-workspace .gw94-table td:nth-child(2){max-width:none;white-space:nowrap}

/* Collaudo 019: same dense grid, selection, finishes and provenance. */
.po-table{min-width:1555px}.po-table th:nth-child(1){width:30px}.po-table th:nth-child(2){width:45px}.po-table th:nth-child(3){width:100px}.po-table th:nth-child(4){width:155px}.po-table th:nth-child(5){width:110px}.po-table th:nth-child(6){width:280px}.po-table th:nth-child(7){width:135px}.po-table th:nth-child(8){width:40px}.po-table th:nth-child(9){width:55px}.po-table th:nth-child(10){width:80px}.po-table th:nth-child(11){width:50px}.po-table th:nth-child(12){width:45px}.po-table th:nth-child(13){width:85px}.po-table th:nth-child(14){width:95px}.po-table th:nth-child(15){width:150px}.po-table input[type=checkbox]{width:15px;min-height:15px;cursor:pointer}.po-finiture input{display:block}.po-autori{font-size:var(--font-piccolo);color:#536c7d}.po-bulk{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:7px;background:#e5eff5;border:1px solid #bed1df;margin-bottom:6px}.po-bulk label{display:flex;align-items:center;gap:4px}.po-bulk input{font:inherit;border:1px solid #aec6d7;padding:4px;max-width:130px}.po-bulk input[name=bulk_sconto]{max-width:55px}.po-catalog-rule{font-size:var(--font-piccolo);margin:7px 0}
