/* Netsuke AI Admin Console — "Sumi-e / Washi" theme
   Washi-paper canvas, sumi-ink text, a vermilion seal (朱) accent with indigo
   support. Shippori Mincho headings + Zen Kaku Gothic New body. */

:root {
    --washi:      #f4f1ea;   /* paper canvas */
    --washi-deep: #ece7da;
    --surface:    #fbf9f3;   /* card surface, warm white */
    --surface-2:  #f5f1e7;   /* inset / hover */
    --ink:        #201c17;   /* sumi ink — primary text */
    --ink-2:      #4b443a;   /* secondary */
    --ink-3:      #8b8273;   /* muted / labels */
    --line:       #e4ddcf;   /* hairline border */
    --line-2:     #d8cfbc;   /* stronger line */
    --shu:        #b3402f;   /* vermilion seal — primary accent */
    --shu-deep:   #8f3122;
    --shu-tint:   #f4e4e0;
    --ai:         #2f3a5f;   /* indigo (藍) — support accent */
    --ai-deep:    #232c4a;
    --ai-tint:    #e8ebf2;
    --bamboo:     #5e7551;   /* muted green */
    --ochre:      #a9772a;
    --plum:       #7a4a73;
    --radius:     6px;
    --radius-lg:  11px;
    --shadow:     0 1px 2px rgba(32,28,23,.06), 0 1px 3px rgba(32,28,23,.05);
    --shadow-lg:  0 12px 34px rgba(32,28,23,.13);
    --serif: 'Shippori Mincho', 'Noto Serif JP', Georgia, 'Times New Roman', serif;
    --sans:  'Zen Kaku Gothic New', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --mono:  'DM Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

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

body {
    font-family: var(--sans);
    color: var(--ink);
    background-color: var(--washi);
    background-image:
        radial-gradient(130% 90% at 50% -10%, rgba(255,255,255,.55), rgba(255,255,255,0) 55%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 36px 22px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.container {
    width: 100%;
    max-width: 1240px;
}

/* Authentication Styles */
.auth-container {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 44px 40px;
    box-shadow: var(--shadow-lg);
    max-width: 420px;
    margin: 9vh auto 0;
}

/* Main Container */
.main-container {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 0;
    box-shadow: var(--shadow);
    display: none;
    min-height: 80vh;
}

/* Admin Header with Menu */
.admin-header {
    background: linear-gradient(180deg, var(--surface), var(--surface-2));
    border-bottom: 1px solid var(--line);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    position: relative;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 32px;
}

.header-content h1 {
    margin: 0;
    color: var(--ink);
    font-family: var(--serif);
    font-size: 23px;
    font-weight: 600;
    letter-spacing: .01em;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* vermilion hanko seal mark before the title */
.header-content h1::before {
    content: "朱";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: var(--shu);
    color: #fbf3ec;
    font-size: 15px;
    border-radius: 5px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.user-info {
    color: var(--ink-3);
    font-size: 13px;
}

.menu-toggle {
    background: transparent;
    color: var(--ink-2);
    border: 1px solid var(--line-2);
    padding: 8px 13px;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    transition: all .2s ease;
}

.menu-toggle:hover {
    background: var(--ink);
    color: var(--washi);
    border-color: var(--ink);
}

/* Sidebar Menu */
.sidebar-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100vh;
    background: var(--surface);
    border-left: 1px solid var(--line);
    box-shadow: -16px 0 40px rgba(32,28,23,.12);
    transition: right .32s cubic-bezier(.22,.61,.36,1);
    z-index: 2000;
}

.sidebar-menu.open {
    right: 0;
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 22px 18px;
    border-bottom: 1px solid var(--line);
}

.menu-header h3 {
    margin: 0;
    font-family: var(--serif);
    font-weight: 600;
    color: var(--ink);
}

.close-menu {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--ink-3);
    transition: color .2s;
}

.close-menu:hover { color: var(--shu); }

.menu-items {
    list-style: none;
    padding: 8px 0;
    margin: 0;
}

.menu-items li {
    border: none;
}

.menu-items a {
    display: block;
    padding: 13px 24px;
    color: var(--ink-2);
    text-decoration: none;
    font-size: 14px;
    border-left: 3px solid transparent;
    transition: all .18s ease;
}

.menu-items a:hover {
    background: var(--surface-2);
    color: var(--ink);
}

.menu-items a.active {
    background: var(--shu-tint);
    color: var(--shu-deep);
    border-left: 3px solid var(--shu);
    font-weight: 600;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(32,28,23,.34);
    backdrop-filter: blur(1.5px);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease;
}

.menu-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* Admin Sections */
.admin-section {
    display: none;
    padding: 34px 36px;
}

.admin-section.active {
    display: block;
    animation: rise .45s cubic-bezier(.22,.61,.36,1) both;
}

.admin-section h2 {
    color: var(--ink);
    font-family: var(--serif);
    font-weight: 600;
    font-size: 26px;
    text-align: left;
    margin-bottom: 26px;
    padding-bottom: 14px;
    position: relative;
}

/* short vermilion brush-rule under section titles */
.admin-section h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 46px;
    height: 2px;
    background: var(--shu);
    border-radius: 2px;
}

/* Form Styles */
h1, h2 {
    color: var(--ink);
    font-family: var(--serif);
    font-weight: 600;
    margin-bottom: 28px;
    text-align: center;
}

.form-group {
    position: relative;
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 13px;
    color: var(--ink-2);
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 11px 13px;
    border: 1px solid var(--line-2);
    border-radius: var(--radius);
    font-size: 14px;
    font-family: var(--sans);
    color: var(--ink);
    background: #fffdf8;
    transition: border-color .15s, box-shadow .15s;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--shu);
    box-shadow: 0 0 0 3px var(--shu-tint);
}

.form-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

/* Button Styles */
.btn {
    background: var(--shu);
    color: #fdf6ef;
    border: 1px solid var(--shu);
    padding: 11px 22px;
    border-radius: var(--radius);
    font-size: 15px;
    font-family: var(--sans);
    font-weight: 600;
    letter-spacing: .01em;
    cursor: pointer;
    transition: all .2s ease;
}

.btn:hover {
    background: var(--shu-deep);
    border-color: var(--shu-deep);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(143,49,34,.22);
}

.btn-secondary {
    background: transparent;
    color: var(--ink-2);
    border: 1px solid var(--line-2);
}

.btn-secondary:hover {
    background: var(--ink);
    color: var(--washi);
    border-color: var(--ink);
    box-shadow: none;
}

/* Upload Zone */
.drop-zone {
    border: 1.5px dashed var(--line-2);
    border-radius: var(--radius-lg);
    padding: 56px;
    text-align: center;
    cursor: pointer;
    transition: all .25s ease;
    background: var(--surface-2);
    margin-bottom: 30px;
}

.drop-zone:hover {
    border-color: var(--shu);
    background: var(--shu-tint);
}

.drop-zone.active {
    border-color: var(--shu);
    border-style: solid;
    background: var(--shu-tint);
}

.drop-zone p {
    color: var(--ink-2);
    font-size: 17px;
    margin-bottom: 8px;
}

.drop-zone small {
    color: var(--ink-3);
}

/* Publication Search */
.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border: 1px solid var(--line-2);
    border-top: none;
    border-radius: 0 0 var(--radius) var(--radius);
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    box-shadow: var(--shadow-lg);
}

