:root {
    --op-primary: #0F61AB;
    --op-primary-dark: #0c4f8c;
    --op-secondary: #2196F3;
    --op-accent: #16A34A;
    --op-bg: #F7F9FC;
    --op-text: #263238;
    --op-muted: #607078;
    --op-line: #e6ebf2;
    --op-card: #ffffff;
    --bs-primary: #0F61AB;
    --bs-primary-rgb: 15, 97, 171;
    --bs-success: #16A34A;
    --bs-body-color: #263238;
    --bs-body-bg: #F7F9FC;
    --bs-link-color: #0F61AB;
    --bs-link-hover-color: #0c4f8c;
    --bs-font-sans-serif: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    color: var(--op-text);
    background: var(--op-bg);
}

.btn-primary {
    --bs-btn-bg: #0F61AB;
    --bs-btn-border-color: #0F61AB;
    --bs-btn-hover-bg: #0c4f8c;
    --bs-btn-hover-border-color: #0c4f8c;
    --bs-btn-active-bg: #0a457a;
    --bs-btn-active-border-color: #0a457a;
    --bs-btn-disabled-bg: #0F61AB;
    --bs-btn-disabled-border-color: #0F61AB;
}

.btn-outline-primary {
    --bs-btn-color: #0F61AB;
    --bs-btn-border-color: #0F61AB;
    --bs-btn-hover-bg: #0F61AB;
    --bs-btn-hover-border-color: #0F61AB;
    --bs-btn-active-bg: #0F61AB;
    --bs-btn-active-border-color: #0F61AB;
}

.op-logo {
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--op-text);
    text-decoration: none;
}

.op-logo span {
    color: var(--op-primary);
}

.op-shell {
    display: flex;
    min-height: 100vh;
    background: #e7eef6;
    color: #0f1b2d;
    font-family: "Plus Jakarta Sans", system-ui, sans-serif;
}

.op-sidebar {
    --bs-offcanvas-width: 264px;
    --bs-offcanvas-bg: #ffffff;
    background: #ffffff;
    border-right: 1px solid #d5deea;
    width: 264px;
    display: flex;
    flex-direction: column;
    padding: 24px 16px;
}

.op-brand {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 0 10px 28px;
}

.op-brand-logo {
    display: block;
    max-width: 210px;
    color: #0f1b2d;
    text-decoration: none;
    line-height: 0;
}

.op-brand-logo img {
    display: block;
    width: 100%;
    height: auto;
}

.op-brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    flex: none;
    background: linear-gradient(135deg, #1463d6, #0a3d8f);
    color: #fff;
    font-size: 1rem;
}

.op-brand-logo:hover {
    color: #0f1b2d;
}

.op-brand-copy small {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0;
    color: #64748b;
}

.op-sidebar .offcanvas-body {
    display: flex;
    flex-direction: column;
    padding: 0;
    flex: 1;
}

.op-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.op-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 11px 14px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: #64748b;
    font-size: 14.5px;
    font-weight: 600;
    text-align: left;
    text-decoration: none;
}

.op-nav-link i {
    font-size: 1.05rem;
    width: 1.25rem;
}

.op-nav-link:hover {
    background: #f3f6fb;
    color: #0f1b2d;
}

.op-nav-link.active {
    background: #eaf2ff;
    color: #1463d6;
}

.op-nav-foot {
    margin-top: auto;
}

.op-main {
    flex: 1;
    min-width: 0;
    background: #e7eef6;
}

.op-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px clamp(20px, 2.5vw, 48px) 0;
    background: transparent;
}

.op-search {
    display: flex;
    align-items: center;
    gap: 10px;
    width: min(380px, 100%);
    min-width: 0;
    flex: 1;
    background: #fff;
    border: 1px solid #e6ebf3;
    border-radius: 14px;
    padding: 0 14px;
    color: #64748b;
    box-shadow: 0 1px 2px rgba(15, 27, 45, 0.04), 0 8px 24px -12px rgba(15, 27, 45, 0.12);
}

.op-search input {
    border: 0;
    background: transparent;
    color: #0f1b2d;
    font: inherit;
    width: 100%;
    padding: 11px 0;
    outline: none;
}

.op-search:focus-within {
    border-color: #1463d6;
}

.op-menu,
.op-icon-btn,
.op-icon-act {
    border: 0;
    background: #fff;
    color: #64748b;
    display: grid;
    place-items: center;
}

.op-menu {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    border: 1px solid #e6ebf3;
    font-size: 1.35rem;
    flex: none;
}

.op-userbar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.op-icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    border: 1px solid #e6ebf3;
    font-size: 1.05rem;
    box-shadow: 0 1px 2px rgba(15, 27, 45, 0.04), 0 8px 24px -12px rgba(15, 27, 45, 0.12);
}

.op-icon-btn:hover,
.op-user-chip:hover,
.op-icon-act:hover {
    border-color: #1463d6;
    color: #1463d6;
    background: #eaf2ff;
}

.op-user-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #e6ebf3;
    border-radius: 14px;
    background: #fff;
    padding: 4px 14px 4px 4px;
    font-weight: 600;
    font-size: 14px;
    color: #0f1b2d;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(15, 27, 45, 0.04), 0 8px 24px -12px rgba(15, 27, 45, 0.12);
}

.op-avatar {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #6d4aff, #1463d6);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.op-content {
    padding: 28px clamp(20px, 2.5vw, 48px) 56px;
}

.op-card {
    background: #fff;
    border: 1px solid #e6ebf3;
    border-radius: 18px;
    box-shadow: 0 1px 2px rgba(15, 27, 45, 0.04), 0 8px 24px -12px rgba(15, 27, 45, 0.12);
}

