/* Shared R01 surfaces: feed, authoring, directories, menus and account panels. */
:root{--wv-canvas:#edf0f5;--wv-surface:#fff;--wv-ink:#202735;--wv-muted:#526074;--wv-line:#a9b4c4;--wv-divider:#c0c9d6;--wv-accent:#5a3488;--wv-soft:#f2eef8;--wv-shadow:0 3px 12px #17243b0b;--wv-shell-ink:var(--wv-ink);--wv-shell-muted:var(--wv-muted);--wv-shell-line:var(--wv-line)}
body.wv-standalone{background:var(--wv-canvas);color:var(--wv-ink)}
.wv-standalone .writing-v1,.wv-standalone .wv-notices{--wv-ink:#202735;--wv-muted:#526074;--wv-line:#a9b4c4;--wv-purple:#5a3488;color:var(--wv-ink)}
.wv-standalone :is(.wv-post-card,.wv-module-card,.wv-compose,.wv-side-preview,.wv-owner-area,.wv-auth-card,.wv-latest,.wv-shell-panel,.wv-notices){border:1px solid var(--wv-line);box-shadow:var(--wv-shadow);background:var(--wv-surface)}
.wv-layout .wv-post-card{border-color:var(--wv-line);box-shadow:var(--wv-shadow)}
.wv-layout :is(h1,h2,h3),.wv-shell-panel h2,.wv-auth-card h1{color:var(--wv-ink)}
.wv-layout .wv-document{color:var(--wv-ink);font-size:15px;line-height:1.85}
.wv-layout .wv-document .wv-rich-read{color:inherit}
.wv-layout .wv-post-card>.wv-post-header{border-color:var(--wv-divider)}
.wv-layout .wv-post-actions{border-color:var(--wv-divider);padding-top:14px}
.wv-layout :is(.wv-post-actions button,.wv-follow,.wv-document-history button,.wv-block-controls button){border:1px solid var(--wv-line);background:#f7f9fc;color:#29374a;font-weight:600}
.wv-layout .wv-post-actions [aria-pressed=true]{color:#48256e;background:#e9e1f5;border-color:#8666aa}
.wv-layout :is(.wv-author small,.wv-write-heading p,.wv-compose-footer small,.wv-module-intro p,.wv-module-card small,.wv-latest-top p,.wv-latest-empty,.wv-nav-foot,.wv-comment small,.wv-empty){color:var(--wv-muted)}
.wv-layout :is(.wv-topic,.wv-reference){color:#56317e;background:#f0eaf7;border:1px solid #b9a6cf}
.wv-layout .wv-feed-list>header>a,.wv-module-card a{color:#56317e;font-weight:700}
.wv-layout .wv-left{background:#fff;border:1px solid var(--wv-line);border-radius:18px;padding:10px 8px;box-shadow:var(--wv-shadow)}
.wv-left a{color:#344257}
.wv-left .wv-nav-sub{margin-left:21px;border-left:2px solid #c7cfdb;border-radius:0 9px 9px 0;padding-left:12px}
.wv-left a:hover{background:#eef1f7;color:#35234b}
.wv-left a[aria-current=page]{background:#ece4f7;color:#48256e;box-shadow:inset 3px 0 #6d4597;font-weight:750}
.wv-left .wv-nav-primary:not(:first-child){border-top:1px solid #d4dbe5;margin-top:10px;padding-top:12px;border-radius:0}
.wv-left .wv-nav-create{background:#d5ee99;border-color:#89a84e;color:#263b18;border-radius:11px}
.wv-latest-top{padding-bottom:13px;margin-bottom:0;border-bottom:2px solid #8c76a8}
.wv-latest-section{padding:12px 0 0;margin-top:14px;border-top:1px solid var(--wv-divider)}
.wv-latest-section h3{font-size:14px;color:#292e40;font-weight:750}
.wv-latest-section header a{font-size:11px;color:#583581;font-weight:650}
.wv-latest-item{background:#f5f7fb;border:1px solid #d0d8e3;margin:7px 0;padding:10px}
.wv-latest-item:hover{background:#eee8f7;border-color:#a88abd}
.wv-latest-item strong{font-size:13px;color:#263044;font-weight:650}
.wv-latest-item small{font-size:11px;color:#536077}
.wv-latest-item[data-live=true] small{color:#9e254a}
.wv-latest-empty,.wv-latest-top p{font-size:12px}
.wv-latest :is(button,.wv-latest-close){border-color:#a89ab9;color:#503170}
.writing-v1 .wv-poll-card{border:1px solid #aa90c3;background:#f3eff8;box-shadow:inset 3px 0 #8d6aaf}
.writing-v1 .wv-poll-card .wv-poll-option{border-color:#ab96bf;color:#342542}
.writing-v1 .wv-poll-option:disabled{color:#3e2b4e;background:linear-gradient(90deg,#dfd2ed var(--vote-share,0%),#fff var(--vote-share,0%))}
.writing-v1 .wv-poll-option[aria-pressed=true]{border-color:#68418d;box-shadow:inset 0 0 0 1px #68418d;color:#402156}
.wv-poll-label,.wv-poll-total,.wv-poll-count,.writing-v1 .wv-poll-card>small{color:#634575}
.wv-layout .wv-follow-settings{border:1px solid #bdc4d2;background:#f6f7fa;color:#3a4558}
.wv-layout .wv-follow-settings summary{font-weight:650;cursor:pointer}
.wv-layout .wv-comment{background:#f1f4f8;border:1px solid #bdc8d6}
.wv-layout :is(input,textarea,select){border-color:#919fb2;color:#273246;background:#fff}
.wv-standalone :is(input,textarea)::placeholder{color:#5c697c;opacity:1}
.wv-layout .wv-title-input{border-bottom:1px solid var(--wv-line)!important;padding-bottom:12px!important}
.wv-layout .wv-block .wv-rich-editor{border-color:#9baabe;background:#fff}
.wv-layout .wv-rich-toolbar{border-color:var(--wv-divider);background:#f0f3f8}
.wv-layout :is(.wv-image-fields,.wv-tools-more,.wv-poll-editor,.wv-report-panel,.wv-review-note:not(.wv-published-chip)){border:1px solid #b0bdce;border-radius:12px;background:#f5f7fb;padding:12px}
.wv-layout :is(.wv-image-fields summary,.wv-tools-more summary){color:#364459;font-weight:650}
.wv-layout .wv-compose-footer{border-top:1px solid var(--wv-divider)}
.wv-layout .wv-overline{color:#5b3a7a}
.wv-layout .wv-document figure{border-color:#b8c3d2}
.wv-layout :is(.wv-document figcaption,.wv-block figcaption){color:#526074}
.wv-layout .wv-album{border-color:#ae99c1;background:#f3eff8}
.wv-layout .wv-album-bar{color:#593f72}
.wv-layout .wv-published-chip{color:#2d6542;border-color:#8caf99;background:#eaf5ee}
.wv-shell{border-bottom:1px solid #aebaca;box-shadow:0 2px 12px #14243e0a;color:var(--wv-ink)}
.wv-shell :is(button,.wv-shell-voice),.wv-shell-panel :is(button,input){border-color:#a9b4c4}
.wv-shell-voice{border-color:#b29bc9!important;color:#4d2e70!important;background:#eee6f7!important}
.wv-shell-voice small{color:#604777}
.wv-shell-panel-body a{color:#442d61;background:#f0edf6;border:1px solid #c8bbd9}
.wv-shell-panel-body .wv-shell-menu-sub{color:#3e4c60;border:0;border-left:2px solid #a9b4c4;background:transparent}
.wv-auth-card p,.wv-notice-row small{color:#526074}
.wv-notice-row{border-color:#aebaca}.wv-notice-row[data-unread=true]{background:#ede6f7;border-left-color:#704a9a}
.wv-standalone :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #68418d;outline-offset:3px}
/* Reserve space for discovery on narrow screens instead of covering video controls. */
@media(max-width:1199px){.wv-standalone{padding-bottom:68px}.wv-discover-toggle{left:0;right:0;bottom:0;border:0;border-top:1px solid #a3aec0;border-radius:0;background:#f8f9fc;color:#44315f;box-shadow:0 -3px 12px #14243b12;min-height:54px;padding:12px 18px calc(12px + env(safe-area-inset-bottom))}.wv-layout{padding-bottom:60px}.wv-layout.is-composing~.wv-discover-toggle{display:none}}
@media(max-width:779px){.wv-layout .wv-post-card{padding:16px}.wv-layout .wv-document{font-size:15px}.wv-latest.is-open{box-shadow:-10px 0 40px #1f14282b}}
@media(prefers-contrast:more){:root{--wv-line:#61738b;--wv-divider:#78899d;--wv-muted:#344357}.wv-layout .wv-post-card{border-width:2px}}

/* The same palette on the real People directory, preserving its compact cards. */
.wv-people-theme{--pc-ink:#202735;--pc-muted:#526074;--pc-line:#a9b4c4;--pc-tint:#ece4f7;--pc-purple:#56317e;padding-bottom:0!important}
.wv-people-theme .people-v1-nav{background:#fff;border-color:#a9b4c4}
.wv-people-theme .people-v1-nav a{color:#344257;font-weight:550}
.wv-people-theme .people-v1-nav .current{color:#4c2a71;background:#ece4f7;font-weight:750}
.wv-people-theme .people-v1-nav .child{border-left:2px solid #b1a0c5}
.wv-people-theme .pc-card{border-color:#a9b4c4;box-shadow:var(--wv-shadow)}
.wv-people-theme .pc-card:hover{border-color:#8b70a6;box-shadow:0 5px 18px #30213d18}
.wv-people-theme .pc-cover{background:linear-gradient(115deg,#e5dced,#dfe7f0);border-bottom:1px solid #bcc3d1}
.wv-people-theme .pc-avatar{color:#664d80;background:#e8e1f1;box-shadow:0 0 0 1px #b7a6ca}
.wv-people-theme :is(.pc-body h2,.people-v1-main h1){color:#202735}
.wv-people-theme :is(.pc-intro,.pc-place,.pc-detail,.people-v1-lead){color:#526074}
.wv-people-theme .pc-context .pc-detail{font-size:11px}
.wv-people-theme .pc-tags span{border:1px solid #b4d2c8;color:#2d5d52}
.wv-people-theme .pc-tags span:nth-child(2){border-color:#dfc5ae;color:#755038}
.wv-people-theme .pc-actions{border-top:1px solid #d3dae4;padding-top:11px}
.wv-people-theme .pc-actions a{background:#f6f8fb;color:#344257}
.wv-people-theme .pc-identity summary{border-color:#bda9ce;background:#faf7ff;color:#4d2d6e;font-size:11px}
.wv-people-theme .pc-badges summary{color:#775415;border-color:#bba672;background:#faf2db}
.wv-people-theme .pc-tabs{border-bottom:1px solid #c3cbd7;padding-bottom:14px}
.wv-people-theme .pc-tabs button{color:#42516a}
.wv-people-theme .pc-tabs button[aria-pressed=true]{color:#fff}

/* Profile module switcher: one horizontal row, counted from the real notice API. */
.wv-owner-area{min-width:0;max-width:100%;padding:20px;border:1px solid #cfc5df;border-radius:22px;background:#fff;overflow:hidden}
.wv-owner-area>header p{font-size:12px;line-height:1.5;color:#635b74}
.wv-owner-cards{display:flex;gap:10px;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x proximity;padding:8px 3px 15px;max-width:100%;scrollbar-width:thin;scrollbar-color:#c6b8d8 transparent}
.wv-owner-cards .wv-owner-card{flex:1 0 84px;min-width:84px;max-width:115px;border:1px solid #dcd5e6;border-radius:18px;padding:11px 7px;background:linear-gradient(155deg,#fff,#f5f2f9);display:grid;place-items:center;gap:10px;color:#453653;cursor:pointer;scroll-snap-align:start;transition:transform .18s,box-shadow .18s;font:inherit}
.wv-owner-cards .wv-owner-card:hover{transform:translateY(-2px);box-shadow:0 6px 16px #3e235918}
.wv-owner-cards .wv-owner-card[aria-selected=true]{border-color:#7950ab;background:linear-gradient(145deg,#f4eaff,#fff);box-shadow:inset 0 -3px #7950ab}
.wv-owner-card strong{font-size:12px;white-space:nowrap}
.wv-owner-art{position:relative;display:grid;place-items:center;width:43px;height:43px;border-radius:14px 14px 14px 5px;color:hsl(var(--card-hue) 40% 37%);background:linear-gradient(145deg,hsl(var(--card-hue) 65% 92%),hsl(var(--card-hue) 45% 85%))}
.wv-owner-art svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.wv-owner-art .wv-notice-badge{position:absolute;top:-7px;right:-9px;display:grid;place-items:center;min-width:22px;height:22px;border-radius:8px;padding:0 4px;background:#302041;color:white;border:2px solid white;font:700 10px system-ui}
.wv-owner-module{border-top:1px solid #e1d9eb;margin-top:3px;padding-top:16px;min-width:0}
.wv-owner-module .wv-notice-filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}
.wv-owner-module :is(button,select){border:1px solid #cbc0da;background:#f9f7fc;color:#443258;border-radius:10px;padding:9px 12px;font:inherit;font-size:12px;max-width:100%;cursor:pointer}
.wv-owner-module .wv-notice-row{border:1px solid #ded6e8;border-radius:14px;padding:14px;margin:10px 0;background:#fbfaff;overflow-wrap:anywhere}
.wv-owner-module .wv-notice-row a{display:block;margin-top:8px;color:#5c3981;font-weight:650}
.wv-owner-module .wv-notice-row small{font-size:11px;color:#756783}
.wv-owner-module .wv-empty{font-size:13px;color:#766984;padding:12px 0}
@media(max-width:600px){.wv-owner-area{padding:14px}.wv-owner-cards .wv-owner-card{flex-basis:84px}.wv-owner-module .wv-notice-filters select{flex:1;min-width:120px}}
@media(prefers-reduced-motion:reduce){.wv-owner-cards .wv-owner-card{transition:none;transform:none}}
