/*! EasyToolio Area Calculator styling: SIP-inspired design, emerald palette, sticky left panel, premium cards */

:root, .ck-root {
    --ck-accent: #059669;
    --ck-accent-hover: #047857;
    --ck-accent-light: rgba(16, 185, 129, 0.12);
    --ck-card: #ffffff;
    --ck-card2: #f8fafc;
    --ck-border: #e2e8f0;
    --ck-text: #0f172a;
    --ck-muted: #64748b;
}

.dark, .dark .ck-root {
    --ck-accent: #10b981;
    --ck-accent-hover: #34d399;
    --ck-accent-light: rgba(16, 185, 129, 0.18);
    --ck-card: #18181b;
    --ck-card2: #121215;
    --ck-border: rgba(255, 255, 255, 0.08);
    --ck-text: #f8fafc;
    --ck-muted: #94a3b8;
}

/* ==========================================================================
   Modes Switcher (Segmented Control)
   ========================================================================== */
.ar-modes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    margin: 1.25rem 0 1rem;
    padding: 0.25rem;
    background: #f1f5f9;
    border: 1px solid var(--ck-border);
    border-radius: 1rem;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
    gap: 0.35rem;
    box-sizing: border-box;
}

@media (max-width: 480px) {
    .ar-modes .ar-mode-btn {
        padding: 0.5rem 0.35rem;
        font-size: 0.75rem;
        gap: 0.3rem;
    }

    .ar-shapes .ck-chip {
        font-size: 0.72rem;
        padding: 0.48rem 0.45rem;
        gap: 0.35rem;
    }
}

.dark .ar-modes {
    background: #18181b;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.35);
}

.ar-modes .ar-mode-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    padding: 0.6rem 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--ck-muted);
    background: transparent;
    border: 1px solid transparent;
    border-radius: 0.75rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    cursor: pointer;
    text-align: center;
    user-select: none;
}

.ar-modes .ar-mode-btn:hover {
    color: var(--ck-text);
    background: rgba(255, 255, 255, 0.6);
}

.dark .ar-modes .ar-mode-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}

.ar-modes .ar-mode-btn[aria-pressed="true"] {
    background: #ffffff;
    color: #059669;
    border-color: rgba(16, 185, 129, 0.25);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(16, 185, 129, 0.1);
    font-weight: 700;
}

.dark .ar-modes .ar-mode-btn[aria-pressed="true"] {
    background: #27272a;
    color: #34d399;
    border-color: rgba(16, 185, 129, 0.35);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   2-Column Layout: Sticky Left Section (SIP Tool Architecture)
   ========================================================================== */
@media (min-width: 900px) {
    .ar-left-col {
        position: sticky;
        top: 5.5rem;
        align-self: start;
        max-height: calc(100vh - 6.5rem);
        overflow-y: auto;
        scrollbar-width: thin;
        scrollbar-color: rgba(16, 185, 129, 0.3) transparent;
        padding-right: 0.35rem;
    }

    .ar-left-col::-webkit-scrollbar {
        width: 5px;
    }

    .ar-left-col::-webkit-scrollbar-track {
        background: transparent;
    }

    .ar-left-col::-webkit-scrollbar-thumb {
        background: rgba(16, 185, 129, 0.25);
        border-radius: 9999px;
    }

    .ar-left-col::-webkit-scrollbar-thumb:hover {
        background: rgba(16, 185, 129, 0.45);
    }
}

.ar-right-col {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    min-width: 0;
}

/* ==========================================================================
   Shape Selection Grid
   ========================================================================== */
.ar-shapes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
    margin: 0.5rem 0 1.25rem;
}

.ar-shapes .ck-chip {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    width: 100%;
    padding: 0.52rem 0.65rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 0.65rem;
    border: 1px solid var(--ck-border);
    background: var(--ck-card2);
    color: var(--ck-text);
    transition: all 0.15s ease;
    cursor: pointer;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    user-select: none;
}

.ar-shapes .ck-chip:last-child {
    grid-column: 1 / -1;
    justify-content: center;
    text-align: center;
}

.ar-shapes .ck-chip i {
    flex-shrink: 0;
    font-size: 0.78125rem;
    width: 1rem;
    text-align: center;
    color: #10b981;
}

.ar-shapes .ck-chip:hover {
    border-color: rgba(16, 185, 129, 0.4);
    background: rgba(16, 185, 129, 0.08);
    color: #059669;
}