.op-stat {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 20px;
}

.op-stat-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: #eaf2ff;
    color: #1463d6;
    font-size: 1.15rem;
    flex: 0 0 auto;
}

.op-stat-icon.tone-green {
    background: #e3f8ef;
    color: #0e9f6e;
}

.op-stat-icon.tone-purple {
    background: #efeaff;
    color: #6d4aff;
}

.op-stat-icon.tone-amber,
.op-stat-icon.tone-mint {
    background: #fff3dc;
    color: #d97706;
}

.op-stat strong {
    display: block;
    font-size: 26px;
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.op-stat span {
    color: #64748b;
    font-size: 13.5px;
}

.op-page-title {
    font-size: 1.55rem;
    font-weight: 700;
    margin: 0;
}

.op-muted {
    color: var(--op-muted);
}

.op-footer {
    color: var(--op-muted);
    font-size: 0.85rem;
    padding: 1rem 0 0.25rem;
}

.op-auth {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(280px, 420px) 1fr;
}

.op-auth-aside {
    background: var(--op-primary);
    color: #fff;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.op-auth-aside .op-logo,
.op-auth-aside .op-logo span {
    color: #fff;
}

.op-auth-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.25rem;
}

.op-auth-card {
    width: min(440px, 100%);
    background: #fff;
    border: 1px solid var(--op-line);
    border-radius: 16px;
    padding: 1.75rem;
}

.op-public {
    min-height: 100vh;
    background: #fff;
}

.op-vote {
    width: min(32rem, 100%);
    margin: 0 auto;
    padding: 1.5rem 1.1rem 2.5rem;
}

body.op-vote-page {
    margin: 0;
    background: #e7eef6;
    color: #0f1b2d;
    font-family: "Plus Jakarta Sans", system-ui, sans-serif;
}

.op-vote-shell {
    width: min(430px, 100%);
    min-height: 100vh;
    margin: 0 auto;
    background: #f5f8fc;
}

.op-vote-banner {
    position: relative;
    padding: 22px 22px 78px;
    background: linear-gradient(180deg, #0c4fbe 0%, #1d6fe6 62%, #3b8df5 100%);
    overflow: hidden;
}

.op-vote-brand {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    background: #fff;
    border-radius: 12px;
    padding: 4px 8px;
    line-height: 0;
    text-decoration: none;
}

.op-vote-brand img {
    display: block;
    height: 36px;
    width: auto;
}

.op-logo-lockup {
    display: inline-flex;
    line-height: 0;
    text-decoration: none;
}

.op-logo-lockup img {
    display: block;
    height: 52px;
    width: auto;
    max-width: 100%;
}

.op-logo-lockup.on-dark {
    background: #fff;
    border-radius: 14px;
    padding: 8px 10px;
}

.op-vote-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.18);
    font-size: 1rem;
}

.op-vote-wave {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 72px;
}

.op-vote-card {
    position: relative;
    z-index: 1;
    margin: -58px 16px 28px;
    background: #fff;
    border-radius: 28px;
    padding: 26px 20px 16px;
    box-shadow: 0 18px 40px rgba(16, 42, 84, 0.12);
}

.op-vote-kicker {
    display: inline-block;
    margin: 0 0 14px;
    padding: 6px 12px;
    border-radius: 8px;
    background: #e7f1ff;
    color: #1463d6;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.op-vote-question {
    margin: 0 0 18px;
    color: #101828;
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.18;
}

.op-vote-desc {
    margin: -8px 0 18px;
    color: #64748b;
}

.op-vote-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.vote-option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0;
    border: 1.5px solid #e6edf5;
    border-radius: 16px;
    padding: 16px 16px;
    background: #fff;
    color: #172033;
    font-size: 1.02rem;
    font-weight: 600;
    cursor: pointer;
}

.vote-option input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.vote-radio {
    width: 22px;
    height: 22px;
    border: 2px solid #c5d0dc;
    border-radius: 50%;
    flex: none;
    display: grid;
    place-items: center;
}

.vote-radio::after {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: transparent;
}

.vote-option:has(input:checked) {
    border-color: #2f6fe4;
    background: #eaf3ff;
}

.vote-option:has(input:checked) .vote-radio {
    border-color: #1463d6;
}

.vote-option:has(input:checked) .vote-radio::after {
    background: #1463d6;
}

.vote-option:focus-within {
    outline: 2px solid #1463d6;
    outline-offset: 2px;
}

.vote-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 18px;
    border: 0;
    border-radius: 14px;
    padding: 16px 18px;
    background: linear-gradient(180deg, #3b86f6 0%, #1463d6 100%);
    color: #fff;
    font: 700 1.05rem/1 "Plus Jakarta Sans", sans-serif;
    box-shadow: 0 12px 22px rgba(20, 99, 214, 0.28);
}

.vote-submit:disabled {
    opacity: 0.75;
}

.op-vote-live {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 12px;
    border-radius: 16px;
    background: #f4f8fd;
}

.op-vote-live-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    flex: none;
    background: #e7f1ff;
    color: #1463d6;
    font-size: 1rem;
}

.op-vote-live strong {
    display: block;
    font-size: 0.92rem;
    line-height: 1.2;
}

.op-vote-live div span {
    display: block;
    color: #7b8798;
    font-size: 12px;
    line-height: 1.2;
    white-space: nowrap;
}

.op-vote-open {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 9px;
    border-radius: 999px;
    background: #e5f8ee;
    color: #12824a;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    flex: none;
}

.op-vote-open i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #16a34a;
}

