* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #f4f7fb;
    color: #1e293b;
}

.auth-container {
    max-width: 420px;
    margin: 60px auto;
    padding: 32px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.auth-container h1 {
    margin-bottom: 10px;
    color: #2563eb;
}

.auth-container p {
    margin: 12px 0;
}

.auth-container form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.auth-container input {
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 16px;
}

.auth-container button {
    padding: 13px;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
}

.auth-container button:hover {
    background: #1d4ed8;
}

.error {
    margin-top: 16px;
    padding: 12px;
    background: #fee2e2;
    color: #991b1b;
    border-radius: 6px;
}

.auth-page {
    --auth-navy: #12356a;
    --auth-navy-dark: #0d2850;
    --auth-blue: #2364bd;
    --auth-muted: #65758a;
    min-height: 100vh;
    background: #f5f8fd;
    color: #172b4d;
    font-family: "Segoe UI", Arial, sans-serif;
}

.auth-page a {
    color: inherit;
    text-decoration: none;
}

.auth-page a:focus-visible,
.auth-page button:focus-visible,
.auth-page input:focus-visible {
    outline: 3px solid #73a7f5;
    outline-offset: 3px;
}

.auth-header {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 16px;
    background: #ffffff;
    border-bottom: 1px solid #e9eef5;
}

.auth-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--auth-navy) !important;
    font-size: 1.35rem;
    font-weight: 750;
    letter-spacing: -0.04em;
}

.auth-brand-icon {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
}

.auth-brand-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.auth-home-link {
    color: #4d6078 !important;
    font-size: 0.88rem;
    font-weight: 650;
}

.auth-home-link span {
    margin-left: 5px;
    color: var(--auth-blue);
}

.auth-home-link:hover {
    color: var(--auth-blue) !important;
}

.auth-layout {
    width: min(1120px, calc(100% - 48px));
    min-height: calc(100vh - 76px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(410px, 0.85fr);
    align-items: center;
    gap: clamp(42px, 7vw, 100px);
    margin: 0 auto;
    padding: 55px 0;
}

.auth-story {
    position: relative;
    min-height: 510px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 0;
}

.auth-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--auth-blue);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.auth-eyebrow span {
    width: 8px;
    height: 8px;
    background: #4f91e8;
    border-radius: 50%;
    box-shadow: 0 0 0 4px #dceaff;
}

.auth-story h1 {
    max-width: 600px;
    color: var(--auth-navy-dark);
    font-size: clamp(2.5rem, 4.5vw, 4.1rem);
    font-weight: 780;
    letter-spacing: -0.065em;
    line-height: 1.1;
}

.auth-story-copy {
    max-width: 540px;
    margin-top: 20px;
    color: var(--auth-muted);
    font-size: 1.02rem;
    line-height: 1.75;
}

.auth-illustration {
    position: relative;
    min-height: 200px;
    margin-top: 30px;
}

.auth-illustration-orbit {
    position: absolute;
    top: 2px;
    left: 30px;
    width: 210px;
    height: 210px;
    background: radial-gradient(circle at center, rgba(225, 237, 252, 0.9), rgba(225, 237, 252, 0.05) 68%, transparent 69%);
    border: 1px solid #d9e6f7;
    border-radius: 50%;
}

.auth-message-card,
.auth-illustration-note {
    position: absolute;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 13px;
    background: #ffffff;
    border: 1px solid #e7edf5;
    border-radius: 13px;
    box-shadow: 0 15px 38px rgba(31, 62, 104, 0.11);
}

.auth-message-card {
    top: 27px;
    left: 0;
    width: min(100%, 410px);
    padding: 16px;
}

.auth-message-icon,
.auth-note-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    color: #2869bd;
    background: #e8f1ff;
    border-radius: 11px;
}

.auth-message-icon svg,
.auth-note-icon svg {
    width: 23px;
    height: 23px;
}

.auth-message-card > span:nth-child(2) {
    min-width: 0;
    flex: 1;
}

.auth-message-card strong,
.auth-message-card small {
    display: block;
}

.auth-message-card strong,
.auth-illustration-note strong {
    color: #273b57;
    font-size: 0.86rem;
}

.auth-message-card small {
    margin-top: 3px;
    color: #8090a4;
    font-size: 0.74rem;
}

.auth-message-check {
    width: 23px;
    height: 23px;
    flex: 0 0 23px;
    display: grid;
    place-items: center;
    color: #ffffff;
    background: #35a36a;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 800;
}

.auth-illustration-note {
    right: 1px;
    bottom: 8px;
    max-width: 340px;
    padding: 13px 16px;
}

.auth-note-icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    color: #258052;
    background: #e8f6ee;
}

.auth-illustration-note strong {
    font-size: 0.79rem;
    line-height: 1.45;
}

.auth-form-panel {
    display: flex;
    justify-content: center;
}

.auth-form-card {
    width: 100%;
    max-width: 460px;
    padding: 38px;
    background: #ffffff;
    border: 1px solid #e7edf5;
    border-radius: 18px;
    box-shadow: 0 20px 55px rgba(31, 62, 104, 0.1);
}

.auth-form-kicker {
    margin-bottom: 8px;
    color: var(--auth-blue);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.auth-form-card h2 {
    color: var(--auth-navy-dark);
    font-size: 1.9rem;
    font-weight: 750;
    letter-spacing: -0.05em;
    line-height: 1.2;
}

.auth-form-intro {
    margin-top: 9px;
    color: var(--auth-muted);
    font-size: 0.91rem;
    line-height: 1.6;
}

.user-agreement {
    margin-top: 20px;
    padding: 16px;
    color: #40536d;
    background: #f7faff;
    border: 1px solid #e1eaf5;
    border-radius: 10px;
    font-size: 0.76rem;
    line-height: 1.55;
}

.user-agreement h3 {
    color: var(--auth-navy-dark);
    font-size: 0.95rem;
    font-weight: 750;
}

.user-agreement-subtitle {
    margin-top: 2px;
    color: var(--auth-blue);
    font-size: 0.78rem;
    font-weight: 700;
}

.user-agreement-intro {
    margin-top: 9px;
}

.user-agreement ul {
    display: grid;
    gap: 6px;
    margin: 8px 0 0;
    padding-left: 18px;
}

.user-agreement-confirmation {
    margin-top: 10px;
}

.user-agreement-closing {
    margin-top: 10px;
    color: var(--auth-navy);
    font-weight: 650;
}

.auth-error {
    margin-top: 20px;
    padding: 12px 14px;
    color: #991b1b;
    background: #fff0f0;
    border: 1px solid #f5caca;
    border-radius: 9px;
    font-size: 0.86rem;
    line-height: 1.5;
}

.auth-success {
    margin-top: 20px;
    padding: 12px 14px;
    color: #166534;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 9px;
    font-size: 0.86rem;
    line-height: 1.5;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 26px;
}

.auth-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.auth-field label {
    color: #344a66;
    font-size: 0.83rem;
    font-weight: 700;
}

.auth-field input {
    width: 100%;
    min-height: 48px;
    padding: 11px 13px;
    color: #172b4d;
    background: #ffffff;
    border: 1px solid #ccd7e5;
    border-radius: 8px;
    font: inherit;
    font-size: 0.9rem;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

.auth-field input::placeholder {
    color: #9aa8b9;
}

.auth-field input:focus {
    border-color: #548bd0;
    box-shadow: 0 0 0 3px rgba(35, 100, 189, 0.12);
    outline: none;
}

.password-input-wrap {
    position: relative;
}

.password-input-wrap input {
    padding-right: 46px;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 10px;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    transform: translateY(-50%);
    color: #718198;
    background: transparent;
    border: 0;
    border-radius: 6px;
    cursor: pointer;
}

.password-toggle:hover,
.password-toggle:focus-visible {
    color: #2364bd;
    background: #eef4fb;
    outline: none;
}

.password-toggle svg {
    width: 20px;
    height: 20px;
}

.password-eye-closed,
.password-toggle.is-visible .password-eye-open {
    display: none;
}

.password-toggle.is-visible .password-eye-closed {
    display: block;
}

.auth-field-hint {
    color: #718198;
    font-size: 0.75rem;
}

.auth-submit {
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 2px;
    padding: 12px 18px;
    color: #ffffff;
    background: var(--auth-blue);
    border: 0;
    border-radius: 8px;
    box-shadow: 0 5px 13px rgba(35, 100, 189, 0.18);
    cursor: pointer;
    font: inherit;
    font-size: 0.93rem;
    font-weight: 750;
    transition: background-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.auth-submit:hover {
    background: #194f9e;
    box-shadow: 0 8px 18px rgba(35, 100, 189, 0.25);
    transform: translateY(-1px);
}

.auth-switch {
    margin-top: 23px;
    color: #65758a;
    font-size: 0.84rem;
    text-align: center;
}

.auth-switch a {
    color: var(--auth-blue);
    font-weight: 750;
}

.auth-switch a:hover {
    text-decoration: underline;
}

.auth-form-footnote {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 7px;
    margin-top: 20px;
    padding-top: 17px;
    color: #8290a2;
    border-top: 1px solid #edf1f6;
    font-size: 0.73rem;
    line-height: 1.5;
    text-align: center;
}

.auth-form-footnote span {
    flex: 0 0 auto;
}

.auth-layout-register {
    padding-top: 40px;
    padding-bottom: 40px;
}

.auth-layout-single {
    grid-template-columns: minmax(0, 460px);
    justify-content: center;
}

.auth-layout-register .auth-story {
    min-height: 590px;
}

.auth-layout-register .auth-form-card {
    padding: 32px 36px;
}

.auth-layout-register .auth-form {
    gap: 14px;
    margin-top: 21px;
}

.agreement-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: #344a66;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 650;
    line-height: 1.5;
}

.agreement-checkbox input {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    margin: 1px 0 0;
    accent-color: var(--auth-blue);
}

.landing-page {
    --navy: #12356a;
    --navy-dark: #0d2850;
    --blue: #2364bd;
    --blue-light: #eaf2ff;
    --ink: #172b4d;
    --muted: #5b6b82;
    --line: #e4eaf2;
    --white: #ffffff;
    overflow: hidden;
    background: #ffffff;
    color: var(--ink);
    font-family: "Segoe UI", Arial, sans-serif;
    line-height: 1.6;
}

.landing-page a {
    color: inherit;
    text-decoration: none;
}

.landing-page button,
.landing-page a {
    -webkit-tap-highlight-color: transparent;
}

.landing-page button:focus-visible,
.landing-page a:focus-visible {
    outline: 3px solid #73a7f5;
    outline-offset: 3px;
}

.content-width {
    width: min(1160px, calc(100% - 48px));
    margin: 0 auto;
}

.site-header {
    position: relative;
    z-index: 10;
    background: #ffffff;
    border-bottom: 1px solid #edf1f6;
}

.header-inner {
    width: 100%;
    min-height: 78px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding-right: 16px;
    padding-left: 16px;
    box-sizing: border-box;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--navy);
    font-size: 1.35rem;
    font-weight: 750;
    letter-spacing: -0.04em;
    white-space: nowrap;
}

.brand-icon,
.mini-brand-icon {
    display: inline-grid;
    place-items: center;
    border-radius: 11px;
}

.brand-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    padding: 2px;
    background: #ffffff;
    border: 1px solid #e7edf5;
}

