body {
    margin: 0;
    background-color: #020705;
    background-image: linear-gradient(rgba(2, 7, 5, 0.5), rgba(1, 3, 2, 0.62)), radial-gradient(circle at top, rgba(0, 255, 163, 0.08), transparent 30%), url('/assets/background.png.png'), linear-gradient(180deg, #07110d 0%, #020705 58%, #010302 100%);
    background-position: center top, center top, center center, center center;
    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
    background-size: auto, auto, cover, auto;
    background-attachment: fixed, fixed, fixed, fixed;
    color: #d9fff0;
    font-family: "Segoe UI Variable Text", "Bahnschrift", "Arial Nova", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body.preload-active .app-shell {
    opacity: 0;
    visibility: hidden;
}

body.preload-complete .app-shell {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.45s ease;
}

a {
    color: inherit;
}

.app-shell {
    width: min(100% - 8rem, 74rem);
    margin: 0 auto;
    padding: 2rem 0 3rem;
}

.topbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(0, 255, 163, 0.12);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(10, 18, 15, 0.72), rgba(3, 8, 6, 0.68));
    backdrop-filter: blur(10px);
    box-shadow: inset 1px 1px 0 rgba(244, 255, 251, 0.05), inset -1px -1px 0 rgba(0, 255, 163, 0.08), 0 18px 40px rgba(0, 0, 0, 0.18);
}

.brand-block {
    position: relative;
    display: inline-grid;
    align-content: start;
    justify-items: start;
    gap: 0;
    border-left: 1px solid rgba(0, 255, 163, 0.14);
    border-right: 1px solid rgba(0, 255, 163, 0.14);
    border-radius: 6px;
    overflow: hidden;
}

.brand-link,
.brand-tagline {
    position: relative;
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-decoration: none;
    border-top: 1px solid rgba(0, 255, 163, 0.14);
    border-bottom: 1px solid rgba(0, 255, 163, 0.14);
    border-left: 0;
    border-right: 0;
    background: linear-gradient(180deg, rgba(20, 28, 24, 0.92), rgba(8, 13, 11, 0.92) 18%, rgba(4, 10, 8, 0.84) 74%, rgba(2, 5, 4, 0.96));
    box-shadow: inset 1px 1px 0 rgba(244, 255, 251, 0.08), inset -1px -1px 0 rgba(0, 255, 163, 0.12), inset 0 0 0 1px rgba(0, 255, 163, 0.04), 0 12px 26px rgba(0, 0, 0, 0.22);
}

.brand-link::before,
.brand-tagline::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10px 10px, rgba(194, 206, 201, 0.45) 0 1px, rgba(16, 22, 20, 0.95) 2px, transparent 3px),
        radial-gradient(circle at calc(100% - 10px) 10px, rgba(194, 206, 201, 0.45) 0 1px, rgba(16, 22, 20, 0.95) 2px, transparent 3px),
        radial-gradient(circle at 10px calc(100% - 10px), rgba(194, 206, 201, 0.45) 0 1px, rgba(16, 22, 20, 0.95) 2px, transparent 3px),
        radial-gradient(circle at calc(100% - 10px) calc(100% - 10px), rgba(194, 206, 201, 0.45) 0 1px, rgba(16, 22, 20, 0.95) 2px, transparent 3px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 24%, transparent 78%, rgba(0, 255, 163, 0.03));
    pointer-events: none;
}