.op-results {
    min-height: 100vh;
    background: #f3f6fb;
    color: #101828;
    font-family: "Plus Jakarta Sans", system-ui, sans-serif;
}

.op-results-wrap {
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
    padding: 28px 0 36px;
}

.op-results-top,
.op-results-head,
.op-results-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.op-results-brandline,
.op-results-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.op-results-logo {
    color: #101828;
    text-decoration: none;
    line-height: 0;
}

.op-results-logo img {
    display: block;
    height: 44px;
    width: auto;
}

.op-results-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: #1463d6;
    color: #fff;
    font-size: 0.95rem;
}

.op-results-divider,
.op-results-total-rule,
.op-result-sep {
    width: 1px;
    background: #d7e0ea;
    flex: none;
}

.op-results-divider {
    height: 22px;
}

.op-results-live {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.op-results-live i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}

.op-results-live.is-open {
    background: #e5f8ee;
    color: #12824a;
}

.op-results-live.is-closed {
    background: #eef2f6;
    color: #64748b;
}

.op-results-full {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #e1e8f0;
    background: #fff;
    color: #1c2838;
    border-radius: 12px;
    padding: 10px 14px;
    font: 600 14px/1 "Plus Jakarta Sans", sans-serif;
}

.op-results-full:hover {
    border-color: #1463d6;
    color: #1463d6;
}

.op-results-head {
    align-items: center;
    margin: 28px 0 22px;
}

.op-results-head > div:first-child {
    min-width: 0;
    flex: 1;
}

.op-results-kicker {
    display: inline-block;
    margin: 0 0 10px;
    padding: 6px 12px;
    border-radius: 8px;
    background: #e7f1ff;
    color: #1463d6;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.op-results h1 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 2.7rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.12;
}

.op-results-desc {
    margin: 10px 0 0;
    color: #64748b;
}

.op-results-total {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 210px;
    padding: 14px 18px;
    border-radius: 18px;
    background: #eaf2ff;
}

.op-results-total-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: #fff;
    color: #1463d6;
    font-size: 1.15rem;
}

.op-results-total-rule {
    height: 42px;
}

.op-results-total b {
    display: block;
    font-size: 32px;
    line-height: 1;
    letter-spacing: -0.04em;
}

.op-results-total span {
    color: #5c7194;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.op-results-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.op-result-card {
    background: #fff;
    border: 1px solid #e7eef6;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(16, 42, 84, 0.05);
    padding: 18px 20px 16px;
}

.op-result-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.op-result-name {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    font-size: 1.12rem;
    font-weight: 700;
}

.op-result-num {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    flex: none;
    background: #f2f5f9;
    color: #8b98a8;
    font-size: 13px;
    font-weight: 700;
}

.op-result-card.is-leading .op-result-num {
    background: #1463d6;
    color: #fff;
}

.op-result-lead {
    display: inline-flex;
    align-items: center;
    padding: 3px 9px;
    border-radius: 999px;
    background: #e8f1ff;
    color: #3d6fbe;
    font-size: 12px;
    font-weight: 600;
}

.op-result-score {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex: none;
}

.op-result-score .pct {
    font-size: 1.7rem;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #101828;
}

.op-result-score .vote-label {
    margin-top: 4px;
    color: #8b98a8;
    font-size: 12.5px;
    font-weight: 500;
}

.op-result-track {
    height: 8px;
    margin-top: 14px;
    border-radius: 999px;
    background: #eef2f6;
    overflow: hidden;
}

.op-result-card.is-leading .op-result-track {
    height: 10px;
}

.op-result-bar {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: #1463d6;
}

.op-results-foot {
    margin-top: 22px;
    color: #7b8798;
    font-size: 14px;
}

.op-results-foot p {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.op-results-logo-sm img {
    height: 32px;
}

@media (max-width: 760px) {
    .op-results-wrap {
        width: min(100% - 28px, 1120px);
    }

    .op-results-head,
    .op-results-top {
        align-items: flex-start;
        flex-direction: column;
    }

    .op-results h1 {
        max-width: none;
    }
}

.qr-preview {
    width: 180px;
    height: 180px;
    border: 1px solid var(--op-line);
    border-radius: 12px;
    background: #fff;
    padding: 0.4rem;
}

.op-hello {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}

.op-hello h1,
.op-welcome-title {
    margin: 0 0 6px;
    font-size: 30px;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: #0f1b2d;
}

.op-hello p {
    margin: 0;
    color: #64748b;
}

.op-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #e6ebf3;
    background: #fff;
    color: #0f1b2d;
    font: 600 14px/1 "Plus Jakarta Sans", sans-serif;
    padding: 12px 18px;
    border-radius: 12px;
    text-decoration: none;
}

.op-btn-primary {
    background: #1463d6;
    border-color: #1463d6;
    color: #fff;
    box-shadow: 0 8px 18px -8px rgba(20, 99, 214, 0.7);
}

.op-btn-primary:hover,
.op-btn-primary:focus {
    background: #0f56bd;
    border-color: #0f56bd;
    color: #fff;
}

.op-live {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 22px;
    padding: 28px 32px;
    border-radius: 22px;
    color: #fff;
    background: linear-gradient(120deg, #0a3d8f, #1463d6);
}

.op-live::after {
    content: "";
    position: absolute;
    right: -70px;
    top: -90px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 48px solid rgba(255, 255, 255, 0.07);
    pointer-events: none;
}

.op-live-copy,
.op-live-stats {
    position: relative;
    z-index: 1;
}

.op-live-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.16);
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
}

.op-live-pill i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
}

