@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');
:root{--ink:#192238;--muted:#6e788d;--line:#e2e5ef;--purple:#6b4de6;--pale:#f7f6fd;--navy:#14182d;font-family:'DM Sans',system-ui,sans-serif;color:var(--ink)}*{box-sizing:border-box}body{margin:0;background:#f7f8fc}button,input,textarea{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}a:hover{color:var(--purple)}.shell{display:grid;grid-template-columns:245px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;background:var(--navy);color:#fff;padding:29px 16px;display:flex;flex-direction:column}.logo{display:flex;align-items:center;gap:10px;padding:0 10px;color:#fff;font:700 23px 'Space Grotesk',sans-serif;letter-spacing:-.04em}.logo:hover{color:#fff}.logo-icon{display:grid;place-items:center;background:linear-gradient(150deg,#7e62ef,#423b9e);width:40px;height:40px;border-radius:13px;font-size:27px}.logo-icon span{color:#85e2dc;margin-left:-3px}.logo-em{color:#9c8cf6}.logo small{display:block;font:500 10px 'DM Sans',sans-serif;letter-spacing:.2em;text-transform:uppercase;color:#8e96b6}.nav-label{font-size:10px;letter-spacing:.18em;color:#7f87a5;font-weight:700;margin:69px 12px 14px}.sidebar nav{display:grid;gap:5px}.filter-button{width:100%;display:flex;align-items:center;gap:12px;background:transparent;border:1px solid transparent;color:#aeb5cc;border-radius:10px;padding:12px;text-align:left;font-size:12px}.filter-button:hover,.filter-button.active{background:#262b48;border-color:#363d61;color:#fff}.filter-icon{width:22px;text-align:center;color:#a492ff;font-size:17px}.filter-button span:nth-child(2){flex:1}.filter-button strong{font-size:11px;color:#b7bdd4}.sidebar-bottom{margin-top:auto;border-top:1px solid #343953;padding:20px 10px 0;font-size:11px;color:#9da5bd;line-height:1.65}.demo-tag{color:#99e8d4;font-size:10px;font-weight:700;letter-spacing:.12em}.demo-tag span{font-size:12px;margin-right:5px}.sidebar-bottom a{display:block;color:#e1dafa;font-weight:700;margin-top:13px}
main{min-width:0}.topbar{height:66px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 clamp(25px,4vw,60px);font-size:11px}.crumb{color:#7d8799}.crumb span{padding:0 8px;color:#b5bccc}.top-actions{display:flex;align-items:center;gap:9px;color:#6d778c}.online-dot{width:7px;height:7px;background:#55c5a5;border-radius:50%}.top-actions a{color:var(--purple);font-weight:700;margin-left:22px}.content{max-width:1350px;margin:0 auto;padding:47px clamp(25px,4vw,60px) 25px}.hero-row{display:flex;justify-content:space-between;align-items:center;min-height:230px;gap:25px}.eyebrow{font-size:10px;color:var(--purple);font-weight:700;letter-spacing:.19em}.hero-row h1{font:700 clamp(45px,5vw,67px)/1.03 'Space Grotesk',sans-serif;letter-spacing:-.055em;margin:13px 0}.hero-row h1 span{color:var(--purple)}.hero-row p{max-width:620px;color:var(--muted);font-size:14px;line-height:1.6;margin:0}.hero-art{width:245px;height:180px;position:relative;flex:none}.art-back{position:absolute;width:175px;height:139px;background:#e8e4fc;border-radius:22px;transform:rotate(-13deg);top:22px;left:35px}.art-card{position:absolute;width:178px;height:140px;background:#fff;border:1px solid #d8d5eb;box-shadow:0 17px 32px #26214922;border-radius:20px;transform:rotate(8deg);top:23px;left:44px;padding:31px 25px}.art-line{height:9px;background:#dcd5fa;border-radius:10px;margin-bottom:13px}.art-line.short{width:45%}.art-line.medium{width:72%}.art-stamp{position:absolute;right:22px;bottom:21px;background:#6d51de;color:#fff;border-radius:50%;width:31px;height:31px;display:grid;place-items:center}.art-bubble{position:absolute;right:-3px;top:0;border-radius:12px;background:#79d9ca;color:#113c43;padding:9px 13px;font-weight:800;box-shadow:0 9px 20px #43b9a048}.notice{display:flex;align-items:center;gap:10px;background:#eeecfb;border:1px solid #dcd6fc;color:#595479;border-radius:10px;padding:12px 15px;font-size:11px;line-height:1.5}.notice strong{color:#4b398d}.notice-icon{width:18px;height:18px;border:1px solid #9c8bd9;border-radius:50%;display:grid;place-items:center;flex:none;font-weight:700}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin:29px 0 39px}.stats>div{min-width:0;background:#fff;border:1px solid var(--line);border-radius:13px;padding:19px 19px;box-shadow:0 6px 22px #28304908}.stats span{display:block;font-size:9px;color:#7a849a;letter-spacing:.15em;font-weight:700}.stats strong{display:block;font:700 31px 'Space Grotesk',sans-serif;margin:8px 0 3px}.stats small{font-size:10px;color:#9aa2b3}
.section-heading{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:17px}.section-heading span{font-size:10px;color:var(--purple);letter-spacing:.15em;font-weight:700}.section-heading h2{font:700 27px 'Space Grotesk',sans-serif;letter-spacing:-.035em;margin:4px 0 0}.heading-actions{display:flex;gap:8px}.outline-button,.primary-button{border-radius:9px;padding:10px 14px;font-size:11px;font-weight:700;white-space:nowrap}.outline-button{background:#fff;color:#565d73;border:1px solid #d8dce9}.outline-button:hover{background:#f5f3ff}.primary-button{border:1px solid #6448db;background:#6e52e6;color:#fff;box-shadow:0 6px 16px #6e52e630}.primary-button:hover{background:#5d40d0}.primary-button:disabled{opacity:.6;cursor:default}.workspace{display:grid;grid-template-columns:minmax(300px,.81fr) minmax(0,1.2fr);background:#fff;border:1px solid var(--line);border-radius:15px;min-height:520px;overflow:hidden;box-shadow:0 16px 45px #1920360a}.list-pane{border-right:1px solid var(--line);min-width:0}.search-wrap{height:64px;padding:12px 17px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:8px}.search-wrap span{font-size:22px;color:#8c95a9}.search-wrap input{border:0;outline:0;width:100%;font-size:12px;color:var(--ink)}.message-list{max-height:620px;overflow:auto}.message-item{width:100%;border:0;border-bottom:1px solid #ecedf3;background:#fff;padding:14px 17px;text-align:left;position:relative}.message-item:hover,.message-item.selected{background:#f7f5ff}.message-item.selected:before{content:'';position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--purple)}.message-head{display:flex;align-items:center;gap:8px}.avatar{display:grid;place-items:center;flex:none;width:25px;height:25px;border-radius:8px;background:#ebe7fc;color:#7153ce;font-size:11px;font-weight:700}.message-head strong{font-size:11px;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.message-head time{font-size:10px;color:#a2a9b7}.message-subject{font-size:12px;font-weight:700;margin-top:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.message-item p{font-size:10px;color:#8992a5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:5px 0 9px}.priority-chip,.category-chip,.reviewed-dot{display:inline-block;font-size:9px;font-weight:700;padding:4px 7px;border-radius:5px;margin-right:5px}.priority-chip.critical{background:#fff0ef;color:#c55556}.priority-chip.high{background:#fff5df;color:#ad7718}.priority-chip.normal{background:#eaf8f3;color:#33896c}.category-chip{background:#edf0f7;color:#69758c}.reviewed-dot{color:#448b70}.no-results{padding:28px 20px;color:var(--muted);font-size:12px}
.detail-pane{padding:24px 27px;min-width:0}.detail-empty{display:grid;place-items:center;min-height:300px;color:var(--muted);font-size:13px}.detail-meta{display:flex;gap:10px;color:#9aa1b2;font-size:10px;font-weight:700;letter-spacing:.06em}.detail-pane h3{font:700 23px 'Space Grotesk',sans-serif;letter-spacing:-.035em;margin:9px 0 18px}.sender-line{display:flex;align-items:center;gap:9px}.avatar.large{width:35px;height:35px;border-radius:10px;font-size:15px}.sender-line strong,.sender-line small{display:block}.sender-line strong{font-size:11px}.sender-line small{font-size:10px;color:#8f98a9;margin-top:2px}.message-body{color:#505c72;font-size:11px;line-height:1.6;padding:13px 0 16px;border-bottom:1px solid var(--line);margin:0}.analysis-card{background:#f7f5ff;border:1px solid #e6dfff;border-radius:11px;padding:15px;margin-top:17px}.analysis-head{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:9px;color:#6e52c5;letter-spacing:.12em;font-weight:700}.rule-label{font-size:8px;color:#8a81b4;background:#ebe7fb;padding:5px;border-radius:5px}.analysis-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:16px}.analysis-grid>div{min-width:0}.analysis-grid span{display:block;color:#9299a9;font-size:9px}.analysis-grid strong{display:block;color:#262940;font-size:11px;margin-top:3px;overflow-wrap:anywhere}.signals{border-top:1px solid #e4dff7;padding-top:11px;margin-top:13px;display:flex;gap:5px;flex-wrap:wrap}.signals>span{width:100%;color:#9890ae;font-size:9px;font-weight:700;letter-spacing:.1em}.signals b{background:#e9e4fb;color:#6653ab;border-radius:5px;padding:4px 6px;font-size:9px;font-weight:600}.draft-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:21px}.draft-head h4{font:700 14px 'Space Grotesk',sans-serif;margin:0}.draft-head span{font-size:8px;color:#8b799e;letter-spacing:.09em;font-weight:700}.draft{width:100%;border:1px solid var(--line);border-radius:9px;padding:12px;margin-top:8px;resize:vertical;color:#4a5368;font-size:11px;line-height:1.6;outline:none}.draft:focus{border-color:#9b88e8}.detail-actions{display:flex;justify-content:flex-end;gap:7px;margin-top:7px}.detail-footnote{color:#9aa2b1;font-size:9px;text-align:right;margin-bottom:0}footer{display:flex;justify-content:space-between;gap:12px;padding:26px 0;color:#9aa3b4;font-size:10px;letter-spacing:.05em}footer b{color:#7866c1}footer div{display:flex;gap:19px}footer button{background:none;border:0;padding:0;color:#9aa3b4;font-size:10px}footer a{color:var(--purple);font-weight:700}
dialog{border:1px solid #d6d9e6;border-radius:16px;box-shadow:0 30px 90px #12162d66;padding:0;width:min(480px,calc(100% - 32px))}dialog::backdrop{background:#0a10239c}dialog form{padding:25px}dialog .dialog-head{display:flex;justify-content:space-between;align-items:flex-start}.dialog-head span{font-size:10px;color:var(--purple);letter-spacing:.16em;font-weight:700}.dialog-head h2{font:700 26px 'Space Grotesk',sans-serif;margin:4px 0}.dialog-head button{border:0;background:none;font-size:24px;color:#8790a3}dialog p{font-size:12px;color:#7e879a;margin:4px 0 19px}dialog label{display:block;font-size:11px;font-weight:700;margin:12px 0}dialog input,dialog textarea{display:block;width:100%;margin-top:6px;border:1px solid #d9deea;border-radius:8px;padding:10px;outline:none;font-size:12px}dialog input:focus,dialog textarea:focus{border-color:var(--purple)}dialog textarea{resize:vertical}dialog .primary-button{width:100%;margin-top:8px}
@media(max-width:1100px){.hero-art{display:none}.workspace{grid-template-columns:300px minmax(0,1fr)}}@media(max-width:850px){.shell{display:block}.sidebar{position:static;height:auto;padding:15px 20px}.logo{padding:0}.nav-label,.sidebar-bottom{display:none}.sidebar nav{display:flex;overflow-x:auto;margin-top:14px}.filter-button{width:auto;white-space:nowrap;padding:7px 10px}.filter-button strong{display:none}.topbar{height:52px;padding:0 18px}.top-actions span{display:none}.top-actions a{margin:0}.content{padding:30px 18px}.stats{grid-template-columns:repeat(2,1fr)}.workspace{grid-template-columns:1fr}.list-pane{border-right:0;border-bottom:1px solid var(--line)}.message-list{max-height:260px}.detail-pane{padding:20px}.hero-row h1{font-size:47px}}@media(max-width:520px){.stats{gap:8px}.stats>div{padding:13px}.stats strong{font-size:25px}.section-heading{align-items:start;flex-direction:column}.heading-actions{width:100%}.heading-actions button{flex:1}.analysis-grid{grid-template-columns:1fr 1fr}.draft-head{align-items:start;flex-direction:column}footer{flex-direction:column}}
.logo-icon{display:flex;align-items:center;justify-content:center}.logo-icon span{margin-left:-3px}