.brand-link::after,
.brand-tagline::after {
    content: "";
    position: absolute;
    left: 0.55rem;
    right: 0.55rem;
    top: 0.4rem;
    height: 0.28rem;
    background:
        repeating-linear-gradient(90deg, rgba(0, 255, 163, 0.26) 0 10px, rgba(0, 255, 163, 0.06) 10px 12px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04), rgba(0, 255, 163, 0.04));
    border-top: 1px solid rgba(210, 255, 236, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

.brand-link {
    padding: 1.15rem 1rem 0.56rem;
    border-radius: 6px 6px 0 0;
    border-bottom: 0;
    font-family: "Bahnschrift SemiCondensed", "Bahnschrift", "Segoe UI Variable Display", sans-serif;
    font-size: 1.34rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #f3fff9;
    text-shadow: 0 0 18px rgba(0, 255, 163, 0.12);
}

.brand-tagline {
    margin: 0;
    padding: 1.05rem 1rem 0.72rem;
    border-radius: 0 0 6px 6px;
    color: rgba(210, 255, 235, 0.8);
    font-size: 0.72rem;
    line-height: 1.35;
}

.page-shell {
    padding: 0 0.85rem;
}

.page-body-shell {
    padding: 1rem;
    border: 1px solid rgba(0, 255, 163, 0.1);
    border-radius: 10px;
    background: rgba(2, 8, 6, 0.28);
    backdrop-filter: blur(8px);
}

.page-body-content {
    width: 100%;
}

::selection {
    background: rgba(0, 255, 163, 0.28);
    color: #f3fff9;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3,
.metric-label,
.metric-value,
.eyebrow,
.btn-mrnotes,
.btn-secondary,
.inline-link,
.form-field label {
    font-family: "Bahnschrift SemiCondensed", "Bahnschrift", "Segoe UI Variable Display", "Arial Narrow", sans-serif;
}

code,
.code-block,
.result-panel {
    font-family: Consolas, "Cascadia Mono", "Lucida Console", monospace;
}

.diagnostic-lines {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.diagnostic-lines::before,
.diagnostic-lines::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-repeat: no-repeat;
    transform-origin: center;
    filter: blur(1.35px) drop-shadow(0 0 6px rgba(255, 214, 102, 0.46));
}

.diagnostic-lines::before {
    background-image:
        radial-gradient(ellipse 3.4px 2.4px, rgba(255, 248, 214, 1) 0 2.7px, transparent 5.4px),
        radial-gradient(ellipse 2.7px 3.4px, rgba(255, 246, 205, 0.98) 0 2.7px, transparent 5.4px),
        radial-gradient(ellipse 3.6px 2.3px, rgba(255, 244, 198, 0.95) 0 2.7px, transparent 5.4px),
        radial-gradient(ellipse 2.5px 3.5px, rgba(255, 247, 209, 0.97) 0 2.7px, transparent 5.4px),
        radial-gradient(ellipse 3.3px 2.4px, rgba(255, 243, 194, 0.94) 0 2.7px, transparent 5.4px),
        radial-gradient(ellipse 2.5px 3.6px, rgba(255, 249, 218, 1) 0 2.7px, transparent 5.4px),
        radial-gradient(ellipse 3.5px 2.35px, rgba(255, 246, 205, 0.97) 0 2.7px, transparent 5.4px),
        radial-gradient(ellipse 2.6px 3.4px, rgba(255, 248, 214, 0.99) 0 2.7px, transparent 5.4px),
        radial-gradient(ellipse 3.4px 2.45px, rgba(255, 244, 198, 0.95) 0 2.7px, transparent 5.4px),
        radial-gradient(ellipse 2.7px 3.3px, rgba(255, 247, 209, 0.98) 0 2.7px, transparent 5.4px);
    background-size: 14px 10px, 10px 14px, 14px 10px, 10px 14px, 14px 10px, 10px 14px, 14px 10px, 10px 14px, 14px 10px, 10px 14px;
    background-position: 6% 12%, 14% 72%, 23% 38%, 35% 18%, 44% 82%, 57% 28%, 66% 63%, 77% 14%, 86% 48%, 94% 76%;
    animation: whitePointBlinkA 26s steps(1, end) infinite;
}

.diagnostic-lines::after {
    background-image:
        radial-gradient(ellipse 3.1px 2.2px, rgba(255, 247, 209, 0.98) 0 2.4px, transparent 5px),
        radial-gradient(ellipse 2.3px 3.1px, rgba(255, 244, 198, 0.95) 0 2.4px, transparent 5px),
        radial-gradient(ellipse 3.3px 2.15px, rgba(255, 249, 218, 1) 0 2.4px, transparent 5px),
        radial-gradient(ellipse 2.2px 3.2px, rgba(255, 243, 194, 0.94) 0 2.4px, transparent 5px),
        radial-gradient(ellipse 3.2px 2.25px, rgba(255, 246, 205, 0.97) 0 2.4px, transparent 5px),
        radial-gradient(ellipse 2.25px 3.25px, rgba(255, 248, 214, 0.99) 0 2.4px, transparent 5px),
        radial-gradient(ellipse 3.15px 2.2px, rgba(255, 244, 198, 0.95) 0 2.4px, transparent 5px),
        radial-gradient(ellipse 2.15px 3.3px, rgba(255, 249, 218, 1) 0 2.4px, transparent 5px),
        radial-gradient(ellipse 3.25px 2.25px, rgba(255, 246, 205, 0.96) 0 2.4px, transparent 5px),
        radial-gradient(ellipse 2.3px 3.15px, rgba(255, 247, 209, 0.98) 0 2.4px, transparent 5px);
    background-size: 14px 10px, 10px 14px, 14px 10px, 10px 14px, 14px 10px, 10px 14px, 14px 10px, 10px 14px, 14px 10px, 10px 14px;
    background-position: 10% 88%, 18% 26%, 29% 58%, 41% 8%, 53% 74%, 63% 42%, 72% 86%, 81% 22%, 89% 61%, 97% 33%;
    animation: whitePointBlinkB 32s steps(1, end) infinite;
}

.diag-line {
    position: absolute;
    left: -20%;
    width: 40%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 163, 0.38), transparent);
    opacity: 0.45;
    animation: diagnosticSweep 8s linear infinite;
}

