:root {
    --ce-primary: #2563eb;
    --ce-primary-dark: #1d4ed8;
    --ce-primary-soft: #dbeafe;
    --ce-bg: #f8fafc;
    --ce-surface: #ffffff;
    --ce-text: #172033;
    --ce-muted: #64748b;
    --ce-border: #e2e8f0;
    --ce-shadow: 0 20px 45px rgba(37, 99, 235, 0.08);
    --ce-aprender: #2f80ed;
    --ce-ensinar: #10b981;
    --ce-avaliar: #7c3aed;
    --ce-organizar: #06afc7;
    --ce-brincar: #f5a800;
    --ce-criar: #f05252;
    --ce-calcular: #4f46e5;
    --ce-planejar: #16a36a;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--ce-bg);
    color: var(--ce-text);
    font-size: 0.97rem;
    line-height: 1.55;
}

a {
    text-decoration: none;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: 1rem;
    z-index: 1000;
    background: #fff;
    padding: 0.5rem 0.75rem;
    border-radius: 0.75rem;
}

.ce-navbar {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.ce-brand-mark {
    display: grid;
    grid-template-columns: repeat(2, 12px);
    gap: 4px;
}

.ce-brand-mark span {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    display: block;
}

.ce-brand-mark span:nth-child(1) { background: #f5a800; }
.ce-brand-mark span:nth-child(2) { background: #16a36a; }
.ce-brand-mark span:nth-child(3) { background: #f05252; }
.ce-brand-mark span:nth-child(4) { background: #2563eb; }

.ce-brand-text {
    font-size: 1.42rem;
    font-weight: 800;
    color: var(--ce-text);
    line-height: 1;
}

.ce-navbar .nav-link {
    color: #334155;
    font-weight: 600;
    padding: 0.75rem 1rem;
}

.ce-navbar .nav-link.active,
.ce-navbar .nav-link:hover {
    color: var(--ce-primary);
}

.ce-btn-primary,
.ce-btn-outline,
.ce-btn-light {
    border-radius: 0.95rem;
    padding: 0.8rem 1.2rem;
    font-weight: 700;
}

.ce-btn-primary {
    background: linear-gradient(135deg, var(--ce-primary), var(--ce-primary-dark));
    border: 0;
    box-shadow: 0 14px 24px rgba(37, 99, 235, 0.2);
}

.ce-btn-primary:hover,
.ce-btn-primary:focus {
    background: linear-gradient(135deg, var(--ce-primary-dark), #1e40af);
}

.ce-btn-light {
    background: #fff;
    border: 1px solid var(--ce-border);
    color: var(--ce-text);
}

.ce-btn-outline {
    border-color: rgba(37, 99, 235, 0.25);
    color: var(--ce-primary);
}

.ce-icon-btn {
    width: 52px;
    min-width: 52px;
    padding-inline: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ce-section {
    padding: 4rem 0;
}

.ce-section-title {
    font-size: clamp(1.5rem, 2.5vw, 2.05rem);
    font-weight: 800;
    margin-bottom: 0.6rem;
    line-height: 1.15;
}

.ce-section-subtitle {
    color: var(--ce-muted);
    max-width: 680px;
    margin-bottom: 2rem;
}

.ce-hero {
    padding: 2.8rem 0 2rem;
}

.ce-hero-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(219, 234, 254, 0.55));
    border-radius: 2rem;
    padding: clamp(1.5rem, 4vw, 3rem);
    box-shadow: var(--ce-shadow);
    overflow: hidden;
    position: relative;
}

.ce-hero-copy h1 {
    font-size: clamp(2rem, 4.2vw, 3.55rem);
    line-height: 1.02;
    font-weight: 900;
    letter-spacing: -0.04em;
    margin-bottom: 1.25rem;
}

.ce-hero-copy h1 span {
    color: var(--ce-primary);
}

.ce-hero-copy p {
    color: #334155;
    font-size: 1.03rem;
    max-width: 34rem;
    margin-bottom: 1.5rem;
}

.ce-hero-art {
    position: relative;
}

.ce-hero-photo {
    width: 100%;
    aspect-ratio: 4 / 4.5;
    object-fit: cover;
    border-radius: 1.75rem;
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.15);
}

.ce-hero-badge {
    position: absolute;
    right: 1rem;
    top: 1rem;
    background: #fffef4;
    color: #334155;
    border-radius: 1.2rem;
    padding: 0.8rem 1rem;
    max-width: 180px;
    transform: rotate(-8deg);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.1);
    font-weight: 700;
}

.ce-hero-doodle {
    position: absolute;
    left: -0.75rem;
    bottom: 2rem;
    font-size: 3rem;
}

.ce-search-box {
    margin-top: -1.6rem;
    position: relative;
    z-index: 2;
}

.ce-search-panel {
    background: #fff;
    border-radius: 1.5rem;
    box-shadow: var(--ce-shadow);
    padding: 1.5rem;
}

.ce-search-title {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.ce-input,
.ce-search-input {
    min-height: 54px;
    border-radius: 1rem;
    border-color: var(--ce-border);
}

.ce-search-input {
    padding-left: 1rem;
}

.ce-quick-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1rem;
}

.ce-quick-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.65rem 0.9rem;
    border-radius: 999px;
    background: #f8fafc;
    color: #334155;
    border: 1px solid var(--ce-border);
    font-weight: 600;
    font-size: 0.95rem;
}

.ce-category-card {
    background: #fff;
    border: 2px solid color-mix(in srgb, var(--category-color) 70%, white);
    border-radius: 1.5rem;
    padding: 1.35rem;
    height: 100%;
    display: block;
    color: var(--ce-text);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ce-category-card:hover,
.ce-category-card:focus {
    transform: translateY(-4px);
    box-shadow: var(--ce-shadow);
}

.ce-category-icon {
    width: 56px;
    height: 56px;
    border-radius: 1.1rem;
    display: grid;
    place-items: center;
    background: color-mix(in srgb, var(--category-color) 16%, white);
    color: var(--category-color);
    font-size: 1.45rem;
    margin-bottom: 1rem;
}

.ce-category-body h3 {
    font-size: 1.08rem;
    font-weight: 900;
    margin-bottom: 0.35rem;
}

.ce-category-body p {
    color: var(--ce-muted);
    margin-bottom: 0.65rem;
}

.ce-category-body span {
    color: var(--category-color);
    font-weight: 700;
}

.ce-tool-card {
    background: #fff;
    border-radius: 1.5rem;
    padding: 1.35rem;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.05);
    border: 1px solid rgba(226, 232, 240, 0.8);
    display: flex;
    flex-direction: column;
}

.ce-tool-icon {
    width: 54px;
    height: 54px;
    border-radius: 1rem;
    display: grid;
    place-items: center;
    background: color-mix(in srgb, var(--tool-color) 15%, white);
    color: var(--tool-color);
    font-size: 1.35rem;
}

.ce-tool-title {
    font-size: 1.08rem;
    font-weight: 800;
    margin-bottom: 0.65rem;
}

.ce-tool-description,
.ce-tool-stage,
.ce-page-lead,
.ce-muted {
    color: var(--ce-muted);
}

.ce-tool-meta {
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
    margin-bottom: 0.85rem;
}

.ce-pill {
    border-radius: 999px;
    background: color-mix(in srgb, var(--pill-color) 12%, white);
    color: var(--pill-color);
    border: 1px solid color-mix(in srgb, var(--pill-color) 20%, white);
    padding: 0.45rem 0.7rem;
}

.ce-pill-muted {
    background: #f8fafc;
    color: #475569;
    border-color: #e2e8f0;
}

.ce-tool-new {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--ce-primary);
}

.ce-highlight-panel,
.ce-cta-panel,
.ce-info-panel,
.ce-focus-card,
.ce-empty-state,
.ce-tool-shell,
.ce-tool-sidecard,
.ce-form-shell {
    background: #fff;
    border-radius: 1.75rem;
    box-shadow: var(--ce-shadow);
}

.ce-highlight-panel,
.ce-cta-panel,
.ce-info-panel,
.ce-focus-card,
.ce-form-shell {
    padding: 1.75rem;
}

.ce-focus-card {
    background: linear-gradient(135deg, #ffffff, #f8fbff);
    border: 1px solid var(--ce-border);
    border-radius: 1.75rem;
    box-shadow: var(--ce-shadow);
}

.ce-path-card {
    background: #fff;
    border: 1px solid var(--ce-border);
    border-radius: 1.5rem;
    padding: 1.5rem;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.05);
}

.ce-cta-panel {
    background: linear-gradient(135deg, #fff7ed, #ffffff);
    border: 1px solid #fed7aa;
}

.ce-empty-state {
    padding: 2rem;
    text-align: center;
}

.ce-page-hero {
    padding: 3rem 0 1.5rem;
}

.ce-breadcrumb {
    color: var(--ce-muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.ce-tool-shell {
    padding: 2rem;
}

.ce-tool-hero {
    display: grid;
    gap: 1.5rem;
}

.ce-tool-heading {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.ce-tool-heading .ce-tool-icon {
    width: 64px;
    height: 64px;
    font-size: 1.55rem;
}

.ce-tool-sidecard {
    padding: 1.5rem;
    height: 100%;
}

.ce-tool-account-box {
    padding-bottom: 1.25rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--ce-border);
}

.ce-side-title {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.ce-list-clean {
    padding-left: 1.2rem;
    margin-bottom: 0;
}

.ce-projector-box {
    min-height: 180px;
    border-radius: 1.4rem;
    background: linear-gradient(135deg, #eff6ff, #f8fafc);
    display: grid;
    place-items: center;
    padding: 1.25rem;
    text-align: center;
    border: 1px dashed #bfdbfe;
}

.ce-picked-name {
    font-size: clamp(1.65rem, 3.3vw, 2.45rem);
    font-weight: 900;
    line-height: 1.05;
}

.ce-projector-box.is-projector {
    min-height: 300px;
    background: linear-gradient(135deg, #172033, #0f172a);
    color: #fff;
    border: 0;
}

.ce-projector-box.is-projector .ce-picked-name {
    font-size: clamp(2.1rem, 6vw, 4rem);
}

.ce-wheel-board {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 360px;
    border-radius: 1.75rem;
    background: linear-gradient(135deg, #eef2ff, #f8fafc);
    border: 1px solid #c7d2fe;
    overflow: hidden;
}

.ce-wheel-board::before {
    content: "";
    position: absolute;
    inset: 18px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #2563eb, #7c3aed, #06afc7, #10b981, #f5a800, #f05252, #2563eb);
    opacity: 0.95;
}

.ce-wheel-circle {
    position: relative;
    z-index: 1;
    width: min(300px, 82%);
    aspect-ratio: 1;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    display: grid;
    place-items: center;
    text-align: center;
    padding: 2rem;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.15);
}

.ce-wheel-pointer {
    position: absolute;
    top: 16px;
    width: 0;
    height: 0;
    border-left: 16px solid transparent;
    border-right: 16px solid transparent;
    border-top: 28px solid #172033;
    z-index: 2;
}

.ce-wheel-label {
    color: var(--ce-muted);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.ce-wheel-result {
    font-size: clamp(1.6rem, 3.3vw, 2.3rem);
    font-weight: 900;
    line-height: 1.05;
    color: var(--ce-text);
}

.ce-wheel-hint {
    color: var(--ce-muted);
    font-weight: 600;
    margin-top: 0.8rem;
}

.ce-wheel-board.is-spinning::before {
    animation: ce-wheel-spin 1.3s linear infinite;
}

.ce-wheel-board.is-projector {
    background: linear-gradient(135deg, #172033, #0f172a);
    border-color: #1e3a8a;
}

.ce-wheel-board.is-projector .ce-wheel-circle {
    background: rgba(15, 23, 42, 0.84);
}

.ce-wheel-board.is-projector .ce-wheel-label,
.ce-wheel-board.is-projector .ce-wheel-result,
.ce-wheel-board.is-projector .ce-wheel-hint {
    color: #fff;
}

.ce-footer {
    padding: 3rem 0 2rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    background: #fff;
}

.ce-footer-title {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.ce-footer-links li + li {
    margin-top: 0.5rem;
}

.ce-footer-links a {
    color: #475569;
}

.ce-footer-bottom {
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--ce-border);
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: space-between;
    color: var(--ce-muted);
}

.ce-group-card {
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    border: 1px solid var(--ce-border);
    border-radius: 1.35rem;
    padding: 1.2rem;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.ce-group-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.ce-group-card__header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 800;
}

.ce-group-card__header span {
    color: var(--ce-primary);
    font-size: 0.92rem;
    font-weight: 700;
}

.ce-group-list {
    margin: 0;
    padding-left: 1.25rem;
    color: #334155;
}

.ce-group-list li + li {
    margin-top: 0.45rem;
}

.ce-timer-box {
    min-height: 320px;
    background: linear-gradient(135deg, #e0f2fe, #f8fafc);
}

.ce-timer-label {
    font-size: 1rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 0.75rem;
}

.ce-timer-time {
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.05em;
    color: var(--ce-text);
}

.ce-timer-mode {
    margin-top: 0.75rem;
    color: var(--ce-muted);
    font-weight: 700;
}

.ce-timer-box.is-projector {
    min-height: 420px;
}

.ce-timer-box.is-projector .ce-timer-label,
.ce-timer-box.is-projector .ce-timer-time,
.ce-timer-box.is-projector .ce-timer-mode {
    color: #fff;
}

.ce-timer-box.is-finished {
    background: linear-gradient(135deg, #dcfce7, #f0fdf4);
    border-color: #86efac;
}

.ce-timer-box.is-finished .ce-timer-label,
.ce-timer-box.is-finished .ce-timer-time,
.ce-timer-box.is-finished .ce-timer-mode {
    color: #166534;
}

.ce-grade-table {
    display: grid;
    gap: 0.85rem;
}

.ce-grade-table__head,
.ce-grade-row {
    display: grid;
    grid-template-columns: minmax(110px, 1.2fr) minmax(90px, 1fr) minmax(90px, 1fr);
    gap: 0.75rem;
    align-items: center;
}

.ce-grade-table__head {
    color: var(--ce-muted);
    font-size: 0.92rem;
    font-weight: 700;
}

.ce-grade-label {
    font-weight: 700;
    color: #334155;
}

.ce-calc-line {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
}

.ce-calc-line + .ce-calc-line {
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--ce-border);
}

.ce-calc-line span {
    color: var(--ce-muted);
}

.ce-calc-line strong {
    text-align: right;
    color: var(--ce-text);
}

.ce-traffic-stat.is-green {
    border-color: #86efac;
}

.ce-traffic-stat.is-yellow {
    border-color: #fde68a;
}

.ce-traffic-stat.is-red {
    border-color: #fca5a5;
}

.ce-traffic-board,
.ce-planner-board {
    display: grid;
    gap: 1rem;
}

.ce-traffic-card,
.ce-plan-card,
.ce-planner-form-block {
    background: #fff;
    border: 1px solid var(--ce-border);
    border-radius: 1.25rem;
    padding: 1rem;
}

.ce-traffic-card {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}

.ce-traffic-card h3,
.ce-plan-card h3,
.ce-planner-form-block h3 {
    margin: 0 0 0.45rem;
    font-size: 1.1rem;
    font-weight: 800;
}

.ce-traffic-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.ce-traffic-btn {
    border: 1px solid var(--ce-border);
    background: #fff;
    border-radius: 999px;
    padding: 0.65rem 0.8rem;
    font-weight: 700;
    color: #334155;
}

.ce-traffic-btn.is-green.is-active {
    background: #dcfce7;
    border-color: #86efac;
    color: #166534;
}

.ce-traffic-btn.is-yellow.is-active {
    background: #fef3c7;
    border-color: #fcd34d;
    color: #92400e;
}

.ce-traffic-btn.is-red.is-active {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #991b1b;
}

.ce-plan-card {
    background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.ce-plan-card__day {
    color: var(--ce-primary);
    font-size: 0.92rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.ce-plan-card p:last-child {
    margin-bottom: 0;
}

.ce-admin-list {
    display: grid;
    gap: 0.75rem;
    max-height: 680px;
    overflow: auto;
}

.ce-admin-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.ce-nav-groups {
    display: grid;
    gap: 1rem;
}

.ce-nav-group {
    background: #fff;
    border: 1px solid var(--ce-border);
    border-radius: 1.25rem;
    padding: 1rem;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.ce-nav-group__title {
    font-size: 0.92rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--ce-muted);
    margin-bottom: 0.75rem;
}

.ce-admin-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--ce-border);
    color: #334155;
    font-weight: 700;
}

.ce-admin-tab.is-active {
    background: color-mix(in srgb, var(--ce-primary) 12%, white);
    border-color: rgba(37, 99, 235, 0.3);
    color: var(--ce-primary);
}

.ce-admin-list__item {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    padding: 0.95rem 1rem;
    border: 1px solid var(--ce-border);
    border-radius: 1rem;
    text-decoration: none;
    color: inherit;
    background: #fff;
}

.ce-admin-list__item strong,
.ce-admin-list__item small {
    display: block;
}

.ce-admin-list__item small {
    color: var(--ce-muted);
    margin-top: 0.2rem;
}

.ce-admin-list__item.is-active {
    border-color: rgba(37, 99, 235, 0.4);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.08);
}

.ce-admin-meta {
    padding-top: 1rem;
    border-top: 1px solid var(--ce-border);
}

.ce-admin-detail-card {
    height: 100%;
    padding: 1rem;
    border-radius: 1rem;
    border: 1px solid var(--ce-border);
    background: #fff;
}

.ce-admin-detail-card strong {
    display: block;
    margin-bottom: 0.45rem;
    font-size: 0.98rem;
}

.ce-admin-contact {
    font-size: 0.95rem;
}

.ce-mini-list {
    display: grid;
    gap: 0.75rem;
}

.ce-mini-list__item {
    display: block;
    padding: 0.95rem 1rem;
    border-radius: 1rem;
    border: 1px solid var(--ce-border);
    background: #fff;
    color: inherit;
}

.ce-mini-list__item strong,
.ce-mini-list__item small {
    display: block;
}

.ce-mini-list__item small {
    color: var(--ce-muted);
    margin-top: 0.25rem;
}

.ce-favorite-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    padding: 1.35rem;
    border-radius: 1.4rem;
    background: #fff;
    border: 1px solid var(--ce-border);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.ce-favorite-row__content h2 {
    margin: 0 0 0.6rem;
    font-size: 1.2rem;
    font-weight: 800;
}

.ce-favorite-row__action {
    flex-shrink: 0;
}

.ce-check-grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ce-check-pill {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.75rem 0.9rem;
    border: 1px solid var(--ce-border);
    border-radius: 1rem;
    background: #fff;
    min-height: 52px;
}

.ce-check-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.ce-input-sm {
    min-height: 46px;
}

.ce-stats-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ce-stat-card {
    background: #fff;
    border-radius: 1.25rem;
    padding: 1rem;
    border: 1px solid var(--ce-border);
}

.ce-stat-card strong {
    display: block;
    font-size: 1.35rem;
    font-weight: 900;
}

.ce-stats-grid--triple {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ce-filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.ce-filter-pill {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0.65rem 0.95rem;
    border-radius: 999px;
    border: 1px solid var(--ce-border);
    background: #fff;
    color: #334155;
    font-weight: 700;
}

.ce-filter-pill.is-active {
    background: color-mix(in srgb, var(--ce-primary) 12%, white);
    border-color: rgba(37, 99, 235, 0.3);
    color: var(--ce-primary);
}

.ce-idea-card,
.ce-order-card,
.ce-rule-card,
.ce-plan-offer {
    background: #fff;
    border: 1px solid var(--ce-border);
    border-radius: 1.5rem;
    padding: 1.5rem;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.05);
}

.ce-vote-box {
    min-width: 92px;
    padding: 0.85rem 1rem;
    border-radius: 1rem;
    background: #eff6ff;
    text-align: center;
}

.ce-vote-box strong,
.ce-vote-box span {
    display: block;
}

.ce-vote-box strong {
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--ce-primary);
}

.ce-vote-box span {
    color: var(--ce-muted);
    font-size: 0.92rem;
    font-weight: 700;
}

.ce-plan-offer {
    position: relative;
    height: 100%;
}

.ce-plan-offer.is-highlight,
.ce-plan-offer.is-current {
    border-color: rgba(37, 99, 235, 0.35);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.1);
}

.ce-plan-offer__badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #eff6ff;
    color: var(--ce-primary);
    border-radius: 999px;
    padding: 0.4rem 0.7rem;
    font-size: 0.85rem;
    font-weight: 800;
}

.ce-plan-price {
    font-size: 1.75rem;
    font-weight: 900;
    line-height: 1;
}

.ce-plan-price small {
    font-size: 0.92rem;
    color: var(--ce-muted);
    font-weight: 700;
    margin-left: 0.25rem;
}

.ce-rule-card h2 {
    margin-bottom: 0.75rem;
}

.ce-payment-note {
    padding: 1rem;
    border-radius: 1rem;
    border: 1px solid #bfdbfe;
    background: #eff6ff;
}

.ce-report-card {
    background: #fff;
    border: 1px solid var(--ce-border);
    border-radius: 1.5rem;
    padding: 1.5rem;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.05);
}

.ce-progress {
    width: 100%;
    height: 12px;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
}

.ce-progress__bar {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--ce-primary), var(--ce-primary-dark));
}

.ce-roadmap-card,
.ce-alert-card {
    background: #fff;
    border: 1px solid var(--ce-border);
    border-radius: 1.5rem;
    padding: 1.5rem;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.05);
}

.ce-alert-card.is-info {
    border-color: #bfdbfe;
    background: #eff6ff;
}

.ce-alert-card.is-warning {
    border-color: #fde68a;
    background: #fffbeb;
}

.ce-alert-card.is-primary {
    border-color: #c7d2fe;
    background: #eef2ff;
}

.ce-alert-card.is-secondary {
    border-color: #e2e8f0;
    background: #f8fafc;
}

.ce-ai-output {
    display: grid;
    gap: 1rem;
}

.ce-ai-block {
    padding: 1rem;
    border-radius: 1rem;
    border: 1px solid var(--ce-border);
    background: #fff;
}

.ce-ai-block strong {
    display: block;
    margin-bottom: 0.5rem;
}

.ce-ai-pre {
    padding: 1rem;
    border-radius: 1rem;
    background: #0f172a;
    color: #e2e8f0;
    white-space: pre-wrap;
    font-size: 0.95rem;
    line-height: 1.5;
}

@media (max-width: 991.98px) {
    .ce-navbar-actions {
        padding-top: 1rem;
    }
}

@media (max-width: 767.98px) {
    .ce-hero-card,
    .ce-tool-shell,
    .ce-search-panel,
    .ce-highlight-panel,
    .ce-cta-panel,
    .ce-form-shell {
        border-radius: 1.4rem;
    }

    .ce-section {
        padding: 3rem 0;
    }

    .ce-search-box {
        margin-top: -1rem;
    }

    .ce-grade-table__head {
        display: none;
    }

    .ce-grade-row {
        grid-template-columns: 1fr;
    }

    .ce-check-grid {
        grid-template-columns: 1fr;
    }

    .ce-traffic-card {
        flex-direction: column;
        align-items: stretch;
    }

    .ce-favorite-row {
        flex-direction: column;
        align-items: stretch;
    }

    .ce-stats-grid,
    .ce-stats-grid--triple {
        grid-template-columns: 1fr;
    }

    .ce-favorite-row__action {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }
}

@keyframes ce-wheel-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
