.action-drawer-backdrop{position:fixed;inset:0;z-index:80;background:#0b1526a6;backdrop-filter:blur(2px)}
.action-drawer{position:fixed;z-index:81;top:0;right:0;width:min(540px,100%);height:100vh;background:#fff;box-shadow:-24px 0 70px #14213d30;transform:translateX(105%);transition:transform .28s ease;overflow:auto;padding:28px}
.action-drawer.open{transform:none}
.action-drawer>header{display:flex;justify-content:space-between;gap:20px;padding-bottom:10px;border-bottom:1px solid #e5e9ef}
.action-drawer header span{color:#2563eb;font-size:11px;font-weight:800;letter-spacing:1.5px}
.action-drawer h2{font-size:30px;line-height:1.1;margin:7px 0;color:#132039}
.action-drawer header p{margin:0;color:#718078;font-size:14px;line-height:1.55}
.action-drawer header button{border:0;background:#f1f4f8;width:38px;height:38px;border-radius:50%;font-size:24px;cursor:pointer;flex:0 0 auto}
.action-drawer form{padding:8px 0 0}
.action-drawer fieldset{border:0;padding:0;margin:0 0 22px}
.action-drawer form>fieldset:first-child>label:first-child{margin-top:0}
.action-drawer legend{font-size:14px;font-weight:800;color:#17233a;border-bottom:1px solid #e9edf2;width:100%;padding-bottom:10px;margin-bottom:12px}
.action-drawer label{display:block;color:#344054;font-size:12px;font-weight:700;margin:12px 0}
.action-drawer input,.action-drawer select,.action-drawer textarea{display:block;width:100%;margin-top:7px;border:1px solid #d7dee8;border-radius:8px;padding:12px 13px;background:#fff;color:#17233a;font:500 14px Inter,Arial,sans-serif;box-sizing:border-box}
.action-drawer textarea{resize:vertical}
.action-drawer input:focus,.action-drawer select:focus,.action-drawer textarea:focus{outline:3px solid #dbe7ff;border-color:#2563eb}
.action-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.action-file small{display:block;color:#849189;font-weight:400;margin-top:5px}
.action-check{display:flex!important;align-items:flex-start;gap:10px;background:#f6f8fb;border:1px solid #e4e9f0;border-radius:9px;padding:13px!important}
.action-check input{width:18px!important;height:18px;margin:1px 0 0!important;flex:0 0 auto}
.action-check b,.action-check small{display:block}.action-check small{font-weight:400;color:#7c8982;margin-top:4px}
.action-drawer form>footer{display:flex;justify-content:flex-end;gap:10px;padding-top:18px;border-top:1px solid #e5e9ef}
.action-drawer footer button{border:1px solid #d6dde6;background:#fff;border-radius:8px;padding:12px 18px;font:700 13px Inter,Arial;cursor:pointer}
.action-drawer footer .action-primary{background:#2563eb;border-color:#2563eb;color:#fff;min-width:150px}
.action-toast{position:fixed;z-index:90;right:24px;bottom:24px;background:#193d32;color:#fff;border-radius:10px;padding:14px 18px;box-shadow:0 15px 40px #14213d33;font:700 13px Inter,Arial}
body.action-drawer-open{overflow:hidden}
@media(max-width:600px){.action-drawer{padding:20px}.action-form-grid{grid-template-columns:1fr}.action-drawer h2{font-size:26px}.action-drawer form>footer{position:sticky;bottom:-20px;background:#fff;padding:14px 0 0}}

.workspace-record-backdrop{position:fixed;inset:0;z-index:94;background:#0b1526a6;backdrop-filter:blur(3px)}
.workspace-record-drawer{position:fixed;z-index:95;inset:0 0 0 auto;width:min(570px,100%);background:#fff;box-shadow:-24px 0 70px #14213d35;transform:translateX(105%);transition:transform .28s ease;display:grid;grid-template-rows:auto minmax(0,1fr) auto;color:#14213d}
.workspace-record-drawer.open{transform:none}
.workspace-record-drawer>header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:28px 30px 22px;border-bottom:1px solid #e5e9ef}
.workspace-record-drawer header span{display:block;color:#2563eb;font-size:11px;font-weight:850;letter-spacing:1.5px}
.workspace-record-drawer h2{margin:7px 0 6px;font-size:30px;line-height:1.14;letter-spacing:-.7px}
.workspace-record-drawer header p{margin:0;color:#6f7d76;font-size:14px;line-height:1.55}
.workspace-record-drawer header button{border:0;background:#f0f3f7;border-radius:50%;width:40px;height:40px;font-size:25px;line-height:1;cursor:pointer;flex:0 0 auto}
.workspace-record-body{overflow:auto;padding:25px 30px}
.workspace-record-drawer>footer{position:relative;z-index:4;display:flex;justify-content:flex-end;gap:10px;padding:17px 30px;border-top:1px solid #e5e9ef;background:#fff;pointer-events:auto}
.workspace-record-drawer>footer button{position:relative;z-index:5;pointer-events:auto;border:1px solid #d6dde6;background:#fff;border-radius:9px;padding:12px 18px;font:750 13px Inter,Arial,sans-serif;cursor:pointer}
.workspace-record-drawer>footer .record-primary{background:#2563eb;border-color:#2563eb;color:#fff;min-width:145px}
.workspace-record-drawer>footer .record-danger{background:#dc2626;border-color:#dc2626;color:#fff}
.workspace-record-summary{display:flex;align-items:center;gap:14px;border:1px solid #e4e9f0;background:#f7f9fc;border-radius:12px;padding:16px;margin-bottom:20px}
.workspace-record-avatar{display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:#e6efff;color:#1d5be4;font-size:16px;font-weight:850}
.workspace-record-summary strong,.workspace-record-summary span{display:block}.workspace-record-summary strong{font-size:17px}.workspace-record-summary span{margin-top:4px;color:#718078;font-size:13px}
.workspace-record-details{display:grid;grid-template-columns:1fr 1fr;border:1px solid #e3e8ef;border-radius:12px;overflow:hidden;margin:0 0 20px}
.workspace-record-details div{padding:15px;border-bottom:1px solid #e7ebf0}.workspace-record-details div:nth-child(odd){border-right:1px solid #e7ebf0}.workspace-record-details div:nth-last-child(-n+2){border-bottom:0}
.workspace-record-details dt{color:#78867f;font-size:11px;font-weight:750;text-transform:uppercase;letter-spacing:.6px}.workspace-record-details dd{margin:6px 0 0;font-size:14px;font-weight:750;overflow-wrap:anywhere}
.workspace-record-note{border-left:4px solid #2563eb;background:#f3f7ff;border-radius:0 10px 10px 0;padding:17px 18px}.workspace-record-note span{display:block;color:#2563eb;font-size:10px;font-weight:850;letter-spacing:1.2px}.workspace-record-note strong{display:block;margin:8px 0 5px;font-size:15px}.workspace-record-note p{margin:0;color:#64726b;font-size:13px;line-height:1.55}
.workspace-record-form{display:grid;grid-template-columns:1fr 1fr;gap:14px}.workspace-record-form label{font-size:12px;font-weight:750;color:#344054}.workspace-record-form label:nth-child(2n+1):last-child{grid-column:1/-1}
.workspace-record-form input,.workspace-confirmation textarea{box-sizing:border-box;width:100%;margin-top:7px;border:1px solid #d6dde6;border-radius:9px;padding:12px 13px;color:#14213d;background:#fff;font:600 14px Inter,Arial,sans-serif}.workspace-record-form input:focus,.workspace-confirmation textarea:focus{outline:3px solid #dbe7ff;border-color:#2563eb}
.commission-hero{padding:25px;border-radius:14px;background:linear-gradient(135deg,#14213d,#34226d);color:#fff;margin-bottom:20px}.commission-hero span,.commission-hero strong,.commission-hero small{display:block}.commission-hero span{color:#9fbdfd;font-size:11px;font-weight:850;letter-spacing:1.3px}.commission-hero strong{font-size:40px;margin:9px 0 4px}.commission-hero small{color:#d5def2;font-size:13px}
.workspace-confirmation{text-align:center;padding:16px 4px}.workspace-confirmation>i{display:grid;place-items:center;margin:0 auto 18px;width:64px;height:64px;border-radius:50%;background:#fee2e2;color:#dc2626;font:850 28px Inter,Arial}.workspace-confirmation h3{font-size:21px;margin:0 0 8px}.workspace-confirmation p{max-width:430px;margin:0 auto 24px;color:#687770;line-height:1.6}.workspace-confirmation label{display:block;text-align:left;font-size:12px;font-weight:750}
.workspace-action-toast{position:fixed;z-index:110;right:24px;bottom:24px;max-width:min(390px,calc(100% - 48px));background:#173d32;color:#fff;border-radius:11px;padding:14px 18px;box-shadow:0 15px 40px #14213d38;font:750 13px Inter,Arial,sans-serif}
body.workspace-record-open{overflow:hidden}
.workspace-extra-filters{display:grid;grid-template-columns:1fr 1fr 1fr auto auto;gap:10px;align-items:end;padding:15px 22px;background:#f7f9fc;border-bottom:1px solid #e4e9ef}.workspace-extra-filters[hidden]{display:none}.workspace-extra-filters label{font-size:11px;font-weight:700;color:#596961}.workspace-extra-filters input{box-sizing:border-box;width:100%;height:38px;margin-top:6px;border:1px solid #d0d8e2;border-radius:7px;padding:0 10px;background:#fff;color:#17233a}.workspace-extra-filters button{height:38px;border:1px solid #cfd8e3;border-radius:7px;padding:0 14px;background:#fff;color:#334155;font-weight:750;cursor:pointer}.workspace-extra-filters button:first-of-type{background:#2563eb;border-color:#2563eb;color:#fff}
@media(max-width:620px){.workspace-record-drawer>header,.workspace-record-body,.workspace-record-drawer>footer{padding-left:20px;padding-right:20px}.workspace-record-form,.workspace-record-details{grid-template-columns:1fr}.workspace-record-details div,.workspace-record-details div:nth-child(odd){border-right:0;border-bottom:1px solid #e7ebf0}.workspace-record-details div:last-child{border-bottom:0}.workspace-record-form label:nth-child(2n+1):last-child{grid-column:auto}.workspace-record-drawer h2{font-size:25px}}
@media(max-width:820px){.workspace-extra-filters{grid-template-columns:1fr 1fr}.workspace-extra-filters label:first-child{grid-column:auto}}