.diag-line-a {
    top: 16%;
}

.diag-line-b {
    top: 48%;
    animation-delay: 2.3s;
}

.diag-line-c {
    top: 78%;
    animation-delay: 4.7s;
}

.status-cluster {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    align-items: center;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.34rem 0.5rem;
    border: 1px solid rgba(0, 255, 163, 0.12);
    background: linear-gradient(180deg, rgba(21, 31, 27, 0.96), rgba(7, 12, 10, 0.96));
    color: rgba(220, 255, 241, 0.82);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.62rem;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
    box-shadow: inset 1px 1px 0 rgba(210, 255, 236, 0.08), inset -1px -1px 0 rgba(0, 255, 163, 0.08), 0 0 0 1px rgba(0, 255, 163, 0.05);
}

.status-dot {
    width: 0.82rem;
    height: 0.82rem;
    border-radius: 999px;
    background: radial-gradient(circle, #d7fff2 0%, #72ffd2 35%, #00ffa3 68%, #00b978 100%);
    box-shadow: 0 0 10px rgba(214, 255, 244, 0.95), 0 0 22px rgba(0, 255, 163, 0.95), 0 0 34px rgba(0, 255, 163, 0.68);
    animation: statusPulse 1.35s ease-in-out infinite;
}

.status-pill.secure .status-dot {
    background: radial-gradient(circle, #e4f8ff 0%, #88dbff 35%, #52c7ff 68%, #1d7bc2 100%);
    box-shadow: 0 0 10px rgba(228, 248, 255, 0.95), 0 0 22px rgba(82, 199, 255, 0.95), 0 0 34px rgba(82, 199, 255, 0.68);
}

.status-pill.ready .status-dot {
    background: radial-gradient(circle, #f4ffd7 0%, #e3ff96 35%, #d1ff7a 68%, #92c63a 100%);
    box-shadow: 0 0 10px rgba(244, 255, 215, 0.95), 0 0 22px rgba(209, 255, 122, 0.95), 0 0 34px rgba(209, 255, 122, 0.68);
}

.panel-label {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.45rem;
    color: rgba(114, 255, 204, 0.78);
    font-family: "Bahnschrift SemiCondensed", "Bahnschrift", "Segoe UI Variable Display", sans-serif;
    font-size: 0.56rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.panel-label::before {
    content: "";
    width: 1.25rem;
    height: 1px;
    background: linear-gradient(90deg, rgba(0, 255, 163, 0.85), rgba(0, 255, 163, 0));
}

.vault-card {
    border: 1px solid rgba(0, 255, 163, 0.12);
    background: linear-gradient(180deg, rgba(20, 28, 24, 0.92), rgba(8, 13, 11, 0.92) 18%, rgba(4, 10, 8, 0.84) 74%, rgba(2, 5, 4, 0.96));
    backdrop-filter: blur(18px);
    padding: 0.95rem 0.75rem 0.55rem 0.9rem;
    border-radius: 6px;
    box-shadow: inset 1px 1px 0 rgba(244, 255, 251, 0.08), inset -1px -1px 0 rgba(0, 255, 163, 0.12), inset 0 0 0 1px rgba(0, 255, 163, 0.04), 0 18px 40px rgba(0, 0, 0, 0.35);
    clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
    position: relative;
    overflow: hidden;
}

.vault-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10px 10px, rgba(194, 206, 201, 0.45) 0 1px, rgba(16, 22, 20, 0.95) 2px, transparent 3px),
        radial-gradient(circle at calc(100% - 10px) 10px, rgba(194, 206, 201, 0.45) 0 1px, rgba(16, 22, 20, 0.95) 2px, transparent 3px),
        radial-gradient(circle at 10px calc(100% - 10px), rgba(194, 206, 201, 0.45) 0 1px, rgba(16, 22, 20, 0.95) 2px, transparent 3px),
        radial-gradient(circle at calc(100% - 10px) calc(100% - 10px), rgba(194, 206, 201, 0.45) 0 1px, rgba(16, 22, 20, 0.95) 2px, transparent 3px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 24%, transparent 78%, rgba(0, 255, 163, 0.03));
    pointer-events: none;
}

.vault-card::after {
    content: "";
    position: absolute;
    left: 0.55rem;
    right: 0.55rem;
    top: 0.4rem;
    height: 0.28rem;
    background:
        repeating-linear-gradient(90deg, rgba(0, 255, 163, 0.26) 0 10px, rgba(0, 255, 163, 0.06) 10px 12px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04), rgba(0, 255, 163, 0.04));
    border-top: 1px solid rgba(210, 255, 236, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

.hero-grid,
.dashboard-grid,
.workspace-grid,
.summary-grid {
    display: grid;
    gap: 0.45rem;
}

.hero-grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(240px, 0.95fr) minmax(220px, 0.9fr);
    margin-bottom: 0.45rem;
}

.dashboard-grid,
.summary-grid {
    grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
}

.workspace-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(170px, 0.78fr);
}

.hero-card h1 {
    max-width: none;
    font-size: clamp(1.08rem, 1.95vw, 1.75rem);
    line-height: 1;
    margin-bottom: 0.4rem;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    font-weight: 700;
    text-shadow: 0 0 18px rgba(0, 255, 163, 0.08);
    white-space: nowrap;
}

.hero-card h1,
.page-header h1,
.page-header h2,
.vault-card h2,
.vault-card h3 {
    letter-spacing: 0.08em;
}

.lede {
    max-width: 60ch;
    color: rgba(210, 255, 235, 0.74);
    line-height: 1.45;
    font-size: 0.72rem;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 0.38rem;
    color: #63ffd0;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.55rem;
    font-weight: 700;
    text-shadow: 0 0 12px rgba(0, 255, 163, 0.16);
}

.hero-actions,
.action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.5rem;
}