@media (prefers-reduced-motion: no-preference) {
    .op-live-pill i {
        animation: op-live-pulse 2s infinite;
    }
}

@keyframes op-live-pulse {
    70% {
        box-shadow: 0 0 0 8px rgba(74, 222, 128, 0);
    }
}

.op-live h2 {
    margin: 14px 0 4px;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.015em;
}

.op-live p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
}

.op-live-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.op-live .op-btn {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.28);
    color: #fff;
}

.op-live .op-btn-light {
    background: #fff;
    border-color: #fff;
    color: #0a3d8f;
}

.op-live .op-btn:hover {
    color: #0a3d8f;
    background: #fff;
}

.op-live-stats {
    display: flex;
    gap: 36px;
}

.op-live-stats b {
    display: block;
    font-size: 42px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.op-live-stats span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
}

.op-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 22px;
}

.op-recent {
    margin-bottom: 22px;
}

.op-create-btn {
    background: var(--op-primary);
    border-color: var(--op-primary);
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    padding: 0.5rem 0.9rem;
}

.op-create-btn:hover,
.op-create-btn:focus {
    background: var(--op-primary-dark);
    border-color: var(--op-primary-dark);
    color: #fff;
}

.op-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 20px 24px 14px;
    border-bottom: 0;
}

.op-section-head h2 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.op-section-head a {
    color: #1463d6;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    white-space: nowrap;
}

.op-dash-table {
    min-width: 760px;
    --bs-table-bg: transparent;
    --bs-table-border-color: transparent;
    --bs-table-hover-bg: transparent;
}

.op-dash-table thead th {
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    white-space: nowrap;
    background: transparent;
    border-bottom: 0;
    padding: 8px 12px;
}

.op-dash-table td {
    padding: 14px 12px;
    border-bottom: 0;
    vertical-align: middle;
}

.op-dash-table tbody tr:hover td {
    background: #f3f6fb;
}

.op-dash-table tbody td:first-child {
    border-radius: 14px 0 0 14px;
}

.op-dash-table tbody td:last-child {
    border-radius: 0 14px 14px 0;
}

.op-num {
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}

.op-date {
    color: #64748b;
    max-width: 5.5rem;
}

.op-title-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #0f1b2d;
    font-weight: 600;
    text-decoration: none;
}

.op-title-link:hover {
    color: #1463d6;
}

.op-row-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: #eaf2ff;
    color: #1463d6;
    flex: 0 0 auto;
}

.op-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    padding: 4px 11px;
    font-size: 12.5px;
    font-weight: 600;
    background: #f3f6fb;
    color: #64748b;
}

.op-pill::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.op-pill.active {
    background: #e3f8ef;
    color: #0e9f6e;
}

.op-row-actions {
    display: flex;
    justify-content: flex-end;
    gap: 4px;
}

.op-steps {
    border: 1px solid #e6ebf3;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 27, 45, 0.04), 0 8px 24px -12px rgba(15, 27, 45, 0.12);
    padding: 22px 24px;
}

.op-steps ol {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.op-steps li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.op-steps li > span {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: #0f1b2d;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    flex: none;
}

.op-steps strong {
    display: block;
    font-size: 14.5px;
}

.op-steps p {
    margin: 0;
    color: #64748b;
    font-size: 13.5px;
}

@media (max-width: 767.98px) {
    .op-stats {
        grid-template-columns: 1fr 1fr;
    }

    .op-steps ol {
        grid-template-columns: 1fr;
    }

    .op-user-name {
        display: none;
    }
}

@media (max-width: 520px) {
    .op-stats {
        grid-template-columns: 1fr;
    }

    .op-live-stats b {
        font-size: 34px;
    }
}

@media (min-width: 992px) {
    .op-sidebar {
        position: sticky;
        top: 0;
        height: 100vh;
        flex: 0 0 264px;
        background: #ffffff !important;
        border-right: 1px solid #d5deea !important;
    }

    .op-sidebar .offcanvas-body {
        flex: 1;
    }
}

@media (max-width: 991.98px) {
    .op-auth {
        grid-template-columns: 1fr;
    }

    .op-auth-aside {
        display: none;
    }

    .op-content,
    .op-topbar {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .op-stats {
        grid-template-columns: 1fr 1fr;
    }

    .op-steps ol {
        grid-template-columns: 1fr;
    }

    .op-live {
        padding: 24px 20px;
    }
}

.op-back {
    display: inline-flex;
    margin-bottom: 10px;
    color: #1463d6;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
}

.op-show-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.op-show-head h1 {
    margin: 0;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.op-show-head p,
.op-show-desc {
    margin: 4px 0 0;
    color: #64748b;
}

.op-show-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.op-show-actions .op-btn,
.op-btn-sm {
    padding: 10px 14px;
    border-radius: 12px;
}

.op-show-more {
    width: 40px;
    height: 40px;
    border: 1px solid #e6ebf3;
    border-radius: 12px;
    background: #fff;
    color: #334155;
}

.op-show-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 18px 0;
}

.op-show-stat {
    background: #fff;
    border: 1px solid #e6edf5;
    border-radius: 16px;
    padding: 16px 18px;
}

.op-show-stat > span {
    color: #64748b;
    font-size: 14px;
}

.op-show-stat strong {
    display: block;
    margin-top: 10px;
    font-size: 1.35rem;
    letter-spacing: -0.02em;
}

.op-show-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 18px;
    align-items: start;
}

.op-show-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.op-show-section h2,
.op-share h2 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
}

.op-q-card,
.op-share {
    background: #fff;
    border: 1px solid #e6edf5;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(16, 42, 84, 0.04);
}