.brand-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.site-nav,
.nav-links,
.nav-actions {
    display: flex;
    align-items: center;
}

.site-nav {
    flex: 1;
    justify-content: flex-end;
    gap: 24px;
}

.nav-links {
    gap: clamp(18px, 2.6vw, 36px);
    margin: 0;
}

.nav-links a,
.login-link {
    color: #43536a;
    font-size: 0.93rem;
    font-weight: 600;
    transition: color 160ms ease;
}

.nav-links a:hover,
.login-link:hover,
.footer-nav a:hover,
.footer-account a:hover {
    color: var(--blue);
}

.nav-actions {
    gap: 12px;
}

.nav-actions form,
.footer-account form {
    display: contents;
}

.button {
    min-height: 44px;
    padding: 10px 19px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    font: inherit;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.2;
    transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    color: #ffffff !important;
    background: var(--blue);
    box-shadow: 0 5px 13px rgba(35, 100, 189, 0.18);
}

.button-primary:hover {
    background: #194f9e;
    box-shadow: 0 8px 18px rgba(35, 100, 189, 0.25);
}

.button-outline {
    color: var(--navy);
    background: #ffffff;
    border-color: #cbd7e7;
}

.button-outline:hover {
    background: #f3f7fc;
    border-color: #9db1cc;
}

.button-large {
    min-height: 54px;
    padding: 14px 22px;
}

.button-text {
    color: var(--navy);
    background: transparent;
}

.button-text:hover {
    color: var(--blue);
}

.play-icon {
    width: 24px;
    height: 24px;
    display: inline-grid;
    place-items: center;
    padding-left: 2px;
    color: var(--blue);
    background: #eaf2ff;
    border-radius: 50%;
    font-size: 0.64rem;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    margin-left: auto;
    padding: 11px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 4px 0;
    background: var(--navy);
    border-radius: 2px;
}

.hero-section {
    position: relative;
    padding: 86px 0 92px;
    background: #f5f8fd;
}

.info-page-hero {
    padding: 72px 0 62px;
    background: #f5f8fd;
}

.info-page-hero-inner {
    max-width: 850px;
    text-align: center;
}

.info-page-hero .eyebrow {
    justify-content: center;
}

.info-page-hero h1 {
    color: var(--navy-dark);
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 780;
    letter-spacing: -0.06em;
    line-height: 1.12;
}

.info-page-hero > .content-width > p:not(.eyebrow) {
    max-width: 620px;
    margin: 18px auto 0;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.info-page-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 27px;
}

.info-page-links a {
    padding: 8px 14px;
    color: var(--navy);
    background: #ffffff;
    border: 1px solid #dbe5f1;
    border-radius: 20px;
    font-size: 0.83rem;
    font-weight: 650;
}

.info-page-links a:hover {
    color: var(--blue);
    border-color: #aac4e6;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(440px, 1.08fr);
    align-items: center;
    gap: clamp(32px, 6vw, 84px);
}

.hero-copy {
    position: relative;
    z-index: 1;
    padding: 14px 0;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 17px;
    color: var(--blue);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    line-height: 1.4;
    text-transform: uppercase;
}

.eyebrow-dot {
    width: 8px;
    height: 8px;
    background: #4f91e8;
    border-radius: 50%;
    box-shadow: 0 0 0 4px #dceaff;
}

.hero-copy h1 {
    color: var(--navy-dark);
    font-size: clamp(2.8rem, 5.2vw, 4.65rem);
    font-weight: 780;
    letter-spacing: -0.065em;
    line-height: 1.07;
}

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

.hero-description {
    max-width: 520px;
    margin-top: 23px;
    color: #596b83;
    font-size: 1.08rem;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 25px;
    color: #65758a;
    font-size: 0.85rem;
}

.note-check {
    width: 20px;
    height: 20px;
    display: inline-grid;
    place-items: center;
    color: #24784f;
    background: #e2f4e9;
    border-radius: 50%;
    font-size: 0.72rem;
    font-weight: 800;
}

.hero-visual {
    position: relative;
    min-height: 465px;
    display: grid;
    place-items: center;
    isolation: isolate;
}

.visual-orbit {
    position: absolute;
    z-index: -1;
    border: 1px solid #d9e6f7;
    border-radius: 50%;
}

.orbit-one {
    width: 430px;
    height: 430px;
    background: radial-gradient(circle at center, rgba(231, 240, 252, 0.9), rgba(231, 240, 252, 0.08) 68%, transparent 69%);
}

.orbit-two {
    width: 355px;
    height: 355px;
    border-style: dashed;
    opacity: 0.7;
}

.dashboard-card {
    width: min(100%, 470px);
    position: relative;
    z-index: 1;
    padding: 24px;
    background: #ffffff;
    border: 1px solid #e7edf5;
    border-radius: 18px;
    box-shadow: 0 24px 64px rgba(31, 62, 104, 0.14);
}

.dashboard-top,
.dashboard-brand,
.dashboard-status,
.feedback-preview,
.dashboard-footer,
.submission-card-top,
.submission-meta {
    display: flex;
    align-items: center;
}

.dashboard-top {
    justify-content: space-between;
    padding-bottom: 19px;
    border-bottom: 1px solid #edf1f6;
}

.dashboard-brand {
    gap: 8px;
    color: var(--navy);
    font-size: 0.96rem;
    font-weight: 750;
}

.mini-brand-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    flex: 0 0 auto;
    padding: 1px;
    background: #ffffff;
    border: 1px solid #e7edf5;
}

.mini-brand-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.dashboard-status {
    gap: 6px;
    padding: 5px 9px;
    color: #4b617c;
    background: #f3f6fa;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 650;
}

.dashboard-status span,
.submission-label span {
    width: 7px;
    height: 7px;
    background: #35a36a;
    border-radius: 50%;
}

.dashboard-heading {
    padding: 22px 0 18px;
}

.dashboard-heading p {
    margin-bottom: 5px;
    color: #718198;
    font-size: 0.77rem;
    font-weight: 650;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.dashboard-heading h2 {
    max-width: 330px;
    color: var(--navy-dark);
    font-size: 1.35rem;
    letter-spacing: -0.03em;
    line-height: 1.3;
}

.feedback-preview {
    gap: 12px;
    margin-top: 10px;
    padding: 12px;
    background: #fbfcfe;
    border: 1px solid #edf1f6;
    border-radius: 11px;
}

.preview-icon {
    width: 37px;
    height: 37px;
    flex: 0 0 37px;
    display: grid;
    place-items: center;
    border-radius: 10px;
}

.preview-icon svg,
.feature-icon svg,
.step-icon svg,
.highlight-icon svg,
.conversation-icon svg,
.floating-icon svg {
    width: 21px;
    height: 21px;
}

.preview-blue {
    color: #2869bd;
    background: #e8f1ff;
}

.preview-green {
    color: #258052;
    background: #e8f6ee;
}

.preview-purple {
    color: #7351ac;
    background: #f1ecfb;
}

.feedback-preview > span:nth-child(2) {
    min-width: 0;
    flex: 1;
}

.feedback-preview strong,
.feedback-preview small,
.floating-card strong,
.floating-card small,
.conversation-card strong,
.conversation-card small {
    display: block;
}

.feedback-preview strong {
    overflow: hidden;
    color: #273b57;
    font-size: 0.82rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.feedback-preview small {
    margin-top: 2px;
    color: #8090a4;
    font-size: 0.69rem;
}

.preview-check,
.submitted-check {
    width: 21px;
    height: 21px;
    flex: 0 0 21px;
    display: grid;
    place-items: center;
    color: #ffffff;
    background: #35a36a;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 800;
}

.dashboard-footer {
    gap: 9px;
    margin-top: 18px;
    padding-top: 15px;
    border-top: 1px solid #edf1f6;
    color: #7b899b;
    font-size: 0.72rem;
}

.avatar-stack {
    display: flex;
    padding-left: 3px;
}

.avatar-stack i {
    width: 19px;
    height: 19px;
    margin-left: -3px;
    background: #d4e3f6;
    border: 2px solid #ffffff;
    border-radius: 50%;
}

.avatar-stack i:nth-child(2) {
    background: #f0d9c9;
}

.avatar-stack i:nth-child(3) {
    background: #d9d2ed;
}

.floating-card {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px 16px;
    background: #ffffff;
    border: 1px solid #edf1f6;
    border-radius: 13px;
    box-shadow: 0 13px 35px rgba(31, 62, 104, 0.13);
}

.voice-card {
    top: 9%;
    right: -4%;
}

.submitted-card {
    bottom: 8%;
    left: -3%;
}

.floating-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: grid;
    place-items: center;
    color: #2869bd;
    background: #e8f1ff;
    border-radius: 10px;
}

.submitted-check {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
    font-size: 0.85rem;
}

.floating-card strong,
.conversation-card strong {
    color: #273b57;
    font-size: 0.79rem;
}

.floating-card small,
.conversation-card small {
    margin-top: 2px;
    color: #8090a4;
    font-size: 0.68rem;
}

.scroll-cue {
    position: absolute;
    bottom: 20px;
    left: 50%;
    width: 28px;
    height: 42px;
    display: grid;
    place-items: start center;
    padding-top: 8px;
    border: 1px solid #ccd8e8;
    border-radius: 20px;
    transform: translateX(-50%);
}

.scroll-cue span {
    width: 4px;
    height: 8px;
    background: var(--blue);
    border-radius: 3px;
    animation: scroll-cue 1.5s ease-in-out infinite;
}

@keyframes scroll-cue {
    0%, 100% { transform: translateY(0); opacity: 1; }
    70% { transform: translateY(8px); opacity: 0.35; }
}

.intro-strip {
    padding: 38px 0 40px;
    background: var(--navy);
    color: #ffffff;
}

.intro-strip h2 {
    margin-bottom: 27px;
    color: #ffffff;
    font-size: clamp(1.25rem, 2.3vw, 1.65rem);
    font-weight: 650;
    letter-spacing: -0.02em;
    text-align: center;
}

.intro-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 3px 12px;
}

.highlight-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    color: #b8d5ff;
    background: rgba(255, 255, 255, 0.11);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
}

.highlight-item strong,
.highlight-item small {
    display: block;
}

.highlight-item strong {
    margin: 1px 0 4px;
    color: #ffffff;
    font-size: 0.92rem;
}

.highlight-item small {
    color: #d3e0f2;
    font-size: 0.79rem;
    line-height: 1.5;
}

.section-space {
    padding: 100px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 0.94fr;
    align-items: center;
    gap: clamp(48px, 8vw, 115px);
}

.about-copy .eyebrow,
.section-heading .eyebrow {
    margin-bottom: 14px;
}

.section-title {
    color: var(--navy-dark);
    font-size: clamp(2rem, 3.7vw, 3rem);
    font-weight: 750;
    letter-spacing: -0.055em;
    line-height: 1.15;
}