.btn-mrnotes {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(38, 54, 48, 0.96), rgba(12, 20, 17, 0.96));
    color: #d9fff0;
    border: 1px solid rgba(0, 255, 163, 0.3);
    border-radius: 8px;
    transition: 0.3s;
    padding: 0.38rem 0.55rem;
    text-decoration: none;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.62rem;
    box-shadow: inset 1px 1px 0 rgba(250, 255, 253, 0.12), inset -1px -1px 0 rgba(0, 255, 163, 0.16), 0 0 0 1px rgba(0, 255, 163, 0.05);
}

    .btn-mrnotes:hover {
        transform: translateY(-1px);
        background: linear-gradient(180deg, rgba(114, 255, 204, 0.95), rgba(0, 255, 163, 0.56));
        color: #04110c;
        box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.35), inset -1px -1px 0 rgba(0, 105, 70, 0.25), 0 0 22px rgba(0, 255, 163, 0.18);
    }

    .btn-mrnotes:active {
        transform: translateY(1px);
        background: linear-gradient(180deg, rgba(8, 14, 12, 0.98), rgba(22, 30, 27, 0.94));
        box-shadow: inset -1px -1px 0 rgba(250, 255, 253, 0.06), inset 1px 1px 0 rgba(0, 255, 163, 0.12);
    }

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.38rem 0.55rem;
    border: 1px solid rgba(0, 153, 255, 0.22);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(27, 38, 47, 0.96), rgba(9, 14, 18, 0.96));
    color: rgba(214, 242, 255, 0.88);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.62rem;
    box-shadow: inset 1px 1px 0 rgba(239, 250, 255, 0.12), inset -1px -1px 0 rgba(0, 153, 255, 0.16), 0 0 0 1px rgba(0, 153, 255, 0.05);
}

    .btn-secondary:active {
        transform: translateY(1px);
        box-shadow: inset -1px -1px 0 rgba(214, 242, 255, 0.05), inset 1px 1px 0 rgba(0, 153, 255, 0.12);
    }