.search-result-item {
    padding: 11px 13px;
    cursor: pointer;
    border-bottom: 1px solid var(--line);
}

.search-result-item:hover {
    background: var(--surface-2);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-title {
    font-weight: 600;
    color: var(--ink);
}

.search-result-meta {
    font-size: 12px;
    color: var(--ink-3);
    margin-top: 2px;
}

/* PDF List */
.pdf-list {
    margin-top: 40px;
}

.pdf-item {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px 20px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: border-color .2s, box-shadow .2s;
}

.pdf-item:hover {
    border-color: var(--line-2);
    box-shadow: var(--shadow);
}

.pdf-left {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.pdf-thumb {
    position: relative;
    width: 46px;
    height: 60px;
    flex-shrink: 0;
    border: 1px solid var(--line-2);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow);
    /* fallback document glyph, shown if the cover <img> 404s and hides itself */
    background-color: var(--surface-2);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%238b8273' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 3v5h5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.pdf-thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: var(--surface);
}

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

.pdf-info {
    min-width: 0;
}

.pdf-info h3 {
    margin: 0 0 5px 0;
    font-family: var(--serif);
    font-weight: 600;
    color: var(--ink);
    word-break: break-word;
}

.pdf-meta {
    color: var(--ink-3);
    font-size: 13px;
}

.pdf-status {
    padding: 4px 11px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

/* status badges — muted to sit on washi */
.status-uploaded { background: var(--ai-tint); color: var(--ai); }
.status-processing { background: #f6ecd6; color: var(--ochre); }
.status-processed { background: #e6ece0; color: var(--bamboo); }
.status-failed { background: var(--shu-tint); color: var(--shu-deep); }
.status-ingested { background: #efe5ee; color: var(--plum); }
.status-ingestion_failed { background: var(--shu-tint); color: var(--shu-deep); }

/* Metadata Form */
.metadata-form {
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 30px;
    margin-top: 30px;
    display: none;
}

.metadata-form h2 {
    text-align: left;
    margin-bottom: 20px;
}

/* Settings */
.settings-content {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow);
}

.settings-content h3 {
    color: var(--ink);
    font-family: var(--serif);
    font-weight: 600;
    margin-bottom: 14px;
    margin-top: 26px;
}

.settings-content h3:first-child {
    margin-top: 0;
}

.settings-actions {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

/* ── Analytics Dashboard ──────────────────────────────────────── */

.analytics-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.range-selector {
    display: flex;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 3px;
    gap: 2px;
}

.range-btn {
    background: transparent;
    border: none;
    padding: 7px 16px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-3);
    cursor: pointer;
    transition: all .2s;
}

.range-btn:hover { color: var(--ink); }
.range-btn.active { background: var(--surface); color: var(--shu-deep); box-shadow: var(--shadow); }

.btn-sm { padding: 8px 16px; font-size: 13px; }

/* Stat Cards */
.analytics-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}

.stat-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    animation: rise .5s cubic-bezier(.22,.61,.36,1) both;
}

/* thin vermilion accent rule at the top of each stat card */
.stat-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--shu), var(--ai));
    opacity: .85;
}

