/* Scoped to the company interface; client PDFs and public documents are untouched. */
.app-shell .nav-group-label{display:block;padding:17px 14px 5px;color:#a9bed5;font-size:11px;font-weight:700;letter-spacing:.09em;text-transform:uppercase}
.app-shell .sidebar nav a{min-height:44px;display:flex;align-items:center}
.app-shell .sidebar nav a[aria-current="page"]{background:#244564;color:#fff;border-left:3px solid #f4a259;font-weight:700}
.app-shell .simple-section{margin:12px 0;border:1px solid var(--line,#dce3eb);border-radius:14px;background:#fff;min-width:0}
.app-shell .simple-section>summary{padding:18px 20px;cursor:pointer;color:#102a4b;list-style-position:inside}
.app-shell .simple-section>summary strong{font-size:16px}
.app-shell .simple-section>summary span{display:block;font-size:13px;font-weight:400;color:var(--muted,#5c6d80);margin:6px 0 0 18px;line-height:1.5}
.app-shell .simple-section[open]>summary{border-bottom:1px solid var(--line,#dce3eb)}
.app-shell .simple-section> :not(summary){margin:0;padding:20px;border:0;box-shadow:none}
.app-shell #company-settings-form>.simple-section{margin:0}
.app-shell .simple-section .settings-section{width:100%}
.app-shell .quote-steps button{font:inherit;font-size:13px;font-weight:600;border:1px solid var(--line,#dce3eb);border-radius:9px;background:white;color:#40556e;padding:10px 14px;cursor:pointer;min-height:44px}
.app-shell .quote-steps button.active{background:#102a4b;color:white;border-color:#102a4b}
.app-shell :is(button,a,input,select,textarea,summary):focus-visible{outline:3px solid #2879b8;outline-offset:3px}
.app-shell .quote-item-values{gap:12px}
.app-shell .content :is(section,details){scroll-margin-top:85px}
@media(max-width:700px){
 .app-shell .simple-section>summary{padding:16px}
 .app-shell .simple-section> :not(summary){padding:14px}
 .app-shell .quote-steps{display:grid;grid-template-columns:1fr 1fr;gap:7px}
 .app-shell .quote-steps button{width:100%;font-size:12px}
 .app-shell input,.app-shell select,.app-shell textarea{font-size:16px}
 .app-shell .btn{min-height:44px}
 .app-shell .dashboard-quick-create{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .app-shell .dashboard-quick-create strong{font-size:13px}
}
@media print{.app-shell .quote-steps{display:none}}

.app-shell .quote-item-top{grid-template-columns:1fr}
.app-shell .quote-item-values{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:600px){.app-shell .quote-item-values{grid-template-columns:1fr 1fr}.app-shell .quote-item-values>label:last-child{grid-column:1/-1}}

/* Keep every navigation entry reachable on short/mobile viewports. */
.app-shell .sidebar{height:100vh;height:100dvh;box-sizing:border-box;overflow-y:auto;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;padding-bottom:calc(24px + env(safe-area-inset-bottom,0px))}
.app-shell .sidebar>.brand,.app-shell .sidebar>nav,.app-shell .sidebar>.sidebar-bottom{flex-shrink:0}
.app-shell .sidebar>nav{padding-bottom:20px}
.app-shell .sidebar-bottom{margin-top:auto}