.section-description {
    margin-top: 18px;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.75;
}

.about-support {
    margin-top: 15px;
    color: #64758b;
    font-size: 0.92rem;
    line-height: 1.7;
}

.idea-list {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    gap: 12px 27px;
    margin: 22px 0 23px;
    list-style: none;
}

.idea-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #344a66;
    font-size: 0.88rem;
    font-weight: 600;
}

.idea-list li span {
    width: 19px;
    height: 19px;
    display: inline-grid;
    place-items: center;
    color: #24784f;
    background: #e5f5eb;
    border-radius: 50%;
    font-size: 0.68rem;
}

.inline-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--blue) !important;
    font-size: 0.9rem;
    font-weight: 750;
}

.inline-link:hover {
    gap: 12px;
}

.inline-link span {
    transition: transform 160ms ease;
}

.about-visual {
    position: relative;
    min-height: 390px;
    display: grid;
    place-items: center;
}

.about-shape {
    position: absolute;
    border-radius: 50%;
}

.shape-one {
    width: 340px;
    height: 340px;
    background: #eff5fd;
}

.shape-two {
    width: 255px;
    height: 255px;
    border: 1px dashed #b8cee9;
}

.submission-card {
    position: relative;
    z-index: 1;
    width: min(100%, 390px);
    padding: 24px;
    background: #ffffff;
    border: 1px solid #e7edf5;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(31, 62, 104, 0.13);
}

.submission-card-top {
    justify-content: space-between;
    margin-bottom: 17px;
}

.submission-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #397253;
    font-size: 0.73rem;
    font-weight: 750;
}

.submission-label span {
    width: 6px;
    height: 6px;
}

.submission-dots {
    color: #9aa9ba;
    letter-spacing: 2px;
}

.submission-card h3 {
    color: var(--navy-dark);
    font-size: 1.17rem;
    letter-spacing: -0.02em;
}

.submission-card > p {
    margin-top: 9px;
    color: #69798e;
    font-size: 0.84rem;
    line-height: 1.7;
}

.submission-meta {
    gap: 9px;
    margin-top: 21px;
    padding-top: 15px;
    border-top: 1px solid #edf1f6;
    color: #738399;
    font-size: 0.69rem;
}

.meta-avatar {
    width: 25px;
    height: 25px;
    display: grid;
    place-items: center;
    color: #2c5a93;
    background: #e4effd;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 750;
}

.meta-status {
    margin-left: auto;
    padding: 4px 8px;
    color: #287a50;
    background: #e6f5ec;
    border-radius: 12px;
    font-size: 0.66rem;
    font-weight: 700;
}

.conversation-card {
    position: absolute;
    right: -12px;
    bottom: 23px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 11px;
    max-width: 300px;
    padding: 13px 15px;
    background: #ffffff;
    border: 1px solid #e7edf5;
    border-radius: 12px;
    box-shadow: 0 13px 35px rgba(31, 62, 104, 0.12);
}

.conversation-icon {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: grid;
    place-items: center;
    color: #2869bd;
    background: #e8f1ff;
    border-radius: 10px;
}

.features-section {
    background: #f5f8fd;
}

.section-heading {
    max-width: 690px;
    margin: 0 auto 44px;
}

.centered-heading {
    text-align: center;
}

.centered-heading .eyebrow {
    justify-content: center;
}

.centered-heading .section-description {
    max-width: 540px;
    margin-right: auto;
    margin-left: auto;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.feature-card {
    min-height: 245px;
    padding: 25px 22px;
    background: #ffffff;
    border: 1px solid #e6ecf4;
    border-radius: 14px;
    box-shadow: 0 5px 18px rgba(31, 62, 104, 0.035);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: #c7d8ee;
    box-shadow: 0 15px 30px rgba(31, 62, 104, 0.09);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 13px;
}

.icon-blue {
    color: #2869bd;
    background: #e8f1ff;
}

.icon-green {
    color: #258052;
    background: #e8f6ee;
}

.icon-purple {
    color: #7351ac;
    background: #f1ecfb;
}

.icon-orange {
    color: #b36a27;
    background: #fff1df;
}

.feature-card h3 {
    margin-top: 21px;
    color: var(--navy-dark);
    font-size: 1.02rem;
    letter-spacing: -0.02em;
}

.feature-card p {
    margin-top: 9px;
    color: #66778d;
    font-size: 0.84rem;
    line-height: 1.7;
}

.steps-section {
    background: #ffffff;
}

.steps-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 34px;
}

.steps-grid::before {
    position: absolute;
    top: 35px;
    right: 16.6%;
    left: 16.6%;
    height: 1px;
    background: #dce6f2;
    content: "";
}

.step-card {
    position: relative;
    padding: 0 28px;
    text-align: center;
}

.step-number {
    position: relative;
    z-index: 1;
    width: 70px;
    height: 70px;
    display: grid;
    place-items: center;
    margin: 0 auto 19px;
    color: var(--blue);
    background: #ffffff;
    border: 1px solid #cbdcf1;
    border-radius: 50%;
    box-shadow: 0 0 0 8px #ffffff;
    font-size: 1.05rem;
    font-weight: 800;
}

.step-icon {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    margin: 0 auto 14px;
    color: #2869bd;
    background: #edf4ff;
    border-radius: 12px;
}

.step-card h3 {
    color: var(--navy-dark);
    font-size: 1rem;
}

.step-card p {
    max-width: 280px;
    margin: 9px auto 0;
    color: #68798e;
    font-size: 0.86rem;
    line-height: 1.7;
}

.cta-section {
    padding: 62px 0;
    background: var(--navy);
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
}

.cta-eyebrow {
    margin-bottom: 10px;
    color: #b8d5ff;
}

.cta-inner h2 {
    color: #ffffff;
    font-size: clamp(1.8rem, 3.3vw, 2.55rem);
    letter-spacing: -0.05em;
    line-height: 1.2;
}

.cta-inner > div > p:last-child {
    max-width: 600px;
    margin-top: 10px;
    color: #d4e0f1;
    font-size: 0.95rem;
    line-height: 1.65;
}

.button-light {
    flex: 0 0 auto;
    color: var(--navy) !important;
    background: #ffffff;
}

.button-light:hover {
    background: #eaf2ff;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.site-footer {
    background: #0b2345;
    color: #ffffff;
}

.footer-main {
    min-height: 170px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    padding-top: 31px;
    padding-bottom: 31px;
}

.footer-brand {
    color: #ffffff !important;
}

.footer-brand .brand-icon {
    color: var(--navy);
    background: #ffffff;
}

.footer-brand-block > p {
    margin-top: 11px;
    color: #c0cde0;
    font-size: 0.81rem;
    line-height: 1.55;
}

