.v-eyebrow{font-size:10px;letter-spacing:2px;color:#365fff;font-weight:700;margin-bottom:10px}.v-login{min-height:100vh;display:grid;place-items:center;padding:24px;background:linear-gradient(135deg,#f2f5ff,#f9fafc)}.v-login form{width:min(420px,100%);padding:40px;display:grid;gap:20px}.v-login h1{font-size:30px;margin:0}.v-login p,.v-login small{color:#75819b}.v-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:24px}.v-metrics .card{padding:24px}.v-metrics span{display:block;color:#77839a;font-size:12px}.v-metrics strong{display:block;font-size:26px;margin-top:14px}.v-two{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:22px}.v-hero{display:flex;justify-content:space-between;align-items:center;padding:32px;margin-bottom:24px}.v-hero p{color:#71809b;margin-top:10px}.v-summary{padding:24px;align-self:start}.v-summary strong{display:block;color:#365fff;font-size:32px;margin:26px 0}.v-summary p{color:#75819b;font-size:12px;margin-top:16px;line-height:1.8}.toolbar{margin-bottom:16px;flex-wrap:wrap}.card+.card{margin-top:22px}.v-two .card+.card{margin-top:0}td small{display:block;color:#8a95a8;font-size:10px;margin-top:6px}td .btn{padding:6px 10px;font-size:11px;margin:3px}.v-filters{padding:18px;display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin-bottom:20px}.v-filters label{max-width:200px}.v-photos{display:flex;gap:14px;flex-wrap:wrap;margin-top:14px}.v-photos a{display:grid;gap:6px;color:#657389;font-size:11px}.v-photos img{width:150px;height:100px;object-fit:cover;border:1px solid #e1e7f1;border-radius:8px}pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;max-width:420px;max-height:240px;overflow:auto}.modal-body h3{margin:24px 0 12px}.modal-body .toolbar{margin:18px 0}.sidebar nav{display:grid;gap:5px}.sidebar nav button{border:0;border-radius:8px;text-align:left;padding:12px 16px;background:transparent;color:#71809a;cursor:pointer}.sidebar nav button.selected{background:#eef2ff;color:#3459e9;font-weight:700}.notice .btn{margin-left:14px}.form-error:empty{display:none}.form-error:not(:empty){display:block}.side-bottom p{font-size:11px;color:#78849a;margin:8px 0}.side-bottom .btn{font-size:10px;padding:5px 8px}.detail-grid dd{overflow-wrap:anywhere}.order-entry-body{padding:24px}.modal-body{max-height:75vh;overflow:auto}.empty{padding:40px;text-align:center;color:#8591a6}.empty p{margin-top:12px;font-size:12px}@media(max-width:1050px){.v-metrics{grid-template-columns:repeat(2,1fr)}.v-two{grid-template-columns:1fr}.v-hero{gap:16px}}@media(max-width:720px){.sidebar{position:relative!important;width:100%!important;height:auto!important}.layout{display:block!important}.main{margin-left:0!important}.sidebar nav{display:flex;overflow:auto}.sidebar nav button{white-space:nowrap}.side-bottom{position:static!important;margin-top:16px}.v-hero{flex-direction:column;align-items:start}.v-metrics{gap:10px}.v-metrics .card{padding:16px}.v-metrics strong{font-size:22px}.content{padding:18px!important}.order-entry{display:block}.v-summary{margin-top:18px}.v-login form{padding:26px}}
.group-search{position:relative}.search-results{max-height:260px;overflow:auto;border:1px solid #e4eaf4;border-radius:8px}.search-results:empty{display:none}.search-results button{display:block;width:100%;text-align:left;border:0;background:white;padding:12px 16px;color:#233758;cursor:pointer}.search-results button:hover,.search-results button:focus{background:#eef2ff}.search-results small{display:block;color:#78849a;margin-top:4px}.group-search>small,label>small{color:#78849a;font-size:11px;margin-top:6px;display:block}#batch-rows input{min-width:105px}#batch-rows select{min-width:125px}#batch-rows td:first-child{min-width:90px}#batch-rows table{min-width:1260px}.feedback-groups{display:flex;gap:12px;overflow:auto;margin-bottom:20px}.feedback-groups .card{padding:18px;min-width:200px;border:1px solid #e4eaf4;text-align:left;cursor:pointer;color:#233758}.feedback-groups small{display:block;margin-top:10px;color:#78849a}.feedback-actions{padding:18px 18px 0;flex-wrap:wrap}.feedback-actions+.form-help{padding:0 18px}.paging{padding:18px}.table-wrap a{color:#3459e9}#new-order>.order-entry-actions{padding:20px;border-top:1px solid #edf0f7}.toolbar{flex-wrap:wrap}#edit-form .table-wrap{max-height:45vh;overflow:auto}#edit-form thead{position:sticky;top:0;background:#f7f9ff}#new-order .full{min-width:0}input.feedback-check{width:18px;height:18px}.v-filters .btn{white-space:nowrap}
/* v0.5 workbench */
.order-thumb{width:88px;height:60px;object-fit:contain;border-radius:6px;background:#f4f6fa;display:block}
.paste-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}
.paste-box{padding:16px;border:2px dashed #aebfe8;border-radius:10px;background:#f8faff;min-height:140px;outline:none;cursor:text}
.paste-box:focus{border-color:#365dff;box-shadow:0 0 0 3px #e6ecff}
.paste-box p{font-size:12px;color:#687997}.paste-previews{display:flex;gap:8px;flex-wrap:wrap}.paste-previews>div{width:120px}.paste-previews img{width:120px;height:100px;object-fit:contain;display:block}.table-wrap input:not([type=checkbox]),.table-wrap select{min-width:100px;max-width:210px}.modal-body .table-wrap{max-height:55vh}.modal-footer{flex-wrap:wrap;gap:8px}#draft-detail:empty{display:none}.order-entry-actions>button{white-space:nowrap}#correction-preview pre{max-width:320px;white-space:pre-wrap} .table-wrap td small{display:block;max-width:230px;overflow-wrap:anywhere}

.r6-images,.crm-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.r6-images section{display:flex;align-items:center;flex-wrap:wrap;gap:12px;border:1px solid #e2e8f0;padding:18px;border-radius:10px}.crm-timeline article{border-left:3px solid #dce4ff;padding:12px 20px;margin:12px 0;background:#f8faff}.preserve-lines{white-space:pre-wrap;overflow-wrap:anywhere}details{margin:20px 0}summary{cursor:pointer;font-weight:600;padding:12px 0}td .btn{margin:2px}td pre{max-width:340px;max-height:240px;overflow:auto;white-space:pre-wrap}.paste-grid section{min-width:0}.v-filters .check{align-self:center}@media(max-width:850px){.crm-detail-grid,.r6-images{grid-template-columns:1fr}}

/* v0.7: consistent density, bounded content and usable large edit dialogs */
.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid>.full,.form-grid>label{min-width:0}.table-wrap{max-width:100%;overscroll-behavior-x:contain;overscroll-behavior-y:auto}.table-wrap th{padding:12px 14px;color:#617087;font-weight:600}.table-wrap td{padding:12px 14px;max-width:280px;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}.table-wrap td>a:not(:has(img)),.table-wrap td>small,.cell-ellipsis{max-width:240px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.table-wrap td .btn{display:inline-flex;max-width:none}.table-wrap td:has(input),.table-wrap td:has(select){overflow:visible}.table-wrap input,.table-wrap select{font-size:12px}.detail-link,.modal-head h2{overflow-wrap:anywhere;white-space:normal}.wide-dialog{width:min(1440px,calc(100vw - 32px))}.wide-dialog .modal-body{max-height:68vh}.modal-head{gap:16px}.modal-head h2{min-width:0}.modal-head>.btn{flex-shrink:0}.card>h2,.card>p{padding:16px 20px 0}.card>.toolbar{padding:16px 18px 0}.paging label{display:flex;gap:8px;align-items:center}.paging select{width:100px}.v-filters label{flex:1 1 145px;max-width:220px}.v-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.v-metrics strong{overflow-wrap:anywhere}.status-pill{padding:4px 9px;border-radius:20px;background:#eef3fb;font-size:11px}.num{font-variant-numeric:tabular-nums}.form-help{color:#738199}#batch-rows input[data-key=nickname]{display:block}#correction-preview pre{max-height:160px}@media(max-width:760px){.form-grid{grid-template-columns:minmax(0,1fr)}.v-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.modal-body{padding:18px}.content{padding:16px!important}}

.target-team{padding:20px;border-top:1px solid #e5eaf2}.target-team h3{margin-bottom:16px}.crm-detail-grid>section>dl{padding:20px}.v-filters input,.v-filters select{font-size:12px}.card h2{font-size:16px}td[title]{cursor:default}

/* Page scrolling must continue when the pointer is over a wide table. */
html,body{height:auto;min-height:100%;overflow-y:auto}body{overflow-x:hidden}.layout{align-items:start}.main{min-width:0;overflow:visible}.sidebar{overflow-y:auto;overscroll-behavior-y:auto}.table-wrap{overscroll-behavior-y:auto}.modal-body{overscroll-behavior-y:auto}.audit-value{white-space:pre-wrap;overflow-wrap:anywhere;max-width:440px;font-size:12px;line-height:1.8}.table-wrap td:has(.audit-value){white-space:normal;max-width:440px}.order-thumb{content-visibility:auto}

/* CDK and approval content remain scrollable at narrow widths. */
.cdk-code{font-family:ui-monospace,monospace;white-space:pre-wrap;overflow-wrap:anywhere;user-select:all}.review-order{margin:1rem 0;padding:1rem;border:1px solid var(--border,#dce4ef);border-radius:10px}.review-order p{overflow-wrap:anywhere} .review-summary{padding:16px;background:var(--surface,#fafbfc);border:1px solid var(--line,#e4e8ed);border-radius:8px;margin-bottom:18px}.review-summary h3{margin:0}.review-summary-main{font-weight:600;font-size:17px}.review-impact{font-weight:600}.review-order details,.review-history{margin-top:14px}.review-order details summary,.review-history summary{cursor:pointer;color:var(--muted,#687587);padding:8px 0}.review-order{margin-bottom:20px}.review-order .detail-link{max-width:420px;overflow-wrap:anywhere}
.changed-value{font-weight:700;color:#294ed8;background:#edf2ff;padding:2px 4px}.review-order td{max-width:340px;white-space:normal;overflow-wrap:anywhere}[hidden]{display:none!important}#cdk-lines input{min-width:100px}#cdk-lines select{min-width:200px}#cdk-import-text{font-family:ui-monospace,monospace}#cdk-order .order-entry-body{padding:24px}
/* Compact order list; screenshots stay in the final two columns. */
.order-list-compact table{table-layout:fixed;width:100%;min-width:1580px}.order-list-compact th,.order-list-compact td{padding:10px 6px;white-space:normal;overflow-wrap:anywhere;max-width:none}.order-list-compact th:nth-child(1){width:28px}.order-list-compact th:nth-child(2){width:110px}.order-list-compact th:nth-child(3){width:240px}.order-list-compact th:nth-child(4){width:172px}.order-list-compact th:nth-child(5){width:140px}.order-list-compact th:nth-child(6){width:118px}.order-list-compact th:nth-child(7){width:132px}.order-list-compact th:nth-child(8){width:106px} .order-list-compact th:nth-child(10){width:82px}.order-list-compact th:nth-child(11),.order-list-compact th:nth-child(12){width:86px}.order-list-compact th:nth-child(13){width:156px}.order-list-compact .cell-ellipsis,.order-list-compact td>small{max-width:100%}.order-list-compact .btn{padding:6px;font-size:11px;white-space:normal}.order-list-compact .order-thumb{max-width:100%;height:60px}.audit-more{margin:0}.audit-more summary{padding:4px 0}.review-proof{max-width:min(100%,600px);max-height:480px;object-fit:contain}#batch-rows td:first-child,#batch-rows th:first-child{position:sticky;left:0;background:#fff;z-index:1}#batch-rows td:first-child input{min-width:140px}#cdk-groups{max-height:200px}#draft-detail .table-wrap{max-height:65vh;overflow:auto}
@media(max-width:1050px){.order-list-compact table,.order-list-compact tbody{display:block;min-width:0}.order-list-compact thead{display:none}.order-list-compact tr{display:grid;grid-template-columns:32px repeat(2,minmax(0,1fr));gap:6px;padding:12px;border-bottom:1px solid #dde4ef}.order-list-compact td{display:block;border:0} .order-list-compact td:nth-child(n+4):nth-child(-n+10){grid-column:2 / 4}.order-list-compact td:nth-child(8):before{content:'应结算金额';display:block;color:#8993a3} .order-list-compact td:nth-child(10):before{content:'录单人';display:block;color:#8993a3}.order-list-compact td:nth-child(11){grid-column:2}.order-list-compact td:nth-child(12){grid-column:3}.order-list-compact td:nth-child(11):before{content:'投放截图';display:block}.order-list-compact td:nth-child(12):before{content:'完成截图';display:block}.order-list-compact .order-thumb{width:100%;height:90px}}

/* v0.10.1: business identity and bounded batch input columns. */
.v-login h1{text-align:center;line-height:1.35}.v-login .login-values{text-align:center;font-size:12px;line-height:1.8;margin:0;padding:0}.v-login #login-version{font-size:12px}
.brand-personal{gap:10px}.brand-personal .brand-crm{width:auto;min-width:76px;height:36px;padding:0 10px;flex:0 0 auto;white-space:nowrap;font-size:15px;letter-spacing:0}.brand-personal .brand-name{min-width:0;font-size:20px;line-height:1.35;overflow-wrap:anywhere;letter-spacing:0}
#batch-rows table{table-layout:fixed;width:100%;min-width:1420px}#batch-rows th,#batch-rows td{max-width:none;white-space:normal;vertical-align:top}
#batch-rows input,#batch-rows select,#batch-rows td:first-child input{display:block;box-sizing:border-box;width:100%;min-width:0;max-width:100%}
.batch-link-cell{display:grid;gap:8px;min-width:0;max-width:100%}.batch-link-meta{display:flex;align-items:center;flex-wrap:wrap;gap:4px 8px;color:#738199;font-size:11px}.batch-duplicate{color:#3459e9;background:#eef2ff;border-radius:4px;padding:2px 6px;white-space:nowrap}
#batch-rows td:last-child .btn{display:flex;width:100%;margin:0 0 6px}.order-due{font-variant-numeric:tabular-nums}

.order-review-summary .review-work{border-top:1px solid #e5eaf1;padding-top:8px;margin-top:10px}.review-work p{margin:6px 0}.review-work .detail-link{overflow-wrap:anywhere;white-space:normal}.duplicate-notice p{margin:5px 0}.notice[hidden]{display:none}
@media(max-width:1050px){.order-list-compact td:nth-child(4):before{content:"客户群";display:block;color:#8993a3} .order-list-compact td:nth-child(13){grid-column:2 / 4}}

.account-api-link{display:block;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;margin-top:4px;}

#due-preview:empty,#group-context:empty,#account-balance:empty,#cdk-group-context:empty{display:none}

/* v0.15 actionable workbench */
.home-metric{text-align:left;color:inherit;cursor:pointer;font:inherit;display:flex;flex-direction:column;gap:10px}.home-metric:hover{border-color:#335bbd;box-shadow:0 4px 16px #335bbd18}.home-metric strong{font-size:30px}.home-metric small{color:#63738b}.home-todos{align-items:start}.home-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:1px solid #edf0f5}.home-row:last-child{border-bottom:0}.home-row>div{min-width:0}.home-row strong,.home-row small{display:block;overflow-wrap:anywhere}.home-row small{margin-top:5px;color:#68748b}.home-row .btn{flex-shrink:0}#backup-plan>.form-grid{padding:16px 0}section[hidden]{display:none!important}
/* Follow-up records: date groups, readable content, immutable history. */
.crm-record-day{display:grid;grid-template-columns:120px minmax(0,1fr);gap:24px;margin:24px 0}.crm-record-day>h3{margin:10px 0;font-size:14px;color:#475569}.crm-record-day>h3 small{display:block;margin-top:8px;font-size:12px;font-weight:400;color:#64748b}.crm-timeline .crm-record{margin:0 0 14px;padding:18px 20px;border:1px solid #e2e8f0;border-left:3px solid #c7d2fe;border-radius:10px;background:#fff;min-width:0}.crm-record header,.crm-record header>div{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.crm-record header{justify-content:space-between}.crm-record header .btn{font-size:12px;padding:5px 10px}.crm-record header time,.crm-record-scope{font-size:12px;color:#64748b}.crm-record-scope{margin:8px 0 14px;overflow-wrap:anywhere}.crm-channel{font-size:12px;border-radius:5px;padding:3px 8px;background:#eef2ff;color:#4338ca}.crm-record-content,.crm-record-text p{line-height:1.8;margin:12px 0;font-size:14px;color:#1e293b}.crm-record-result{display:grid;grid-template-columns:64px minmax(0,1fr);gap:12px;background:#f8fafc;padding:12px;border-radius:6px;line-height:1.7}.crm-record-result>span{font-size:12px;color:#64748b}.crm-record-result p{margin:0}.crm-record footer{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px;padding-top:12px;border-top:1px solid #f1f5f9;font-size:12px;color:#64748b}.crm-task-state{color:#475569}.crm-record-text,.crm-record-extra{margin:8px 0}.crm-record-text summary{font-weight:400;line-height:1.8;overflow-wrap:anywhere}.crm-record-text summary b{display:block;color:#4f46e5;font-size:12px;font-weight:500}.crm-record-extra summary{font-weight:400;color:#64748b;font-size:12px;padding:4px 0}.crm-history-item{padding:14px 0;border-top:1px solid #e2e8f0;overflow-wrap:anywhere}.crm-history-item>div{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.crm-history-item>div span{font-size:12px;color:#64748b}.crm-history-item ul{padding-left:20px;line-height:1.7}.crm-history-item li>span{color:#64748b}.crm-history-item li b{font-weight:400;color:#94a3b8}.crm-record-byline{display:flex;gap:16px;align-items:center;flex-wrap:wrap}.crm-record-byline span{font-size:12px;color:#64748b}.crm-record-view>p{line-height:1.8}.crm-followup-preview{max-width:240px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:normal;overflow-wrap:anywhere}@media(max-width:700px){.crm-record-day{grid-template-columns:1fr;gap:4px}.crm-record-day>h3 small{display:inline;margin-left:10px}.crm-timeline .crm-record{padding:14px}.crm-record header{align-items:flex-start}.crm-record-result{grid-template-columns:1fr;gap:4px}}
.order-list-compact th:nth-child(9){width:124px}@media(max-width:1050px){.order-list-compact td:nth-child(9):before{content:"备注";display:block;color:#8993a3}}

#batch-rows textarea[data-key=work_text]{display:block;box-sizing:border-box;width:100%;min-width:0;max-width:100%;min-height:78px;font-size:12px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere;resize:vertical}

.account-remark{display:-webkit-box;min-width:140px;max-width:240px;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-wrap;overflow-wrap:anywhere}

/* Compact navigation, shown once below each paginated table. */
.list-pagination{display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:10px 14px;padding:12px 0;font-size:13px;color:var(--muted)}
.list-pagination>span{font-variant-numeric:tabular-nums;white-space:nowrap}
.list-pagination label{display:flex;align-items:center;gap:6px;white-space:nowrap;margin:0}
.list-pagination select{width:auto;min-height:34px;padding:5px 9px;border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--ink)}
.list-pagination .btn{margin:0;min-height:34px}.list-pagination .btn:disabled{opacity:.4;cursor:default}
@media(max-width:720px){.list-pagination{gap:8px}}

.account-platforms ~ #account-results tfoot td, tfoot td {font-weight:600;border-top:1px solid var(--border,#e2e8f0);background:var(--surface,#fff);}

/* Order-entry amount/discount keep numeric validation without spinner controls. */
#new-order input[name="amount"],#new-order input[name="discount"],
#new-order input[data-key="amount"],#new-order input[data-key="discount"] { -moz-appearance:textfield; appearance:textfield; }
#new-order input[name="amount"]::-webkit-inner-spin-button,#new-order input[name="amount"]::-webkit-outer-spin-button,
#new-order input[name="discount"]::-webkit-inner-spin-button,#new-order input[name="discount"]::-webkit-outer-spin-button,
#new-order input[data-key="amount"]::-webkit-inner-spin-button,#new-order input[data-key="amount"]::-webkit-outer-spin-button,
#new-order input[data-key="discount"]::-webkit-inner-spin-button,#new-order input[data-key="discount"]::-webkit-outer-spin-button { -webkit-appearance:none; margin:0; }
.account-picker-results { max-height:220px; overflow-y:auto; display:grid; gap:4px; }
.account-picker-results[hidden] { display:none; }
.account-picker-results .btn { text-align:left; white-space:normal; }

/* Compact order entry without changing other menus. */
#new-order>.section-head{padding:14px 18px 0}#new-order .order-entry-body,#cdk-order .order-entry-body{padding:16px 18px;gap:10px 14px}
#new-order .order-entry-body>label>span,#cdk-order .order-entry-body>label>span{margin-bottom:4px}
#new-order input:not([type=checkbox]),#new-order select,#cdk-order input:not([type=checkbox]),#cdk-order select{padding:7px 10px;min-height:34px;line-height:1.35}
#new-order textarea,#cdk-order textarea{padding:7px 10px;min-height:54px;line-height:1.45}
#new-order textarea[name=batch_text]{min-height:100px}#new-order textarea[name=remark]{height:54px}
#new-order #batch-rows th,#new-order #batch-rows td{padding:7px 8px}#new-order #batch-rows textarea[data-key=work_text]{min-height:64px}
#new-order .toolbar{gap:8px;margin-bottom:8px}#new-order>.order-entry-actions{padding:12px 18px}#new-order #group-context:empty,#new-order #account-balance:empty{display:none}
@media(min-width:1100px){#new-order>.form-grid,#cdk-order>.form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){#new-order input,#new-order select,#new-order textarea,#cdk-order input,#cdk-order select{font-size:16px;min-height:40px}}
.floating-inline{display:flex;gap:6px;flex-wrap:wrap;margin-top:6px;align-items:center}
.floating-inline select{min-width:90px;flex:1}
.floating-inline .btn{white-space:normal;padding:6px 8px;font-size:12px}
#order-filter .full,#finance-filter .full{grid-column:auto}

/* Multi-group receipt allocation stays compact and scrollable for large customers. */
.payment-allocations{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px;max-height:340px;overflow:auto;padding:2px}
#payment-duplicates:empty,#payment-allocation-total:empty{display:none}
.floating-inline a{max-width:100%;overflow-wrap:anywhere}

.crm-lead-total{padding:14px 18px;border-top:1px solid #e2e8f0;font-size:14px;color:#334155}

.credit-over{color:#b42318;font-weight:600;}

.email-sent{display:block;color:#16845b;font-weight:600;margin-top:4px}.account-picker-results small{white-space:normal}.order-list-compact td:last-child .btn{white-space:normal;max-width:100%;word-break:keep-all;overflow-wrap:normal;line-height:1.5}.order-list-compact td:last-child>small .btn{display:block;width:100%;text-align:left}
