:root{--bg:#fbfbfd;--card:#fff;--border:#00000014;--text:#1d1d1f;--muted:#6e6e73;--navy:#1d1d1f;--navy-2:#0000000d;--teal:#0b5cad;--teal-soft:#e8f1fb;--amber:#a15c07;--amber-soft:#fbf3e4;--red:#b3372f;--red-soft:#fbeceb;--green:#2d7a46;--green-soft:#e9f5ee;--radius:18px;--shadow:0 2px 12px #0000000d, 0 0 1px #0000000f;--shadow-lg:0 8px 30px #00000014;color:var(--text);background:var(--bg);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:-apple-system,BlinkMacSystemFont,SF Pro Display,SF Pro Text,Inter,system-ui,Helvetica Neue,sans-serif}*{box-sizing:border-box}body{background:var(--bg);min-height:100vh;margin:0}a{color:var(--teal);text-decoration:none}a:hover{text-decoration:underline}h1,h2,h3,h4,p{margin:0}button{font:inherit;cursor:pointer}input,select,textarea{font:inherit;color:inherit}.muted{color:var(--muted)}.small,small{font-size:.8rem}.c-amber{color:var(--amber)}.c-red{color:var(--red)}.c-teal{color:var(--teal)}.shell{grid-template-columns:252px 1fr;min-height:100vh;display:grid}.sidebar{-webkit-backdrop-filter:saturate(180%)blur(24px);color:var(--text);background:#f5f5f7c7;border-right:1px solid #0000000f;flex-direction:column;height:100vh;padding:28px 16px;display:flex;position:sticky;top:0}.brand{align-items:center;gap:12px;padding:0 10px 28px;display:flex}.brand strong{color:var(--text);letter-spacing:-.02em;font-size:1.02rem;font-weight:600;display:block}.brand small{color:var(--muted)}.logo{color:#fff;background:linear-gradient(145deg,#3a3a3c,#1d1d1f);border-radius:10px;place-items:center;width:36px;height:36px;font-size:.8rem;font-weight:600;display:grid;box-shadow:0 2px 8px #0000002e}.sidebar nav{flex-direction:column;gap:2px;display:flex}.navlink{color:#424245;letter-spacing:-.01em;border-radius:10px;align-items:center;gap:10px;padding:9px 12px;font-size:.92rem;font-weight:500;transition:background .2s,color .2s;display:flex}.navlink:hover{background:var(--navy-2);color:var(--text);text-decoration:none}.navlink.active{color:var(--text);background:#00000012;font-weight:600}.sidebar-foot{margin-top:auto;padding:8px}.pill-demo{background:var(--amber-soft);color:var(--amber);border-radius:999px;padding:5px 11px;font-size:.72rem;display:inline-block}.main{min-width:0}.page{max-width:1240px;margin:0 auto;padding:48px 44px 64px}.page-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:36px;display:flex}.page-head h1{letter-spacing:-.035em;margin-bottom:8px;font-size:2.3rem;font-weight:700;line-height:1.1}.page-head p{font-size:1.05rem}.back{margin-bottom:14px;font-size:.9rem;font-weight:500;display:inline-block}.btn{color:var(--text);background:#0000000f;border:none;border-radius:980px;justify-content:center;align-items:center;gap:6px;padding:10px 20px;font-size:.9rem;font-weight:500;transition:background .2s,transform .1s,opacity .2s;display:inline-flex}.btn:hover{background:#0000001a}.btn.primary{background:var(--teal);color:#fff}.btn.primary:hover{background:#094c91}.btn:active{transform:scale(.98)}.btn:disabled{opacity:.4;cursor:not-allowed}.btn.full{width:100%;margin-top:16px;padding:12px 20px}.stats{grid-template-columns:repeat(4,1fr);gap:20px;margin-bottom:32px;display:grid}.stat{background:var(--card);border-radius:var(--radius);box-shadow:var(--shadow);border:none;flex-direction:column;gap:8px;padding:22px 24px;display:flex}.stat span{color:var(--muted);font-size:.84rem;font-weight:500}.stat strong{letter-spacing:-.035em;font-size:2.4rem;font-weight:600;line-height:1}.grid-2{grid-template-columns:1.4fr 1fr;align-items:start;gap:24px;display:grid}.grid-2.narrow-left{grid-template-columns:340px 1fr}.stack{flex-direction:column;gap:24px;display:flex}.card{background:var(--card);border-radius:var(--radius);box-shadow:var(--shadow);border:1px solid #0000000a;min-width:0;padding:26px}.card-head{justify-content:space-between;align-items:center;margin-bottom:18px;display:flex}.card-head h2{letter-spacing:-.02em;font-size:1.15rem;font-weight:600}.table{flex-direction:column;display:flex}.row{color:inherit;border-top:1px solid #0000000f;border-radius:12px;align-items:center;gap:14px;padding:14px 10px;transition:background .2s;display:flex}.row:first-child{border-top:none}.row:hover{background:#f5f5f7;text-decoration:none}.avatar{color:#424245;background:#f0f0f3;border-radius:50%;flex-shrink:0;place-items:center;width:40px;height:40px;font-size:.8rem;font-weight:600;display:grid}.row-main{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.row-main small{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.row-side{text-align:right;flex-direction:column;align-items:flex-end;gap:4px;display:flex}.progress{background:#00000012;border-radius:999px;max-width:220px;height:4px;margin-top:6px;overflow:hidden}.progress div{background:var(--text);border-radius:999px;height:100%;transition:width .4s}.badge{white-space:nowrap;border-radius:999px;padding:3px 10px;font-size:.72rem;font-weight:500;display:inline-block}.badge.done{background:var(--green-soft);color:var(--green)}.badge.overdue{background:var(--red-soft);color:var(--red)}.badge.soon{background:var(--amber-soft);color:var(--amber)}.badge.upcoming{color:var(--muted);background:#f0f0f3}.reminders{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.reminders li{background:#f5f5f7;border:none;border-radius:14px;align-items:center;gap:12px;padding:14px 16px;display:flex}.reminders li>div{flex-direction:column;flex:1;gap:2px;display:flex}.reminders li strong{font-size:.9rem;font-weight:600}.reminders .dot{background:#aeaeb2;border-radius:50%;flex-shrink:0;width:8px;height:8px}.reminders li.overdue{background:var(--red-soft)}.reminders li.overdue .dot{background:var(--red)}.reminders li.soon .dot{background:#c98a2b}.reminders .when{color:var(--muted);white-space:nowrap;font-size:.78rem;font-weight:500}.reminders li.overdue .when{color:var(--red)}.hint{color:var(--muted);margin-top:16px;font-size:.78rem}.ok{color:var(--green);margin-top:12px;font-size:.88rem;font-weight:500}.banner{background:var(--amber-soft);color:#7a4a0a;border:none;border-radius:14px;margin-bottom:24px;padding:14px 18px;font-size:.88rem;line-height:1.45}.warn{background:var(--red-soft);color:#8c2b25;border-radius:12px;margin-top:8px;padding:10px 14px;font-size:.84rem}.protocol{color:#424245;background:#f5f5f7;border:none;border-radius:14px;margin-top:14px;padding:14px 16px;font-size:.86rem;line-height:1.5}.seg{background:#0000000f;border-radius:10px;gap:2px;margin-bottom:16px;padding:3px;display:inline-flex}.seg button{color:var(--muted);background:0 0;border:none;border-radius:8px;padding:7px 16px;font-size:.85rem;font-weight:500;transition:background .2s,color .2s}.seg button.on{color:var(--text);background:#fff;box-shadow:0 1px 4px #00000024}.drop{border-radius:var(--radius);cursor:pointer;background:#f5f5f7;border:1.5px dashed #0000002e;min-height:300px;transition:border-color .2s,background .2s;display:block;overflow:hidden}.drop:hover{border-color:var(--teal);background:#f0f4f9}.drop.has{background:#111113;border-style:solid;border-color:#111113}.drop-empty{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:8px;height:300px;padding:20px;display:flex}.drop-icon{width:52px;height:52px;color:var(--teal);box-shadow:var(--shadow);background:#fff;border-radius:50%;place-items:center;font-size:1.6rem;font-weight:300;display:grid}.xray-wrap{justify-content:center;display:flex;position:relative}.xray-wrap img{filter:contrast(1.08);max-width:100%;max-height:420px;display:block}.scan{background:#8ab8e8;height:2px;animation:1.2s ease-in-out infinite alternate scan;position:absolute;top:0;left:0;right:0;box-shadow:0 0 20px 6px #8ab8e873}@keyframes scan{0%{top:0}to{top:calc(100% - 2px)}}.match{text-align:left;width:100%;color:inherit;background:#fff;border:1px solid #00000014;border-radius:16px;margin-bottom:12px;padding:14px 16px;transition:border-color .2s,box-shadow .2s}.match:hover{box-shadow:var(--shadow);border-color:#0003}.match.sel{border-color:var(--teal);box-shadow:0 0 0 3px #0b5cad1f}.match-top{align-items:center;gap:12px;display:flex}.match-top>div{flex-direction:column;flex:1;gap:2px;display:flex}.rank{background:var(--text);color:#fff;border-radius:50%;flex-shrink:0;place-items:center;width:26px;height:26px;font-size:.78rem;font-weight:600;display:grid}.conf{color:var(--text);letter-spacing:-.02em;font-size:1.05rem;font-weight:600}.confbar{background:#00000012;border-radius:999px;height:4px;margin-top:12px;overflow:hidden}.confbar div{background:var(--teal);border-radius:999px;height:100%}.match-detail{border-top:1px solid #0000000f;margin-top:14px;padding-top:14px}.match-detail dl{grid-template-columns:1fr 1fr;gap:12px 16px;margin:0;display:grid}.match-detail dt{color:var(--muted);text-transform:uppercase;letter-spacing:.05em;font-size:.72rem}.match-detail dd{margin:2px 0 0;font-size:.86rem;font-weight:500}.match-detail h4{margin:16px 0 8px;font-size:.82rem}.chips{flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none;display:flex}.chips li{color:#424245;background:#f0f0f3;border-radius:999px;padding:4px 11px;font-size:.78rem}.chips.pick{margin-bottom:16px}.chips.pick button{color:var(--muted);background:#0000000f;border:none;border-radius:999px;padding:7px 14px;font-size:.82rem;transition:background .2s,color .2s}.chips.pick button:hover{background:#0000001a}.chips.pick button.on{background:var(--text);color:#fff}.save-row{gap:10px;margin-top:18px;display:flex}.save-row select{flex:1;min-width:0}.form{flex-direction:column;gap:16px;display:flex}.form label{color:#424245;flex-direction:column;gap:6px;font-size:.82rem;font-weight:500;display:flex}.form .seg{align-self:flex-start;margin-bottom:0}input,select,textarea{background:#fff;border:1px solid #00000024;border-radius:12px;outline:none;padding:10px 13px;font-size:.92rem;font-weight:400;transition:border-color .2s,box-shadow .2s}input:focus,select:focus,textarea:focus{border-color:var(--teal);box-shadow:0 0 0 4px #0b5cad24}textarea{resize:vertical;width:100%}.targets{grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:6px;display:grid}.targets div{background:#f5f5f7;border:none;border-radius:14px;flex-direction:column;gap:4px;padding:14px 16px;display:flex}.targets span{color:var(--muted);font-size:.74rem}.targets strong{letter-spacing:-.02em;font-size:1.15rem;font-weight:600}.targets .hl{background:var(--text)}.targets .hl span{color:#a1a1a6}.targets .hl strong{color:#fff}.sub{letter-spacing:-.01em;margin:24px 0 12px;font-size:1rem;font-weight:600}.compare{border:1px solid #00000014;border-radius:14px;font-size:.86rem;display:grid;overflow:auto hidden}.compare>div{border-bottom:1px solid #0000000f;padding:12px 14px}.compare .ch{background:#f5f5f7;flex-direction:column;gap:2px;display:flex}.compare .ch small{color:var(--muted)}.compare .cl{color:var(--muted);font-weight:500}.compare .cv{text-transform:capitalize}.score{background:var(--teal-soft);color:var(--teal);border-radius:999px;padding:2px 11px;font-weight:600;display:inline-block}.timeline{margin:0;padding:0;list-style:none;position:relative}.timeline li{gap:14px;padding-bottom:22px;display:flex;position:relative}.timeline li:before{content:"";background:#00000014;width:2px;position:absolute;top:30px;bottom:0;left:13px}.timeline li:last-child:before{display:none}.timeline li.done:before{background:var(--text)}.tick{color:#fff;z-index:1;background:#fff;border:1.5px solid #c7c7cc;border-radius:50%;flex-shrink:0;place-items:center;width:28px;height:28px;font-size:.85rem;font-weight:600;transition:background .2s,border-color .2s;display:grid;position:relative}.timeline li.done .tick{background:var(--text);border-color:var(--text)}.timeline li.overdue .tick{border-color:var(--red)}.timeline li.soon .tick{border-color:#c98a2b}.tl-body{flex-direction:column;flex:1;gap:4px;padding-top:3px;display:flex}.tl-top{justify-content:space-between;align-items:center;gap:8px;display:flex}.tl-top strong{font-size:.94rem;font-weight:600}.saved-match{border-left:3px solid var(--teal);background:#f5f5f7;border-radius:10px;flex-direction:column;gap:3px;margin-bottom:10px;padding:12px 14px;display:flex}.note-form{flex-direction:column;align-items:flex-end;gap:10px;margin-bottom:16px;display:flex}.note{border-top:1px solid #0000000f;padding:12px 0}.note p{white-space:pre-wrap;margin-top:4px;font-size:.9rem;line-height:1.55}@media (width<=1024px){.grid-2,.grid-2.narrow-left{grid-template-columns:1fr}.stats{grid-template-columns:repeat(2,1fr)}.page{padding:36px 28px 56px}}@media (width<=760px){.shell{grid-template-columns:1fr}.sidebar{z-index:10;border-bottom:1px solid #00000014;border-right:none;flex-direction:row;align-items:center;gap:8px;height:auto;padding:10px 12px;position:sticky;overflow-x:auto}.brand{padding:0}.brand small,.sidebar-foot{display:none}.sidebar nav{flex-direction:row;gap:2px}.navlink{white-space:nowrap;padding:8px 10px;font-size:.8rem}.page{padding:24px 16px 48px}.page-head h1{font-size:1.85rem}.card{padding:20px}.targets{grid-template-columns:repeat(2,1fr)}.match-detail dl{grid-template-columns:1fr}.save-row{flex-direction:column}}
