:root{--bg:#f2f3f5;--surface:#fff;--line:#dde1e6;--text:#191d23;--muted:#737b86;--nav:#15181d;--nav2:#20242b;--yellow:#f4d000;--green:#008454;--red:#d51620;--navy:#26364d;--shadow:0 2px 7px rgba(24,31,40,.07)}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Inter,Arial,Helvetica,sans-serif;background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button{touch-action:manipulation}a{text-decoration:none;color:inherit}.svg-icon{width:1em;height:1em;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;display:block}.app{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:252px;background:var(--nav);color:#fff;z-index:50;display:flex;flex-direction:column;box-shadow:9px 0 28px rgba(0,0,0,.13)}.brand{height:72px;display:flex;align-items:center;gap:12px;padding:12px 16px;border-bottom:1px solid rgba(255,255,255,.08)}.brand img{width:44px;height:44px;object-fit:cover;border-radius:50%;border:2px solid rgba(255,255,255,.18)}.brand b{display:block;font-size:17px;letter-spacing:1.6px}.brand small{display:block;color:#a6adb7;font-size:8px;letter-spacing:1.15px;margin-top:3px}.sidebar nav{padding:10px 8px;overflow-y:auto;flex:1}.sidebar nav a{display:flex;align-items:center;gap:12px;min-height:42px;padding:9px 12px;margin:2px 0;color:#c8cdd4;font-size:12px;border-radius:5px;border-left:3px solid transparent;transition:.15s}.sidebar nav a>span{width:20px;height:20px;display:grid;place-items:center;color:#e6e9ed;font-size:18px}.sidebar nav a:hover{background:var(--nav2);color:#fff}.sidebar nav a.active{background:#242930;color:#fff;border-left-color:var(--yellow)}.nav-label{padding:19px 13px 7px;color:#737b87;font-size:8px;font-weight:700;letter-spacing:1.5px}.profile{border-top:1px solid rgba(255,255,255,.08);padding:12px;display:flex;align-items:center;gap:9px}.profile .avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:var(--yellow);color:#111;font-weight:800}.profile div:nth-child(2){flex:1;min-width:0}.profile b{display:block;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile small{font-size:9px;color:#969da7}.logout{font-size:9px;color:#c5cad1;border:1px solid #3b4048;padding:5px 7px;border-radius:4px}.main{margin-left:252px;min-height:100vh}.topbar{height:46px;background:#fff;border-bottom:1px solid #d7dbe0;display:flex;align-items:center;padding:0 17px;position:sticky;top:0;z-index:30}.menu-btn{border:0;background:transparent;width:28px;height:28px;padding:6px 8px 6px 0;display:flex;flex-direction:column;justify-content:center;gap:3px;cursor:pointer}.menu-btn span{display:block;width:13px;height:1px;background:#6e7680}.crumb{display:flex;align-items:center;gap:9px;font-size:8px;letter-spacing:1.25px;min-width:0}.crumb span{color:#a1a7af}.crumb b{color:#d1d5da}.crumb strong{font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.notify{margin-left:auto;border:0;background:none;color:#7c838c;position:relative;font-size:17px;padding:5px}.notify i{position:absolute;width:6px;height:6px;background:#e21837;border-radius:50%;right:3px;top:3px;border:1px solid #fff}main{padding:12px;max-width:1450px;margin:auto}.alert{padding:10px 12px;margin-bottom:10px;border:1px solid #bde5cb;background:#eaf8ef;color:#176839;font-size:11px;border-radius:5px}.alert.error{border-color:#efc0c0;background:#fff0f0;color:#a22323}.page-heading{min-height:46px;background:#fff;border:1px solid var(--line);border-radius:6px;display:flex;align-items:center;padding:8px 12px;margin-bottom:11px;box-shadow:var(--shadow)}.heading-icon{width:29px;height:29px;border-radius:4px;background:var(--navy);color:#fff;display:grid;place-items:center;margin-right:9px;flex:0 0 auto;font-size:16px}.heading-copy{min-width:0}.page-heading h1{font-size:11px;margin:0;text-transform:uppercase}.page-heading p{font-size:8px;color:#888f98;margin:3px 0 0}.page-heading .btn{margin-left:auto;flex:0 0 auto}.btn{border:1px solid #d6dae0;background:#fff;padding:7px 13px;min-height:30px;font-size:9px;font-weight:800;text-transform:uppercase;cursor:pointer;border-radius:2px;display:inline-flex;align-items:center;justify-content:center;gap:5px}.btn.primary{background:var(--yellow);border-color:var(--yellow);color:#111}.btn.green{background:var(--green);border-color:var(--green);color:#fff}.btn.navy{background:var(--navy);border-color:var(--navy);color:#fff}.btn.red{background:#ed1717;border-color:#ed1717;color:#fff}.btn.full{width:100%;padding:11px}.card{background:#fff;border:1px solid var(--line);border-radius:6px;margin-bottom:12px;box-shadow:var(--shadow)}.card-title{padding:12px 14px;border-bottom:1px solid #eceef1;display:flex;justify-content:space-between}.card-title h2{font-size:11px;text-transform:uppercase;margin:0}.card-title p{font-size:8px;color:#888;margin:3px 0 0}.table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}table{border-collapse:collapse;width:100%;font-size:10px}th{font-size:8px;text-transform:uppercase;letter-spacing:.25px;color:#69717b;text-align:left;background:#fafbfc}th,td{padding:10px 12px;border-bottom:1px solid #eceef1;white-space:nowrap}tbody tr:last-child td{border-bottom:0}.actions{display:flex;gap:4px}.actions form{margin:0}.icon-btn{border:1px solid transparent;background:transparent;width:28px;height:28px;padding:5px;cursor:pointer;color:#67707b;border-radius:4px;display:inline-grid;place-items:center}.icon-btn:hover{background:#f1f3f5;border-color:#e0e4e8}.icon-btn.danger{color:#8c939c}.empty{text-align:center;color:#7e848c;padding:60px 20px}.empty-state{background:#fff;border:1px solid #eaecf0;border-radius:6px;min-height:180px;display:flex;flex-direction:column;justify-content:center;align-items:center;color:#707780}.empty-state .big{font-size:34px;color:#cbd0d6;margin-bottom:10px}.empty-state p{font-size:11px;margin:3px}.empty-state a{font-size:10px;color:#222;margin-top:10px;cursor:pointer}.modal{display:none;position:fixed;inset:0;background:rgba(0,0,0,.78);z-index:80;align-items:center;justify-content:center;padding:16px}.modal.open{display:flex}.modal-card{background:#f8f9fb;border:1px solid #d9dde2;border-radius:5px;width:min(650px,100%);max-height:92vh;overflow:auto;box-shadow:0 24px 70px rgba(0,0,0,.42)}.modal-card.small{width:min(390px,100%)}.modal-card.wide{width:min(760px,100%)}.modal-head{padding:17px 20px 11px;display:flex;align-items:center;position:sticky;top:0;background:#f8f9fb;z-index:2}.modal-head h2{margin:0;font-size:13px;letter-spacing:1px;text-transform:uppercase}.modal-head button{margin-left:auto;border:0;background:none;font-size:18px;color:#59606a;cursor:pointer}.modal-card form{padding:4px 20px 18px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px 10px}.form-grid.three{grid-template-columns:repeat(3,1fr)}label{font-size:8px;font-weight:700;text-transform:uppercase;color:#4f5660;letter-spacing:.3px}.span-2{grid-column:span 2}.span-3{grid-column:span 3}input,select,textarea{width:100%;margin-top:5px;border:1px solid #d7dce2;background:#fff;padding:8px 9px;min-height:34px;font-size:11px;border-radius:2px;outline:none;color:#252a31}input:focus,select:focus,textarea:focus{border-color:#e6c600;box-shadow:0 0 0 1px #e6c600}textarea{resize:vertical}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:15px}.section-label{grid-column:1/-1;padding:12px 8px 7px;border-top:1px solid #e4e7eb;font-size:9px;font-weight:800;letter-spacing:1px;color:#656d77}.checks{grid-column:1/-1;border:1px solid #e2e6ea;padding:8px;display:grid;grid-template-columns:1fr 1fr;gap:5px;background:#f5f6f8}.checks label{background:#fff;border:1px solid #e8ebef;padding:6px;text-transform:none;font-weight:400;border-radius:2px}.checks input{width:auto;min-height:auto;margin:0 5px 0 0}.shift-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.shift-card{background:#fff;border:1px solid var(--line);border-left:3px solid #ec8d00;border-radius:6px;padding:13px;box-shadow:var(--shadow)}.shift-card h3{font-size:11px;margin:0 0 9px}.shift-card p{font-size:9px;color:#626a74;margin:8px 0}.shift-card b{color:#252a31}.message-list{background:#fff;border:1px solid var(--line);border-radius:5px;padding:9px;box-shadow:var(--shadow)}.message{border:1px solid #e2e6ea;border-radius:4px;padding:10px 12px;margin-bottom:6px}.message:last-child{margin-bottom:0}.message.admin{margin-left:5%;background:#fff9e8;border-color:#efd77a}.message b{font-size:10px}.message small{font-size:8px;color:#888}.message h4{font-size:8px;letter-spacing:.5px;margin:6px 0;text-transform:uppercase}.message p{font-size:10px;margin:0;color:#505761;line-height:1.45}.finance-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-bottom:10px}.finance-card{background:#fff;border:1px solid var(--line);border-radius:6px;padding:12px;box-shadow:var(--shadow)}.finance-card small{font-size:8px;letter-spacing:1px;font-weight:bold}.finance-card strong{display:block;font-size:16px;margin-top:7px}.income{color:#007d50}.expense{color:#c50d17}.balance{color:#15243a}.type-income{color:#007d50;font-weight:bold}.type-expense{color:#d10c16;font-weight:bold}.docs{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.doc{background:#fff;border:1px solid var(--line);border-radius:6px;padding:12px;display:flex;gap:9px;box-shadow:var(--shadow)}.doc b{font-size:11px}.doc small,.doc p,.doc a{display:block;font-size:9px;margin-top:5px}.doc>div{flex:1;min-width:0}.toolbar{display:flex;justify-content:space-between;gap:10px;margin-bottom:10px}.search{display:flex;gap:7px;max-width:430px;width:100%}.search input{margin:0}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:12px}.stat{background:#fff;border:1px solid var(--line);border-radius:6px;padding:14px;box-shadow:var(--shadow)}.stat b{font-size:21px}.stat small{display:block;font-size:9px;color:#777}.grid-2{display:grid;grid-template-columns:1.6fr 1fr;gap:12px}.highlight{border-top:3px solid var(--yellow);padding-bottom:14px}.highlight>h3,.highlight>p,.highlight>.badge{margin-left:14px}.quick{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:12px}.quick a{padding:11px;background:#f7f8f9;border:1px solid #e3e6e9;border-radius:4px;font-size:10px;font-weight:700}.timeline{padding:8px 14px}.timeline>div{display:flex;gap:10px;padding:9px 0;border-bottom:1px solid #eee}.timeline i{width:7px;height:7px;border-radius:50%;background:var(--yellow);margin-top:4px}.timeline b{font-size:10px}.timeline p{font-size:10px;margin:3px 0;color:#666}.timeline small{font-size:8px;color:#999}.badge{display:inline-block;padding:3px 6px;background:#eef1f4;border-radius:3px;font-size:8px}.login-body{min-height:100vh;background:#111418;display:grid;place-items:center;padding:20px}.login-card{width:min(390px,100%);background:#fff;border-radius:9px;padding:28px;box-shadow:0 24px 70px rgba(0,0,0,.45);text-align:center}.login-card>img{width:82px;height:82px;object-fit:cover;border-radius:50%}.login-card h1{margin:12px 0 0;letter-spacing:3px}.login-card>p{margin:4px 0 23px;color:#777;font-size:12px;text-transform:uppercase;letter-spacing:1px}.login-card label{text-align:left;display:block;font-size:10px;font-weight:bold;text-transform:uppercase;margin:12px 0}.login-help{margin-top:18px;padding:10px;background:#f5f5f7;border-radius:4px;font-size:10px;color:#666}.overlay{display:none}
@media(max-width:900px){.sidebar{transform:translateX(-100%);transition:transform .22s ease}.sidebar.open{transform:translateX(0)}.main{margin-left:0}.overlay.show{display:block;position:fixed;inset:0;background:rgba(0,0,0,.62);z-index:40}.docs{grid-template-columns:1fr 1fr}.grid-2{grid-template-columns:1fr}.stats{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){main{padding:10px}.topbar{height:42px;padding:0 12px}.crumb{font-size:7px}.crumb strong{font-size:8px}.page-heading{padding:8px 10px;min-height:50px}.page-heading h1{font-size:10px}.page-heading p{font-size:7px;white-space:normal}.page-heading .btn{padding:7px 9px;font-size:8px;max-width:42%;white-space:normal;line-height:1.15}.heading-icon{width:28px;height:28px}.shift-grid{grid-template-columns:1fr}.finance-cards{grid-template-columns:1fr}.finance-card{padding:11px}.finance-card strong{font-size:15px}.form-grid,.form-grid.three{grid-template-columns:1fr}.span-2,.span-3{grid-column:auto}.checks{grid-template-columns:1fr}.modal{align-items:flex-end;padding:0}.modal-card,.modal-card.small,.modal-card.wide{width:100%;max-height:94vh;border-radius:10px 10px 0 0;border-bottom:0}.modal-card form{padding:4px 15px 18px}.modal-head{padding:15px 15px 10px}.modal-head h2{font-size:12px}.docs{grid-template-columns:1fr}.stats{grid-template-columns:1fr 1fr;gap:8px}.stat{padding:11px}.stat b{font-size:18px}.toolbar{align-items:stretch}.search{max-width:none}.message.admin{margin-left:0}.table-wrap{border-radius:6px}table{font-size:10px;min-width:620px}th,td{padding:10px}.login-card{padding:24px 20px}.quick{grid-template-columns:1fr}.page-heading+.empty-state{min-height:190px}}
.icon-btn{width:auto;min-width:28px;font-size:8px;font-weight:700;text-transform:uppercase}.actions .icon-btn{padding:5px 7px}
/* Uniformização visual baseada nas telas de referência */
.btn.purple{background:#5b35f2;border-color:#5b35f2;color:#fff}.btn.orange{background:#ff9700;border-color:#ff9700;color:#fff}
.heading-icon svg{width:16px;height:16px}.page-heading:has(.btn.purple) .heading-icon{background:#5b35f2}.page-heading:has(.btn.red) .heading-icon{background:#ef0012}.page-heading:has(.btn.orange) .heading-icon{background:#ff9700}
.record-grid,.inventory-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.record-card,.inventory-card{position:relative;background:#fff;border:1px solid #dfe3e9;border-radius:6px;box-shadow:0 1px 3px rgba(20,30,45,.06);min-width:0}.record-card{padding:18px 14px 13px;border-top:4px solid #70819b}.record-card h3,.inventory-card h3{font-size:13px;margin:8px 0 7px;letter-spacing:.1px}.record-card p{font-size:9px;color:#6f7782;margin:7px 0}.record-actions{position:absolute;right:8px;top:8px;display:flex;gap:2px}.record-actions form{margin:0}.record-tag,.specialty,.vehicle-status,.status-pill,.kind-badge{display:inline-flex;align-items:center;border-radius:4px;font-size:8px;font-weight:700;padding:3px 7px;background:#687994;color:#fff}.record-card em{display:block;font-size:9px;color:#777;margin-top:6px}.card-edit{position:absolute;opacity:0;pointer-events:none}.rescuer{border-top-color:#6557ff;padding-bottom:12px}.specialty{background:#f0f1f4;color:#5e6672;font-weight:600}.active-line{border-top:1px solid #edf0f3;margin-top:10px;padding-top:9px;font-size:8px;color:#515a66}.active-line i{display:inline-block;width:6px;height:6px;background:#04c88b;border-radius:50%;margin-right:6px}.vehicle{min-height:90px;border-top:0;border-left:3px solid #cfd6e1}.vehicle h3{font-family:monospace;font-size:17px;letter-spacing:1px;margin:13px 0 3px}.vehicle p{font-size:11px;margin:0}.vehicle-status{background:#8b96a8;font-size:7px}.vehicle.maintenance{border-left-color:#ff5d00;background:#fffaf5}.vehicle.maintenance .vehicle-status{background:#ff5d00}.vehicle.service .vehicle-status{background:#8b96a8}.inventory-card{overflow:hidden}.inventory-top{display:flex;justify-content:space-between;padding:14px 14px 7px}.inventory-top .actions{display:flex}.inventory-top h3{font-size:14px}.status-pill{background:#d9f8ea;color:#08724e}.inventory-card.loaned .status-pill{background:#fff0bd;color:#a55b00}.inventory-card.maintenance .status-pill{background:#ffdce0;color:#b51220}.inventory-meta{display:grid;grid-template-columns:1fr 1fr;gap:10px;border-top:1px solid #f0f1f3;padding:14px}.inventory-meta small,.holder small{font-size:8px;color:#737b86;display:block}.inventory-meta b,.holder b{font-size:10px;font-weight:500;display:block;margin-top:2px}.holder{margin:0 14px 10px;padding:9px;background:#fff9e6;border:1px solid #f3e8bd;border-radius:4px;color:#9b4d00}.inventory-action{display:block;width:calc(100% - 18px);margin:0 9px 9px;border:0;background:#ffd900;min-height:31px;font-size:9px;font-weight:800;cursor:pointer}.inventory-card.loaned .inventory-action,.inventory-card.maintenance .inventory-action{background:#fff;border:1px solid #e2e5e9}
.list-toolbar{background:#fff;border:1px solid #e1e5ea;border-radius:5px;padding:11px;display:flex;gap:10px;margin-bottom:12px}.search-wide{flex:1;display:flex;align-items:center;border:1px solid #dfe3e8;background:#fafbfc;padding:0 10px}.search-wide input{border:0;background:transparent;margin:0;box-shadow:none}.list-toolbar>select{width:190px;margin:0}.member-table td{height:52px}.kind-badge{background:#dfeaff;color:#1b54b5}.kind-badge.young{background:#d9f7ea;color:#08704e}
.occurrence-toolbar{margin-top:-58px;margin-bottom:17px;margin-right:143px;display:flex;justify-content:flex-end}.search-compact{width:180px}.search-compact input{margin:0}.dashboard-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:22px}.dash-stat{height:160px;background:#fff;border:1px solid #dbe4f2;border-radius:15px;padding:24px;display:flex;align-items:flex-start;justify-content:space-between;box-shadow:0 2px 5px rgba(0,0,0,.12)}.dash-stat small{display:block;text-transform:uppercase;font-weight:800;letter-spacing:1.5px;font-size:18px;color:#757984}.dash-stat strong{display:block;font-size:42px;margin-top:30px}.dash-stat>span{width:51px;height:51px;border-radius:9px;display:grid;place-items:center;background:#f0f5ff;color:#1763ff;font-size:28px}.dash-stat.purple>span{background:#f1efff;color:#5637ff}.dash-stat.orange{border-color:#f3dfa0}.dash-stat.orange>span{background:#fff8df;color:#ed8700}.dash-stat.red{border-color:#f3d4d7}.dash-stat.red>span{background:#fff0f1;color:#ed1020}.dash-stat.green{border-color:#ccebdd}.dash-stat.green>span{background:#e9fbf2;color:#00a56d}.dash-stat.navy>span{background:#f6f8fb;color:#52647e}.dash-panel{background:#fff;border:1px solid #dfe3e8;border-radius:15px;margin-bottom:22px;box-shadow:0 2px 5px rgba(0,0,0,.12);overflow:hidden}.dash-panel-head{display:flex;align-items:center;gap:15px;padding:22px 30px;border-bottom:1px solid #e5e8ec}.dash-panel-head h2{font-size:20px;letter-spacing:1px;margin:0}.panel-icon{width:50px;height:50px;border-radius:9px;display:grid;place-items:center;font-size:24px}.panel-icon.green{background:#e8fbf2;color:#009b65}.panel-icon.red{background:#fff0f1;color:#ed1020}.finance-body{padding:30px}.finance-row{margin-bottom:25px}.finance-row>div:first-child{display:flex;justify-content:space-between;font-size:20px}.finance-row strong{font-family:monospace;font-size:29px}.bar{height:12px;background:#f0f1f3;border-radius:10px;margin-top:12px;overflow:hidden}.bar i{display:block;height:100%;border-radius:10px;background:#08bf84}.finance-row.expense .bar i{background:#ff3542}.cash-balance{display:flex;justify-content:space-between;align-items:center;background:#e7fbf3;border:1px solid #bdecd9;padding:25px;border-radius:8px;color:#087c59}.cash-balance span{font-size:20px;font-weight:800;color:#737984}.cash-balance strong{font-family:monospace;font-size:35px}.recent-list>div{display:flex;justify-content:space-between;padding:22px 30px;border-bottom:1px solid #e5e8ec}.recent-list b{font-size:16px}.recent-list p{margin:6px 0 0;color:#767c86}.recent-list time{color:#717781;font-family:monospace}.mobile-dashboard-title{display:none}
@media(max-width:700px){.record-grid,.inventory-grid{grid-template-columns:1fr}.list-toolbar{flex-wrap:wrap}.search-wide{flex-basis:100%}.list-toolbar>select{flex:1;width:auto}.occurrence-toolbar{margin:0 0 10px}.search-compact{width:100%}.dashboard-stats{gap:12px}.dash-stat{height:120px;padding:17px}.dash-stat small{font-size:12px}.dash-stat strong{font-size:31px;margin-top:22px}.dash-stat>span{width:42px;height:42px;font-size:22px}.dash-panel-head{padding:17px 20px}.dash-panel-head h2{font-size:14px}.panel-icon{width:39px;height:39px}.finance-body{padding:20px}.finance-row>div:first-child{font-size:14px}.finance-row strong{font-size:19px}.cash-balance{padding:18px}.cash-balance span{font-size:13px}.cash-balance strong{font-size:23px}.recent-list>div{padding:17px 20px}.mobile-dashboard-title{display:flex;align-items:center;gap:16px;background:#fff;margin:-10px -10px 18px;padding:19px 22px;border-bottom:1px solid #ddd}.mobile-dashboard-title h1{font-size:18px;letter-spacing:2px;margin:0}.mobile-menu-inline{border:0;background:none;font-size:22px}.mobile-bell{margin-left:auto;position:relative;width:24px}.mobile-bell i{position:absolute;width:8px;height:8px;border-radius:50%;background:red;right:0;top:-2px}}

/* Ações padronizadas e movimentação de equipamentos */
.standardized-actions{gap:6px;align-items:center}.standardized-actions form{margin:0}.icon-btn,.record-actions .icon-btn,.actions .icon-btn{min-width:34px;min-height:34px;padding:7px 9px;border:1px solid #dce1e7;border-radius:6px;background:#fff;color:#596270;display:inline-flex;align-items:center;justify-content:center;gap:5px;font-size:14px;line-height:1;cursor:pointer;box-shadow:0 1px 2px rgba(0,0,0,.04)}.icon-btn span{font-size:9px;font-weight:800;text-transform:uppercase}.icon-btn:hover,.icon-btn:focus{border-color:#9ba6b5;background:#f7f9fb}.edit-action{color:#344b69}.delete-action{color:#c62828}.delete-action:hover{background:#fff1f1;border-color:#efb2b2}.record-actions{gap:6px}.record-actions form{display:flex}
.modal-subtitle{margin:4px 0 0;color:#737b86;font-size:11px}.movement-options{display:grid;gap:9px;margin:4px 0 14px}.movement-choice{width:100%;text-align:left;border:1px solid #dce2e8;background:#fff;border-radius:8px;padding:13px 14px;cursor:pointer}.movement-choice b{display:block;font-size:12px;text-transform:uppercase}.movement-choice small{display:block;color:#707985;margin-top:5px;line-height:1.35}.movement-choice:hover,.movement-choice.selected{border-color:#e4bd00;background:#fffbea;box-shadow:0 0 0 2px rgba(244,208,0,.15)}.movement-choice.maintenance-choice.selected{border-color:#e05a62;background:#fff3f4}.movement-choice.return-choice.selected{border-color:#0a9c6c;background:#effcf7}.movement-confirm{padding:10px 12px;background:#f5f7f9;border:1px solid #e1e5ea;border-radius:6px;font-size:11px;font-weight:700;color:#4f5966}.modal-actions button:disabled{opacity:.45;cursor:not-allowed}.inventory-top{gap:10px}.inventory-top>div:first-child{min-width:0}.inventory-top h3{word-break:break-word}
@media(max-width:700px){.standardized-actions{flex-direction:column;gap:4px}.standardized-actions .icon-btn{min-width:38px;min-height:34px;padding:7px}.standardized-actions .icon-btn span{display:none}.inventory-top{padding:18px 18px 10px}.inventory-meta{padding:18px 28px}.inventory-meta small{font-size:11px}.inventory-meta b{font-size:14px}.inventory-top h3{font-size:21px;margin-top:14px}.status-pill{font-size:11px;padding:6px 13px}.inventory-action{min-height:59px;font-size:14px;margin:0 18px 18px;width:calc(100% - 36px)}.holder{margin:0 18px 14px;padding:12px}.holder small{font-size:10px}.holder b{font-size:13px}.inventory-card{border-radius:12px}.movement-choice{padding:15px}.movement-choice b{font-size:13px}.movement-choice small{font-size:11px}}

/* refinamento funcional v10 */
.notification-wrap{position:relative;margin-left:auto}.notification-wrap .notify{margin-left:0;cursor:pointer}.notification-menu{display:none;position:absolute;right:0;top:42px;width:310px;background:#fff;border:1px solid #dce1e7;border-radius:10px;box-shadow:0 18px 45px rgba(18,26,38,.22);overflow:hidden;z-index:100}.notification-menu.open{display:block}.notification-head{padding:14px 16px;background:#f7f9fb;border-bottom:1px solid #e5e9ee}.notification-head b,.notification-head span{display:block}.notification-head b{font-size:13px}.notification-head span{font-size:9px;color:#7b8490;margin-top:3px}.notification-menu a{display:block;padding:13px 16px;border-bottom:1px solid #edf0f3}.notification-menu a:last-child{border-bottom:0}.notification-menu a:hover{background:#f8fafc}.notification-menu strong{display:block;font-size:11px}.notification-menu small{display:block;font-size:9px;color:#77808b;margin-top:4px;line-height:1.35}
.dashboard-stats{gap:12px}.dash-stat{position:relative;height:128px;padding:18px;transition:.18s transform,.18s box-shadow}.dash-stat:hover,.dash-stat:focus{transform:translateY(-2px);box-shadow:0 8px 20px rgba(0,0,0,.13)}.dash-stat small{font-size:14px}.dash-stat strong{font-size:34px;margin-top:19px}.dash-stat>span{width:44px;height:44px;font-size:23px}.dash-stat em{position:absolute;right:17px;bottom:13px;font-size:8px;font-style:normal;font-weight:800;text-transform:uppercase;color:#8a929d}
.card-actions{float:right;display:flex}.shift-card{position:relative;padding:16px}.shift-card .card-actions{position:absolute;right:10px;top:10px}.shift-card h3{padding-right:130px}.field-help{display:block;margin-top:5px;color:#7b8490;font-size:9px;text-transform:none;font-weight:400}
.icon-btn,.actions .icon-btn,.record-actions .icon-btn,.standardized-actions .icon-btn,.card-edit{min-width:42px;min-height:38px;border:1px solid #d7dde4!important;border-radius:7px!important;background:#fff!important;color:#394657!important;font-size:15px!important;font-weight:800!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;padding:8px 10px!important;cursor:pointer!important}.icon-btn span{display:inline!important;font-size:9px!important}.delete-action,.danger{color:#c5222d!important}.card-edit{width:auto;margin:10px 0 0;text-transform:uppercase;font-size:9px!important}
.movement-options{grid-template-columns:1fr 1fr;gap:12px}.movement-choice{border:2px solid #e1e6ec;border-radius:12px;padding:16px;min-height:112px;display:flex;flex-direction:column;justify-content:center;position:relative;overflow:hidden}.movement-choice:before{content:'↔';width:34px;height:34px;border-radius:9px;background:#fff5bf;display:grid;place-items:center;margin-bottom:10px;font-size:18px}.movement-choice.return-choice:before{content:'↩';background:#e8fbf3;color:#087b59}.movement-choice.maintenance-choice:before{content:'⚙';background:#fff0f1;color:#c5222d}.movement-choice b{font-size:13px}.movement-choice small{font-size:10px}.movement-choice.selected{transform:translateY(-1px)}.movement-confirm{margin-top:4px;border-left:4px solid #f0c800;background:#fffbea}.modal-card.movement-modal-card{border-radius:14px}.modal-card.movement-modal-card .modal-head{padding:20px}.modal-card.movement-modal-card form{padding:4px 20px 20px}
@media(max-width:700px){.notification-menu{position:fixed;left:12px;right:12px;top:58px;width:auto}.dashboard-stats{gap:9px}.dash-stat{height:105px;padding:14px;border-radius:12px}.dash-stat small{font-size:10px}.dash-stat strong{font-size:27px;margin-top:13px}.dash-stat>span{width:37px;height:37px;font-size:19px}.dash-stat em{display:none}.movement-options{grid-template-columns:1fr}.movement-choice{min-height:94px}.standardized-actions{flex-direction:row}.standardized-actions .icon-btn{min-width:46px;min-height:40px}.standardized-actions .icon-btn span{display:inline!important}.shift-card h3{padding-right:0;margin-top:52px}.shift-card .card-actions{left:12px;right:auto;top:10px}.actions{min-width:150px}.actions .icon-btn{min-width:44px}.record-actions{display:flex!important}.record-actions .icon-btn{min-width:42px}.dash-panel{border-radius:12px}}


/* Padronização v11: ações compactas e notificações reais */
.compact-actions{display:flex;align-items:center;gap:8px;flex-wrap:nowrap}
.compact-actions form{margin:0;display:inline-flex}
.action-icon{width:38px;height:38px;min-width:38px;min-height:38px;padding:0;border:1px solid #d8dee6;border-radius:9px;background:#fff;color:#435064;display:inline-grid;place-items:center;cursor:pointer;box-shadow:0 2px 5px rgba(28,39,55,.05);transition:transform .15s,background .15s,border-color .15s,color .15s}
.action-icon .svg-icon{width:17px;height:17px}
.action-icon:hover,.action-icon:focus-visible{transform:translateY(-1px);background:#f5f8fb;border-color:#bfc9d6;outline:none}
.action-icon.edit-icon:hover{color:#175cd3;border-color:#b8cef7;background:#edf4ff}
.action-icon.delete-icon:hover{color:#c81e2a;border-color:#f2b8bd;background:#fff1f2}
.record-actions.compact-actions{position:absolute;top:16px;right:16px;z-index:3}
.record-card{position:relative}
.record-card.occurrence h3{padding-right:98px}
.notification-menu{width:min(390px,calc(100vw - 24px));max-height:min(620px,calc(100vh - 76px));overflow:hidden}
.notification-list{max-height:430px;overflow-y:auto}
.notification-item{display:flex!important;gap:11px;padding:12px 14px!important;align-items:flex-start}
.notification-avatar{width:32px;height:32px;flex:0 0 32px;border-radius:50%;display:grid;place-items:center;background:#eef3f8;color:#2f4056;font-size:12px;font-weight:800}
.notification-text{min-width:0;display:block;flex:1}
.notification-text strong{font-size:10px!important;white-space:normal}
.notification-text small{font-size:9px!important;line-height:1.35;white-space:normal;overflow-wrap:anywhere}
.notification-text time{display:block;font-size:8px;color:#9aa2ac;margin-top:5px}
.notification-empty{padding:28px 16px;text-align:center;color:#7c8591;font-size:10px}
.notification-footer{display:block;text-align:center!important;font-weight:800;color:#26364a;background:#f8fafc;padding:11px 14px!important;font-size:9px}
@media(max-width:700px){.action-icon{width:36px;height:36px;min-width:36px;min-height:36px}.action-icon .svg-icon{width:16px;height:16px}.record-actions.compact-actions{top:14px;right:14px}.record-card.occurrence h3{padding-right:92px}.actions.compact-actions{min-width:auto}.notification-menu{top:54px}.notification-list{max-height:55vh}}

/* Feedback instantâneo sem apagar o conteúdo durante cadastros. */
.saving-spinner{display:inline-block;width:15px;height:15px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;vertical-align:-3px;animation:bbcop-spin .65s linear infinite}
@keyframes bbcop-spin{to{transform:rotate(360deg)}}
body.is-saving::after{content:"Salvando e atualizando...";position:fixed;left:50%;bottom:max(22px,env(safe-area-inset-bottom));transform:translateX(-50%);z-index:99999;background:#172033;color:#fff;padding:12px 18px;border-radius:12px;font-weight:700;font-size:14px;box-shadow:0 10px 30px rgba(0,0,0,.25);white-space:nowrap}
button:disabled{cursor:wait;opacity:.72}

/* Confirmação de exclusão personalizada v13 */
.system-confirm{position:fixed;inset:0;z-index:1000;display:none;align-items:center;justify-content:center;padding:18px;background:rgba(14,18,24,.68);backdrop-filter:blur(3px)}
.system-confirm.open{display:flex;animation:confirmFade .16s ease-out}
.system-confirm-card{position:relative;width:min(430px,100%);background:#fff;border:1px solid #e3e7ec;border-radius:18px;padding:28px 26px 24px;text-align:center;box-shadow:0 28px 80px rgba(0,0,0,.32);animation:confirmPop .2s ease-out}
.system-confirm-icon{width:62px;height:62px;margin:0 auto 17px;border-radius:18px;background:#fff0f1;color:#d11f2c;display:grid;place-items:center}
.system-confirm-icon .svg-icon{width:28px;height:28px;stroke-width:1.9}
.system-confirm-close{position:absolute;right:14px;top:12px;width:36px;height:36px;border:0;border-radius:50%;background:transparent;color:#7c8490;font-size:24px;line-height:1;cursor:pointer}
.system-confirm-close:hover{background:#f2f4f7;color:#28313d}
.system-confirm-card h2{margin:0;color:#1c222b;font-size:20px;letter-spacing:.2px}
.system-confirm-card p{margin:10px auto 0;max-width:330px;color:#65707d;font-size:14px;line-height:1.5}
.system-confirm-warning{margin:17px 0 20px;padding:11px 13px;border:1px solid #f1d3d6;border-radius:10px;background:#fff7f7;color:#a72a33;font-size:12px;font-weight:700}
.system-confirm-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.system-confirm-actions .btn{min-height:46px;border-radius:9px;font-size:12px}
.system-confirm-cancel{background:#fff!important;border-color:#d9dee5!important;color:#394452!important}
.system-confirm-delete{background:#d91f2b!important;border-color:#d91f2b!important;color:#fff!important}
.system-confirm-delete .svg-icon{width:16px;height:16px}
@keyframes confirmFade{from{opacity:0}to{opacity:1}}
@keyframes confirmPop{from{opacity:0;transform:translateY(10px) scale(.98)}to{opacity:1;transform:none}}
@media(max-width:700px){.system-confirm{align-items:flex-end;padding:0}.system-confirm-card{width:100%;border-radius:22px 22px 0 0;padding:30px 22px max(24px,env(safe-area-inset-bottom));animation:confirmSheet .22s ease-out}.system-confirm-card h2{font-size:19px}.system-confirm-actions{gap:9px}.system-confirm-actions .btn{min-height:50px}@keyframes confirmSheet{from{transform:translateY(100%)}to{transform:translateY(0)}}}

/* Componentes padronizados de visualização e ações */
.record-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.record-card{background:#fff;border:1px solid var(--line);border-radius:7px;padding:14px;box-shadow:var(--shadow)}.record-card-top,.message-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.record-card h3{font-size:13px;margin:8px 0}.record-card p{font-size:10px;color:#606975;margin:6px 0}.record-card small{font-size:8px;color:#858d97}.clickable-card{cursor:pointer;transition:transform .15s,box-shadow .15s}.clickable-card:hover{transform:translateY(-1px);box-shadow:0 7px 18px rgba(20,30,45,.09)}.record-actions{display:flex;align-items:center;gap:3px;flex:0 0 auto}.record-actions form{margin:0}.record-actions .icon-btn,.actions .icon-btn{width:34px;height:34px;border:1px solid #dce1e7;background:#fff}.record-actions .icon-btn .svg-icon,.actions .icon-btn .svg-icon{width:17px;height:17px}.record-actions .icon-btn.danger,.actions .icon-btn.danger{color:#c3232d}.doc{position:relative;align-items:flex-start}.doc-main-icon{width:35px;height:35px;border-radius:5px;background:#eef3f8;color:#263b57;display:grid;place-items:center;flex:0 0 auto}.doc-main-icon .svg-icon{width:20px;height:20px}.doc .record-actions{position:absolute;right:8px;top:8px}.doc>div:nth-child(2){padding-right:75px}.file-link{display:inline-block;margin-top:8px;font-size:9px;font-weight:800;color:#23466e}.message.private{border-left:3px solid #6657e8;background:#f9f8ff}.message-head b{display:block}.message-head small{display:block;margin-top:3px}.detail-body{padding:4px 20px 22px}.detail-body h3{font-size:18px;margin:4px 0 18px}.detail-body dl{margin:0}.detail-body dt{font-size:8px;text-transform:uppercase;color:#737d89;font-weight:800;margin-top:12px}.detail-body dd{margin:4px 0 0;font-size:11px;line-height:1.5;white-space:pre-wrap}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.detail-item{border:1px solid #e0e5ea;background:#fff;border-radius:5px;padding:11px}.detail-item small{display:block;font-size:8px;text-transform:uppercase;color:#737d89;font-weight:800;margin-bottom:5px}.detail-item strong{display:block;font-size:11px;line-height:1.45;white-space:pre-wrap}.detail-item.span-2{grid-column:span 2}.detail-empty{padding:14px;background:#f0f2f5;border-radius:5px;color:#737b85;font-size:10px;margin-top:15px}
@media(max-width:600px){.record-grid{grid-template-columns:1fr}.detail-grid{grid-template-columns:1fr}.detail-item.span-2{grid-column:auto}.record-actions .icon-btn,.actions .icon-btn{width:38px;height:38px}.doc>div:nth-child(2){padding-right:82px}}
