:root{
  color-scheme: dark;
  --bg: #101825;
  --panel: #1b2636;
  --panel-soft: #182231;
  --stroke: #2b3948;
  --text: #f6f1e7;
  --muted: #b4bdc8;
  --subtle: #7e8a99;
  --accent: #e9c48d;
  --accent-dark: #1c2736;
  --danger: #f2a9a5;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  font-synthesis: none;
}
*{box-sizing:border-box}
html{background:var(--bg)}
body{margin:0;min-height:100dvh;background:radial-gradient(ellipse 85% 400px at 55% -130px,#253650 0%,transparent 85%),var(--bg);color:var(--text)}
button,textarea{font:inherit}
button{-webkit-tap-highlight-color:transparent}
.app-shell{width:min(100%,660px);margin:auto;padding:calc(env(safe-area-inset-top) + 30px) 22px calc(env(safe-area-inset-bottom) + 42px)}
.app-header,.brand,.section-topline,.composer-bottom,.thoughts-heading,.test-head,.note-meta{display:flex;align-items:center;justify-content:space-between;gap:12px}
.brand{justify-content:flex-start;gap:11px}
.brand-mark{display:grid;place-items:center;width:45px;height:45px;border:1px solid #5c5145;background:#2b302f;border-radius:14px;color:var(--accent)}
.brand-mark svg{width:34px;height:34px}
.brand-title{font-size:23px;font-weight:780;letter-spacing:-.8px;line-height:1.1}
.brand-dot{color:var(--accent)}
.brand-subtitle{font-size:11px;letter-spacing:.25px;color:var(--muted);margin-top:3px}
.version{border:1px solid #344252;border-radius:30px;font-size:10px;font-weight:750;letter-spacing:1px;padding:8px 10px;color:#bbc5d2;white-space:nowrap}
.intro{padding:52px 0 29px}
.eyebrow{display:flex;align-items:center;gap:9px;margin:0 0 18px;color:var(--accent);font-weight:760;font-size:10px;letter-spacing:2.1px}
.eyebrow-line{display:inline-block;width:19px;height:1px;background:currentColor}
.intro h1{font-size:clamp(35px,8.2vw,52px);line-height:1.13;letter-spacing:-1.4px;margin:0;font-weight:720}
.intro h1 em{font-weight:580;font-style:normal;color:var(--accent)}
.intro-text{margin:19px 0 0;color:var(--muted);font-size:14px;line-height:1.7;max-width:420px}
.surface{background:linear-gradient(150deg,#202d3e 0%,#1b2635 84%);border:1px solid #3b4553;border-radius:22px;box-shadow:0 14px 45px rgba(0,0,0,.13)}
.composer{padding:21px 19px 17px}
.section-topline{margin-bottom:15px}
h2{font-size:17px;line-height:1.35;margin:0;font-weight:700;letter-spacing:-.2px}
.section-icon{color:var(--accent);font-size:22px}
textarea{resize:vertical;min-height:145px;width:100%;padding:18px 15px;background:#151f2d;border:1px solid #354457;border-radius:13px;color:var(--text);font-size:16px;line-height:1.6;outline:0;transition:border-color .15s,box-shadow .15s}
textarea::placeholder{color:#8d98a7}
textarea:focus{border-color:#b99663;box-shadow:0 0 0 3px rgba(233,196,141,.11)}
.composer-bottom{margin-top:13px}
.count{color:var(--subtle);font-size:12px;font-variant-numeric:tabular-nums}
.primary-btn{min-height:48px;background:var(--accent);border:0;border-radius:12px;color:#202631;padding:10px 16px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:14px;font-weight:770;cursor:pointer;transition:transform .15s,filter .15s}
.primary-btn:hover{filter:brightness(1.06)}
.primary-btn:active{transform:scale(.97)}
.button-plus{font-size:23px;line-height:0;position:relative;top:-1px;font-weight:430}
.feedback{min-height:0;margin:0;color:#c4deb4;font-size:12px;line-height:1.5}
.feedback:not(:empty){margin-top:12px}
.feedback.error{color:var(--danger)}
.thoughts{padding-top:37px}
.thoughts-heading{margin-bottom:14px}
.eyebrow.subtle{color:var(--subtle);margin-bottom:7px;font-size:9px}
.notes-count{color:var(--accent);font-size:13px;margin-left:5px}
.notes-list{display:grid;gap:10px}
.empty-state{padding:27px 18px;border:1px dashed #3b4554;border-radius:14px;color:var(--subtle);font-size:13px;text-align:center;line-height:1.5}
.note-card{padding:16px 17px;background:var(--panel-soft);border:1px solid #2d3d50;border-radius:15px}
.note-meta{color:var(--subtle);font-size:11px}
.note-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.62;margin:11px 0 0;color:#e8e9eb}
.delete-note{background:none;border:0;color:#aab3be;font-size:12px;text-decoration:underline;text-underline-offset:3px;cursor:pointer;padding:7px 0 7px 10px}
.delete-note:hover{color:var(--danger)}
.surface-muted{background:#151f2c;border:1px solid #2d3b4b;border-radius:19px}
.test-panel{margin-top:35px;padding:19px 19px 17px}
.test-head{align-items:flex-start;flex-wrap:wrap}
.test-panel h2{font-size:15px}
.status{display:inline-flex;align-items:center;gap:6px;padding:6px 9px;border-radius:99px;background:#26313f;color:#bdc7d4;font-size:10px;white-space:nowrap}
.status-dot{width:7px;height:7px;border-radius:50%;background:#d8b785}
.status.ready .status-dot{background:#a6ce99}
.status.ready{color:#c5dec0}
.status.offline .status-dot{background:#9eb8ee}
.test-text,.test-panel li{color:var(--muted);font-size:12px;line-height:1.7}
.test-text{margin:16px 0 5px}
.test-panel ol{padding-left:20px;margin:7px 0 12px}
.test-panel li{padding-left:4px;margin-bottom:4px}
.test-panel strong{color:var(--text);font-weight:650}
.smallprint{border-top:1px solid #2a3744;color:#9faab7;padding-top:14px;margin:12px 0 0;font-size:11px;line-height:1.65}
footer{color:#718092;margin-top:28px;text-align:center;font-size:11px;line-height:1.6}
.visually-hidden{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;clip-path:inset(50%)}
@media(max-width:380px){.app-shell{padding-left:16px;padding-right:16px}.intro{padding-top:40px}.composer{padding-left:15px;padding-right:15px}.primary-btn{padding:9px 12px}.brand-title{font-size:21px}.version{font-size:9px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important}}