.op-q-card {
    padding: 18px 18px 8px;
    margin-bottom: 14px;
}

.op-q-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 12px;
}

.op-q-head > div:first-child {
    min-width: 0;
    flex: 1;
}

.op-q-kicker {
    color: #64748b;
    font-size: 13px;
}

.op-q-card h3 {
    margin: 2px 0 8px;
    font-size: 1.15rem;
    font-weight: 800;
}

.op-q-card p {
    margin: 0 0 8px;
    color: #64748b;
}

.op-q-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #64748b;
    font-size: 14px;
}

.op-q-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.op-q-actions form {
    margin: 0;
}

.op-q-close,
.op-q-open,
.op-q-edit,
.op-q-icon {
    border-radius: 999px;
    font: 600 13px/1 "Plus Jakarta Sans", sans-serif;
}

.op-q-close,
.op-q-open,
.op-q-edit {
    padding: 8px 12px;
    text-decoration: none;
}

.op-q-close {
    border: 1px solid #f3ddc4;
    background: #fff6ec;
    color: #c2710c;
}

.op-q-open,
.op-q-edit {
    border: 1px solid #e6ebf3;
    background: #fff;
    color: #1c2838;
}

.op-q-icon {
    width: 34px;
    height: 34px;
    border: 1px solid #e6ebf3;
    background: #fff;
    color: #64748b;
}

.op-q-icon:disabled {
    opacity: 0.4;
}

.op-q-trash {
    color: #dc2626;
}

.op-q-option {
    padding: 12px 0;
    border-top: 1px solid #f1f5f9;
}

.op-q-option div:first-child {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
    font-weight: 600;
}

.op-q-option div:first-child span:last-child {
    color: #64748b;
    font-weight: 500;
    font-size: 13px;
    white-space: nowrap;
}

.op-q-track {
    height: 7px;
    border-radius: 999px;
    background: #eef2f6;
    overflow: hidden;
}

.op-q-track b {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: #1463d6;
}

.op-share {
    padding: 18px;
}

.op-share-which {
    margin: 6px 0 0;
    color: #64748b;
    font-size: 13px;
}

.op-share-qr {
    display: block;
    width: 168px;
    height: 168px;
    margin: 18px auto 14px;
    object-fit: contain;
}

.op-share-download,
.op-share-view {
    width: 100%;
    justify-content: center;
}

.op-share label {
    display: block;
    margin: 16px 0 6px;
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
}

.op-share-link {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #e6ebf3;
    border-radius: 12px;
    background: #f8fafc;
    padding: 4px 4px 4px 12px;
}

.op-share-link input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    color: #64748b;
    font-size: 13px;
    outline: none;
}

.op-share-link button {
    border: 0;
    background: #fff;
    border-radius: 9px;
    padding: 7px 10px;
    color: #1c2838;
    font: 600 13px/1 "Plus Jakarta Sans", sans-serif;
    white-space: nowrap;
}

.op-share-view {
    margin-top: 14px;
}

@media (max-width: 991px) {
    .op-show-stats,
    .op-show-grid {
        grid-template-columns: 1fr 1fr;
    }

    .op-show-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .op-show-stats {
        grid-template-columns: 1fr;
    }

    .op-q-head {
        flex-wrap: wrap;
    }
}

.op-tabs {
    display: flex;
    gap: 6px;
    background: #f3f6fb;
    padding: 4px;
    border-radius: 12px;
    width: max-content;
    max-width: 100%;
}

.op-tab {
    border: 0;
    background: transparent;
    color: #64748b;
    font-weight: 600;
    font-size: 13.5px;
    padding: 8px 14px;
    border-radius: 9px;
    text-decoration: none;
    white-space: nowrap;
}

.op-tab.is-on {
    background: #fff;
    color: #1463d6;
    box-shadow: 0 1px 2px rgba(15, 27, 45, 0.04), 0 8px 24px -12px rgba(15, 27, 45, 0.12);
}

.op-empty {
    padding: 28px;
    text-align: center;
    color: #64748b;
}

.op-empty h2 {
    margin: 0 0 8px;
    color: #101828;
    font-size: 1.05rem;
}

.op-sec {
    background: #fff;
    border: 1px solid #e6edf5;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(16, 42, 84, 0.04);
    padding: 24px;
    margin-bottom: 18px;
}

.op-sec h2 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
}

.op-sec > p {
    margin: 4px 0 18px;
    color: #64748b;
    font-size: 14px;
}

.op-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.op-sec .form-label,
.op-label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 13.5px;
}

.op-sec .form-control,
.op-sec .form-select,
.op-field {
    width: 100%;
    border: 1px solid #e6ebf3;
    border-radius: 12px;
    padding: 11px 14px;
    color: #101828;
    background: #fff;
    font: inherit;
}

.op-field:focus,
.op-sec .form-control:focus,
.op-sec .form-select:focus {
    border-color: #1463d6;
    outline: none;
}

.op-q-build {
    border: 1px solid #e6ebf3;
    border-radius: 16px;
    background: #fff;
    padding: 18px;
    margin-bottom: 14px;
}

.op-q-build-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.op-q-build .op-q-icon {
    width: auto;
    height: auto;
    border: 0;
    background: transparent;
    color: #98a2b3;
    padding: 2px;
    border-radius: 8px;
    cursor: pointer;
}

.op-q-build .op-q-icon:hover {
    color: #b42318;
    background: transparent;
}

.op-q-build .op-label {
    margin-top: 14px;
}

.op-q-build textarea.op-field {
    min-height: 72px;
    resize: vertical;
}

.op-option-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.op-option-row .op-field {
    flex: 1;
}