.footer-nav,
.footer-account {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-nav a,
.footer-account a,
.footer-account button {
    color: #d4deeb;
    font: inherit;
    font-size: 0.82rem;
    transition: color 160ms ease;
}

.footer-account button {
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.footer-nav a:hover,
.footer-account a:hover,
.footer-account button:hover {
    color: #ffffff;
}

.footer-bottom {
    min-height: 55px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    color: #b6c4d8;
    font-size: 0.75rem;
}

.footer-bottom a {
    color: #d4deeb;
}

.footer-bottom a span {
    margin-left: 4px;
}

@media (max-width: 1020px) {
    .header-inner {
        gap: 20px;
    }

    .hero-grid {
        grid-template-columns: minmax(0, 0.9fr) minmax(370px, 1.1fr);
        gap: 28px;
    }

    .voice-card {
        right: -1%;
    }

    .submitted-card {
        left: -1%;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-card {
        min-height: 220px;
    }

    .footer-main {
        flex-wrap: wrap;
    }
}

@media (max-width: 760px) {
    .content-width {
        width: min(100% - 36px, 600px);
    }

    .header-inner {
        min-height: 70px;
        flex-wrap: wrap;
        gap: 0;
        padding: 12px 16px;
    }

    .menu-toggle {
        display: block;
    }

    .site-nav {
        width: 100%;
        flex: 0 0 100%;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 18px;
        padding: 17px 0 5px;
    }

    .js-enabled .site-nav {
        display: none;
    }

    .js-enabled .site-nav.is-open {
        display: flex;
    }

    .nav-links {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin: 0;
    }

    .nav-links a {
        padding: 10px 2px;
        border-bottom: 1px solid #edf1f6;
    }

    .nav-actions {
        flex-wrap: wrap;
        justify-content: flex-start;
        padding-top: 2px;
    }

    .hero-section {
        padding: 61px 0 73px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .hero-copy {
        padding: 0;
    }

    .hero-copy h1 {
        font-size: clamp(2.7rem, 12vw, 4rem);
    }

    .hero-description {
        max-width: 580px;
        font-size: 1rem;
    }

    .hero-visual {
        width: min(100%, 540px);
        min-height: 440px;
        margin: 0 auto;
    }

    .orbit-one {
        width: 390px;
        height: 390px;
    }

    .orbit-two {
        width: 325px;
        height: 325px;
    }

    .dashboard-card {
        width: min(100% - 15px, 450px);
        padding: 20px;
    }

    .voice-card {
        top: 1%;
        right: -1%;
    }

    .submitted-card {
        bottom: 2%;
        left: -1%;
    }

    .intro-strip {
        padding: 34px 0;
    }

    .intro-highlights {
        grid-template-columns: 1fr;
        gap: 19px;
        max-width: 500px;
        margin: 0 auto;
    }

    .highlight-item {
        padding: 0;
    }

    .section-space {
        padding: 75px 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 37px;
    }

    .about-visual {
        min-height: 355px;
    }

    .shape-one {
        width: 310px;
        height: 310px;
    }

    .shape-two {
        width: 235px;
        height: 235px;
    }

    .conversation-card {
        right: 0;
        bottom: 5px;
    }

    .section-heading {
        margin-bottom: 34px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 440px;
        margin: 0 auto;
    }

    .steps-grid::before {
        top: 35px;
        bottom: 34px;
        left: 35px;
        width: 1px;
        height: auto;
    }

    .step-card {
        display: grid;
        grid-template-columns: 70px 1fr;
        column-gap: 20px;
        padding: 0;
        text-align: left;
    }

    .step-number {
        grid-row: span 3;
        margin: 0;
    }

    .step-icon {
        margin: 0 0 9px;
    }

    .step-card h3 {
        align-self: end;
    }

    .step-card p {
        max-width: none;
        margin: 6px 0 0;
    }

    .cta-section {
        padding: 49px 0;
    }

    .cta-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 23px;
    }

    .footer-main {
        min-height: 0;
        align-items: flex-start;
        flex-direction: column;
        gap: 27px;
        padding-top: 37px;
        padding-bottom: 30px;
    }

    .footer-nav,
    .footer-account {
        gap: 12px 19px;
    }
}

@media (max-width: 480px) {
    .content-width {
        width: calc(100% - 32px);
    }

    .brand {
        font-size: 1.23rem;
    }

    .hero-section {
        padding-top: 48px;
    }

    .hero-copy h1 {
        font-size: clamp(2.6rem, 13.3vw, 3.45rem);
    }

    .hero-description {
        margin-top: 17px;
        font-size: 0.94rem;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
        gap: 6px;
        margin-top: 23px;
    }

    .hero-actions .button {
        width: 100%;
    }

    .button-text {
        min-height: 46px;
    }

    .hero-note {
        font-size: 0.76rem;
    }

    .hero-visual {
        min-height: 405px;
    }

    .orbit-one {
        width: 315px;
        height: 315px;
    }

    .orbit-two {
        width: 265px;
        height: 265px;
    }

    .dashboard-card {
        padding: 16px;
        border-radius: 15px;
    }

    .dashboard-heading {
        padding: 17px 0 13px;
    }

    .dashboard-heading h2 {
        font-size: 1.18rem;
    }

    .feedback-preview {
        gap: 9px;
        padding: 9px;
    }

    .preview-icon {
        width: 33px;
        height: 33px;
        flex-basis: 33px;
    }

    .feedback-preview strong {
        font-size: 0.74rem;
    }

    .feedback-preview small {
        font-size: 0.63rem;
    }

    .dashboard-footer {
        font-size: 0.65rem;
    }

    .floating-card {
        gap: 8px;
        padding: 10px 12px;
    }

    .voice-card {
        top: -1%;
        right: -4px;
    }

    .submitted-card {
        bottom: -1%;
        left: -4px;
    }

    .floating-card strong {
        font-size: 0.7rem;
    }

    .floating-card small {
        font-size: 0.62rem;
    }

    .floating-icon {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
    }

    .submitted-check {
        width: 27px;
        height: 27px;
        flex-basis: 27px;
    }

    .intro-strip h2 {
        font-size: 1.17rem;
    }

    .section-space {
        padding: 64px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-description {
        font-size: 0.92rem;
    }

    .idea-list {
        grid-template-columns: 1fr 1fr;
        gap: 11px 9px;
    }

    .idea-list li {
        font-size: 0.78rem;
    }

    .about-visual {
        min-height: 315px;
    }

    .shape-one {
        width: 275px;
        height: 275px;
    }

    .shape-two {
        width: 215px;
        height: 215px;
    }

    .submission-card {
        padding: 18px;
    }

    .submission-card h3 {
        font-size: 1rem;
    }

    .submission-card > p {
        font-size: 0.78rem;
    }

    .conversation-card {
        max-width: 270px;
        padding: 10px 12px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        min-height: 0;
        padding: 22px;
    }

    .feature-card h3 {
        margin-top: 15px;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        padding-top: 13px;
        padding-bottom: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .landing-page *,
    .landing-page *::before,
    .landing-page *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (max-width: 900px) {
    .auth-layout {
        width: min(660px, calc(100% - 40px));
        min-height: 0;
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 48px 0 60px;
    }

    .auth-story,
    .auth-layout-register .auth-story {
        min-height: 0;
        padding: 5px 0 0;
    }

    .auth-story h1 {
        max-width: 620px;
        font-size: clamp(2.5rem, 7vw, 3.6rem);
    }

    .auth-story-copy {
        max-width: 620px;
    }

    .auth-illustration {
        min-height: 160px;
        margin-top: 15px;
    }

    .auth-illustration-orbit {
        top: -12px;
        left: 22px;
        width: 180px;
        height: 180px;
    }

    .auth-message-card {
        top: 8px;
        left: 0;
    }

    .auth-illustration-note {
        right: 0;
        bottom: 0;
    }

    .auth-form-card {
        max-width: none;
    }
}

@media (max-width: 520px) {
    .auth-header {
        min-height: 68px;
        padding: 10px 16px;
    }

    .auth-brand {
        font-size: 1.2rem;
    }

    .auth-brand-icon {
        width: 35px;
        height: 35px;
    }

    .auth-home-link {
        font-size: 0.8rem;
    }

    .auth-layout {
        width: calc(100% - 32px);
        gap: 15px;
        padding: 34px 0 42px;
    }

    .auth-story h1 {
        font-size: clamp(2.2rem, 10.5vw, 3.1rem);
    }

    .auth-story-copy {
        margin-top: 13px;
        font-size: 0.93rem;
    }

    .auth-illustration {
        min-height: 135px;
        margin-top: 10px;
    }

    .auth-illustration-orbit {
        left: 7px;
        width: 150px;
        height: 150px;
    }

    .auth-message-card {
        top: 7px;
        width: calc(100% - 5px);
        gap: 10px;
        padding: 12px;
    }

    .auth-message-icon {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }

    .auth-message-card strong {
        font-size: 0.77rem;
    }

    .auth-message-card small {
        font-size: 0.67rem;
    }

    .auth-illustration-note {
        right: -3px;
        bottom: 0;
        max-width: 270px;
        gap: 8px;
        padding: 9px 11px;
    }

    .auth-note-icon {
        width: 31px;
        height: 31px;
        flex-basis: 31px;
    }

    .auth-illustration-note strong {
        font-size: 0.69rem;
    }

    .auth-form-card,
    .auth-layout-register .auth-form-card {
        padding: 26px 21px;
        border-radius: 14px;
    }

    .auth-form-card h2 {
        font-size: 1.65rem;
    }
}

.app-shell {
    --navy: #12356a;
    --navy-dark: #0d2850;
    --blue: #2364bd;
    --blue-light: #eaf2ff;
    --ink: #172b4d;
    --muted: #5b6b82;
    --line: #e4eaf2;
    --white: #ffffff;
    --sidebar-w: 260px;
    --success-bg: #e6f5ec;
    --success-fg: #227348;
    --success-border: #bfe4cf;
    --error-bg: #fff0f0;
    --error-fg: #991b1b;
    --error-border: #f5caca;
    display: grid;
    grid-template-columns: var(--sidebar-w) minmax(0, 1fr);
    min-height: 100vh;
    background: #f5f8fd;
    color: var(--ink);
    font-family: "Segoe UI", Arial, sans-serif;
    line-height: 1.6;
}

.app-shell a {
    color: inherit;
    text-decoration: none;
}

.app-shell button:focus-visible,
.app-shell a:focus-visible,
.app-shell input:focus-visible,
.app-shell select:focus-visible,
.app-shell textarea:focus-visible {
    outline: 3px solid #73a7f5;
    outline-offset: 3px;
}

.app-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: var(--sidebar-w);
    display: flex;
    flex-direction: column;
    background: var(--navy);
    color: #ffffff;
    z-index: 50;
    transition: transform 220ms ease;
}

.sidebar-head {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ffffff !important;
    font-size: 1.25rem;
    font-weight: 750;
    letter-spacing: -0.04em;
    white-space: nowrap;
}

.sidebar-brand-icon {
    width: 36px;
    height: 36px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    background: #ffffff;
    border-radius: 10px;
    padding: 2px;
}

.sidebar-brand-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sidebar-toggle {
    display: none;
    width: 40px;
    height: 40px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    background: transparent;
    color: #ffffff;
    cursor: pointer;
}

.sidebar-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 4px 0;
    background: #ffffff;
    border-radius: 2px;
}

.sidebar-role {
    margin: 16px 20px 8px;
    padding: 7px 11px;
    background: rgba(35, 100, 189, 0.35);
    border: 1px solid rgba(115, 167, 245, 0.35);
    border-radius: 8px;
    color: #cfe1ff;
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sidebar-user {
    margin: 0 20px 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-user-name {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.3;
}

.sidebar-user-email {
    margin-top: 2px;
    color: #9fb4d1;
    font-size: 0.76rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sidebar-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 4px 12px 16px;
    overflow-y: auto;
}

.sidebar-nav-section {
    margin: 12px 8px 6px;
    color: #7f98bb;
    font-size: 0.68rem;
    font-weight: 750;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 12px;
    color: #cfdcef;
    border-radius: 9px;
    font-size: 0.88rem;
    font-weight: 600;
    transition: background-color 140ms ease, color 140ms ease;
}

.sidebar-link:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
}

.sidebar-link.is-active {
    background: rgba(35, 100, 189, 0.55);
    color: #ffffff;
    box-shadow: inset 3px 0 0 #73a7f5;
}

.sidebar-link-icon {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    display: inline-grid;
    place-items: center;
}

.sidebar-link-icon svg {
    width: 18px;
    height: 18px;
}

.sidebar-foot {
    padding: 14px 12px 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-logout {
    width: 100%;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.06);
    color: #e1eaf7;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 9px;
    cursor: pointer;
    font: inherit;
    font-size: 0.86rem;
    font-weight: 700;
    transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease;
}

.sidebar-logout:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.25);
}

.sidebar-logout-icon svg {
    width: 17px;
    height: 17px;
}

.app-main-wrap {
    grid-column: 2;
    min-width: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.app-topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    width: 100%;
    box-sizing: border-box;
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 16px;
    padding: 12px 32px;
    background: #ffffff;
    border-bottom: 1px solid var(--line);
}

.topbar-menu-btn {
    display: none;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    cursor: pointer;
}

.topbar-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 4px 0;
    background: var(--navy);
    border-radius: 2px;
}

.page-header {
    padding: 28px 32px 8px;
}

.page-header h1 {
    color: var(--navy-dark);
    font-size: clamp(1.55rem, 2.4vw, 2.1rem);
    font-weight: 760;
    letter-spacing: -0.04em;
    line-height: 1.2;
}

.page-header p {
    margin-top: 6px;
    color: var(--muted);
    font-size: 0.93rem;
}

.app-content {
    flex: 1;
    padding: 20px 32px 40px;
}

.app-alerts {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0 32px;
    padding-top: 18px;
}

.app-alert {
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.5;
}

.app-alert-success {
    color: var(--success-fg);
    background: var(--success-bg);
    border: 1px solid var(--success-border);
}

.app-alert-error {
    color: var(--error-fg);
    background: var(--error-bg);
    border: 1px solid var(--error-border);
}

.app-footer {
    margin-top: auto;
    padding: 18px 32px;
    background: #ffffff;
    border-top: 1px solid var(--line);
    color: #7b899b;
    font-size: 0.78rem;
}

.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(13, 40, 80, 0.45);
    z-index: 45;
    opacity: 0;
    transition: opacity 180ms ease;
}

.sidebar-overlay.is-visible {
    opacity: 1;
}

.error-page {
    --navy: #12356a;
    --navy-dark: #0d2850;
    --blue: #2364bd;
    --blue-light: #eaf2ff;
    --ink: #172b4d;
    --muted: #5b6b82;
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 48px 24px;
    background: #f5f8fd;
    color: var(--ink);
    font-family: "Segoe UI", Arial, sans-serif;
    line-height: 1.6;
}

.error-page a {
    color: inherit;
    text-decoration: none;
}

.error-card {
    width: min(520px, 100%);
    padding: 42px 36px;
    background: #ffffff;
    border: 1px solid #e7edf5;
    border-radius: 20px;
    box-shadow: 0 20px 55px rgba(31, 62, 104, 0.1);
    text-align: center;
}

.error-illustration {
    width: 120px;
    height: 120px;
    margin: 0 auto 22px;
    display: grid;
    place-items: center;
    background: var(--blue-light);
    border-radius: 50%;
}

.error-illustration svg {
    width: 64px;
    height: 64px;
    color: var(--blue);
}

.error-code {
    color: var(--blue);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.error-card h1 {
    margin-top: 6px;
    color: var(--navy-dark);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 770;
    letter-spacing: -0.05em;
    line-height: 1.15;
}

.error-message {
    margin-top: 12px;
    color: var(--muted);
    font-size: 0.96rem;
    line-height: 1.7;
}

.error-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 28px;
}

.error-btn {
    min-height: 46px;
    padding: 11px 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 700;
    transition: background-color 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.error-btn:hover {
    transform: translateY(-1px);
}

.error-btn-primary {
    color: #ffffff !important;
    background: var(--blue);
    box-shadow: 0 5px 13px rgba(35, 100, 189, 0.18);
}

.error-btn-primary:hover {
    background: #194f9e;
    box-shadow: 0 8px 18px rgba(35, 100, 189, 0.25);
}

.error-btn-secondary {
    background: #ffffff;
    border: 1px solid #cbd7e7;
}

.error-btn-secondary:hover {
    background: #f3f7fc;
    border-color: #9db1cc;
}

@media (max-width: 960px) {
    .app-topbar {
        padding: 12px 20px;
    }

    .page-header {
        padding: 24px 20px 4px;
    }

    .app-content {
        padding: 16px 20px 32px;
    }

    .app-alerts {
        margin: 0 20px;
    }

    .app-footer {
        padding: 16px 20px;
    }
}

@media (max-width: 820px) {
    .app-sidebar {
        transform: translateX(-100%);
        box-shadow: 12px 0 40px rgba(13, 40, 80, 0.25);
    }

    .app-sidebar.is-open {
        transform: translateX(0);
    }

    .sidebar-toggle {
        display: block;
    }

    .topbar-menu-btn {
        display: block;
    }

    .sidebar-overlay {
        display: block;
    }

    .app-main-wrap {
        margin-left: 0;
    }
}

@media (max-width: 520px) {
    .app-topbar,
    .page-header,
    .app-content,
    .app-footer {
        padding-left: 16px;
        padding-right: 16px;
    }

    .app-alerts {
        margin-left: 16px;
        margin-right: 16px;
    }

    .error-card {
        padding: 32px 22px;
        border-radius: 16px;
    }

    .error-illustration {
        width: 96px;
        height: 96px;
    }

    .error-illustration svg {
        width: 52px;
        height: 52px;
    }
}

.page-subtitle {
    margin-top: 6px;
    color: var(--muted);
    font-size: 0.93rem;
}

.page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 20px 32px 8px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 3px 10px rgba(31, 62, 104, 0.04);
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(31, 62, 104, 0.08);
    border-color: #d3e2f5;
}

.stat-icon {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    display: grid;
    place-items: center;
    border-radius: 13px;
}

.stat-icon svg {
    width: 26px;
    height: 26px;
}

.stat-content {
    min-width: 0;
    flex: 1;
}

.stat-label {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.stat-value {
    margin-top: 3px;
    color: var(--navy-dark);
    font-size: 1.75rem;
    font-weight: 780;
    letter-spacing: -0.04em;
    line-height: 1.1;
}

.quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 20px 32px 8px;
}

.quick-actions svg {
    width: 20px;
    height: 20px;
}

.section-panel {
    margin: 20px 32px 0;
    padding: 24px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 3px 12px rgba(31, 62, 104, 0.04);
}

.section-panel-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
    flex-wrap: wrap;
}

