.recommendations{max-width:1300px;margin:auto}.rec-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:24px 0}.rec-stat{border:1px solid #dce5f1;background:white;border-radius:13px;padding:18px;display:flex;flex-direction:column;gap:8px}.rec-stat strong{font-size:28px;color:#17335a}.rec-stat span{font-size:12px;color:#60728c}.rec-tabs{display:flex;flex-wrap:wrap;gap:7px;margin:20px 0}.rec-tabs button{border:1px solid #dce5f1;border-radius:9px;padding:11px 13px;background:white;color:#3c5273;font:inherit;font-size:13px;cursor:pointer}.rec-tabs [aria-current=page]{background:#2463ff;color:white;border-color:#2463ff}.rec-context{border:1px solid #dbe5f2;background:#f2f6fc;padding:18px;border-radius:12px;margin:18px 0;color:#425b7b;font-size:14px;line-height:1.7}.rec-context p{margin:5px 0}.rec-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:22px 0}.rec-filters label{font-size:12px;color:#566d89;display:grid;gap:7px}.rec-filters select,.rec-actions select,.rec-actions input,.rec-history select{max-width:100%;min-height:44px;padding:10px;border:1px solid #d2deed;border-radius:8px;background:white;color:#264265;font:inherit;font-size:13px;min-width:0}.rec-list{display:grid;gap:14px}.rec-card{border:1px solid #dce5f1;border-left:4px solid #e3a132;border-radius:14px;background:#fff;overflow:hidden}.rec-card.rec-red{border-left-color:#d64646}.rec-card.rec-gray{border-left-color:#98a8ba}.rec-card.rec-green{border-left-color:#239567}.rec-card>summary{display:flex;gap:14px;align-items:center;cursor:pointer;list-style:none;padding:20px}.rec-card>summary::-webkit-details-marker{display:none}.rec-icon{display:grid;place-items:center;flex:none;background:#edf3ff;color:#2b62db;border-radius:10px;width:42px;height:42px}.rec-icon svg{width:23px;height:23px}.rec-card-title{flex:1;min-width:0;display:grid;gap:7px}.rec-card-title strong{font-size:17px;color:#173052}.rec-card-title small{font-size:12px;color:#657c9b;overflow-wrap:anywhere}.rec-card-body{padding:0 24px 24px 76px}.rec-tags,.rec-actions{display:flex;gap:9px;flex-wrap:wrap;align-items:center}.rec-badge{padding:6px 9px;font-size:11px;font-weight:600;border-radius:7px;white-space:nowrap}.rec-badge.orange{background:#fff4df;color:#956019}.rec-badge.red{background:#fff0f0;color:#b32e39}.rec-badge.gray{background:#f0f3f7;color:#5e7089}.rec-badge.green{background:#e8f8ef;color:#207550}.rec-badge.blue{background:#edf3ff;color:#2c58a0}.rec-priority-reason,.rec-rule{font-size:12px;color:#6a7d96;line-height:1.6;display:block}.rec-block{margin:17px 0}.rec-block h3{font-size:13px;color:#1e385b;margin:0 0 7px}.rec-block p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.7;color:#445b78;margin:0}.rec-next,.rec-example{background:#f0f5ff;border-radius:10px;padding:16px}.rec-details{border-top:1px solid #e2e9f3;margin:20px 0;padding-top:15px;overflow-wrap:anywhere}.rec-details>summary{font-size:13px;color:#245ee0;cursor:pointer;min-height:32px}.rec-page{display:block;font-size:12px;overflow-wrap:anywhere;margin:9px 0}.rec-preview{padding:12px 16px;border:1px solid #edce8c;background:#fff7e8;color:#856016;border-radius:8px;font-size:12px}.rec-history{margin-top:15px}.rec-save-status{font-size:12px;color:#a83232}.rec-chevron{color:#667c99}.rec-card[open] .rec-chevron{transform:rotate(180deg)}.recommendations :focus-visible{outline:3px solid #2463ff;outline-offset:3px}@media(max-width:800px){.rec-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.rec-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.rec-card>summary{padding:16px;flex-wrap:wrap;gap:10px}.rec-card-title{flex-basis:calc(100% - 65px)}.rec-card-body{padding:0 16px 18px}.rec-actions>*{max-width:100%}.rec-tabs button{min-height:44px}.rec-card-title strong{font-size:15px}}

.rec-stats{grid-template-columns:repeat(4,minmax(0,1fr));margin:10px 0 24px}.rec-eyebrow{font-size:12px;font-weight:700;color:#677b97;text-transform:uppercase;margin:18px 0 0}.rec-about{font-size:13px;color:#61748e}.rec-about summary{cursor:pointer}.rec-start{background:#f0f5ff;border:1px solid #d4e2ff;border-radius:16px;padding:22px}.rec-start h2{margin:0;font-size:22px}.rec-start-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 16px;background:white;border:1px solid #e0e8f4;border-radius:10px;padding:16px;margin-top:10px}.rec-start-row span,.rec-start-row small{font-size:13px;color:#586f90}.rec-start-row small{grid-column:1}.rec-start-row button{grid-column:2;grid-row:1/4}.rec-next ol{padding-left:22px;margin-bottom:0;color:#354e71;line-height:1.7}.rec-next li+li{margin-top:8px}.rec-member{border-bottom:1px solid #e2e9f3;padding:12px 0;font-size:13px;overflow-wrap:anywhere}.rec-member .rec-badge{margin-left:8px}.rec-filter-chip{border:1px solid #ceddf4;border-radius:20px;padding:9px;background:#edf4ff;color:#244e8c;max-width:100%;overflow-wrap:anywhere}.recommendations>*{min-width:0}.rec-tabs button{flex:1 0 auto;white-space:normal}.rec-card-body .rec-block p{max-width:85ch}@media(max-width:800px){.rec-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.rec-start{padding:14px}.rec-start-row{grid-template-columns:1fr}.rec-start-row button{grid-column:1;grid-row:auto;justify-self:start}.rec-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Decision-critical notes must remain readable at every breakpoint. */
.rec-rule,.rec-context,.rec-start-row small,.rec-card-title small,.reader-attention,.reader-review-status,.reader-note{font-size:15px;line-height:1.55}
.rec-page,.rec-resource,.rec-block p,.rec-next li{overflow-wrap:anywhere}
.rec-actions button:focus-visible,.rec-card summary:focus-visible{outline:3px solid #245bff;outline-offset:3px}

/* Compact decision view: counts and controls must not bury the first action. */
.recommendations{font-size:16px;line-height:1.6}.rec-stats{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 16px}.rec-stat{flex:1 1 140px;flex-direction:row;align-items:center;padding:10px 12px;gap:8px}.rec-stat strong{font-size:22px}.rec-stat span,.rec-badge,.rec-about,.rec-filters label,.rec-advanced>label,.rec-block h3,.rec-details>summary,.rec-page,.rec-save-status{font-size:14px}.rec-block p,.rec-next li{font-size:16px}.rec-start{padding:14px}.rec-start-row{padding:12px;margin-top:8px}.rec-start-row small{display:none}.rec-card-title .rec-badge{justify-self:start}.rec-summary-next{max-width:75ch}.rec-filters{grid-template-columns:repeat(2,minmax(0,1fr));margin:16px 0 8px}.rec-advanced{margin:8px 0 14px;padding:10px 14px;border:1px solid #dce5f1;border-radius:10px}.rec-advanced>summary{cursor:pointer;color:#234e91}.rec-advanced>label{display:inline-grid;gap:6px;margin:8px;max-width:100%}.rec-advanced select{min-height:44px;max-width:100%;font:inherit}.rec-scope{font-weight:650;margin:12px 0 2px}.rec-about{margin-bottom:12px}.rec-chevron{font-size:14px;white-space:nowrap}.rec-card[open] .rec-chevron{transform:none}.keyword-opportunity summary{cursor:pointer;min-height:44px}.keyword-metrics{display:flex;flex-wrap:wrap;gap:14px}.keyword-metrics>span{padding:8px;background:#f4f7fc;border-radius:8px}.keyword-opportunity{font-size:16px;line-height:1.6}.keyword-opportunity:focus-within{outline:2px solid #2563eb}.keyword-opportunity h3{overflow-wrap:anywhere}.google-connection-stages{font-size:15px;line-height:1.8}@media(max-width:650px){.rec-filters{grid-template-columns:1fr}.rec-stats{gap:6px}.rec-stat{flex-basis:calc(50% - 6px)}.rec-card>summary{padding:14px}.rec-chevron{display:none}.rec-advanced>label{display:grid;margin:10px 0}.rec-start-row span{font-size:14px}}

.keyword-table table{width:100%;table-layout:fixed}.keyword-table th:first-child{width:25%}.keyword-table th:last-child{width:40%}.keyword-table td{vertical-align:top;overflow-wrap:anywhere}.keyword-table details p{max-width:65ch}.keyword-table .rec-page{font-size:14px}.keyword-table .value-card-grid{grid-template-columns:1fr}@media(max-width:700px){.keyword-table table{table-layout:auto}.keyword-table th{width:auto!important}.keyword-table td{white-space:normal}}
.workspace-provider-body{grid-template-columns:minmax(0,1fr)}.workspace-provider-body>*{min-width:0;max-width:100%}.keyword-table{max-width:100%;overflow-x:auto}.workspace-provider-body .workspace-plan-filters input{min-width:0;width:100%;box-sizing:border-box}@media(max-width:700px){.keyword-table thead{display:none}.keyword-table table,.keyword-table tbody,.keyword-table tr,.keyword-table td{display:block;width:100%;box-sizing:border-box}.keyword-table tr{border:1px solid #dce5f1;border-radius:10px;margin-bottom:12px;padding:8px}.keyword-table td:before{content:attr(data-label);display:block;font-weight:650;color:#314968;margin-bottom:5px}.keyword-table td{padding:8px;max-width:100%}.keyword-table .value-card-grid{display:block}.workspace-provider-body .reader-note{font-size:14px;overflow-wrap:anywhere}}
#provider-panel .reader-device-tabs{display:flex;flex-wrap:wrap;max-width:100%;min-width:0}#provider-panel .reader-device-tabs button{flex:1 1 120px;min-width:0;white-space:normal}
/* These report views override older compact-table rules loaded later. */
#provider-panel .workspace-provider-body,#provider-panel .keyword-opportunity,#provider-panel .keyword-table td{font-size:16px!important;line-height:1.6!important}#provider-panel .workspace-provider-body p,#provider-panel .workspace-provider-body label,#provider-panel .workspace-provider-body summary,#provider-panel .workspace-provider-body .rec-page,#provider-panel .workspace-provider-body h4{font-size:14px!important;line-height:1.6!important}#provider-panel .keyword-opportunity p{font-size:16px!important}.recommendations .rec-rule,.recommendations .rec-about,.recommendations .rec-card-title small,.recommendations .rec-badge,.recommendations .rec-block h3,.recommendations .rec-details>summary{font-size:14px!important;line-height:1.6!important}.recommendations .rec-block p,.recommendations .rec-next li{font-size:16px!important;line-height:1.65!important}.google-connect-card .google-connection-stages{font-size:15px!important}

.recommendations .rec-start-row small{display:block;font-size:14px}.rec-start-row span{overflow-wrap:anywhere;min-width:0}.rec-start-row strong{min-width:0}
.rec-stat strong{flex:none;white-space:nowrap;overflow-wrap:normal;word-break:normal}.rec-stat span{min-width:0}