.inline-link {
    color: #52c7ff;
    text-decoration: none;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.85rem;
}

    .inline-link:hover {
        color: #99e3ff;
    }

.page-header {
    margin-bottom: 1rem;
}

.page-header h1 {
    margin-bottom: 0.5rem;
    font-size: clamp(1.45rem, 2.4vw, 2.35rem);
    text-transform: uppercase;
}

.page-header p,
.muted {
    color: rgba(191, 255, 227, 0.72);
    line-height: 1.6;
}

.checklist {
    margin: 0;
    padding-left: 1.25rem;
    color: rgba(218, 255, 239, 0.84);
    line-height: 1.8;
}

.feature-card p,
.info-list,
.code-block,
.result-panel,
.wallet-balance {
    color: rgba(218, 255, 239, 0.84);
}

.feature-card {
    display: flex;
    flex-direction: column;
}

.feature-card .inline-link {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    margin-top: auto;
    padding-top: 0.4rem;
    padding: 0.4rem 0.55rem;
    border: 1px solid rgba(130, 210, 255, 0.28);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(120, 210, 255, 0.18), rgba(60, 145, 210, 0.12));
    box-shadow: inset 1px 1px 0 rgba(235, 248, 255, 0.12), inset -1px -1px 0 rgba(35, 96, 140, 0.12), 0 0 0 1px rgba(82, 199, 255, 0.05);
}

.vault-card h2,
.vault-card h3 {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.66rem;
    position: relative;
    padding-bottom: 0.4rem;
    margin-bottom: 0.45rem;
}

.vault-card h2::after,
.vault-card h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 72px;
    height: 2px;
    background: linear-gradient(90deg, rgba(0, 255, 163, 0.85), rgba(0, 255, 163, 0));
}

.form-grid {
    display: grid;
    gap: 0.4rem;
}

.form-field {
    display: grid;
    gap: 0.2rem;
}

    .form-field label {
        color: #abf5d7;
        font-size: 0.58rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.12em;
    }

    .form-field input,
    .form-field textarea {
        width: 100%;
        box-sizing: border-box;
        padding: 0.38rem 0.5rem;
        border: 1px solid rgba(132, 172, 156, 0.42);
        border-radius: 8px;
        background: rgba(1, 6, 4, 0.88);
        color: #f3fff9;
        font: inherit;
        transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    }

    .form-field textarea {
        min-height: 130px;
        resize: vertical;
    }

    .form-field input:focus,
    .form-field textarea:focus {
        outline: none;
        border-color: rgba(0, 255, 163, 0.7);
        box-shadow: 0 0 0 3px rgba(0, 255, 163, 0.08), 0 0 18px rgba(0, 255, 163, 0.08);
        background: rgba(2, 10, 7, 0.96);
    }

.status-banner {
    margin-bottom: 1rem;
    padding: 0.75rem 0.85rem;
    border: 1px solid rgba(0, 255, 163, 0.18);
    border-left: 4px solid #00ffa3;
    border-radius: 4px;
    background: rgba(0, 255, 163, 0.06);
    color: #e7fff6;
    font-size: 0.64rem;
    box-shadow: inset 1px 1px 0 rgba(210, 255, 236, 0.04), inset -1px -1px 0 rgba(0, 255, 163, 0.08), 0 0 0 1px rgba(0, 255, 163, 0.04);
}

.send-modal-backdrop {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 1rem;
    background: rgba(1, 6, 4, 0.74);
    backdrop-filter: blur(8px);
    z-index: 1000;
    overflow-y: auto;
}

