/* Shared orientation; room artwork and practical surfaces remain room-specific. */
.platform-header{box-sizing:border-box;max-width:1280px;margin:auto;padding:10px 24px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid #9daabd33;color:#f3e8d5;background:transparent}
.platform-header .platform-brand{display:flex;flex-direction:column;justify-content:center;min-height:44px;color:#f3e8d5;text-decoration:none;font:25px/1.15 Georgia,serif;letter-spacing:0;text-transform:none}
.platform-brand span{font:12px/1.5 system-ui;color:#b9c7d2;margin-top:3px}
.platform-header .platform-nav{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.platform-header .platform-nav a{font:600 14px/1.3 system-ui;letter-spacing:0;text-transform:none;display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;min-height:44px;box-sizing:border-box;color:#d5dde3;text-decoration:none;border-radius:4px;border-bottom:2px solid transparent}
.platform-header .platform-nav a:hover{background:#233449;color:#fff}.platform-header .platform-nav a[aria-current=page]{color:#f2d7a0;border-color:#ceb079}
.platform-header a:focus-visible,.platform-featured a:focus-visible,.platform-keep a:focus-visible{outline:3px solid #e4c990;outline-offset:3px}
.poster-title .platform-tagline{font:clamp(20px,2.1vw,28px)/1.3 Georgia,serif;color:#e6d6b5;margin:7px auto}
.poster-title .platform-invitation{font:14px/1.55 system-ui;max-width:760px;color:#c6d0d8;margin:8px auto 0}
.platform-featured{padding:28px 0}.platform-section-heading{display:flex;justify-content:space-between;align-items:baseline;gap:18px;margin-bottom:16px}.platform-section-heading h2{font:28px/1.2 Georgia,serif;margin:0;color:#efe2c8}.platform-section-heading>a{display:inline-flex;align-items:center;min-height:44px;color:#e7cca0;font:14px system-ui}
.platform-featured-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.platform-content-card{min-width:0;border:1px solid #8d9aab44;border-radius:8px;overflow:hidden;background:#13212f;padding:0;display:flex;flex-direction:column}
.platform-content-card>img{width:100%;height:auto;aspect-ratio:2.3;object-fit:cover}.platform-card-copy{padding:18px}.platform-content-card :is(h2,h3){font:24px/1.2 Georgia,serif;margin:8px 0 12px;overflow-wrap:anywhere}.platform-content-card :is(h2,h3) a{color:#f2e1be;text-decoration-thickness:1px;text-underline-offset:5px}.platform-content-card p{font:14px/1.65 system-ui;color:#c7d2de}.platform-content-card .campus-eyebrow{font:11px/1.4 system-ui;text-transform:uppercase;letter-spacing:.1em;color:#b9c7d6}.platform-content-card small{font:11px/1.5 system-ui;color:#aebdcb}
.platform-keep{display:grid;grid-template-columns:1fr auto;align-items:center;gap:24px;padding:24px 28px;margin:8px 0 24px;border-block:1px solid #9daabd44;background:#142130}.platform-keep h2{font:28px/1.2 Georgia,serif;margin:0 0 12px}.platform-keep p{font:15px/1.65 system-ui;max-width:740px;color:#c7d2de;margin:0}.platform-keep a{display:inline-flex;align-items:center;min-height:48px;padding:12px 18px;border:1px solid #a9b4c3;border-radius:5px;color:#f2e1be;text-decoration:none;white-space:nowrap}
.platform-growth-note{padding:18px 0;max-width:760px;margin:auto;line-height:1.7;color:#c7d2de}.platform-growth-note h2{font:25px/1.2 Georgia,serif;color:#efe2c8}.platform-growth-note a{color:#e7cca0}
.platform-page-heading{max-width:780px}.platform-page-heading .campus-eyebrow{color:#b7c9d8}.platform-page-heading p{color:#c8d3df}.platform-mode-note{padding:16px 0;border-bottom:1px solid #697b9255}.platform-home-jump{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0}.platform-home-jump a{padding:12px 16px;min-height:44px;border:1px solid #8492a8;border-radius:5px;color:#f0d9ad;text-decoration:none}
#discovery-results.platform-results{gap:20px;grid-template-columns:repeat(3,minmax(0,1fr))}.platform-create .discovery-search{margin:24px 0}.platform-create #discovery-results .platform-content-card>img{aspect-ratio:2}
.platform-home-heading{max-width:800px}.platform-home-heading p{line-height:1.65}
@media(max-width:900px){#discovery-results.platform-results{grid-template-columns:repeat(2,minmax(0,1fr))}.platform-header{padding:10px 18px;gap:12px}}
@media(max-width:600px){.platform-header{flex-direction:column;align-items:stretch;gap:6px;padding:10px 12px}.platform-header .platform-brand{align-items:center;text-align:center;font-size:23px}.platform-header .platform-nav{display:flex;flex-wrap:wrap;gap:2px;width:100%}.platform-header .platform-nav a{flex:1 1 20%;min-width:max-content;font-size:12px;padding:8px 3px;min-height:46px;text-align:center;white-space:normal}.platform-brand span{font-size:11px}.poster-title .platform-invitation{font-size:13px;max-width:330px}.poster-title .platform-tagline{font-size:21px;max-width:none}.platform-section-heading{align-items:flex-start;gap:10px}.platform-section-heading h2{font-size:25px}.platform-featured-grid,#discovery-results.platform-results{grid-template-columns:1fr}.platform-featured{padding-top:24px}.platform-content-card{display:grid;grid-template-columns:100px minmax(0,1fr)}.platform-content-card>img{height:100%;aspect-ratio:auto;object-fit:cover}.platform-card-copy{padding:14px}.platform-content-card :is(h2,h3){font-size:21px}.platform-content-card p{font-size:13px}.platform-keep{grid-template-columns:1fr;padding:20px;gap:16px}.platform-keep a{justify-content:center;white-space:normal}.platform-keep h2{font-size:26px}.platform-home-jump a{flex:1 1 auto;text-align:center}}
@media(max-width:359px){.platform-content-card{grid-template-columns:78px minmax(0,1fr)}.platform-card-copy{padding:12px}.platform-content-card :is(h2,h3){font-size:20px}.platform-header .platform-nav a{font-size:12px}.platform-section-heading{flex-direction:column;gap:0}}
@media(prefers-reduced-motion:reduce){.platform-header a{transition:none}}
@media(forced-colors:active){.platform-content-card,.platform-header .platform-nav a[aria-current=page]{border-color:CanvasText}}

.platform-filter-panel{margin:22px 0;border-block:1px solid #8190a755;padding:4px 0}.platform-filter-panel>summary{cursor:pointer;min-height:44px;display:list-item;padding:12px 4px;color:#e8d5b3;font:15px/1.4 system-ui}.platform-filter-panel .discovery-search{margin:10px 0 16px}.platform-filter-panel summary:focus-visible{outline:3px solid #e4c990;outline-offset:3px}

.platform-content-card>.platform-card-copy:only-child{grid-column:1/-1}

/* A wrapped heading must remain one reliable pointer/touch target between lines. */
.platform-content-card :is(h2,h3) a{display:block;min-height:44px;box-sizing:border-box}

/* R191: legible hints on the existing dark search surfaces. */
.discovery-search input::placeholder,.home-find input::placeholder{color:#b8c4d2;opacity:1}
/* Kept work: one clear page title, quieter collection headings and paired file actions. */
[data-room-surface=study] #activity-title{font-size:clamp(27px,3vw,34px);line-height:1.2;max-width:26ch;margin:10px 0 16px}
[data-room-surface=study] #room-activity>.room-note{max-width:68ch;color:#d0d7df}
[data-room-surface=study] .kept-seeds{margin-top:30px;padding-top:22px;border-top:1px solid #71809755}
[data-room-surface=study] .kept-seeds>h2{font:clamp(25px,2.4vw,30px)/1.2 Georgia,serif;margin:0 0 14px}
[data-room-surface=study] .kept-seeds>p{max-width:64ch}
[data-room-surface=study] .seed-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
[data-room-surface=study] .seed-actions>*{min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}
[data-room-surface=study] .seed-actions>a,[data-room-surface=study] .seed-actions>:only-child{grid-column:1/-1}
[data-room-surface=study] .seed-actions>a{background:#e8dcc3;color:#1a2636;border-color:#bbae99;font-weight:650}
[data-room-surface=study] .seed-actions>button{background:transparent}
@media(max-width:360px){[data-room-surface=study] .seed-actions{grid-template-columns:minmax(0,1fr)}}
@media(forced-colors:active){.discovery-search input::placeholder,.home-find input::placeholder{color:GrayText}[data-room-surface=study] .seed-actions>a{background:ButtonFace;color:ButtonText;border-color:ButtonText}}

/* Keep search direct and room/kind options optional. */
.discovery-advanced{flex:1 1 100%;border-block:1px solid #8190a755}.discovery-advanced>summary{cursor:pointer;min-height:44px;padding:12px 4px;color:#e8d5b3;font:15px/1.4 system-ui}.discovery-advanced>summary:focus-visible{outline:3px solid #e4c990;outline-offset:3px}.discovery-advanced-fields{display:flex;flex-wrap:wrap;gap:14px;padding:4px 0 14px}
@media(max-width:700px){.rw-dialog[data-room-surface="study"].rw-working>.rw-scene .rw-scene-visual>img{width:100%;height:72px;max-height:72px;object-fit:cover;object-position:center 55%}.rw-dialog[data-room-surface="study"].rw-working>.rw-scene .rw-scene-visual{max-width:100%}}
