:root{color-scheme:dark;--pink:#ff198c;--pink-soft:#ff82c4;--line:#a73777;--glass:rgba(20,9,23,.88);--text:#f7eaf6;--muted:#d7b8cd}*{box-sizing:border-box}html,body{margin:0;height:100%;font:15px/1.55 system-ui,-apple-system,'Segoe UI',sans-serif;color:var(--text);background:#130b17}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}a{color:#ffc2e0}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid #fff;outline-offset:2px}.wallpaper{position:fixed;inset:0;background:url('/assets/tausta.webp') center center/cover no-repeat;z-index:-3}.overlay{position:fixed;inset:0;background:linear-gradient(90deg,rgba(11,5,11,.18),rgba(11,5,11,.20) 40%,rgba(11,5,11,.46));z-index:-2}.glass{background:var(--glass);border:1px solid rgba(255,89,169,.32);box-shadow:0 14px 60px #07020b9e;backdrop-filter:blur(17px);-webkit-backdrop-filter:blur(17px)}.auth-screen{min-height:100dvh;display:grid;place-items:center;padding:24px}.login-card{width:min(410px,100%);border-radius:24px;padding:26px 30px;text-align:center}.brand{display:flex;align-items:center;gap:12px}.brand strong{font-size:24px;line-height:1.1;font-weight:800}.brand em{font-size:17px;font-style:normal;color:white}.brand small{font-size:11px;display:block;color:var(--muted)}.brand-login{justify-content:center}.siru-mark{color:#ff49a6;font-weight:900;font-size:42px;text-shadow:0 0 18px var(--pink)}.login-card h1{font-size:25px;margin:18px 0 2px}.login-card p{color:#e6c9dc}.login-card form{display:grid;gap:14px;text-align:left;margin:20px 0}.login-card label{font-size:13px;font-weight:700}.login-card input{display:block;margin-top:5px;width:100%;background:#f7f6ff;color:#12142b;border:1px solid #a2b3c5;padding:11px;border-radius:10px}.siru-profile img{width:96px;height:96px;object-fit:cover;border-radius:50%;border:2px solid var(--pink-soft);margin-top:22px}.official-logo{max-width:140px;max-height:64px;object-fit:contain;margin:16px auto 0}.pink{color:#fff;background:linear-gradient(120deg,#9f0961,#f90880);border:1px solid #f46bb3;border-radius:12px;padding:11px 19px;font-weight:700;box-shadow:0 3px 16px #d6006870}.pink:hover{filter:brightness(1.2)}.wide{width:100%}.secondary,.quiet{background:#35182d;border:1px solid #93587b;color:#ffe6f3;border-radius:12px;padding:10px 13px}.secondary:hover,.quiet:hover{background:#50223f}.status,.notice{color:#ffc8e0;min-height:20px}.small{font-size:12px;color:var(--muted)}.app-shell{position:fixed;inset:2.8% 2% 2.8% min(18%,310px);border-radius:20px;display:flex;flex-direction:column;overflow:hidden;background:rgba(16,8,23,.86)}[hidden]{display:none!important}.topbar{padding:14px 22px;display:flex;align-items:center;gap:18px;border-bottom:1px solid #763452;min-height:76px}.repair-brand{display:flex;align-items:center;gap:8px;margin-left:18px;font-size:12px;color:#edd6e3}.repair-brand img{max-height:48px;max-width:135px;object-fit:contain}.right-head{margin-left:auto;display:flex;align-items:center;gap:10px;position:relative;font-size:12px}.live-dot{width:8px;height:8px;border-radius:50%;background:#4af59c;box-shadow:0 0 10px #4af59c}.floating{position:absolute;right:0;top:100%;width:190px;background:#251021;z-index:20;padding:8px;border:1px solid #9c4979;border-radius:12px;box-shadow:0 10px 30px #000a}.floating button{display:block;width:100%;background:transparent;border:0;text-align:left;color:white;padding:9px}.floating button:hover{background:#43223a}.app-body{flex:1;min-height:0;display:flex}.sidebar{width:196px;min-width:170px;padding:15px 12px;display:flex;flex-direction:column;border-right:1px solid #7e3a5a;background:#140b17ba}.nav{display:block;background:transparent;border:none;color:#f5e5ef;padding:12px 16px;text-align:left;width:100%;border-radius:11px;font-weight:600;font-size:14px}.nav.active{background:linear-gradient(100deg,#85054a,#d91179);box-shadow:0 0 16px #d20b5660}.sidebar .secondary{margin:17px 0 9px}.threads-title{font-size:11px;color:#dab4cc;letter-spacing:1px;text-transform:uppercase;margin-top:11px;padding:4px}.thread-list{overflow:auto;flex:1}.thread-list button{display:block;background:transparent;color:#decbd7;border:0;border-radius:8px;text-align:left;width:100%;padding:8px 6px;font-size:12px;overflow-wrap:anywhere}.thread-list button:hover,.thread-list button.selected{background:#63305078}.side-footer{border-top:1px solid #69314d;padding:14px 2px 3px;display:flex;align-items:center;gap:9px;font-size:12px}.side-footer img{width:38px;height:38px;object-fit:cover;border-radius:50%;border:1px solid #df4b8b}.side-footer small{color:#ba9eac}.main{min-width:0;flex:1;display:flex;flex-direction:column}.chat-pane{display:flex;flex-direction:column;flex:1;min-height:0}.messages{overflow:auto;flex:1;padding:26px min(5%,56px)}.empty{text-align:center;margin:13vh auto;max-width:460px}.empty img{width:84px;height:84px;border-radius:50%;object-fit:cover;border:2px solid var(--pink)}.empty h1{font-size:26px;margin:10px}.empty p{color:var(--muted)}.message{max-width:90%;margin:12px 0;display:flex;gap:10px;align-items:flex-end}.message.user{margin-left:auto;justify-content:flex-end}.message.assistant{margin-right:auto}.bubble{border:1px solid #a43874;background:#331628ee;border-radius:17px;padding:15px 18px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.55;min-width:80px}.user .bubble{background:#2c2230dd;border-color:#79536b}.avatar{width:34px;height:34px;object-fit:cover;border-radius:50%;border:1px solid var(--pink)}.sender{font-size:12px;color:#ff91c7;font-weight:700;margin-bottom:7px}.message-action{margin-top:10px;padding:6px 8px;font-size:12px;color:#ffc5df;background:#4c1b37;border:1px solid #a04a74;border-radius:8px}.notice{padding:0 25px;font-size:13px;max-height:50px;overflow:auto}.composer{padding:12px 18px 13px;background:#1d101def;border-top:1px solid #75425a}.composer form{display:flex;gap:10px;align-items:stretch}.composer textarea{resize:vertical;min-height:65px;max-height:180px;flex:1;width:100%;background:#231626;color:var(--text);border:1px solid #a1708b;border-radius:16px;padding:14px}.compose-buttons{display:flex;align-items:center;gap:8px}.mic{background:#4e173a;color:#fff;border:1px solid #ff50a2;border-radius:14px;min-width:77px;padding:10px}.mic.recording{background:#9b163a}.compose-note{display:flex;justify-content:space-between;gap:10px;font-size:11px;color:#cdb3c3;padding:5px 5px 0}.heard{margin-top:8px;padding:8px 12px;border:1px solid #c7438a;border-radius:9px;background:#4a1d3c;color:#fff4f9;white-space:pre-wrap}.right-panel{width:240px;flex:0 0 240px;border-left:1px solid #703856;padding:16px 12px;overflow:auto;background:#1a0d1bd9}.right-panel details{border:1px solid #a63f76;border-radius:14px;margin-bottom:13px;overflow:hidden;background:#251023ac}.right-panel summary{padding:12px;cursor:pointer;color:#ffabd3;background:#5a183b;font-weight:700}.right-panel details>p,.right-panel details>button,.right-panel .switch-row{margin:13px;font-size:12px}.right-panel details button{width:calc(100% - 26px)}.switch-row{display:flex;align-items:center;justify-content:space-between;gap:10px;font-weight:650}.switch-row input{appearance:none;background:#60425a;width:46px;height:26px;border-radius:99px;position:relative;cursor:pointer;border:1px solid #ab7390;flex-shrink:0}.switch-row input:before{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;transition:transform .2s}.switch-row input:checked{background:#f2198f}.switch-row input:checked:before{transform:translateX(20px)}.info-card{font-size:13px;text-align:center;color:#ff91c3;line-height:1.8;margin-top:12px}.info-card small{color:#d5b3c5}.full-pane{overflow:auto;padding:38px min(7%,60px);flex:1}.full-pane h1{margin-top:0}.full-pane p{color:#e6bed4}.full-pane h2{font-size:17px}.full-pane input:not([type=checkbox]),.full-pane textarea,.full-pane select{display:block;background:#241525;color:white;border:1px solid #925772;border-radius:10px;padding:11px;min-width:220px;margin:10px 0}.full-pane form{display:flex;flex-direction:column;align-items:flex-start}.full-pane .switch-row{max-width:440px;margin:24px 0}.add-memory{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.add-memory textarea{min-width:min(460px,100%);min-height:76px}.memo{border:1px solid #7d4461;border-radius:10px;background:#301b2e;padding:12px;margin:10px 0}.memo p{white-space:pre-wrap;margin:2px 0 8px}.memo small{color:#c9afbe}.memo button{background:#4b203a;color:#ffd4e8;border:1px solid #aa658c;border-radius:7px;padding:5px 10px;margin:0 8px 0 0}.select-label{display:block;margin:16px 0}.full-pane audio{display:block;max-width:100%;margin-top:12px}@media(max-width:1280px){.app-shell{inset:2% 1%;}.right-panel{width:205px;flex-basis:205px}.sidebar{width:170px;min-width:160px}}@media(max-width:880px){.app-shell{inset:0;border-radius:0}.right-panel{display:none}.sidebar{width:74px;min-width:74px}.sidebar .nav span,.sidebar .threads-title,.sidebar .thread-list,.sidebar .side-footer span{display:none}.sidebar .secondary{font-size:11px;padding:6px}.topbar{padding:8px 12px}.repair-brand{display:none}.messages{padding:14px}.compose-note span:last-child{display:none}}@media(max-width:520px){.sidebar{display:none}.brand strong{font-size:19px}.ready{display:none}.composer form{display:block}.compose-buttons{justify-content:flex-end;padding-top:7px}.full-pane{padding:20px}}
.admin-body{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:30px}.admin-layout{max-width:1000px;width:100%;max-height:92vh;overflow:auto;border-radius:20px;padding:22px 30px}.admin-layout header{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}.admin-layout section{margin:22px 0;padding:18px;border:1px solid #894060;border-radius:12px;background:#1c0d1b}.admin-layout input:not([type=checkbox]){background:#fff;color:#12121b;padding:10px;border-radius:8px;border:0;margin:8px}.admin-layout .user-row{display:flex;gap:12px;align-items:center;flex-wrap:wrap;border-bottom:1px solid #644259;padding:10px}.admin-layout .user-row strong{min-width:180px}.admin-layout .user-row button{background:#4d2540;color:white;border:1px solid #af6990;border-radius:8px;padding:7px}.admin-layout .memo{word-break:break-all}