.send-modal-panel {
    width: min(100%, 28rem);
    max-height: calc(100vh - 2rem);
    display: grid;
    gap: 0.55rem;
    padding: 0.85rem;
    border: 1px solid rgba(0, 255, 163, 0.22);
    border-radius: 6px;
    background: linear-gradient(180deg, rgba(20, 28, 24, 0.98), rgba(8, 13, 11, 0.96));
    box-shadow: inset 1px 1px 0 rgba(244, 255, 251, 0.08), inset -1px -1px 0 rgba(0, 255, 163, 0.12), 0 22px 48px rgba(0, 0, 0, 0.42);
    overflow-y: auto;
}

    .send-modal-panel h2 {
        margin: 0;
    }

.send-modal-actions {
    justify-content: flex-end;
    margin-top: 0.2rem;
}

    .status-banner.error {
        border-color: rgba(255, 82, 82, 0.24);
        border-left-color: #ff5252;
        background: rgba(255, 82, 82, 0.08);
    }

.code-block,
.result-panel {
    padding: 0.45rem;
    background: linear-gradient(180deg, rgba(5, 10, 9, 0.98), rgba(1, 6, 4, 0.94));
    border: 1px solid rgba(0, 255, 163, 0.12);
    border-radius: 4px;
    overflow-wrap: anywhere;
    letter-spacing: 0.04em;
    font-size: 0.62rem;
    box-shadow: inset 1px 1px 0 rgba(210, 255, 236, 0.04), inset -1px -1px 0 rgba(0, 255, 163, 0.08), 0 0 0 1px rgba(0, 255, 163, 0.04);
}

.note-shell {
    display: grid;
    gap: 0.35rem;
}

.note-controls {
    justify-content: flex-end;
    align-items: center;
    margin-top: 0;
}

.note-flag {
    margin-right: 0.35rem;
    padding: 0.22rem 0.42rem;
    border: 1px solid rgba(124, 255, 217, 0.14);
    background: linear-gradient(180deg, rgba(16, 25, 22, 0.96), rgba(7, 12, 10, 0.96));
    color: rgba(220, 255, 241, 0.86);
    font-family: "Bahnschrift SemiCondensed", "Bahnschrift", "Segoe UI Variable Display", sans-serif;
    font-size: 0.52rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    box-shadow: inset 1px 1px 0 rgba(250, 255, 253, 0.08), inset -1px -1px 0 rgba(0, 255, 163, 0.1);
}

.note-flag-locked {
    color: #ffd5d5;
    border-color: rgba(255, 94, 94, 0.28);
    background: linear-gradient(180deg, rgba(47, 18, 18, 0.98), rgba(18, 8, 8, 0.98));
    box-shadow: inset 1px 1px 0 rgba(255, 213, 213, 0.08), inset -1px -1px 0 rgba(255, 82, 82, 0.16), 0 0 12px rgba(255, 82, 82, 0.12);
}

.note-flag-timer {
    color: #d8ffe8;
}

.note-display-frame {
    position: relative;
    min-height: 7.4rem;
    padding: 0.18rem;
    border: 1px solid rgba(0, 255, 163, 0.18);
    border-radius: 4px;
    background: linear-gradient(180deg, rgba(22, 30, 27, 0.92), rgba(6, 10, 9, 0.96));
    box-shadow: inset 1px 1px 0 rgba(248, 255, 252, 0.08), inset -1px -1px 0 rgba(0, 255, 163, 0.12), 0 0 0 1px rgba(0, 255, 163, 0.04);
}

    .note-display-frame .result-panel {
        min-height: 7.4rem;
    }

.draft-display-frame {
    position: relative;
    padding: 0.18rem;
    border: 1px solid rgba(0, 255, 163, 0.18);
    border-radius: 4px;
    background: linear-gradient(180deg, rgba(22, 30, 27, 0.92), rgba(6, 10, 9, 0.96));
    box-shadow: inset 1px 1px 0 rgba(248, 255, 252, 0.08), inset -1px -1px 0 rgba(0, 255, 163, 0.12), 0 0 0 1px rgba(0, 255, 163, 0.04);
}

    .draft-display-frame textarea,
    .draft-textarea {
        min-height: 7.4rem;
        position: relative;
        z-index: 1;
    }

.note-obscured {
    filter: blur(3px);
    opacity: 0.22;
    user-select: none;
}

.draft-obscured {
    filter: blur(3px);
    opacity: 0.22;
    user-select: none;
}

