:root{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:#1d2939;background:#f6f7f9;font-size:14px;line-height:1.5;font-synthesis:none;--blue:#1677ff;--blue-dark:#0958d9;--border:#e3e7ed;--muted:#667085;--income:#237548;--expense:#b73737}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}a{color:var(--blue-dark);text-underline-offset:3px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #91caff;outline-offset:2px}button{border:1px solid #d1d7e0;border-radius:5px;background:#fff;color:#344054;min-height:34px;padding:6px 13px;font-weight:500}button:hover:not(:disabled){border-color:#91baf5;background:#f5f9ff;color:var(--blue-dark)}button.primary{color:#fff;background:var(--blue);border-color:var(--blue)}button.primary:hover:not(:disabled){color:#fff;background:var(--blue-dark);border-color:var(--blue-dark)}button.danger{color:var(--expense);border-color:#efc6c6}button.danger:hover:not(:disabled){color:#982929;background:#fff2f2;border-color:#d67f7f}button.quiet{background:transparent;border-color:transparent}button.small{font-size:12px;min-height:28px;padding:3px 8px}button.link-button{border:0;background:none;padding:2px 4px;min-height:24px;color:var(--blue-dark);font-size:13px}button.link-button.danger{color:var(--expense)}input,select,textarea{border:1px solid #cfd6df;border-radius:4px;background:#fff;color:#1d2939;min-height:36px;padding:7px 10px;min-width:0;width:100%}input:hover,select:hover,textarea:hover{border-color:#91baf5}input::placeholder,textarea::placeholder{color:#8c96a5}textarea{resize:vertical;min-height:76px}input[type=checkbox]{width:16px;min-height:16px;accent-color:var(--blue)}h1,h2,h3,p{margin:0}h1{font-size:22px;line-height:1.35;font-weight:650;letter-spacing:.1px}h2{font-size:17px;font-weight:650}h3{font-size:15px;font-weight:600}.muted{color:var(--muted)}.small-text{font-size:12px}.income{color:var(--income)}.expense{color:var(--expense)}.amount{font-variant-numeric:tabular-nums;font-feature-settings:"tnum";white-space:nowrap;text-align:right}.skip-link{position:fixed;top:-50px;left:12px;z-index:1000;padding:8px 14px;background:#fff;border:1px solid var(--blue)}.skip-link:focus{top:8px}.startup{padding:25vh 24px;text-align:center;color:var(--muted)}
.login-page{min-height:100vh;display:grid;grid-template-columns:minmax(340px,42%) 1fr;background:#fff}.login-side{background:#111827;color:#fff;padding:60px max(32px,7vw);display:flex;flex-direction:column;justify-content:space-between;min-height:100vh}.brand{display:flex;align-items:center;gap:11px}.brand-mark{width:35px;height:35px;border-radius:7px;background:var(--blue);color:#fff;display:grid;place-items:center;font-size:19px;font-weight:700}.brand-name{font-size:18px;font-weight:650;letter-spacing:1px}.brand-sub{font-size:11px;color:#98a2b3;letter-spacing:.3px}.login-heading{font-size:32px;font-weight:600;line-height:1.7;margin:48px 0 14px}.login-copy{font-size:15px;color:#b1bac8;line-height:1.9;max-width:26em}.login-ledger{margin-top:36px;border-top:1px solid #394150;border-bottom:1px solid #394150;padding:17px 0;display:flex;gap:26px;color:#cbd2de;font-size:13px}.login-side-footer{font-size:12px;color:#98a2b3;margin-top:40px}.login-main{display:flex;align-items:center;justify-content:center;padding:50px 32px}.login-form{width:min(100%,360px)}.login-form h1{font-size:26px;margin-bottom:9px}.login-form>p{margin-bottom:30px}.login-form .field{margin-bottom:18px}.login-form input{min-height:44px}.login-submit{width:100%;min-height:44px;margin-top:7px}.login-note{margin-top:24px;padding-top:20px;border-top:1px solid var(--border);font-size:12px;color:var(--muted)}
.shell{display:grid;grid-template-columns:202px minmax(0,1fr);min-height:100vh}.sidebar{position:fixed;width:202px;inset:0 auto 0 0;background:#111827;color:#d0d5dd;display:flex;flex-direction:column;z-index:20}.sidebar .brand{height:76px;padding:0 20px;border-bottom:1px solid #293140}.sidebar .brand-mark{width:31px;height:31px;font-size:17px}.sidebar .brand-name{font-size:16px}.side-group{padding:21px 12px 0}.side-group-label{padding:0 12px 9px;color:#909bad;font-size:11px}.nav-item{width:100%;display:flex;align-items:center;gap:11px;margin-bottom:4px;border:0;background:transparent;color:#b9c1cf;text-align:left;min-height:39px;padding:8px 12px;font-size:13px;border-radius:5px}.nav-item svg{width:17px;height:17px;flex:none}.nav-item:hover:not(:disabled){background:#202b3e;color:#fff}.nav-item.active{background:#fff;color:#111827;font-weight:600}.nav-item.active:hover:not(:disabled){background:#fff;color:#111827}.sidebar-footer{margin-top:auto;padding:22px 24px;color:#8f9bae;font-size:11px}.sidebar-footer strong{display:block;color:#bbc4d2;font-weight:500;margin-bottom:3px}.workspace{grid-column:2;min-width:0}.topbar{height:57px;background:#fff;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:0 27px;gap:16px}.topbar-label{display:flex;align-items:center;gap:9px;font-size:12px;color:var(--muted)}.status-dot{width:6px;height:6px;border-radius:50%;background:#369365;display:inline-block}.user-actions{display:flex;gap:8px;align-items:center;font-size:12px}.user-name{padding-right:7px;color:#475467}.menu-toggle{display:none}.page{padding:25px 27px 32px;max-width:1760px;margin:0 auto}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px}.page-subtitle{font-size:12px;color:var(--muted);margin-top:5px}.heading-actions{display:flex;gap:8px;flex-wrap:wrap}.content-panel{background:#fff;border:1px solid var(--border);border-radius:6px;overflow:hidden}.panel-heading{padding:16px 19px;display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid var(--border)}.panel-heading p{font-size:12px;color:var(--muted);margin-top:3px}.panel-body{padding:20px}.filter-bar{padding:17px 19px;background:#fff;border-bottom:1px solid var(--border);display:flex;flex-wrap:wrap;gap:12px;align-items:end}.filter-bar .field{min-width:120px;flex:1 1 130px;max-width:210px}.filter-bar .field.search-field{flex:1.5 1 200px;max-width:280px}.filter-bar .field.date-field{max-width:158px}.filter-actions{display:flex;gap:7px;padding-bottom:1px}.field{display:flex;flex-direction:column;gap:6px}.field>span,.field>label{font-size:12px;font-weight:500;color:#475467}.field small{font-size:11px;color:var(--muted)}.required::after{content:" *";color:var(--expense)}.summary-strip{display:flex;gap:0;padding:16px 20px;background:#fff;border-bottom:1px solid var(--border)}.summary-cell{padding:0 32px;border-left:1px solid var(--border);min-width:180px}.summary-cell:first-child{padding-left:0;border-left:0}.summary-label{font-size:12px;color:var(--muted);margin-bottom:3px}.summary-value{font-size:22px;line-height:1.3;font-weight:600;letter-spacing:.2px;font-variant-numeric:tabular-nums}.summary-value small{font-size:12px;font-weight:400;color:var(--muted);margin-right:5px}.summary-note{margin-left:auto;color:var(--muted);font-size:11px;align-self:end}.table-wrap{overflow:auto;width:100%;min-height:160px}table{border-collapse:collapse;width:100%;font-size:13px;text-align:left}th{background:#f9fafb;color:#667085;font-weight:500;font-size:12px;white-space:nowrap;padding:11px 13px;border-bottom:1px solid var(--border)}td{padding:12px 13px;border-bottom:1px solid #edf0f4;vertical-align:middle}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fafcff}th:first-child,td:first-child{padding-left:20px}th:last-child,td:last-child{padding-right:20px}.ledger-table{min-width:1070px}.cell-date{white-space:nowrap;font-variant-numeric:tabular-nums}.cell-summary{min-width:170px;max-width:300px}.cell-summary strong{display:block;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:300px}.cell-summary small{font-size:11px;color:var(--muted);display:block;margin-top:2px;max-width:300px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cell-actions{white-space:nowrap}.type-label{font-size:11px;font-weight:500;display:inline-block;border-radius:3px;padding:1px 5px;background:#f0f6f2;color:var(--income)}.type-label.expense{color:var(--expense);background:#fcf0f0}.status-label{font-size:11px;white-space:nowrap;padding:3px 7px;border-radius:3px;background:#f1f3f6;color:#667085}.status-label.checked{background:#eaf5ee;color:#237548}.status-label.issue{background:#fff4e5;color:#9a6400}.pagination{padding:13px 19px;border-top:1px solid var(--border);display:flex;justify-content:space-between;align-items:center;gap:12px;color:var(--muted);font-size:12px}.pagination-controls{display:flex;align-items:center;gap:10px}.pagination select{width:84px;min-height:30px;padding:3px 6px;font-size:12px}.empty-cell{text-align:center;padding:58px 24px!important;color:var(--muted)}.empty-cell strong{display:block;color:#475467;font-weight:500;margin-bottom:5px}.empty-cell p{font-size:12px;max-width:32em;margin:0 auto}.error-banner{padding:12px 15px;background:#fff3f2;border:1px solid #f4c7c3;border-radius:5px;color:#9b2c26;font-size:13px;overflow-wrap:anywhere;margin-bottom:16px}.error-banner:empty{display:none}.loading-line{height:2px;background:#d9eaff;overflow:hidden}.loading-line::after{content:"";display:block;width:25%;height:100%;background:var(--blue);animation:loading 1.3s infinite linear}.page-loading{padding:70px 24px;text-align:center;color:var(--muted)}.tabs{display:flex;gap:23px;padding:0 20px;border-bottom:1px solid var(--border);background:#fff;overflow:auto}.tab{border:0;border-bottom:2px solid transparent;background:transparent;white-space:nowrap;border-radius:0;padding:13px 0;font-weight:500;color:var(--muted)}.tab.active{border-bottom-color:var(--blue);color:var(--blue-dark)}.data-toolbar{padding:15px 20px;display:flex;justify-content:space-between;align-items:center;gap:15px}.data-toolbar p{font-size:12px;color:var(--muted)}.notice{background:#f5f9ff;border:1px solid #d5e5fc;border-radius:5px;color:#435a79;font-size:12px;padding:12px 14px;margin-bottom:18px}.notice strong{font-weight:600}.report-header{display:flex;gap:12px;align-items:end}.report-header .field{width:130px}.table-total td{font-weight:600;background:#fafbfc;border-top:1px solid var(--border)}.subsection{margin-top:20px}.badge-admin{color:var(--blue-dark);font-size:11px;padding:2px 7px;background:#eaf3ff;border-radius:3px}.report-meter{display:flex;height:5px;background:#f0f2f5;border-radius:1px;overflow:hidden;min-width:100px;margin-top:6px}.report-meter span{background:#7daff3;display:block}.report-meter .out{background:#da9f9f}.account-name{font-weight:500}.number-positive{color:var(--income)}.number-negative{color:var(--expense)}
dialog{border:1px solid #d8dde6;border-radius:8px;padding:0;width:min(640px,calc(100vw - 28px));max-height:calc(100vh - 40px);color:#1d2939;box-shadow:0 16px 60px #11182726}dialog::backdrop{background:#11182766}dialog.wide{width:min(850px,calc(100vw - 28px))}.dialog-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 22px;border-bottom:1px solid var(--border)}.dialog-close{border:0;background:transparent;min-height:28px;width:28px;padding:0;font-size:23px;line-height:1;color:var(--muted);font-weight:400}.dialog-body{padding:21px 22px;overflow:auto;max-height:calc(100vh - 205px)}.dialog-body>p{margin-bottom:16px;color:#475467;font-size:13px}.dialog-footer{border-top:1px solid var(--border);padding:14px 22px;display:flex;justify-content:flex-end;gap:9px;background:#fafbfc}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px 19px}.form-grid .full{grid-column:1/-1}.form-grid .amount-input{font-size:20px;font-variant-numeric:tabular-nums;font-weight:500;padding:9px 11px}.form-error{margin:0 0 15px;padding:9px 12px;color:#9b2c26;background:#fff1f0;border:1px solid #f2c8c5;border-radius:4px;font-size:12px;overflow-wrap:anywhere}.form-error:empty{display:none}.direction-switch{display:flex;gap:0}.direction-switch button{flex:1;border-radius:0;background:#fff}.direction-switch button:first-child{border-radius:4px 0 0 4px}.direction-switch button:last-child{border-radius:0 4px 4px 0;border-left:0}.direction-switch button.active{color:var(--blue-dark);background:#edf5ff;border-color:#91baf5}.attachment-list{list-style:none;padding:0;margin:0 0 18px}.attachment-list li{display:flex;gap:10px;align-items:center;padding:11px 0;border-bottom:1px solid var(--border);font-size:13px}.attachment-list a{flex:1;overflow-wrap:anywhere}.upload-area{background:#f9fafb;border:1px dashed #cbd3df;border-radius:5px;padding:17px}.upload-area input{background:#fff;max-width:100%;font-size:12px}.upload-area p{font-size:11px;color:var(--muted);margin:8px 0 0}.permission-list{display:grid;grid-template-columns:1fr 1fr;gap:9px}.permission-list label{display:flex;align-items:center;gap:7px;font-size:12px}.notifications{position:fixed;top:15px;left:50%;transform:translateX(-50%);z-index:100;max-width:min(500px,calc(100vw - 32px));pointer-events:none}.toast{padding:11px 18px;background:#fff;border:1px solid #d4e5d9;border-radius:6px;color:#24623d;box-shadow:0 4px 20px #11182714;font-size:13px;margin-bottom:7px}.toast.error{color:#9b2c26;border-color:#f0c8c5}.checkbox-field{display:flex;align-items:center;gap:8px;font-size:13px}.mobile-close{display:none}
.log-detail{min-width:220px;max-width:620px;overflow-wrap:anywhere}
@keyframes loading{from{transform:translateX(-100%)}to{transform:translateX(500%)}}
@media(min-width:1500px){.page{padding:30px 36px}.topbar{padding:0 36px}.ledger-table td{padding-top:14px;padding-bottom:14px}}
@media(max-width:1100px){.shell{grid-template-columns:180px minmax(0,1fr)}.sidebar{width:180px}.sidebar .brand{padding:0 15px}.page{padding:22px 20px}.topbar{padding:0 20px}.summary-cell{min-width:150px;padding:0 22px}.summary-note{display:none}.user-name{display:none}.filter-bar .field{min-width:130px;max-width:none}.filter-bar .field.date-field{max-width:none}}
@media(max-width:760px){.shell{display:block}.sidebar{transform:translateX(-100%);width:220px;box-shadow:0 0 0 100vmax #11182755;visibility:hidden}.shell.menu-open .sidebar{transform:translateX(0);visibility:visible}.sidebar .brand{height:67px}.mobile-close{display:block;margin-left:auto;color:#cbd2de;border:0;background:transparent;font-size:20px;padding:0;min-width:26px}.menu-toggle{display:inline-grid;place-items:center;padding:4px;width:31px;min-height:31px;font-size:19px}.topbar{height:54px;padding:0 13px}.topbar-label .topbar-text{display:none}.user-actions{gap:2px}.user-actions .quiet{padding:5px 8px;font-size:11px}.page{padding:19px 13px 24px}.page-heading{align-items:flex-start;margin-bottom:15px;gap:12px}h1{font-size:20px}.page-subtitle{max-width:230px;font-size:11px}.heading-actions{gap:5px;justify-content:flex-end}.heading-actions button{padding:6px 9px;font-size:12px}.filter-bar{padding:13px;gap:10px}.filter-bar .field,.filter-bar .field.search-field,.filter-bar .field.date-field{min-width:calc(50% - 5px);max-width:none;flex:1}.filter-actions{width:100%;justify-content:flex-end}.summary-strip{padding:14px 13px;justify-content:space-between;gap:9px}.summary-cell{padding:0 0 0 10px;min-width:0;flex:1}.summary-value{font-size:17px;letter-spacing:0}.summary-value small{display:none}.summary-label{font-size:11px}.pagination{padding:12px 13px;align-items:flex-start}.pagination-controls{gap:6px;flex-wrap:wrap;justify-content:flex-end}.pagination>span{padding-top:5px;white-space:nowrap}.pagination select{display:none}.panel-heading{padding:14px}.data-toolbar{padding:14px;align-items:flex-start}.form-grid{gap:14px;grid-template-columns:1fr}.form-grid .full{grid-column:auto}.dialog-header{padding:16px 18px}.dialog-body{padding:18px;max-height:calc(100dvh - 190px)}.dialog-footer{padding:12px 18px}.login-page{display:block}.login-side{min-height:0;padding:24px;gap:0}.login-heading,.login-copy,.login-ledger,.login-side-footer{display:none}.login-main{padding:40px 24px}.login-form{max-width:380px}.login-form h1{font-size:24px}.permission-list{grid-template-columns:1fr}.report-header{flex-wrap:wrap}.report-header .field{width:100px}.panel-body{padding:15px}.notice{font-size:11px}.table-wrap{min-height:140px}.tabs{padding:0 14px;gap:20px}.tab{font-size:13px}.notifications{top:8px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;scroll-behavior:auto!important}}

.ledger-picker {margin:8px 16px 12px;width:calc(100% - 32px);background:#263547;color:#f8fafc;border-color:#526175}
.mobile-bottom {display:none}
:root[data-theme="dark"] {color-scheme:dark;--bg:#101820;--surface:#18232e;--text:#edf2f7;--muted:#afbdcc;--border:#344453}
[data-theme="dark"] body,[data-theme="dark"] .page,[data-theme="dark"] .workspace {background:#101820;color:#edf2f7}
[data-theme="dark"] .content-panel,[data-theme="dark"] .topbar,[data-theme="dark"] dialog,[data-theme="dark"] .login-main {background:#18232e;color:#edf2f7;border-color:#344453}
[data-theme="dark"] th,[data-theme="dark"] .summary-strip,[data-theme="dark"] .filter-bar,[data-theme="dark"] .dialog-footer {background:#202e3b;color:#cbd5e1}
[data-theme="dark"] input,[data-theme="dark"] select,[data-theme="dark"] textarea,[data-theme="dark"] button:not(.primary):not(.nav-item) {background:#202e3b;color:#edf2f7;border-color:#4d5c6b}
[data-theme="dark"] td,[data-theme="dark"] th {border-color:#344453}
@media(max-width:760px) {
 .mobile-bottom {position:fixed;display:flex;align-items:center;justify-content:space-around;bottom:0;left:0;right:0;padding:7px 4px calc(7px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #d8e0e9;z-index:40;gap:3px}
 .mobile-bottom button {display:flex;flex-direction:column;gap:3px;align-items:center;justify-content:center;flex:1;padding:3px 0;border:0;border-radius:6px;min-height:48px;font-size:12px}
 .mobile-bottom svg {width:19px;height:19px}
 .mobile-bottom .quick-add {flex:1.4;font-size:15px;white-space:nowrap;min-height:44px}
 .mobile-bottom button.active {color:#1f4e79;background:#eef4fb}
 .page {padding-bottom:110px!important}
 .user-actions .user-name {display:none}
 .user-actions {gap:3px}
 .topbar-text {max-width:32vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .sidebar {z-index:60}
 [data-theme="dark"] .mobile-bottom {background:#18232e;border-color:#344453}
 .summary-strip {display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
 .summary-cell {padding:12px 8px;min-width:0}
 .summary-value {font-size:18px;overflow-wrap:anywhere}
 .summary-note {grid-column:1/-1;padding:8px}
 .filter-bar {display:grid;grid-template-columns:1fr 1fr}
 .filter-bar .search-field,.filter-actions {grid-column:1/-1}
}
.batch-bar{display:flex;align-items:center;gap:8px;padding:10px 16px;border-top:1px solid var(--border);flex-wrap:wrap}
.batch-bar>span{margin-right:auto;color:var(--muted);font-size:13px}
.ledger-check{width:18px;height:18px;accent-color:#234f78}
@media(max-width:760px){
 .ledger-table{display:block;min-width:0!important;width:100%}
 .ledger-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
 .ledger-table tbody{display:block;padding:0 15px}
 .ledger-table .ledger-row{position:relative;display:grid;grid-template-columns:24px 1fr auto;gap:6px 8px;padding:16px 0;border-bottom:1px solid #d8e0e9}
 .ledger-table td{padding:0!important;border:0!important;min-width:0;white-space:normal;line-height:1.5;max-width:none}
 .ledger-row .cell-check{grid-column:1;grid-row:1/3;align-self:center}
 .ledger-row .cell-date{grid-column:2;grid-row:1;font-size:12px;color:#697b8b}
 .ledger-row .cell-summary{grid-column:2;grid-row:2/4}
 .ledger-row .cell-summary strong,.ledger-row .cell-summary small{white-space:normal;max-width:none;overflow-wrap:anywhere}
 .ledger-row .amount{grid-column:3;grid-row:2;font-size:20px;align-self:start;white-space:nowrap;font-variant-numeric:tabular-nums}
 .ledger-row .cell-direction{grid-column:3;grid-row:1;text-align:right}
 .ledger-row .cell-department{grid-column:2;grid-row:4;color:#697b8b;font-size:12px}
 .ledger-row .cell-category{grid-column:3;grid-row:4;text-align:right;color:#697b8b;font-size:12px}
 .ledger-row .cell-account{grid-column:2;grid-row:5;color:#697b8b;font-size:12px}
 .ledger-row .cell-status{grid-column:3;grid-row:5;text-align:right}
 .ledger-row .cell-vouchers{grid-column:2;grid-row:6}
 .ledger-row .cell-actions{grid-column:3;grid-row:6;display:flex;justify-content:flex-end;gap:16px}
 .ledger-table .empty-cell{display:block;padding:30px!important}
 .batch-bar{padding:8px 15px;gap:5px}
 .batch-bar button{font-size:12px;min-height:36px!important;padding:5px 8px}
 .batch-bar>span{width:100%;font-size:12px}
}
.ledger-filter>summary,.ledger-batch>summary{padding:10px 16px;font-size:13px;color:#526578;cursor:pointer;border-bottom:1px solid #e3e7ed}
@media(max-width:760px){.topbar-text{display:inline!important;max-width:25vw}.ledger-filter>summary,.ledger-batch>summary{min-height:44px;display:flex;align-items:center}.ledger-filter>summary::before,.ledger-batch>summary::before{content:'▸';margin-right:8px}.ledger-filter[open]>summary::before,.ledger-batch[open]>summary::before{content:'▾'}}
.sidebar{overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#526175 #111827}
.sidebar>*{flex-shrink:0}
.sidebar .brand{min-height:76px}
.side-group{padding-top:14px}
.sidebar-footer{padding-bottom:30px}
.assistant-panel{margin-bottom:18px}
.assistant-answer{font-size:14px;line-height:1.75;overflow-wrap:anywhere}
.assistant-answer p{margin:10px 0;white-space:pre-wrap}
.assistant-check{display:flex;align-items:flex-start;gap:9px;line-height:1.6;margin:12px 0;font-size:13px}
.assistant-check input{flex:none;width:18px;height:18px;margin-top:3px}
.assistant-image{padding:16px;background:#f7f9fc;border:1px solid #dce3ec;border-radius:5px;margin:14px 0}
.assistant-draft-note{max-width:300px;white-space:normal;overflow-wrap:anywhere;font-size:12px;color:#667085}
.assistant-config-line{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:12px 0;line-height:1.7}
.assistant-panel textarea{min-height:130px;resize:vertical}
[data-theme="dark"] .assistant-image{background:#202e3b;border-color:#344453}
@media(max-width:760px){.assistant-panel .panel-body{padding:15px}.assistant-config-line{align-items:stretch}.assistant-config-line>button{flex:1}.assistant-draft-note{max-width:none}.assistant-check{font-size:13px}}
.sort-button{border:0;background:transparent;color:inherit;padding:0;min-height:24px;font-size:12px;text-align:inherit;border-radius:0}
.sort-button:hover{color:#1f4e79;background:transparent!important}
