.audit-hub-dialog{width:min(1120px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);margin:auto;padding:0;border:1px solid #ded4bd;border-radius:26px;overflow:auto;background:#f8f4e9;color:#292742;box-shadow:0 24px 80px #29274238}.audit-hub-dialog::backdrop{background:#29274272}.audit-hub-dialog__header{position:sticky;top:0;z-index:3;display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:20px 28px 17px;border-bottom:1px solid #ded4bd;background:#f8f4e9}.audit-hub-dialog__header h2{margin:2px 0 5px;font-size:28px;line-height:1.15}.audit-hub-dialog__header p{margin:0;max-width:780px;color:#747081;line-height:1.45}.audit-hub-dialog__eyebrow{display:block;color:#92742e;font-size:11px;font-weight:800;letter-spacing:.12em}.audit-hub-dialog__close{display:grid;place-items:center;flex:0 0 46px;width:46px;height:46px;min-height:46px;padding:0;border:1px solid #c9b982;border-radius:15px;background:#fffaf0;color:#292742;font-size:30px;line-height:1;cursor:pointer}.audit-hub-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:20px 28px 26px}.audit-hub-card{display:grid;grid-template-columns:42px minmax(0,1fr);gap:3px 12px;min-height:116px;padding:16px;border:1px solid #ded4bd;border-radius:18px;background:#fffdf8;color:#292742;text-align:left;cursor:pointer}.audit-hub-card:hover{border-color:#b6984e;background:#f2e8c9}.audit-hub-card:focus-visible,.audit-hub-dialog button:focus-visible,.audit-hub-dialog a:focus-visible,.audit-hub-dialog :is(input,textarea,select):focus-visible{outline:3px solid #b6984e;outline-offset:2px}.audit-hub-card__number{grid-row:1/3;display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#eee3bf;color:#795e22;font-size:13px;font-weight:800}.audit-hub-card strong{font-size:17px;line-height:1.3}.audit-hub-card>span:last-child{color:#747081;font-size:13px;line-height:1.45}
.audit-workflow{padding:18px 28px 28px}.audit-workflow__toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.audit-workflow__back,.audit-workflow__related{min-height:40px;padding:9px 13px;border:1px solid #d4c7a9;border-radius:11px;background:#fffdf8;color:#292742;font:600 13px/1.3 inherit;text-decoration:none;cursor:pointer}.audit-workflow__guide{margin:0 0 16px;padding:13px 16px;border-radius:13px;background:#292742;color:#f5f0e4;font-size:14px;line-height:1.5}.audit-workflow__layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(250px,.7fr);gap:16px;align-items:start}.audit-workflow__form,.audit-workflow__recent{min-width:0;padding:18px;border:1px solid #ded4bd;border-radius:18px;background:#fffdf8}.audit-workflow__form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.audit-workflow__context,.audit-workflow__modes,.audit-workflow__field:has(textarea),.audit-workflow__details,.audit-workflow__urgent,.audit-workflow__error,.audit-workflow__success,.audit-workflow__actions{grid-column:1/-1}.audit-workflow__context{display:grid;gap:3px;padding:12px 14px;border-radius:12px;background:#f2e8c9}.audit-workflow__context span,.audit-workflow__context small{color:#716d7a;font-size:11px}.audit-workflow__context strong{font-size:14px}.audit-workflow__field{display:grid;gap:6px;min-width:0;color:#555064;font-size:12px;font-weight:700}.audit-workflow__field.is-wide{grid-column:1/-1}.audit-workflow__field.is-check{display:flex;align-items:center;gap:9px;min-height:44px;padding:10px 12px;border:1px solid #d8cfbb;border-radius:11px;background:#fff;cursor:pointer}.audit-workflow__field.is-check input{width:18px;min-height:18px;margin:0;accent-color:#92742e}.audit-workflow__field :is(input,select,textarea){box-sizing:border-box;width:100%;min-height:44px;padding:10px 12px;border:1px solid #d8cfbb;border-radius:11px;background:#fff;color:#292742;font:400 14px/1.45 inherit}.audit-workflow__field textarea{resize:vertical}.audit-workflow__modes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0;padding:0;border:0}.audit-workflow__modes legend{margin-bottom:7px;color:#555064;font-size:12px;font-weight:700}.audit-workflow__modes label{display:flex;align-items:flex-start;gap:8px;padding:10px 12px;border:1px solid #ded4bd;border-radius:12px;background:#fff;cursor:pointer}.audit-workflow__modes input{margin-top:3px;accent-color:#92742e}.audit-workflow__modes span{display:grid;gap:2px}.audit-workflow__modes small{color:#747081;font-size:11px;line-height:1.3}.audit-workflow__details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:14px;border:1px dashed #c9b982;border-radius:13px;background:#fbf7ed}.audit-workflow__details[hidden]{display:none}.audit-workflow__details>.audit-workflow__field:nth-last-child(2){grid-column:1/-1}.audit-workflow__insight{grid-column:1/-1;margin:0;padding:11px 13px;border-radius:11px;background:#292742;color:#f7f1df;font-size:12px;line-height:1.45}.audit-workflow__urgent{display:flex;align-items:flex-start;gap:9px;padding:11px 13px;border:1px solid #dec98d;border-radius:12px;background:#f8eed1;cursor:pointer}.audit-workflow__urgent input{margin-top:3px;accent-color:#92742e}.audit-workflow__urgent span{display:grid;gap:2px}.audit-workflow__urgent small{color:#747081;font-size:11px}.audit-workflow__error{margin:0;padding:10px 12px;border-radius:10px;background:#f9dfdc;color:#8b2922;font-size:13px}.audit-workflow__error[hidden],.audit-workflow__success[hidden]{display:none}.audit-workflow__success{display:grid;gap:3px;padding:11px 13px;border-radius:11px;background:#e4f0dc;color:#315b2c;font-size:13px}.audit-workflow__actions{display:flex;align-items:center;justify-content:space-between;gap:10px}.audit-workflow__actions a{color:#795e22;font-size:13px;font-weight:700}.audit-workflow__actions button{min-height:44px;padding:10px 16px;border:1px solid #a78533;border-radius:11px;background:#e6d292;color:#292742;font-weight:750;cursor:pointer}.audit-workflow__actions button:disabled{cursor:wait;opacity:.6}.audit-workflow__recent{position:sticky;top:116px}.audit-workflow__recent h3{margin:0 0 12px;font-size:16px}.audit-workflow__loading,.audit-workflow__empty{margin:0;color:#747081;font-size:13px;line-height:1.5}.audit-workflow__recent-list{display:grid;gap:9px}.audit-workflow__recent-list article{padding:10px 11px;border:1px solid #e2d9c5;border-radius:11px;background:#fff}.audit-workflow__recent-list article>div{display:flex;align-items:center;justify-content:space-between;gap:8px}.audit-workflow__recent-list article span{padding:3px 7px;border-radius:20px;background:#eee8db;color:#5e5968;font-size:10px;font-weight:800}.audit-workflow__recent-list article span.is-in-progress{background:#eee3bf;color:#795e22}.audit-workflow__recent-list article span.is-resolved{background:#e1efdc;color:#315b2c}.audit-workflow__recent-list article p{display:-webkit-box;margin:8px 0 5px;overflow:hidden;color:#4d485a;font-size:12px;line-height:1.4;-webkit-box-orient:vertical;-webkit-line-clamp:2}.audit-workflow__recent-list article small{color:#8a8593;font-size:10px}
@media(max-width:760px){.audit-hub-dialog{width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:20px}.audit-hub-dialog__header{padding:16px 18px}.audit-hub-dialog__header h2{font-size:23px}.audit-hub-dialog__header p{font-size:13px}.audit-hub-grid{grid-template-columns:1fr;padding:14px 18px}.audit-hub-card{min-height:104px}.audit-workflow{padding:14px 18px 20px}.audit-workflow__layout{grid-template-columns:1fr}.audit-workflow__form{grid-template-columns:1fr;padding:14px}.audit-workflow__context,.audit-workflow__modes,.audit-workflow__field,.audit-workflow__details,.audit-workflow__urgent,.audit-workflow__error,.audit-workflow__success,.audit-workflow__actions{grid-column:1}.audit-workflow__details{grid-template-columns:1fr}.audit-workflow__details .audit-workflow__field,.audit-workflow__insight{grid-column:1}.audit-workflow__recent{position:static}.audit-workflow__toolbar{align-items:stretch;flex-direction:column}.audit-workflow__actions{align-items:stretch;flex-direction:column}.audit-workflow__actions button{width:100%}}
