/* ── LotN Character Sheet – Frontend Form & Dashboard Styles ─────────────── */

.lotn-fe-wrap {
    max-width: 960px;
    margin: 0 auto;
    font-family: Georgia, serif;
    font-size: 14px;
    color: #1a1a1a;
}

/* ── Toolbar ─────────────────────────────────────────────────────────────── */
.lotn-fe-toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.lotn-fe-toolbar h2 { margin: 0; font-size: 22px; color: #8b0000; }

/* ── Notices ─────────────────────────────────────────────────────────────── */
.lotn-fe-notice {
    padding: 10px 16px;
    border-radius: 4px;
    margin-bottom: 16px;
    font-size: 13px;
    background: #f0f0f0;
    border: 1px solid #ccc;
}
.lotn-fe-notice.lotn-fe-warning { background: #fff3cd; border-color: #ffc107; color: #856404; }
.lotn-fe-notice.lotn-fe-info    { background: #d1ecf1; border-color: #bee5eb; color: #0c5460; }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.lotn-fe-btn {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid #888;
    background: #f5f5f5;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    font-family: Georgia, serif;
    text-decoration: none;
    color: #1a1a1a;
    line-height: 1.4;
    white-space: nowrap;
    transition: background .15s, border-color .15s;
}
.lotn-fe-btn:hover { background: #e8e8e8; text-decoration: none; color: #1a1a1a; }
.lotn-fe-btn-sm    { padding: 5px 10px; font-size: 12px; }
.lotn-fe-btn-primary { background: #8b0000; color: #fff; border-color: #8b0000; }
.lotn-fe-btn-primary:hover { background: #a00; color: #fff; }
.lotn-fe-btn-success { background: #155724; color: #fff; border-color: #155724; }
.lotn-fe-btn-success:hover { background: #1a7c2a; color: #fff; }
.lotn-fe-btn-danger  { background: #721c24; color: #fff; border-color: #721c24; }
.lotn-fe-btn-danger:hover  { background: #a00; color: #fff; }
.lotn-fe-btn:disabled { opacity: .6; cursor: not-allowed; }

/* ── Badges ──────────────────────────────────────────────────────────────── */
.lotn-fe-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-family: Arial, sans-serif;
}
.lotn-fe-badge-publish  { background: #d4edda; color: #155724; }
.lotn-fe-badge-draft    { background: #fff3cd; color: #856404; }
.lotn-fe-badge-pending  { background: #d1ecf1; color: #0c5460; }
.lotn-fe-badge-approved { background: #cce5ff; color: #004085; }

/* ── My Character card list ──────────────────────────────────────────────── */
.lotn-fe-card-list { display: flex; flex-direction: column; gap: 10px; }
.lotn-fe-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fafaf8;
    gap: 12px;
    flex-wrap: wrap;
}
.lotn-fe-card:hover { border-color: #8b0000; }
.lotn-fe-card-info strong { font-size: 16px; display: block; margin-bottom: 4px; }
.lotn-fe-meta-row { font-size: 12px; color: #666; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.lotn-fe-card-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

/* ── Form sections ───────────────────────────────────────────────────────── */
.lotn-fe-form-wrap { padding: 0; }
.lotn-fe-section {
    background: #fff;
    border: 1px solid #e0d8cc;
    border-radius: 6px;
    padding: 18px 20px;
    margin-bottom: 16px;
}
.lotn-fe-section-title {
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    border-top: 1px solid #c9b99a;
    border-bottom: 1px solid #c9b99a;
    padding: 5px 0;
    margin: 0 0 14px;
    color: #1a1a1a;
}
.lotn-fe-hint { font-size: 11px; text-align: center; color: #888; margin: -8px 0 10px; font-style: italic; }

/* ── Grid layouts ────────────────────────────────────────────────────────── */
.lotn-fe-grid { display: grid; gap: 10px 20px; }
.lotn-fe-grid-2 { grid-template-columns: repeat(2, 1fr); }
.lotn-fe-grid-3 { grid-template-columns: repeat(3, 1fr); }
.lotn-fe-grid-4 { grid-template-columns: repeat(4, 1fr); }
.lotn-fe-grid h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .5px; margin: 0 0 8px; border-bottom: 1px solid #e0d8cc; padding-bottom: 4px; }

/* ── Form inputs ─────────────────────────────────────────────────────────── */
.lotn-fe-form-wrap label {
    display: flex;
    flex-direction: column;
    font-size: 12px;
    font-weight: 600;
    gap: 4px;
    color: #444;
}
.lotn-fe-form-wrap input[type="text"],
.lotn-fe-form-wrap input[type="number"],
.lotn-fe-form-wrap select,
.lotn-fe-form-wrap textarea {
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 6px 8px;
    font-size: 13px;
    font-family: Georgia, serif;
    background: #fff;
    color: #1a1a1a;
    width: 100%;
}
.lotn-fe-form-wrap input:disabled,
.lotn-fe-form-wrap select:disabled,
.lotn-fe-form-wrap textarea:disabled {
    background: #f5f5f5;
    color: #888;
    cursor: not-allowed;
}

/* ── Dot pickers ────────────────────────────────────────────────────────── */
/* CSS pip system — no Unicode, works in print */
.lotn-pip-row   { display:inline-flex; align-items:center; gap:3px; vertical-align:middle; }
.lotn-pip       { display:inline-block; width:12px; height:12px; border-radius:50%;
                  border:1.5px solid #ccc; background:transparent;
                  transition:background .1s, border-color .1s; }
.lotn-pip.lotn-pip-filled
                { background:#8b0000; border-color:#8b0000; }

/* .lotn-dot wraps .lotn-pip for click handling */
.lotn-dot       { cursor:pointer; user-select:none; display:inline-flex; }
.lotn-dot:hover .lotn-pip       { border-color:#c0392b; }
.lotn-dot:hover .lotn-pip.lotn-pip-filled { background:#c0392b; border-color:#c0392b; }
/* Once hovered, un-filled dots after the hovered one revert */

/* ── Dot picker rows ─────────────────────────────────────────────────────── */
.lotn-fe-form-wrap .lotn-dot-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 3px 2px;
    border-radius: 3px;
    margin-bottom: 4px;
}
.lotn-fe-form-wrap .lotn-dot-row label {
    font-size: 12px;
    font-weight: 400;
    flex-direction: row;
    align-items: center;
    gap: 0;
    color: #1a1a1a;
    flex: 1;
}
.lotn-fe-form-wrap .lotn-dots { gap: 3px; cursor: pointer; }
.lotn-fe-form-wrap .lotn-dot  { font-size: 16px; }

/* ── Repeatable tables ───────────────────────────────────────────────────── */
.lotn-rep-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.lotn-rep-table th { background: #8b0000; color: #fff; padding: 5px 8px; text-align: left; font-size: 11px; }
.lotn-rep-table td { padding: 4px 6px; border-bottom: 1px solid #eee; vertical-align: middle; }
.lotn-rep-table input[type="text"] { border: 1px solid #ccc; padding: 4px 6px; width: 100%; font-size: 13px; }
.lotn-rep-table select { border: 1px solid #ccc; padding: 3px; font-size: 13px; }
.lotn-rep-wrap { margin-bottom: 6px; }

/* ── Discipline table ────────────────────────────────────────────────────── */
#lotn-fe-disc-rows td { vertical-align: top; padding: 6px; }
#lotn-fe-disc-rows textarea { width: 100%; font-size: 12px; border: 1px solid #ccc; padding: 4px; }
#lotn-fe-disc-rows select  { width: 100%; font-size: 13px; border: 1px solid #ccc; padding: 4px; }

/* ── Form action bar ─────────────────────────────────────────────────────── */
.lotn-fe-form-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 0;
    border-top: 2px solid #8b0000;
    margin-top: 8px;
    position: sticky;
    bottom: 0;
    background: #fff;
    z-index: 10;
}
#lotn-fe-save-status { font-size: 13px; }
#lotn-fe-save-status.ok  { color: green; }
#lotn-fe-save-status.err { color: #a00; }

/* ── XP summary ──────────────────────────────────────────────────────────── */
.lotn-fe-xp-summary { display: flex; gap: 24px; font-size: 13px; margin-bottom: 12px; }

/* ── XP log table ────────────────────────────────────────────────────────── */
.lotn-fe-xp-log-table { width: 100%; border-collapse: collapse; font-size: 12px; margin-top: 8px; }
.lotn-fe-xp-log-table th { background: #8b0000; color: #fff; padding: 5px 8px; text-align: left; }
.lotn-fe-xp-log-table td { padding: 4px 8px; border-bottom: 1px solid #eee; }

/* ── Storyteller dashboard ───────────────────────────────────────────────── */
.lotn-fe-filter-bar { display: flex; gap: 8px; align-items: center; margin-bottom: 16px; flex-wrap: wrap; }
.lotn-fe-filter-bar input[type="text"],
.lotn-fe-filter-bar select { padding: 6px 8px; border: 1px solid #ccc; border-radius: 3px; font-size: 13px; }

.lotn-st-card-list { display: flex; flex-direction: column; gap: 12px; }
.lotn-st-card {
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fafaf8;
    overflow: hidden;
}
.lotn-st-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 12px 16px;
    gap: 12px;
    flex-wrap: wrap;
    border-bottom: 1px solid #eee;
}
.lotn-st-card-btns { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.lotn-st-award-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #f5f3ef;
    flex-wrap: wrap;
    font-size: 13px;
}
.lotn-st-award-row input { padding: 5px 7px; border: 1px solid #ccc; border-radius: 3px; font-size: 13px; }
.lotn-st-xp-display { margin-left: auto; font-size: 13px; color: #555; }

.lotn-st-xp-log { padding: 0 16px 12px; }
.lotn-st-xp-log summary { font-size: 12px; color: #666; cursor: pointer; padding: 8px 0; }
.lotn-st-xp-log summary:hover { color: #8b0000; }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
    .lotn-fe-grid-2,
    .lotn-fe-grid-3,
    .lotn-fe-grid-4 { grid-template-columns: 1fr; }
    .lotn-fe-card   { flex-direction: column; align-items: flex-start; }
    .lotn-st-card-header { flex-direction: column; }
    .lotn-st-award-row   { flex-direction: column; align-items: flex-start; }
    .lotn-st-xp-display  { margin-left: 0; }
    .lotn-fe-form-actions { position: static; }
}

/* ── Button focus/active — prevent blue outline sticking after click ─────── */
.lotn-fe-btn:focus        { outline: none; box-shadow: none; }
.lotn-fe-btn:focus-visible { outline: 2px solid #8b0000; outline-offset: 2px; }
.lotn-fe-btn:active       { opacity: 0.85; }

/* ── Reference boxes (City Status, Conditions) ───────────────────────────── */
.lotn-fe-ref-box {
    border: 1px solid #e0d8cc;
    border-radius: 6px;
    padding: 14px 16px;
    background: #fafaf8;
}
.lotn-fe-ref-box h4 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin: 0 0 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid #e0d8cc;
    color: #8b0000;
}
.lotn-fe-ref-box dl { margin: 0; }
.lotn-fe-ref-box dt { display: inline; }
.lotn-fe-ref-box dd { display: inline; margin: 0; color: #555; }
.lotn-fe-ref-box dd::after { content: '\A'; white-space: pre; }

/* ── Predator Type Grants Panel ──────────────────────────────────────────── */
.lotn-predator-panel {
    background: #fdf8f0;
    border: 1px solid #e0c97a;
    border-left: 4px solid #b8860b;
    border-radius: 4px;
    padding: 14px 16px;
    margin-bottom: 12px;
}
.lotn-predator-panel h4 {
    font-size: 14px;
    color: #5a3e00;
    margin: 0 0 8px;
}
.lotn-predator-meta {
    font-size: 13px;
    color: #555;
    margin-bottom: 8px;
}
.lotn-predator-note {
    font-size: 12px;
    color: #777;
    margin: 0 0 10px;
}
.lotn-grant-group {
    margin-top: 10px;
    font-size: 13px;
}
.lotn-grant-group + .lotn-grant-group {
    border-top: 1px solid #e8d99a;
    padding-top: 10px;
}
.lotn-grant-group strong {
    display: block;
    margin-bottom: 4px;
    color: #3a2a00;
}
.lotn-grant-list {
    margin: 4px 0 8px 18px;
    padding: 0;
    list-style: disc;
    color: #444;
}
.lotn-grant-list li {
    margin-bottom: 3px;
    line-height: 1.4;
}
.lotn-grant-flaws .lotn-grant-list {
    color: #7a2020;
}
.lotn-grant-flaws strong {
    color: #7a2020;
}
.lotn-apply-grants,
.lotn-apply-flaws {
    margin-top: 8px;
}

/* ── Span label (for multi-input groups) ─────────────────────────────────── */
.lotn-fe-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #555;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* ── Clan-populated readonly panels ──────────────────────────────────────── */
.lotn-fe-clan-readonly {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 8px 10px;
    font-size: 12px;
    min-height: 36px;
    line-height: 1.5;
    color: #333;
}
.lotn-fe-clan-readonly strong {
    font-size: 12px;
    color: #222;
}

/* ── Discipline blocks ───────────────────────────────────────────────── */
.lotn-disc-block {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
    margin-bottom: 8px;
    background: #fafafa;
}
.disc-block-header {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 4px;
}
.lotn-fe-disc-sel { flex: 1; min-width: 140px; }
.disc-level-label { font-size: 12px; color: #888; white-space: nowrap; }
.disc-level-sel { width: 60px; }
.disc-inclan-badge {
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 3px;
    background: #e8f4e8;
    color: #2a6a2a;
    white-space: nowrap;
}
.disc-powers-wrap { margin-top: 8px; }
.disc-power-row {
    display: flex;
    gap: 6px;
    align-items: center;
    margin-bottom: 4px;
}
.disc-power-num {
    color: #888;
    font-size: 11px;
    min-width: 14px;
    text-align: right;
}
.disc-power-sel { flex: 1; }

/* ── RCF rows ────────────────────────────────────────────────────────── */
.rcf-row {
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 6px;
    margin-bottom: 4px;
    background: #fafafa;
}

/* ── Form rows ───────────────────────────────────────────────────────── */
.form-row {
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 6px;
    margin-bottom: 4px;
    background: #fafafa;
}

/* ── Storyteller Application Form ──────────────────────────────────────── */
.lotn-app-wrap { max-width: 860px; margin: 0 auto; font-size: 15px; }
.lotn-app-q { margin-bottom: 24px; }
.lotn-app-label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 4px; color: #1a1a1a; }
.lotn-app-desc { font-size: 13px; color: #444; margin: 0 0 6px; line-height: 1.5; }
.lotn-app-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 0; }
.lotn-app-input { width: 100%; padding: 10px 12px; border: 1px solid #ccc; border-radius: 4px; font-size: 15px; box-sizing: border-box; background: #fff; }
.lotn-app-input:focus { outline: none; border-color: #8b1a1a; box-shadow: 0 0 0 2px rgba(139,26,26,.12); }
.lotn-app-readonly { background: #f5f5f5; color: #555; }
.lotn-app-textarea { width: 100%; padding: 10px 12px; border: 1px solid #ccc; border-radius: 4px; font-size: 15px; box-sizing: border-box; resize: vertical; }
.lotn-app-textarea:focus { outline: none; border-color: #8b1a1a; box-shadow: 0 0 0 2px rgba(139,26,26,.12); }
.lotn-app-check { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 8px; font-size: 15px; cursor: pointer; line-height: 1.4; }
.lotn-app-check input[type="checkbox"] { margin-top: 2px; flex-shrink: 0; width: 16px; height: 16px; }
.lotn-req { color: #c0392b; font-weight: 700; }
@media (max-width: 640px) { .lotn-app-grid-2 { grid-template-columns: 1fr; } }

/* ── Admissions Dashboard ───────────────────────────────────────────────── */
.lotn-admissions-wrap { max-width: 900px; margin: 0 auto; }
.lotn-adm-card { border: 1px solid #ddd; border-radius: 6px; margin-bottom: 16px; background: #fff; overflow: hidden; }
.lotn-adm-card-header { display: flex; justify-content: space-between; align-items: flex-start; padding: 14px 16px; gap: 12px; }
.lotn-adm-card-header strong { display: block; font-size: 15px; color: #2c0a0a; }
.lotn-adm-meta { font-size: 12px; color: #666; margin-top: 2px; }
.lotn-adm-badge { font-size: 11px; font-weight: 700; color: #fff; padding: 3px 10px; border-radius: 12px; white-space: nowrap; flex-shrink: 0; }
.lotn-adm-details { padding: 0 16px 4px; border-top: 1px solid #f0f0f0; background: #fafafa; }
.lotn-adm-field { display: grid; grid-template-columns: 180px 1fr; gap: 8px; padding: 8px 0; border-bottom: 1px solid #efefef; font-size: 13px; }
.lotn-adm-field:last-child { border-bottom: none; }
.lotn-adm-field-label { font-weight: 600; color: #555; }
.lotn-adm-field-value { color: #333; }
.lotn-adm-card-actions { padding: 10px 16px; border-top: 1px solid #f0f0f0; display: flex; align-items: flex-start; gap: 10px; flex-wrap: wrap; }
.lotn-adm-decide-wrap { flex: 1; min-width: 260px; }
.lotn-adm-note { width: 100%; padding: 6px 8px; border: 1px solid #ccc; border-radius: 4px; font-size: 13px; box-sizing: border-box; resize: vertical; }
@media (max-width: 600px) { .lotn-adm-field { grid-template-columns: 1fr; } }

/* ── Chronicle Map ──────────────────────────────────────────────────────── */
.lotn-map-wrap { width: 100%; font-size: 14px; }
.lotn-map-controls { background: #f5f5f5; border: 1px solid #ddd; padding: 14px 16px; margin-bottom: 0; }
.lotn-map-ctrl-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.lotn-map-ctrl-row label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; color: #333; }
.lotn-map-ctrl-row input, .lotn-map-ctrl-row select { padding: 7px 10px; border: 1px solid #ccc; border-radius: 4px; font-size: 14px; background: #fff; min-width: 120px; }
.lotn-map-body { display: flex; height: 450px; border: 1px solid #ddd; }
.lotn-map-list { width: 340px; flex-shrink: 0; overflow-y: auto; border-right: 1px solid #ddd; background: #1a1a1a; color: #fff; }
.lotn-map-hint { padding: 14px 16px; color: #999; font-size: 13px; }
.lotn-map-item { padding: 12px 16px; border-bottom: 1px solid #2a2a2a; cursor: pointer; }
.lotn-map-item:hover, .lotn-map-item.active { background: #2a2a2a; }
.lotn-map-item-name { display: block; font-weight: 700; color: #5b9bd5; font-size: 14px; text-decoration: none; margin-bottom: 3px; }
.lotn-map-item-name:hover { text-decoration: underline; }
.lotn-map-item-schedule { font-size: 12px; color: #bbb; margin-bottom: 2px; }
.lotn-map-item-addr { font-size: 12px; color: #aaa; }
.lotn-map-item-email { font-size: 12px; color: #aaa; margin-top: 2px; }
.lotn-map-canvas { flex: 1; }
@media (max-width: 640px) { .lotn-map-body { flex-direction: column; height: auto; } .lotn-map-list { width: 100%; max-height: 250px; border-right: none; border-bottom: 1px solid #ddd; } .lotn-map-canvas { height: 300px; } }

/* ── Chronicle Browse ───────────────────────────────────────────────────── */
.lotn-browse-wrap { max-width: 1100px; margin: 0 auto; }
.lotn-browse-filters { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.lotn-browse-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.lotn-browse-card { background: var(--lotn-card-bg, #fff); border: 1px solid #e0e0e0; border-radius: 8px; padding: 1.1rem 1.25rem; display: flex; flex-direction: column; gap: 8px; }
.lotn-browse-card-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.lotn-browse-card-name { font-size: 16px; font-weight: 700; color: #8b1a1a; text-decoration: none; line-height: 1.3; }
.lotn-browse-card-name:hover { text-decoration: underline; }
.lotn-browse-badge { font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: #fdf0f0; color: #8b1a1a; border: 1px solid #e8b4b4; white-space: nowrap; flex-shrink: 0; }
.lotn-browse-card-row { font-size: 13px; color: #555; display: flex; align-items: flex-start; gap: 6px; }
.lotn-browse-card-row i { font-size: 14px; color: #999; margin-top: 1px; flex-shrink: 0; }
.lotn-browse-card-divider { height: 1px; background: #f0f0f0; }
.lotn-browse-card-meta { display: flex; gap: 14px; flex-wrap: wrap; }
.lotn-browse-card-meta span { font-size: 12px; color: #777; display: flex; align-items: center; gap: 4px; }
.lotn-browse-card-meta i { font-size: 13px; }
.lotn-browse-card-footer { margin-top: 4px; }

/* ── Chronicle Form ─────────────────────────────────────────────────────── */
.lotn-chr-form-wrap .lotn-fe-toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.lotn-chr-editor { min-height: 120px; border: 1px solid #ccc; border-radius: 4px; padding: 8px 10px; font-size: 14px; line-height: 1.6; outline: none; }
.lotn-chr-editor:focus { border-color: #8b1a1a; }
.lotn-chr-toolbar { display: flex; gap: 4px; margin-bottom: 4px; }
.lotn-chr-toolbar button { padding: 3px 10px; border: 1px solid #ccc; border-radius: 3px; background: #f5f5f5; cursor: pointer; font-size: 13px; }
.lotn-chr-toolbar button:hover { background: #e8e8e8; }

/* ── Chronicle Public Page ──────────────────────────────────────────────── */
.lotn-chr-public-wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px 60px; font-size: 15px; }
.lotn-chr-public-header { border-bottom: 3px solid #8b1a1a; padding: 32px 0 20px; margin-bottom: 32px; }
.lotn-chr-public-badge { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 12px; border-radius: 999px; background: #fdf0f0; color: #8b1a1a; border: 1px solid #e8b4b4; margin-bottom: 10px; }
.lotn-chr-public-title { font-size: 2.2rem; font-weight: 700; color: #1a1a1a; margin: 0 0 6px; }
.lotn-chr-public-subtitle { font-size: 1rem; color: #666; margin: 0; }
.lotn-chr-public-body { display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: start; }
.lotn-chr-public-sidebar { display: flex; flex-direction: column; gap: 16px; }
.lotn-chr-public-card { background: #fff; border: 1px solid #e0e0e0; border-radius: 8px; padding: 16px 18px; }
.lotn-chr-public-card h3 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #8b1a1a; margin: 0 0 10px; }
.lotn-chr-public-card p { font-size: 14px; color: #333; margin: 0 0 4px; line-height: 1.5; }
.lotn-chr-public-card p:last-child { margin-bottom: 0; }
.lotn-chr-public-card a { color: #8b1a1a; }
.lotn-chr-icon { margin-right: 4px; }
.lotn-chr-public-main { display: flex; flex-direction: column; gap: 28px; }
.lotn-chr-public-section { background: #fff; border: 1px solid #e0e0e0; border-radius: 8px; padding: 24px 28px; }
.lotn-chr-public-section h2 { font-size: 1.1rem; font-weight: 700; color: #8b1a1a; margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid #f0f0f0; }
.lotn-chr-public-richtext { font-size: 15px; line-height: 1.7; color: #333; }
.lotn-chr-public-richtext p { margin: 0 0 12px; }
.lotn-chr-public-richtext p:last-child { margin-bottom: 0; }
.lotn-chr-public-richtext ul, .lotn-chr-public-richtext ol { padding-left: 20px; margin: 0 0 10px; }
.lotn-chr-editor p { margin: 0 0 8px; }
.lotn-chr-editor { white-space: pre-wrap; }
@media (max-width: 700px) { .lotn-chr-public-body { grid-template-columns: 1fr; } }

.lotn-dot-granted {
    opacity: 0.7;
    cursor: not-allowed;
}
