*{box-sizing:border-box} :root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#172033;background:#f4f6fa;font-synthesis:none}body{margin:0;min-height:100vh}.topbar{min-height:68px;background:#111827;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 max(22px,calc((100% - 1180px)/2));gap:24px;flex-wrap:wrap}.brand{font-size:20px;font-weight:900;letter-spacing:.08em;color:#fff;text-decoration:none}.brand span{color:#72d6bf}.topbar nav{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.topbar nav a{color:#dbe3f2;text-decoration:none;font-size:14px}.topbar nav a:hover{color:#fff}.topbar select{width:auto;min-width:100px;padding:7px;background:#202b3e;color:#fff;border:1px solid #465166}.user-chip{font-size:13px;color:#b8c5d8}.container{max-width:1180px;margin:0 auto;padding:32px 22px 60px}.footer{text-align:center;color:#8490a3;padding:22px;font-size:12px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:4px 0 30px}.page-heading h1{font-size:clamp(26px,4vw,36px);letter-spacing:-.04em;margin:5px 0 8px}.page-heading p{margin:0}.eyebrow{font-size:11px;letter-spacing:.16em;color:#66758c;font-weight:800}.muted{color:#6d788b}.small{font-size:12px}.panel,.auth-card,.empty-state{background:#fff;border:1px solid #e3e8f0;border-radius:16px;padding:24px;box-shadow:0 8px 24px rgba(20,35,60,.035)}.panel h2{font-size:18px;margin:0 0 18px}.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:18px}.festival-card h3{font-size:21px;margin:18px 0 8px}.panel-top{display:flex;justify-content:space-between;gap:10px;align-items:center}.status-pill{display:inline-flex;border-radius:99px;background:#e4f7ef;color:#176c52;padding:5px 10px;font-size:11px;font-weight:800}.actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:18px}.button,button.button{display:inline-flex;align-items:center;justify-content:center;border:1px solid #d8dfeb;background:#fff;color:#253149;padding:10px 15px;border-radius:9px;text-decoration:none;font-size:13px;font-weight:700;cursor:pointer;min-height:39px}.button:hover{background:#f4f7fb}.button.primary{background:#176b58;border-color:#176b58;color:#fff}.button.primary:hover{background:#105542}.button.danger{color:#a32e39;border-color:#f0c8cc}.button.small{padding:7px 10px;min-height:30px;font-size:12px}.auth-card{max-width:500px;margin:30px auto;padding:34px}.auth-card h1{margin-top:0;font-size:28px}.auth-card form,.form-panel form,.panel form:not(.inline){display:flex;flex-direction:column;gap:16px}.form-panel{max-width:760px}.form-panel label,.auth-card label,.panel label{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:700;color:#37445a}input,select,textarea{width:100%;min-width:0;border:1px solid #d5dce7;background:#fff;border-radius:8px;padding:11px 12px;font:inherit;color:#1d293c}input:focus,select:focus{outline:3px solid rgba(40,150,122,.14);border-color:#269879}small{font-size:11px;color:#7a8698;font-weight:400}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:18px}.notice{padding:13px 16px;border-radius:10px;margin:0 0 16px;font-size:14px}.notice.success{background:#e8f8ef;color:#16623e}.notice.error{background:#fff0f0;color:#992c36}.notice.info{background:#eef5ff;color:#244d8d}.empty-state{text-align:center;padding:42px 24px}.empty-state h3{font-size:17px;margin:0 0 20px}.empty-inline{padding:20px;color:#6d788b}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:13px}th,td{text-align:left;padding:13px 10px;border-bottom:1px solid #edf0f5;vertical-align:middle}th{color:#66758c;font-size:11px;text-transform:uppercase;letter-spacing:.06em}td a{color:#176b58;font-weight:700;text-decoration:none}.inline{display:inline-flex;align-items:center;gap:8px;margin:0}.inline select{min-width:125px;padding:7px}.role-list{display:flex;flex-direction:column}.role-row{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:12px 0;border-bottom:1px solid #edf0f5}.role-row:last-child{border-bottom:0}.role-row form{margin:0!important}.role-row .button{white-space:nowrap}@media(max-width:760px){.topbar{padding:16px 18px;align-items:flex-start}.topbar nav{gap:10px}.container{padding:24px 15px 45px}.page-heading{align-items:flex-start;flex-direction:column}.two-col,.form-grid{grid-template-columns:1fr}.panel,.auth-card{padding:19px}.table-wrap table{min-width:650px}}


