/* 2026-10-27: only role permissions and quote list; no menu or data changes. */
@media screen {
 :root body .staff-role__container>.el-row{display:grid;grid-template-columns:440px minmax(0,1fr);gap:16px;margin-left:0!important;margin-right:0!important}
 :root body .staff-role__container>.el-row>.el-col{width:auto;max-width:none;min-width:0;padding:0!important}
 :root body .staff-role .el-card__body{min-width:0}
 :root body .staff-role .list-container .el-table .cell{white-space:normal;word-break:normal;overflow-wrap:anywhere}
 :root body .staff-role .list-container td:last-child .cell{display:flex;justify-content:center;align-items:center;gap:6px;white-space:nowrap;overflow:visible}
 :root body .staff-role .list-container td:last-child .el-button{flex:none;width:32px;height:32px;min-height:32px;padding:0;margin:0}
 :root body .staff-role .list-container th .cell{white-space:nowrap}
 :root body .staff-role .permission-manager__card-title{flex-wrap:wrap;min-width:0}
 :root body .staff-role .permission-manager__matrix-top{min-width:0;background:var(--v0-paper);border-color:var(--v0-line)}
 :root body .staff-role .permission-manager__matrix-subgroup{min-width:0;border-color:var(--v0-line)}
 :root body .staff-role .permission-manager__matrix-top-title,:root body .staff-role .permission-manager__matrix-subgroup-title{color:var(--v0-ink);border-color:var(--v0-line)}
 :root body .staff-role .perm-item-group{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:12px 16px;min-width:0}
 :root body .staff-role .perm-checkbox{min-width:0;max-width:100%}
 :root body .staff-role .perm-checkbox .el-checkbox{height:auto;min-height:32px;width:100%;max-width:100%;margin:0;align-items:flex-start;white-space:normal}
 :root body .staff-role .perm-checkbox .el-checkbox__input{margin-top:7px;flex:none}
 :root body .staff-role .perm-checkbox .el-checkbox__label{min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}
 :root body .staff-role .perm-checkbox .el-tag{height:auto;min-height:28px;max-width:100%;white-space:normal;padding:4px 7px;line-height:1.5;background:var(--v0-paper);color:var(--v0-ink);border-color:var(--v0-line)}
 :root body .staff-role .perm-checkbox .el-tag__content{white-space:normal;overflow:visible;text-overflow:clip}
 :root body .staff-role .permission-label{display:block;font-size:14px}
 :root body .staff-role .permission-note{display:block;margin-top:4px;font-size:13px;line-height:1.5;color:var(--v0-muted);font-weight:400}
 :root body .horizontal-content:has(.quote-list){--site-content-max:none}
 :root body .quote-list .base-table{min-width:0;max-width:100%}
 :root body .quote-list .el-table .cell{padding-left:6px;padding-right:6px;white-space:normal;word-break:normal;overflow-wrap:anywhere}
 :root body .quote-list .el-table th .cell{word-break:keep-all;overflow-wrap:normal}
 :root body .quote-list .quote-title-column .cell,:root body .quote-list .quote-title-column .link-text{white-space:normal;word-break:normal;overflow-wrap:anywhere;overflow:visible;text-overflow:clip;display:block;line-height:1.6;max-height:none}
 :root body .quote-list .finance-quote-state{white-space:normal;max-width:100%;padding:4px 3px;line-height:1.45;height:auto;min-height:30px;word-break:keep-all;background:transparent!important;border:0!important;box-shadow:none!important;text-decoration:none!important;cursor:pointer;font:inherit}
 :root body .quote-list .finance-quote-state:focus-visible{outline:2px solid var(--v0-brand,#79b7ff);outline-offset:2px}
 :root body .quote-list .quote-delete-text{color:var(--el-color-danger,#ff8f8f)}
 :root body .quote-list .finance-quote-date{white-space:normal;line-height:1.5;word-break:keep-all}
 :root body .quote-list .quote-document-actions a{white-space:nowrap;line-height:1.7}
 :root body .quote-list .el-table .el-tag{height:auto;min-height:24px;white-space:normal;line-height:1.5;padding:2px 5px}
 :root body .quote-list .org-emp-cell span{white-space:normal;overflow-wrap:anywhere}
 :root body .quote-list .el-scrollbar__wrap{overflow-x:auto}
 @media(max-width:1100px){
  :root body .staff-role__container>.el-row{grid-template-columns:minmax(0,1fr)}
  :root body .staff-role .list-container{max-width:100%;overflow-x:auto}
  :root body .quote-list .base-table__header{display:flex;flex-wrap:wrap;gap:12px}
 }
 @media(max-width:767px){
  :root body .quote-list__card-title{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;align-items:center}
  :root body .quote-list__card-title>span{white-space:nowrap}
  :root body .quote-list__card-title>.quote-import-link{grid-column:1 / -1;justify-self:start;margin-left:0!important;white-space:nowrap!important}
  :root body .staff-role .el-card__body{padding:12px}
  :root body .staff-role .permission-manager__matrix-top{padding:10px}
  :root body .staff-role .permission-manager__matrix-subgroup{padding-left:8px}
  :root body .quote-list .el-card__body{padding:12px}
 }
}
