:root{--ink:#173b31;--green:#28694d;--dark:#12392d;--muted:#6d7c74;--lime:#d9eca0;--line:#e2e8df;--bg:#f5f7f2;--white:#fff;--amber:#98652a;--red:#9c4539}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}button,input,textarea,select{font:inherit}button,a,select{touch-action:manipulation}button,a{cursor:pointer}a{color:var(--green);text-underline-offset:3px}button{border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);padding:10px 14px;font-weight:600;line-height:1.4}button:hover{background:#edf3e9}button:disabled{opacity:.5;cursor:default}.primary{background:var(--green);border-color:var(--green);color:#fff}.primary:hover{background:#1e553d}.subtle{background:#edf3e8;border-color:transparent;color:var(--green)}.text-button{background:transparent;border:0;padding:8px 0;color:var(--muted)}.danger-button{color:var(--red);background:#fff4f0}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #91ac64;outline-offset:3px}svg{width:19px;height:19px;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}aside{position:fixed;inset:0 auto 0 0;width:238px;background:#fff;border-right:1px solid var(--line);padding:30px 22px;display:flex;flex-direction:column;z-index:2}.brand{font-weight:850;font-size:49px;line-height:1;letter-spacing:-4px;text-decoration:none;color:var(--ink);display:inline-block}.brand span{display:block;letter-spacing:3px;font-size:9px;font-weight:700;margin-top:11px}.workspace{margin:36px 0 25px;font-size:10px;letter-spacing:1.5px;color:var(--muted);display:flex;align-items:center;justify-content:space-between}.workspace span{background:var(--lime);padding:3px 6px;border-radius:4px;color:var(--ink);letter-spacing:0}nav{display:grid;gap:4px}nav button{display:flex;align-items:center;gap:12px;text-align:left;border:0;padding:12px 11px;color:var(--muted);font-size:13px;background:transparent;font-weight:500}nav button.active{background:#eaf2e4;color:var(--green);font-weight:650}nav .count{margin-left:auto;border-radius:5px;padding:1px 6px;background:var(--green);color:#fff;font-size:10px}.sidebar-bottom{margin-top:auto;font-size:11px;color:var(--muted);padding-top:22px}.sidebar-bottom small{display:block;font-size:10px;margin-top:8px}.dot{display:inline-block;width:7px;height:7px;background:#8da453;border-radius:50%;margin-right:6px}#account-label{font-size:12px;color:var(--ink);font-weight:600;margin-top:25px}.role{font-size:10px;color:var(--muted);display:block;font-weight:400}.avatar{border-radius:50%;background:#e7eedc;color:var(--green);display:inline-grid;place-items:center;height:35px;width:35px;margin-right:10px;font-weight:600}main{margin-left:238px;min-height:100vh}header{height:77px;border-bottom:1px solid var(--line);padding:0 38px;background:#ffffffb3;display:flex;align-items:center;justify-content:space-between;font-size:10px;letter-spacing:1.1px;color:var(--muted)}header b{font-weight:500;color:var(--ink);letter-spacing:0;font-size:12px}header span{margin:0 12px}.header-right{display:flex;align-items:center}.header-right span{letter-spacing:0}.local{padding:6px 10px;border:1px solid var(--line);border-radius:20px;color:var(--green)}#header-user{font-size:12px}#content{padding:34px 38px 60px;max-width:1530px;margin:auto}.eyebrow{font-size:10px;font-weight:700;letter-spacing:2px;color:var(--green);margin:0 0 12px}h1{font-size:32px;font-weight:600;letter-spacing:-1px;line-height:1.2;margin:0 0 12px}h2{font-size:19px;letter-spacing:-.3px;margin:0;line-height:1.4;font-weight:600}h3{font-size:15px;margin:0 0 9px;font-weight:650}p{margin:0 0 14px;line-height:1.65}.muted{color:var(--muted)}.intro{color:var(--muted);max-width:720px}.topline{display:flex;justify-content:space-between;gap:18px;align-items:center;margin-bottom:26px}.topline p{margin-bottom:0}.actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.notice{border:1px solid #dbe6ce;background:#edf3e4;border-radius:9px;padding:13px 16px;margin:18px 0;font-size:12px;color:#536b45}.notice.warn{border-color:#ecdbbd;background:#fff8eb;color:#846132}.notice.error{border-color:#efd1c9;background:#fff1ed;color:var(--red)}.notice p:last-child{margin-bottom:0}.notice strong{display:block;margin-bottom:4px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin:26px 0}.stat{padding:20px 21px;background:#fff;border:1px solid var(--line);border-radius:11px}.stat label{font-size:12px;font-weight:450;color:var(--muted)}.stat strong{display:block;font-size:32px;font-weight:600;line-height:1.25;margin:14px 0 7px}.stat small{font-size:10px;color:var(--green)}.layout{display:grid;grid-template-columns:minmax(0,1fr) 278px;gap:23px;align-items:start}.panel{border:1px solid var(--line);border-radius:12px;background:#fff;overflow:hidden}.panel-head{padding:21px 23px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px}.panel-head small{font-size:11px;color:var(--muted)}.body{padding:23px}.side-card{padding:24px;margin-bottom:20px}.side-card.dark{background:var(--dark);color:#fff;border-radius:12px;position:relative;overflow:hidden}.side-card.dark:after{content:'';position:absolute;border:1px solid #ffffff19;border-radius:50%;width:180px;height:180px;right:-100px;top:-20px;pointer-events:none}.side-card.dark h2{font-size:25px;font-weight:500;line-height:1.3}.side-card.dark .eyebrow{color:var(--lime)}.side-card.dark p:not(.eyebrow){color:#bed0c2;font-size:12px;margin:18px 0}.side-card.dark button{background:var(--lime);color:var(--ink);border:0;width:100%}.step{padding:13px 0;border-bottom:1px solid var(--line);font-size:12px}.step:last-child{border-bottom:0}.step small{display:block;font-size:10px;color:var(--muted);margin-top:4px}.match-card{display:grid;grid-template-columns:55px minmax(0,1fr);gap:17px;padding:24px;border-bottom:1px solid var(--line)}.match-card:last-child{border-bottom:0}.score{height:54px;width:54px;display:grid;place-items:center;border-radius:50%;border:4px solid #dce9c0;background:#f6faef;color:var(--green);font-size:18px;font-weight:650}.score.low{border-color:#eadfc9;background:#fffaf1;color:var(--amber)}.match-card h3{margin-bottom:4px}.match-card .company{color:var(--muted);font-size:12px}.match-card .person{font-size:12px;margin:12px 0;color:#465e51}.match-card .summary{font-size:12px;color:#586c5e;margin:12px 0 0}.match-card .doubt{font-size:11px;color:#8c704d;margin-top:7px}.match-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:16px}.match-bottom button{padding:8px 10px;font-size:11px}.match-meta{font-size:10px;color:var(--muted)}.tags{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}.tag,.pill{display:inline-block;padding:4px 8px;font-size:10px;border-radius:5px;background:#edf3e7;color:#526a43;line-height:1.5;font-weight:500}.tag.warn,.pill.partial{background:#fff2dc;color:var(--amber)}.tag.error,.pill.failed{background:#fcebe5;color:var(--red)}.tag.neutral,.pill.running{background:#eef1ed;color:#69766b}.tag.demo{background:#f4eee1;color:#8f7448}.pill.success{background:#eaf4e6;color:#39703d}.filters{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:22px 0}.search{flex:1;min-width:220px;max-width:440px}.tabs{display:flex;flex-wrap:wrap;gap:5px}.tabs button{font-size:12px;padding:8px 12px;background:transparent;border-color:transparent;font-weight:500}.tabs button.selected{background:#fff;border-color:var(--line);color:var(--green);box-shadow:0 1px 2px #15332808}.empty{padding:44px 25px;text-align:center;color:var(--muted);font-size:13px;line-height:1.8}.empty h3{color:var(--ink);font-size:16px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse}th{text-align:left;background:#fafbf8;font-size:10px;text-transform:uppercase;letter-spacing:.8px;color:var(--muted);font-weight:500}td,th{padding:15px 20px;border-bottom:1px solid var(--line);vertical-align:middle}td{font-size:12px}td b{font-size:13px}tbody tr:last-child td{border-bottom:0}td small{display:block;color:var(--muted);font-size:11px;margin-top:4px}.table-button{padding:7px 10px;font-size:11px;white-space:nowrap}input,textarea,select{background:#fff;border:1px solid #d7e0d3;border-radius:7px;padding:10px 11px;color:var(--ink);max-width:100%;line-height:1.5}input:focus,textarea:focus,select:focus{outline:2px solid #9ab981;outline-offset:1px}label{display:block;font-size:12px;font-weight:550}label>input,label>textarea,label>select{display:block;width:100%;margin-top:7px}textarea{min-height:100px;resize:vertical}input[type=file]{font-size:12px;padding:10px;width:100%}input[type=checkbox]{width:16px;height:16px;accent-color:var(--green)}.checkbox{display:flex;align-items:center;gap:9px;font-weight:400;line-height:1.5}.checkbox input{margin:0;flex:0 0 16px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:19px}.full{grid-column:1/-1}.field-help{font-size:11px;color:var(--muted);line-height:1.7;margin:9px 0}.section-title{font-size:13px;margin:26px 0 14px}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:21px}.facts{display:grid;grid-template-columns:1fr 1fr;gap:18px}.fact{font-size:13px}.fact label{font-size:10px;color:var(--muted);margin-bottom:4px;font-weight:450;text-transform:uppercase;letter-spacing:.5px}pre{white-space:pre-wrap;overflow-wrap:anywhere;font:12px/1.8 inherit;background:#f6f8f2;border:1px solid var(--line);padding:17px;border-radius:8px;max-height:500px;overflow:auto}.source-quote{border-left:3px solid #d9e6c3;padding:6px 0 6px 14px;font-size:12px;margin:15px 0}.source-quote small{display:block;color:var(--muted);font-size:10px;margin-bottom:6px}.source-quote p{margin:0}details{margin-top:16px}summary{cursor:pointer;color:var(--green);font-size:12px;padding:5px 0}li{line-height:1.65;margin:7px 0;font-size:13px}ul{padding-left:20px}meter{width:100%;height:8px;display:block;accent-color:#84a858;margin-top:7px}.row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.back{margin-bottom:23px;border:0;padding-left:0;background:transparent;font-size:12px;color:var(--muted)}.file-row{display:flex;align-items:center;justify-content:space-between;gap:13px;padding:15px 0;border-bottom:1px solid var(--line);font-size:12px}.file-row small{display:block;color:var(--muted)}.history-item{border-left:1px solid #d7e3ce;margin-left:6px;padding:0 0 19px 20px;position:relative}.history-item:before{content:'';position:absolute;width:7px;height:7px;background:#99b077;border:3px solid #f4f7ef;box-sizing:content-box;border-radius:50%;left:-7px;top:4px}.history-item small{font-size:10px;color:var(--muted)}.history-item p{font-size:12px;margin:5px 0}.auth-screen{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.auth-story{background:var(--dark);color:#fff;padding:60px 10vw 60px 6vw;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.auth-story:before,.auth-story:after{content:'';position:absolute;border:1px solid #d5e9b12b;border-radius:50%;width:550px;height:550px;right:-270px;top:160px;pointer-events:none}.auth-story:after{width:440px;height:440px;right:-213px;top:214px}.auth-story .brand{color:#fff}.auth-story h1{font-size:46px;font-weight:450;letter-spacing:-1.5px;margin:60px 0 20px;position:relative}.auth-story p{color:#c0d0c1;position:relative}.auth-story small{color:#9db7a6;font-size:11px}.auth-form-area{display:grid;place-items:center;padding:45px}.auth-card{max-width:400px;width:100%}.auth-card h1{font-size:29px;margin:10px 0 14px}.auth-card label{margin:20px 0}.auth-card .primary{width:100%;margin-top:10px;padding:12px}.auth-card .eyebrow{margin-bottom:18px}.signed-out #sidebar,.signed-out #topbar,.signed-out footer{display:none}.signed-out main{margin-left:0}.signed-out #content{max-width:none;padding:0}.auth-error{background:#fff0eb;color:var(--red);border-radius:7px;padding:12px;font-size:12px;margin:17px 0}.signed-out .local{display:inline-block;margin:16px 0;color:var(--muted)}dialog{width:min(800px,94vw);max-height:90vh;overflow:auto;border:1px solid var(--line);border-radius:14px;padding:27px;color:var(--ink);box-shadow:0 20px 100px #17352833}dialog::backdrop{background:#12342870}.modal-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.modal-title button{border:0;font-size:22px;background:transparent}#toast{position:fixed;right:24px;bottom:24px;padding:15px 21px;border-radius:9px;background:var(--dark);color:#fff;font-size:13px;max-width:460px;display:none;z-index:10;box-shadow:0 5px 30px #12342822}footer{border-top:1px solid var(--line);margin:0 38px;padding:22px 0;color:var(--muted);font-size:10px;display:flex;justify-content:space-between}.danger{color:var(--red)}.nowrap{white-space:nowrap}.progress-label{font-size:12px;display:flex;justify-content:space-between;margin-top:11px}.rounded-count{font-size:11px;color:var(--muted);border:1px solid var(--line);padding:3px 7px;border-radius:6px}.review-dimension{padding:17px 0;border-bottom:1px solid var(--line)}.review-dimension h3{font-size:12px;margin-bottom:6px}.review-dimension p{font-size:12px;color:#52675a;margin:0}.admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}
@media(max-width:1150px){#content{padding:29px 25px}.layout{grid-template-columns:minmax(0,1fr) 240px}.stats{gap:10px}.stat{padding:17px}.stat label{font-size:11px}.header-right .local{display:none}header{padding:0 25px}}
@media(max-width:950px){aside{width:84px;padding:27px 10px}.brand{font-size:30px;letter-spacing:-2px}.brand span{font-size:6px;letter-spacing:1px}.workspace{justify-content:center;margin:30px 0 20px;font-size:0}.workspace span{font-size:9px}nav button{justify-content:center;padding:13px 8px}nav button span{display:none}nav .count{display:none}.sidebar-bottom{font-size:0}.sidebar-bottom small,#account-label,.sidebar-bottom .text-button{display:none}main{margin-left:84px}.layout{grid-template-columns:1fr}.layout>.right-column{display:none}.stats{grid-template-columns:repeat(2,1fr)}.auth-story{padding:45px 35px}.auth-story h1{font-size:35px}.auth-form-area{padding:35px}.detail-grid,.admin-grid{grid-template-columns:1fr}}
@media(max-width:600px){#content{padding:25px 17px}.topline{align-items:start;flex-direction:column}.topline .actions{width:100%}h1{font-size:26px}header{height:65px;padding:0 17px}#header-user{display:none}header span{margin:0 7px}.stats{gap:8px}.stat{padding:14px}.stat strong{font-size:27px}.form-grid,.facts{grid-template-columns:1fr}.full{grid-column:auto}.match-card{padding:18px 15px;gap:11px;grid-template-columns:45px minmax(0,1fr)}.score{height:44px;width:44px;font-size:16px}.match-bottom{align-items:start;flex-direction:column}.body{padding:18px}.panel-head{padding:18px}.auth-screen{grid-template-columns:1fr}.auth-story{padding:30px}.auth-story h1{font-size:28px;margin:35px 0 12px}.auth-story small{display:none}.auth-form-area{padding:35px 26px}.auth-story:after,.auth-story:before{display:none}.auth-card h1{font-size:26px}footer{margin:0 17px}footer span{display:none}.filters select{width:100%}.panel-head small{display:none}td,th{padding:12px}.source-quote{overflow-wrap:anywhere}}
/* Tablet: keep navigation captions and logout reachable without hover. */
@media(max-width:950px){nav button{flex-direction:column;gap:4px;padding:8px 3px;min-height:52px}nav button span{display:block;font-size:10px;line-height:1.2;text-align:center;max-width:64px}nav .count{display:none}.sidebar-bottom .text-button{display:block;font-size:10px;white-space:nowrap}}
