/* Scoped typography: the guide form is one scrollable, readable modal. */
#shipment-modal .shipment-step{display:block!important;margin-bottom:20px;padding:20px;border:1px solid #e5ebf0;border-radius:14px;background:var(--tblr-bg-surface,#fff)}
#shipment-modal .modal-body{background:var(--tblr-bg-surface-secondary,#f6f8fb);padding:22px}#shipment-modal .modal-dialog{max-width:1160px}#shipment-modal .form-label,#shipment-edit-modal .form-label{font-size:13px;font-weight:600;line-height:1.5}#shipment-modal .form-control,#shipment-modal .form-select,#shipment-edit-modal .form-control{font-size:14px;line-height:1.5}#shipment-modal .form-hint,#shipment-modal small,#shipment-edit-modal small{font-size:12px;line-height:1.55}.guide-section-title{display:flex;gap:10px;align-items:center;font-size:15px;margin:0 0 20px}.guide-section-title span{font-size:11px;color:#d96320;background:#fff0e6;padding:7px;border-radius:9px}.shipment-view-btn.btn-link{text-decoration:none;font-size:inherit}.shipment-view-btn.btn-link:hover{text-decoration:underline;color:#d66b28}.guide-logistics-card{border:1px solid #e2e9f0;background:#f7f9fc;padding:15px;border-radius:12px;margin:16px 0}.oglobo-evidence-grid img,.oglobo-evidence-grid video{width:100%;max-height:200px;object-fit:contain;border-radius:9px;background:#f3f5f7}.workflow-warning-icon{height:48px;width:48px;background:#fff0da;color:#b56407;border-radius:50%;display:grid;place-items:center;font-size:30px;font-weight:700;margin-bottom:18px}#oglobo-warning-modal .modal-content{border-radius:18px}#oglobo-warning-message{overflow-wrap:anywhere;font-size:15px;line-height:1.6}.module-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px;border:1px solid #e2e9f0;border-radius:18px;background:linear-gradient(115deg,#173d52,#28546b);color:#fff;margin-bottom:20px}.module-hero h1{font-size:25px;margin:6px 0}.module-hero p{margin:0;max-width:620px;color:#d7e4eb;line-height:1.6}.module-hero .page-pretitle{color:#f8bd88;letter-spacing:1.2px}.module-hero-mark{font-size:30px;line-height:1;width:58px;height:58px;display:grid;place-items:center;background:#ffffff16;border:1px solid #ffffff26;border-radius:16px;flex-shrink:0}.module-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 0 22px}.module-stat{padding:18px;background:var(--tblr-bg-surface,#fff);border:1px solid #e2e9f0;border-radius:14px;box-shadow:0 3px 9px #173c5210}.module-stat span{display:block;font-size:12px;color:var(--tblr-secondary,#657b8a);margin-bottom:5px}.module-stat strong{font-size:26px;color:var(--tblr-body-color,#173d52)}.modern-admin .card{border-radius:15px;box-shadow:0 3px 10px #193e5210;border-color:#e3eaf0;margin-bottom:18px}.modern-admin .card-body{padding:22px}.modern-admin .table th{background:var(--tblr-bg-surface-secondary,#f4f7fa);font-size:11px;letter-spacing:.6px;text-transform:uppercase;white-space:nowrap;padding:16px}.modern-admin .table td{padding:15px;vertical-align:middle;max-width:380px;overflow-wrap:anywhere}.modern-admin .form-label{font-size:12px;font-weight:600;display:block}.modern-admin .btn{border-radius:9px;transition:transform .15s,box-shadow .15s}.modern-admin .btn:hover{transform:translateY(-1px);box-shadow:0 4px 10px #193e5220}.modern-admin h2{font-size:18px}.modern-admin h3{font-size:16px}.modern-admin .badge{border-radius:20px;padding:6px 10px}.modern-admin dl{margin-bottom:0}.web-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:20px}.web-toolbar .form-control{max-width:340px}.modern-admin .table tbody tr:hover{background:var(--tblr-bg-surface-secondary,#f8fafc)}.audit-change-table td:nth-child(2){background:#fff7f1}.audit-change-table td:nth-child(3){background:#f0faf5}@media(max-width:767px){.module-hero{padding:20px}.module-hero h1{font-size:21px}.module-hero-mark{display:none}.module-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.module-stat{padding:14px}.module-stat strong{font-size:23px}.modern-admin .card-body{padding:17px}#shipment-modal .modal-body{padding:10px}#shipment-modal .shipment-step{padding:14px;border-radius:11px}#shipment-modal .modal-header h5{font-size:17px}.modern-admin .table td{min-width:110px}.web-toolbar .form-control{max-width:none;width:100%}}