.dark .ar-shapes .ck-chip:hover {
    color: #34d399;
    background: rgba(16, 185, 129, 0.15);
}

.ar-shapes .ck-chip[aria-pressed="true"] {
    background: #059669;
    color: #ffffff;
    border-color: #059669;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.35);
}

.ar-shapes .ck-chip[aria-pressed="true"] i {
    color: #ffffff;
}

.dark .ar-shapes .ck-chip[aria-pressed="true"] {
    background: #10b981;
    color: #09090b;
    border-color: #10b981;
}

.dark .ar-shapes .ck-chip[aria-pressed="true"] i {
    color: #09090b;
}

.dark .ar-shapes .ck-chip[aria-pressed="true"] {
    background: #10b981;
    color: #09090b;
    border-color: #10b981;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.45);
}

#ar-shape-name {
    margin: 0.75rem 0 0.5rem;
    font-size: 0.8125rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--ck-accent);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

#ar-shape-name::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

/* ==========================================================================
   Primary Result Hero Card (SIP "fin-result-card" Reference)
   ========================================================================== */
.ar-result-hero {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(99, 102, 241, 0.04) 100%), var(--ck-card);
    border: 1px solid rgba(16, 185, 129, 0.22);
    border-radius: 1.25rem;
    padding: 1.35rem 1.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 18px -2px rgba(16, 185, 129, 0.06);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.dark .ar-result-hero {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(99, 102, 241, 0.06) 100%), #121215;
    border: 1px solid rgba(16, 185, 129, 0.28);
    box-shadow: 0 4px 25px -2px rgba(0, 0, 0, 0.45);
}

.ar-hero-eyebrow {
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #059669;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.5rem;
}

.dark .ar-hero-eyebrow {
    color: #34d399;
}

.ar-hero-value-wrap {
    margin-bottom: 0.25rem;
}

.ar-hero-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--ck-muted);
    margin-bottom: 0.15rem;
}

.ar-hero-value {
    font-size: 2.25rem;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--ck-text);
    font-variant-numeric: tabular-nums;
    display: flex;
    align-items: baseline;
    gap: 0.45rem;
    flex-wrap: wrap;
}

@media (min-width: 640px) {
    .ar-hero-value {
        font-size: 2.75rem;
    }
}

.ar-hero-unit {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ck-accent);
    letter-spacing: normal;
}

/* ==========================================================================
   Stat Chips Grid (SIP "sip-stat-chip" Style)
   ========================================================================== */
.ar-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.dark .ar-stat-grid {
    border-top-color: rgba(255, 255, 255, 0.08);
}

@media (max-width: 480px) {
    .ar-stat-grid {
        grid-template-columns: 1fr;
    }
}

.ar-stat-chip {
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(228, 228, 231, 0.85);
    border-radius: 0.875rem;
    padding: 0.65rem 0.85rem;
    min-width: 0;
    transition: border-color 0.2s ease, transform 0.15s ease;
}

.dark .ar-stat-chip {
    background: rgba(24, 24, 27, 0.65);
    border-color: rgba(255, 255, 255, 0.07);
}

.ar-stat-chip:hover {
    border-color: rgba(16, 185, 129, 0.4);
}

.ar-stat-chip span {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ck-muted);
    margin-bottom: 0.2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ar-stat-chip b {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ck-text);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ar-chip-waste b {
    color: var(--ck-accent);
}

.ar-chip-cost {
    background: rgba(16, 185, 129, 0.06);
    border-color: rgba(16, 185, 129, 0.25);
}

.ar-chip-cost b {
    color: #059669;
}

.dark .ar-chip-cost b {
    color: #34d399;
}

/* ==========================================================================
   Formula & Calculation Callout Box
   ========================================================================== */
.ar-formula-box {
    margin-top: 1rem;
    padding: 0.95rem 1.1rem;
    border-radius: 0.875rem;
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.16);
}

.dark .ar-formula-box {
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.22);
}

.ar-formula-head {
    font-size: 0.8125rem;
    color: var(--ck-text);
    line-height: 1.45;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.6rem;
}

.ar-formula-head b {
    color: #059669;
    font-weight: 700;
}

.dark .ar-formula-head b {
    color: #34d399;
}

.ar-formula-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
}

.ar-formula-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.65rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #065f46;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.22);
    border-radius: 0.5rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.dark .ar-formula-chip {
    color: #6ee7b7;
    background: rgba(16, 185, 129, 0.18);
    border-color: rgba(16, 185, 129, 0.3);
}

