/* AIA advisor report workspace: crimson actions, slate text, quiet paper surfaces. */
#reportManager{--rm-red:#ce1745;--rm-text:#29333d;--rm-muted:#78818a;--rm-border:#e5e8ec;--rm-surface:#f5f7f9;width:min(1220px,calc(100vw - 64px));height:min(920px,calc(100dvh - 64px));max-width:none;max-height:none;margin:auto;padding:0;border:0;border-radius:16px;overflow:hidden;color:var(--rm-text);background:#fff;box-shadow:0 28px 90px #14212d45;font-family:"PingFang SC","Microsoft YaHei",sans-serif}#reportManager::backdrop{background:#26334375;backdrop-filter:blur(5px)}#reportManager svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}#reportManager button,#reportManager input,#reportManager select{font-family:inherit;font-size:13px;line-height:1.5}#reportManager button{min-height:38px;transition:background .12s,border-color .12s;color:var(--rm-text)}#reportManager button:disabled{cursor:default;opacity:.35}#reportManager button:focus-visible,#reportManager input:focus-visible,#reportManager select:focus-visible{outline:2px solid #ce1745;outline-offset:3px}.rm-shell{height:100%;display:flex;flex-direction:column}.rm-top{display:flex;align-items:center;justify-content:space-between;padding:27px 32px 24px;border-bottom:1px solid var(--rm-border);flex:none}.rm-title-lockup{display:flex;gap:16px;align-items:center}.rm-mark{display:grid;place-items:center;width:48px;height:52px;background:#fcecf0;color:var(--rm-red);border-radius:9px}.rm-mark svg{width:27px!important;height:27px!important}#reportManager h2{font-size:24px;line-height:1.4;letter-spacing:-.5px;font-weight:650;margin:0 0 4px}.rm-title-lockup p{font-size:12px;color:var(--rm-muted)}#reportManager .rm-icon-button{display:grid;place-items:center;width:36px;min-height:36px;border:1px solid var(--rm-border);border-radius:50%;background:white;color:#727c87}.rm-icon-button:hover{background:#f4f5f7!important}.rm-summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 32px;border-bottom:1px solid var(--rm-border);flex:none}.rm-tabs{display:flex;gap:28px}.rm-tabs button{padding:18px 0 15px;background:none;border-bottom:3px solid transparent!important;color:#777f87!important;font-weight:550;white-space:nowrap}.rm-tabs button.is-active{color:var(--rm-red)!important;border-bottom-color:var(--rm-red)!important}.rm-tabs span{display:inline-block;background:#f0f2f4;border-radius:5px;padding:1px 7px;margin-left:5px;font-size:11px;font-weight:600}.rm-tabs .is-active span{background:#fcecf0;color:var(--rm-red)}#rmStorage{font-size:12px;color:var(--rm-muted)}.rm-filter-panel{margin:24px 32px 0;padding:18px 20px;background:var(--rm-surface);border:1px solid #edf0f3;border-radius:10px;display:grid;grid-template-columns:minmax(190px,1.05fr) minmax(0,2.7fr);gap:12px 16px;align-items:end;flex:none}.rm-search-field{position:relative}.rm-search-field>svg{position:absolute;left:12px;top:12px;color:#8a929a;pointer-events:none;width:18px!important;height:18px!important}#reportManager .rm-search-field input{margin:0;padding:10px 12px 10px 39px;height:42px;min-height:42px;border:1px solid #dce1e6;border-radius:6px;background:#fff;font-weight:400}.rm-filter-controls{display:flex;gap:10px;align-items:end;min-width:0}.rm-filter-controls label{flex:1;min-width:0;font-weight:400}.rm-filter-controls label>span{font-size:11px;color:#6b7580;display:block;margin-bottom:5px}#reportManager .rm-filter-controls select{margin:0;border:1px solid #dce1e6;border-radius:6px;min-height:42px;height:42px;padding:9px 25px 9px 10px;background-color:#fff;width:100%;font-weight:400}#reportManager .rm-primary{background:var(--rm-red);color:white;padding:0 17px;border-radius:6px;height:42px;white-space:nowrap;font-weight:600}#reportManager .rm-primary:hover{background:#ad1239}.rm-reset{padding:0 4px!important;background:none!important;white-space:nowrap;height:42px;color:#6b7580!important}.rm-date-range{grid-column:1/-1;display:flex;gap:12px}.rm-date-range:has(label[hidden]):not(:has(label:not([hidden]))){display:none}.rm-date-range label{font-size:12px;font-weight:400}.rm-date-range input{min-height:38px!important;height:38px;margin:5px 0 0;padding:7px 10px;border:1px solid #dce1e6;font-weight:400}.rm-list-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:61px;padding:14px 32px 12px;flex:none}.rm-list-toolbar>div{display:flex;align-items:center;gap:12px}.rm-list-toolbar strong{font-size:13px;font-weight:600}.rm-list-toolbar span{font-size:11px;color:var(--rm-muted)}#reportManager .rm-danger{color:#b12243;padding:5px 11px;border-radius:5px;background:#fff1f3;min-height:30px;font-size:12px}.rm-table-scroll{flex:1;overflow:auto;min-height:0;margin:0 32px;border:1px solid var(--rm-border);border-radius:8px 8px 0 0}.rm-table-head,.rm-record{display:grid;grid-template-columns:22px minmax(170px,1.2fr) minmax(150px,1fr) minmax(150px,1fr) 145px;gap:16px;align-items:center;padding:14px 18px}.rm-table-head{position:sticky;top:0;background:#f7f8fa;border-bottom:1px solid var(--rm-border);z-index:1;font-size:11px;color:#7a828b;min-height:43px;padding-top:10px;padding-bottom:10px}.rm-table-head label{display:flex}.rm-record{border-bottom:1px solid #edf0f2;min-height:96px;background:white}.rm-record:last-child{border-bottom:0}.rm-record:hover{background:#fcfcfd}.rm-record.is-selected{background:#fff6f8}#reportManager input[type=checkbox]{appearance:none;display:inline-block;width:16px;height:16px;min-height:16px;padding:0;margin:0;border:1px solid #cbd2d9;border-radius:4px;cursor:pointer;background:white;vertical-align:middle;flex:none}#reportManager input[type=checkbox]:checked{background:var(--rm-red);border-color:var(--rm-red);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3 8 3 3 7-7' fill='none' stroke='white' stroke-width='2'/%3E%3C/svg%3E")}#reportManager input[type=checkbox]:indeterminate{background:linear-gradient(#ce1745,#ce1745) center/8px 2px no-repeat white}.rm-customer h3{margin:0 0 6px;font-size:15px;line-height:1.3;font-weight:600}.rm-product{display:inline-block;color:#8b5d21;background:#fbf2e1;font-weight:500;font-size:10px;line-height:1.4;padding:3px 7px;border-radius:4px;max-width:100%;overflow-wrap:anywhere}.rm-product.protection{color:#9c2450;background:#fbeef3}.rm-customer small{display:inline-block;margin-left:7px;font-size:10px;color:#9299a0}.rm-policy strong{display:block;font-size:13px;line-height:1.5;font-weight:550;font-variant-numeric:tabular-nums}.rm-policy small,.rm-dates small{display:block;font-size:11px;color:#87909a;line-height:1.7}.rm-dates>span{display:block;font-size:12px;color:#59646e;font-variant-numeric:tabular-nums}.rm-dates .rm-kept{color:#357c6c;display:flex;align-items:center;gap:4px}.rm-kept svg{width:12px!important;height:12px!important}.rm-record-actions{display:flex;gap:8px;align-items:center;justify-content:flex-end}.rm-open{font-size:12px;color:#a41f43!important;text-decoration:none;border:1px solid #e8d1d9;background:white;padding:7px 11px;border-radius:5px;white-space:nowrap;line-height:1.5}.rm-open:hover{background:#fff1f5}#reportManager .rm-row-icon{width:28px;min-height:30px;height:30px;padding:4px;display:grid;place-items:center;background:none;border-radius:5px;color:#88929b}#reportManager .rm-row-icon svg{width:17px;height:17px}.rm-row-icon:hover{background:#f0f1f3!important;color:#b51b45!important}#reportManager .rm-row-icon.is-pinned{color:#357c6c;background:#eaf5f1}.rm-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 32px 20px;flex:none;background:white;border-top:1px solid #f0f2f4}.rm-retention{display:flex;align-items:center;gap:7px;max-width:58%;font-size:10px;color:#87909a}.rm-retention svg{width:14px!important;height:14px!important;color:#8e97a0}.rm-pagination{display:flex;align-items:center;gap:8px;white-space:nowrap}.rm-pagination span{font-size:11px;color:#737d87;margin-right:5px;font-variant-numeric:tabular-nums}#reportManager .rm-page-button{background:white;border:1px solid #dfe4e9;border-radius:5px;min-height:30px;width:30px;font-size:23px;line-height:25px;padding:0}.rm-page-button:hover:enabled{background:#f5f7f9!important}.rm-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}#rmStatus{font-size:12px;color:#b51b45;padding:0 32px;flex:none}#rmStatus:empty{display:none}#rmStatus:not(:empty){padding-bottom:12px}.rm-empty{padding:55px 24px;text-align:center;color:#7b8690}.rm-empty svg{width:38px!important;height:38px!important;color:#b4bdc5;margin-bottom:12px}.rm-empty strong{display:block;font-size:15px;color:#52606c;margin-bottom:7px}.rm-empty p{font-size:12px}.rm-busy{opacity:.55;pointer-events:none}
/* Dashboard companion, not a second long report page. */
#dashboard .recentarea{padding:24px;border:1px solid #e4e8ec;border-radius:12px;background:#fff;position:static;box-shadow:0 4px 18px #22313d04}#dashboard .recentarea>.eyebrow{font-size:11px;color:#9098a0}#dashboard .recentarea h2{font-size:22px;color:#29333d;margin:4px 0 6px}#dashboard .recentarea .lookup-note{font-size:12px;color:#87909a;margin-bottom:22px}#dashboard .lookup-label{font-size:11px;color:#6c7580}#dashboard #clientSearch{margin-top:6px;border:1px solid #dce1e6;border-radius:6px;min-height:42px;padding:10px 12px;font-size:13px}#dashboard #openReportManager{display:flex;align-items:center;justify-content:space-between;width:100%;background:#ce1745;color:white;font-weight:550;font-size:13px;min-height:42px;padding:10px 15px;border-radius:6px;margin-top:10px}#dashboard #openReportManager:hover{background:#b6123c}#dashboard .record-heading{margin-top:26px;padding-bottom:11px;border-bottom:1px solid #e8ebef;font-size:12px}#dashboard .record-heading span{font-size:10px;color:#929aa2}#dashboard .recentarea #recent{max-height:430px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#d4d9df transparent}#dashboard .recentitem{padding:14px 2px;display:grid;grid-template-columns:1fr auto;gap:4px 10px;border-bottom:1px solid #eef0f3}#dashboard .recentitem>strong{font-size:13px;color:#35414c;font-weight:550;grid-column:1;grid-row:1}#dashboard .recentitem>b{font-size:10px;color:#a3264b;background:#fff0f4;padding:2px 6px;align-self:start;border-radius:4px;font-weight:500;grid-column:2;grid-row:1;max-width:150px}#dashboard .recentitem>small{grid-column:1/-1;font-size:10px;line-height:1.7;color:#8c949d}#dashboard .recentitem:hover{background:#fcf8f9}
@media(max-width:1100px){#reportManager{width:calc(100vw - 40px);height:calc(100dvh - 40px)}.rm-filter-panel{grid-template-columns:1fr}.rm-search-field{max-width:none}.rm-table-head,.rm-record{grid-template-columns:20px minmax(150px,1.1fr) minmax(120px,1fr) minmax(132px,1fr) 130px;gap:12px;padding-left:14px;padding-right:14px}.rm-filter-controls label{flex:1}.rm-retention{max-width:52%}}
@media(max-width:800px){#reportManager{width:calc(100vw - 24px);height:calc(100dvh - 24px);border-radius:12px}.rm-top{padding:20px 22px}.rm-summary{padding:0 22px}.rm-filter-panel{margin:18px 22px 0;padding:14px}.rm-list-toolbar{padding-left:22px;padding-right:22px}.rm-table-scroll{margin:0 22px}.rm-table-head,.rm-record{grid-template-columns:18px minmax(135px,1.1fr) minmax(108px,.9fr) minmax(125px,1fr) 110px;gap:9px;padding-left:12px;padding-right:12px}.rm-customer small{display:block;margin-left:0;margin-top:4px}.rm-open{padding:6px 8px;font-size:11px}.rm-record-actions{gap:3px}.rm-dates small,.rm-policy small{font-size:10px}.rm-dates>span{font-size:11px}.rm-bottom{padding:14px 22px}.rm-retention{font-size:9px}.rm-view-note{display:none}.rm-title-lockup p{font-size:11px}.rm-title-lockup{gap:12px}#reportManager h2{font-size:22px}.rm-filter-controls{gap:8px}#reportManager .rm-primary{padding:0 12px}.rm-reset{font-size:12px!important}.rm-list-toolbar span{font-size:10px}}
@media(max-width:600px){#reportManager{width:100%;height:100dvh;border-radius:0}.rm-top{padding:18px 16px}.rm-mark{width:38px;height:43px}.rm-title-lockup p{font-size:10px}.rm-summary{padding:0 16px}.rm-tabs{gap:20px}.rm-tabs button{padding-top:14px;padding-bottom:12px}#rmStorage{font-size:10px}.rm-filter-panel{margin:14px 16px 0}.rm-filter-controls{display:grid;grid-template-columns:1fr 1fr}.rm-filter-controls #rmOwnerLabel{grid-column:1/-1}.rm-filter-controls .rm-reset{justify-self:start}.rm-list-toolbar{padding:13px 16px;min-height:52px}#rmViewNote{display:none}.rm-table-scroll{margin:0 16px;border:0;border-radius:0}.rm-table-head{grid-template-columns:18px 1fr;padding:10px 0;background:#f7f8fa}.rm-table-head>span:nth-of-type(n+2){display:none}.rm-record{grid-template-columns:18px 1fr auto;gap:9px 12px;padding:16px 0;align-items:start}.rm-record>input{grid-column:1;grid-row:1}.rm-customer{grid-column:2;grid-row:1}.rm-customer small{display:inline-block;margin-left:6px}.rm-policy{grid-column:2;grid-row:2}.rm-dates{grid-column:2;grid-row:3}.rm-record-actions{grid-column:3;grid-row:1/4;flex-direction:column;align-items:flex-end;gap:8px}.rm-policy strong{font-size:13px}.rm-policy small{font-size:11px}.rm-dates>span{font-size:10px}.rm-dates small{font-size:10px}.rm-bottom{padding:13px 16px;flex-direction:column;align-items:stretch;gap:11px}.rm-retention{max-width:none;font-size:10px}.rm-pagination{justify-content:flex-end}.rm-list-toolbar>div{gap:6px}.rm-list-toolbar span{font-size:10px}.rm-list-toolbar strong{font-size:12px}#rmStatus{padding-left:16px;padding-right:16px}}
@media(prefers-reduced-motion:reduce){#reportManager *{transition:none!important}}@media print{#reportManager{display:none!important}}
