/* Shared compact chrome; project palette variables remain authoritative. */
body{padding-bottom:calc(78px + env(safe-area-inset-bottom))}
.shell-header.app-header{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:80px;padding:10px 20px;max-width:none;border-bottom:1px solid var(--line)}
.shell-header .app-brand{min-width:0;max-width:65%;display:flex;align-items:center;gap:10px;text-decoration:none}.shell-header .app-brand img{width:auto!important;height:60px!important;max-width:150px!important;object-fit:contain!important;border-radius:16px!important}.shell-header .project-brand-name{font-size:14px;line-height:1.25}.shell-header .project-brand-name small{font-size:10px;letter-spacing:.08em}
.shell-tools{display:flex;align-items:center;gap:8px;flex-shrink:0}.shell-tools svg,.shell-nav svg,.shell-menu-links svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.shell-theme,.shell-language summary{display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:9px;border:0;border-radius:50px;background:var(--card);color:var(--ink);font:inherit;font-size:13px;font-weight:600;cursor:pointer}.shell-theme{width:44px}.shell-language{position:relative}.shell-language summary{list-style:none}.shell-language summary::-webkit-details-marker{display:none}.shell-language summary>svg{width:18px}
.shell-language nav{position:absolute;right:0;top:calc(100% + 10px);z-index:80;width:max-content;max-width:calc(100vw - 32px);padding:6px;background:var(--card);border:1px solid var(--line);border-radius:18px;box-shadow:0 12px 36px #0002}.shell-language nav a{display:block;padding:12px 16px;text-decoration:none;color:var(--ink);border-radius:12px;font-size:14px}.shell-language a[aria-current]{background:var(--surface);font-weight:700}
.shell-theme .shell-moon{display:none}[data-theme=dark] .shell-theme .shell-moon{display:block}[data-theme=dark] .shell-theme .shell-sun{display:none}
.shell-nav{position:fixed;z-index:70;bottom:0;left:0;right:0;display:flex;justify-content:space-evenly;gap:4px;padding:8px 12px calc(8px + env(safe-area-inset-bottom));background:var(--card);border-top:1px solid var(--line);box-shadow:0 -4px 24px #00000005}.shell-nav>a,.shell-nav>button{display:flex;flex:1;max-width:180px;min-height:48px;align-items:center;justify-content:center;flex-direction:column;gap:4px;color:var(--muted);text-decoration:none;font:inherit;font-size:11px;font-weight:600;border:0;background:transparent;border-radius:14px;cursor:pointer}.shell-nav [aria-current],.shell-nav .shell-current{color:var(--purple);background:color-mix(in srgb,var(--purple) 8%,transparent)}.shell-nav a>span{height:24px}
.shell-sheet{width:min(480px,calc(100% - 24px));max-height:80dvh;margin:auto auto calc(88px + env(safe-area-inset-bottom));padding:22px;border:1px solid var(--line);border-radius:26px;background:var(--card);color:var(--ink);box-shadow:0 20px 70px #0003;overflow:auto}.shell-sheet::backdrop{background:#0005;backdrop-filter:blur(4px)}.shell-sheet-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}.shell-sheet-heading h2{font-size:20px;margin:0}.shell-sheet-heading button{border:0;background:var(--surface);color:var(--ink);border-radius:50%;min-width:44px;min-height:44px;font-size:26px;cursor:pointer}
.shell-menu-links{display:grid;gap:4px}.shell-menu-links>a,.shell-menu-links>button{display:flex;align-items:center;gap:12px;text-align:left;border:0;border-radius:14px;background:transparent;color:var(--ink);padding:13px;font:inherit;font-size:15px;text-decoration:none;cursor:pointer}.shell-menu-links>a>span:last-child:not(:first-child){margin-left:0}.shell-menu-links>[aria-current]{background:var(--surface);color:var(--purple)}.shell-sheet input{width:100%;max-width:100%;font-size:15px}.shell-sheet p{font-size:14px;line-height:1.6}
.app-main,.music-main.music-shell,.music-main.photos-shell{padding-top:22px}.app-main>h1,.photos-shell>h1{font-size:clamp(27px,5vw,42px);line-height:1.12;margin:16px 0}.music-hero{padding-top:0!important}.music-hero h1{font-size:clamp(28px,6vw,44px)!important}.music-lead,.photos-lead{font-size:16px!important}.music-overline{font-size:11px!important}.lights-card{padding:22px!important;margin-top:20px!important}.lights-card h1{font-size:32px;line-height:1.1;margin:16px 0}.lights-card>p,.lights-card>label{font-size:16px;line-height:1.5}.lights-card>span>svg{width:28px;height:28px}.shell-presence{color:var(--muted);font-size:13px!important}.shell-presence strong{color:var(--ink);font-variant-numeric:tabular-nums}
.shell-home .app-main{padding-top:18px}.shell-home .brand-cover{margin-bottom:18px}.shell-home .brand-cover,.shell-home .brand-cover-viewport,.shell-home .brand-cover img,.shell-home .brand-cover video{max-height:260px}.shell-home .app-hero{padding:0;margin:18px 0 22px;min-height:0;display:block}.shell-home .app-eyebrow{font-size:10px;letter-spacing:.16em;margin:0 0 8px}.shell-home .app-hero h1{font-size:clamp(26px,5vw,38px);line-height:1.12;margin:0 0 10px}.shell-home .hero-description{font-size:15px;margin:0;line-height:1.5}.shell-home .hero-actions,.shell-home .hero-art{display:none}
.shell-modules{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:20px 0 28px}.shell-modules .action-card{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:18px;min-width:0;border:1px solid var(--line);border-radius:22px;background:var(--card)}.shell-modules .card-symbol{width:40px;height:40px;border-radius:13px;margin:0}.shell-modules .card-symbol svg{width:24px;height:24px}.shell-modules h2{font-size:17px;line-height:1.2;margin:0}.shell-modules p{display:none}.shell-modules .text-button{font-size:12px;line-height:1.4;margin-top:auto}.shell-modules .text-button:after{content:"";position:absolute;inset:0;border-radius:22px}.shell-modules .text-button:focus-visible:after{outline:3px solid var(--purple);outline-offset:3px}
.lights-joined .shell-nav,.lights-joined .shell-header{visibility:hidden}.shell-header :focus-visible,.shell-nav :focus-visible,.shell-sheet :focus-visible{outline:3px solid var(--purple);outline-offset:3px}
@media(max-width:600px){.shell-header.app-header{padding:10px 16px;min-height:76px}.shell-header .app-brand img{height:56px!important;max-width:130px!important}.shell-header .project-brand-name,.shell-header .project-brand-name small{display:none}.shell-home .brand-cover,.shell-home .brand-cover-viewport,.shell-home .brand-cover img,.shell-home .brand-cover video{max-height:190px}.shell-home .app-main{padding-left:16px;padding-right:16px}.shell-home .app-hero h1{font-size:27px}.shell-modules{gap:10px}.shell-modules .action-card{padding:16px}.shell-modules h2{font-size:16px}.app-footer{font-size:12px;padding:22px 20px!important}}

.shell-home .brand-gallery{margin:0 0 18px}.shell-home .brand-gallery-slide{aspect-ratio:2.7/1}.shell-home .brand-gallery-slide img,.shell-home .brand-gallery-slide video{height:100%;width:100%;object-fit:cover}@media(max-width:600px){.shell-home .brand-gallery-slide{aspect-ratio:1.9/1}.shell-home .brand-gallery-slide img,.shell-home .brand-gallery-slide video{max-height:210px}}

/* The lower home shares the same compact cards and spacing as its modules. */
.shell-home .content-sections{margin:28px 0}.shell-home .content-sections>h2{font-size:22px;line-height:1.2;margin:0 0 14px;letter-spacing:-.035em}.shell-home .content-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.shell-home .content-card{padding:18px;gap:10px;border-radius:22px;min-height:156px}.shell-home .content-card h3{font-size:17px;line-height:1.25}.shell-home .content-card p{font-size:13px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.shell-home .content-card .text-button{font-size:12px;margin-top:auto}
.shell-home .shell-utilities.action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:28px 0 0}.shell-home .shell-utilities .action-card{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:18px;min-width:0;min-height:180px;border-radius:22px}.shell-home .shell-utilities .card-symbol{grid-area:auto;width:40px;height:40px;border-radius:13px;margin:0}.shell-home .shell-utilities .card-symbol svg{width:24px;height:24px}.shell-home .shell-utilities h2{font-size:17px;line-height:1.25;margin:0}.shell-home .shell-utilities p{font-size:13px;line-height:1.5;margin:0;color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.shell-home .shell-utilities .text-button{font-size:12px;line-height:1.4;text-align:left;margin:0;padding:6px 0;min-height:36px;gap:6px}.shell-home .shell-utilities p+.text-button{margin-top:auto}.shell-home .shell-utilities .text-button:focus-visible{outline-offset:2px}.shell-home .content-sections+.shell-utilities{margin-top:28px}
.shell-footer.app-footer{display:flex;justify-content:center;align-items:center;max-width:1196px;margin:28px auto 0;padding:22px 20px 12px!important;border-top:1px solid color-mix(in srgb,var(--line) 35%,transparent);text-align:center;color:var(--muted);font-size:11px;line-height:1.6}.shell-footer a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;max-width:100%;padding:8px 12px;text-decoration:none;font-weight:600;letter-spacing:.05em;overflow-wrap:anywhere}.shell-footer a:hover{text-decoration:underline}.shell-footer a:focus-visible{outline:2px solid var(--purple);outline-offset:3px;border-radius:8px}.shell-home .app-main{padding-bottom:8px}.lights-joined .shell-footer{visibility:hidden}
@media(max-width:600px){.shell-home .content-grid,.shell-home .shell-utilities.action-grid{gap:10px}.shell-home .content-card,.shell-home .shell-utilities .action-card{padding:16px}.shell-home .content-card h3,.shell-home .shell-utilities h2{font-size:16px}.shell-home .content-card .text-button,.shell-home .shell-utilities .text-button{font-size:12px}.shell-home .content-sections>h2{font-size:21px}.shell-footer.app-footer{margin-top:22px}}
@media(min-width:1000px){.shell-home .content-grid,.shell-home .shell-utilities.action-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* A single continuous home grid; compact header actions stay on one row. */
.shell-home .shell-modules p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:13px;line-height:1.5;color:var(--muted);margin:0}.shell-home .shell-modules .action-card{min-height:180px}.shell-home .shell-modules .text-button{padding:6px 0;min-height:36px}.shell-nav a>span:not(:first-child){height:auto}.shell-menu-links>a>span:last-child{margin-left:0}.shell-nav>button span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.shell-nav>a,.shell-nav>button{min-width:0;font-size:10px;padding-left:4px;padding-right:4px}.shell-nav>a>span:last-child{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.shell-header .shell-tool{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:36px;min-height:40px;padding:6px;border:0;border-radius:50%;background:var(--card);color:var(--ink);text-decoration:none;cursor:pointer;font:inherit;font-size:12px;font-weight:700}.shell-header .shell-tools{gap:5px}.shell-header .shell-theme{width:36px;min-height:40px;padding:6px}.shell-header .shell-language summary{min-height:40px;padding:8px;font-size:12px;gap:4px}.shell-header .shell-language summary>svg{display:none}
@media(max-width:600px){.shell-header.app-header{gap:8px;padding:10px 12px}.shell-header .app-brand{flex:0 1 auto;max-width:75px}.shell-header .app-brand img{height:50px!important;max-width:75px!important;border-radius:13px!important}.shell-header .app-brand>span:not(.app-mark){display:none}.shell-header .app-mark{width:36px;height:36px;font-size:28px;border-radius:12px}.shell-header .shell-tools{gap:4px}.shell-header .shell-tool,.shell-header .shell-theme{width:34px}.shell-header .shell-tools svg{width:21px;height:21px}}

[data-theme-toggle] .shell-moon{display:none}[data-theme=dark] [data-theme-toggle] .shell-moon{display:block}[data-theme=dark] [data-theme-toggle] .shell-sun{display:none}

/* Separate the touch controls and reserve a distinct logo area. */
.shell-header.app-header{column-gap:24px}.shell-header .shell-tools{gap:10px}.shell-header .app-brand{flex-shrink:0}
@media(max-width:600px){.shell-header.app-header{column-gap:16px}.shell-header .shell-tools{gap:8px}.shell-header .app-brand{min-width:52px}}
@media(max-width:360px){.shell-header.app-header{column-gap:12px}.shell-header .shell-tools{gap:6px}.shell-header .app-brand{max-width:62px}.shell-header .app-brand img{max-width:62px!important}}

/* Larger, separate touch targets without pushing into the logo area. */
.shell-header .shell-tool,.shell-header .shell-theme{width:44px;min-width:44px;height:44px;min-height:44px;padding:8px}.shell-header .shell-language summary{width:44px;min-width:44px;height:44px;min-height:44px;padding:6px;gap:3px}.shell-header .shell-tools svg{width:26px;height:26px}.shell-header .shell-tools{gap:8px}
.shell-menu-links>a,.shell-menu-links>button{justify-content:flex-start;text-align:left;min-height:48px}.shell-menu-links>a>span,.shell-menu-links>button>span{margin:0;text-align:left}.shell-menu-links>a>span:first-child,.shell-menu-links>button>span:first-child{width:24px;flex:0 0 24px}.shell-menu-links>a>span:last-child,.shell-menu-links>button>span:last-child{min-width:0;overflow-wrap:anywhere}
@media(max-width:600px){.shell-header.app-header{column-gap:16px}.shell-header .shell-tools{gap:8px}}
@media(max-width:360px){.shell-header.app-header{padding-left:8px;padding-right:8px;column-gap:12px}.shell-header .shell-tools{gap:6px}.shell-header .app-brand{min-width:40px;max-width:40px}.shell-header .app-brand img{max-width:40px!important}}
@media(min-width:361px) and (max-width:389px){.shell-header .app-brand{max-width:64px}.shell-header .app-brand img{max-width:64px!important}}

/* Public module content: contain long labels without horizontal scrolling. */
.app-main,.music-main{min-width:0;overflow-wrap:anywhere}.app-main img,.music-main img{max-width:100%}.notice-card{min-width:0}.notice-pagination{display:flex;flex-wrap:wrap;gap:10px}.photo-consent{align-items:flex-start}.photo-consent input{flex:0 0 auto}.photos-shell .photo-send button{min-height:44px}.links-item[hidden]{display:none}

.install-project-logo{display:block;width:64px;height:64px;object-fit:contain;border-radius:16px;background:transparent;box-sizing:border-box}