.analytics-cards .stat-card:nth-child(1) { animation-delay: .03s; }
.analytics-cards .stat-card:nth-child(2) { animation-delay: .08s; }
.analytics-cards .stat-card:nth-child(3) { animation-delay: .13s; }
.analytics-cards .stat-card:nth-child(4) { animation-delay: .18s; }

.stat-card.skeleton {
    min-height: 94px;
    background: linear-gradient(90deg, var(--surface-2) 25%, var(--washi-deep) 50%, var(--surface-2) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.4s infinite;
}
.stat-card.skeleton::before { display: none; }

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@keyframes rise {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.stat-value {
    font-family: var(--serif);
    font-size: 40px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1;
    margin-bottom: 9px;
    font-variant-numeric: lining-nums tabular-nums;
}

.stat-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-3);
}

/* Panel wrapper */
.analytics-panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 26px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

.analytics-panel h3 {
    font-family: var(--serif);
    font-size: 17px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 18px;
    text-align: left;
}

/* Horizontal bar chart */
.bar-chart { display: flex; flex-direction: column; gap: 8px; }

.bar-row {
    display: grid;
    grid-template-columns: 100px 1fr 64px;
    align-items: center;
    gap: 10px;
}

.bar-label {
    font-size: 12px;
    color: var(--ink-3);
    text-align: right;
    white-space: nowrap;
}

.bar-track {
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: 5px;
    height: 26px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--ai), var(--shu));
    border-radius: 4px;
    display: flex;
    align-items: center;
    transition: width .5s cubic-bezier(.22,.61,.36,1);
    min-width: 2px;
}

.bar-value {
    font-size: 11px;
    font-weight: 700;
    color: #fdf6ef;
    padding-left: 8px;
    white-space: nowrap;
}

.bar-msgs {
    font-size: 11px;
    color: var(--ink-3);
    text-align: left;
}

/* Monthly table */
.analytics-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.analytics-table th {
    text-align: left;
    padding: 9px 12px;
    border-bottom: 1.5px solid var(--line-2);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--ink-3);
}

.analytics-table td {
    padding: 11px 12px;
    border-bottom: 1px solid var(--line);
    color: var(--ink-2);
}

.analytics-table tr:last-child td { border-bottom: none; }
.analytics-table tr:hover td { background: var(--surface-2); }

/* Recent queries */
.query-list { display: flex; flex-direction: column; gap: 7px; }

.query-item {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 10px 13px;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-size: 13px;
    transition: border-color .18s;
}

.query-item:hover { border-color: var(--line-2); }

.query-icon { font-size: 14px; flex-shrink: 0; }

.query-date {
    color: var(--ink-3);
    font-family: var(--mono);
    font-size: 11px;
    white-space: nowrap;
    flex-shrink: 0;
    width: 48px;
}

.query-user {
    color: var(--ai);
    background: var(--ai-tint);
    font-size: 11px;
    font-weight: 700;
    padding: 1px 8px;
    border-radius: 999px;
    white-space: nowrap;
    flex-shrink: 0;
}

.query-text { color: var(--ink); }

/* Shared helpers */
.no-data {
    color: var(--ink-3);
    font-size: 13px;
    font-style: italic;
    text-align: center;
    padding: 18px 0;
    margin: 0;
}

.analytics-error {
    grid-column: 1 / -1;
    background: var(--shu-tint);
    border: 1px solid #e7c3bb;
    border-radius: var(--radius);
    padding: 16px 20px;
    color: var(--shu-deep);
    font-size: 14px;
}

