:root {
  --void: #0b0e1c;
  --navy: #101329;
  --panel: #171b35;
  --panel-2: #202544;
  --line: #30365d;
  --paper: #f5f7ff;
  --ink: #11152b;
  --muted: #747b99;
  --cyan: #35d4ff;
  --violet: #8a5cff;
  --pink: #ff4fd8;
  --lime: #b7ff4a;
  --yellow: #ffde59;
  --coral: #ff6d69;
  --green: #58e6a9;
  --shadow: 0 20px 55px rgba(5, 8, 24, .18);
  --sidebar: 248px;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--paper); }
body { margin: 0; min-height: 100vh; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid rgba(53, 212, 255, .35); outline-offset: 2px; }
[hidden] { display: none !important; }

.login-screen {
  min-height: 100vh; display: grid; place-items: center; padding: 24px; color: white; overflow: hidden; position: relative;
  background:
    radial-gradient(circle at 15% 20%, rgba(138,92,255,.26), transparent 27%),
    radial-gradient(circle at 86% 78%, rgba(53,212,255,.2), transparent 28%),
    var(--void);
}
.login-noise { position: absolute; inset: 0; opacity: .25; background-image: linear-gradient(rgba(53,212,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(53,212,255,.08) 1px, transparent 1px); background-size: 34px 34px; mask-image: linear-gradient(to bottom, black, transparent); }
.login-card { width: min(440px, 100%); padding: 28px 38px 32px; border: 1px solid rgba(53,212,255,.28); border-radius: 28px; background: rgba(16,19,41,.84); box-shadow: 0 30px 90px rgba(0,0,0,.45), inset 0 1px rgba(255,255,255,.07); backdrop-filter: blur(18px); position: relative; z-index: 1; }
.mascot-wrap { width: 230px; height: 185px; margin: -95px auto -2px; position: relative; }
.mascot { width: 100%; filter: drop-shadow(0 15px 28px rgba(0,0,0,.35)); animation: hover 4s ease-in-out infinite; }
.antenna, .bot-eye, .bot-mouth, .bot-ear { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.antenna { stroke: var(--cyan); stroke-width: 8; }
.antenna-dot { fill: var(--yellow); }
.bot-head { fill: var(--violet); stroke: #b49bff; stroke-width: 3; }
.bot-screen { fill: var(--void); }
.bot-eye { stroke: var(--lime); stroke-width: 8; }
.bot-mouth { stroke: var(--pink); stroke-width: 6; }
.bot-ear { stroke: var(--cyan); stroke-width: 8; }
.bot-body { fill: var(--cyan); }
.bot-light { fill: var(--yellow); }
.pixel-spark { position: absolute; color: var(--yellow); font-family: ui-monospace, monospace; font-weight: 900; }
.spark-a { top: 35px; left: 10px; color: var(--pink); }.spark-b { top: 74px; right: 2px; color: var(--lime); }.spark-c { bottom: 20px; right: 9px; color: var(--cyan); font-size: 11px; }
@keyframes hover { 50% { transform: translateY(-7px) rotate(1deg); } }
.login-brand { display: flex; justify-content: center; align-items: baseline; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 34px; letter-spacing: -.06em; }
.login-brand .prompt { color: var(--cyan); font-size: 18px; margin-right: 5px; }
.login-brand strong { background: linear-gradient(90deg, white, var(--cyan)); background-clip: text; color: transparent; }
.cursor { color: var(--pink); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.login-tagline { margin: 5px 0 26px; color: #9da6c8; text-align: center; }
.login-form { display: grid; gap: 16px; }
.login-form label { display: grid; gap: 7px; color: #aeb6d5; font-family: ui-monospace, monospace; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.login-form input { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; color: white; background: #0d1022; }
.login-form input:focus { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(53,212,255,.1); outline: 0; }
.neon-button { display: flex; align-items: center; justify-content: space-between; border: 0; border-radius: 12px; padding: 13px 16px; color: #07101a; background: linear-gradient(90deg, var(--cyan), var(--lime)); font-weight: 900; box-shadow: 0 10px 28px rgba(53,212,255,.18); }
.form-error { min-height: 18px; margin: -5px 0 -5px; color: #ff8f9d; font-size: 12px; }
.setup-note { padding: 12px; border: 1px solid #584d26; border-radius: 10px; color: #ffe99d; background: #272317; font-size: 12px; line-height: 1.5; }
.setup-note code { color: var(--yellow); }
.login-foot { display: block; margin-top: 20px; color: #6f789d; text-align: center; font-size: 10px; }

.app-shell { min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: var(--sidebar); padding: 25px 18px 20px; display: flex; flex-direction: column; color: white; background: var(--navy); z-index: 30; }
.sidebar::before { content: ""; position: absolute; inset: 0; opacity: .14; pointer-events: none; background-image: linear-gradient(rgba(53,212,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(53,212,255,.12) 1px, transparent 1px); background-size: 24px 24px; }
.brand, .side-nav, .system-card, .sidebar-actions { position: relative; z-index: 1; }
.brand { display: flex; align-items: center; gap: 11px; margin-bottom: 36px; }
.brand-glyph { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; color: var(--void); background: linear-gradient(135deg, var(--cyan), var(--violet)); font-family: ui-monospace, monospace; font-size: 23px; font-weight: 950; box-shadow: 5px 5px 0 var(--pink); }
.brand strong, .brand small { display: block; }.brand strong { font-family: ui-monospace, monospace; font-size: 20px; }.brand small { margin-top: 1px; color: #737da4; font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }
.online-dot { width: 8px; height: 8px; margin-left: auto; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(88,230,169,.12), 0 0 12px var(--green); }
.side-nav { display: grid; gap: 6px; }
.nav-link { width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px 13px; border: 1px solid transparent; border-radius: 11px; color: #8992b6; background: transparent; text-align: left; font-weight: 750; transition: .18s; }
.nav-link span { width: 21px; color: #626d98; font-family: ui-monospace, monospace; font-size: 18px; text-align: center; }
.nav-link:hover { color: white; background: rgba(255,255,255,.05); }
.nav-link.active { color: white; border-color: rgba(53,212,255,.22); background: linear-gradient(90deg, rgba(53,212,255,.13), rgba(138,92,255,.08)); }
.nav-link.active span { color: var(--cyan); text-shadow: 0 0 12px rgba(53,212,255,.6); }
.system-card { margin-top: auto; padding: 14px; border: 1px solid var(--line); border-radius: 13px; background: rgba(7,10,25,.5); }
.system-card-top { display: flex; justify-content: space-between; font-family: ui-monospace, monospace; font-size: 8px; letter-spacing: .08em; }.system-card-top span { color: #68729a; }.system-card-top b { color: var(--green); }
.system-meter { height: 4px; margin: 9px 0; border-radius: 3px; background: #282d4c; overflow: hidden; }.system-meter i { display: block; width: 87%; height: 100%; background: linear-gradient(90deg, var(--cyan), var(--green)); box-shadow: 0 0 12px var(--cyan); }
.system-card small { color: #7780a2; font-size: 9px; }
.sidebar-actions { display: flex; justify-content: space-between; margin-top: 15px; }
.link-button { border: 0; padding: 4px; color: #7680a5; background: transparent; font-size: 10px; }.link-button:hover { color: white; }

.main { min-height: 100vh; margin-left: var(--sidebar); background-color: var(--paper); background-image: radial-gradient(#d7dced 1px, transparent 1px); background-size: 22px 22px; }
.topbar { min-height: 105px; padding: 23px clamp(24px, 4vw, 58px); display: flex; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid #dfe3f0; background: rgba(245,247,255,.9); backdrop-filter: blur(14px); position: sticky; top: 0; z-index: 20; }
.route { margin: 0 0 4px; color: var(--violet); font-family: ui-monospace, monospace; font-size: 10px; font-weight: 800; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 0; font-size: clamp(27px, 4vw, 38px); letter-spacing: -.045em; }
h2 { font-size: 23px; letter-spacing: -.035em; }
.top-actions { display: flex; align-items: center; gap: 12px; }
.user-chip { max-width: 220px; padding: 8px 11px; border: 1px solid #d9deed; border-radius: 9px; color: #626984; background: white; font-family: ui-monospace, monospace; font-size: 10px; overflow: hidden; text-overflow: ellipsis; }
.content { max-width: 1440px; margin: 0 auto; padding: 34px clamp(20px, 4vw, 58px) 115px; }

.hot-button, .primary-button, .secondary-button, .ghost-button, .danger-button { border: 0; border-radius: 11px; padding: 11px 16px; font-weight: 850; transition: .16s ease; }
.hot-button, .primary-button { color: #101329; background: var(--lime); box-shadow: 4px 4px 0 var(--ink); }.hot-button:hover, .primary-button:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--ink); }
.secondary-button { color: white; background: var(--violet); }.secondary-button:hover { background: #7344e6; }
.ghost-button { color: var(--ink); border: 1px solid #d6daea; background: white; }.ghost-button:hover { border-color: var(--violet); }
.danger-button { color: #a32f4b; background: #ffe3ea; }
.text-button { border: 0; padding: 0; color: #5b43cf; background: transparent; font-weight: 850; }.text-button:hover { text-decoration: underline; }
.icon-button { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #d8dced; border-radius: 10px; color: #717894; background: white; }

.hero { display: grid; grid-template-columns: 1fr 230px; min-height: 190px; margin-bottom: 22px; border: 2px solid var(--ink); border-radius: 22px; color: white; background: linear-gradient(125deg, #161a36 55%, #242451); box-shadow: 7px 7px 0 var(--cyan); overflow: hidden; }
.hero-copy { padding: 29px 32px; align-self: center; }.hero-kicker { display: inline-flex; padding: 5px 8px; border-radius: 6px; color: var(--lime); background: rgba(183,255,74,.1); font-family: ui-monospace, monospace; font-size: 9px; font-weight: 800; letter-spacing: .1em; }.hero h2 { margin: 12px 0 7px; font-size: 30px; }.hero p { max-width: 660px; margin: 0; color: #9da7ca; line-height: 1.55; }
.hero-visual { position: relative; display: grid; place-items: center; background: linear-gradient(135deg, rgba(138,92,255,.22), rgba(53,212,255,.12)); }
.mini-bot { width: 125px; height: 105px; border: 8px solid var(--cyan); border-radius: 35px; position: relative; background: var(--void); box-shadow: 0 0 35px rgba(53,212,255,.2); }.mini-bot::before { content: "^  ^"; position: absolute; inset: 27px 0 auto; color: var(--lime); font-family: ui-monospace, monospace; font-size: 24px; font-weight: 900; text-align: center; }.mini-bot::after { content: ""; position: absolute; left: 42px; bottom: 21px; width: 25px; height: 6px; border-radius: 6px; background: var(--pink); }
.orbit { position: absolute; width: 170px; height: 70px; border: 2px dashed rgba(255,255,255,.2); border-radius: 50%; transform: rotate(-18deg); }.orbit::after { content: ""; position: absolute; right: 5px; top: 3px; width: 10px; height: 10px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 14px var(--yellow); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 22px; }
.stat { padding: 18px; border: 1px solid #dce0ef; border-radius: 16px; background: white; box-shadow: 0 3px 0 #d8ddec; }.stat-top { display: flex; align-items: center; justify-content: space-between; color: #747b99; font-size: 11px; font-weight: 750; }.stat-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; color: var(--violet); background: #ede9ff; font-family: ui-monospace, monospace; }.stat strong { display: block; margin: 13px 0 2px; font-family: ui-monospace, monospace; font-size: 30px; }.stat small { color: #858ba5; }

.grid-two { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(290px, .75fr); gap: 18px; }
.panel { border: 1px solid #dce0ef; border-radius: 18px; background: white; box-shadow: var(--shadow); overflow: hidden; }.panel-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid #e4e7f1; }.panel-head h2 { margin: 0; }.panel-body { padding: 6px 22px 16px; }
.activity-row { display: grid; grid-template-columns: 50px minmax(0,1fr) auto; align-items: center; gap: 14px; padding: 15px 0; border-bottom: 1px solid #e9ebf3; }.activity-row:last-child { border-bottom: 0; }.date-box { padding: 7px 4px; border: 1px solid #dcd5ff; border-radius: 10px; color: #5b43cf; background: #f1eeff; text-align: center; }.date-box strong, .date-box small { display: block; }.date-box strong { font-family: ui-monospace, monospace; font-size: 18px; }.date-box small { font-size: 8px; font-weight: 900; text-transform: uppercase; }.activity-copy { min-width: 0; }.activity-copy strong { display: block; margin-bottom: 4px; }.activity-copy p { margin: 0; color: #737a95; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }.activity-copy em { display: inline-block; margin-top: 6px; color: #5e45d1; font-style: normal; font-size: 9px; font-weight: 900; text-transform: uppercase; }.row-actions { display: flex; gap: 6px; }
.report-line { padding: 15px 0; border-bottom: 1px solid #e9ebf3; }.report-line:last-child { border: 0; }.report-line-top { display: flex; justify-content: space-between; gap: 8px; }.report-line strong { font-size: 13px; }.report-line p { margin: 5px 0 0; color: #7b829d; font-size: 11px; }
.badge { display: inline-flex; align-items: center; gap: 5px; width: fit-content; padding: 5px 8px; border-radius: 7px; font-family: ui-monospace, monospace; font-size: 8px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }.badge::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }.badge-review { color: #94519d; background: #ffe6ff; }.badge-validated { color: #238568; background: #dcf9ee; }.badge-sent,.badge-archived { color: #4563a5; background: #e6edff; }.badge-draft { color: #727893; background: #edf0f6; }

.empty { padding: 45px 20px; text-align: center; }.empty-code { width: fit-content; margin: 0 auto 15px; padding: 9px 12px; border: 1px solid #d8dced; border-radius: 9px; color: #6851d6; background: #f3f0ff; font-family: ui-monospace, monospace; font-weight: 900; }.empty h3 { margin-bottom: 7px; }.empty p { max-width: 430px; margin: 0 auto 17px; color: #7b829d; font-size: 12px; line-height: 1.55; }
.section-intro { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 22px; }.section-intro h2 { margin-bottom: 5px; }.section-intro p { margin: 0; color: #737a95; }.filter-row { display: flex; gap: 9px; flex-wrap: wrap; align-items: center; }

.capture-grid { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 20px; align-items: start; }.capture-card { padding: clamp(21px,4vw,36px); border: 2px solid var(--ink); border-radius: 21px; background: white; box-shadow: 7px 7px 0 var(--violet); }.capture-card > p { color: #737a95; }.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }.field { display: grid; gap: 7px; }.field.full { grid-column: 1/-1; }.field label, .field > span:first-child { color: #555d7b; font-family: ui-monospace, monospace; font-size: 9px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }.field input,.field select,.field textarea { width: 100%; border: 1px solid #ced3e5; border-radius: 10px; padding: 12px; color: var(--ink); background: #fafbff; }.field textarea { min-height: 130px; resize: vertical; line-height: 1.5; }.field input:focus,.field select:focus,.field textarea:focus { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(138,92,255,.09); outline: 0; }.textarea-wrap { position: relative; }.textarea-wrap textarea { padding-bottom: 48px; }.textarea-tools { position: absolute; right: 9px; bottom: 9px; display: flex; gap: 6px; }.mini-button { border: 0; border-radius: 8px; padding: 7px 9px; color: #513eb3; background: #ece8ff; font-size: 10px; font-weight: 850; }.mini-button.mic { color: #852e75; background: #ffe6f9; }.mini-button.recording { animation: pulse 1s infinite; }.field-hint { color: #848ba4; font-size: 10px; line-height: 1.45; }.form-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 23px; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(255,79,216,.13); } }
.quest-card { padding: 22px; border: 1px solid var(--line); border-radius: 17px; color: white; background: var(--navy); box-shadow: 5px 5px 0 var(--cyan); }.quest-label { color: var(--yellow); font-family: ui-monospace, monospace; font-size: 9px; font-weight: 900; }.quest-card h3 { margin: 12px 0 7px; font-size: 18px; }.quest-card p,.quest-card li { color: #9da6c6; font-size: 11px; line-height: 1.55; }.quest-card ol { padding-left: 18px; }.xp { margin-top: 18px; color: var(--lime); font-family: ui-monospace, monospace; font-size: 10px; }

.card-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }.client-card,.report-card { padding: 20px; border: 1px solid #dce0ef; border-radius: 16px; background: white; box-shadow: 0 4px 0 #d9deec; }.client-head { display: flex; align-items: center; gap: 11px; }.client-avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; color: var(--void); background: linear-gradient(135deg,var(--cyan),var(--lime)); font-family: ui-monospace, monospace; font-weight: 950; box-shadow: 3px 3px 0 var(--violet); }.client-head strong,.client-head small { display: block; }.client-head small { margin-top: 3px; color: #81879f; font-size: 11px; }.client-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin: 20px 0; }.client-stats div { padding: 11px; border-radius: 10px; background: #f2f4fb; }.client-stats strong,.client-stats small { display: block; }.client-stats strong { font-family: ui-monospace,monospace; font-size: 19px; }.client-stats small { color: #858ba4; font-size: 9px; }.card-actions { display: flex; gap: 7px; }.card-actions button { flex: 1; }
.report-card { display: grid; gap: 15px; }.report-card-top { display: flex; justify-content: space-between; gap: 10px; }.report-card h3 { margin: 0; }.report-card p { margin: 4px 0 0; color: #7b829c; font-size: 11px; }.report-count { display: flex; justify-content: space-between; padding: 12px 0; border-block: 1px solid #e7e9f2; color: #7b829c; font-size: 11px; }.report-card button { width: 100%; }
.archive-list { display: grid; gap: 10px; }.archive-row { display: grid; grid-template-columns: 60px minmax(0,1fr) auto auto; align-items: center; gap: 16px; padding: 16px 19px; border: 1px solid #dce0ef; border-radius: 14px; background: white; }.archive-date { text-align: center; color: #5d45cf; }.archive-date strong,.archive-date small { display: block; }.archive-date strong { font-family: ui-monospace,monospace; font-size: 18px; }.archive-date small { font-size: 8px; font-weight: 900; }.archive-row h3 { margin: 0 0 4px; }.archive-row p { margin: 0; color: #81879f; font-size: 10px; }

.modal-layer { position: fixed; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(7,9,22,.72); backdrop-filter: blur(7px); z-index: 100; }.modal { width: min(680px,100%); max-height: calc(100vh - 40px); overflow: auto; border: 2px solid var(--ink); border-radius: 20px; background: white; box-shadow: 8px 8px 0 var(--cyan); }.modal.wide { width: min(1020px,100%); }.modal-head { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; gap: 15px; padding: 20px 22px; border-bottom: 1px solid #e3e6f0; background: rgba(255,255,255,.96); backdrop-filter: blur(12px); }.modal-head h2 { margin: 0 0 3px; }.modal-head p { margin: 0; color: #7e849e; font-size: 11px; }.modal-body { padding: 22px; }.modal-foot { position: sticky; bottom: 0; z-index: 2; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; padding: 15px 22px; border-top: 1px solid #e3e6f0; background: rgba(255,255,255,.97); }.modal-foot .push { margin-right: auto; }.lock-note { margin-bottom: 16px; padding: 11px 13px; border: 1px solid #a4e7ce; border-radius: 10px; color: #247a60; background: #e3faf1; font-size: 11px; }
.report-editor { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(300px,.8fr); gap: 22px; }.editor-block { margin-bottom: 20px; }.editor-block > label { display: block; margin-bottom: 7px; color: #555d7b; font-family: ui-monospace,monospace; font-size: 9px; font-weight: 900; text-transform: uppercase; }.editor-block > textarea { width: 100%; min-height: 90px; border: 1px solid #ced3e5; border-radius: 10px; padding: 11px; resize: vertical; }.report-activity { padding: 13px 0; border-bottom: 1px solid #e8eaf3; }.report-activity-top { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }.report-activity-top input { accent-color: var(--violet); }.report-activity-top strong { font-size: 11px; }.report-activity-top small { margin-left: auto; color: #7e849d; }.report-activity > input,.report-activity > textarea { width: 100%; border: 1px solid #d6dae8; border-radius: 9px; padding: 8px 9px; background: #fbfcff; }.report-activity > textarea { min-height: 63px; margin-top: 6px; resize: vertical; }.report-activity.off { opacity: .45; }.paper-preview { position: sticky; top: 85px; min-height: 500px; padding: 25px; border: 1px solid #d5d9e7; background: white; box-shadow: 6px 6px 0 #eceef5; }.preview-kicker { color: #654bd5; font-family: ui-monospace,monospace; font-size: 8px; font-weight: 900; text-transform: uppercase; }.paper-preview h2 { margin: 8px 0 2px; }.preview-client { color: #777e98; font-size: 11px; }.preview-intro,.preview-conclusion { color: #545b73; font-size: 10px; line-height: 1.55; }.preview-item { display: grid; grid-template-columns: 55px 1fr; gap: 10px; padding: 11px 0; border-top: 1px solid #e4e6ef; }.preview-item time { color: #634bd2; font-family: ui-monospace,monospace; font-size: 9px; font-weight: 900; }.preview-item strong { display: block; margin-bottom: 3px; font-size: 10px; }.preview-item p { margin: 0; color: #747b94; font-size: 9px; line-height: 1.45; }
.toast-zone { position: fixed; right: 20px; bottom: 22px; display: grid; gap: 8px; z-index: 200; }.toast { min-width: 250px; max-width: 380px; padding: 13px 15px; border: 1px solid var(--cyan); border-radius: 10px; color: white; background: var(--navy); box-shadow: 5px 5px 0 rgba(53,212,255,.45); font-family: ui-monospace,monospace; font-size: 11px; animation: in .2s ease; }.toast.error { border-color: var(--coral); box-shadow: 5px 5px 0 rgba(255,109,105,.4); }.toast.success { border-color: var(--lime); box-shadow: 5px 5px 0 rgba(183,255,74,.35); }@keyframes in { from { opacity:0; transform:translateY(8px); } }
.mobile-nav { display: none; } #print-root { display:none; }

@media (max-width:1050px) { .stats { grid-template-columns:repeat(2,1fr); }.card-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }.capture-grid { grid-template-columns:1fr; }.quest-card { display:none; }.report-editor { grid-template-columns:1fr; }.paper-preview { position:static; } }
@media (max-width:760px) {
  :root { --sidebar:0px; }.sidebar { display:none; }.main { margin-left:0; }.topbar { min-height:88px; padding:16px 17px 13px; }.top-actions .user-chip,.top-actions .hot-button { display:none; }.content { padding:20px 15px 105px; }.mobile-nav { position:fixed; inset:auto 0 0; height:74px; display:grid; grid-template-columns:repeat(5,1fr); align-items:center; padding:7px 10px calc(7px + env(safe-area-inset-bottom)); border-top:1px solid #dfe2ee; background:rgba(255,255,255,.96); backdrop-filter:blur(14px); z-index:40; }.mobile-link { display:grid; justify-items:center; gap:2px; border:0; color:#848aa3; background:transparent; }.mobile-link span { font-size:18px; }.mobile-link small { font-size:8px; font-weight:850; }.mobile-link.active { color:#654bd5; }.mobile-add { justify-self:center; align-self:start; width:48px; height:48px; margin-top:-22px; border:5px solid var(--paper); border-radius:15px; color:var(--void); background:var(--lime); box-shadow:4px 4px 0 var(--violet); font-size:25px; }.hero { grid-template-columns:1fr; box-shadow:5px 5px 0 var(--cyan); }.hero-copy { padding:24px; }.hero h2 { font-size:24px; }.hero-visual { display:none; }.stats { gap:9px; }.stat { padding:15px; }.grid-two,.card-grid { grid-template-columns:1fr; }.section-intro { align-items:flex-start; flex-direction:column; }.form-grid { grid-template-columns:1fr; }.field.full { grid-column:auto; }.capture-card { padding:20px 16px; box-shadow:5px 5px 0 var(--violet); }.form-actions { flex-direction:column-reverse; }.form-actions button { width:100%; }.activity-row { grid-template-columns:44px minmax(0,1fr); }.activity-row .row-actions { grid-column:2; }.archive-row { grid-template-columns:48px minmax(0,1fr); gap:10px; }.archive-row > .badge,.archive-row > .card-actions { grid-column:2; }.modal-layer { padding:0; align-items:end; }.modal,.modal.wide { width:100%; max-height:94vh; border-radius:20px 20px 0 0; box-shadow:none; }.modal-head,.modal-body,.modal-foot { padding-left:17px; padding-right:17px; }.modal-foot { justify-content:stretch; }.modal-foot button { flex:1; }.modal-foot .push { margin-right:0; }.toast-zone { left:13px; right:13px; bottom:88px; }.toast { min-width:0; max-width:none; }.login-card { padding:25px 20px 27px; }.mascot-wrap { transform:scale(.85); margin-bottom:-17px; }
}

@media print {
  body > *:not(#print-root) { display:none !important; } #print-root { display:block !important; color:#171b2f; background:white; font-family:Arial,sans-serif; }.print-report { max-width:760px; margin:0 auto; padding:22mm 18mm; }.print-report header { padding-bottom:16px; border-bottom:3px solid #171b2f; }.print-kicker { color:#654bd5; font-size:9px; font-weight:bold; letter-spacing:.12em; text-transform:uppercase; }.print-report h1 { margin:9px 0 4px; font-size:28px; }.print-report .meta,.print-report footer { color:#5d6378; font-size:11px; }.print-report .intro { margin:25px 0; color:#41475b; font-size:12px; line-height:1.6; }.print-item { display:grid; grid-template-columns:90px 1fr; gap:17px; padding:15px 0; border-top:1px solid #ddd; break-inside:avoid; }.print-item time { color:#654bd5; font-size:10px; font-weight:bold; }.print-item h3 { margin:0 0 5px; font-size:13px; }.print-item p { margin:0; color:#4d5366; font-size:11px; line-height:1.55; }.print-report footer { margin-top:28px; padding-top:14px; border-top:1px solid #ddd; }
}
