/* Classic journal: profile / services / wallet. Scoped to the member dashboard. */
body.classic-member { overflow-x: clip; overflow-y: visible; }
.cm-details { width: 100%; margin: 0 0 17px; color: #775b3f; }
.cm-details summary { cursor: pointer; font-size: 12px; padding: 4px 0; }
.cm-details summary::after { content: '+'; margin-left: 8px; color: #875443; }
.cm-details[open] summary::after { content: '−'; }
.cm-details > p { margin-top: 9px; }
.cm-details .cm-check { margin: 10px 0 0; }
.cm-details summary:focus-visible { outline: 2px solid #87464c; outline-offset: 3px; }
.cm-wallet .cm-topup { margin-top: 20px; }
.classic-member .header-container--compact { height: 100px; }
.classic-member .cm-breadcrumb { display: flex; gap: 12px; padding: 0 4px 18px; font-size: 12px; color: #f0dfbb; text-shadow: 0 1px 4px #000; }
.classic-member .cm-breadcrumb a { color: #d6c4a2; }
.cm-book { position: relative; isolation: isolate; padding: 32px; background: #f2e8cc; background-image: linear-gradient(90deg, #cdb68055, transparent 22px, transparent calc(100% - 15px), #cdb68044), url('../images/content-bg.webp'); background-size: auto, 100% auto; border: 1px solid #b59a65; border-radius: 5px 12px 12px 5px; box-shadow: -6px 0 0 #382c22, -9px 0 0 #a38043, 0 18px 44px #0005; color: #4d3c2b; font-size: 14px; line-height: 1.65; }
.cm-book::before { content: ''; position: absolute; inset: 6px; border: 1px solid #b3935630; border-radius: 2px 8px 8px 2px; pointer-events: none; z-index: -1; }
.cm-book p { margin: 0; }
.cm-book svg { width: 24px; height: 24px; flex-shrink: 0; }
.cm-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 0 27px; margin-bottom: 28px; border-bottom: 1px solid #a888514d; }
.cm-eyebrow { color: #937344; font-size: 9px; font-weight: 700; letter-spacing: 1.8px; line-height: 1.7; }
.cm-heading h1 { margin: 5px 0 5px; color: #463123; font-size: 33px; line-height: 1.4; font-weight: 700; }
.cm-heading-note { color: #877052; font-size: 13px; }
.cm-edition { text-align: center; color: #b08d51; font-size: 11px; letter-spacing: 3px; line-height: 2; padding: 0 15px; }
.cm-layout { display: grid; grid-template-columns: 184px minmax(0, 1fr) 257px; gap: 25px; align-items: start; }
.cm-layout > * { min-width: 0; }
.cm-profile { align-self: start; border-right: 1px solid #a8885136; padding-right: 20px; }
.cm-identity { text-align: center; padding: 7px 0 22px; border-bottom: 1px solid #a8885136; }
.cm-crest { display: grid; place-items: center; position: relative; width: 83px; height: 94px; margin: 0 auto 17px; color: #edd19b; background: linear-gradient(140deg, #84474c, #522d34); clip-path: polygon(50% 0, 100% 18%, 100% 69%, 50% 100%, 0 69%, 0 18%); }
.cm-crest::before { content: ''; position: absolute; inset: 5px; background: #e0b977; clip-path: polygon(50% 0, 100% 18%, 100% 69%, 50% 100%, 0 69%, 0 18%); opacity: .13; }
.cm-crest svg { width: 51px; height: 51px; }
.cm-identity h2 { margin: 6px 0 8px; font-size: 18px; line-height: 1.4; color: #493223; overflow-wrap: anywhere; }
.cm-role { display: inline-block; padding: 3px 11px; border: 1px solid #b5945b66; border-radius: 2px; color: #855b37; background: #e6d6ad60; font-size: 10px; }
.cm-identity .cm-joined { margin-top: 12px; font-size: 11px; color: #907856; line-height: 1.8; }
.cm-profile-nav { display: grid; gap: 3px; padding: 18px 0; }
.cm-profile-nav a { display: flex; align-items: center; gap: 9px; color: #695139; padding: 9px 0; font-size: 12px; line-height: 1.5; }
.cm-profile-nav svg { width: 17px; height: 17px; color: #a58248; }
.cm-profile-nav a > span { margin-left: auto; color: #b49964; }
.cm-profile-nav a:hover, .cm-text-link:hover { color: #883f4d; }
.cm-guide-link { display: grid; gap: 5px; border-top: 1px solid #a8885136; padding-top: 18px; color: #795a39; }
.cm-guide-link span { font-size: 10px; color: #927653; }
.cm-guide-link strong { font-size: 12px; }
.cm-section-heading { margin-bottom: 19px; }
.cm-section-heading h2, .cm-history h2 { color: #493525; font-size: 21px; line-height: 1.45; margin: 4px 0 5px; }
.cm-section-heading > p:last-child { color: #887357; font-size: 12px; }
.cm-services { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cm-service { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; padding: 18px; border: 1px solid #b49a6859; border-radius: 4px; background: linear-gradient(135deg, #fffbee, #faf2dd); box-shadow: 0 4px 12px #76552809; }
.cm-service-top { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-bottom: 15px; }
.cm-icon { display: grid; place-items: center; width: 42px; height: 42px; color: #99713b; border: 1px solid #b99a5e60; background: #e6d19e33; border-radius: 50%; flex-shrink: 0; }
.cm-icon svg { width: 25px; height: 25px; }
.cm-service-no { font-family: Georgia, serif; color: #c8b48a; font-size: 23px; }
.cm-service h3 { color: #513b2c; font-size: 17px; line-height: 1.5; margin: 0 0 8px; }
.cm-service p { color: #806b50; font-size: 12px; line-height: 1.8; }
.cm-state { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; line-height: 1.5; padding: 4px 7px; margin: 12px 0 15px; border-radius: 3px; }
.cm-state::before { content: ''; width: 4px; height: 4px; background: currentColor; border-radius: 50%; }
.cm-state--ready { color: #526342; background: #dce5ce; }
.cm-state--pending { color: #8a6330; background: #eddfbd; }
.cm-state--muted { color: #8a7861; background: #e9e1d1; }
.cm-action { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 13px; border-top: 1px solid #b79a6550; color: #7c3c46; font-size: 12px; font-weight: 600; }
.cm-action:hover { color: #a34c5d; }
.cm-action--disabled { color: #95846b; font-weight: 400; }
.cm-action svg { width: 14px; height: 14px; }
.cm-check { margin: 0 0 15px; padding: 9px 10px; border-left: 2px solid #b89251; background: #ecdcb32e; width: 100%; }
.cm-check .conv-next p { font-size: 11px; line-height: 1.7; }
.cm-check .conv-next__clock { display: block; color: #805e2c; font-size: 14px; font-variant-numeric: tabular-nums; }
.cm-check .conv-next__stale { color: #8a4b45 !important; margin-top: 5px; }
.cm-service--security { grid-column: 1 / -1; flex-direction: row; gap: 15px; margin-top: 2px; background: #f6edda80; }
.cm-service--security h3 { font-size: 15px; margin-bottom: 5px; }
.cm-text-link { display: inline-block; margin-top: 10px; color: #7c3c46; font-size: 12px; font-weight: 600; }
.cm-activities { margin-top: 23px; }
.cm-activities h3 { font-size: 14px; color: #80633f; margin-bottom: 8px; }
.cm-activities a { display: flex; gap: 10px; align-items: center; padding: 11px 0; border-top: 1px solid #b79a6538; color: #765436; font-size: 12px; }
.cm-activities svg { width: 18px; height: 18px; }
.cm-activities span { flex: 1; }
.cm-wallet-column { display: grid; gap: 18px; }
.cm-wallet { position: relative; padding: 22px; color: #ead6b3; border: 1px solid #a8864d; border-radius: 4px; background: radial-gradient(ellipse at 100% 0, #74583b88, transparent 70%), #302720; box-shadow: inset 0 0 0 4px #c6a16510, 0 9px 17px #4c351b22; }
.cm-wallet-top { display: flex; align-items: center; gap: 10px; padding-bottom: 17px; margin-bottom: 20px; border-bottom: 1px solid #a1844d50; color: #c8a567; font-size: 9px; letter-spacing: 1.6px; }
.cm-wallet h2 { color: #ddc8a4; font-size: 12px; font-weight: 400; line-height: 1.5; margin-bottom: 7px; }
.cm-balance { display: flex; align-items: baseline; flex-wrap: wrap; gap: 7px; }
.cm-balance strong { color: #f2d492; font-size: 38px; line-height: 1.3; font-weight: 700; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.cm-balance span { font-size: 10px; color: #bc9c67; }
.cm-wallet > p { color: #ac9778; margin: 6px 0 22px; font-size: 10px; }
.cm-topup { display: flex; align-items: center; justify-content: space-between; border: 1px solid #b58959; background: linear-gradient(100deg, #8a454d, #68323b); padding: 11px 14px; color: #ffedc9; border-radius: 3px; font-size: 14px; font-weight: 600; }
.cm-topup:hover { background: #8a454d; color: #fff2d6; }
.cm-rewards { position: relative; padding: 23px 19px 18px; text-align: center; border: 1px solid #b79a6566; border-radius: 4px; background: linear-gradient(140deg, #e9d9b2aa, #fff5db7a); }
.cm-reward-emblem { display: grid; place-items: center; width: 45px; height: 45px; margin: 0 auto 9px; border: 1px solid #b595584d; border-radius: 50%; color: #997444; }
.cm-rewards h2 { color: #6d4f32; font-size: 18px; line-height: 1.6; margin: 3px 0 20px; }
.cm-total { display: grid; gap: 3px; }
.cm-total > span { color: #967a51; font-size: 11px; }
.cm-total strong { color: #6f4d2d; font-size: 27px; line-height: 1.4; font-variant-numeric: tabular-nums; }
.cm-total strong small { font-size: 18px; }
.cm-reward-target { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; text-align: left; margin: 22px 0 9px; font-size: 11px; color: #846946; }
.cm-reward-target b { font-size: 13px; color: #84612e; text-align: right; }
.cm-progress { height: 5px; background: #bfa57447; border-radius: 9px; overflow: hidden; }
.cm-progress span { display: block; height: 100%; background: linear-gradient(90deg,#b48b45,#815333); }
.cm-rewards .cm-reward-note { color: #947851; font-size: 11px; margin: 10px 0; line-height: 1.7; }
.cm-claimed { color: #95794e; font-size: 10px; }
.cm-reward-link { display: flex; justify-content: space-between; padding-top: 15px; border-top: 1px solid #b79a6540; margin-top: 18px; color: #7a3d44; font-size: 12px; font-weight: 600; }
.cm-history { margin-top: 30px; }
.cm-history-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 15px; }
.cm-history h2 { font-size: 17px; }
.cm-history-heading > a { white-space: nowrap; color: #7a3d44; font-size: 11px; }
.cm-empty { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 25px 15px; border: 1px dashed #b2956257; color: #a28a64; background: #fff7de40; border-radius: 3px; }
.cm-empty svg { width: 28px; height: 28px; }
.cm-empty p { font-size: 12px; }
.cm-ledger-wrap { overflow-x: auto; border-top: 1px solid #b79a6550; scrollbar-width: thin; }
.cm-ledger { width: 100%; min-width: 470px; border-collapse: collapse; }
.cm-ledger th { color: #9a7f54; font-size: 10px; font-weight: 500; text-align: left; }
.cm-ledger td, .cm-ledger th { border: 0; border-bottom: 1px solid #b79a6530; padding: 12px 7px; background: none; }
.cm-ledger td { font-size: 11px; color: #735a3c; }
.cm-ledger .is-right { text-align: right; }
.cm-ledger .cm-amount { white-space: nowrap; font-weight: 600; font-variant-numeric: tabular-nums; }
.cm-ledger .tp-status { font-size: 10px; }
.cm-book-footer { display: flex; gap: 15px; align-items: center; justify-content: center; margin-top: 30px; padding-top: 18px; border-top: 1px solid #a8885133; color: #b0996e; font-size: 9px; letter-spacing: 2px; }
.cm-book-footer span { font-size: 7px; }
.cm-book .alert-box { padding: 12px 16px; margin-bottom: 20px; border: 1px solid #bca16b; background: #f7edcf; color: #7d583a; }
.cm-book .alert-error { color: #8b3e46; border-color: #ac6b6e; }
.cm-book .alert-success { color: #526342; border-color: #a1aa85; }
.cm-book :is(a,button,[tabindex]):focus-visible { outline: 2px solid #87464c; outline-offset: 3px; }
.cm-book [id] { scroll-margin-top: 88px; }
@media (max-width: 1150px) {
 .cm-book { padding: 27px; }
 .cm-layout { grid-template-columns: 159px minmax(0,1fr) 230px; gap: 20px; }
 .cm-profile { padding-right: 15px; }
 .cm-service { padding: 15px; }
 .cm-services { grid-template-columns: 1fr; }
 .cm-service--security { grid-column: 1; }
}
@media (max-width: 900px) {
 .cm-layout { grid-template-columns: 180px minmax(0,1fr); }
 .cm-profile { grid-column: 1; grid-row: 1; }
 .cm-wallet-column { grid-column: 2; grid-row: 1; grid-template-columns: 1fr 1fr; gap: 15px; }
 .cm-center { grid-column: 1 / -1; grid-row: 2; }
 .cm-services { grid-template-columns: 1fr 1fr; }
 .cm-service--security { grid-column: 1 / -1; }
 .cm-wallet, .cm-rewards { padding: 18px 15px; }
 .cm-balance strong { font-size: 31px; }
}
@media (max-width: 700px) {
 .cm-layout { grid-template-columns: minmax(0,1fr); gap: 24px; }
 .cm-profile { grid-column: 1; grid-row: 1; padding-right: 0; border-right: 0; }
 .cm-identity { position: relative; text-align: left; padding: 4px 0 18px 75px; min-height: 115px; }
 .cm-crest { position: absolute; left: 0; top: 9px; width: 59px; height: 70px; margin: 0; }
 .cm-crest svg { width: 39px; height: 39px; }
 .cm-identity h2 { font-size: 21px; }
 .cm-identity .cm-joined { margin-top: 7px; }
 .cm-profile-nav { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 12px 0 0; }
 .cm-profile-nav a { font-size: 11px; }
 .cm-profile-nav a > span { display: none; }
 .cm-guide-link { display: none; }
 .cm-wallet-column { grid-column: 1; grid-row: 2; }
 .cm-center { grid-column: 1; grid-row: 3; }
}
@media (max-width: 480px) {
 .classic-member .header-container--compact { height: 86px; }
 .classic-member .cm-breadcrumb { padding-bottom: 14px; }
 .cm-book { padding: 22px 18px; box-shadow: -4px 0 0 #382c22, -6px 0 0 #a38043, 0 12px 30px #0004; }
 .cm-heading { padding-bottom: 19px; margin-bottom: 20px; }
 .cm-heading h1 { font-size: 27px; }
 .cm-heading-note { font-size: 12px; }
 .cm-edition { display: none; }
 .cm-services, .cm-wallet-column { grid-template-columns: 1fr; }
 .cm-service--security { grid-column: 1; }
 .cm-wallet { padding: 20px; }
 .cm-balance strong { font-size: 38px; }
 .cm-rewards { padding: 19px; text-align: left; }
 .cm-reward-emblem { float: right; margin: 0 0 8px 8px; }
 .cm-rewards h2 { margin-bottom: 12px; }
 .cm-total { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
 .cm-total strong { font-size: 23px; }
 .cm-reward-target { margin-top: 15px; }
 .cm-service { padding: 20px; }
 .cm-section-heading h2 { font-size: 21px; }
 .cm-service p { font-size: 13px; }
 .cm-history-heading { align-items: flex-end; }
 .cm-history h2 { font-size: 16px; }
}