.section-panel-header h2 {
    color: var(--navy-dark);
    font-size: 1.2rem;
    font-weight: 750;
    letter-spacing: -0.02em;
}

.section-panel-header p {
    margin-top: 3px;
    color: var(--muted);
    font-size: 0.85rem;
}

.empty-state {
    padding: 50px 24px;
    text-align: center;
}

.empty-state-sm {
    padding: 30px 16px;
}

.empty-icon {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    margin: 0 auto 18px;
    background: var(--blue-light);
    border-radius: 50%;
    color: var(--blue);
}

.empty-icon-sm {
    width: 56px;
    height: 56px;
    margin-bottom: 14px;
}

.empty-icon svg {
    width: 38px;
    height: 38px;
}

.empty-icon-sm svg {
    width: 28px;
    height: 28px;
}

.empty-state h3 {
    color: var(--navy-dark);
    font-size: 1.08rem;
    font-weight: 720;
    letter-spacing: -0.01em;
}

.empty-state p {
    max-width: 420px;
    margin: 8px auto 20px;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.65;
}

.submission-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.submission-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    background: #fbfcfe;
    border: 1px solid var(--line);
    border-radius: 11px;
    transition: background-color 140ms ease, border-color 140ms ease, transform 140ms ease;
    flex-wrap: wrap;
}

.submission-row:hover {
    background: #f2f6fd;
    border-color: #cbdcf1;
    transform: translateX(2px);
}

.submission-row-main {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    flex: 1;
    min-width: 0;
}

.submission-row-body {
    min-width: 0;
    flex: 1;
}

.submission-row-title {
    color: var(--navy-dark);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: -0.005em;
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.submission-row-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 600;
}

.meta-category::before {
    content: "•";
    display: inline-block;
    margin-right: 14px;
    color: #c6d2e3;
}

.submission-row-right {
    flex: 0 0 auto;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.73rem;
    font-weight: 720;
    letter-spacing: 0.01em;
    line-height: 1.3;
}

.badge-lg {
    padding: 6px 13px;
    font-size: 0.78rem;
}

.badge-status-pending {
    color: #9c5a12;
    background: #fff3df;
    border: 1px solid #f0d3a5;
}

.badge-status-progress {
    color: #1f4faf;
    background: #e6f0ff;
    border: 1px solid #bfd6f6;
}

.badge-status-resolved {
    color: #227348;
    background: #e6f5ec;
    border: 1px solid #bfe4cf;
}

.badge-status-default {
    color: #53627a;
    background: #eef2f7;
    border: 1px solid #cfd8e4;
}

.badge-type-feedback {
    color: #1f4faf;
    background: #e6f0ff;
    border: 1px solid #bfd6f6;
}

.badge-type-suggestion {
    color: #5e3e9e;
    background: #f0ebfa;
    border: 1px solid #d6c7f0;
}

.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 14px 32px 0;
    border-bottom: 1px solid var(--line);
    margin: 0 32px;
}

.filter-tab {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    color: var(--muted);
    border-radius: 10px 10px 0 0;
    font-size: 0.86rem;
    font-weight: 700;
    transition: color 140ms ease, background-color 140ms ease;
    margin-bottom: -1px;
}

.filter-tab:hover {
    color: var(--blue);
    background: #f2f6fd;
}

.filter-tab.is-active {
    color: var(--blue);
    background: #ffffff;
    border-top: 2px solid var(--blue);
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
}

.tab-count {
    display: inline-grid;
    place-items: center;
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    background: #eef2f7;
    color: #53627a;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 750;
}

.filter-tab.is-active .tab-count {
    background: var(--blue-light);
    color: var(--blue);
}

.table-wrapper {
    margin: 20px 32px 0;
    padding: 20px 24px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 3px 12px rgba(31, 62, 104, 0.04);
    overflow-x: auto;
}

.submissions-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.86rem;
}

.submissions-table thead th {
    padding: 10px 14px;
    color: var(--muted);
    text-align: left;
    font-size: 0.73rem;
    font-weight: 750;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-bottom: 2px solid var(--line);
    white-space: nowrap;
}

.submissions-table tbody td {
    padding: 13px 14px;
    border-bottom: 1px solid #f0f4fa;
    vertical-align: middle;
}

.submissions-table tbody tr:last-child td {
    border-bottom: none;
}

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

.ref-id {
    color: var(--blue);
    font-family: "Segoe UI", Arial, sans-serif;
    font-weight: 730;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.subject-cell {
    min-width: 220px;
    max-width: 360px;
}

.subject-cell a {
    color: var(--navy-dark);
    font-weight: 700;
    line-height: 1.35;
    transition: color 140ms ease;
}

.subject-cell a:hover {
    color: var(--blue);
}

.button-sm {
    min-height: 34px;
    padding: 6px 14px;
    font-size: 0.8rem;
    border-radius: 8px;
}

.cards-grid {
    display: none;
    grid-template-columns: 1fr;
    gap: 14px;
    margin: 20px 32px 0;
}

.submission-card-item {
    padding: 18px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 3px 12px rgba(31, 62, 104, 0.04);
}

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

.card-title {
    margin-bottom: 8px;
}

.card-title a {
    color: var(--navy-dark);
    font-size: 1rem;
    font-weight: 720;
    line-height: 1.35;
    letter-spacing: -0.01em;
    transition: color 140ms ease;
}

.card-title a:hover {
    color: var(--blue);
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 600;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    flex-wrap: wrap;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 18px 32px 0;
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 700;
    transition: color 140ms ease;
}

.back-link:hover {
    color: var(--blue);
}

.page-header-detail {
    padding-top: 8px;
}

.detail-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.detail-status-block {
    display: flex;
    align-items: center;
}

.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 20px;
    padding: 16px 32px 40px;
}

.detail-main {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

.detail-card {
    padding: 24px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 3px 12px rgba(31, 62, 104, 0.04);
}

.detail-meta-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 14px 20px;
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.meta-block .meta-label {
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.meta-block .meta-value {
    color: var(--navy-dark);
    font-size: 0.9rem;
    font-weight: 700;
}

.anon-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 9px;
    background: #f0ebfa;
    color: #5e3e9e;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
}

.detail-section h2 {
    margin-bottom: 10px;
    color: var(--navy-dark);
    font-size: 1rem;
    font-weight: 750;
    letter-spacing: -0.005em;
}

.description-body {
    padding: 16px 18px;
    background: #f8fbff;
    border: 1px solid #e6eef9;
    border-radius: 11px;
    color: #2b3c55;
    font-size: 0.92rem;
    line-height: 1.75;
}

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

.detail-section-header h2 {
    margin-bottom: 0;
}

.responses-count {
    padding: 4px 11px;
    background: #f3f6fa;
    color: var(--muted);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 730;
}

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

.response-card {
    padding: 18px;
    background: #fbfcfe;
    border: 1px solid var(--line);
    border-left: 3px solid var(--blue);
    border-radius: 0 12px 12px 0;
}

.response-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px dashed #e4ebf5;
    flex-wrap: wrap;
}

.response-author {
    display: flex;
    align-items: center;
    gap: 11px;
}

.response-avatar {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    background: var(--blue);
    color: #ffffff;
    border-radius: 50%;
    font-size: 0.86rem;
    font-weight: 750;
}

.response-name {
    color: var(--navy-dark);
    font-size: 0.88rem;
    font-weight: 730;
    line-height: 1.2;
}

.response-date {
    margin-top: 2px;
    color: var(--muted);
    font-size: 0.74rem;
    font-weight: 600;
}