.ar-method-desc {
    margin: 0 0 0.65rem 0;
    font-size: 0.78125rem;
    line-height: 1.55;
    color: var(--ck-muted);
}

.ar-steps-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.ar-step-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.35rem 0.55rem;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(16, 185, 129, 0.12);
}

.dark .ar-step-row {
    background: rgba(24, 24, 27, 0.65);
    border-color: rgba(255, 255, 255, 0.06);
}

.ar-step-badge {
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 9999px;
    background: #059669;
    color: #ffffff;
    font-size: 0.6875rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dark .ar-step-badge {
    background: #10b981;
    color: #09090b;
}

.ar-step-code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.78125rem;
    font-weight: 600;
    color: var(--ck-text);
}

/* Backward compatibility for legacy ar-steps if referenced */
.ar-steps {
    margin: 0.6rem 0 0 0;
    padding-left: 0;
    list-style: none;
    font-size: 0.78125rem;
    line-height: 1.55;
    color: var(--ck-muted);
}

/* ==========================================================================
   Separate Section Glass Cards (.ar-card)
   ========================================================================== */
.ar-card {
    background: var(--ck-card);
    border: 1px solid var(--ck-border);
    border-radius: 1.25rem;
    padding: 1.25rem 1.4rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.dark .ar-card {
    background: rgba(24, 24, 27, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 15px -2px rgba(0, 0, 0, 0.35);
}

.ar-card:hover {
    border-color: rgba(16, 185, 129, 0.25);
}

.ar-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 0.75rem;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid var(--ck-border);
}

.ar-card-title {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ck-text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ==========================================================================
   Table Container (SIP "fin-table-container" Reference)
   ========================================================================== */
.ar-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 0.875rem;
    border: 1px solid var(--ck-border);
    background: var(--ck-card);
}

.dark .ar-table-wrap {
    background: rgba(18, 18, 21, 0.5);
    border-color: rgba(255, 255, 255, 0.07);
}

.ar-table-wrap table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
}

.ar-table-wrap th {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: rgba(0, 0, 0, 0.02);
    color: var(--ck-muted);
    padding: 0.65rem 0.85rem;
    border-bottom: 1px solid var(--ck-border);
}

.dark .ar-table-wrap th {
    background: rgba(255, 255, 255, 0.03);
}

.ar-table-wrap td {
    padding: 0.6rem 0.85rem;
    border-bottom: 1px solid var(--ck-border);
    font-variant-numeric: tabular-nums;
    font-size: 0.8125rem;
}

.ar-table-wrap tr:last-child td {
    border-bottom: none;
}

.ar-table-wrap tr:hover td {
    background: rgba(16, 185, 129, 0.04);
}

.ar-table-wrap tr.ar-sel td {
    background: rgba(16, 185, 129, 0.08);
    font-weight: 700;
    color: #059669;
}

.dark .ar-table-wrap tr.ar-sel td {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
}

/* Room table totals highlight row */
#ar-rooms-table tr:last-child {
    background: rgba(16, 185, 129, 0.08);
    font-weight: 800;
}

.dark #ar-rooms-table tr:last-child {
    background: rgba(16, 185, 129, 0.15);
}

#ar-rooms-table tr:last-child td {
    color: #059669;
}

.dark #ar-rooms-table tr:last-child td {
    color: #34d399;
}

/* ==========================================================================
   Verdict Callout Box
   ========================================================================== */
.ar-verdict {
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 0.875rem;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #065f46;
    font-size: 0.8125rem;
    line-height: 1.55;
    font-weight: 500;
}

.dark .ar-verdict {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.25);
    color: #6ee7b7;
}

/* ==========================================================================
   Multi-section Room Card Layout
   ========================================================================== */
.ar-rows {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1rem 0;
}

.ar-row {
    background: var(--ck-card2);
    border: 1px solid var(--ck-border);
    border-radius: 1rem;
    padding: 1rem;
    transition: all 0.2s ease;
}

.ar-row:hover {
    border-color: rgba(16, 185, 129, 0.35);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.dark .ar-row:hover {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.ar-row-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--ck-border);
}

.ar-row-idx {
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #059669;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.dark .ar-row-idx {
    color: #34d399;
}

.ar-del {
    appearance: none;
    background: transparent;
    border: 1px solid rgba(244, 63, 94, 0.25);
    color: #f43f5e;
    border-radius: 0.5rem;
    padding: 0.25rem 0.6rem;
    font-size: 0.6875rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: all 0.15s ease;
}

