/* Theme popover: one compact control, with accessible choices. */
.theme-control{position:relative;flex:0 0 auto;margin-left:2px;z-index:1000}
html[data-theme] body :is(.theme-trigger,#site-theme){display:grid;place-items:center;width:40px;min-width:40px;height:40px;min-height:40px;padding:0;border:1px solid var(--border);border-radius:50%;background:var(--surface);color:var(--foreground);font-size:20px;line-height:1;cursor:pointer;box-shadow:none}
.theme-menu{position:absolute;right:0;top:calc(100% + 10px);width:230px;max-width:calc(100vw - 32px);padding:8px;border:1px solid var(--border);border-radius:12px;background:var(--surface);color:var(--foreground);box-shadow:0 12px 35px #0003;z-index:1001}.theme-menu[hidden]{display:none!important}.theme-menu-title{font-size:12px;color:var(--secondary);margin:4px 10px 7px;text-align:left}
html[data-theme] body .theme-menu .theme-choice{display:flex;gap:12px;align-items:center;width:100%;min-height:56px;margin:3px 0;padding:9px 11px;border:1px solid transparent;border-radius:7px;background:transparent;color:var(--foreground);text-align:left;font:inherit;cursor:pointer;box-shadow:none}
html[data-theme] body .theme-menu .theme-choice:hover,html[data-theme] body .theme-menu .theme-choice[aria-checked=true]{background:var(--surface-2);border-color:var(--border)}.theme-icon{font-size:22px;line-height:1;width:28px;text-align:center}.theme-choice strong,.theme-choice small{display:block}.theme-choice strong{font-size:14px;font-weight:600}.theme-choice small{font-size:12px;color:var(--secondary);line-height:1.5}.theme-trigger:focus-visible,.theme-choice:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
/* Introduction is a greeting and a compact team directory. */
[data-panel=overview]>.panel-heading,[data-panel=overview]>#summary{display:none!important}
html[data-theme] body.sayuki-dashboard .access-people.card{padding:16px 18px;margin:16px 0;border-radius:8px}.people-heading{gap:12px;margin-bottom:4px}.people-heading h3{font-size:15px}.people-heading .people-refresh{font-size:12px;min-height:34px;padding:5px 10px}.access-people>.hint{font-size:12px;line-height:1.5;margin:6px 0}.people-list{grid-template-columns:repeat(auto-fill,minmax(175px,1fr));gap:0 18px;margin:10px 0 6px;max-height:248px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}.person-card{gap:9px;padding:11px 0;min-height:68px}.person-card>img{width:32px;height:32px}.person-card strong{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.person-card span,.person-card small{font-size:11px;line-height:1.55;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.people-list:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
/* Mobile: no sideways layout, comfortable input sizes and a compact menu. */
@media(max-width:900px){.sayuki-dashboard .appeal-grid,.sayuki-dashboard .autorole-workspace{grid-template-columns:minmax(0,1fr)}.sayuki-dashboard .workspace-grid>aside{min-width:0}.sayuki-dashboard .panels,.sayuki-dashboard [data-panel],.sayuki-dashboard .card{min-width:0}.sayuki-dashboard .form-grid,.sayuki-dashboard .form-row{grid-template-columns:repeat(2,minmax(0,1fr))}.sayuki-dashboard .workspace-grid aside nav summary.nav-group-title{min-height:42px;display:flex;align-items:center;justify-content:space-between}.sayuki-dashboard .workspace-grid aside nav .nav-group button{min-height:44px}.sayuki-home .discord-preview{min-width:0}}
@media(max-width:650px){html,body{max-width:100%;overflow-x:clip}.sayuki-dashboard header,.sayuki-dashboard main,.sayuki-dashboard footer{width:calc(100% - 24px)}.sayuki-dashboard header{height:68px;gap:10px}.sayuki-dashboard .header-right{gap:8px}.sayuki-dashboard .brand img{width:30px;height:30px}.sayuki-dashboard .user-profile{padding:0}.sayuki-dashboard .user-profile img{width:28px;height:28px}.sayuki-dashboard #logout{padding:8px;font-size:12px;min-height:40px}.sayuki-dashboard .workspace-title{padding:18px 0}.sayuki-dashboard .workspace-title h1{font-size:25px}.sayuki-dashboard .server-picker{margin-top:14px}.sayuki-dashboard #guild-picker{padding:11px 13px}.sayuki-dashboard .picker-text strong{font-size:15px}.sayuki-dashboard .workspace-grid{gap:16px}.sayuki-dashboard .workspace-grid aside nav{padding:7px;gap:4px}.sayuki-dashboard .workspace-grid aside nav summary.nav-group-title{font-size:12px;line-height:1.4;padding:7px}.sayuki-dashboard .greeting-cover{height:72px}.sayuki-dashboard .greeting-body{gap:10px;padding:0 15px 18px}.sayuki-dashboard .greeting-body h2{font-size:20px}.sayuki-dashboard .greeting-body>img{width:40px;height:40px}.sayuki-dashboard .greeting-body p:last-child{font-size:13px}.sayuki-dashboard .card{padding:16px}.sayuki-dashboard .panel-heading h2{font-size:23px}.sayuki-dashboard .form-grid,.sayuki-dashboard .form-row{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}.sayuki-dashboard input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),.sayuki-dashboard textarea,.sayuki-dashboard select{font-size:16px!important;min-height:44px;width:100%;max-width:100%}.sayuki-dashboard label{font-size:14px;min-width:0}.sayuki-dashboard .card button.primary{min-height:44px}.sayuki-dashboard .tool-actions,.sayuki-dashboard .welcome-test-actions{display:flex;flex-wrap:wrap;gap:8px}.sayuki-dashboard .tool-actions>button{min-height:44px;flex:1 1 130px}.sayuki-dashboard .people-heading h3{font-size:14px;line-height:1.4}.sayuki-dashboard .access-people.card{padding:14px}.people-list{grid-template-columns:minmax(0,1fr);max-height:228px;margin-top:8px}.person-card{min-height:62px;padding:9px 0}.person-card strong{font-size:13px}.person-card span,.person-card small{font-size:12px}.access-people>p.hint:not([role=status]){display:none}.sayuki-dashboard .people-refresh{min-height:40px;flex-shrink:0}.sayuki-home .shell{width:calc(100% - 28px)}.sayuki-home .nav{gap:9px;height:68px}.sayuki-home .brand{font-size:22px}.sayuki-home .nav-cta{font-size:12px;padding:10px}.sayuki-home .hero{padding:34px 0;gap:26px}.sayuki-home .hero h1{font-size:clamp(32px,9vw,42px)}.sayuki-home .actions{gap:8px;flex-wrap:wrap}.sayuki-home .actions .button{font-size:13px;min-height:44px;flex:1;text-align:center}.sayuki-home .music-feature{padding:18px}.sayuki-home .command-toolbar{padding:14px}.sayuki-home .tabs{display:flex;overflow:auto;flex-wrap:nowrap;max-width:100%;padding-bottom:4px}.sayuki-home .tabs button{min-height:42px;white-space:nowrap;flex-shrink:0}.sayuki-home .search input{font-size:16px}.sayuki-home .embed-controls button{min-height:36px}.sayuki-home .command-row{padding:15px}.sayuki-home .command-row p{overflow-wrap:anywhere}.theme-control{margin-left:0}.theme-menu{right:0;position:absolute}.theme-menu .theme-choice{min-height:58px!important}.sayuki-dashboard .theme-menu strong{font-size:14px}.sayuki-dashboard .theme-menu small{font-size:12px}}
@media(max-width:380px){.sayuki-dashboard .brand{font-size:20px}.sayuki-dashboard .brand img{margin-right:7px}.sayuki-dashboard .user-profile{display:none}.sayuki-home .nav .brand img{margin-right:5px}.sayuki-home .nav-cta{padding:10px 8px}.sayuki-home .nav{gap:7px}.sayuki-dashboard .workspace-grid aside nav{grid-template-columns:1fr 1fr}}
.repository-link{display:block;margin:16px 0;color:var(--brand,var(--lilac));font-size:14px;text-decoration:underline;text-underline-offset:3px}#birthday-send-status a{color:var(--brand,var(--lilac));text-decoration:underline}.sayuki-home footer{flex-wrap:wrap;gap:16px}.sayuki-dashboard footer{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