.op-option-row .op-q-icon[hidden] {
    display: none;
}

.op-addq-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.op-addq-head h1 {
    margin: 0;
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.op-addq-head p {
    margin: 2px 0 0;
    color: #64748b;
}

.op-addq-mark {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: #e8f1ff;
    color: #1463d6;
    font-size: 1.25rem;
    flex: none;
}

.op-addq-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.9fr);
    gap: 18px;
    align-items: start;
}

.op-addq-card h2 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.op-addq-card h2 i {
    color: #1463d6;
}

.op-addq-req {
    color: #ef4444;
}

.op-addq-countbox {
    position: relative;
    margin-bottom: 4px;
}

.op-addq-countbox > span {
    color: #98a2b3;
    font-size: 12px;
    pointer-events: none;
}

.op-addq-countbox.is-line,
.op-addq-countbox:not(.is-line) {
    border: 1px solid #e6ebf3;
    border-radius: 12px;
    background: #fff;
}

.op-addq-countbox:focus-within {
    border-color: #1463d6;
}

.op-addq-countbox.is-line {
    display: flex;
    align-items: center;
    padding-right: 12px;
}

.op-addq-countbox.is-line .op-field,
.op-addq-countbox:not(.is-line) .op-field {
    border: 0;
    box-shadow: none;
}

.op-addq-countbox.is-line .op-field {
    width: auto;
    flex: 1;
    padding-right: 8px;
}

.op-addq-countbox:not(.is-line) > span {
    position: absolute;
    right: 12px;
    bottom: 8px;
}

.op-addq-countbox:not(.is-line) .op-field {
    width: 100%;
    box-sizing: border-box;
    padding-bottom: 26px;
}

.op-addq-types {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.op-addq-type {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 12px;
    border: 1px solid #e6ebf3;
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
}

.op-addq-type input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.op-addq-type.is-on {
    border-color: #8eb6f5;
    background: #f3f8ff;
}

.op-addq-radio {
    width: 18px;
    height: 18px;
    border: 2px solid #c5d0de;
    border-radius: 50%;
    flex: none;
    position: relative;
}

.op-addq-type.is-on .op-addq-radio {
    border-color: #1463d6;
}

.op-addq-type.is-on .op-addq-radio::after {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: #1463d6;
}

.op-addq-type-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: #eef3f8;
    color: #64748b;
    flex: none;
}

.op-addq-type.is-on .op-addq-type-icon {
    background: #e8f1ff;
    color: #1463d6;
}

.op-addq-type strong,
.op-addq-setting strong {
    display: block;
    font-size: 14px;
}

.op-addq-type small,
.op-addq-setting small,
.op-addq-link label small {
    display: block;
    color: #64748b;
    font-size: 12px;
    font-weight: 500;
}

.op-addq-option {
    gap: 8px;
}

.op-addq-grip {
    color: #98a2b3;
    cursor: grab;
    flex: none;
}

.op-addq-trash {
    width: 36px;
    height: 36px;
    border: 1px solid #fecaca;
    border-radius: 10px;
    background: #fff;
    color: #ef4444;
    flex: none;
}

.op-addq-trash:disabled {
    opacity: 0.35;
}

.op-addq-optionbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 4px;
}

.op-addq-optionbar span,
.op-addq-yesno,
.op-addq-pending p {
    color: #64748b;
    font-size: 13px;
}

.op-btn-line {
    background: #fff;
    color: #1463d6;
    border-color: #bfd4f5;
}

.op-btn-line:hover,
.op-btn-line:focus {
    background: #f3f8ff;
    color: #1463d6;
}

.op-addq-side {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.op-addq-side .op-sec {
    margin-bottom: 0;
}

.op-addq-pending {
    display: grid;
    justify-items: center;
    gap: 8px;
    padding: 28px 12px;
    border: 1px dashed #d5e0ee;
    border-radius: 14px;
    text-align: center;
    background: #f8fbff;
}

.op-addq-pending i {
    font-size: 2rem;
    color: #1463d6;
}

.op-addq-share {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 14px;
    align-items: center;
}

.op-addq-share img {
    width: 168px;
    height: 168px;
    border: 1px solid #e6ebf3;
    border-radius: 12px;
    background: #fff;
}

.op-addq-link {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.op-addq-link .op-field {
    min-width: 0;
    font-size: 13px;
}

.op-addq-link button {
    width: 40px;
    border: 1px solid #e6ebf3;
    border-radius: 12px;
    background: #fff;
    color: #1463d6;
    flex: none;
}

.op-addq-link label {
    display: block;
    margin-bottom: 4px;
    font-size: 13px;
    font-weight: 700;
}

.op-addq-share-actions {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 8px;
}

.op-addq-setting {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid #eef2f7;
}

.op-addq-setting:first-of-type {
    border-top: 0;
    padding-top: 0;
}

.op-addq-setting-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: #f3f6fb;
    color: #64748b;
    flex: none;
}

.op-addq-setting > div {
    flex: 1;
    min-width: 0;
}

.op-switch {
    position: relative;
    width: 46px;
    height: 26px;
    flex: none;
}

.op-switch input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.op-switch span {
    position: absolute;
    inset: 0;
    background: #d5dde8;
    border-radius: 999px;
    transition: background 0.15s ease;
}

.op-switch span::before {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    left: 3px;
    top: 3px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.15s ease;
}

.op-switch input:checked + span {
    background: #22c55e;
}

.op-switch input:checked + span::before {
    transform: translateX(20px);
}

.op-switch input:disabled + span {
    opacity: 0.55;
}

.op-addq-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 6px;
    flex-wrap: wrap;
}