.ar-del:hover {
    background: #f43f5e;
    color: #ffffff;
    border-color: #f43f5e;
}

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

@media (min-width: 640px) {
    .ar-row-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.ar-c {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--ck-text);
}

.ar-c.ar-name {
    grid-column: 1 / -1;
}

.ar-c.ar-off {
    display: none;
}

#ar-add {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1rem;
    border-radius: 0.75rem;
    border: 1.5px dashed rgba(16, 185, 129, 0.4);
    background: rgba(16, 185, 129, 0.05);
    color: #059669;
    font-size: 0.8125rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 0.5rem;
}

.dark #ar-add {
    color: #34d399;
    border-color: rgba(16, 185, 129, 0.35);
    background: rgba(16, 185, 129, 0.08);
}

#ar-add:hover {
    background: #059669;
    color: #ffffff;
    border-color: #059669;
}

.dark #ar-add:hover {
    background: #10b981;
    color: #09090b;
    border-color: #10b981;
}

/* Pricing Header */
.ar-pricing-head {
    margin: 1.5rem 0 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--ck-border);
}

.ar-pricing-title {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--ck-text);
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

/* ==========================================================================
   Action Toolbar Panel (SIP Action Toolbar Style)
   ========================================================================== */
.ar-actions-slot {
    margin-top: 0.5rem;
    width: 100%;
}

.ar-actions-panel {
    margin-top: 0.25rem;
    padding: 0;
    width: 100%;
}

.ar-actions-slot .ck-actionbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: 0;
    padding-top: 0;
    border-top: none;
    width: 100%;
}

.ar-actions-slot .ck-dd {
    position: relative;
    display: inline-block;
    flex: 1 1 auto;
    min-width: 160px;
}

.ar-actions-slot #export-menu-btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.58rem 1.1rem;
    font-size: 0.8125rem;
    border-radius: 0.75rem;
    background: #059669 !important;
    border-color: #059669 !important;
    color: #ffffff !important;
    font-weight: 700;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(16, 185, 129, 0.2);
    transition: all 0.15s ease;
    cursor: pointer;
}

.ar-actions-slot #export-menu-btn:hover {
    background: #047857 !important;
    border-color: #047857 !important;
    transform: translateY(-1px);
}

.dark .ar-actions-slot #export-menu-btn {
    background: #10b981 !important;
    border-color: #10b981 !important;
    color: #09090b !important;
}

.dark .ar-actions-slot #export-menu-btn:hover {
    background: #34d399 !important;
    border-color: #34d399 !important;
}

.ar-actions-slot .ck-act-group {
    display: flex;
    flex: 2 1 auto;
    gap: 0.45rem;
    justify-content: flex-end;
}

.ar-actions-slot .ck-act-group .ck-act {
    flex: 1 1 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.58rem 0.85rem;
    font-size: 0.78125rem;
    font-weight: 600;
    border-radius: 0.75rem;
    border: 1px solid var(--ck-border);
    background: var(--ck-card2);
    color: var(--ck-text);
    transition: all 0.15s ease;
    white-space: nowrap;
    cursor: pointer;
}

.ar-actions-slot .ck-act-group .ck-act:hover {
    border-color: rgba(16, 185, 129, 0.4);
    background: rgba(16, 185, 129, 0.08);
    color: #059669;
}

.dark .ar-actions-slot .ck-act-group .ck-act:hover {
    color: #34d399;
    background: rgba(16, 185, 129, 0.15);
}

@media (max-width: 520px) {
    .ar-actions-slot .ck-actionbar {
        flex-direction: column;
        gap: 0.45rem;
    }

    .ar-actions-slot .ck-dd {
        width: 100%;
        min-width: 100%;
    }

    .ar-actions-slot .ck-act-group {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.45rem;
    }
}

/* Inline feedback for Copy button */
.ck-act.is-copied {
    border-color: #059669 !important;
    color: #059669 !important;
    background: rgba(16, 185, 129, 0.12) !important;
    font-weight: 700;
}

.dark .ck-act.is-copied {
    border-color: #10b981 !important;
    color: #34d399 !important;
    background: rgba(16, 185, 129, 0.2) !important;
}

/* Room share progress bar styling matching emerald theme */
.ck-bar i u {
    background: linear-gradient(90deg, #10b981, #059669) !important;
    border-radius: 9999px;
}

/* Hide Fullscreen button if injected */
.ck-fs-btn {
    display: none !important;
}
