/* Approved interior design. Business forms and output templates retain their behavior. */
:root{--purple:#312580;--purple-dark:#27214b;--purple-pale:#eeebf8;--ink:#292b3e;--muted:#9296ab;--line:#e5e8f0;--bg:#f5f6fa;--radius:12px}
#shell{font-family:Arial,sans-serif;font-size:13px;background:var(--bg)}
#shell .sidebar{width:210px;padding:22px 12px 0;border-color:var(--line)}
#shell .brand{display:flex;justify-content:center;padding:0;width:100%;gap:0}
#shell .brand .sidebar-logo{display:block;width:180px;max-width:100%;height:auto}
#shell .workspace{background:transparent;border:0;border-radius:0;padding:15px 10px 22px;margin:0;font-size:11px;color:#7f8497}
#shell .workspace-tag,#shell .pilot{display:none}
#shell .nav-caption{font-size:10px;letter-spacing:1.1px;padding:0 10px 9px;color:#9397a9}
#shell .nav-item{font-size:13px;line-height:1.55;gap:10px;min-height:42px;padding:12px 11px;margin:3px 0;color:#6f7288;overflow-wrap:anywhere}
#shell .nav-item svg{width:17px;height:17px;flex:none}
#shell .nav-item.active{color:var(--purple);background:var(--purple-pale);font-weight:700}
#shell .nav-item:hover{background:#f5f5fb}
#shell .nav-item.active:hover{background:var(--purple-pale)}
#shell .profile{padding:18px 5px;gap:9px}
#shell .profile strong{font-size:11px}
#shell .profile small{font-size:10px;margin-top:3px}
#shell .avatar{width:34px;height:34px;font-size:11px;flex:none;background:#eeeaf8}
#shell .main{margin-left:210px;width:calc(100% - 210px)}
#shell .topbar{min-height:66px;height:auto;padding:18px 23px;font-size:11px;gap:15px}
#shell .breadcrumb{min-width:0;overflow-wrap:anywhere;line-height:1.6}
#shell .breadcrumb strong{color:#605c80}
#shell #content{padding:28px 22px;min-height:calc(100vh - 115px)}
#shell .page-head{margin-bottom:22px;gap:14px}
#shell .page-head>div{min-width:0}
#shell .page-head .actions{flex-wrap:wrap;max-width:100%}
#shell .page-head .actions .btn{max-width:100%;white-space:normal}
#shell .page-head h1{font-size:25px;font-weight:700;letter-spacing:-.7px;line-height:1.3;margin-bottom:0;overflow-wrap:anywhere}
#shell .page-head p{font-size:12px;margin-top:9px;line-height:1.7}
#shell .eyebrow{font-size:10px;letter-spacing:1.5px;margin-bottom:8px}
#shell .panel{border-radius:12px;border-color:var(--line)}
#shell .panel-heading{padding:18px 18px 12px;gap:10px}
#shell .panel-heading h2{font-size:14px;font-weight:700}
#shell .pill-info{font-size:10px;border-radius:5px;padding:3px 6px}
#shell .tabbar{padding:0 18px;gap:20px}
#shell .tab{font-size:12px;padding:12px 0}
#shell .toolbar{padding:15px 18px;gap:9px;flex-wrap:wrap}
#shell .toolbar .search{max-width:390px;min-width:190px}
#shell .toolbar input,#shell .toolbar select{font-size:12px;border-radius:8px}
#shell .notice{padding:12px 14px;border-radius:9px;font-size:11px;line-height:1.6;margin-bottom:22px;background:#f1eef9;border-color:#e6dff3;color:#7f6d9e}
#shell .notice strong{color:#625580}
#shell .notice svg{flex:none;margin-top:1px}
.btn{border-radius:8px;font-size:11px;padding:9px 12px;min-height:37px}
.btn.primary{box-shadow:0 3px 7px #31258015}
.btn.small{padding:5px 8px;min-height:29px;font-size:11px}
#shell table{font-size:12px}
#shell th{font-size:11px;font-weight:500;letter-spacing:0;background:#f8f9fc;padding:12px 13px;line-height:1.5}
#shell td{padding:13px;min-height:56px;height:56px;line-height:1.55}
#shell .company{font-size:12px;font-weight:500;max-width:260px;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}
#shell .validity-table td:nth-child(2){min-width:220px;max-width:280px}
#shell .row-sub{font-size:11px;line-height:1.5;margin-top:5px}
#shell .price{font-size:13px;font-weight:700;color:var(--purple)}
#shell .badge{font-size:10px;border-radius:5px;padding:4px 7px}
#shell .badge.approved{background:#edf7f2;color:#46876f}
#shell .table-footer{font-size:11px;padding:14px 18px;gap:10px;flex-wrap:wrap}
#shell .validity-table{min-width:1420px}
#shell .validity-table .row-action{display:grid;grid-template-columns:repeat(2,max-content);gap:6px}
#shell .validity-table .row-action .icon-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;width:auto;height:auto;min-height:29px;padding:5px 7px;border:1px solid #dddfea;border-radius:8px;color:#60577e;font-size:11px;white-space:nowrap}
#shell .validity-table .row-action .icon-btn svg{width:14px;height:14px;flex:none}
#shell .validity-table .row-action .icon-btn[data-archive-record]{color:#b04451}
#shell .export-job{padding:20px;gap:15px}
#shell .export-job h3{font-size:13px;font-weight:500}
#shell .export-job p{font-size:11px;line-height:1.7;margin-top:6px}
#shell .settings-card{padding:20px}
#shell .settings-card h2{font-size:14px;margin-bottom:15px}
#shell .settings-card .help,#shell .help{font-size:11px;line-height:1.7}
#shell .settings-grid{gap:16px}
#shell .main-footer{padding:16px 22px;font-size:10px;line-height:1.6;gap:12px;flex-wrap:wrap}
#dialog{font-family:Arial,sans-serif}
#dialog .modal-head{padding:21px 23px}
#dialog .modal-head h2{font-size:20px;line-height:1.3}
#dialog .modal-body{padding:22px}
#dialog .modal-foot{padding:18px 22px;background:#fcfcfe}
#dialog .form-grid{gap:15px}
#dialog label{font-size:11px;line-height:1.6}
#dialog input,#dialog select,#dialog textarea{font-size:12px;border-color:#dde1ec;border-radius:8px}
#dialog .section-label{font-size:10px;letter-spacing:1.2px}
#record-form .form-layout{grid-template-columns:minmax(0,1fr) 180px;gap:22px}
#record-form .attachment-aside{padding-left:18px}
#record-form .attachment{background:#fcfbff;border:1px dashed #dcd4ec;border-radius:9px;padding:13px;margin-bottom:14px}
#record-form .attachment h4{font-size:12px;font-weight:500}
#record-form .help{font-size:11px;line-height:1.7}
#record-form .fare-input-table th,#record-form .fare-input-table td{padding:10px 7px}
@media(max-width:1100px){
 #shell .sidebar{width:210px}
 #shell .main{margin-left:210px;width:calc(100% - 210px)}
 #shell .page-head{flex-wrap:wrap}
}
@media(max-width:800px){#record-form .form-layout{grid-template-columns:1fr}#record-form .attachment-aside{padding-left:0}}
@media(max-width:760px){
 #shell .sidebar{width:65px;padding:18px 6px 0}
 #shell .brand .sidebar-logo{width:46px}
 #shell .main{margin-left:65px;width:calc(100% - 65px)}
 #shell .nav-item{padding:13px 7px;min-height:44px;justify-content:center}
 #shell .topbar{min-height:59px;padding:15px}
 #shell #content{padding:22px 14px}
 #shell .page-head h1{font-size:22px}
 #shell .toolbar{padding:12px;align-items:stretch}
 #shell .toolbar .search{min-width:100%;max-width:none}
 #shell .toolbar select{max-width:100%;width:100%}
 #shell .tabbar{gap:12px;padding:0 12px}
 #shell .main-footer{padding:15px}
 #dialog .modal-head,#dialog .modal-body,#dialog .modal-foot{padding:18px}
 #dialog input,#dialog select,#dialog textarea{font-size:16px}
 #record-form .fare-input-table input{font-size:14px}
}

.summary-searchbar{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:0 20px 16px}.summary-searchbar .search{flex:1 1 300px;min-width:0;max-width:560px}.summary-searchbar input{width:100%;min-width:0}.summary-searchbar .help{margin:0}

#shell .validity-table{min-width:1620px}#shell .validity-table .record-attachment{min-width:128px;max-width:168px;white-space:normal}#shell .validity-table th.record-attachment{line-height:1.5}#shell .validity-table .record-attachment .help{white-space:nowrap}

#shell .validity-table .record-validity-period{min-width:170px;line-height:1.8;white-space:nowrap}
