:root{--green:#147552;--muted:#68766f}
.cad-quota-band{display:flex;align-items:center;gap:24px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:18px 0;margin-bottom:24px}.cad-quota-band h2{font-size:14px;font-weight:600;margin:0}.cad-quota-band dl{display:grid;grid-template-columns:repeat(4,minmax(75px,1fr));gap:24px;flex:1;margin:0}.cad-quota-band dt{font-size:12px;color:var(--muted)}.cad-quota-band dd{margin:6px 0 0;font-size:19px;font-weight:600;overflow-wrap:anywhere}.cad-quota-band small{font-size:12px;font-weight:400}.channel-quota-cell{min-width:180px}.channel-quota-value{display:flex;align-items:center;gap:8px}.channel-quota-value strong{white-space:nowrap}.quota-preview{margin:12px 0 0;color:var(--green);font-size:13px;line-height:1.7}.grant-table th:nth-child(2){white-space:nowrap}
@media(max-width:720px){.cad-quota-band{align-items:stretch;flex-direction:column;gap:14px}.cad-quota-band dl{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.cad-quota-band dd{font-size:17px}.grant-table .cell-name{min-width:150px;max-width:190px}.channel-quota-cell{min-width:170px}}
.deleted-account-filter{display:flex;flex-direction:row;align-items:center;gap:8px;font-size:12px;color:var(--muted);margin:0 0 12px}.deleted-account-filter input{width:16px;height:16px;flex:none}.danger-action{background:#a53434!important;border-color:#a53434!important;color:#fff!important}[data-action^="delete-"]{color:#a53434}
.heading-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;flex:none}.heading-actions button{min-height:40px}.grant-table .cell-name{overflow-wrap:anywhere}
@media(max-width:720px){.heading-actions{width:100%}.heading-actions button{flex:1;padding:10px 8px;font-size:12px}.grant-table table{min-width:980px}}
.drawing-frame canvas{display:block;max-width:100%;max-height:100%;object-fit:contain;background:#fff}.drawing-frame.zoomed canvas{width:200%;height:auto;max-width:none;max-height:none}.pdf-page-controls{display:flex;align-items:center;justify-content:center;gap:8px;height:40px;margin-bottom:8px;font-size:12px}.pdf-page-controls input{width:64px;min-width:0;text-align:center}
.account-input{display:flex;align-items:center;min-width:0;width:100%;border:1px solid #ced8d2;border-radius:5px;background:#fff}.account-input input{min-width:0;width:100%;border:0}.account-input>span{flex:none;padding-right:10px;color:#52615a;font-size:12px}.account-input:focus-within{outline:2px solid #147552;outline-offset:1px}.account-input input:focus{outline:none}
.drawing-section{margin-top:28px;padding-top:24px;border-top:1px solid var(--line)}.drawing-section .section-head{gap:16px;flex-wrap:wrap}.drawing-section select{max-width:100%;width:300px}.drawing-table table{min-width:720px}.drawing-table .cell-name{max-width:260px;overflow-wrap:anywhere}.drawing-pagination{display:flex;justify-content:flex-end;align-items:center;gap:10px;margin:12px 0;font-size:12px;color:var(--muted)}
#drawing-preview{width:min(1320px,calc(100% - 32px));max-height:calc(100dvh - 32px)}#drawing-preview .dialog-head{position:sticky;top:0;background:#fff;z-index:2;gap:16px}#drawing-preview-title{min-width:0;overflow-wrap:anywhere;font-size:18px}.drawing-preview-body{padding:20px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.drawing-pane{min-width:0}.drawing-pane h3{font-size:14px;margin:0 0 12px}.drawing-tools{display:flex;align-items:center;gap:8px;margin-bottom:12px}.drawing-tools select{min-width:0;width:100%;flex:1}.drawing-tools .icon-button{flex:none}.drawing-frame{height:480px;max-height:65dvh;overflow:auto;background:#f6f8fa;border:1px solid #d6dce2;border-radius:4px;display:grid;place-items:center;color:var(--muted);font-size:13px}.drawing-frame img{display:block;max-width:100%;max-height:100%;object-fit:contain;background:white}.drawing-frame.zoomed{display:block}.drawing-frame.zoomed img{width:200%;max-width:none;max-height:none}.drawing-frame iframe{width:100%;height:100%;border:0;background:#fff}.drawing-frame pre{align-self:start;justify-self:stretch;margin:0;padding:16px;font-size:12px;line-height:1.7;color:#26312e;white-space:pre-wrap;overflow-wrap:anywhere}.drawing-frame .quiet-empty{padding:20px;text-align:center}
@media(max-width:720px){.drawing-preview-body{grid-template-columns:minmax(0,1fr);padding:14px}.drawing-frame{height:300px;max-height:48dvh}.drawing-pagination{flex-wrap:wrap}.drawing-section .section-head select{width:100%}.account-input>span{font-size:11px}}
.secret-input{position:relative;display:block;width:100%;min-width:0}.secret-input input{width:100%;min-width:0;padding-right:44px}.secret-input .icon-button{position:absolute;right:2px;top:50%;transform:translateY(-50%);width:38px;height:38px}
.toolbar .due-filter input{width:16px;height:16px;padding:0;flex:none}.due-filter{gap:8px}
textarea{font:inherit;line-height:1.7;width:100%;max-width:100%;padding:10px 12px;border:1px solid #ced8d2;border-radius:5px;resize:vertical;color:#26312e;background:#fff}
main,.page-heading>div,.topbar>span{min-width:0}.page-heading h1{overflow-wrap:anywhere;font-size:25px}.page-heading p{overflow-wrap:anywhere;line-height:1.7}.topbar>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topbar>div{flex:none}.brand span{font-size:13px;margin-left:0}.back-link{margin-bottom:18px}.metric:nth-child(2) strong{color:#317b9d}.metric:nth-child(3) strong{color:#147552}.metric:nth-child(4) strong{color:#9c6e25}.due-filter{flex-direction:row;align-items:center;white-space:nowrap;font-size:12px}.client-table table{min-width:990px}.client-table .cell-name{width:210px;max-width:250px}.client-link{padding:0;font-size:13px;color:#147552;font-weight:600;text-align:left;overflow-wrap:anywhere}.client-link:hover{text-decoration:underline}.stage-label{color:#52615a;font-size:12px}.trial-usage{white-space:nowrap}.due-date{color:#9c6e25}.detail-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:32px}.detail-section{min-width:0}.detail-section h2{font-size:16px}.detail-section .table-wrap table{min-width:520px}.detail-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:25px}.trial-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:0 0 24px;padding-bottom:24px;border-bottom:1px solid var(--line)}.trial-facts dd{font-size:13px;overflow-wrap:anywhere;line-height:1.7}.followup-list{list-style:none;padding:0;margin:0}.followup-list li{padding:17px 0;border-bottom:1px solid var(--line)}.followup-list header{display:flex;justify-content:space-between;gap:10px;font-size:11px;color:var(--muted);flex-wrap:wrap}.followup-list p{font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;margin:10px 0}.followup-list small{font-size:11px;color:var(--muted)}.password-field{display:flex;align-items:center;gap:5px}.password-field input{flex:1;width:100%}.form-limit{font-size:12px;color:var(--muted);line-height:1.7}.grant-table table{min-width:820px}.grant-table .cell-name{max-width:260px}.trial-modules{display:flex;gap:16px;flex-wrap:wrap}.trial-modules label{flex-direction:row;align-items:center}.readonly-field{padding:10px 0;font-weight:500;overflow-wrap:anywhere}.empty-state .primary{margin-top:10px}#page-context{min-height:20px}#invitation-text{font-size:13px}#allocation{font-size:11px;white-space:nowrap}.metrics .metric{min-width:0}.metric small{line-height:1.7}.workspace-footer{gap:12px}
@media(max-width:1100px){.detail-grid{grid-template-columns:minmax(0,1fr)}.trial-facts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.toolbar .search-field{flex-basis:100%}.toolbar .due-filter input{width:16px}}
@media(max-width:720px){.page-heading h1{font-size:22px}.page-heading{flex-wrap:wrap}.page-heading .primary{min-height:40px}.topbar>div{gap:5px}.topbar>span{max-width:48%}.trial-facts{gap:16px}.metric strong{font-size:27px}.due-filter{min-height:36px}.detail-grid{gap:24px}.sidebar-bottom .operator{display:flex}.detail-section .section-head{flex-wrap:wrap}.dialog-actions{flex-wrap:wrap}.dialog-head h2{font-size:17px}.workspace-footer{flex-wrap:wrap}.detail-actions .secondary{font-size:12px;padding:8px 10px}.metric{padding:18px 14px}}
@media(max-width:720px){.client-table table{min-width:0;width:100%;table-layout:fixed}.client-table th:nth-child(n+3),.client-table td:nth-child(n+3){display:none}.client-table th:first-child,.client-table .cell-name{width:60%;max-width:none}.client-table td,.client-table th{padding:14px 10px;white-space:normal}.client-table .sub{overflow-wrap:anywhere}.client-table .status{white-space:normal}.client-table .client-link{line-height:1.6}}
.topbar{position:sticky;top:0;z-index:4;gap:18px}#product-link{display:inline-flex;align-items:center;gap:8px;flex:none;min-height:44px;font-size:13px;font-weight:600;white-space:nowrap}#product-link:hover{text-decoration:underline}#workspace-name{flex:1}
@media(max-width:720px){.topbar{gap:10px}#workspace-name{display:none}#product-link{font-size:12px;gap:6px}.topbar>div{margin-left:auto}}
 #invitation-dialog{width:min(520px,calc(100% - 32px))}#invitation-dialog .dialog-body{display:grid;gap:16px}#invitation-dialog h2{font-size:20px;margin:0}#invitation-dialog p{margin:0;overflow-wrap:anywhere;font-size:13px}#invitation-link{width:100%;resize:none;overflow-wrap:anywhere;font-size:13px}#copy-status{min-height:20px;color:#147552}