/* ShowCore 2.2 — application shell */
:root{--page-bg:#f5f7fb;--surface:#fff;--surface-soft:#f8fafc;--text:#172033;--muted:#6d788b;--border:#e3e8f0;--accent:#176b58;--accent-soft:#e7f6f0;--header-bg:#fff;--sidebar-bg:#fff;--input-bg:#fff;--shadow:0 8px 24px rgba(20,35,60,.035)}
html,body{min-height:100%;background:var(--page-bg);color:var(--text)}
body{background:var(--page-bg);color:var(--text)}
.site-header{height:70px;position:sticky;top:0;z-index:30;display:flex;align-items:center;gap:28px;padding:0 26px;background:var(--header-bg);border-bottom:1px solid var(--border);box-shadow:0 2px 8px rgba(20,35,60,.025)}
.brand{display:flex;align-items:center;gap:10px;flex:0 0 200px;font-size:17px;letter-spacing:.09em;color:var(--text)}
.brand > span:last-child{color:var(--text)}
.brand-mark{width:32px;height:32px;border-radius:10px;background:#176b58;color:#fff!important;display:inline-flex;align-items:center;justify-content:center;font-size:18px;font-weight:900;letter-spacing:0}
.header-project{display:flex;align-items:center;gap:10px;min-width:200px;max-width:500px;flex:1}
.header-label{font-size:9px;letter-spacing:.12em;font-weight:800;color:var(--muted);white-space:nowrap}
.project-switcher{margin:0;min-width:180px;max-width:360px}
.project-switcher select{border:1px solid var(--border);background:var(--surface-soft);font-size:13px;font-weight:700;padding:9px 34px 9px 12px;min-height:40px}
.header-actions{display:flex;align-items:center;gap:14px;margin-left:auto}
.icon-action{position:relative;display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:10px;text-decoration:none;color:var(--text);font-size:20px}
.icon-action:hover{background:var(--surface-soft)}
.notification-count{position:absolute;top:0;right:-1px;min-width:17px;height:17px;border-radius:10px;background:#d9485f;color:#fff;font-size:10px;display:flex;align-items:center;justify-content:center;padding:0 4px}
.theme-form{margin:0}
.theme-toggle{border:0;background:transparent;color:var(--text);display:flex;align-items:center;gap:8px;padding:7px 8px;border-radius:9px;cursor:pointer;font:inherit;font-size:12px;font-weight:650}
.theme-toggle:hover{background:var(--surface-soft)}
.theme-switch{width:34px;height:19px;border-radius:20px;background:#cbd5e1;padding:2px;display:inline-flex;align-items:center;transition:background .18s ease}
.theme-knob{width:15px;height:15px;background:white;border-radius:50%;box-shadow:0 1px 3px #0002;transition:transform .18s ease}
html[data-theme="dark"] .theme-switch{background:#2c9c80}
html[data-theme="dark"] .theme-knob{transform:translateX(15px)}
.account-menu{position:relative}
.account-menu summary{list-style:none;display:flex;align-items:center;gap:9px;cursor:pointer;padding:5px 8px;border-radius:10px}
.account-menu summary::-webkit-details-marker{display:none}
.account-menu summary:hover{background:var(--surface-soft)}
.account-avatar{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:#dff3eb;color:#176b58;font-size:13px;font-weight:850}
.account-name{font-size:12px;font-weight:700;white-space:nowrap}
.account-chevron{color:var(--muted)}
.account-dropdown{position:absolute;right:0;top:calc(100% + 9px);width:205px;padding:8px;background:var(--surface);border:1px solid var(--border);border-radius:12px;box-shadow:0 12px 35px #1112;display:flex;flex-direction:column;z-index:50}
.account-dropdown>a{padding:10px 11px;border-radius:7px;text-decoration:none;color:var(--text);font-size:13px}
.account-dropdown>a:hover{background:var(--surface-soft)}
.account-language-form{display:flex;flex-direction:column;gap:5px;padding:8px 10px;border-top:1px solid var(--border);margin-top:4px}
.account-language-form label{font-size:11px;color:var(--muted)}
.account-language-form select{padding:7px;font-size:12px}
.guest-nav{margin-left:auto;display:flex;gap:12px}
.guest-nav a{color:var(--text);text-decoration:none;font-size:13px;font-weight:650}
.app-shell{display:flex;min-height:calc(100vh - 70px)}
.sidebar{width:248px;flex:0 0 248px;background:var(--sidebar-bg);border-right:1px solid var(--border);padding:23px 14px 16px;display:flex;flex-direction:column;gap:4px}
.sidebar-section-label{padding:9px 12px 8px;color:#8994a6;font-size:9px;letter-spacing:.13em;font-weight:850}
.sidebar-link{display:flex;align-items:center;gap:12px;min-height:42px;padding:10px 12px;border-radius:9px;color:#657186;text-decoration:none;font-size:13px;font-weight:600;transition:background .12s ease,color .12s ease}
.sidebar-link:hover{background:var(--surface-soft);color:var(--text)}
.sidebar-link.active{background:var(--accent-soft);color:var(--accent);font-weight:750}
.nav-icon{width:19px;text-align:center;font-size:18px;line-height:1;flex-shrink:0}
.nav-badge{margin-left:auto;border-radius:12px;background:#d9485f;color:#fff;padding:2px 6px;font-size:10px}
.sidebar-divider{height:1px;background:var(--border);margin:12px 8px}
.sidebar-spacer{flex:1;min-height:30px}
.sidebar-foot{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:10px;padding:14px 12px 2px;border-top:1px solid var(--border);margin-top:12px}
.sidebar-status-dot{width:7px;height:7px;border-radius:50%;background:#22a06b}
.workspace{flex:1;min-width:0}
.container{max-width:1360px;padding:32px clamp(18px,3vw,42px) 54px;margin:0 auto}
.guest-container{max-width:1180px}
.footer{color:var(--muted);padding:18px;font-size:11px}
.page-heading{margin:0 0 27px}
.page-heading h1{font-size:clamp(26px,3vw,34px);letter-spacing:-.045em}
.page-heading p{line-height:1.55}
.panel,.auth-card,.empty-state{background:var(--surface);border-color:var(--border);box-shadow:var(--shadow);color:var(--text)}
.panel h2,.panel h3{color:var(--text)}
input,select,textarea{background:var(--input-bg);color:var(--text);border-color:var(--border)}
.button,button.button{background:var(--surface);color:var(--text);border-color:var(--border)}
.button.primary{background:#176b58;color:#fff;border-color:#176b58}
.button.primary:hover{background:#105542}
.notice.info{background:var(--accent-soft);color:var(--accent)}
.project-cards{margin-bottom:28px}
.project-card{padding:23px;display:flex;flex-direction:column;min-height:190px}
.project-card-top{display:flex;align-items:center;justify-content:space-between}
.project-symbol{width:42px;height:42px;border-radius:12px;background:var(--accent-soft);color:var(--accent);display:flex;align-items:center;justify-content:center;font-size:23px}
.project-card h2{font-size:20px;margin:18px 0 5px;overflow-wrap:anywhere}
.project-card .actions{margin-top:auto}
.project-create-panel{margin-top:24px}
.project-create-panel h2{margin:4px 0 0}
.project-create-panel form{display:flex;flex-direction:column;gap:18px;margin-top:22px}
.project-create-panel h3{font-size:15px;margin:0 0 5px}
.app-choice-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:10px;margin-top:12px}
.app-choice{display:flex!important;flex-direction:row!important;align-items:center;gap:11px!important;border:1px solid var(--border);border-radius:11px;padding:13px;background:var(--surface);cursor:pointer}
.app-choice:has(input:checked){border-color:#5bb89d;background:var(--accent-soft)}
.app-choice input{width:16px;flex:0 0 16px}
.app-choice-icon{width:34px;height:34px;border-radius:9px;background:var(--surface-soft);display:flex;align-items:center;justify-content:center;font-size:19px;color:var(--accent);flex:0 0 34px}
.app-choice strong{display:block;font-size:13px}
.app-choice small{display:block;margin-top:4px;font-size:11px;line-height:1.35}
.dashboard-project-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:27px 30px;border-radius:16px;background:linear-gradient(115deg,#143f37,#176b58);color:white;margin-bottom:28px;box-shadow:0 12px 30px #176b5824}
.dashboard-project-hero h2{font-size:25px;margin:8px 0 4px;letter-spacing:-.03em}
.dashboard-project-hero p{margin:0;color:#d5eee5;font-size:13px}
.project-kicker{font-size:9px;letter-spacing:.15em;font-weight:850;color:#a8e3ce}
.hero-button{background:#fff!important;color:#174a3f!important;border-color:#fff!important;white-space:nowrap}
.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}
.section-heading h2{font-size:19px;margin:0 0 5px}
.section-heading p{font-size:12px;margin:0}
.app-launcher-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
.app-launcher{display:flex;align-items:center;gap:14px;padding:19px;text-decoration:none;color:var(--text);transition:transform .12s ease,border-color .12s ease}
.app-launcher:hover{transform:translateY(-2px);border-color:#9dcfbe}
.app-launcher-icon{width:44px;height:44px;flex:0 0 44px;border-radius:12px;background:var(--accent-soft);color:var(--accent);display:flex;align-items:center;justify-content:center;font-size:23px}
.app-launcher-content{min-width:0;display:flex;flex-direction:column;gap:5px}
.app-launcher-content strong{font-size:14px}
.app-launcher-content small{font-size:11px;line-height:1.4}
.app-launcher-arrow{margin-left:auto;color:var(--muted);font-size:17px}
.empty-illustration{font-size:40px;color:var(--accent);margin-bottom:12px}
.project-note{margin-top:22px}
html[data-theme="dark"]{color-scheme:dark;--page-bg:#11151c;--surface:#191f29;--surface-soft:#202835;--text:#e7edf5;--muted:#a1adbd;--border:#303a49;--accent:#6ed0b0;--accent-soft:#1c3b35;--header-bg:#151a22;--sidebar-bg:#151a22;--input-bg:#202835;--shadow:0 8px 24px rgba(0,0,0,.16)}
html[data-theme="dark"] .site-header{box-shadow:none}
html[data-theme="dark"] .brand>span:last-child{color:#e7edf5}
html[data-theme="dark"] .brand-mark{background:#27866d}
html[data-theme="dark"] .sidebar-link{color:#aab6c6}
html[data-theme="dark"] .sidebar-link.active{color:#8be0c2;background:#1c3b35}
html[data-theme="dark"] .sidebar-link:hover{background:#202835;color:#fff}
html[data-theme="dark"] .account-avatar{background:#24493e;color:#9be5c9}
html[data-theme="dark"] .status-pill{background:#24493e;color:#a5e8cf}
html[data-theme="dark"] .notice.success{background:#183c2c;color:#a3e6bc}
html[data-theme="dark"] .notice.error{background:#48252a;color:#ffc0c6}
html[data-theme="dark"] .notice.info{background:#1c3b35;color:#a1e5ce}
html[data-theme="dark"] .button.danger{color:#ff9da6;border-color:#65343b}
html[data-theme="dark"] th{color:#a1adbd}
html[data-theme="dark"] th,html[data-theme="dark"] td{border-bottom-color:#303a49}
html[data-theme="dark"] td a{color:#8be0c2}
html[data-theme="dark"] .app-choice:has(input:checked){border-color:#4f9b84}
html[data-theme="dark"] .dashboard-project-hero{background:linear-gradient(115deg,#12332d,#1a5c4b)}
@media(max-width:900px){.site-header{padding:0 16px;gap:12px}.brand{flex-basis:auto}.brand>span:last-child{display:none}.header-project{min-width:130px}.header-label{display:none}.project-switcher{min-width:120px}.theme-label,.account-name{display:none}.sidebar{width:205px;flex-basis:205px}.container{padding:26px 20px 44px}}
@media(max-width:650px){.site-header{height:auto;min-height:64px;flex-wrap:wrap;padding:10px 13px;gap:9px}.header-project{order:3;flex:1 1 100%;max-width:none}.project-switcher{max-width:none;width:100%}.project-switcher select{width:100%}.header-actions{gap:5px}.app-shell{min-height:calc(100vh - 110px)}.sidebar{width:58px;flex-basis:58px;padding:14px 6px}.sidebar-section-label,.sidebar-link span:not(.nav-icon),.sidebar-divider,.sidebar-foot{display:none}.sidebar-link{justify-content:center;padding:10px 4px}.nav-icon{font-size:20px}.sidebar-spacer{min-height:12px}.container{padding:22px 13px 35px}.dashboard-project-hero{align-items:flex-start;flex-direction:column;padding:23px}.dashboard-project-hero h2{font-size:22px}.app-launcher-grid{grid-template-columns:1fr}.project-create-panel{padding:17px}.project-create-panel>.panel-top{align-items:flex-start;flex-direction:column}.app-choice-grid{grid-template-columns:1fr}.account-menu summary{padding:3px}.guest-container{padding-top:20px}}