.note-cover-panel {
    position: absolute;
    inset: 0.18rem;
    display: grid;
    align-content: center;
    gap: 0.35rem;
    padding: 0.55rem;
    background: linear-gradient(180deg, rgba(46, 54, 52, 0.98), rgba(16, 22, 20, 0.96) 18%, rgba(8, 12, 11, 0.98));
    border: 1px solid rgba(160, 177, 171, 0.26);
    border-radius: 4px;
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
    box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.16), inset -1px -1px 0 rgba(0, 0, 0, 0.48), inset 0 0 0 1px rgba(255, 255, 255, 0.03), 0 10px 24px rgba(0, 0, 0, 0.4);
    animation: shutterDrop 220ms ease-out;
    z-index: 3;
}

    .note-cover-panel::before,
    .note-cover-panel::after {
        content: "";
        position: absolute;
        width: 8px;
        height: 8px;
        border-radius: 999px;
        background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.45), rgba(132, 141, 137, 0.72) 45%, rgba(18, 20, 20, 0.95) 70%);
        box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.42), inset 1px 1px 0 rgba(255, 255, 255, 0.08);
    }

    .note-cover-panel::before {
        top: 8px;
        left: 8px;
    }

    .note-cover-panel::after {
        top: 8px;
        right: 8px;
    }

.note-cover-hidden {
    background: linear-gradient(180deg, rgba(58, 62, 60, 0.98), rgba(22, 26, 24, 0.98) 22%, rgba(10, 12, 11, 0.98));
}

.note-cover-locked {
    background: linear-gradient(180deg, rgba(33, 45, 42, 0.98), rgba(14, 18, 17, 0.98) 20%, rgba(7, 10, 9, 0.99));
}

.cover-title {
    color: #f1fff8;
    font-family: "Bahnschrift SemiCondensed", "Bahnschrift", "Segoe UI Variable Display", sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.cover-title-alert {
    color: #ff9d9d;
}

.cover-copy,
.lock-feedback {
    margin: 0;
    font-size: 0.62rem;
    line-height: 1.35;
}

.cover-copy {
    color: rgba(220, 236, 230, 0.84);
}

.lock-feedback {
    color: #ff9d9d;
}

.overlay-field {
    max-width: 12rem;
}

.overlay-field-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 0.68fr);
    gap: 0.45rem;
    align-items: end;
}

.overlay-field-passphrase {
    max-width: none;
}

.overlay-action {
    display: flex;
    align-items: end;
}

    .overlay-action .btn-mrnotes {
        white-space: nowrap;
    }

    .overlay-field input,
    .overlay-field textarea {
        border-color: rgba(183, 216, 203, 0.5) !important;
        box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.08), inset -1px -1px 0 rgba(0, 255, 163, 0.1), 0 0 0 1px rgba(183, 216, 203, 0.08) !important;
        background: rgba(16, 24, 21, 0.96) !important;
    }

@media (max-width: 720px) {
    .overlay-field-row {
        grid-template-columns: 1fr;
    }

    .overlay-action {
        justify-content: flex-start;
    }
}

.compact-actions {
    margin-top: 0.15rem;
}

.result-panel {
    white-space: pre-wrap;
    line-height: 1.3;
}

.info-list {
    margin: 0;
    padding-left: 0.95rem;
    line-height: 1.38;
    font-size: 0.66rem;
}

.metric {
    display: grid;
    gap: 0.2rem;
}

