.page-heading p{max-width:850px;line-height:1.8}
.brand-mark{width:44px;height:44px;flex-shrink:0;border-radius:13px;background:linear-gradient(145deg,#839aff,#4b6cf0);box-shadow:0 6px 18px #14235330}
.brand-mark svg{width:40px;height:38px;overflow:visible;transform:skewX(-8deg)}
.brand-mark path{stroke:#fff;stroke-width:3.2;stroke-linecap:round;stroke-linejoin:round}
.brand-mark .logo-y{stroke:#dce6ff}
.sidebar nav{padding-top:14px}
.workflow-toolbar{display:flex;gap:9px;flex-wrap:wrap;padding:15px 22px 0}
.date-hint{flex-basis:100%;color:#8591a5;font-size:11px;line-height:1.7}
.business-note{margin:0;padding:13px 20px;color:#627590;background:#edf3ff;line-height:1.8;font-size:12px}
.legacy-panel{display:flex;flex-direction:column}
.legacy-panel .legacy-frame{flex:1;min-height:0;height:auto}
.row-actions{position:sticky;right:0;background:#fff;box-shadow:-5px 0 10px #24385c06}
.row-actions button+button{margin-left:12px}
.danger-text{color:#d86573}
.status-toggle{color:#4167f0;border-bottom:1px dashed #a8bafa;padding:2px 0}
.business-dialog{width:min(680px,calc(100vw - 32px));max-height:85vh;border:1px solid #e4eaf3;border-radius:12px;padding:0;color:var(--text);box-shadow:0 20px 90px #13234030}
.business-dialog::backdrop{background:#15213666}
.business-dialog header{display:flex;align-items:center;justify-content:space-between;padding:17px 24px;border-bottom:1px solid var(--line);position:sticky;top:0;background:white;z-index:1}
.business-dialog header h2{margin:0;font-size:16px}
.dialog-body{padding:22px}
.template-headers{font-size:12px;line-height:1.9;background:#f8fafd;padding:14px 18px;border-radius:6px;margin:18px 0}
.template-headers p{margin:6px 0 0;color:#718199}
.workflow-form label{display:flex;flex-direction:column;gap:10px;margin:20px 0;font-size:12px;color:#65758d}
.workflow-form select,.workflow-form input{width:100%;border:1px solid #dfe6f0;border-radius:5px;padding:10px;background:white}
.workflow-form input:disabled{background:#f3f5f9;cursor:not-allowed}
.workflow-result{font-size:12px;line-height:1.8;white-space:pre-wrap;color:#54709c;overflow-wrap:anywhere}
.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}
.record-detail{margin:0;display:grid;grid-template-columns:1fr 1fr;gap:0 24px}
.record-detail>div{padding:13px 0;border-bottom:1px solid var(--line);min-width:0}
.record-detail dt{font-size:11px;color:#8c99ae;margin-bottom:8px}
.record-detail dd{margin:0;font-size:13px;line-height:1.8;overflow-wrap:anywhere;white-space:pre-wrap}
.registration-card{max-width:1040px}
.registration-form{padding:26px}
.registration-form h2{margin:0 0 24px;font-size:16px}
.registration-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px 30px;margin-bottom:26px}
.registration-grid label{display:block;font-size:12px;color:#65758d}
.registration-grid label>span{color:#df718d}
.registration-grid input,.registration-grid select{display:block;width:100%;margin-top:9px;padding:11px;border:1px solid #dfe6f0;border-radius:5px;background:#fff;color:var(--text);font:inherit}
@media(max-width:800px){.registration-grid{grid-template-columns:1fr}.registration-form{padding:18px}}
@media(max-width:800px){.page-heading{align-items:flex-start;gap:12px}.page-heading p{max-width:100%}.record-detail{grid-template-columns:1fr}.workflow-toolbar{padding:14px 15px 0}.business-dialog header{padding:14px 18px}.dialog-body{padding:18px}}