.op-addq-yesno {
    margin: 8px 0 0;
}

@media (max-width: 980px) {
    .op-addq-grid,
    .op-addq-types,
    .op-addq-share {
        grid-template-columns: 1fr;
    }
}

.op-option-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.op-formbar {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

@media (max-width: 760px) {
    .op-form-grid {
        grid-template-columns: 1fr;
    }
}

.op-crumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: #64748b;
    font-size: 14px;
    font-weight: 600;
}

.op-crumb a {
    color: #1463d6;
    text-decoration: none;
}

.op-pshow-head,
.op-pshow-name,
.op-pshow-title,
.op-pshow-actions,
.op-ptabs,
.op-pcard-meta,
.op-pcard-tools {
    display: flex;
    align-items: center;
    gap: 10px;
}

.op-pshow-head,
.op-ptabs {
    justify-content: space-between;
    flex-wrap: wrap;
}

.op-pshow-title {
    align-items: flex-start;
    gap: 14px;
}

.op-pshow-mark {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: #e8f1ff;
    color: #1463d6;
    font-size: 1.3rem;
    flex: none;
}

.op-pshow-name h1 {
    margin: 0;
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.op-pshow-title p,
.op-pcard-main p,
.op-presult p {
    margin: 4px 0 0;
    color: #64748b;
}

.op-pshow-actions form {
    margin: 0;
}

.op-btn-danger {
    color: #ef4444;
    border-color: #fecaca;
    background: #fff;
}

.op-btn-danger:hover,
.op-btn-danger:focus {
    color: #dc2626;
    background: #fff5f5;
}

.op-pstats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 18px 0;
}

.op-pstats article {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid #e6edf5;
    border-radius: 16px;
    padding: 16px;
}

.op-pstat-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 1.1rem;
    flex: none;
}

.op-pstat-icon.is-blue { background: #e8f1ff; color: #1463d6; }
.op-pstat-icon.is-purple { background: #f3e8ff; color: #7c3aed; }
.op-pstat-icon.is-green { background: #e7f8ef; color: #12b981; }
.op-pstat-icon.is-amber { background: #fff4e5; color: #f59e0b; }

.op-pstats strong {
    display: block;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
}

.op-pstats article span:last-child {
    color: #64748b;
    font-size: 13px;
}

.op-ptab-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.op-ptabs {
    margin-bottom: 14px;
    border-bottom: 1px solid #e6edf5;
}

.op-ptab-actions form {
    margin: 0;
}

.op-ptabbar {
    display: flex;
    gap: 18px;
}

.op-ptabbar a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 2px 12px;
    color: #64748b;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid transparent;
}

.op-ptabbar a.is-on {
    color: #1463d6;
    border-bottom-color: #1463d6;
}

.op-pcard {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(520px, 1.45fr) 172px;
    gap: 18px;
    align-items: stretch;
    background: #fff;
    border: 1px solid #e6edf5;
    border-radius: 18px;
    padding: 18px;
    margin-bottom: 14px;
}

.op-pcard-main,
.op-pcard-share {
    align-self: start;
}

.op-pcard-main {
    display: flex;
    gap: 14px;
    min-width: 0;
    align-items: flex-start;
}

.op-pcard-main h2 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: #101828;
}

.op-pcard-index {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: #e8f1ff;
    color: #1463d6;
    font-weight: 800;
    font-size: 13px;
    flex: none;
}

.op-pcard-meta {
    margin-top: 10px;
    color: #64748b;
    font-size: 13px;
}

.op-pcard-share {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    column-gap: 16px;
    row-gap: 10px;
    align-items: start;
}

.op-pcard-qr {
    width: 168px;
    height: 168px;
    border: 1px solid #e6edf5;
    border-radius: 12px;
    background: #fff;
    grid-column: 1;
    grid-row: 1;
    justify-self: center;
}

.op-pcard-links {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
}

.op-pcard-links label {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
    font-size: 13px;
    font-weight: 700;
    color: #101828;
}

.op-pcard-links label i {
    color: #1463d6;
}

.op-pcard-links .op-addq-link {
    margin-bottom: 8px;
}

.op-pcard-links .op-addq-link:last-child {
    margin-bottom: 0;
}

.op-pcard-mini,
.op-pcard-tools a,
.op-pcard-close,
.op-pcard-open,
.op-pcard-clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 36px;
    border-radius: 10px;
    font: 700 13px/1 "Plus Jakarta Sans", sans-serif;
    text-decoration: none;
    white-space: nowrap;
}

.op-pcard-mini {
    border: 1px solid #c5daf8;
    background: #fff;
    color: #1463d6;
    padding: 0 12px;
}

.op-pcard-share > .op-pcard-mini:first-of-type {
    grid-column: 1;
    grid-row: 2;
    justify-self: stretch;
}

.op-pcard-share > .op-pcard-mini:last-of-type {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
    padding: 0 14px;
}

.op-pcard-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    min-height: 100%;
}

.op-pcard-actions form {
    margin: 0;
}

.op-pcard-actions > form:last-child {
    margin-top: auto;
}

.op-pcard-close,
.op-pcard-open,
.op-pcard-clear,
.op-pcard-tools a {
    width: 100%;
}

.op-pcard-close {
    border: 1px solid #f3b4b4;
    background: #fff;
    color: #ef4444;
}

.op-pcard-open {
    border: 1px solid #d7e0ea;
    background: #fff;
    color: #334155;
}

.op-pcard-open:disabled {
    opacity: 0.45;
}

.op-pcard-clear {
    border: 1px solid #f3d19a;
    background: #fff;
    color: #b45309;
}

