:root { color-scheme:light; --bg:#f3f2f8; --surface:#fff; --surface-2:#f2eef8; --ink:#211d33; --ink-soft:#595268; --ink-faint:#726783; --line:#e4ddea; --line-strong:#d6cde1; --brand:#5940b7; --brand-ink:#492f9f; --brand-wash:#f0e9fc; --ok:#147956; --hot:#ab3b50; --warm:#946018; --cold:#3867a3; --danger:#9f2846; }
* { box-sizing:border-box; }
[hidden] { display:none !important; }
body { margin:0; color:var(--ink); background:var(--bg); font:15px/1.5 "Segoe UI",system-ui,sans-serif; min-height:100dvh; }
h1,h2,h3,p { margin-top:0; }
h1,h2,h3 { line-height:1.2; }
a { color:var(--brand-ink); }
button,input,select,textarea { font:inherit; }
button { cursor:pointer; }
button:disabled { opacity:.58; cursor:default; }
.field { display:block; min-width:0; }
.field > span { display:block; margin-bottom:5px; font-size:13px; color:var(--ink-soft); font-weight:650; }
.field :is(input,select,textarea) { width:100%; min-width:0; background:var(--surface); color:var(--ink); padding:9px 10px; border:1px solid var(--line-strong); border-radius:8px; }
.field textarea { resize:vertical; }
:focus-visible { outline:2px solid var(--brand); outline-offset:3px; }
.card { background:var(--surface); border:1px solid var(--line); border-radius:14px; box-shadow:0 2px 3px #2923420a; }
.btn { display:inline-flex; align-items:center; justify-content:center; gap:6px; border:1px solid transparent; font-weight:650; padding:8px 12px; border-radius:8px; text-decoration:none; font-size:13px; }
.btn-ghost { background:var(--surface); color:var(--ink); border-color:var(--line-strong); }
.btn-primary { background:var(--brand); color:#fff; }
.btn-ghost:hover { background:var(--surface-2); }
.btn-primary:hover { background:var(--brand-ink); }
.rep-muted,.rep-sub { color:var(--ink-soft); }
.rep-muted { font-size:13px; }
.rep-status { min-height:1em; margin:0; font-size:13px; overflow-wrap:anywhere; }
.rep-login { min-height:100dvh; display:grid; place-items:center; padding:18px; }
.rep-login-card { width:min(100%,400px); padding:24px; display:grid; gap:12px; }
.rep-login-card :is(h1,p) { margin:0; }
.rep-login-card h1 { font-size:24px; margin-top:6px; }
.rep-login-card > a { font-size:13px; }
#repOutlet { display:grid; gap:16px; }
.rep-bell { position:relative; }
#repBadge { position:absolute; width:8px; height:8px; border-radius:50%; background:#ae3f5a; top:4px; right:4px; }
.rep-hero { overflow:hidden; }
.rep-hero-head { background:linear-gradient(110deg,#382552,#6047a9); color:#fff; padding:24px; display:flex; flex-wrap:wrap; align-items:end; justify-content:space-between; gap:16px; }
.rep-hero-head h2 { margin:0 0 7px; font-size:clamp(23px,3vw,35px); }
.rep-hero-head p { margin:0; color:#f2e8fd; font-size:13px; }
.rep-hero-head .field { flex:0 1 250px; min-width:175px; }
.rep-hero-head .field span { color:#f2e8fd; }
.rep-metrics { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); }
.rep-metric { padding:13px 12px; display:grid; gap:2px; text-align:center; }
.rep-metric + .rep-metric { border-left:1px solid var(--line); }
.rep-metric strong { font-size:24px; color:var(--brand-ink); }
.rep-metric span { font-size:12px; color:var(--ink-soft); }
.rep-panel-title { font-size:17px; margin:0 0 10px; }
.rep-action-list { display:grid; gap:8px; }
.rep-action-row { display:flex; align-items:center; gap:13px; padding:13px 15px; color:var(--ink); text-decoration:none; }
.rep-action-row:hover { border-color:var(--brand); }
.rep-action-row strong,.rep-action-row small { display:block; }
.rep-action-row small { color:var(--ink-soft); }
.rep-icon { display:grid; place-items:center; width:32px; height:32px; flex:0 0 32px; color:var(--brand-ink); background:var(--brand-wash); border-radius:8px; font-size:17px; }
.rep-empty { min-height:240px; padding:22px; display:grid; place-content:center; justify-items:center; text-align:center; gap:10px; }
.rep-empty :is(h2,p) { margin:0; }
.rep-empty p { max-width:320px; }
.rep-result-list { display:grid; gap:9px; }
.rep-row { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px; padding:13px 16px; }
.rep-row h2 { margin:0 0 3px; font-size:16px; overflow-wrap:anywhere; }
.rep-row p { margin:0; overflow-wrap:anywhere; }
.rep-row-main { min-width:0; flex:1 1 205px; }
.rep-pill { display:inline-block; background:var(--brand-wash); color:var(--brand-ink); border-radius:14px; padding:3px 9px; font-size:11px; font-weight:700; }
.rep-pill.hot { background:#fbe8ed; color:#932742; }
.rep-pill.warm { background:#fff1d4; color:#795000; }
.rep-pill.cold { background:#e8f1fb; color:#275585; }
.rep-event-selected { border-color:var(--brand); box-shadow:0 0 0 1px var(--brand); }
.rep-event-footer { border-top:1px solid var(--line); padding:11px 16px; display:flex; flex-wrap:wrap; gap:16px; color:var(--ink-soft); font-size:13px; }
.rep-capture { width:min(100%,660px); justify-self:center; display:grid; gap:13px; }
.rep-capture .workspace-panel,.rep-editor { display:grid; gap:12px; }
.rep-segments { display:flex; flex-wrap:wrap; gap:8px; }
.rep-segments > * { flex:1 1 auto; }
.rep-frame { background:#211b32; min-height:160px; display:grid; place-items:center; overflow:hidden; position:relative; border-radius:12px; }
.rep-frame video { width:100%; max-height:350px; object-fit:contain; }
.rep-frame:has(video:not([hidden]))::after { content:""; position:absolute; inset:18% 13%; border:2px dashed #e7d6ff; border-radius:9px; pointer-events:none; }
.rep-frame p { text-align:center; color:#efe1fc; margin:0; padding:12px; }
.rep-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.rep-grid .span2 { grid-column:1/-1; }
.rep-editor fieldset { border:1px solid var(--line); border-radius:8px; margin:0; min-width:0; }
.rep-editor fieldset .workspace-check { display:inline-flex; margin-right:12px; }
.rep-photos { display:flex; flex-wrap:wrap; gap:8px; }
.rep-photos img { width:105px; height:65px; object-fit:contain; border:1px solid var(--line); border-radius:6px; }
.rep-profile-summary { display:flex; align-items:center; gap:16px; }
.rep-profile-summary h2 { margin:0 0 3px; }
.rep-profile-summary p { margin:0 0 5px; overflow-wrap:anywhere; }
.rep-avatar { width:65px; height:65px; border-radius:18px; background:var(--brand-wash); color:var(--brand-ink); display:grid; place-items:center; font-size:22px; font-weight:700; flex:0 0 65px; }
.rep-mail-inline { display:grid; gap:10px; border-top:1px solid var(--line); padding-top:14px; }
.rep-mail-inline p,.rep-mail-page p { margin:0; overflow-wrap:anywhere; }
.rep-mail-page { width:min(100%,760px); }
.rep-mail-code { font-size:28px; letter-spacing:2px; font-family:ui-monospace,Consolas,monospace; user-select:all; }
.rep-mail-address { font-size:18px; overflow-wrap:anywhere; }
.rep-mail-url { user-select:all; }
.rep-mail-notice { padding:10px 12px; border-radius:8px; background:var(--brand-wash); color:var(--brand-ink); }
.rep-mail-connect { display:grid; gap:10px; justify-items:start; }
.rep-mail-inline > .btn,.rep-mail-page .rep-editor > .btn,.rep-mail-flow > .btn { justify-self:start; }
.rep-mail-cc-list { border:1px solid var(--line); border-radius:8px; padding:10px 12px; display:grid; gap:8px; margin:0; }
.rep-mail-cc-list legend { font-weight:700; padding:0 4px; }
.rep-check { display:flex; gap:8px; align-items:center; overflow-wrap:anywhere; }
.rep-confirm { border:1px solid var(--brand); border-radius:8px; padding:12px; display:grid; gap:6px; background:var(--surface,#fff); }
.rep-confirm p { margin:0; overflow-wrap:anywhere; }
#repOutlet > .rep-status:empty { display:none; }
.rep-card-head { position:sticky; top:0; z-index:3; display:flex; align-items:center; justify-content:space-between; gap:12px; background:var(--surface); margin:-4px 0 0; padding:4px 0 6px; }
.rep-card-head h2 { margin:0; overflow-wrap:anywhere; }
.rep-close { flex:0 0 auto; width:36px; height:36px; display:grid; place-items:center; border:1px solid var(--line); border-radius:10px; color:var(--ink); text-decoration:none; font-size:22px; line-height:1; background:var(--surface); }
.rep-close:hover { background:var(--brand-wash); }
.rep-close:focus-visible { outline:2px solid var(--brand); outline-offset:2px; }
.rep-cal-toolbar { display:grid; gap:10px; padding:14px 16px; }
.rep-cal-toolbar .workspace-inline { align-items:center; }
.rep-cal-toolbar p { margin:0; }
.rep-cal-date { min-height:38px; padding:6px 10px; border:1px solid var(--line); border-radius:8px; font:inherit; }
.rep-cal-modes { flex:0 0 auto; }
.rep-cal-modes .btn { min-width:72px; }
.rep-cal-day { margin:10px 0 0; font-size:15px; }
.rep-cal-none { margin:0 0 4px; }
.rep-meeting { display:grid; grid-template-columns:150px minmax(0,1fr) auto; gap:14px; align-items:start; padding:14px 16px; }
.rep-meeting h2 { margin:0 0 4px; font-size:16px; overflow-wrap:anywhere; }
.rep-meeting p { margin:0 0 3px; overflow-wrap:anywhere; }
.rep-meeting-time { font-weight:700; color:var(--brand-ink); font-size:14px; }
.rep-meeting-preview { font-size:13px; color:var(--ink-soft); }
.rep-meeting-actions { display:flex; flex-wrap:wrap; gap:8px; justify-content:flex-end; }
.rep-meeting-cancelled h2,.rep-meeting-cancelled .rep-meeting-time { text-decoration:line-through; color:var(--ink-soft); }
@media (max-width:760px) { .rep-meeting { grid-template-columns:1fr; } .rep-meeting-actions { justify-content:flex-start; } }
#repToast { position:fixed; bottom:18px; right:18px; z-index:25; padding:10px 14px; background:#302442; color:white; border-radius:8px; max-width:min(480px,calc(100vw - 36px)); }
@media (max-width:570px) { .rep-grid { grid-template-columns:1fr; } .rep-grid .span2 { grid-column:1; } .rep-hero-head { padding:18px; } .rep-hero-head .field { flex:1 1 100%; } .rep-metric strong { font-size:21px; } }