.metric-label {
    color: rgba(139, 240, 204, 0.8);
    font-size: 0.52rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.metric-value {
    font-size: 0.9rem;
    font-weight: 700;
    color: #f3fff9;
    text-shadow: 0 0 18px rgba(0, 255, 163, 0.08);
    letter-spacing: 0.06em;
}

.identity-grid {
    display: grid;
    gap: 0.55rem;
}

.identity-value {
    font-size: 0.74rem;
    overflow-wrap: anywhere;
}

.admin-table-wrap {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.68rem;
}

    .admin-table th,
    .admin-table td {
        padding: 0.5rem 0.55rem;
        border-bottom: 1px solid rgba(0, 255, 163, 0.12);
        text-align: left;
        white-space: nowrap;
    }

    .admin-table th {
        color: rgba(139, 240, 204, 0.84);
        text-transform: uppercase;
        letter-spacing: 0.1em;
        font-weight: 700;
    }

    .admin-table td {
        color: rgba(220, 255, 241, 0.84);
    }

.metric-value,
.code-block {
    font-variant-numeric: tabular-nums;
}

.balance-callout {
    display: grid;
    gap: 0.5rem;
}

.wallet-balance {
    font-size: 0.66rem;
    line-height: 1.3;
}

@keyframes diagnosticSweep {
    0% {
        transform: translateX(0);
        opacity: 0;
    }

    8% {
        opacity: 0.5;
    }

    92% {
        opacity: 0.5;
    }

    100% {
        transform: translateX(160vw);
        opacity: 0;
    }
}

@keyframes whitePointBlinkA {
    0%, 7%, 14%, 24%, 31%, 46%, 58%, 73%, 100% {
        opacity: 0.12;
        transform: scale(0.62);
        filter: blur(1.8px) drop-shadow(0 0 7px rgba(255, 214, 102, 0.52));
    }

    8%, 13% {
        opacity: 0.96;
        transform: scale(2.08);
        filter: blur(0.02px) drop-shadow(0 0 16px rgba(255, 255, 255, 0.98));
    }

    25%, 30% {
        opacity: 0.74;
        transform: scale(1.72);
        filter: blur(0.45px) drop-shadow(0 0 12px rgba(255, 239, 194, 0.82));
    }

    47%, 52% {
        opacity: 1;
        transform: scale(2.16);
        filter: blur(0) drop-shadow(0 0 18px rgba(255, 255, 255, 1));
    }

    59%, 64% {
        opacity: 0.78;
        transform: scale(1.76);
        filter: blur(0.36px) drop-shadow(0 0 12px rgba(255, 248, 222, 0.84));
    }

    74%, 78% {
        opacity: 0.9;
        transform: scale(2);
        filter: blur(0.06px) drop-shadow(0 0 16px rgba(255, 255, 255, 0.96));
    }
}

@keyframes whitePointBlinkB {
    0%, 9%, 16%, 29%, 37%, 51%, 66%, 82%, 100% {
        opacity: 0.1;
        transform: scale(0.6);
        filter: blur(1.75px) drop-shadow(0 0 7px rgba(255, 214, 102, 0.5));
    }

    10%, 15% {
        opacity: 0.88;
        transform: scale(1.96);
        filter: blur(0.06px) drop-shadow(0 0 15px rgba(255, 255, 255, 0.94));
    }

    30%, 36% {
        opacity: 1;
        transform: scale(2.14);
        filter: blur(0) drop-shadow(0 0 18px rgba(255, 255, 255, 1));
    }

    52%, 57% {
        opacity: 0.76;
        transform: scale(1.68);
        filter: blur(0.5px) drop-shadow(0 0 12px rgba(255, 242, 201, 0.8));
    }

    67%, 72% {
        opacity: 0.92;
        transform: scale(2);
        filter: blur(0.04px) drop-shadow(0 0 16px rgba(255, 255, 255, 0.97));
    }

    83%, 88% {
        opacity: 0.84;
        transform: scale(1.88);
        filter: blur(0.18px) drop-shadow(0 0 14px rgba(255, 247, 214, 0.88));
    }
}

@keyframes shutterDrop {
    0% {
        transform: translateY(-18px) scaleY(0.82);
        opacity: 0;
    }

    100% {
        transform: translateY(0) scaleY(1);
        opacity: 1;
    }
}

@keyframes statusPulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.92;
    }

    50% {
        transform: scale(1.32);
        opacity: 1;
    }
}

@media (max-width: 1100px) {
    .hero-grid,
    .workspace-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .app-shell {
        width: min(100% - 2rem, 74rem);
        padding-top: 0.7rem;
    }

    .topbar {
        flex-direction: column;
        padding: 0.85rem;
    }

    .brand-link,
    .brand-tagline {
        width: 100%;
        box-sizing: border-box;
    }

    .page-body-shell {
        padding: 0.7rem;
    }

    .hero-grid,
    .workspace-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-grid,
    .summary-grid {
        grid-template-columns: 1fr;
    }

    .hero-card h1 {
        max-width: none;
    }

    .status-cluster {
        gap: 0.25rem;
    }
}
