/* 01: editorial whitespace and fine rules. Operator approved 2026-10-16.
 * Presentation only: keep access controls, input names, unread data and notices.
 * All font files are local OFL assets; no external font requests.
 */
:root{--tcw-line-ink:#182128;--tcw-line-muted:#63707a;--tcw-line-border:#dce2e6;--tcw-line-paper:#fff;--tcw-line-wash:#f4f6f8;--tcw-line-font:"Takumi Inter B","Takumi Noto B","Hiragino Sans",sans-serif}
body .srp-admin,body .srp-settings-page,body .srp-samples-page,body .tcw-question-admin,body .srp-app{font-family:var(--tcw-line-font);font-weight:400;line-height:1.8;font-synthesis:none;color:var(--tcw-line-ink)}
body .srp-admin :is(button,input,select,textarea),body .srp-settings-page :is(button,input,select,textarea),body .srp-samples-page :is(button,input,select,textarea),body .srp-app :is(button,input,select,textarea){font-family:var(--tcw-line-font);font-weight:500}
body :is(.srp-admin,.srp-settings-page,.srp-samples-page,.srp-app) :is(button:not(.dashicons),input:not([type=password]),select,textarea){font-family:var(--tcw-line-font)!important}
body .srp-admin :is(h1,h2,h3,h4),body .srp-settings-page :is(h1,h2,h3,h4),body .srp-app :is(h1,h2,h3,h4){font-family:var(--tcw-line-font)!important;font-weight:600!important;line-height:1.5;letter-spacing:-.025em}
body .srp-admin h1,body .srp-owner-portal h1{font-weight:650!important}
body .srp-admin :is(b,strong,label,th),body .srp-settings-page :is(b,strong,label,th),body .srp-app :is(b,strong,label,th){font-weight:550!important}
body .srp-admin p,body .srp-settings-page p,body .srp-app p{font-weight:400;line-height:1.9}
body .srp-app :is(li,dd){font-weight:400}
body .srp-admin :is(pre,code),body .srp-app :is(pre,code),body .srp-settings-page input[type=password]{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}
body .srp-admin :is(button,a,input,textarea,select):focus-visible,body .srp-app :is(button,a,input,textarea,select):focus-visible{outline:2px solid #0047cc;outline-offset:3px}
body .srp-admin-workspace-page{margin-right:20px!important}
body .srp-admin .srp-case-workspace{border:0;background:#fff;box-shadow:none}
body .srp-admin .srp-case-workspace__header{padding:32px 34px 27px;background:#fff;color:var(--tcw-line-ink);border:0}
body .srp-admin .srp-case-workspace__heading h1{font-size:clamp(28px,2.5vw,38px);line-height:1.5;color:var(--tcw-line-ink);letter-spacing:-.025em}
body .srp-admin .srp-case-workspace__heading p{margin-top:13px;color:var(--tcw-line-muted);font-size:12px;gap:12px}
body .srp-admin .srp-case-workspace__back{margin-bottom:22px;color:#53616b;font-weight:500;font-size:12px}
body .srp-admin .srp-case-workspace__eyebrow{display:none}
body .srp-admin .srp-case-workspace__actions .button{border:1px solid #cbd4da!important;background:#fff!important;color:var(--tcw-line-ink)!important;font-weight:500;min-height:42px}
body .srp-admin .srp-case-workspace__heading .tcw-admin-case-id{padding:4px 8px;background:#f0f3f5;color:#43535f;font-size:12px}
body .srp-admin .srp-case-workspace__nav,body .srp-owner-portal .tcw-client-nav{margin:0 34px;padding:0;border:0;border-bottom:1px solid var(--tcw-line-border);background:#fff;box-shadow:none;gap:0}
body .srp-admin .srp-case-workspace__nav button,body .srp-owner-portal .tcw-client-nav a{position:relative;min-height:56px;padding:12px 14px;border:0;background:transparent;color:#5e6b75;box-shadow:none!important;font-size:13px;font-weight:500!important;line-height:1.6;gap:8px;text-decoration:none}
body .srp-admin .srp-case-workspace__nav button>span:first-child,body .srp-owner-portal .tcw-client-nav a>span:first-child{color:#63707a;font-size:10px;font-weight:500}
body .srp-admin .srp-case-workspace__nav button.is-active,body .srp-owner-portal .tcw-client-nav a:is(.is-active,[aria-current=location]){background:transparent!important;color:var(--tcw-line-ink)!important;box-shadow:inset 0 -2px #1b2227!important;font-weight:600!important}
body .srp-admin .srp-case-workspace__nav button:hover,body .srp-owner-portal .tcw-client-nav a:hover{background:#f7f9fa!important;color:#182128!important}
body .srp-owner-portal:has(#messages:target) .tcw-client-nav a[href="#messages"],body .srp-owner-portal:has(#tcw-portal-overview:target) .tcw-client-nav a[href="#tcw-portal-overview"],body .srp-owner-portal:has(#tcw-portal-proposal:target) .tcw-client-nav a[href="#tcw-portal-proposal"],body .srp-owner-portal:has(#contract-confirmation:target) .tcw-client-nav a[href="#contract-confirmation"],body .srp-owner-portal:has(#payment-guidance:target) .tcw-client-nav a[href="#payment-guidance"],body .srp-owner-portal:has(#tcw-case-progress:target) .tcw-client-nav a[href="#tcw-case-progress"]{color:var(--tcw-line-ink)!important;box-shadow:inset 0 -2px #1b2227!important}
body .srp-admin .srp-case-workspace__body{padding:30px 34px 44px}
body .srp-admin .srp-case-panel{max-width:1380px;border:0;background:#fff;box-shadow:none}
body .srp-admin .srp-case-panel__head{padding:0 0 24px;border:0;align-items:center}
body .srp-admin .srp-case-panel__head>div>span{display:none}
body .srp-admin .srp-case-panel__head h2{font-size:27px}
body .srp-admin .srp-case-panel__head p{color:var(--tcw-line-muted);font-size:12px}
body .srp-admin .srp-admin-messages{margin:20px 0 0;border:0;background:transparent}
body .srp-admin .srp-admin-messages-head{padding:0 0 18px;border:0;background:transparent;color:var(--tcw-line-ink);gap:16px;align-items:center}
body .srp-admin .srp-admin-messages-head div>b{display:none}
body .srp-admin .srp-admin-messages-head small{max-width:750px;color:#6a7680;font-size:11px;font-weight:400;line-height:1.8}
body .srp-admin .srp-admin-messages-head>span{min-width:auto;height:auto;background:transparent;color:#63717b;font-size:11px;font-weight:400}
body .srp-admin .tcw-jump-latest,body .srp-owner-portal .tcw-jump-latest{min-height:40px;padding:7px 12px;border:1px solid #cbd5dc;background:#fff;color:#455762;font:500 12px/1.6 var(--tcw-line-font);box-shadow:none}
body .srp-admin .srp-message-thread,body .srp-owner-portal .srp-message-thread{display:grid;min-height:0;max-height:none;width:100%;gap:36px;margin:12px 0 30px;padding:0;overflow:visible;border:0;background:#fff;box-shadow:none}
body .srp-admin .srp-case-panel .srp-admin-messages .srp-message-thread{min-height:0;max-height:none;padding:0;gap:36px;overflow:visible}
body .srp-admin .srp-case-panel .srp-admin-messages .srp-message{width:100%;max-width:100%;padding:0;margin:0}
body .srp-admin .srp-message,body .srp-owner-portal .srp-message{width:100%;max-width:100%;margin:0;padding:0;border:0!important;border-radius:0;box-shadow:none;background:transparent;justify-self:stretch;outline:0}
body .srp-admin .srp-message>header,body .srp-owner-portal .srp-message>header{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:8px 12px;margin:0 0 10px;padding:0 12px;color:#1b2832;font-size:13px;line-height:1.8}
body .srp-admin .srp-message>header b,body .srp-owner-portal .srp-message>header b{font-size:13px;font-weight:600!important}
body .srp-admin .srp-message time,body .srp-owner-portal .srp-message time{margin-left:8px;font-size:11px;font-weight:400;color:#63707a;white-space:nowrap;font-variant-numeric:tabular-nums}
body .srp-admin .srp-message>p,body .srp-owner-portal .srp-message>p{padding:18px 20px;margin:0!important;color:#26343e!important;font-size:16px!important;line-height:1.9!important;font-weight:400}
body .srp-admin .srp-message-client>p,body .srp-owner-portal .srp-message-client>p{background:var(--tcw-line-wash)}
body .srp-admin .tcw-message-new,body .srp-owner-portal .tcw-message-new{border:0;background:#ff4a00;color:#161c22;font-size:10px;line-height:1.6;font-weight:600;padding:2px 6px}
body .srp-admin .tcw-unread-badge,body .srp-owner-portal .tcw-unread-badge{min-width:21px;min-height:21px;padding:3px 5px;border:0;background:#ff4a00;color:#111!important;font-size:11px!important;font-weight:600!important;line-height:1.2}
body .srp-admin .tcw-reply-mail-status{margin:10px 12px 0;padding:8px 12px;border-left-width:2px;font-size:11px;line-height:1.8}
body .srp-admin .tcw-reply-mail-status--processed{background:#f0faf5;color:#236249}
body .srp-admin .tcw-reply-mail-status--failed{background:#fff1eb;color:#88391d}
body .srp-admin :is(.tcw-reply-mail-status--processing,.tcw-reply-mail-status--unknown){background:#fff7e8;color:#805a20}
body .srp-admin .srp-admin-message-form,body .srp-owner-portal .srp-message-form{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;padding:25px 0 0;margin:20px 0 0;border:0;border-top:1px solid var(--tcw-line-border);background:#fff}
body .srp-admin .tcw-admin-reply-main{display:grid;gap:12px;min-width:0}
body .srp-admin .tcw-admin-reply-heading{display:flex;align-items:baseline;justify-content:space-between;gap:8px 20px;flex-wrap:wrap}
body .srp-admin .tcw-admin-reply-heading label,body .srp-owner-portal .srp-message-form>label{margin:0;font-size:16px;font-weight:550;line-height:1.6}
body .srp-admin .tcw-admin-reply-heading .srp-note-text{font-size:11px!important;font-weight:400;color:#687680}
body .srp-admin .tcw-admin-reply-main textarea,body .srp-owner-portal .srp-message-form textarea{box-sizing:border-box;width:100%;max-width:100%;min-height:160px;margin:0!important;padding:16px!important;border:1px solid #bac5cd!important;border-radius:0;background:#fff;color:#26343e;font-size:16px;line-height:1.9;box-shadow:none}
body .srp-admin .tcw-admin-reply-main textarea,body .srp-owner-portal .srp-message-form textarea{border-color:#81909a!important}
body .srp-admin .srp-admin-message-form>.srp-message-attachments,body .srp-owner-portal .srp-message-attachments{grid-column:1;grid-row:auto;width:100%;margin:0;padding:14px 0;border:0!important;background:transparent;min-width:0}
body .srp-admin .srp-message-attachments legend,body .srp-owner-portal .srp-message-attachments legend{padding:0;font-size:13px;font-weight:550}
body .srp-admin .tcw-design-direction-toggle,body .srp-owner-portal .tcw-design-direction-toggle{padding:12px 14px;border:1px solid #e0e5e9;background:#f8f9fa}
body .srp-admin .srp-admin-message-form>.button,body .srp-admin .button-primary,body .srp-owner-portal .srp-message-form .srp-btn-primary{grid-column:1;grid-row:auto;min-height:46px;justify-self:start;padding:11px 21px;border:1px solid #1b2227!important;background:#1b2227!important;color:#fff!important;font-size:13px;font-weight:550!important;line-height:1.7;box-shadow:none!important}
body .srp-admin .button-primary:hover,body .srp-owner-portal .srp-message-form .srp-btn-primary:hover{background:#34414a!important;border-color:#34414a!important}
body .srp-admin .tcw-consultation-guide{margin:16px 0 22px;padding:15px 18px;border:0;border-top:1px solid var(--tcw-line-border);background:#f7f9fa}
body .srp-admin .tcw-consultation-guide__eyebrow{color:#63717c;font-weight:500;letter-spacing:.09em}
body .srp-admin .tcw-consultation-guide__link{font-weight:500;font-size:12px;background:#fff;border:1px solid #c4cfd7;color:#334b5b!important}
body .srp-admin .srp-detail-list,body .srp-admin .srp-case-request-note{border:0;background:#f7f9fa}
body .srp-admin :is(.tcw-proposal-advanced,.tcw-proposal-status,.tcw-contract-history,.tcw-order-editor,.tcw-admin-payment,.tcw-delivery-record){border:1px solid var(--tcw-line-border);box-shadow:none}
body .srp-admin :is(.tcw-proposal-editor,.tcw-proposal-status,.tcw-proposal-advanced,.tcw-proposal-retry){margin-inline:0}
body .srp-admin :is(.tcw-proposal-editor,.tcw-order-editor,.tcw-admin-payment) :is(input[type=text],textarea,select){font-size:15px;font-weight:400;border-color:#81909a}
body .srp-owner-portal :is(.tcw-contract,.tcw-additions,.tcw-payment,.tcw-lifecycle,.tcw-reviews){border-top-width:1px!important;border-top-color:var(--tcw-line-border)!important}
body .srp-owner-portal :is(.tcw-contract-pending,.tcw-addition-waiting,.tcw-addition-accepted,.tcw-addition-card__closed,.tcw-stripe-payment__status,.tcw-contract-final-warning){border-left-width:2px!important}
body .srp-owner-portal :is(.tcw-contract__accept-form,.tcw-addition-accept-form,.tcw-review-form,.tcw-contract-record,.tcw-delivery-record){border:1px solid var(--tcw-line-border);box-shadow:none}
body .srp-admin :is(.srp-stat,.srp-filter-card,.srp-table-card,.srp-admin-panel),body .srp-settings-card{border:0!important;box-shadow:none!important;background:#fff!important}
body .srp-admin .srp-stat{border-top:1px solid var(--tcw-line-border)!important;padding:20px}
body .srp-admin .srp-table thead th{background:#fff!important;color:#54636e!important;border-bottom:1px solid #b9c6cf!important;font-weight:550;font-size:12px}
body .srp-admin .srp-table tbody td{border-bottom:1px solid #e2e7eb;line-height:1.7}
body .srp-admin .srp-table tbody tr:hover td,body .srp-admin .srp-table tbody tr.selected td{background:#f4f7f9!important}
body .srp-settings-card{padding:26px 28px;border-top:1px solid var(--tcw-line-border)!important}
body .srp-settings-card h2{padding-bottom:16px;border-bottom:1px solid var(--tcw-line-border);font-size:22px}
body :is(.tcw-review-admin,.tcw-question-admin){font-family:var(--tcw-line-font);font-weight:400;line-height:1.8;color:var(--tcw-line-ink)}
body :is(.tcw-review-admin,.tcw-question-admin) :is(h1,h2,h3){font-family:var(--tcw-line-font)!important;font-weight:600!important;letter-spacing:-.025em}
body :is(.tcw-review-admin,.tcw-question-admin) :is(button,input,textarea,select){font-family:var(--tcw-line-font)}
body .tcw-review-admin__item{border:0;border-top:1px solid var(--tcw-line-border);background:#fff;box-shadow:none;padding:26px}
body .tcw-review-admin__item blockquote{border-left:2px solid #bdcbd5;background:#f5f7f9}
body .tcw-review-admin .button-primary{background:#1b2227;border-color:#1b2227;color:#fff;box-shadow:none}
body .srp-owner-portal{background:#fff;overflow:visible}
body .srp-owner-portal .tcw-client-nav{top:var(--wp-admin--admin-bar--height,0px)}
body .srp-owner-portal :is(#tcw-portal-overview,#messages,#tcw-portal-proposal,#contract-confirmation,#payment-guidance,#tcw-case-progress){scroll-margin-top:calc(90px + var(--wp-admin--admin-bar--height,0px))}
body .srp-owner-portal .srp-proposal-header{border:0;border-bottom:1px solid var(--tcw-line-border);background:#fff;color:var(--tcw-line-ink)}
body .srp-app.srp-owner-portal .srp-header.srp-proposal-header{padding:20px 34px;min-height:80px;height:auto;background:#fff!important;border:0;border-bottom:1px solid var(--tcw-line-border);box-shadow:none;color:var(--tcw-line-ink)!important}
body .srp-app.srp-owner-portal .srp-header .srp-brand,body .srp-app.srp-owner-portal .srp-header .srp-brand-copy b{font-family:var(--tcw-line-font)!important;color:var(--tcw-line-ink)!important;font-weight:600!important}
body .srp-owner-portal .srp-proposal-header .srp-header-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;width:100%;max-width:1312px;margin-inline:auto;padding:0}
body .srp-owner-portal .srp-status-done{min-height:34px;padding:6px 12px;border:0;background:#f4f6f8;color:#465a69;font-size:12px;font-weight:500}
body .srp-app.srp-owner-portal .srp-status-done{background:#f4f6f8!important;color:#465a69!important;border:0!important;box-shadow:none!important}
body .srp-app.srp-owner-portal .srp-header.srp-proposal-header{border-bottom:1px solid var(--tcw-line-border)!important}
/* Keep the case navigation visible without stacking a second fixed brand bar. */
body .srp-app.srp-owner-portal .srp-header.srp-proposal-header{position:relative!important;top:auto!important}
body .srp-owner-portal .srp-brand,body .srp-owner-portal .srp-brand-copy b{font-family:var(--tcw-line-font)!important;color:var(--tcw-line-ink);font-weight:600!important;letter-spacing:-.025em}
body .srp-owner-portal .srp-brand-copy small{color:var(--tcw-line-muted);font-weight:400}
body .srp-owner-portal .srp-proposal-main{max-width:1380px;border:0;background:#fff;padding:38px 34px 60px}
body .srp-owner-portal .srp-proposal-main>h1{font-size:clamp(28px,3vw,40px)!important;line-height:1.5!important;color:#182128}
body .srp-owner-portal .srp-proposal-main>h1{word-break:keep-all;overflow-wrap:anywhere}
body .srp-owner-portal .srp-proposal-main>p{font-size:15px;color:#63717c}
body .srp-owner-portal .tcw-case-id-callout{border:0;border-left:2px solid #c4d0d8;background:#f7f9fa;padding:16px 20px}
body .srp-owner-portal .tcw-case-id-callout strong,body .srp-owner-portal .tcw-case-id-callout b{color:#263d4d;font-size:20px;font-weight:600}
body .srp-owner-portal .tcw-client-profile{border:0;border-top:1px solid var(--tcw-line-border);background:#fff;box-shadow:none}
body .srp-owner-portal .tcw-client-nav{margin:30px 0}
body .srp-owner-portal .tcw-client-nav{display:grid;grid-template-columns:repeat(var(--tcw-nav-count,5),minmax(0,1fr))!important;width:100%;min-width:0}
body .srp-owner-portal .tcw-owner-portal-grid{display:block!important}
body .srp-owner-portal .srp-card{border:0!important;border-top:1px solid var(--tcw-line-border)!important;background:#fff;box-shadow:none}
body .srp-owner-portal .srp-portal-messages{padding:30px 0!important;border-top:1px solid var(--tcw-line-border)!important;background:#fff}
body .srp-owner-portal .srp-message-heading>span{display:none}
body .srp-owner-portal .srp-message-heading h2{font-size:27px!important;line-height:1.5!important;letter-spacing:-.025em}
body .srp-owner-portal .srp-message-heading p{font-size:12px;color:#687782}
body .srp-owner-portal .srp-summary{border:0;border-block:1px solid var(--tcw-line-border);background:#fff;gap:18px}
body .srp-owner-portal .srp-summary>div{border:0;padding:18px 14px;background:#fff}
body .srp-owner-portal .srp-summary b{font-size:14px;font-weight:500}
body .srp-owner-portal .tcw-ai-policy-record{border-left-width:2px;border-color:#bac8d2;background:#f6f8fa}
body .srp-owner-portal .tcw-owner-portal-grid>aside{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:30px}
body .srp-admin .tvci-case-voice,body .srp-owner-portal .tvci-case-voice{border:1px solid var(--tcw-line-border);background:#f8f9fa}
body .srp-admin :is(.tvci-reply,.tvci-voice-evidence),body .srp-owner-portal :is(.tvci-reply,.tvci-voice-evidence){font-family:var(--tcw-line-font);border:1px solid var(--tcw-line-border)!important;background:#f7f9fa!important;box-shadow:none}
body .srp-admin .tvci-reply summary,body .srp-owner-portal .tvci-reply summary{font-weight:550!important}
body .srp-admin .tvci-transcript-notice,body .srp-owner-portal .tvci-transcript-notice{border-left:2px solid #b9cad7!important;background:#f1f5f8!important;color:#3e5363!important}
body .srp-admin .tvci-transcript-notice strong,body .srp-owner-portal .tvci-transcript-notice strong{font-weight:550!important;color:#36536a!important}
body .srp-admin .tvci-file-drop,body .srp-owner-portal .tvci-file-drop{border:1px dashed #b5c2cc!important;background:#fafbfc!important;box-shadow:none!important}
body .srp-admin .tvci-file-drop__button,body .srp-owner-portal .tvci-file-drop__button{border:1px solid #c1cbd2!important;background:#fff!important;color:#324a5b!important;font-weight:500!important}
body .srp-admin .tvci-file-action,body .srp-owner-portal .tvci-file-action{border-color:#c1cbd2!important;color:#324a5b!important;font-weight:500!important}
@media(max-width:900px){body .srp-admin .srp-case-workspace__nav,body .srp-owner-portal .tcw-client-nav{display:flex;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin}body .srp-admin .srp-case-workspace__nav button,body .srp-owner-portal .tcw-client-nav a{min-width:138px;flex:1 0 auto;white-space:nowrap}}
@media(max-width:782px){body .srp-admin-workspace-page{margin-right:10px!important}body .srp-admin .srp-case-workspace__header{padding:25px 20px;gap:18px}body .srp-admin .srp-case-workspace__heading h1{font-size:28px}body .srp-admin .srp-case-workspace__nav{margin-inline:20px}body .srp-admin .srp-case-workspace__body{padding:25px 20px}body .srp-admin .srp-case-panel__head{padding:0 0 20px;gap:8px}body .srp-admin .srp-case-panel__head h2{font-size:24px}body .srp-admin .srp-admin-messages-head{flex-wrap:wrap;gap:10px}body .srp-admin .srp-admin-messages-head div{flex-basis:100%}body .srp-admin .tcw-admin-reply-heading{display:grid;gap:5px}body .srp-admin .srp-message-thread,body .srp-owner-portal .srp-message-thread{gap:28px}body .srp-admin .srp-message>p,body .srp-owner-portal .srp-message>p{padding:16px 14px;font-size:15px!important}body .srp-admin .srp-message>header,body .srp-owner-portal .srp-message>header{padding:0 5px;gap:6px}body .srp-admin .srp-message>header b,body .srp-owner-portal .srp-message>header b{font-size:12px}body .srp-admin .srp-admin-message-form>.button,body .srp-owner-portal .srp-message-form .srp-btn{width:100%;min-width:0;min-height:48px;text-align:center;justify-content:center}body .srp-owner-portal .srp-proposal-main{padding:28px 20px 40px!important}body .srp-owner-portal .srp-proposal-main>h1{font-size:30px!important}body .srp-owner-portal .srp-portal-messages{padding:25px 0!important}body .srp-owner-portal .tcw-owner-portal-grid>aside{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){body .srp-admin *,body .srp-owner-portal *{scroll-behavior:auto!important}}
@media(max-width:782px){body .srp-admin .srp-case-panel__head{align-items:flex-start}body .srp-admin .srp-case-panel__head p{text-align:left;margin-left:0;max-width:none}body .srp-admin .srp-message time,body .srp-owner-portal .srp-message time{margin-left:0}body .srp-app.srp-owner-portal .srp-header.srp-proposal-header{padding:18px 20px}}

/* 1.10.56: room gutters and sender/content proximity.
 * Keep whole messages as the grouping unit; never alter stored text or controls.
 * The legacy grid's left border must not become the reply field's left edge.
 */
body .srp-owner-portal{--tcw-room-inset:clamp(18px,2.4vw,28px)}
body .srp-owner-portal .tcw-owner-portal-grid{border:0!important}
body .srp-owner-portal .tcw-owner-portal-grid>div>.srp-card,
body .srp-owner-portal .tcw-owner-portal-grid>aside>.srp-card{padding:28px var(--tcw-room-inset)!important;min-width:0}
body .srp-owner-portal .srp-portal-messages{padding:28px var(--tcw-room-inset)!important}
body .srp-owner-portal .tcw-owner-portal-grid>div>.srp-note-text{padding-inline:var(--tcw-room-inset)}
body .srp-admin .srp-case-panel .srp-admin-messages .srp-message-thread,
body .srp-admin .srp-message-thread,
body .srp-owner-portal .srp-message-thread{gap:24px}
body .srp-admin .srp-case-panel .srp-admin-messages .srp-message,
body .srp-admin .srp-message,
body .srp-owner-portal .srp-message{box-sizing:border-box;display:block;padding:22px;margin:0;min-width:0;border:0!important;border-top:1px solid var(--tcw-line-border)!important;background:#fff;overflow-wrap:anywhere}
body .srp-admin .srp-message.srp-message-client,
body .srp-owner-portal .srp-message.srp-message-client{background:var(--tcw-line-wash)!important}
body .srp-admin .srp-message>header,
body .srp-owner-portal .srp-message>header{padding:0;margin:0 0 10px;gap:6px 12px;align-items:baseline;line-height:1.6}
body .srp-admin .srp-message>header b,
body .srp-owner-portal .srp-message>header b{min-width:0;overflow-wrap:anywhere}
body .srp-admin .srp-message>header time,
body .srp-owner-portal .srp-message>header time{margin-left:0;font-size:12px}
body .srp-admin .srp-message>p,
body .srp-owner-portal .srp-message>p{padding:0!important;margin:0!important;background:transparent!important}
body .srp-admin .srp-admin-message-form,
body .srp-owner-portal .srp-message-form{gap:16px;min-width:0}
body .srp-admin .tcw-admin-reply-heading .srp-note-text,
body .srp-admin .tcw-admin-reply-main>.srp-note-text,
body .srp-owner-portal .srp-message-form>.srp-note-text{margin:0!important;line-height:1.75;overflow-wrap:anywhere}
body .srp-owner-portal .srp-message-form>.srp-note-text{font-size:13px}
body .srp-admin .srp-admin-message-form>.srp-message-attachments,
body .srp-owner-portal .srp-message-form>.srp-message-attachments{padding:0;border:0!important;min-inline-size:0}
body .srp-admin .srp-message-attachments>legend,
body .srp-owner-portal .srp-message-attachments>legend{max-width:100%;margin:0 0 12px;padding:0;line-height:1.7;overflow-wrap:anywhere}
body .srp-admin .tcw-reply-mail-status{margin:14px 0 0}
@media(max-width:782px){
body .srp-owner-portal .srp-proposal-header .srp-header-inner{flex-wrap:wrap;gap:12px}
body .srp-owner-portal .tcw-owner-portal-grid>div>.srp-card,
body .srp-owner-portal .tcw-owner-portal-grid>aside>.srp-card,
body .srp-owner-portal .srp-portal-messages{padding:24px var(--tcw-room-inset)!important}
body .srp-admin .srp-case-panel .srp-admin-messages .srp-message-thread,
body .srp-admin .srp-message-thread,
body .srp-owner-portal .srp-message-thread{gap:20px}
body .srp-admin .srp-case-panel .srp-admin-messages .srp-message,
body .srp-admin .srp-message,
body .srp-owner-portal .srp-message{padding:16px}
body .srp-admin .srp-message>header,
body .srp-owner-portal .srp-message>header{padding:0;margin-bottom:8px}
}

/* Room context: read-only orientation beside the conversation, never a second form. */
body :is(.srp-admin,.srp-owner-portal) .tcw-room-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;align-items:start;min-width:0}
body :is(.srp-admin,.srp-owner-portal) .tcw-room-layout__main{min-width:0;grid-column:1}
body :is(.srp-admin,.srp-owner-portal) .tcw-room-context{min-width:0;margin:0;padding:0;background:#f7f9fa;color:var(--tcw-line-ink);border:0;border-top:1px solid var(--tcw-line-border)}
body :is(.srp-admin,.srp-owner-portal) .tcw-room-context__details{margin:0;border:0;padding:0;background:transparent}
body :is(.srp-admin,.srp-owner-portal) .tcw-room-context__details>summary{display:flex;align-items:center;gap:10px;min-height:48px;padding:15px 18px;list-style:none;color:var(--tcw-line-ink);font-size:13px;font-weight:550;line-height:1.6;cursor:pointer}
body :is(.srp-admin,.srp-owner-portal) .tcw-room-context__details>summary::-webkit-details-marker{display:none}
body :is(.srp-admin,.srp-owner-portal) .tcw-room-context__details>summary:after{width:7px;height:7px;border-right:1px solid currentColor;border-bottom:1px solid currentColor;content:"";transform:rotate(45deg);margin-left:2px;flex-shrink:0}
body :is(.srp-admin,.srp-owner-portal) .tcw-room-context__details[open]>summary:after{transform:rotate(225deg)}
body :is(.srp-admin,.srp-owner-portal) .tcw-room-context__details>summary small{margin-left:auto;color:var(--tcw-line-muted);font-size:11px;font-weight:400}
body :is(.srp-admin,.srp-owner-portal) .tcw-room-context__body{display:grid;gap:18px;padding:0 18px 20px}
body :is(.srp-admin,.srp-owner-portal) .tcw-room-context__facts{display:grid;gap:12px;margin:0;padding:15px 0 0;border-top:1px solid var(--tcw-line-border)}
body :is(.srp-admin,.srp-owner-portal) .tcw-room-context__facts>div{display:grid;gap:3px}
body :is(.srp-admin,.srp-owner-portal) .tcw-room-context__facts dt,
body :is(.srp-admin,.srp-owner-portal) .tcw-room-context__activity>span,
body :is(.srp-admin,.srp-owner-portal) .tcw-room-context__guidance>span{color:var(--tcw-line-muted);font-size:11px;font-weight:400;line-height:1.6}
body :is(.srp-admin,.srp-owner-portal) .tcw-room-context__facts dd{margin:0;font-size:14px;font-weight:550;line-height:1.65;overflow-wrap:anywhere}
body :is(.srp-admin,.srp-owner-portal) .tcw-room-context__activity{display:grid;gap:5px}
body :is(.srp-admin,.srp-owner-portal) .tcw-room-context__activity strong{font-size:13px;font-weight:550;line-height:1.6}
body :is(.srp-admin,.srp-owner-portal) .tcw-room-context__activity small{font-size:11px;color:var(--tcw-line-muted)}
body :is(.srp-admin,.srp-owner-portal) .tcw-room-context__activity p,
body :is(.srp-admin,.srp-owner-portal) .tcw-room-context__guidance p{margin:5px 0 0;color:#4b5d6b;font-size:12px;font-weight:400;line-height:1.85;overflow-wrap:anywhere}
body :is(.srp-admin,.srp-owner-portal) .tcw-room-context__links{display:grid;gap:0;margin:0;padding:0;border-top:1px solid var(--tcw-line-border);background:transparent}
body :is(.srp-admin,.srp-owner-portal) .tcw-room-context__links a,
body :is(.srp-admin,.srp-owner-portal) .tcw-room-context__reply{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:9px 0;border-bottom:1px solid var(--tcw-line-border);color:#36546a;font-size:12px;font-weight:500;line-height:1.65;text-decoration:none}
body :is(.srp-admin,.srp-owner-portal) .tcw-room-context__links a:hover{color:#0047b3;background:#eef2f5}
body :is(.srp-admin,.srp-owner-portal) .tcw-room-context__reply{padding:10px 12px;border:1px solid #c5cfd6;background:#fff}
body :is(.srp-admin,.srp-owner-portal) .tcw-room-context :is(a,summary):focus-visible{outline:2px solid #285cab;outline-offset:3px}
body :is(.srp-admin,.srp-owner-portal) .tcw-room-context__note{margin:0;color:var(--tcw-line-muted);font-size:10px;font-weight:400;line-height:1.8}
body :is(.srp-admin,.srp-owner-portal) [data-tcw-focus-reply]{scroll-margin-top:110px}
@media(min-width:1280px){
body :is(.srp-admin,.srp-owner-portal) .tcw-room-layout{grid-template-columns:minmax(0,1fr) 248px;gap:28px}
body :is(.srp-admin,.srp-owner-portal) .tcw-room-layout__main{grid-row:1}
body :is(.srp-admin,.srp-owner-portal) .tcw-room-context{grid-column:2;grid-row:1}
}
@media(min-width:1280px) and (min-height:850px){body :is(.srp-admin,.srp-owner-portal) .tcw-room-context{position:sticky;top:84px}}

/* Case-bound review shortcuts: desktop beside the conversation, compact screens
 * beside the horizontally scrolling navigation. Neither opens an unprotected URL.
 */
body .srp-owner-portal .tcw-review-shortcut{margin:0;padding:0;border:0;min-width:0;background:transparent}
body .srp-owner-portal .tcw-review-shortcut button{display:flex;align-items:center;justify-content:space-between;gap:10px;box-sizing:border-box;min-height:44px;width:100%;margin:0;padding:12px 14px;border:1px solid #bdcbd5;border-radius:0;background:#fff;color:#263f51;font:550 13px/1.65 var(--tcw-line-font);text-align:left;box-shadow:none;cursor:pointer}
body .srp-owner-portal .tcw-review-shortcut button:hover{background:#edf2f6;border-color:#8da3b2;color:#183c58}
body .srp-owner-portal .tcw-review-shortcut button:focus-visible{outline:2px solid #285cab;outline-offset:3px}
body .srp-owner-portal .tcw-review-shortcut button>span:last-child{flex-shrink:0;font-size:17px}
body .srp-owner-portal .tcw-review-shortcut small{display:block;margin-top:9px;font-size:10px;font-weight:400;line-height:1.8;color:var(--tcw-line-muted)}
body .srp-owner-portal .tcw-review-shortcut--sidebar{padding:18px 18px 4px}
body .srp-owner-portal .tcw-review-shortcut--toolbar{display:none}
body .srp-owner-portal .tcw-review-shortcut__feedback{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
body .srp-owner-portal .tcw-client-review-tools{position:sticky;top:var(--wp-admin--admin-bar--height,0px);z-index:30;margin:30px 0;border-bottom:1px solid var(--tcw-line-border);background:#fff;min-width:0}
body .srp-owner-portal .tcw-client-review-tools .tcw-client-nav{position:static;top:auto;margin:0;border-bottom:0}
@media(min-width:1280px){
body .srp-owner-portal .tcw-room-context--review{position:sticky;top:calc(84px + var(--wp-admin--admin-bar--height,0px));max-height:calc(100vh - 100px - var(--wp-admin--admin-bar--height,0px));max-height:calc(100dvh - 100px - var(--wp-admin--admin-bar--height,0px));overflow-y:auto;scrollbar-width:thin}
}
@media(max-width:1279px){
body .srp-owner-portal .tcw-review-shortcut--sidebar{display:none}
body .srp-owner-portal .tcw-client-review-tools{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:stretch}
body .srp-owner-portal .tcw-client-review-tools .tcw-client-nav{display:flex!important;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin;width:auto}
body .srp-owner-portal .tcw-client-review-tools .tcw-client-nav a{flex:0 0 auto;white-space:nowrap}
body .srp-owner-portal .tcw-review-shortcut--toolbar{display:flex;align-items:center;padding:6px 0 6px 10px;border-left:1px solid var(--tcw-line-border);background:#fff}
body .srp-owner-portal .tcw-review-shortcut--toolbar button{white-space:nowrap;padding:8px 12px;min-height:44px;font-size:12px;gap:7px}
}
/* Native controls: WP 7.x paints a white check on the selected background.
 * Old generic form rules forced that background white. Restore the browser's
 * own accessible check/radio, without replacing inputs or their submitted values.
 * Intentional switch controls and hidden/disabled states remain untouched. */
body :is(.srp-admin,.srp-app,.srp-settings-page,.srp-samples-page) input[type=checkbox]:not([role=switch]){-webkit-appearance:checkbox!important;appearance:auto!important;accent-color:var(--tb-brand,#0047cc);cursor:pointer}
body :is(.srp-admin,.srp-app,.srp-settings-page,.srp-samples-page) input[type=radio]:not([role=switch]){-webkit-appearance:radio!important;appearance:auto!important;accent-color:var(--tb-brand,#0047cc);cursor:pointer}
body :is(.srp-admin,.srp-app,.srp-settings-page,.srp-samples-page) :is(input[type=checkbox],input[type=radio]):not([role=switch]):checked{background:var(--tb-brand,#0047cc)!important;border-color:var(--tb-brand,#0047cc)!important}
body :is(.srp-admin,.srp-app,.srp-settings-page,.srp-samples-page) :is(input[type=checkbox],input[type=radio]):not([role=switch])::before{content:none!important}