/* Loading overlay (reuse existing .loading-overlay + .loading-spinner from users.css) */

/* Responsive */
@media (max-width: 768px) {
    body {
        padding: 16px 12px;
    }

    .header-content {
        padding: 16px 20px;
    }

    .admin-section {
        padding: 22px 20px;
    }

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

    .bar-row {
        grid-template-columns: 72px 1fr 52px;
    }
}

/* ── Feedback inbox ──────────────────────────────────────────── */
.feedback-intro { color: var(--ink-3); font-size: 14px; margin: -10px 0 16px; }
.feedback-list { display: flex; flex-direction: column; gap: 14px; }

.feedback-toolbar { display: flex; gap: 8px; margin: 0 0 18px; }
.feedback-tab {
    background: transparent; border: 1px solid var(--line); color: var(--ink-3);
    font-size: 13px; padding: 6px 16px; border-radius: 999px; cursor: pointer;
    transition: all .15s;
}
.feedback-tab:hover { border-color: var(--shu); color: var(--ink); }
.feedback-tab.active { background: var(--shu); border-color: var(--shu); color: #fff; }

.feedback-card.dismissed { border-left-color: #c4b8aa; opacity: .82; }
.feedback-badge.dismissed-badge { background: #ece2da; color: #8a6d4b; }
.feedback-actions { display: inline-flex; align-items: center; }
.feedback-dismiss {
    background: transparent; border: 1px solid var(--line); color: var(--ink-3);
    font-size: 12px; padding: 3px 12px; border-radius: 999px; cursor: pointer;
    transition: all .15s;
}
.feedback-dismiss:hover { border-color: var(--shu); color: var(--shu); background: var(--surface-2); }
.feedback-dismiss:disabled { opacity: .6; cursor: default; }

.feedback-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-left: 3px solid var(--shu);
    border-radius: var(--radius-lg);
    padding: 18px 20px;
    box-shadow: var(--shadow);
}
.feedback-card.replied { border-left-color: var(--bamboo); }

.feedback-head {
    display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px;
    margin-bottom: 10px;
}
.feedback-from { font-family: var(--serif); font-weight: 600; color: var(--ink); }
.feedback-email { color: var(--ai); font-family: var(--mono); font-size: 13px; text-decoration: none; }
.feedback-email:hover { text-decoration: underline; }
.feedback-meta { color: var(--ink-3); font-size: 12px; margin-left: auto; }
.feedback-badge {
    background: #e6ece0; color: var(--bamboo);
    font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
    padding: 2px 9px; border-radius: 999px;
}

.feedback-note { color: var(--ink); line-height: 1.6; white-space: pre-wrap; padding: 2px 0 4px; }
.feedback-prev-reply {
    margin-top: 12px; padding: 10px 12px;
    background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius);
    color: var(--ink-2); font-size: 13px; white-space: pre-wrap;
}
.feedback-prev-reply strong { color: var(--bamboo); font-weight: 700; font-size: 12px; }

/* Conversation thread (inbound replies + the owner's outbound replies) */
.feedback-thread { display: flex; flex-direction: column; gap: 8px; margin: 12px 0 4px; }
.fb-msg { max-width: 85%; padding: 8px 12px; border-radius: var(--radius); }
.fb-msg-meta { font-size: 11px; color: var(--ink-3); margin-bottom: 3px; }
.fb-msg-body { color: var(--ink); font-size: 13px; line-height: 1.5; white-space: pre-wrap; }
.fb-in { align-self: flex-start; background: var(--surface-2); border: 1px solid var(--line); }
.fb-out { align-self: flex-end; background: #e6ece0; border: 1px solid #d4dec8; }

.feedback-reply { margin-top: 14px; }
.feedback-reply textarea {
    width: 100%; box-sizing: border-box; min-height: 70px; resize: vertical;
    padding: 10px 12px; border: 1px solid var(--line-2); border-radius: var(--radius);
    font: inherit; color: var(--ink); background: #fffdf8;
}
.feedback-reply textarea:focus { outline: none; border-color: var(--shu); box-shadow: 0 0 0 3px var(--shu-tint); }
.feedback-reply-actions { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.feedback-reply-actions button {
    background: var(--shu); color: #fdf6ef; border: 1px solid var(--shu);
    padding: 8px 16px; border-radius: var(--radius); font: inherit; font-weight: 600; cursor: pointer;
    transition: background .2s;
}
.feedback-reply-actions button:hover { background: var(--shu-deep); }
.feedback-reply-actions button[disabled] { opacity: .6; cursor: default; }
.feedback-status { font-size: 13px; }
.feedback-noemail { margin-top: 10px; color: var(--ink-3); font-size: 13px; font-style: italic; }