.audit-change-table td:nth-child(2),.audit-change-table td:nth-child(3),.guide-logistics-card{color:#173d52}.modern-admin td img{border-radius:9px;max-width:90px;height:auto}
@media(max-width:767px){#shipment-modal .form-control,#shipment-modal .form-select,#shipment-edit-modal .form-control,#shipment-edit-modal .form-select,.modern-admin .form-control,.modern-admin .form-select{font-size:16px}}

/* Bootstrap button display must respect the session-only link. */
#warning-login-link[hidden]{display:none!important}

/* Compact guide form: plain sections, smaller controls, touch-friendly mobile text. */
#shipment-modal .modal-body{background:var(--tblr-bg-surface,#fff);padding:16px}
#shipment-modal .shipment-step{padding:0 0 12px;margin-bottom:12px;border:0;border-bottom:1px solid #e5ebf0;border-radius:0;background:transparent}
#shipment-modal .oglobo-guide-party-card,#shipment-modal .oglobo-form-section,#shipment-modal .oglobo-service-picker label,#shipment-modal .oglobo-address-option{border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;padding:6px!important}
#shipment-modal .guide-section-title{margin-bottom:10px;font-size:14px}
#shipment-modal .form-control,#shipment-modal .form-select,#shipment-modal .input-group-text{min-height:32px;padding:5px 9px;font-size:13px}
#shipment-modal .form-label{margin-bottom:3px;font-size:12px}
#shipment-modal .row{--tblr-gutter-y:8px;--tblr-gutter-x:12px}
#shipment-modal .oglobo-service-picker small{display:none}
#shipment-modal .oglobo-service-picker{gap:6px}
@media(max-width:767px){#shipment-modal .form-control,#shipment-modal .form-select{font-size:16px;min-height:40px}#shipment-modal .modal-body{padding:12px}}

/* Flat, dense guide editor; scoped to the creation modal. */
#shipment-modal .modal-dialog{max-width:1050px}
#shipment-modal .modal-body{padding:12px 16px}
#shipment-modal .shipment-step{margin-bottom:8px;padding-bottom:8px}
#shipment-modal .guide-party-fields,#shipment-modal .guide-plain-fields,#shipment-modal .guide-inline-fields,#shipment-modal .oglobo-guide-context,#shipment-modal .oglobo-guide-selected,#shipment-modal .oglobo-address-option,#shipment-modal .oglobo-service-picker label,#shipment-modal .oglobo-review-grid>div,#shipment-modal .oglobo-quote-grid>div{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:4px 0!important}
#shipment-modal .guide-inline-fields{border-top:1px solid #e5ebf0!important}
#shipment-modal .oglobo-guide-party-head{padding:0 0 6px;margin-bottom:4px}
#shipment-modal .oglobo-guide-party-kicker,#shipment-modal .oglobo-guide-context-icon,#shipment-modal .oglobo-guide-selected-avatar,#shipment-modal .oglobo-guide-selected-check{display:none}
#shipment-modal .oglobo-guide-context div span{display:none}
#shipment-modal .guide-section-title{margin-bottom:6px}
#shipment-modal .guide-section-title span{background:none;padding:0;border-radius:0}
#shipment-modal .form-control,#shipment-modal .form-select,#shipment-modal .input-group-text{min-height:30px;padding:4px 8px}
#shipment-modal .form-hint,#shipment-modal small{font-size:11px;line-height:1.35}
#shipment-modal .oglobo-guide-parties-grid{gap:16px}
#shipment-modal .mt-3{margin-top:8px!important}#shipment-modal .mt-4{margin-top:12px!important}
@media(max-width:767px){#shipment-modal .form-control,#shipment-modal .form-select{min-height:40px;font-size:16px}#shipment-modal .modal-body{padding:10px}}

/* One compact guide detail card; individual values are plain definition fields. */
#shipment-view-modal .modal-body{padding:14px}
.guide-detail-card{border:1px solid #e2e9ef;border-radius:10px;padding:12px;background:var(--tblr-bg-surface,#fff)}
.guide-detail-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 16px}
.guide-detail-fields>div{border:0!important;border-radius:0!important;background:transparent!important;padding:0!important;min-width:0;box-shadow:none!important}
.guide-detail-fields span{display:block;font-size:11px;color:var(--tblr-secondary,#657b8a)}
.guide-detail-fields strong{display:block;font-size:13px;overflow-wrap:anywhere;line-height:1.4}
.guide-detail-fields small{display:block;font-size:11px;color:var(--tblr-secondary,#657b8a)}
.guide-detail-wide{grid-column:1/-1}
#shipment-view-modal .oglobo-guide-timeline-wrap{margin-top:12px!important}
@media(max-width:600px){.guide-detail-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}

.oglobo-empty-order-row>td{background:#fff6cf!important}.oglobo-empty-order-row:hover>td{background:#ffedaa!important}.oglobo-empty-order-row .text-primary{color:#956000!important}

/* Selected clients: preserve full names and mobile numbers. */
#shipment-modal .oglobo-guide-selected-copy{min-width:0;flex:1}
#shipment-modal .oglobo-guide-selected-copy strong,#shipment-modal .oglobo-guide-selected-copy small{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;max-width:none!important;overflow-wrap:anywhere;display:block}
#shipment-modal .oglobo-guide-selected{min-width:0;width:100%;gap:8px}
.audit-meta-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 22px;margin:0}
.audit-meta-grid>div{min-width:0}.audit-meta-grid dt{font-size:11px;color:#718392;margin-bottom:4px}.audit-meta-grid dd{margin:0;font-size:13px;overflow-wrap:anywhere}
.audit-event-pill{display:inline-flex;align-items:center;gap:7px;padding:6px 10px;border-radius:20px;font-size:12px;font-weight:600}
.audit-event-pill svg{flex-shrink:0}.audit-tone-red{background:#fff0f0;color:#b42332}.audit-tone-green{background:#ecf9f2;color:#157347}.audit-tone-blue{background:#edf4ff;color:#225fa4}.audit-tone-orange{background:#fff5e5;color:#956114}.audit-tone-slate{background:#edf1f5;color:#536778}
.audit-change-table th:nth-child(2),.audit-change-table td:nth-child(2){background:#fff7f2}.audit-change-table th:nth-child(3),.audit-change-table td:nth-child(3){background:#effaf4}
.audit-json-value{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font:12px/1.5 monospace;max-height:280px;overflow:auto}
@media(max-width:800px){.audit-meta-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:450px){.audit-meta-grid{grid-template-columns:1fr}}

#stock-filter-table tr[hidden]{display:none!important}