.response-label {
    padding: 4px 10px;
    background: var(--blue-light);
    color: var(--blue);
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 730;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.response-body {
    color: #2b3c55;
    font-size: 0.89rem;
    line-height: 1.75;
}

.detail-sidebar {
    position: sticky;
    top: 88px;
    align-self: flex-start;
}

.summary-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
}

.summary-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 13px;
    background: #f8fbff;
    border: 1px solid #eaf0fa;
    border-radius: 10px;
}

.summary-label {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 700;
}

.summary-value {
    color: var(--navy-dark);
    font-size: 0.87rem;
    font-weight: 720;
    text-align: right;
}

.summary-value.capitalize {
    text-transform: capitalize;
}

.profile-header-card {
    display: flex;
    align-items: center;
    gap: 22px;
    margin: 16px 32px 0;
    padding: 24px;
    background: linear-gradient(135deg, var(--navy) 0%, #1a437c 100%);
    border-radius: 18px;
    box-shadow: 0 12px 34px rgba(18, 53, 106, 0.22);
    color: #ffffff;
    flex-wrap: wrap;
}

.profile-avatar-lg {
    width: 84px;
    height: 84px;
    display: grid;
    place-items: center;
    flex: 0 0 84px;
    background: rgba(255, 255, 255, 0.18);
    border: 3px solid rgba(255, 255, 255, 0.32);
    border-radius: 50%;
    font-size: 2rem;
    font-weight: 780;
    color: #ffffff;
}

.profile-info h2 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 760;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.profile-info-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.info-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    color: #e2edfd;
    font-size: 0.8rem;
    font-weight: 650;
}

.info-chip svg {
    width: 15px;
    height: 15px;
}

.info-chip-role {
    background: rgba(115, 167, 245, 0.3);
    border-color: rgba(115, 167, 245, 0.45);
    color: #d9e7ff;
}

.profile-forms-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 20px 32px 40px;
}

.form-card {
    padding: 24px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 3px 12px rgba(31, 62, 104, 0.04);
}

.form-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.form-card-header h2 {
    color: var(--navy-dark);
    font-size: 1.15rem;
    font-weight: 750;
    letter-spacing: -0.02em;
}

.form-card-header p {
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.85rem;
    line-height: 1.55;
}

.form-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: grid;
    place-items: center;
    border-radius: 12px;
}

.form-icon svg {
    width: 24px;
    height: 24px;
}

.submission-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.form-field label {
    color: #344a66;
    font-size: 0.83rem;
    font-weight: 720;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    min-height: 46px;
    padding: 11px 13px;
    color: #172b4d;
    background: #ffffff;
    border: 1px solid #ccd7e5;
    border-radius: 9px;
    font: inherit;
    font-size: 0.9rem;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

.form-field textarea {
    min-height: auto;
    padding: 12px 13px;
    resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #9aa8b9;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: #548bd0;
    box-shadow: 0 0 0 3px rgba(35, 100, 189, 0.12);
    outline: none;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 4px 0;
}

.form-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--blue);
    cursor: pointer;
    flex: 0 0 18px;
}

.form-check label {
    color: #344a66;
    font-size: 0.86rem;
    font-weight: 600;
    line-height: 1.45;
    cursor: pointer;
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding-top: 4px;
}

@media (max-width: 1080px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .detail-grid {
        grid-template-columns: 1fr;
    }

    .detail-sidebar {
        position: static;
    }

    .profile-forms-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 960px) {
    .stats-grid,
    .quick-actions {
        padding: 18px 20px 8px;
    }

    .section-panel {
        margin: 18px 20px 0;
    }

    .filter-tabs {
        margin: 0 20px;
        padding: 14px 20px 0;
    }

    .table-wrapper {
        margin: 18px 20px 0;
    }

    .cards-grid {
        margin: 18px 20px 0;
    }

    .back-link {
        padding: 16px 20px 0;
    }

    .detail-grid {
        padding: 14px 20px 32px;
    }

    .profile-header-card {
        margin: 14px 20px 0;
    }

    .profile-forms-grid {
        padding: 18px 20px 32px;
    }
}

@media (max-width: 760px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .stat-card {
        padding: 16px;
        gap: 12px;
    }

    .stat-icon {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
        border-radius: 11px;
    }

    .stat-icon svg {
        width: 22px;
        height: 22px;
    }

    .stat-value {
        font-size: 1.45rem;
    }

    .table-wrapper {
        display: none;
    }

    .cards-grid {
        display: grid;
    }

    .profile-header-card {
        padding: 20px;
        gap: 16px;
    }

    .profile-avatar-lg {
        width: 64px;
        height: 64px;
        flex-basis: 64px;
        font-size: 1.5rem;
    }

    .profile-info h2 {
        font-size: 1.25rem;
    }
}

@media (max-width: 520px) {
    .stats-grid,
    .quick-actions {
        padding-left: 16px;
        padding-right: 16px;
    }

    .section-panel,
    .table-wrapper,
    .cards-grid {
        margin-left: 16px;
        margin-right: 16px;
    }

    .filter-tabs {
        margin: 0 16px;
        padding: 12px 16px 0;
    }

    .back-link {
        padding: 14px 16px 0;
    }

    .detail-grid {
        padding: 12px 16px 28px;
    }

    .profile-header-card {
        margin: 12px 16px 0;
        padding: 18px 16px;
    }

    .profile-forms-grid {
        padding: 16px 16px 28px;
    }

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

    .section-panel {
        padding: 18px 16px;
        border-radius: 14px;
    }

    .detail-card,
    .form-card {
        padding: 18px 16px;
        border-radius: 14px;
    }

    .form-card-header {
        flex-direction: column-reverse;
        align-items: flex-start;
    }
}

