.announcement-dialog {box-sizing:border-box;width:min(420px,calc(100% - 36px));max-height:calc(100dvh - 48px);padding:26px;border:1px solid #e5ece8;border-radius:20px;background:#fff;color:#202a36;box-shadow:0 24px 80px #18312830;font-family:-apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei',sans-serif;overflow:auto;}
.announcement-dialog:focus {outline:none;}
.announcement-dialog::backdrop {background:#253a3552;backdrop-filter:blur(4px);}
.announcement-top {display:flex;justify-content:space-between;align-items:center;color:#167964;font-size:12px;margin-bottom:20px;}
.announcement-close {display:grid;place-items:center;width:32px;height:32px;margin:-6px -8px -6px 0;border:0;border-radius:50%;background:#f4f7f5;color:#7e8a83;font-size:22px;cursor:pointer;}
.announcement-dialog h2 {font-size:23px;line-height:1.45;margin:0 0 16px;overflow-wrap:anywhere;}
.announcement-dialog p {font-size:14px;line-height:1.9;color:#727e8c;white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 26px;}
.announcement-bottom {display:flex;justify-content:space-between;align-items:center;gap:12px;padding-top:18px;border-top:1px solid #edf0ee;}
.announcement-date {font-size:11px;color:#98a39d;}
.announcement-confirm {padding:10px 20px;border:0;border-radius:10px;background:#167964;color:#fff;font-size:13px;cursor:pointer;}
.announcement-dialog button:focus-visible {outline:2px solid #167964;outline-offset:3px;}

[data-action="open-notifications"] {position:relative;}
.icon-button[data-action="open-notifications"].has-unread-notice > svg {color:#ce8536;}
.notification-count {position:absolute;right:24px;top:50%;transform:translateY(-50%);display:inline-flex;align-items:center;justify-content:center;min-width:16px;height:16px;box-sizing:border-box;padding:0 4px;border-radius:9px;background:#d98231;color:#fff;font-size:9px;font-weight:600;line-height:1;border:1.5px solid var(--surface,#fff);font-variant-numeric:tabular-nums;pointer-events:none;}
.icon-button .notification-count {top:-1px;right:-5px;transform:none;}

.notification-bell-body {fill:currentColor;stroke:none;}
.notice-center {width:min(500px,calc(100% - 32px));padding:24px;}
.notice-center .announcement-top h2 {margin:6px 0 0;font-size:23px;}
.notice-center-tabs {display:flex;gap:4px;background:#f3f6f4;padding:4px;border-radius:10px;margin-bottom:16px;}
.notice-center-tabs button {flex:1;min-width:0;padding:9px 2px;border:0;border-radius:7px;background:none;color:#859089;font-size:12px;cursor:pointer;white-space:nowrap;}
.notice-center-tabs button[aria-selected="true"] {background:#fff;color:#167964;box-shadow:0 2px 5px #182d2508;}
.notice-center-tools {display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;color:#98a39d;}
.notice-center-tools button {border:0;background:none;color:#167964;font:inherit;padding:6px 0;cursor:pointer;}
.notice-center-tools button:disabled {color:#a3afa8;cursor:default;}
.notice-center-feedback {font-size:12px;color:#167964;line-height:1.6;}
.notice-center-feedback:not(:empty) {margin-top:8px;}
.notice-center-item {display:block;width:100%;text-align:left;padding:18px 0;background:none;border:0;border-bottom:1px solid #edf0ee;cursor:pointer;}
.notice-center-item-top {display:flex;align-items:center;justify-content:space-between;gap:12px;}
.notice-center-item strong {font-size:15px;line-height:1.5;font-weight:600;color:#283c33;}
.notice-unread-dot {flex:none;width:6px;height:6px;border-radius:50%;background:#d66a57;}
.notice-center-preview {display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.7;font-size:13px;color:#7e8b83;margin:8px 0;white-space:pre-line;}
.notice-center-date {display:block;font-size:11px;color:#98a39d;}
.notice-center-empty {padding:36px 8px;text-align:center;color:#88968d;line-height:1.8;font-size:13px;}
.notice-center-empty strong {font-weight:500;color:#52665b;font-size:15px;}
.notice-center-empty p {margin:12px 0;font-size:13px;}
.notice-center-more {display:block;margin:18px auto 0;border:0;background:#f1f6f3;color:#167964;padding:10px 18px;border-radius:9px;cursor:pointer;}
.notice-center-back {border:0;background:none;color:#167964;font-size:13px;cursor:pointer;padding:0;}
.notice-center h2.notice-center-detail-title {margin-top:12px;font-size:22px;}

.notification-row-status {display:inline-flex;align-items:center;gap:10px;flex:none;white-space:nowrap;}
.settings-row .notification-count {position:static;transform:none;height:auto;min-width:0;padding:4px 7px;border:0;border-radius:6px;background:var(--green-soft,#eaf5ef);color:var(--green,#167964);font-size:10px;font-weight:400;line-height:1.4;}
.repayment-summary {display:grid;gap:8px;padding:16px;margin-top:14px;background:#f1f7f4;border-radius:12px;font-size:12px;color:#76877d;}
.repayment-summary>strong {font-size:25px;color:#167964;font-variant-numeric:tabular-nums;}
.repayment-item {display:grid;gap:9px;width:100%;padding:16px;margin-top:12px;border:1px solid #e6ede8;border-radius:12px;background:#fff;text-align:left;color:#283c33;cursor:pointer;}
.repayment-label {font-size:13px;color:#167964;}
.repayment-meta {display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;font-size:11px;color:#8b978f;}
.repayment-meta strong {font-size:14px;color:#3a4f43;font-variant-numeric:tabular-nums;}
.repayment-urgent {border-color:#eee1ce;background:#fffcf7;}
.repayment-urgent .repayment-label {color:#a57531;}
.repayment-critical,.repayment-overdue {border-color:#efd4d0;background:#fff9f8;}
.repayment-critical .repayment-label,.repayment-overdue .repayment-label {color:#b45146;}
.notice-center p.repayment-note {font-size:11px;line-height:1.8;margin:16px 0;color:#8b978f;}
.repayment-detail {display:grid;gap:14px;padding:20px;border-radius:12px;background:#f5f8f6;font-size:12px;color:#7c8b82;}
.repayment-detail-amount {font-size:30px;font-variant-numeric:tabular-nums;color:#283c33;}
