/* Studby UI: GlassKit components + Lucide 1.46.0 icons, one shared geometry. */
:root { --studby-control-radius:18px; --studby-panel-radius:24px; }
.glass-btn { border-radius:var(--studby-control-radius);font-weight:600;min-height:48px;gap:8px; }
.glass-btn--sm { min-height:44px;height:auto; }
.glass-btn--tertiary { color:#536571;box-shadow:0 3px 10px rgb(27 49 77 / 6%),var(--gl-inset-subtle); }
.glass-btn:disabled { cursor:default; }
.app-icon, .glass-btn .app-icon, .glass-tab-bar__icon .app-icon,
.glass-tab-bar__item.is-active .glass-tab-bar__icon .app-icon,
.glass-tab-bar__item:not(.is-active):hover .glass-tab-bar__icon .app-icon {
 display:block;width:22px;height:22px;flex:none;fill:none;stroke:currentColor;
 stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;filter:none;
}
.glass-tab-bar__item { color:#536571; }
.glass-tab-bar__item.is-active { color:#3484ff; }
.glass-tab-bar__label { color:inherit; }
.glass-btn--primary .app-icon { color:#fff; }
.glass-btn.app-icon-button {
 display:grid;place-items:center;flex:none;width:44px;height:44px;min-height:44px;
 padding:0;border-radius:50%;background:var(--gl-surface-2);border:1px solid var(--gl-border-subtle);
 box-shadow:0 3px 10px rgb(27 49 77 / 6%),var(--gl-inset-subtle);
}
.glass-btn.app-icon-button:hover { background:var(--gl-surface-4); }
.brand-wordmark > span { display:inline-flex;vertical-align:top;margin:0 0 0 4px; }
.brand-wordmark .app-icon { width:20px;height:24px; }
.install-icon .app-icon { width:24px;height:24px; }
.glass-card, #profile .glass-card, .home-orders, .install-card, .news-card,
.file-dialog, .install-dialog { border-radius:var(--studby-panel-radius); }
.news-card.glass-card { padding:0;box-shadow:0 4px 16px rgb(27 49 77 / 4%),var(--gl-inset-subtle); }
.news-read.glass-btn { display:flex;justify-content:space-between;width:100%;padding:10px 14px;margin-top:2px;border:1px solid var(--gl-border-subtle);background:var(--gl-surface-2);font-size:14px; }
.news-reader-toolbar .app-back-button { display:inline-flex;justify-content:center;width:auto;min-width:104px;padding:8px 14px;border:1px solid var(--gl-border-subtle);background:var(--gl-surface-2);color:#536571; }
.news-reader-toolbar { justify-content:flex-start; }
.news-meta { justify-content:flex-start; }
#orders details summary { display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none; }
#orders details summary::-webkit-details-marker { display:none; }
#orders details[open] summary .app-icon { transform:rotate(180deg); }
#orders details summary:focus-visible { outline:2px solid #3484ff;outline-offset:3px;border-radius:8px; }
#news > .orders-heading h1 { font-size:28px; }
@media(prefers-reduced-motion:reduce){.glass-btn { transition:none; }}

/* Dialog autofocus must not draw a blue ring around Back. */
.news-reader .app-back-button:focus { outline:none; }
.news-reader .app-back-button:focus-visible { background:var(--gl-surface-4);color:#263b49; }