.sidebar-role-label {
    margin: 18px 22px 10px;
    padding: 6px 11px;
    background: rgba(35, 100, 189, 0.35);
    border: 1px solid rgba(115, 167, 245, 0.35);
    border-radius: 8px;
    color: #cfe1ff;
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sidebar-menu {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 6px 14px 18px;
    overflow-y: auto;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 13px;
    color: #cfdcef;
    border-radius: 9px;
    font-size: 0.88rem;
    font-weight: 600;
    transition: background-color 140ms ease, color 140ms ease;
}

.sidebar-link:hover {
    background: rgba(255,255,255,0.06);
    color: #ffffff;
}

.sidebar-link.active {
    background: #2364bd;
    color: #ffffff;
    border-radius: 9px;
}

.sidebar-link-icon {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    display: inline-grid;
    place-items: center;
}

.sidebar-footer {
    padding: 14px 18px 22px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.sidebar-user-card {
    display: flex;
    align-items: center;
    gap: 11px;
}

.sidebar-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    display: grid;
    place-items: center;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9rem;
}

.sidebar-user-meta {
    min-width: 0;
    flex: 1;
}

.sidebar-user-meta strong {
    display: block;
    font-size: 0.86rem;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-user-meta span {
    display: block;
    font-size: 0.72rem;
    color: #9fb4d1;
}

.topbar-title {
    flex: 1;
    min-width: 0;
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.page-title {
    font-size: 1.45rem;
    font-weight: 750;
    color: #12356a;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.page-subtitle {
    margin-top: 4px;
    font-size: 0.86rem;
    color: #65758a;
    line-height: 1.5;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.stat-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
    border: 1px solid #eef2f8;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
}

.stat-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.stat-icon svg {
    width: 22px;
    height: 22px;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: #12356a;
    letter-spacing: -0.03em;
    line-height: 1;
}

.stat-label {
    font-size: 0.82rem;
    color: #65758a;
    font-weight: 500;
}

.card {
    background: #ffffff;
    border-radius: 14px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.03);
    border: 1px solid #eef2f8;
}

.responsive-wrapper {
    overflow-x: auto;
    width: 100%;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table thead {
    position: sticky;
    top: 0;
    z-index: 1;
}

.data-table th {
    padding: 12px 18px;
    text-align: left;
    font-size: 0.74rem;
    font-weight: 750;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #65758a;
    background: #f8fafc;
    border-bottom: 1px solid #e7edf5;
}

.data-table td {
    padding: 14px 18px;
    font-size: 0.86rem;
    color: #2d3f58;
    border-bottom: 1px solid #f1f5fa;
    vertical-align: middle;
}

.data-table tbody tr:nth-child(even) {
    background: #fafbfd;
}

.data-table tbody tr:hover {
    background: #f5f8fd;
}

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

.form-group {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.form-label {
    color: #344a66;
    font-size: 0.83rem;
    font-weight: 700;
}

.form-control,
.form-select,
.form-textarea {
    width: 100%;
    min-height: 48px;
    padding: 11px 13px;
    color: #172b4d;
    background: #ffffff;
    border: 1px solid #ccd7e5;
    border-radius: 8px;
    font: inherit;
    font-size: 0.9rem;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

.form-control::placeholder,
.form-textarea::placeholder {
    color: #9aa8b9;
}

.form-control:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: #548bd0;
    box-shadow: 0 0 0 3px rgba(35, 100, 189, 0.12);
    outline: none;
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.6;
}

.form-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2365758a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 13px center;
    background-size: 16px;
    padding-right: 38px;
    cursor: pointer;
}

.form-text {
    margin-top: 4px;
    font-size: 0.75rem;
    color: #718198;
}

.btn {
    min-height: 46px;
    padding: 11px 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    color: #ffffff !important;
    background: #2364bd;
    border-color: #2364bd;
    box-shadow: 0 5px 13px rgba(35, 100, 189, 0.18);
}

.btn-primary:hover {
    background: #194f9e;
    border-color: #194f9e;
    box-shadow: 0 8px 18px rgba(35, 100, 189, 0.25);
}

.btn-secondary {
    color: #12356a;
    background: #f3f7fc;
    border-color: #dbe5f1;
}

.btn-secondary:hover {
    background: #eaf0f9;
    border-color: #c9d7e8;
}

.btn-outline {
    color: #12356a;
    background: #ffffff;
    border-color: #cbd7e7;
}

.btn-outline:hover {
    background: #f3f7fc;
    border-color: #9db1cc;
}

.btn-danger {
    color: #ffffff !important;
    background: #dc2626;
    border-color: #dc2626;
    box-shadow: 0 5px 13px rgba(220, 38, 38, 0.16);
}

.btn-danger:hover {
    background: #b91c1c;
    border-color: #b91c1c;
    box-shadow: 0 8px 18px rgba(220, 38, 38, 0.22);
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    padding: 3px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.5;
    text-transform: capitalize;
}

.badge-pending {
    background: #f59e0b;
    color: #78350f;
}

.badge-review {
    background: #2563eb;
    color: #ffffff;
}

.badge-progress {
    background: #7c3aed;
    color: #ffffff;
}

.badge-resolved {
    background: #16a34a;
    color: #ffffff;
}

.badge-rejected {
    background: #dc2626;
    color: #ffffff;
}

.badge-feedback {
    background: #0891b2;
    color: #ffffff;
}

.badge-suggestion {
    background: #9333ea;
    color: #ffffff;
}

.empty-state {
    text-align: center;
    padding: 40px 24px;
}

.empty-state h3 {
    margin-top: 8px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #12356a;
    letter-spacing: -0.02em;
}

.empty-state p {
    margin-top: 6px;
    font-size: 0.86rem;
    color: #65758a;
    line-height: 1.6;
}

.alert-success {
    padding: 13px 16px;
    background: #e6f5ec;
    color: #227348;
    border: 1px solid #bfe4cf;
    border-left-width: 4px;
    border-radius: 9px;
    font-size: 0.86rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.alert-error {
    padding: 13px 16px;
    background: #fff0f0;
    color: #991b1b;
    border: 1px solid #f5caca;
    border-left-width: 4px;
    border-radius: 9px;
    font-size: 0.86rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.sidebar-toggle {
    display: none;
    width: 40px;
    height: 40px;
    padding: 10px;
    border: 1px solid #e7edf5;
    border-radius: 9px;
    background: #ffffff;
    cursor: pointer;
    color: #12356a;
    flex-shrink: 0;
}

.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    z-index: 39;
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms ease;
}

.sidebar-overlay.is-open {
    display: block;
    opacity: 1;
    pointer-events: auto;
}

@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 820px) {
    .app-shell {
        grid-template-columns: minmax(0, 1fr);
    }

    .app-main-wrap {
        grid-column: 1;
    }

    .app-topbar {
        padding: 0 16px;
    }

    .sidebar-toggle {
        display: inline-grid;
        place-items: center;
    }

    .sidebar-overlay.is-open {
        display: block;
    }

    .app-content {
        padding: 1.25rem 1rem 2rem;
    }

    .page-title {
        font-size: 1.25rem;
    }

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

    .stat-card {
        padding: 1.25rem;
        border-radius: 12px;
    }

    .stat-value {
        font-size: 1.6rem;
    }

    .card {
        padding: 1.25rem;
        border-radius: 12px;
    }

    .data-table th,
    .data-table td {
        padding: 12px 14px;
        font-size: 0.82rem;
    }

    .topbar-actions .btn {
        min-height: 40px;
        padding: 9px 14px;
        font-size: 0.82rem;
    }
}

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

    .app-topbar {
        height: auto;
        min-height: 72px;
        padding: 12px 14px;
        flex-wrap: wrap;
    }

    .page-title {
        font-size: 1.15rem;
    }

    .btn {
        width: 100%;
    }

    .topbar-actions {
        width: 100%;
    }

    .topbar-actions .btn {
        flex: 1;
        min-width: 0;
    }
}

.sidebar-close-btn {
    display: none;
}

@media (max-width: 768px) {
    .sidebar-close-btn {
        width: 36px;
        height: 36px;
        display: grid;
        align-content: center;
        justify-items: center;
        gap: 5px;
        flex: 0 0 36px;
        padding: 7px;
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 8px;
        background: transparent;
        cursor: pointer;
    }

    .sidebar-close-btn span {
        width: 18px;
        height: 2px;
        display: block;
        background: #ffffff;
        border-radius: 2px;
    }

    .sidebar-close-btn span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .sidebar-close-btn span:nth-child(2) {
        opacity: 0;
    }

    .sidebar-close-btn span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

:root {
    --font-sans: "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 4px 14px rgba(15, 23, 42, 0.08);
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
}

body,
.app-shell,
.admin-layout,
.auth-layout,
.landing-page {
    font-family: var(--font-sans) !important;
}

.topbar-user {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    padding: 6px 12px 6px 6px;
    background: #f6f9fd;
    border: 1px solid #e3ecf7;
    border-radius: 9999px;
    flex-shrink: 0;
}

.topbar-user-avatar {
    width: 36px;
    height: 36px;
    display: inline-grid;
    place-items: center;
    background: linear-gradient(135deg, #2364bd, #3f82dd);
    color: #ffffff;
    border-radius: 50%;
    font-weight: 800;
    font-size: 0.88rem;
    letter-spacing: -0.01em;
}

.topbar-user-meta {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    min-width: 0;
}

.topbar-user-meta strong {
    font-size: 0.84rem;
    color: #12356a;
    font-weight: 700;
}

.topbar-user-meta span {
    font-size: 0.7rem;
    color: #65758a;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

@media (max-width: 640px) {
    .topbar-user-meta {
        display: none;
    }
    .topbar-user {
        padding: 4px;
    }
}

.button-success,
.btn-success {
    color: #ffffff !important;
    background: #16a34a;
    border-color: #16a34a;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.18);
}
.button-success:hover,
.btn-success:hover {
    background: #15803d;
    border-color: #15803d;
}
.button-success:focus-visible,
.btn-success:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.25), 0 4px 12px rgba(22, 163, 74, 0.18);
}

.button-warning,
.btn-warning,
.btn-warn {
    color: #ffffff !important;
    background: #d97706;
    border-color: #d97706;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.18);
}
.button-warning:hover,
.btn-warning:hover,
.btn-warn:hover {
    background: #b45309;
    border-color: #b45309;
}
.button-warning:focus-visible,
.btn-warning:focus-visible,
.btn-warn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.25), 0 4px 12px rgba(217, 119, 6, 0.18);
}

.btn-accent {
    color: #ffffff !important;
    background: #2364bd;
    border-color: #2364bd;
    box-shadow: 0 4px 12px rgba(35, 100, 189, 0.18);
}
.btn-accent:hover {
    background: #194f9e;
    border-color: #194f9e;
}

.btn-view,
.btn-sm-view {
    min-height: 34px;
    padding: 6px 12px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #12356a;
    background: #eef4fc;
    border: 1px solid #cbdcf1;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 150ms ease, border-color 150ms ease;
}
.btn-view:hover,
.btn-sm-view:hover {
    background: #dde8f7;
    border-color: #b3c9e6;
}
.btn-view:focus-visible,
.btn-sm-view:focus-visible {
    outline: 2px solid #2364bd;
    outline-offset: 2px;
}

.button-sm,
.button-small {
    min-height: 34px;
    padding: 6px 12px;
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: 8px;
}

.button-primary[disabled],
.button-outline[disabled],
.button-success[disabled],
.button-warning[disabled],
.button-danger[disabled],
.btn[disabled],
.btn-primary[disabled],
.btn-secondary[disabled],
.btn-outline[disabled],
.btn-danger[disabled],
.btn-success[disabled],
.btn-warning[disabled],
.btn-accent[disabled] {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.button-primary:focus-visible,
.button-outline:focus-visible,
.button-danger:focus-visible,
.button-text:focus-visible,
.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.btn-outline:focus-visible,
.btn-danger:focus-visible,
.btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(35, 100, 189, 0.22);
}

.badge-status-review,
.badge-review,
.badge-status-under-review {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}
.badge-status-review::before,
.badge-review::before,
.badge-status-under-review::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 6px;
    background: #2563eb;
    border: 2px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 0 1px #93c5fd;
}

.badge-status-rejected,
.badge-rejected {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}
.badge-status-rejected::before,
.badge-rejected::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 6px;
    background: linear-gradient(45deg, transparent 42%, #dc2626 42%, #dc2626 58%, transparent 58%), linear-gradient(-45deg, transparent 42%, #dc2626 42%, #dc2626 58%, transparent 58%);
    background-color: #fee2e2;
    border-radius: 1px;
}

.badge-status-approved,
.badge-approved {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}
.badge-status-approved::before,
.badge-approved::before {
    content: "";
    display: inline-block;
    width: 9px;
    height: 6px;
    margin-right: 7px;
    border-left: 2px solid #15803d;
    border-bottom: 2px solid #15803d;
    transform: rotate(-45deg) translateY(-1px);
}

.badge-user-active,
.badge-active {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}
.badge-user-active::before,
.badge-active::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 7px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 0 3px #86efac inset, 0 0 0 2px #bbf7d0;
}

.badge-user-inactive,
.badge-inactive {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}
.badge-user-inactive::before,
.badge-inactive::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 7px;
    background: #94a3b8;
    border-radius: 50%;
    box-shadow: 0 0 0 3px #cbd5e1 inset;
}

.badge-type-feedback::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 6px;
    background: #0891b2;
    border-radius: 50%;
}

.badge-type-suggestion::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 6px;
    background: #9333ea;
    border-radius: 50%;
}

.admin-layout {
    font-family: var(--font-sans) !important;
    display: flex;
    min-height: 100vh;
    background: #f4f7fb;
    color: #172b4d;
    line-height: 1.6;
}
.admin-layout a { color: inherit; text-decoration: none; }
.admin-layout .sidebar { display: none; }
.admin-layout .main-content {
    margin-left: 260px;
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}
.admin-layout .app-main-wrap + .main-content,
.admin-layout.app-shell .main-content {
    margin-left: 0;
}
@media (max-width: 768px) {
    .admin-layout .main-content { margin-left: 0; }
}

.panel,
.section-panel {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: var(--shadow-sm), 0 1px 3px rgba(15, 23, 42, 0.04);
    border: 1px solid #eef2f8;
    overflow: hidden;
}
.panel-header {
    padding: 18px 22px;
    border-bottom: 1px solid #eef2f8;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}
.panel-header h2 {
    font-size: 1.05rem;
    font-weight: 750;
    color: #12356a;
    letter-spacing: -0.02em;
    margin: 0;
}
.panel-header p {
    font-size: 0.82rem;
    color: #65758a;
    margin: 4px 0 0;
}
.panel-body {
    padding: 20px 22px;
}

.filters-panel {
    background: #ffffff;
    border: 1px solid #eef2f8;
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
    padding: 18px 20px;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px 14px;
    align-items: end;
    margin-bottom: 18px;
}
.filters-panel .field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}
.filters-panel label {
    font-size: 0.74rem;
    font-weight: 750;
    color: #42556d;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.filters-panel .btn {
    min-height: 42px;
}
@media (max-width: 1200px) {
    .filters-panel { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
    .filters-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 16px; }
}
@media (max-width: 520px) {
    .filters-panel { grid-template-columns: 1fr; }
}

