:root{--ink:#182c31;--sub:#62767a;--muted:#859599;--line:#dfe7e6;--bg:#f3f6f5;--paper:#fff;--green:#174c45;--green-hover:#0e3a34;--mint:#e7f3ec;--amber:#a96713;--amber-bg:#fff3df;--red:#a63746;--red-bg:#fcecef;--radius:16px;--shadow:0 6px 20px #163a3410}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.55 "Segoe UI",Arial,sans-serif}button,input,textarea,select{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}a{color:var(--green);text-decoration:none}a:hover{text-decoration:underline}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #7cacb8;outline-offset:3px}button:disabled{opacity:.45;cursor:not-allowed}h1,h2,h3,p{margin:0}h1{font-size:32px;line-height:1.2;letter-spacing:-1px;font-weight:650}h2{font-size:18px;line-height:1.4;letter-spacing:-.3px}h3{font-size:15px;font-weight:650}small{font-size:11px}hr{border:0;border-top:1px solid var(--line);margin:22px 0}svg{width:20px;height:20px;flex-shrink:0;vertical-align:middle}.prototype-banner{min-height:40px;background:#e7efdb;color:#344f2b;display:flex;align-items:center;justify-content:center;gap:12px;padding:9px 20px;font-size:12px;border-bottom:1px solid #d3e0c4;position:sticky;top:0;z-index:20}.prototype-banner strong{font-size:10px;letter-spacing:1.4px}.status-dot{width:7px;height:7px;background:#51855c;border-radius:50%;display:inline-block;flex-shrink:0}.workspace{display:flex;min-height:calc(100vh - 40px)}.sidebar{width:238px;min-width:238px;background:var(--paper);border-right:1px solid var(--line);padding:28px 18px 16px;display:flex;flex-direction:column;position:sticky;top:40px;height:calc(100vh - 40px)}.brand{display:flex;align-items:center;gap:12px;line-height:1.2;font-size:17px;color:var(--ink);margin:0 10px 37px}.brand:hover{text-decoration:none}.brand-mark{background:var(--green);border-radius:14px;color:white;display:grid;align-content:center;text-align:center;width:48px;height:48px;font-size:25px;font-weight:700;letter-spacing:-2px;position:relative}.brand-mark span{position:absolute;right:8px;top:13px;color:#b9e3b9}.workspace-label{font-size:10px;color:var(--muted);letter-spacing:1.4px;font-weight:650;margin:0 12px 12px}nav{display:flex;flex-direction:column;gap:6px}.nav-item{display:flex;align-items:center;gap:11px;padding:11px 12px;border-radius:9px;color:var(--sub);font-weight:550;font-size:13px}.nav-item:hover{background:var(--bg);text-decoration:none}.nav-item.active{background:var(--mint);color:var(--green)}.nav-item svg{width:18px;height:18px}.nav-count{margin-left:auto;border-radius:5px;background:#fff;font-size:11px;padding:0 6px}.nav-label{font-size:9px;margin-left:auto;letter-spacing:.4px}.sidebar-bottom{margin-top:auto;padding:22px 12px 0;font-size:12px}.sidebar-bottom p{font-size:11px;color:var(--muted);margin:12px 0}.env-label{font-size:10px;color:var(--sub);display:flex;gap:6px;align-items:center}.owner-label{color:var(--sub);font-size:10px;margin-bottom:5px}.sidebar-bottom strong{font-size:12px;font-weight:550}.legal-links{display:flex;gap:9px;flex-wrap:wrap;font-size:10px;margin:16px 0 9px}.sidebar-bottom small{color:var(--muted)}.main-shell{min-width:0;flex:1}.topbar{height:72px;background:#ffffffd9;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 34px;gap:20px}.topbar #breadcrumb{font-size:12px;color:var(--sub)}.top-actions{display:flex;align-items:center;gap:9px}main{padding:32px 34px;max-width:1540px;margin:auto;min-height:calc(100vh - 160px)}.main-footer{border-top:1px solid var(--line);padding:16px 34px;display:flex;justify-content:space-between;gap:20px;color:var(--muted);font-size:11px}.heading-row{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:24px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.7px;text-transform:uppercase;color:var(--green);margin-bottom:9px}.subtitle{color:var(--sub);margin-top:9px;max-width:730px}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #ccd9d6;background:#fff;color:var(--ink);border-radius:8px;padding:10px 15px;font-weight:600;font-size:12px;line-height:1.45;white-space:nowrap;text-decoration:none}.button:hover{background:#edf4f0;text-decoration:none}.button.primary{background:var(--green);border-color:var(--green);color:white}.button.primary:hover{background:var(--green-hover)}.button.ghost{border-color:transparent;background:transparent;color:var(--sub)}.button.danger{border-color:#f0cbd0;background:var(--red-bg);color:var(--red)}.button.small{padding:7px 11px;font-size:11px}.button.wide{width:100%}.button svg{width:16px;height:16px}.badge{border-radius:5px;padding:4px 8px;display:inline-flex;gap:5px;align-items:center;font-size:10px;line-height:1.35;font-weight:600;white-space:nowrap}.badge.green{background:var(--mint);color:var(--green)}.badge.amber{background:var(--amber-bg);color:var(--amber)}.badge.red{background:var(--red-bg);color:var(--red)}.badge.neutral{background:#edf1f2;color:#63777d}.badge.dark{background:#ffffff14;color:#d4e8e0;border:1px solid #ffffff22}.notice{padding:13px 16px;border-radius:10px;background:#eef3f3;border:1px solid #d9e3e2;font-size:12px;color:var(--sub);margin-bottom:20px;display:flex;align-items:flex-start;gap:10px}.notice.amber{background:var(--amber-bg);border-color:#eedaba;color:#885319}.notice.success{background:var(--mint);border-color:#cbe2d4;color:var(--green)}.notice strong{color:inherit}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:24px}.stat{border:1px solid var(--line);background:#fff;padding:19px 21px;border-radius:12px}.stat-top{color:var(--sub);font-size:11px;display:flex;justify-content:space-between;align-items:center}.stat-top svg{width:17px;color:#98aaa8}.stat-value{font-size:33px;font-weight:600;line-height:1.2;margin:10px 0 5px;letter-spacing:-1px}.stat-foot{font-size:10px;color:var(--muted)}.grid-two{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:22px}.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:23px;box-shadow:var(--shadow)}.panel-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:20px}.panel-description{color:var(--sub);font-size:12px;margin-top:5px}.hero-panel{background:var(--green);color:#fff;min-height:233px;position:relative;overflow:hidden;padding:25px}.hero-panel:after{content:"";position:absolute;width:170px;height:170px;border:1px solid #ffffff18;border-radius:50%;right:-30px;top:-60px;box-shadow:0 0 0 30px #ffffff07,0 0 0 60px #ffffff04;pointer-events:none}.hero-panel h2{font-size:24px;line-height:1.25;max-width:380px;margin:12px 0 8px}.hero-panel p{max-width:450px;font-size:12px;color:#d0e3dc}.hero-panel .button{margin-top:19px;background:#e1f0dc;border-color:#e1f0dc;color:var(--green)}.account-strip{display:flex;gap:12px;align-items:center;margin-bottom:14px}.account-avatar{width:42px;height:42px;background:#f2f4f3;color:var(--green);border-radius:11px;display:grid;place-content:center;font-weight:650;font-size:14px;flex-shrink:0}.account-name{font-size:14px;font-weight:600}.subline{font-size:11px;color:var(--sub)}.step-list{list-style:none;padding:0;margin:18px 0 0;display:flex;flex-direction:column;gap:14px}.step-list li{display:flex;align-items:flex-start;gap:11px;font-size:12px}.step-num{background:#edf3ef;border-radius:50%;width:25px;height:25px;display:grid;place-content:center;flex-shrink:0;color:var(--green);font-weight:700;font-size:11px}.step-list p{color:var(--sub);font-size:11px;margin-top:2px}.section-gap{margin-top:22px}.scope-list{display:flex;flex-wrap:wrap;gap:7px}.scope-list code{font-size:10px;border:1px solid var(--line);background:var(--bg);padding:5px 8px;border-radius:5px;white-space:normal}.row{display:flex;align-items:center;gap:10px}.row.spread{justify-content:space-between}.stack{display:flex;flex-direction:column;gap:12px}.muted{color:var(--sub)}.tiny{font-size:11px}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px;flex-wrap:wrap}.filters{display:flex;gap:5px;background:#e9efed;border-radius:9px;padding:4px}.filter{border:0;border-radius:6px;background:transparent;color:var(--sub);padding:7px 13px;font-size:12px}.filter.active{background:#fff;color:var(--ink);box-shadow:0 1px 3px #00000010}input,textarea,select{border:1px solid #cedbd6;border-radius:8px;padding:10px 12px;background:#fff;color:var(--ink);max-width:100%;font-size:13px}textarea{resize:vertical;width:100%;line-height:1.6;min-height:112px}label{display:block;font-size:12px;font-weight:600;margin:16px 0 6px}input[type=checkbox]{accent-color:var(--green)}input.full,select.full{width:100%}.form-hint{font-size:11px;color:var(--sub);margin-top:6px}.video-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.video-card{border:1px solid var(--line);border-radius:14px;background:white;overflow:hidden}.video-art{height:186px;display:flex;align-items:center;justify-content:space-between;padding:24px;background:#dfece4;position:relative;color:var(--green)}.video-art.second{background:#e3e9f0;color:#485e77}.video-art.third{background:#ede8df;color:#846a42}.video-art .number{font-size:72px;letter-spacing:-5px;font-weight:600;opacity:.16;line-height:1}.art-word{font-size:25px;font-weight:650;line-height:1.15;max-width:140px;letter-spacing:-.6px}.video-art .badge{position:absolute;bottom:14px;right:14px;background:#ffffffaa}.video-body{padding:20px}.video-body h2{font-size:17px;min-height:49px}.video-meta{display:flex;gap:12px;justify-content:space-between;color:var(--sub);font-size:11px;margin:13px 0 16px}.video-description{font-size:12px;color:var(--sub);min-height:57px;margin-top:10px}.comments-layout{display:grid;grid-template-columns:minmax(260px,.85fr) minmax(380px,1.3fr);gap:20px;align-items:start}.comment-list{display:flex;flex-direction:column;gap:9px}.comment-card{width:100%;text-align:left;padding:16px;background:#fff;border:1px solid var(--line);border-radius:11px;line-height:1.5}.comment-card.active{border:1.5px solid var(--green);background:#f6fbf8;box-shadow:0 0 0 2px #174c450a}.comment-card-top{display:flex;justify-content:space-between;gap:8px;align-items:center}.comment-card strong{font-size:12px;font-weight:600}.comment-card p{font-size:12px;color:#4b6064;margin:9px 0 11px}.comment-card-bottom{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:var(--muted)}.comment-detail{position:sticky;top:63px}.comment-bubble{background:var(--bg);border:1px solid var(--line);padding:16px;border-radius:12px;margin:15px 0}.comment-bubble .quote{font-size:15px;line-height:1.6;margin-top:9px}.detail-meta{display:flex;gap:10px;flex-wrap:wrap;font-size:11px;color:var(--sub);margin-top:8px}.draft-label{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:19px 0 7px;font-size:12px;font-weight:600}.draft-count{font-size:11px;color:var(--sub);text-align:right;margin-top:5px}.draft-count.over{color:var(--red)}.source-note{padding:11px 13px;background:#f5f8f6;border-left:3px solid #bad7c4;font-size:11px;color:var(--sub);margin:13px 0}.actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:17px}.result-card{border:1px solid #bdd9c9;background:var(--mint);border-radius:10px;padding:16px;margin-top:20px}.result-card p{font-size:13px;margin:7px 0}.result-card code{font-size:10px}.empty{padding:35px 20px;text-align:center;color:var(--sub);font-size:13px;background:#ffffff;border:1px dashed var(--line);border-radius:12px}.rule-layout{display:grid;grid-template-columns:1fr 1fr;gap:20px}.rule-summary{background:var(--bg);border:1px solid var(--line);padding:15px;border-radius:10px;font-size:12px}.keyword{font-family:Consolas,monospace;border-radius:5px;padding:3px 8px;background:#e2efe8;color:var(--green);font-size:12px;display:inline-block}.flow{display:flex;gap:9px;align-items:center;margin:18px 0;flex-wrap:wrap}.flow-box{font-size:11px;padding:12px;background:var(--bg);border:1px solid var(--line);border-radius:8px;flex:1;min-width:100px}.flow-arrow{color:#91a4a0}.mini-table{border-collapse:collapse;width:100%;font-size:12px}.mini-table th{text-align:left;font-size:10px;letter-spacing:.5px;color:var(--muted);font-weight:600;padding:10px 12px;border-bottom:1px solid var(--line)}.mini-table td{vertical-align:top;padding:13px 12px;border-bottom:1px solid var(--line)}.mini-table tr:last-child td{border-bottom:0}.mini-table code{font-size:10px}.activity-table td:first-child{white-space:nowrap;width:90px}.activity-table td:last-child{font-size:11px;color:var(--sub)}.safety-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.safety-item{border:1px solid var(--line);border-radius:10px;padding:17px}.safety-item p{font-size:12px;color:var(--sub);margin-top:7px}.safety-item .badge{margin-top:12px}.privacy-actions{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:end}.privacy-actions label{margin-top:0}.lock-panel{text-align:center;padding:35px 24px;background:#f0f3f3;border:1px dashed #bccdca;border-radius:13px}.lock-icon{display:grid;place-content:center;width:58px;height:58px;background:white;border:1px solid var(--line);border-radius:15px;margin:0 auto 17px;color:var(--sub)}.lock-panel p{font-size:12px;color:var(--sub);max-width:430px;margin:9px auto 17px}.chat-preview{display:flex;flex-direction:column;gap:12px;max-width:460px;margin:22px auto}.chat-msg{border-radius:11px;padding:13px 15px;background:#fff;border:1px solid var(--line);font-size:12px;max-width:90%;align-self:flex-start}.chat-msg.out{align-self:flex-end;background:var(--mint);border-color:#cde2d5}.chat-msg .subline{font-size:10px;margin-bottom:5px}.chat-msg .button{margin-top:10px}.chat-preview .badge{align-self:center}.control-select{min-width:168px}.kb-card{margin-bottom:15px;border:1px solid var(--line);border-radius:12px;padding:18px}.kb-card p{margin-top:9px;font-size:13px;color:var(--sub)}.kb-card .eyebrow{margin-bottom:7px;font-size:9px}.count-chip{display:inline-grid;place-content:center;width:23px;height:23px;background:var(--mint);border-radius:50%;color:var(--green);font-size:11px}dialog{border:0;border-radius:18px;box-shadow:0 25px 100px #10232250;padding:0;max-width:min(610px,94vw);width:610px;color:var(--ink)}dialog::backdrop{background:#1023228a;backdrop-filter:blur(3px)}.modal-pad{padding:29px}.modal-title-row{display:flex;align-items:center;justify-content:space-between;gap:15px}.modal-title-row h2{font-size:22px}.modal-close{border:0;background:#f0f4f2;border-radius:50%;height:29px;width:29px;color:var(--sub);font-size:18px}.modal-footer{padding:18px 29px;border-top:1px solid var(--line);background:#f9fbfa;display:flex;justify-content:flex-end;gap:10px}.modal-pad .scope-row{display:flex;gap:10px;margin:12px 0;font-size:12px}.modal-pad .scope-row input{pointer-events:none}.confirm-text{padding:17px;background:var(--bg);border-radius:10px;margin:18px 0;font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere}.danger-text{color:var(--red)}#toast{position:fixed;bottom:28px;left:50%;visibility:hidden;opacity:0;transform:translateX(-50%) translateY(10px);background:#193f38;color:white;z-index:60;padding:13px 22px;border-radius:10px;box-shadow:0 8px 30px #0002;font-size:13px;transition:transform .2s;max-width:85vw}#toast.visible{visibility:visible;opacity:1;transform:translateX(-50%) translateY(0)}.demo-watermark{margin-top:16px;text-align:center;font-size:10px;color:var(--muted);letter-spacing:1.1px;text-transform:uppercase}.guide-item{display:flex;gap:12px;margin:14px 0;font-size:12px}.guide-item b{display:block;margin-bottom:3px}.guide-item p{color:var(--sub)}.tooltip-note{font-size:11px;color:var(--sub);margin-top:14px}.credential-note{font-family:Consolas,monospace;font-size:11px;background:var(--bg);padding:12px;border-radius:8px;overflow-wrap:anywhere}.record-caption{position:fixed;bottom:17px;left:270px;right:25px;background:#132f2ef5;color:#fff;border:1px solid #ffffff30;box-shadow:0 6px 25px #0003;padding:15px 22px;z-index:55;border-radius:12px;max-width:1050px;font-size:15px;line-height:1.45;pointer-events:none}.record-caption small{display:block;text-transform:uppercase;font-size:10px;color:#b3d4bb;letter-spacing:1.5px;margin-bottom:4px}.sim-cursor{position:fixed;z-index:100;width:15px;height:15px;border:2px solid #ca7850;background:#fff7;border-radius:50%;pointer-events:none;box-shadow:0 0 0 5px #ca785025;transition:left .2s ease,top .2s ease}.screen-recording .main-footer{padding-bottom:90px}
@media(min-width:1600px){main{padding:38px 45px}.topbar{padding:0 45px}.sidebar{width:255px;min-width:255px}}
@media(max-width:1160px){.sidebar{width:205px;min-width:205px}.brand{margin-left:5px;font-size:15px}.topbar{padding:0 22px}main{padding:26px 22px}.comments-layout{grid-template-columns:minmax(230px,.9fr) minmax(320px,1.2fr)}.topbar #breadcrumb{display:none}.top-actions{margin-left:auto}.video-art{padding:18px}.art-word{font-size:22px}.video-body{padding:17px}.rule-layout{grid-template-columns:1fr}.record-caption{left:226px}}
@media(max-width:850px){.sidebar{width:75px;min-width:75px;padding:22px 9px}.brand{margin:0 4px 25px}.brand>span:last-child,.workspace-label,.nav-item>span,.sidebar-bottom{display:none}.brand-mark{width:42px;height:42px;font-size:23px}.nav-item{justify-content:center;padding:13px}.nav-item svg{width:22px;height:22px}.stats{grid-template-columns:repeat(2,1fr)}.grid-two{grid-template-columns:1fr}.video-grid{grid-template-columns:1fr}.video-art{height:125px}.video-body h2,.video-description{min-height:0}.video-art .number{font-size:55px}.comments-layout{grid-template-columns:1fr}.comment-detail{position:static}.comment-list{max-height:340px;overflow:auto}h1{font-size:28px}.topbar{height:65px}.record-caption{left:95px}.safety-grid{grid-template-columns:1fr}.main-footer{flex-direction:column;gap:5px}.heading-row{flex-wrap:wrap}}
@media(max-width:520px){.prototype-banner{font-size:10px;padding:8px 10px;gap:6px;line-height:1.3}.prototype-banner strong{font-size:9px}.sidebar{width:59px;min-width:59px;padding:18px 5px}.brand-mark{width:36px;height:36px;font-size:20px;border-radius:10px}.brand{margin-left:4px}.topbar{padding:0 11px}.top-actions{gap:2px}.top-actions .badge{display:none}.button.small{padding:6px 8px;font-size:10px}main{padding:23px 13px}.panel{padding:18px}.stat{padding:14px}.stat-value{font-size:28px}.filters{width:100%;overflow-x:auto}.filter{padding:6px 8px;white-space:nowrap;font-size:11px}.privacy-actions{grid-template-columns:1fr}.toolbar select{width:100%}.main-footer{padding:14px}.record-caption{left:72px;right:12px;font-size:12px}.activity-table th:nth-child(3),.activity-table td:nth-child(3){display:none}}
