/* Hallmark · pre-emit critique: P4 H4 E4 S5 R5 V4 */
html,body{overflow-x:clip}.portal-home,.portal-news,.portal-workarea{--portal-gap:28px;--portal-radius:12px;color:var(--color-ink);font-family:var(--font-body);min-width:0}.portal-home h1,.portal-news h1,.portal-workarea h1{font-family:var(--font-display);font-style:normal;overflow-wrap:anywhere;letter-spacing:-.04em}.portal-eyebrow{font:11px var(--font-mono);letter-spacing:.14em;color:var(--color-muted)}.portal-masthead{display:flex;justify-content:space-between;align-items:end;gap:24px;padding:16px 0 30px;border-bottom:1px solid var(--color-rule)}.portal-masthead h1{font-size:34px;font-weight:600;margin:14px 0}.portal-masthead p{font-size:13px;color:var(--color-muted);margin:0}.portal-masthead p span{display:block;margin-top:8px;font-size:11px}.portal-masthead>div:last-child{display:flex;gap:8px;flex-wrap:wrap}.portal-home button,.portal-news button,.portal-workarea button{white-space:nowrap;max-width:100%;font-size:12px}.portal-banner{display:flex;justify-content:space-between;gap:20px;background:var(--color-ink);color:var(--color-paper);padding:22px 26px;margin:22px 0;border-radius:var(--portal-radius)}.portal-banner h3{font-size:18px;font-weight:500;margin:9px 0}.portal-banner p{white-space:pre-wrap;line-height:1.7;margin:0;font-size:13px}.portal-banner small{opacity:.75;font-size:10px}.portal-banner button{align-self:start;background:var(--color-surface);color:var(--color-ink)}.portal-columns{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(0,1fr);gap:42px}.portal-columns>aside{border-left:1px solid var(--color-rule);padding-left:26px}.portal-section-title{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:28px 0 12px;min-width:0}.portal-section-title h2{font-size:17px;letter-spacing:-.02em;font-weight:600;margin:0}.portal-section-title button{border:0;background:transparent;color:var(--color-muted);padding:4px}.portal-caption{font-size:12px;line-height:1.7;color:var(--color-muted);margin:10px 0 16px}.news-row{display:grid;grid-template-columns:110px minmax(0,1fr);gap:16px;border-top:1px solid var(--color-rule);padding:18px 0}.news-source{display:flex;flex-direction:column;gap:7px;font-size:11px}.news-source span{font-weight:600}.news-source time,.news-row small{color:var(--color-muted);font-size:10px}.news-row a{font-size:15px;font-weight:500;line-height:1.5;text-decoration:none;color:var(--color-ink)}.news-row a:hover{text-decoration:underline}.news-row p{font-size:12px;color:var(--color-muted);line-height:1.75;margin:8px 0;overflow-wrap:anywhere}.notice-row{padding:15px 0;border-top:1px solid var(--color-rule)}.notice-row h3{font-size:14px;font-weight:500;margin:8px 0}.notice-row p{font-size:12px;white-space:pre-wrap;line-height:1.7;margin:0}.notice-row small{font-size:10px;color:var(--color-muted)}.notice-row button{margin-top:10px}.portal-empty{color:var(--color-muted);font-size:13px;line-height:1.9;padding:24px 0}.portal-todo{padding:0;list-style:none;margin:0 0 18px}.portal-todo li{display:flex;align-items:baseline;gap:16px;border-bottom:1px solid var(--color-rule);padding:14px 0}.portal-todo strong{font:25px var(--font-mono);font-weight:400}.portal-todo span{font-size:12px;color:var(--color-muted)}.plugin-shelf{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.plugin-tile{display:flex;gap:12px;align-items:center;border:1px solid var(--color-rule);background:var(--color-surface);padding:16px;text-align:left;min-width:0}.plugin-tile>span:last-child{min-width:0}.plugin-symbol{width:30px;height:30px;display:grid;place-items:center;border-radius:7px;background:var(--color-rail);font:14px var(--font-mono);flex-shrink:0}.plugin-tile strong{display:block;overflow:hidden;text-overflow:ellipsis;font-size:12px;font-weight:500}.plugin-tile small{display:block;font-size:10px;color:var(--color-muted);margin-top:6px}.portal-plugin-section{border-top:1px solid var(--color-rule);margin-top:25px}.portal-tabs,.news-filters{display:flex;gap:8px;flex-wrap:wrap;border-bottom:1px solid var(--color-rule);padding:0 0 14px;margin-bottom:20px}.portal-tabs button{border:0;background:transparent;color:var(--color-muted);padding:9px 15px}.portal-tabs button.on{background:var(--color-ink);color:var(--color-paper)}.news-filters{border:0;margin-bottom:0}.news-filters button{font-size:11px}.news-filters button.on{background:var(--color-rail);border-color:var(--color-ink)}.portal-row{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px}.portal-state{white-space:nowrap;font-size:10px;color:var(--color-muted);border:1px solid var(--color-rule);padding:4px 7px;border-radius:5px}.portal-state.is-good{color:var(--color-ink)}.source-row{display:flex;align-items:center;gap:15px;border-bottom:1px solid var(--color-rule);padding:18px 0}.source-row>div{flex:1;min-width:0}.source-row a{color:var(--color-ink);font-size:13px;text-decoration:none;overflow-wrap:anywhere}.source-row small{display:block;color:var(--color-muted);font-size:10px;margin-top:7px}.source-error{font-size:11px;color:var(--color-error);line-height:1.6}.portal-report-controls{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:25px}.portal-report-controls p{flex:1;min-width:180px;font-size:12px;color:var(--color-muted);line-height:1.7}.report-grid,.discovery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.report-card,.discovery-card{border:1px solid var(--color-rule);padding:20px;border-radius:var(--portal-radius);min-width:0}.report-card>p{font-size:13px;line-height:1.8;white-space:pre-wrap;max-height:110px;overflow:auto}.report-card>small,.discovery-card small{font-size:10px;color:var(--color-muted)}.portal-card-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}.discovery-card h3{font-size:16px;font-weight:500;overflow-wrap:anywhere}.discovery-card a{color:var(--color-ink);text-decoration:none}.discovery-card p{font-size:12px;line-height:1.7;overflow-wrap:anywhere}.improvement-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px;border-bottom:1px solid var(--color-rule);padding:18px 0}.improvement-row small{font-size:10px;color:var(--color-muted)}.improvement-row p{font-size:13px;line-height:1.75;margin:8px 0}.improvement-row>div:last-child{display:flex;flex-wrap:wrap;justify-content:end;align-items:center;gap:6px;max-width:250px}.improvement-row button{font-size:10px}.report-detail-section{border-top:1px solid var(--color-rule);margin-top:20px;padding-top:12px}.report-detail-section h3{font-size:15px}.report-detail-section p{font-size:13px;line-height:1.8;white-space:pre-wrap}.report-detail-section small{font:10px var(--font-mono);color:var(--color-muted)}.work-template-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.work-template{display:flex;align-items:center;justify-content:space-between;gap:15px;border:1px solid var(--color-rule);border-radius:var(--portal-radius);padding:20px}.work-template small{color:var(--color-muted);font-size:10px}.work-template h3{font-size:15px;font-weight:500;margin:8px 0}.work-template p{font-size:12px;color:var(--color-muted);line-height:1.6;margin:0}.portal-current-project{font-size:12px;padding:15px 18px;background:var(--color-rail);margin-bottom:22px;border-radius:7px}.portal-current-project small{display:block;margin-top:8px;color:var(--color-muted);line-height:1.6}.portal-project{display:flex;justify-content:space-between;align-items:center;gap:20px;border-top:1px solid var(--color-rule);padding:20px 0}.portal-project h3{font-size:16px;font-weight:500;margin:0 0 8px}.portal-project p{color:var(--color-muted);font-size:12px;line-height:1.6;max-width:600px}.portal-project small{font-size:10px;color:var(--color-muted)}.portal-project>div:last-child{display:flex;gap:8px;flex-shrink:0}.work-run{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto auto;align-items:center;gap:15px;border-bottom:1px solid var(--color-rule);padding:14px 0;font-size:12px}.work-run>span{overflow-wrap:anywhere}.portal-choice-row{display:flex;flex-wrap:wrap;gap:12px;margin:15px 0}.portal-choice-row label{display:flex;gap:5px;align-items:center;font-size:13px}.portal-home .view-title,.portal-workarea .view-title{align-items:start}.portal-workarea .view-title>div:last-child{display:flex;gap:8px}.portal-compact-tools{display:flex;gap:6px;margin-left:auto}.portal-compact-tools button{font-size:11px;padding:5px 8px}
@media(max-width:900px){.plugin-shelf{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-columns{gap:24px}}
@media(max-width:768px){.portal-masthead{align-items:start;flex-direction:column}.portal-columns{grid-template-columns:minmax(0,1fr)}.portal-columns>aside{border-left:0;border-top:1px solid var(--color-rule);padding-left:0}.portal-masthead h1{font-size:28px}.report-grid,.discovery-grid,.work-template-grid{grid-template-columns:minmax(0,1fr)}.portal-project{align-items:start;flex-direction:column}.improvement-row{grid-template-columns:minmax(0,1fr)}.improvement-row>div:last-child{justify-content:start;max-width:none}.work-run{grid-template-columns:minmax(0,1fr) auto}.source-row{gap:8px}.source-row button{font-size:10px}.portal-news .view-title,.portal-workarea .view-title{align-items:start;flex-direction:column;gap:15px}.portal-compact-tools{display:none}}
@media(max-width:414px){.news-row{grid-template-columns:minmax(0,1fr);gap:8px}.news-source{flex-direction:row;justify-content:space-between}.plugin-shelf{grid-template-columns:minmax(0,1fr)}.portal-banner{padding:18px}.portal-workarea .view-title>div:last-child{flex-wrap:wrap}.portal-row{align-items:start;flex-wrap:wrap}.portal-tabs{gap:4px}.portal-tabs button{padding:9px 10px}.work-template{padding:16px}.portal-compact-tools{display:none}}

.news-briefing{border:1px solid var(--color-rule);border-radius:12px;padding:20px 24px;margin-bottom:26px;background:var(--color-rail)}.news-briefing>.portal-section-title{margin-top:0}.news-briefing p{font-size:13px;line-height:1.85;white-space:pre-wrap}.news-briefing small{font-size:10px;color:var(--color-muted)}.news-briefing a{color:var(--color-muted);text-decoration:underline}.news-briefing details{font-size:12px;margin:18px 0}.briefing-item{border-top:1px solid var(--color-rule);padding:10px 0}.briefing-item p{margin:4px 0 7px}

.report-detail-section small button{font:10px var(--font-mono);padding:3px 6px;min-height:24px}.report-source-text{white-space:pre-wrap;overflow-wrap:anywhere;font:13px/1.8 var(--font-body);max-height:60vh;overflow:auto}

@media(max-width:768px){.view-panel:has(.portal-home),.view-panel:has(.portal-news),.view-panel:has(.portal-workarea){padding:24px 16px;max-width:100%;box-sizing:border-box}}

.portal-banner small{color:var(--color-paper);opacity:.8}

/* Independent workspace entry cards. */
.workspace-entries{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:28px 0 38px;border:0}
.workspace-entries button{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:0;min-width:0;min-height:220px;padding:24px;text-align:left;white-space:normal;border:1px solid var(--color-rule);border-radius:16px;background:var(--color-surface);color:var(--color-ink);box-shadow:0 3px 12px var(--color-shadow)}
.workspace-entries button:hover{border-color:var(--color-focus);background:var(--color-rail)}
.workspace-card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:21px}
.workspace-card-icon{display:grid;place-items:center;width:42px;height:42px;background:var(--color-rail);border:1px solid var(--color-rule);border-radius:11px}
.workspace-card-icon svg{width:23px;height:23px}
.workspace-index{font:11px var(--font-mono);color:var(--color-muted)}
.workspace-entries strong{font-size:19px;font-weight:600;line-height:1.4;white-space:nowrap}
.workspace-entries small{display:block;flex:1;margin:10px 0 22px;font-size:12px;font-weight:400;color:var(--color-muted);white-space:normal;line-height:1.7}
.workspace-card-enter{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--color-rule);padding-top:15px;font-size:12px;font-weight:500;white-space:nowrap}
.workspace-arrow{font-size:20px;font-weight:400;line-height:1}
@media(max-width:1000px){.workspace-entries{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.workspace-entries{grid-template-columns:minmax(0,1fr);gap:14px}.workspace-entries button{min-height:190px;padding:21px}.workspace-card-top{margin-bottom:16px}.workspace-entries strong{font-size:18px}.workspace-entries small{margin-bottom:18px}}

.project-news-list{margin:8px 0 12px;border-top:1px solid var(--color-rule)}
.project-news-list>details{border-bottom:1px solid var(--color-rule)}
.project-news-list summary{padding:12px 4px;font-weight:500;overflow-wrap:anywhere;cursor:pointer}
.project-news-detail{padding:0 8px 12px 20px;color:var(--color-muted)}
.project-news-detail p{margin:0 0 6px}
.improvement-list .improvement-row{padding:10px 0;align-items:center}
.improvement-list .improvement-row p{margin:4px 0 0;overflow-wrap:anywhere}
.improvement-list .improvement-row>div:last-child{max-width:none}
.improvement-filter,.improvement-pagination{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.improvement-filter button[aria-pressed="true"]{background:var(--color-text,#20242a);color:#fff}
.improvement-pagination{justify-content:flex-end;padding:12px 0;color:var(--color-muted);font-size:12px}