.table-wrap,
.responsive-wrapper {
    overflow-x: auto;
    width: 100%;
    background: #ffffff;
    border: 1px solid #eef2f8;
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
}
.table-wrap table,
.table {
    width: 100%;
    border-collapse: collapse;
}
.table-wrap .table thead,
.table thead {
    background: #f8fafc;
}
.table-wrap .table th,
.table th {
    padding: 12px 18px;
    text-align: left;
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #5a6b83;
    border-bottom: 1px solid #e7edf5;
    white-space: nowrap;
}
.table-wrap .table td,
.table td {
    padding: 14px 18px;
    font-size: 0.86rem;
    color: #2d3f58;
    border-bottom: 1px solid #f1f5fa;
    vertical-align: middle;
}
.table-wrap .table tbody tr:hover,
.table tbody tr:hover {
    background: #f5f8fd;
}
.table-wrap .table tbody tr:last-child td,
.table tbody tr:last-child td {
    border-bottom: 0;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    background: #ffffff;
    border: 1px solid #eef2f8;
    border-top: 0;
    border-radius: 0 0 14px 14px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.pagination-info {
    font-size: 0.82rem;
    color: #65758a;
    font-weight: 600;
}
.pagination-controls {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.page-btn {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: 8px;
    border: 1px solid #dbe5f1;
    background: #ffffff;
    color: #344a66;
    font-weight: 700;
    font-size: 0.82rem;
    cursor: pointer;
    display: inline-grid;
    place-items: center;
    text-decoration: none;
    transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}
.page-btn:hover {
    background: #f3f7fc;
    border-color: #b3c9e6;
}
.page-btn.is-active {
    background: #2364bd;
    border-color: #2364bd;
    color: #ffffff;
    box-shadow: 0 3px 10px rgba(35, 100, 189, 0.22);
}
.page-btn[disabled],
.page-btn.is-disabled {
    opacity: 0.45;
    cursor: not-allowed;
    background: #ffffff;
}
.page-btn:focus-visible {
    outline: 2px solid #2364bd;
    outline-offset: 2px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}
@media (max-width: 960px) {
    .grid-2 { grid-template-columns: 1fr; }
}

.status-cards {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}
.status-card {
    background: #ffffff;
    border: 1px solid #eef2f8;
    border-radius: 14px;
    padding: 16px 18px;
    box-shadow: var(--shadow-sm);
}
.status-card-label {
    font-size: 0.76rem;
    color: #65758a;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.status-card-value {
    margin-top: 8px;
    font-size: 1.65rem;
    font-weight: 800;
    color: #12356a;
    letter-spacing: -0.03em;
    line-height: 1;
}
.status-card-bar {
    margin-top: 12px;
    height: 6px;
    background: #eef2f8;
    border-radius: 9999px;
    overflow: hidden;
}
.status-card-bar > span {
    display: block;
    height: 100%;
    background: #2364bd;
    border-radius: 9999px;
}
@media (max-width: 1080px) {
    .status-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
    .status-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
    .status-cards { grid-template-columns: 1fr; }
}

.cat-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px dashed #e7edf5;
}
.cat-row:last-child { border-bottom: 0; }
.cat-row-label {
    min-width: 140px;
    font-size: 0.85rem;
    font-weight: 650;
    color: #344a66;
}
.cat-row-bar {
    flex: 1;
    height: 10px;
    background: #eef2f8;
    border-radius: 9999px;
    overflow: hidden;
}
.cat-row-bar > span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #2364bd, #3f82dd);
    border-radius: 9999px;
}
.cat-row-value {
    min-width: 56px;
    text-align: right;
    font-size: 0.82rem;
    font-weight: 750;
    color: #12356a;
}

.ratio-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid #eef2f8;
}
.ratio-bar:last-child { border-bottom: 0; }
.ratio-bar-label {
    font-size: 0.86rem;
    font-weight: 650;
    color: #344a66;
    min-width: 130px;
}
.ratio-bar-track {
    flex: 1;
    height: 10px;
    background: #eef2f8;
    border-radius: 9999px;
    overflow: hidden;
}
.ratio-bar-track > span {
    display: block;
    height: 100%;
    border-radius: 9999px;
}
.ratio-bar-value {
    font-weight: 800;
    color: #12356a;
    min-width: 56px;
    text-align: right;
    font-size: 0.92rem;
}

.resolution-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
@media (max-width: 640px) {
    .resolution-grid { grid-template-columns: 1fr; }
}

.stat-card.c-navy .stat-icon { background: #e1ecff; color: #12356a; }
.stat-card.c-blue .stat-icon { background: #dbeafe; color: #1d4ed8; }
.stat-card.c-violet .stat-icon { background: #ede9fe; color: #7c3aed; }
.stat-card.c-green .stat-icon { background: #dcfce7; color: #15803d; }
.stat-card.c-amber .stat-icon { background: #fef3c7; color: #b45309; }
.stat-card.c-rose .stat-icon { background: #ffe4e6; color: #be123c; }
.stat-card.c-slate .stat-icon { background: #f1f5f9; color: #475569; }

.form-error,
.field-error {
    margin-top: 4px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.76rem;
    color: #991b1b;
    font-weight: 650;
}
.form-error::before,
.field-error::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fee2e2;
    border: 1.5px solid #dc2626;
    box-shadow: inset 0 0 0 2px #ffffff;
    flex-shrink: 0;
}
.form-success,
.field-success {
    margin-top: 4px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.76rem;
    color: #166534;
    font-weight: 650;
}
.form-success::before,
.field-success::before {
    content: "";
    width: 12px;
    height: 7px;
    border-left: 2px solid #15803d;
    border-bottom: 2px solid #15803d;
    transform: rotate(-45deg) translateY(-1px);
    display: inline-block;
    flex-shrink: 0;
}

input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12) !important;
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    background: linear-gradient(135deg, #2364bd, #3f82dd);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.85rem;
    flex-shrink: 0;
}
.user-avatar.c-violet { background: linear-gradient(135deg, #7c3aed, #a855f7); }
.user-avatar.c-green { background: linear-gradient(135deg, #15803d, #22c55e); }
.user-avatar.c-amber { background: linear-gradient(135deg, #b45309, #f59e0b); }
.user-avatar.c-rose { background: linear-gradient(135deg, #be123c, #f43f5e); }

.user-avatar-sm {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}
.user-avatar-sm-admin { background: var(--violet); }
.user-avatar-sm-staff { background: var(--blue); }
.user-avatar-sm-student { background: var(--navy); }

.role-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    font-size: 0.72rem;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: 9999px;
}
.role-badge.role-admin { background: #ede9fe; color: #6d28d9; border: 1px solid #ddd6fe; }
.role-badge.role-staff { background: #dbeafe; color: #1d4ed8; border: 1px solid #bfdbfe; }
.role-badge.role-student,
.role-badge.role-learner { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }

.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 8px;
    background: #22c55e;
    box-shadow: 0 0 0 2px #bbf7d0;
}
.status-dot.is-inactive { background: #94a3b8; box-shadow: 0 0 0 2px #e2e8f0; }
.status-dot.is-pending { background: #f59e0b; box-shadow: 0 0 0 2px #fde68a; }
.status-dot.is-error { background: #dc2626; box-shadow: 0 0 0 2px #fecaca; }

.app-shell .field,
.app-shell .form-field,
.auth-field {
    gap: 8px;
}

.app-shell .password-hint {
    margin-top: 2px;
    color: var(--gray-500);
    font-size: 0.78rem;
    line-height: 1.5;
}

.app-shell .password-hint ul {
    margin: 4px 0 0 18px;
    padding: 0;
}

.app-shell .field label,
.app-shell .form-field label,
.app-shell .filters-panel label,
.auth-field label {
    color: #344a66;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: normal;
    text-transform: none;
}

.app-shell .field input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.app-shell .field select,
.app-shell .field textarea,
.app-shell .form-field input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.app-shell .form-field select,
.app-shell .form-field textarea,
.app-shell .filters-panel input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.app-shell .filters-panel select,
.app-shell .filters-panel textarea,
.auth-field input {
    box-sizing: border-box;
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    color: #172b4d;
    background-color: #ffffff;
    border: 1px solid #ccd7e5;
    border-radius: 9px;
    font: inherit;
    font-size: 0.9rem;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

.app-shell .field textarea,
.app-shell .form-field textarea {
    min-height: 112px;
    resize: vertical;
}

.app-shell .field input[type="file"],
.app-shell .form-field input[type="file"] {
    padding: 6px 8px;
}

.app-shell .field input[type="file"]::file-selector-button,
.app-shell .form-field input[type="file"]::file-selector-button {
    min-height: 30px;
    margin-right: 10px;
    padding: 4px 10px;
    color: #234f88;
    background: #edf4ff;
    border: 1px solid #d4e3f7;
    border-radius: 6px;
    font: inherit;
    font-weight: 650;
    cursor: pointer;
}

.app-shell .field input::placeholder,
.app-shell .field textarea::placeholder,
.app-shell .form-field input::placeholder,
.app-shell .form-field textarea::placeholder,
.app-shell .filters-panel input::placeholder,
.auth-field input::placeholder {
    color: #9aa8b9;
}

.app-shell .field input:focus,
.app-shell .field select:focus,
.app-shell .field textarea:focus,
.app-shell .form-field input:focus,
.app-shell .form-field select:focus,
.app-shell .form-field textarea:focus,
.app-shell .filters-panel input:focus,
.app-shell .filters-panel select:focus,
.app-shell .filters-panel textarea:focus,
.auth-field input:focus {
    border-color: #548bd0;
    outline: none;
    box-shadow: 0 0 0 3px rgba(35, 100, 189, 0.12);
}

.app-shell .field input:disabled,
.app-shell .field select:disabled,
.app-shell .form-field input:disabled,
.app-shell .form-field select:disabled,
.auth-field input:disabled {
    color: #64748b;
    background-color: #f4f7fb;
    cursor: not-allowed;
}

.app-shell .field input[type="checkbox"],
.app-shell .form-field input[type="checkbox"],
.app-shell .field input[type="radio"],
.app-shell .form-field input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--blue);
}

.app-shell .filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
    gap: 14px;
    align-items: end;
}

.app-shell .table-role-select {
    min-height: 34px;
    padding: 5px 8px;
    color: #172b4d;
    background: #ffffff;
    border: 1px solid #ccd7e5;
    border-radius: 7px;
    font: inherit;
    font-size: 0.8rem;
}

.app-shell .filters-actions,
.app-shell .form-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.app-shell .filters-actions .btn,
.app-shell .form-actions .button,
.app-shell .form-actions .btn,
.app-shell form > button[type="submit"] {
    min-height: 44px;
    border-radius: 8px;
    font-weight: 700;
}

.app-shell .field small,
.app-shell .form-field small,
.auth-field-hint {
    color: #718198;
    font-size: 0.76rem;
    line-height: 1.5;
}

@media (max-width: 520px) {
    .app-shell .filters-grid {
        grid-template-columns: 1fr;
    }

    .app-shell .form-actions > .button,
    .app-shell .form-actions > .btn,
    .app-shell .filters-actions > .button,
    .app-shell .filters-actions > .btn {
        flex: 1 1 auto;
    }
}

.users-filters-panel {
    display: block;
}

.app-shell .users-filters-grid {
    grid-template-columns: minmax(0, 2.5fr) minmax(150px, 1fr) auto;
}

@media (max-width: 520px) {
    .app-shell .users-filters-grid {
        grid-template-columns: 1fr;
    }
}

.action-links { 
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
    .btn:hover,
    .button-primary:hover,
    .button-outline:hover,
    .button-success:hover,
    .button-warning:hover,
    .button-danger:hover,
    .btn-primary:hover,
    .btn-secondary:hover,
    .btn-outline:hover,
    .btn-danger:hover,
    .btn-success:hover,
    .btn-warning:hover,
    .btn-accent:hover,
    .btn-view:hover,
    .btn-sm-view:hover {
        transform: none !important;
    }
    .app-sidebar,
    .sidebar-overlay {
        transition: none !important;
    }
}
