.type-picker legend small{display:block;font-size:10px;color:#9a8a86;font-weight:400;margin-top:7px}.type-picker input:checked+span:after{content:'✓';font-size:15px}.current-inspector{display:flex;gap:9px;align-items:center;background:#f6eeed;border-radius:7px;padding:14px;color:#8f6d68;font-size:12px;margin-bottom:20px}.current-inspector strong{color:#6f453f;font-weight:550}.current-inspector .icon{width:17px}.current-inspector-compact{display:flex;gap:8px;align-items:center;font-size:13px;color:#6d605c;margin-bottom:16px}.current-inspector-compact .icon{width:15px;height:15px;color:#8f6d68}.current-inspector-compact strong{color:#3d2b27;font-weight:650;margin-left:2px}.field-help-compact{font-size:11px;display:flex;align-items:center;gap:6px;margin-bottom:0}.field-help-compact .icon{width:13px;height:13px;flex:none;color:#8f6d68}.search-input{display:flex;align-items:center;gap:8px;border:1px solid #e5dad8;border-radius:6px;background:white;padding:0 12px;margin-top:8px}.search-input .icon{width:15px;height:15px;color:#a3908c;flex:none}.search-input input{border:0;padding:12px 0;margin:0;background:transparent}.search-input:focus-within{outline:2px solid #a27b84}.required{color:#a3382c;font-weight:650}.draft-banner{display:flex;align-items:center;gap:12px;border:1px solid #e6d8d6;background:#f4ebea;padding:15px 18px;border-radius:8px;color:#8a6a65;font-size:11px;line-height:1.7;margin-bottom:22px}.draft-banner>span{flex:1}.draft-banner .text-button{font-size:11px;color:#63302b}.draft-deadline{display:block;font-size:10px;color:#a08986}.draft-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.draft-card{padding:25px}.draft-card h2{font-size:21px;margin:18px 0 12px}.draft-card>p{font-size:11px;color:#988580;line-height:1.8;margin:8px 0}.draft-card>p .icon{width:13px;height:13px}.draft-card>div{display:flex;justify-content:space-between;align-items:center;margin-top:24px;gap:15px}.danger-text{color:#ae735c}.related-reports{margin:0 0 24px;padding:21px 24px}.related-reports h3{font-size:12px;color:#8b6f6c;margin-bottom:16px}.related-reports>div{display:flex;justify-content:space-between;align-items:center;gap:15px}.related-reports>div>span{font-size:12px;color:#7b524c}.related-reports .badge{margin-left:7px}.sidebar-note{margin-top:20px;margin-bottom:15px;padding:12px}.sidebar-note p{display:none}.sidebar-note>.icon{display:inline-block;width:16px;height:16px;margin:0 5px 0 0}.second{margin-top:22px}.sidebar nav{overflow-y:auto;scrollbar-width:thin}.sidebar-bottom{flex-shrink:0}
@media(max-width:950px){.draft-cards{grid-template-columns:1fr}.related-reports>div{align-items:flex-start;flex-wrap:wrap}}
@media(max-width:650px){.draft-banner{padding:12px;align-items:flex-start;gap:8px;flex-wrap:wrap;font-size:10px}.draft-banner>.icon{width:16px;height:16px}.draft-banner>span{min-width:200px}.draft-banner>.text-button{margin-left:24px}.draft-card{padding:20px}.draft-card h2{font-size:19px}.related-reports{padding:18px}.related-reports .btn{font-size:10px;white-space:normal;text-align:left}.sidebar nav{overflow-y:hidden}.type-picker label>span{font-size:10px}}
@media print{.draft-banner,.related-reports{display:none!important}}
.branch-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 22px;border-bottom:1px solid var(--line)}
.branch-toolbar .search-field{width:min(300px,100%)}
.branch-toolbar .search-field input{width:100%;font-size:12px}
.branch-edit{min-width:40px;min-height:40px}
.user-cards{display:none}
.sidebar-password-action{display:flex;align-items:center;gap:8px;width:100%;min-height:42px;padding:9px 10px;text-align:left;color:#745b57;font-size:12px;font-weight:600;border-top:1px solid var(--line)}
.sidebar-password-action .icon{width:16px;height:16px}
.sidebar-password-action:hover{background:#f7f1f0}
.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.settings-card form,.settings-body{padding:0 23px 23px}
.settings-card form>label{max-width:240px}
.backup-list{margin-top:18px;border-top:1px solid var(--line)}
.backup-list>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}
.backup-list span{min-width:0;overflow-wrap:anywhere}
.backup-list strong,.backup-list small{display:block;font-size:10px}
.backup-list small{color:#8b7975;margin-top:5px}
.user-actions{display:flex;gap:11px;flex-wrap:wrap}
.draft-expiry-warning{display:block;font-size:11px;color:#a3382c;margin-top:8px}
@media(max-width:950px){.settings-grid{grid-template-columns:1fr}}
.profile-dropdown .text-button[data-action="change-password"]{color:#745b57}
@media(max-width:650px){
  .dashboard-grid .inspection-cards .inspection-card:nth-child(n+3){display:none}
  .branch-toolbar{align-items:stretch;flex-direction:column;padding:15px;gap:12px}
  .branch-toolbar .tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
  .branch-toolbar .tab{justify-content:center;padding:10px 5px;min-height:44px;font-size:11px}
  .branch-toolbar .search-field{width:100%}
  .branch-table{table-layout:fixed;white-space:normal}
  .branch-table th:first-child,.branch-table td:first-child{width:55%;overflow-wrap:anywhere}
  .branch-table th:nth-child(2),.branch-table td:nth-child(2){width:27%}
  .branch-table th:last-child,.branch-table td:last-child{width:18%;text-align:right}
  .branch-table td,.branch-table th{padding:10px 7px}
  .branch-table td:first-child,.branch-table th:first-child{padding-left:15px}
  .user-cards{display:grid;gap:12px}
  .user-card{padding:18px;min-width:0}
  .user-card-head{display:flex;align-items:center;gap:10px;min-width:0}
  .user-card-head>div{min-width:0}
  .user-card-head h2{font-size:15px;overflow-wrap:anywhere}
  .user-card-head p{font-size:12px;color:#806c68;margin-top:4px;overflow-wrap:anywhere}
  .user-card-meta{display:flex;gap:8px;flex-wrap:wrap;margin:17px 0}
  .user-card-foot{border-top:1px solid var(--line);padding-top:12px;display:flex;align-items:center;justify-content:space-between;gap:10px}
  .user-card-foot>span{font-size:11px;color:#897370}
  .user-toggle{min-height:44px;white-space:normal;text-align:right}
  .user-actions{justify-content:flex-end;gap:12px}
  .user-actions .text-button{min-height:40px}
  .user-card-foot{align-items:flex-start}
  .settings-card form,.settings-body{padding:0 17px 20px}
  .sidebar .profile>div{min-width:0;flex:1}
  .sidebar .profile>div strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .sidebar .profile .icon-button{min-width:36px;min-height:44px}
  .sidebar nav{overflow-y:auto;min-height:0;flex:1}
}
