/* Job hub (5.8.25). Uses the theme's own variables so it follows light and dark. */
.rh-hub{display:flex;flex-direction:column;gap:14px}
.rh-hub-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap}
.rh-hub-top h2{margin:0 0 4px}
.rh-hub-top .help{margin:0;max-width:60ch}
.rh-hub-search{display:flex;flex-direction:column;gap:6px;font-weight:600}
.rh-hub-search input{min-height:44px;font-size:16px}
.rh-hub-chips{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px;scrollbar-width:none}
.rh-hub-chips::-webkit-scrollbar{display:none}
.rh-hub-chips button{flex:0 0 auto;min-height:40px;padding:8px 14px;border-radius:20px;border:1px solid var(--rh-control-border,currentColor);background:transparent;color:inherit;font:inherit;white-space:nowrap;cursor:pointer}
.rh-hub-chips button[aria-selected=true]{background:var(--rf-accent,#ff6b35);border-color:var(--rf-accent,#ff6b35);color:#111;font-weight:700}
.rh-hub-chips button span{opacity:.75;margin-left:4px}
.rh-hub-list{display:flex;flex-direction:column;gap:8px}
.rh-hub-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;width:100%;min-height:60px;padding:10px 14px;text-align:left;border-radius:12px;border:1px solid var(--rh-control-border,rgba(128,128,128,.4));background:transparent;color:inherit;font:inherit;cursor:pointer}
.rh-hub-row:hover,.rh-hub-row:focus-visible,.rh-hub-tile:hover,.rh-hub-tile:focus-visible{border-color:var(--rf-accent,#ff6b35);outline:none}
.rh-hub-row-main{display:flex;flex-direction:column;min-width:0}
.rh-hub-row-main strong,.rh-hub-row-main span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rh-hub-row-main span,.rh-hub-row-side small{opacity:.75;font-size:13px}
.rh-hub-row-side{display:flex;flex-direction:column;align-items:flex-end;text-align:right;font-size:13px;max-width:38vw}
.rh-hub-overdue{color:#e5484d;font-weight:700}
.rh-hub-stage{display:inline-block;padding:4px 10px;border-radius:12px;font-size:12px;font-weight:700;white-space:nowrap;border:1px solid currentColor}
.rh-hub-stage-NEW,.rh-hub-stage-QUOTED{color:#9aa0a6}
.rh-hub-stage-APPROVED,.rh-hub-stage-SCHEDULED{color:#4c9aff}
.rh-hub-stage-IN_PROGRESS{color:#f5a524}
.rh-hub-stage-WORK_DONE{color:#ff6b35}
.rh-hub-stage-COMPLETED{color:#30a46c}
.rh-hub-finish{padding:14px;border-radius:12px;border:1px solid var(--rf-accent,#ff6b35);display:flex;flex-direction:column;gap:10px}
.rh-hub-finish h3,.rh-hub-finish p{margin:0}
.rh-hub-finish-done{border-color:#30a46c}
.rh-hub-finish-open{border-color:var(--rh-control-border,rgba(128,128,128,.4))}
.rh-hub-finish .help{align-self:center;margin:0}
.rh-hub-money{grid-template-columns:repeat(3,minmax(0,1fr))}
.rh-hub-head h2{margin:8px 0 2px}
.rh-hub-head p{margin:0}
.rh-hub-next{margin-top:8px!important}
.rh-hub-track{display:flex;gap:4px;list-style:none;margin:0;padding:0;overflow-x:auto}
.rh-hub-track li{flex:1 0 auto;min-width:74px;padding:6px 8px;text-align:center;font-size:12px;border-bottom:3px solid rgba(128,128,128,.35);opacity:.6}
.rh-hub-track li.reached{border-bottom-color:var(--rf-accent,#ff6b35);opacity:1}
.rh-hub-track li.current{font-weight:700}
.rh-hub-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
@media (max-width:1000px){.rh-hub-strip{grid-template-columns:repeat(3,minmax(0,1fr))}}
.rh-hub-tile{display:flex;flex-direction:column;gap:4px;min-height:132px;padding:14px;text-align:left;border-radius:12px;border:1px solid var(--rh-control-border,rgba(128,128,128,.4));background:transparent;color:inherit;font:inherit;cursor:pointer}
.rh-hub-tile-name{font-size:12px;letter-spacing:.06em;text-transform:uppercase;opacity:.7}
.rh-hub-tile strong{font-size:17px}
.rh-hub-tile-detail{font-size:13px;opacity:.8;flex:1}
.rh-hub-tile-next{font-size:13px;font-weight:600;color:var(--rf-accent,#ff6b35)}
.rh-hub-tile.rh-hub-done strong{color:#30a46c}
.rh-hub-tile.rh-hub-warn strong{color:#e5484d}
.rh-hub-older{margin:6px 0 0}
.rh-hub-top h3{margin:0;align-self:center}
.rh-hub-actions{display:flex;gap:8px;flex-wrap:wrap}
.rh-hub-link{padding:0;border:0;background:none;color:inherit;font:inherit;text-decoration:underline;text-underline-offset:3px;cursor:pointer;min-height:32px}
.rh-hub-head a{color:inherit}
.rh-hub-client{grid-template-columns:minmax(0,1fr) auto}
.rh-hub-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0}
.rh-hub-facts div{padding:10px 12px;border-radius:12px;border:1px solid var(--rh-control-border,rgba(128,128,128,.4))}
.rh-hub-facts dt{font-size:12px;letter-spacing:.06em;text-transform:uppercase;opacity:.7}
.rh-hub-facts dd{margin:2px 0 0;font-size:17px;font-weight:700}
@media (max-width:600px){
  .rh-hub-strip{grid-template-columns:repeat(2,minmax(0,1fr))}
  .rh-hub-row{grid-template-columns:minmax(0,1fr) auto;row-gap:6px}
  .rh-hub-row>.rh-hub-stage{grid-column:1/-1;justify-self:start}
  .rh-hub-tile{min-height:120px;padding:12px}
  .rh-hub-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
}
.rh-tool-heading{margin:14px 0 0;font-size:12px;letter-spacing:.06em;text-transform:uppercase;opacity:.7}
.rh-family{margin-top:-6px;padding-left:10px;border-left:3px solid var(--rf-accent,#ff6b35)}
.rh-family .v51-subtab{min-height:36px;padding:7px 12px;font-size:.85rem}
.rh-hub-paidby{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:0}
/* Home (5.8.40). Phone first: two tiles across, big touch targets. */
.rh-home{display:flex;flex-direction:column;gap:18px}
.rh-home-head h2{margin:2px 0 0}
.rh-home-date{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--rf-accent,#ff6b35)}
.rh-home-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.rh-home-tile{display:flex;flex-direction:column;gap:6px;min-height:128px;padding:16px;text-align:left;border-radius:16px;border:1px solid var(--rh-control-border,rgba(128,128,128,.4));background:var(--rf-surface-raised,transparent);color:inherit;font:inherit;cursor:pointer}
.rh-home-tile-name{font-size:12px;letter-spacing:.12em;text-transform:uppercase;opacity:.8}
.rh-home-tile strong{font-size:34px;line-height:1.05;font-variant-numeric:tabular-nums}
.rh-home-tile-detail{font-size:13px;color:var(--rf-muted,inherit);margin-top:auto}
.rh-home-list{display:flex;flex-direction:column;gap:8px}
.rh-home-list h3{margin:0 0 2px}
.rh-home-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;min-height:54px;padding:10px 16px;text-align:left;border-radius:14px;border:1px solid var(--rh-control-border,rgba(128,128,128,.4));background:var(--rf-surface-raised,transparent);color:inherit;font:inherit;cursor:pointer}
.rh-home-row b{font-size:17px;font-variant-numeric:tabular-nums}
.rh-home-tile:is(:hover,:focus-visible),.rh-home-row:is(:hover,:focus-visible){border-color:var(--rf-accent,#ff6b35);outline:none}
.rh-home-alert strong,.rh-home-alert b{color:var(--rf-negative,#e5484d)}
.rh-hub-queue{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:0}
@media (min-width:900px){
  .rh-home-tiles{grid-template-columns:repeat(4,minmax(0,1fr))}
  .rh-home{max-width:1100px}
  .rh-home-lists{display:grid;grid-template-columns:1fr 1fr;gap:18px}
}
/* Schedule timeline (5.8.42). Phone first. */
.rh-timeline{display:flex;flex-direction:column;gap:18px}
.rh-timeline-day{display:flex;flex-direction:column;gap:8px;padding-left:16px;border-left:2px solid var(--rh-control-border,rgba(128,128,128,.4))}
.rh-timeline-day>header{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.rh-timeline-day h3{margin:0}
.rh-timeline-today{border-left-color:var(--rf-accent,#ff6b35)}
.rh-timeline-job{display:grid;grid-template-columns:86px minmax(0,1fr);gap:4px 12px;width:100%;min-height:64px;padding:12px 14px;text-align:left;border-radius:14px;border:1px solid var(--rh-control-border,rgba(128,128,128,.4));background:var(--rf-surface-raised,transparent);color:inherit;font:inherit;cursor:pointer}
.rh-timeline-job:is(:hover,:focus-visible){border-color:var(--rf-accent,#ff6b35);outline:none}
.rh-timeline-time{font-weight:700;font-variant-numeric:tabular-nums}
.rh-timeline-main{display:flex;flex-direction:column;gap:2px;min-width:0}
.rh-timeline-main span,.rh-timeline-side small{font-size:13px;color:var(--rf-muted,inherit)}
.rh-timeline-main .rh-timeline-what{color:inherit}
.rh-timeline-side{grid-column:2;display:flex;flex-wrap:wrap;gap:4px 12px}
.rh-timeline-done{opacity:.72}
.rh-view-switch{margin-top:-6px}
@media (min-width:900px){
  .rh-timeline-job{grid-template-columns:110px minmax(0,1fr) minmax(140px,auto);align-items:center}
  .rh-timeline-side{grid-column:3;flex-direction:column;align-items:flex-end;text-align:right}
  .rh-timeline{max-width:1100px}
}
/* Calendar links (5.8.43) */
.rh-calendar-links{display:flex;flex-direction:column;gap:12px}
.rh-calendar-links input{width:100%;margin-top:6px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:13px}
.rh-calendar-people{display:flex;flex-direction:column;gap:8px}
.rh-calendar-person{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 14px;border-radius:14px;border:1px solid var(--rh-control-border,rgba(128,128,128,.4))}
.rh-calendar-person strong,.rh-calendar-person small{display:block}
.rh-calendar-person small{font-size:13px;color:var(--rf-muted,inherit)}
.rh-hub-locked{font-size:13px;color:var(--rf-muted,inherit);align-self:center}
.rh-hub-reopened{margin:0}
/* New quote start (5.8.45) */
.rh-quote-start{display:flex;flex-direction:column;gap:14px}
.rh-quote-start .rh-hub-row{grid-template-columns:auto minmax(0,1fr) auto}
.rh-quote-other{margin:0;font-size:13px;color:var(--rf-muted,inherit)}
/* Quote steps on the job page (5.8.46) */
.rh-hub-quote-track li{min-width:0;flex:1 1 0}
/* Briefing-first home (5.8.49) */
.rh-batch{display:flex;flex-direction:column;gap:8px}
.rh-batch-item{border-radius:14px;border:1px solid var(--rh-control-border,rgba(128,128,128,.4));background:var(--rf-surface-raised,transparent)}
.rh-batch-item>summary{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;min-height:58px;padding:10px 16px;cursor:pointer;list-style:none}
.rh-batch-item>summary::-webkit-details-marker{display:none}
.rh-batch-title{display:flex;flex-direction:column;min-width:0}
.rh-batch-title strong,.rh-batch-title small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rh-batch-title small{font-size:13px;color:var(--rf-muted,inherit)}
.rh-batch-pill{padding:4px 11px;border-radius:999px;border:1px solid currentColor;font-size:10.5px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;white-space:nowrap;color:var(--rf-muted,inherit)}
.rh-batch-pill.ready{color:var(--rf-accent,#ff6b35)}.rh-batch-pill.done{color:var(--rf-positive,#30a46c)}.rh-batch-pill.warn{color:var(--rf-warning,#b7791f)}
.rh-batch-body{padding:0 16px 14px;display:flex;flex-direction:column;gap:8px}
.rh-batch-body p{margin:0}
.rh-batch-preview{margin:0;padding:12px;border-radius:12px;background:var(--rf-input,rgba(128,128,128,.12));white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;max-height:220px;overflow:auto}
.rh-batch-all{min-height:52px;width:100%;margin-top:4px}
.rh-home-counts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.rh-home-count{display:flex;align-items:baseline;gap:8px;min-height:48px;padding:8px 14px;text-align:left;border-radius:12px;border:1px solid var(--rh-control-border,rgba(128,128,128,.4));background:transparent;color:inherit;font:inherit;cursor:pointer}
.rh-home-count b{font-size:17px;font-variant-numeric:tabular-nums}
.rh-home-count span{font-size:13px;color:var(--rf-muted,inherit)}
.rh-home-count:is(:hover,:focus-visible){border-color:var(--rf-accent,#ff6b35);outline:none}
.rh-home-pastebar{position:sticky;bottom:12px;display:flex;flex-direction:column;gap:6px;padding:12px;border-radius:16px;border:1px solid var(--rh-control-border,rgba(128,128,128,.4));background:var(--rf-surface,#fff);z-index:2}
.rh-home-pastebar>div{display:grid;grid-template-columns:minmax(0,1fr) 92px;gap:8px;align-items:end}
.rh-home-pastebar textarea{width:100%;min-width:0;min-height:52px;max-height:40vh;resize:vertical;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:16px}
.rh-home-pastebar .button{min-height:52px;width:100%!important;min-width:0!important;padding-left:8px;padding-right:8px}
.rh-hub-waiting button[aria-pressed=true]{background:var(--rf-accent,#ff6b35);border-color:var(--rf-accent,#ff6b35);color:#111;font-weight:700}
.rh-hub-chip-alert{border-color:var(--rf-negative,#e5484d)!important}
@media (min-width:900px){.rh-home-counts{grid-template-columns:repeat(4,minmax(0,1fr))}.rh-home-pastebar{bottom:16px}}
@media (max-width:600px){.rh-home-pastebar{bottom:76px;margin-right:0}}

/* Morning briefing lines and the what's-new note (5.8.51). */
.rh-morning{display:flex;flex-direction:column;gap:6px}
.rh-morning-line{display:grid;grid-template-columns:86px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:52px;padding:8px 14px;text-align:left;border-radius:12px;border:1px solid var(--rh-control-border,rgba(128,128,128,.35));background:transparent;color:inherit;cursor:pointer}
.rh-morning-line small{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--rf-muted,inherit)}
.rh-morning-line>span:nth-child(2){display:flex;flex-direction:column;gap:2px;min-width:0}
.rh-morning-line strong{font-size:15px;overflow-wrap:anywhere}
.rh-morning-line em{font-style:normal;font-size:13px;color:var(--rf-muted,inherit)}
.rh-morning-line:is(:hover,:focus-visible){border-color:var(--rf-accent,#ff6b35);outline:none}
.rh-morning-full{align-self:flex-start;margin-top:4px}
.rh-whatsnew{display:flex;gap:12px;align-items:flex-start;justify-content:space-between;padding:12px 14px;border-radius:14px;border:1px solid var(--rf-accent,#ff6b35)}
.rh-whatsnew p{margin:4px 0 0;font-size:14px;line-height:1.45}
.rh-whatsnew .button{flex:none}
@media (max-width:600px){.rh-morning-line{grid-template-columns:minmax(0,1fr) auto}.rh-morning-line small{grid-column:1/-1;margin-bottom:-6px}.rh-whatsnew{flex-direction:column}}

/* Emails on the job and client pages, and where an open email is filed (5.8.53). */
.rh-hub-emails{display:flex;flex-direction:column;gap:8px;margin-top:6px}
.rh-email-preview{display:block;font-size:13px;color:var(--rf-muted,inherit);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rh-email-row .rh-hub-row-main{min-width:0}
.rh-email-filing{margin:12px 0;padding:10px 12px;border-radius:12px;border:1px solid var(--rh-control-border,rgba(128,128,128,.35))}
.rh-email-filing p{margin:0 0 8px}
.rh-email-file{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.rh-email-file .actions{grid-column:1/-1}
.rh-email-file select{width:100%}
@media (max-width:600px){.rh-email-file{grid-template-columns:1fr}}

/* Writing an email (5.8.54). */
.rh-compose textarea{font-family:inherit;min-height:220px}
.rh-compose-carry{display:flex;flex-direction:column;gap:6px;border:1px solid var(--rh-control-border,rgba(128,128,128,.35));border-radius:12px;padding:10px 12px}
.rh-compose-carry label{display:flex;gap:8px;align-items:center;font-weight:400}
.rh-email-more{margin-top:8px}
.rh-inbox-new{margin-bottom:12px}

/* Gmail tools, drafts and Google Calendar (5.8.55). */
.rh-timeline-google{cursor:default;opacity:.85;border-style:dashed}
.rh-inbox-new+.rh-inbox-new{margin-left:8px}

/* Email assistant (5.8.56). */
.rh-assistant-flag{border-color:var(--rf-negative,#e5484d)}

/* Pencilled bookings (5.8.58). */
.rh-timeline-pencil{border-style:dashed}
.rh-timeline-pencil-tag{font-weight:700;letter-spacing:.06em;text-transform:uppercase}

/* Planner follow-up cards (5.8.61). */
.rh-followup{display:flex;flex-direction:column;gap:14px}
.rh-follow{display:flex;flex-direction:column;gap:8px;padding:12px 14px;border-radius:14px;border:1px solid var(--rf-accent,#ff6b35)}
.rh-follow-item{display:flex;flex-direction:column;gap:8px;padding:10px 0;border-top:1px solid var(--rh-control-border,rgba(128,128,128,.3))}
.rh-follow-item:first-of-type{border-top:0}
.rh-follow-text{display:flex;flex-direction:column;gap:2px}
.rh-follow-text span{font-size:13px;color:var(--rf-muted,inherit)}
.rh-follow-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.rh-follow-actions label{display:flex;gap:6px;align-items:center;font-size:13px}
.rh-follow-all{align-self:flex-start}

/* Morning briefing card and Also today (5.8.61). Colours come from the look's variables. */
.rh-brief{display:flex;flex-direction:column;gap:10px;padding:20px;border-radius:18px;border:1px solid var(--rh-control-border,rgba(128,128,128,.35));background:var(--rf-surface,transparent)}
.rh-brief-head h3{margin:0;font-size:19px;display:flex;align-items:center;gap:12px}
.rh-brief-head h3::before,.rh-ws-card h4::before{content:"";width:8px;height:8px;flex:none;background:var(--ox-accent-2,#5aa9ff);transform:rotate(45deg)}
.rh-brief-line{margin:0 0 4px;font-size:15px;line-height:1.5;color:var(--rf-muted,inherit)}
.rh-brief-row{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:52px;padding:12px 16px;text-align:left;font-size:15px;border-radius:12px;border:1px solid var(--rh-control-border,rgba(128,128,128,.35));background:var(--rf-surface-raised,transparent);color:inherit;cursor:pointer}
.rh-brief-row span{min-width:0;overflow-wrap:anywhere}
.rh-brief-row b{flex:none;font-size:11px;letter-spacing:.16em;font-weight:700}
.rh-brief-ready{color:var(--ox-accent,#0b7285)}.rh-brief-held{color:var(--rf-muted,inherit)}
.rh-brief-row:is(:hover,:focus-visible){border-color:var(--rf-accent,#ff6b35);outline:none}
.rh-brief-none{margin:6px 0;font-size:16px;font-weight:600}
.rh-brief-all{min-height:54px;margin-top:6px;border-radius:999px;border:0;background:var(--ox-primary,#111);color:var(--ox-primary-text,#fff);font-weight:800;letter-spacing:.14em;font-size:14px;cursor:pointer}
.rh-brief-all:is(:hover,:focus-visible){background:var(--ox-primary-hover,#333)}
.rh-brief-foot{margin:2px 0 0;font-size:13px;color:var(--rf-muted,inherit)}
.rh-also{display:flex;flex-direction:column;gap:2px}
.rh-also h3{margin:0 0 4px;font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--rf-muted,inherit)}
.rh-also-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:10px;align-items:center;min-height:44px;padding:6px 4px;text-align:left;border:0;border-bottom:1px solid var(--rh-control-border,rgba(128,128,128,.25));background:transparent;color:inherit;cursor:pointer;font-size:14px}
.rh-also-row small{color:var(--rf-muted,inherit);font-size:13px}
@media (min-width:900px){.rh-brief{max-width:640px}.rh-also{max-width:640px}}

/* The Korvex workspace (5.8.61): the assistant panel at full size. The small panel is unchanged when .rh-ws is off. */
#rh-ws-body{display:flex;flex-direction:column;flex:1;min-height:0}
#rh-ws-left{display:flex;flex-direction:column;flex:1;min-height:0}
#rh-ws-talk{display:flex;flex-direction:column;flex:1;min-height:0}
#rh-cyrus:not(.rh-ws) :is(#rh-ws-right,#rh-ws-bar,#rh-ws-pasted,#rh-ws-summary,.rh-ws-label){display:none}
#rh-cyrus:not(.rh-ws) #rh-ws-left{flex-direction:column-reverse}
#rh-cyrus .rh-ws-size{min-height:44px;padding:0 12px;font-size:13px;white-space:nowrap}
/* (The full-screen rule that was here in 5.8.61 was removed in 5.8.62: Korvex is a floating window.) */
#rh-cyrus.rh-ws #rh-cyrus-drag{cursor:default;pointer-events:none}
#rh-cyrus.rh-ws .rh-cyrus-toolbar{max-width:520px}
#rh-cyrus.rh-ws #rh-ws-body{display:grid;grid-template-columns:minmax(320px,2fr) minmax(0,3fr);gap:0;border-top:1px solid var(--rh-control-border)}
#rh-cyrus.rh-ws :is(#rh-ws-left,#rh-ws-right){padding:22px 26px;overflow:auto;min-height:0}
#rh-cyrus.rh-ws #rh-ws-left{border-right:1px solid var(--rh-control-border);gap:12px;flex-direction:column}
#rh-cyrus.rh-ws #rh-ws-talk{flex:1 1 auto;min-height:120px}
#rh-cyrus.rh-ws .rh-cyrus-messages{padding:0;overflow:visible;flex:none}
.rh-ws-label{margin:0 0 4px;font-size:11px;letter-spacing:.2em;text-transform:uppercase;color:var(--rf-muted)}
#rh-ws-pasted{margin:0;padding:16px 18px;max-height:34vh;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;border-radius:14px;border:1px solid var(--rh-control-border);background:var(--rf-input,#000);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:14px;line-height:1.7}
#rh-ws-summary{margin:0;font-size:14px;line-height:1.55;color:var(--rf-muted)}
#rh-ws-cards{display:flex;flex-direction:column;gap:14px}
.rh-ws-card{display:flex;flex-direction:column;gap:8px;padding:18px 20px;border-radius:16px;border:1px solid var(--rh-control-border);background:var(--rf-surface-raised)}
.rh-ws-card header{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.rh-ws-card h4{margin:0;flex:1;min-width:0;font-size:18px;display:flex;align-items:center;gap:12px}
#rh-cyrus .rh-ws-pill,.rh-ws-pill{flex:none;padding:5px 12px;border-radius:999px;border:1px solid var(--rh-control-border);font-size:10.5px;letter-spacing:.18em;text-transform:uppercase;color:var(--rf-muted);white-space:nowrap}
.rh-ws-pill-ready,.rh-ws-pill-wait{color:var(--ox-accent,#0b7285);border-color:var(--ox-accent,#0b7285)}
.rh-ws-pill-wait::before{content:"";display:inline-block;width:6px;height:6px;margin-right:8px;border-radius:50%;background:currentColor;vertical-align:middle}
#rh-cyrus .rh-ws-mode{display:flex;gap:6px}
#rh-cyrus .rh-ws-mode button{min-height:34px;padding:0 14px;border-radius:999px;font-size:13px;background:transparent;color:var(--rf-muted)}
#rh-cyrus .rh-ws-mode button.on{color:var(--rf-text);border-color:var(--ox-accent,#0b7285);cursor:default}
.rh-ws-line{display:flex;justify-content:space-between;gap:16px;padding:4px 0;font-size:15px}
.rh-ws-line span{min-width:0;overflow-wrap:anywhere}
.rh-ws-line b{flex:none;font-weight:500;font-variant-numeric:tabular-nums;text-align:right}
.rh-ws-round{color:var(--ox-positive,#17643d)}
.rh-ws-total{margin-top:6px;padding-top:12px;border-top:1px solid var(--rh-control-border);font-weight:700}
.rh-ws-total b{font-weight:800}
.rh-ws-subject{margin:0;font-weight:600}.rh-ws-text{margin:0;line-height:1.55;color:var(--rf-muted)}.rh-ws-small{margin:0;font-size:13px;color:var(--rf-muted)}
.rh-ws-actions{display:flex;gap:8px;margin-top:6px}
#rh-cyrus .rh-ws-actions button{min-height:40px;padding:0 18px;border-radius:10px;font-size:14px}
.rh-ws-empty{margin:0;padding:18px 20px;border-radius:16px;border:1px dashed var(--rh-control-border);color:var(--rf-muted);line-height:1.55}
#rh-ws-bar{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:14px 26px;border-top:1px solid var(--rh-control-border);background:var(--rf-surface-raised);font-size:15px}
#rh-ws-bar>span:first-child{flex:1;min-width:200px}
#rh-cyrus #rh-ws-approve{min-height:48px;padding:0 28px;border-radius:999px;border:0;background:var(--ox-primary,#111);color:var(--ox-primary-text,#fff);font-weight:800;letter-spacing:.12em;text-transform:uppercase;font-size:13px}
#rh-ws-right .rh-brief{max-width:none}
html.rh-ws-open{overflow:hidden}
@media (max-width:900px){
  /* Phone: paste on top, cards underneath, the approval bar fixed above the navigation. */
  #rh-cyrus.rh-ws{bottom:calc(64px + env(safe-area-inset-bottom));height:auto}
  #rh-cyrus.rh-ws #rh-ws-body{display:block;overflow:auto}
  #rh-cyrus.rh-ws :is(#rh-ws-left,#rh-ws-right){padding:16px;overflow:visible}
  #rh-cyrus.rh-ws #rh-ws-left{border-right:0;border-bottom:1px solid var(--rh-control-border)}
  #rh-cyrus.rh-ws #rh-ws-talk{min-height:0}
  #rh-ws-pasted{max-height:26vh}
  #rh-ws-bar{padding:10px 16px;gap:10px}
  #rh-ws-bar .rh-ws-pill-wait{display:none}
  #rh-cyrus #rh-ws-approve{flex:1;min-width:150px}
  .rh-brief{padding:16px}
}

/* Fixes found when the layouts were checked: the button's own text colour, the pasted box keeping its height, and the last paste not shown twice. */
.rh-brief .rh-brief-all,.rh-home .rh-brief .rh-brief-all{color:var(--ox-primary-text,#fff)!important;background:var(--ox-primary,#111)!important}
#rh-ws-pasted{flex:none}
#rh-cyrus.rh-ws .rh-cyrus-turn:last-of-type .rh-cyrus-you{display:none}
#rh-cyrus.rh-ws #rh-ws-form{flex:none}
@media (max-width:900px){
  #rh-cyrus.rh-ws .rh-cyrus-head{flex-wrap:wrap;gap:6px}
  #rh-cyrus.rh-ws .rh-cyrus-state,#rh-cyrus.rh-ws #rh-cyrus-drag>span{display:none}
  #rh-cyrus.rh-ws .rh-cyrus-controls{padding:0}
  .rh-ws-card h4{font-size:16px}
  .rh-ws-card{padding:14px 16px}
}
#rh-cyrus .rh-brief-all{border-radius:999px;min-height:54px;border:0}
#rh-cyrus .rh-brief-row{border-radius:12px;min-height:52px;font-size:15px}
#rh-cyrus .rh-also-row{border-radius:0;border:0;border-bottom:1px solid var(--rh-control-border);background:transparent}
/* iPhone: quieter text on the briefing and the workspace, so the screen is not crowded (owner's request, 5.8.61).
   Typing boxes stay at 16px, because iPhone zooms the page in on anything smaller. */
@media (max-width:600px){
  .rh-home{gap:14px}
  .rh-brief{padding:14px;gap:8px;border-radius:16px}
  .rh-brief-head h3,:root[data-rh-skin="korvex"] .rh-brief-head h3{font-size:15px;gap:10px}
  .rh-brief-head h3::before,.rh-ws-card h4::before{width:7px;height:7px}
  .rh-brief-line{font-size:13px;line-height:1.45;margin:0 0 2px}
  .rh-brief-row,#rh-cyrus .rh-brief-row{min-height:44px;padding:9px 12px;font-size:13.5px;border-radius:10px;gap:10px}
  .rh-brief-row b{font-size:9.5px;letter-spacing:.14em}
  .rh-brief-all,#rh-cyrus .rh-brief-all{min-height:46px;font-size:12px;letter-spacing:.12em;margin-top:4px}
  .rh-brief-foot{font-size:11.5px;line-height:1.4}
  .rh-brief-none{font-size:14px}
  .rh-also h3{font-size:10.5px}
  .rh-also-row{min-height:40px;font-size:13px;gap:8px}
  .rh-also-row small{font-size:12px}
  .rh-morning-line strong{font-size:13.5px}.rh-morning-line em{font-size:12px}.rh-morning-line small{font-size:10px}
  .rh-home-date{font-size:11px}
  .rh-home-count b{font-size:15px}.rh-home-count span{font-size:12px}
  #rh-cyrus.rh-ws{font-size:13.5px}
  #rh-cyrus.rh-ws :is(#rh-ws-left,#rh-ws-right){padding:12px}
  .rh-ws-label{font-size:10px;letter-spacing:.18em}
  #rh-ws-pasted{font-size:12.5px;line-height:1.55;padding:12px 14px;border-radius:12px}
  #rh-ws-summary{font-size:12.5px}
  #rh-ws-cards{gap:10px}
  .rh-ws-card{padding:12px 14px;gap:6px;border-radius:14px}
  .rh-ws-card h4,:root[data-rh-skin="korvex"] .rh-ws-card h4{font-size:14px;gap:10px}
  #rh-cyrus .rh-ws-pill,.rh-ws-pill{font-size:9px;padding:4px 9px;letter-spacing:.14em}
  .rh-ws-line{font-size:13px;padding:3px 0}
  .rh-ws-subject{font-size:13px}.rh-ws-text{font-size:12.5px;line-height:1.5}.rh-ws-small{font-size:11.5px}
  #rh-cyrus .rh-ws-actions button{min-height:36px;padding:0 14px;font-size:13px}
  #rh-cyrus .rh-ws-mode button{min-height:30px;padding:0 10px;font-size:12px}
  #rh-ws-bar{font-size:12.5px;padding:8px 12px}
  #rh-cyrus #rh-ws-approve{min-height:42px;font-size:11.5px}
  #rh-cyrus.rh-ws .rh-cyrus-toolbar button{font-size:12.5px;min-height:38px}
  #rh-cyrus.rh-ws .rh-cyrus-health{font-size:11.5px}
  .rh-follow-text strong{font-size:13.5px}.rh-follow-text span{font-size:12px}
}
@media (max-width:600px){
  .rh-brief-head h3,:root[data-rh-skin="korvex"] .rh-brief-head h3{font-size:14px}
  .rh-home .rh-hub-top h3,.rh-followup .rh-hub-top h3{font-size:14px}
  .rh-also h3,:root[data-rh-skin="korvex"] .rh-also h3{font-size:10.5px;letter-spacing:.14em}
  #rh-cyrus.rh-ws #rh-cyrus-drag strong{font-size:15px}
}
@media (max-width:600px){
  .rh-brief-head h3{font-size:15px!important;line-height:1.25}
  .rh-home .rh-hub-top h3,.rh-followup .rh-hub-top h3{font-size:14px!important}
  .rh-ws-card h4{font-size:13.5px!important;line-height:1.3}
}

/* 5.8.62: Korvex is one floating window. It is no longer full screen and there is no small-panel mode.
   These rules come last, so they replace the full-screen ones above. */
#rh-cyrus.rh-ws{width:min(1080px,calc(100vw - 32px));height:min(720px,calc(100dvh - 110px));min-width:560px;min-height:420px;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);
  border-radius:18px;border:1px solid var(--rh-control-border);box-shadow:0 24px 80px #000a;resize:both;overflow:hidden;z-index:240;font-size:14px}
#rh-cyrus.rh-ws #rh-cyrus-drag{cursor:grab;pointer-events:auto}
#rh-cyrus.rh-ws #rh-cyrus-drag:active{cursor:grabbing}
#rh-cyrus.rh-ws :is(#rh-ws-left,#rh-ws-right){padding:16px 18px}
#rh-cyrus.rh-ws #rh-ws-body{grid-template-columns:minmax(260px,2fr) minmax(0,3fr)}
#rh-ws-bar{padding:10px 18px}
html.rh-ws-open{overflow:auto}
:root[data-rh-skin="korvex"] #rh-cyrus.rh-ws{border:1px solid var(--ox-border-strong)}
@media (max-width:900px){
  /* A phone has no room to float a window: it sits just inside the screen edges, above the navigation, and is not dragged or resized. */
  #rh-cyrus.rh-ws{left:8px!important;top:8px!important;right:8px;bottom:calc(72px + env(safe-area-inset-bottom));width:auto;height:auto;min-width:0;min-height:0;max-width:none;max-height:none;resize:none;border-radius:16px}
  #rh-cyrus.rh-ws #rh-cyrus-drag{cursor:default;pointer-events:none}
}

/* iPhone tidy-up (5.8.62, owner's request): nothing sits on top of anything else.
   - The Korvex window is a clean sheet from the top of the screen to the navigation, so the page never shows around or under it.
   - Its header is one row, its approval bar is one row, and its three tabs are a single strip.
   - The paste bar on the home screen sits in the page, not floating over the list.
   - The Korvex button is a small round button, and every page leaves room for it. */
@media (max-width:900px){
  #rh-cyrus.rh-ws{left:0!important;top:0!important;right:0;bottom:calc(64px + env(safe-area-inset-bottom));width:auto;height:auto;border-radius:0;border:0;border-bottom:1px solid var(--rh-control-border);box-shadow:none;padding-top:env(safe-area-inset-top);z-index:260}
  :root[data-rh-skin="korvex"] #rh-cyrus.rh-ws{border:0;border-bottom:1px solid var(--ox-border-strong);background:var(--ox-page)}
  #rh-cyrus.rh-ws .rh-cyrus-head{flex-wrap:nowrap;gap:8px;padding:6px 10px;min-height:48px}
  #rh-cyrus.rh-ws #rh-cyrus-drag{flex:1;min-width:0;padding:0}
  #rh-cyrus.rh-ws #rh-cyrus-toggle{min-width:0;padding:2px;gap:6px}
  #rh-cyrus.rh-ws #rh-cyrus-toggle-label{font-size:12px}
  #rh-cyrus.rh-ws #rh-cyrus-minimise{width:40px;min-height:40px;flex:none}
  #rh-cyrus.rh-ws .rh-cyrus-health{margin:0;padding:0 12px 6px;font-size:11.5px;line-height:1.35}
  #rh-cyrus.rh-ws .rh-cyrus-toolbar{max-width:none;padding:0 10px 8px;gap:6px}
  #rh-cyrus.rh-ws .rh-cyrus-toolbar button{min-height:36px;padding:4px;font-size:12.5px}
  #rh-cyrus.rh-ws #rh-cyrus-tabs{padding:0 10px 8px}
  #rh-cyrus.rh-ws #rh-ws-body{flex:1;min-height:0;overflow:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
  #rh-cyrus.rh-ws :is(#rh-ws-left,#rh-ws-right){padding:12px}
  #rh-cyrus.rh-ws #rh-ws-left{gap:10px}
  #rh-cyrus.rh-ws #rh-ws-form .rh-cyrus-disclosure{font-size:11px;margin:4px 0 0}
  #rh-ws-pasted{max-height:22vh}
  #rh-ws-bar{flex-wrap:nowrap;gap:10px;padding:8px 10px}
  #rh-ws-bar>span:first-child{min-width:0;font-size:11.5px;line-height:1.3}
  #rh-cyrus #rh-ws-approve{flex:none;min-width:0;min-height:40px;padding:0 16px;font-size:11px}
  /* The home screen's paste bar stays in the page on a phone. */
  .rh-home-pastebar{position:static;margin:0}
  /* A small round button for Korvex, clear of the navigation, and room at the foot of every page so it never covers the last row. */
  #rh-cyrus-launcher{right:10px;bottom:calc(74px + env(safe-area-inset-bottom));min-height:46px;width:46px;padding:0;gap:0;justify-content:center;border-radius:50%}
  #rh-cyrus-launcher strong{font-size:0}
  #rh-cyrus-launcher strong::before{content:"K";font-size:16px;font-weight:800}
  #rh-cyrus-launcher [data-cyrus-status]{display:none}
  #rh-cyrus-launcher .rh-cyrus-light{position:absolute;top:4px;right:4px;width:10px;height:10px}
  #content{padding-bottom:calc(72px + env(safe-area-inset-bottom))}
}

/* iPhone, continued (5.8.62). */
#rh-ws-bar{margin:0}
@media (max-width:760px){
  /* Korvex is in the bottom bar on a phone, so the floating button is not shown there. */
  #rh-cyrus-launcher{display:none!important}
  .rh-bar-korvex{color:var(--ox-accent-2,#5aa9ff)}
  .rf-mobile-bottom button{min-width:0;padding-left:0;padding-right:0}
  #content{padding-bottom:16px}
  .rh-whatsnew p{font-size:13px;line-height:1.45}
  .rh-whatsnew{padding:12px}
  .rh-whatsnew .button{min-height:38px}
  .rh-follow{padding:12px}
  .rh-follow-actions .button{width:auto!important;min-width:0!important;flex:1 1 auto;min-height:38px;padding:0 12px;font-size:13px}
  .rh-follow-all{align-self:stretch}
}
@media (max-width:900px){
  #rh-cyrus.rh-ws{bottom:calc(61px + env(safe-area-inset-bottom))}
  #rh-cyrus .rh-ws-card header .rh-ws-mode{order:3;flex-basis:100%}
}

/* iPhone: a calmer top on Korvex (5.8.62, owner's request). Two slim rows in place of four busy ones:
   the name with the AI switch and close, then New chat / Briefing / More as plain text tabs.
   The strip of open chats is not shown on a phone; every chat is still under More. */
@media (max-width:760px){
  #rh-cyrus.rh-ws #rh-cyrus-tabs{display:none!important}
  #rh-cyrus.rh-ws .rh-cyrus-head{padding:4px 8px 4px 14px;min-height:44px;border-bottom:0}
  #rh-cyrus.rh-ws #rh-cyrus-drag strong{font-size:16px}
  #rh-cyrus.rh-ws #rh-cyrus-toggle-label{display:none}
  #rh-cyrus.rh-ws #rh-cyrus-toggle{padding:0;min-height:36px}
  #rh-cyrus.rh-ws #rh-cyrus-minimise{width:36px;min-height:36px;border:0;background:transparent;font-size:22px}
  #rh-cyrus.rh-ws .rh-cyrus-health{padding:0 14px 4px;font-size:11px;color:var(--rf-muted)}
  #rh-cyrus.rh-ws .rh-cyrus-toolbar{padding:0 8px;gap:0;border-bottom:1px solid var(--rh-control-border)}
  #rh-cyrus.rh-ws .rh-cyrus-toolbar button{flex:1;min-height:36px;padding:0 4px;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:var(--rf-muted);font-size:13px;font-weight:600}
  #rh-cyrus.rh-ws .rh-cyrus-toolbar button[aria-pressed="true"]{color:var(--rf-text);border-bottom-color:var(--ox-accent,currentColor);background:transparent}
  #rh-cyrus.rh-ws #rh-cyrus-allow{margin:0 12px 6px;min-height:36px;font-size:12.5px}
}

/* 5.8.63: website enquiries, marked so they stand apart from email. */
.rh-web{margin-bottom:14px}
.rh-web-tag{display:inline-block;padding:1px 8px;border-radius:999px;font-size:11px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;border:1px solid currentColor;opacity:.85;vertical-align:middle}
.rh-web-facts{grid-template-columns:repeat(3,minmax(0,1fr));margin:10px 0}
.rh-web-facts dd{font-size:15px}
.rh-web-words{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;margin:6px 0}
@media(max-width:600px){.rh-web-facts{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* 5.8.64: the small "After GST" line and estimated against actual. */
.rh-after-gst{margin:6px 0 0;opacity:.7;font-size:13px}
.rh-estimate-line{margin:8px 0 2px;font-size:14px}
.rh-estimate-line span{opacity:.4;margin:0 4px}
.rh-order-product{border:1px solid var(--rh-control-border,rgba(128,128,128,.4));border-radius:12px;padding:8px 12px;display:grid;grid-template-columns:1fr 1fr;gap:8px}
.rh-order-product legend{font-weight:700;padding:0 6px}.rh-order-product .help{grid-column:1/-1;margin:0}
.link-button{background:none;border:0;padding:0;color:inherit;text-decoration:underline;cursor:pointer;font:inherit}
