.nrm-match-tabs{display:flex;flex-wrap:wrap;gap:12px;margin:18px 0}.nrm-match-tabs a{display:flex;align-items:center;gap:8px;border:1px solid #cbd5e1;border-radius:8px;padding:12px 16px;background:#fff;color:#17202b;text-decoration:none;font-size:14px;min-height:44px;box-sizing:border-box}.nrm-match-tabs a.active{background:#111;color:#fff;border-color:#111}.nrm-match-tabs b{font-size:12px}.nrm-chat-kind-tabs{margin-top:0}.nrm-match-card{margin-bottom:20px}.nrm-match-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;flex-wrap:wrap}.nrm-match-card h2{margin:12px 0 6px}.nrm-match-state{display:inline-block;border-radius:6px;padding:6px 12px;background:#fff0be;color:#634c00;font-size:14px;font-weight:700}.nrm-match-state.state-active{background:#dff5e9;color:#086743}.nrm-match-state.state-completed,.nrm-match-state.state-cancelled{background:#edf1f5;color:#536174}.nrm-match-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:22px 0}.nrm-match-facts>div{padding:12px;background:#f5f7fa;border-radius:6px}.nrm-match-facts dt{font-size:13px;color:#64748b}.nrm-match-facts dd{margin:6px 0 0;font-size:16px;font-weight:700}.nrm-match-form{display:flex;flex-direction:column;align-items:stretch;gap:16px;margin:20px 0;max-width:620px}.nrm-match-form label{display:flex;flex-direction:column;gap:8px;font-size:14px;font-weight:700;min-width:0}.nrm-match-form input:not([type=hidden]):not([type=checkbox]),.nrm-match-form textarea,.nrm-match-form select{box-sizing:border-box;width:100%;max-width:100%;min-width:0;min-height:44px;border:1px solid #bdc8d6;border-radius:6px;padding:10px;font:inherit;background:#fff;color:#17202b}.nrm-match-form .nrm-match-check{flex-direction:row;align-items:center;font-weight:400}.nrm-match-form button{align-self:flex-start;min-height:44px;padding:12px 18px;border:0;background:#111;color:#fff;border-radius:6px;cursor:pointer;font-size:14px;font-weight:700;max-width:100%;white-space:normal}.nrm-match-secondary,.nrm-match-proposal{padding:16px;border:1px solid #d8e0ea;border-radius:8px;margin-top:20px;background:#fff}.nrm-match-secondary summary,.nrm-match-proposal summary{font-size:15px;font-weight:700;cursor:pointer}.nrm-match-chat-panel{margin:16px;padding:18px;background:#f1f6fc;border:1px solid #d5e0ed;border-radius:8px}.nrm-match-chat-panel>div:first-child{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:14px}.nrm-match-chat-panel>form{margin-top:18px}.nrm-match-terms,.nrm-match-change{padding:18px;background:#fff9e6;border-radius:8px;margin:18px 0}.nrm-match-terms p,.nrm-match-change p,.nrm-match-card p{overflow-wrap:anywhere}.nrm-match-links{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0}.nrm-match-links a,.nrm-match-chat-panel a{white-space:normal;min-height:44px;box-sizing:border-box;text-decoration:none;display:inline-flex;align-items:center}.nrm-chat-console>section{min-width:0}.nrm-chat-console>section>header>div{min-width:0;overflow-wrap:anywhere}
@media(max-width:620px){.nrm-match-tabs{gap:8px}.nrm-match-tabs a{flex:1 1 auto;justify-content:center;padding:12px 9px}.nrm-match-card>header{gap:10px}.nrm-match-facts{gap:10px}.nrm-match-form{max-width:100%}.nrm-match-form button{width:100%;align-self:stretch}.nrm-match-chat-panel{margin:12px;padding:14px}.nrm-match-links a,.nrm-match-chat-panel>a{width:100%;justify-content:center}.nrm-match-secondary,.nrm-match-proposal{padding:14px}.nrm-match-tabs a b{white-space:nowrap}}

/* rc49: compact records and state-specific assistance. */
details.nrm-match-card{padding:0;overflow:hidden}summary.nrm-match-summary{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 16px;cursor:pointer;padding:20px;list-style:none;min-height:44px;color:#17202b}summary.nrm-match-summary::-webkit-details-marker{display:none}.nrm-match-summary>span,.nrm-match-summary>strong{min-width:0;overflow-wrap:anywhere}.nrm-match-summary .nrm-match-state{justify-self:end;grid-column:2;grid-row:1 / span 2;align-self:start}.nrm-match-record{font-weight:700;color:#245899;font-size:14px}.nrm-match-person{font-size:20px}.nrm-match-job,.nrm-match-waiting,.nrm-match-dates{grid-column:1 / -1}.nrm-match-job,.nrm-match-dates{font-size:14px}.nrm-match-waiting{font-weight:700;color:#705100}.nrm-match-toggle{grid-column:1 / -1;color:#245899;font-size:14px;font-weight:700}.nrm-match-toggle:before{content:'＋ ';}.nrm-match-card[open]>.nrm-match-summary .nrm-match-toggle:before{content:'− ';}.nrm-match-card:not([open]) .when-open,.nrm-match-card[open] .when-closed{display:none}.nrm-match-card[open]>.nrm-match-summary{border-bottom:1px solid #d8e0ea}.nrm-match-summary:focus-visible{outline:3px solid #2468b4;outline-offset:-4px}.nrm-match-detail{padding:20px}.nrm-match-assistant{padding:20px;background:#f0f6ff;border:1px solid #c9dbf2;border-radius:10px}.nrm-match-assistant h3{margin:0 0 12px;font-size:18px}.nrm-match-ai-form{display:grid;gap:12px;margin-top:18px}.nrm-match-ai-form label{display:grid;gap:8px;font-weight:700}.nrm-match-ai-form textarea{width:100%;box-sizing:border-box;min-height:80px;font:inherit;border:1px solid #9cb6d6;border-radius:6px;padding:10px;resize:vertical}.nrm-match-ai-form button{justify-self:start;min-height:44px;white-space:normal}.nrm-match-ai-form button:disabled{opacity:.6;cursor:wait}.nrm-match-ai-form [role=status]{white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.nrm-match-detail [id^=work-actions-]{scroll-margin-top:90px}.nrm-match-assistant .description{font-size:13px;line-height:1.7}
@media(max-width:620px){summary.nrm-match-summary{padding:16px;gap:8px}.nrm-match-person{font-size:18px}.nrm-match-summary .nrm-match-state{font-size:12px;padding:6px 8px;max-width:150px}.nrm-match-detail,.nrm-match-assistant{padding:14px}.nrm-match-ai-form button{width:100%;justify-self:stretch}}
