.remote-bar { background: var(--dark); color: #fff; display: flex; align-items: center; gap: 20px; padding: 14px max(18px, calc((100vw - 1200px) / 2)); }
.remote-bar strong { font: 700 32px/1 var(--display); }
.remote-bar strong span { color: #ff3c40; }
.remote-shell { max-width: 1240px; margin: auto; padding: clamp(15px, 3vw, 30px); }
.remote-shell .section-heading h1 { margin: 0; }
.remote-shell .panel, .remote-hero .panel, .remote-request { padding: clamp(14px, 2.5vw, 24px); }
.remote-hero, .remote-work-columns { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; align-items: start; }
.remote-hero:has(.remote-photo[hidden]) { grid-template-columns: 1fr; }
.remote-art { max-width: 980px; margin: 0 auto 16px; }
.remote-art img { display: block; width: 100%; height: auto; border-radius: 8px; }
.remote-hero [data-tuning-copy], #tuning-page-intro { overflow-wrap: anywhere; }
.remote-hero p[data-tuning-copy], #tuning-page-intro .intro-copy { white-space: pre-line; }
.remote-photo { margin: 0; position: relative; }
.remote-photo img { display: block; width: 100%; max-height: 340px; object-fit: cover; border-radius: 8px; }
.remote-photo figcaption { position: absolute; bottom: 10px; left: 10px; padding: 3px 9px; background: var(--dark); color: white; border-radius: 4px; }
.remote-request, .remote-summary, .remote-settings { margin-block: 15px; }
.remote-settings summary { font-weight: 700; cursor: pointer; }
.remote-settings form { margin-top: 14px; }
.remote-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: end; gap: 12px; }
.remote-form label, .remote-compose label, #tuning-private-link label { display: block; min-width: 0; font-weight: 650; }
.remote-form :is(input,select,textarea):not([type=checkbox]), .remote-compose textarea, #tuning-private-link input {
  display: block; width: 100%; min-width: 0; min-height: 42px; margin-top: 4px; border: 1px solid var(--line); border-radius: 5px;
  background: var(--paper); color: var(--ink); padding: 7px 9px; font: inherit; font-weight: 400;
}
#tuning-private-link input { margin-bottom: 10px; }
.remote-full { grid-column: 1 / -1; }
.remote-workspace { display: grid; grid-template-columns: minmax(145px, 215px) minmax(0,1fr); gap: 16px; align-items: start; }
.remote-queue { display: grid; gap: 6px; align-content: start; }
.remote-queue button { display: block; text-align: left; }
.remote-queue button[aria-pressed=true] { box-shadow: inset 0 0 0 1px currentColor; }
.remote-queue .remote-queue-pending { background: #fff1ef; border-color: #d4867d; color: #861f17; }
.remote-queue .remote-queue-answered { background: #edf7ee; border-color: #85ad8a; color: #23572f; }
.remote-queue small { display: block; color: inherit; }
.remote-window small { display: block; color: var(--muted); }
.remote-meta, .remote-message small { color: var(--muted); font-size: .9rem; }
.remote-text { white-space: pre-wrap; overflow-wrap: anywhere; }
.remote-messages { display: grid; gap: 7px; margin-block: 10px; max-height: 410px; overflow-y: auto; }
.remote-message, .remote-window { border: 1px solid var(--line); border-radius: 5px; padding: 7px 10px; }
.remote-message p, .remote-summary p:last-child, .remote-form p:empty, .remote-shell [role=status]:empty { margin: 0; }
.remote-message.team { background: #eef1e8; }
.remote-compose button, .remote-window button { margin-top: 8px; }
.remote-window { margin-bottom: 6px; }
.remote-slot-list { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,220px),1fr)); gap: 8px; margin-top: 12px; }
.remote-slot-list .remote-window { margin: 0; }
.remote-prerequisites { display: flex; align-items: center; gap: 8px; font-weight: 650; margin: 12px 0; }
.remote-work-columns [data-offer]:empty, .remote-summary:empty { display: none; }
.remote-shell [data-quote] { margin-top: 12px; }
@media (max-width: 850px) { .remote-work-columns { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .remote-hero, .remote-form, .remote-workspace { grid-template-columns: 1fr; }
  .remote-queue { grid-template-columns: repeat(auto-fit,minmax(140px,1fr)); }
}