.op-presult-foot,
.op-pcard-clearall {
    display: flex;
    justify-content: flex-end;
    margin-top: 12px;
}

.op-pcard-clearall {
    padding-right: 18px;
}

.op-presult-foot form,
.op-pcard-clearall form {
    margin: 0;
}

.op-pcard-tools {
    margin-top: 0;
}

.op-pcard-tools a {
    border: 1px solid #e6ebf3;
    background: #fff;
    color: #1c2838;
}

.op-pcard-tools button {
    width: 38px;
    min-height: 36px;
    border: 1px solid #fecaca;
    border-radius: 10px;
    background: #fff;
    color: #ef4444;
    flex: none;
}

.op-presult h2 {
    margin: 0;
    font-size: 1.05rem;
}

.op-presult-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

@media (max-width: 1100px) {
    .op-pstats {
        grid-template-columns: 1fr 1fr;
    }

    .op-pcard,
    .op-pcard-share {
        grid-template-columns: 1fr;
    }

    .op-pcard-qr,
    .op-pcard-links,
    .op-pcard-share > .op-pcard-mini:first-of-type,
    .op-pcard-share > .op-pcard-mini:last-of-type {
        grid-column: 1;
        grid-row: auto;
        justify-self: start;
    }
}

@media (max-width: 700px) {
    .op-pstats {
        grid-template-columns: 1fr;
    }
}

.op-plist-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.op-pfilters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.op-pfilter {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    border: 1px solid #e6ebf3;
    border-radius: 10px;
    background: #fff;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.op-pfilter.is-on {
    background: #1463d6;
    border-color: #1463d6;
    color: #fff;
}

.op-plist-bar select {
    min-height: 36px;
    padding: 0 32px 0 14px;
    border: 1px solid #e6ebf3;
    border-radius: 10px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748b' d='M1.4.6 6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E") no-repeat right 12px center;
    color: #334155;
    font: 700 13px/1 "Plus Jakarta Sans", sans-serif;
    appearance: none;
}

.op-plist-card .table-responsive {
    overflow: visible;
}

.op-plist-table {
    --bs-table-bg: transparent;
    --bs-table-border-color: transparent;
}

.op-plist-table thead th {
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
    background: #fafbfd;
    border-bottom: 1px solid #eef2f7;
    padding: 14px 16px;
    white-space: nowrap;
}

.op-plist-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #eef2f7;
    vertical-align: middle;
}

.op-plist-table tbody tr:last-child td {
    border-bottom: 0;
}

.op-plist-table tbody tr:hover td {
    background: #f8fbff;
}

.op-plist-table .op-date {
    max-width: none;
    white-space: nowrap;
}

.op-plist-title {
    display: flex;
    align-items: center;
    gap: 12px;
    color: inherit;
    text-decoration: none;
    min-width: 0;
}

.op-plist-title strong {
    display: block;
    color: #101828;
    font-weight: 800;
}

.op-plist-title small {
    display: block;
    margin-top: 2px;
    color: #64748b;
    font-size: 12.5px;
    font-weight: 500;
}

.op-plist-title:hover strong {
    color: #1463d6;
}

.op-plist-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    flex: none;
    font-size: 1.05rem;
}

.op-plist-mark.is-blue {
    background: #e8f1ff;
    color: #1463d6;
}

.op-plist-mark.is-purple {
    background: #efeaff;
    color: #7c3aed;
}

.op-plist-mark.is-green {
    background: #e7f8ef;
    color: #16a34a;
}

.op-plist-mark.is-amber {
    background: #fff4e5;
    color: #f59e0b;
}

.op-plist-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
}

.op-plist-actions .op-icon-act {
    width: 36px;
    height: 36px;
    border: 1px solid #e6ebf3;
    border-radius: 10px;
    background: #fff;
}

.op-plist-actions .dropdown-menu {
    min-width: 11.5rem;
    padding: 6px;
    border: 1px solid #e6ebf3;
    border-radius: 12px;
    z-index: 30;
}

.op-plist-actions .dropdown-menu form {
    margin: 0;
}

.op-plist-actions .dropdown-item {
    width: 100%;
    border-radius: 8px;
    padding: 8px 12px;
    color: #1c2838;
    font-size: 13px;
    font-weight: 600;
    text-align: left;
}

.op-plist-actions .dropdown-item:hover,
.op-plist-actions .dropdown-item:focus {
    background: #f3f6fb;
    color: #101828;
}

.op-plist-actions .dropdown-item.text-danger:hover,
.op-plist-actions .dropdown-item.text-danger:focus {
    background: #fef2f2;
    color: #dc2626;
}

.op-plist-view {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    padding: 0 14px;
    border: 1px solid #d5e4f7;
    border-radius: 10px;
    background: #fff;
    color: #1463d6;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.op-plist-view:hover,
.op-plist-view:focus {
    background: #f3f8ff;
    color: #1463d6;
}

.op-plist-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 14px 16px;
    color: #64748b;
    font-size: 13px;
}

.op-plist-foot .pagination {
    margin: 0;
    gap: 6px;
}

.op-plist-foot .page-link {
    display: grid;
    place-items: center;
    min-width: 34px;
    height: 34px;
    padding: 0 8px;
    border: 1px solid #e6ebf3;
    border-radius: 8px;
    color: #334155;
    font-weight: 700;
}

.op-plist-foot .page-item.active .page-link {
    background: #1463d6;
    border-color: #1463d6;
    color: #fff;
}

@media (max-width: 700px) {
    .op-plist-foot {
        align-items: flex-start;
        flex-direction: column;
    }
}
