/* Tech Defenders / Bento 2026.10 — shared application design system */
:root{color-scheme:light;--bg:#f3f4f6;--panel:#fff;--surface:#f4f5f7;--line:#dce1e5;--text:#20262d;--muted:#626d78;--orange:#c94b16;--green:#187346;--red:#bd3444;--radius:20px;font-family:Inter,"Segoe UI",Arial,sans-serif}
body{background:#f3f4f6;color:var(--text);font-size:14px;background-image:none}
.shell{max-width:1920px;margin:auto;display:grid;grid-template-columns:238px minmax(0,1fr);padding:14px;gap:14px;align-items:start}
.rail{position:sticky;top:14px;height:calc(100dvh - 28px);background:#20272b;border:1px solid #30393e;border-radius:22px;padding:23px 14px;color:#eef2f3;backdrop-filter:none;box-shadow:none;display:flex;flex-direction:column;overflow:hidden}
.rail-brand{padding:0 9px 22px}.rail-brand strong{font-size:14px}.rail-brand small{font-size:10px;color:#aebbbf;max-width:150px}.rail .brand-icon{background:#ff8b56;color:#241b15;border-radius:13px;width:40px;height:40px}.rail-links{overflow:auto;scrollbar-color:#516064 transparent;min-height:0}.nav-group{color:#92a4ab;font-size:10px;letter-spacing:1.5px;margin:23px 12px 9px}.rail .navbtn{color:#c6d0d4;background:transparent;display:flex;flex-direction:row;justify-content:flex-start;width:100%;gap:12px;font-size:12px;padding:11px 12px;min-height:42px;height:auto;border:1px solid transparent;border-radius:11px}.rail .navbtn span{display:inline;white-space:normal;text-align:left}.rail .navbtn svg{width:18px;height:18px;flex:none}.rail .navbtn:hover{background:#303b40;color:#fff;transform:translateX(2px)}.rail .navbtn.active{background:#ff8b56;color:#211c18;border-color:#ff9e72;box-shadow:none;font-weight:650}.rail-user{border-top:1px solid #3c474d;padding:16px 6px 0;margin-top:15px}.rail-user small{color:#b2c0c6}.rail-user button{color:#e1e9eb;background:transparent}.rail-user .avatar{background:#435056;color:#fff}.workspace{background:transparent;border:0;box-shadow:none;backdrop-filter:none;min-width:0;padding:18px 22px 32px;min-height:calc(100vh - 28px);border-radius:0}.aside{display:none!important}
.topbar{border-bottom:1px solid var(--line);padding:0 0 22px;margin-bottom:15px;gap:15px;align-items:center}.topbar h1{font-size:21px;font-weight:650;letter-spacing:-.65px;color:var(--text)}.topbar small{color:var(--muted);font-size:12px}.topbar-tools{gap:8px;align-items:center}.topbar-tools button,.work-locale select{font-size:12px;min-height:42px}.searchbox{max-width:270px;min-width:170px}.searchbox input{height:42px;background:white;border:1px solid var(--line);border-radius:12px;color:var(--text);font-size:12px}input::placeholder,textarea::placeholder{color:#75818c;opacity:1}#page-context{color:var(--muted);font-size:11px;margin:0 0 26px}#page-context strong{color:var(--text)}#page-context small{color:var(--muted)}
button,input,select,textarea{background:#fff;color:var(--text);border-color:var(--line)}button{border-radius:10px;transition:background .18s,transform .18s,border-color .18s;min-height:40px}button:hover{background:#e9edf0;border-color:#aab7c0}button:active{transform:scale(.98)}button.primary,.primary{background:#f47b43;color:#211b16;border:1px solid #f47b43;font-weight:650;box-shadow:none}button.primary:hover{background:#ff9566;border-color:#ff9566}.quiet{background:transparent;color:var(--text)}a{color:#a84119}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #b84b20;outline-offset:3px}.muted,small{color:var(--muted)}.count{background:#ffe1cf;color:#8d3615}.page-head h1{letter-spacing:-.9px;color:var(--text)}.page-head p{color:var(--muted)}.light-panel,.metric,.card,.panel,.integration-card,.plan-company-card,.my-plan-card{background:#fff;color:var(--text);border:1px solid var(--line);box-shadow:none}.metric strong{color:var(--text)}.metric small{color:var(--muted)}.avatar{background:#e9edef;color:#465966}.list-item{border-color:#e8ebee}.list-item strong{color:var(--text)}.list-item small{color:var(--muted)}.badge{color:#394955;background:#edf1f3;border-color:#ccd7dc}.badge.green{color:#155d37;background:#e2f2e8}.badge.red{color:#963443;background:#fce8eb}.section-title h2,.section-title h3{color:var(--text)}.section-title small{color:var(--muted)}.table-wrap{background:#fff;border:1px solid var(--line);border-radius:16px}table{color:var(--text)}th{background:#edf1f3;color:#52616d}td{border-color:#e5e9ec}tbody tr:hover{background:#f4f7f8}.toolbar{flex-wrap:wrap}.tabs button.active{background:#20272b;color:#fff}.tabs{border-color:var(--line)}dialog{background:#fff;color:var(--text);border:1px solid var(--line);border-radius:20px;box-shadow:0 24px 100px #13212e40;max-height:90dvh;max-width:calc(100vw - 24px)}dialog::backdrop{background:#13212b80;backdrop-filter:blur(4px)}.modal-head,.modal-foot{background:#fff;border-color:var(--line)}.search-results{background:#fff;border:1px solid var(--line);box-shadow:0 12px 30px #18242f20}.search-results button{color:var(--text)}.auth{background:#fff;border:1px solid var(--line)}.auth-story{background:#20272b;color:#f5f6f7}.auth-story p,.auth-story small{color:#bdc9ce}.auth-form{background:#fff}.toast{background:#20272b;color:#fff;border-color:#3b474f}
.bento-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.bento-eyebrow{font-size:10px;letter-spacing:1.9px;font-weight:700;color:#62717c}.bento-heading h1{font-size:clamp(24px,2.3vw,36px);line-height:1.18;letter-spacing:-1.35px;margin:9px 0 10px;font-weight:650}.bento-heading p{margin:0;font-size:13px;color:var(--muted)}.bento-heading>button{white-space:nowrap;min-height:44px}.bento-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:16px}.bento-card{border:1px solid var(--line);border-radius:20px;background:#fff;padding:24px;min-width:0;position:relative;overflow:hidden}.bento-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:10px;font-weight:700;letter-spacing:1.3px}.bento-card-top svg{width:22px;height:22px;opacity:.8}.bento-value{display:block;font-size:clamp(27px,2.7vw,42px);line-height:1.2;letter-spacing:-1.5px;margin-top:25px;overflow-wrap:anywhere}.bento-card p{font-size:12px;margin:9px 0 0;line-height:1.6}.bento-pipeline{grid-column:span 6;background:#202d31;color:#fff;border-color:#202d31;min-height:232px}.bento-pipeline .bento-card-top{color:#b9cbcb}.bento-pipeline p{color:#b8c8ca}.bento-pipeline .bento-value{font-size:clamp(34px,3.4vw,53px)}.bento-hero-bottom{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-top:28px;font-size:11px}.bento-hero-bottom a{color:#ffc49e}.bento-status{color:#d3e2da;display:flex;align-items:center;gap:8px}.bento-status:before{content:'';height:6px;width:6px;border-radius:50%;background:#a2d0b3}.bento-forecast{grid-column:span 3;background:#e9efeb;border-color:#dae4dd}.bento-forecast .bento-card-top{color:#486253}.bento-forecast p{color:#53665a}.bento-footnote{border-top:1px solid #cbd8cf;padding-top:15px;margin-top:27px;font-size:10px;color:#53665a}.bento-focus{grid-column:span 3;background:#ffe4d3;border-color:#f3d5c1}.bento-focus .bento-card-top{color:#854021}.bento-focus .bento-value small{font-size:12px;letter-spacing:0;font-weight:400;color:#754b38}.bento-focus p{color:#754b38}.bento-action{display:block;border-top:1px solid #e4bfa8;margin-top:27px;padding-top:15px;font-size:12px;color:#843712;font-weight:650}.bento-health{grid-column:span 8;min-width:0}.bento-health .light-panel{margin:0;padding:24px;border-radius:20px;height:100%;min-height:194px}.bento-health .pipeline-bars{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.bento-health .pipeline-bar{padding:10px 0;background:transparent}.bento-health .pipeline-bar small{font-size:10px;color:#64717c}.bento-health .pipeline-bar strong{font-size:26px;color:#263940}.bento-health .bar{background:#e6ecef;height:5px;border-radius:5px;margin-top:12px}.bento-health .bar i{background:#6b9585;border-radius:5px}.bento-results{grid-column:span 4}.bento-results-body{display:flex;align-items:center;gap:20px;margin-top:23px}.bento-results-body>div>strong{font-size:19px;overflow-wrap:anywhere}.bento-results-body p{font-size:11px;color:var(--muted)}.bento-results-body small{font-size:10px}.bento-ring{width:94px;height:94px;border-radius:50%;background:conic-gradient(#608575 var(--win),#e8edef 0);padding:8px;flex:none}.bento-ring>strong{background:white;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;border-radius:50%;font-size:23px!important;letter-spacing:-1px}.bento-ring small{font-size:9px;letter-spacing:0;margin-top:2px;font-weight:400}.bento-records{margin-top:16px}.bento-records .split{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:0}.bento-records .split>section{border:1px solid var(--line);border-radius:20px;background:#fff;padding:22px;min-width:0}.bento-records .section-title h2,.bento-health h2{font-size:15px;letter-spacing:-.3px}.bento-records .section-title a{font-size:11px}.bento-records .list-item{padding:14px 0;gap:10px}.bento-records .list-item:last-child{border-bottom:0}.bento-records .list-item strong{font-size:12px}.bento-records .list-item small{font-size:10px}.bento-records .list-item .grow{min-width:0}.bento-records .list-item .grow strong{overflow-wrap:anywhere}.bento-records .list-item button{min-height:34px;font-size:11px}.bento-records .avatar{border-radius:11px;width:35px;height:35px;flex:none;font-size:11px}.bento-bottom{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:24px 3px}.bento-bottom p{font-size:12px;color:var(--muted);margin:8px 0 0}.bento-shortcuts{display:flex;gap:10px;flex-wrap:wrap}.bento-shortcuts a{display:flex;align-items:center;gap:7px;padding:10px 13px;background:#fff;border:1px solid var(--line);border-radius:10px;font-size:11px;color:#425461}.bento-shortcuts svg{width:15px;height:15px}.bento-card,.bento-health,.bento-records .split>section{animation:bento-enter .45s cubic-bezier(.2,.7,.2,1) both}.bento-forecast{animation-delay:.045s}.bento-focus{animation-delay:.09s}.bento-health,.bento-results{animation-delay:.13s}.bento-records .split>section{animation-delay:.17s}.bento-shortcuts a:hover{background:#e9efeb;border-color:#a5bbae;transform:translateY(-2px)}.bento-shortcuts a{transition:transform .18s,background .18s}.bento-pipeline a,.bento-action{text-decoration:none}.bento-pipeline a:hover,.bento-action:hover{text-decoration:underline}@keyframes bento-enter{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1700px){.workspace{padding:22px 34px}.bento-card{padding:30px}.bento-pipeline{min-height:260px}}
@media(max-width:1200px){.shell{grid-template-columns:210px minmax(0,1fr)}.workspace{padding:14px}.bento-pipeline{grid-column:span 12;min-height:210px}.bento-forecast,.bento-focus{grid-column:span 6}.bento-health{grid-column:span 12}.bento-results{grid-column:span 12}.bento-results-body{justify-content:flex-start}.bento-records .split{grid-template-columns:1fr}.bento-bottom{align-items:flex-start;flex-direction:column}.topbar .searchbox{order:3;width:100%;max-width:none;margin-left:0}.topbar-tools{margin-left:auto}}
@media(max-width:700px){.shell{display:block;padding:8px}.rail{position:relative;top:0;height:auto;max-height:none;width:100%;padding:14px;border-radius:16px}.rail-brand{padding:0 0 10px}.rail-links{display:flex;flex-direction:row;overflow-x:auto;overflow-y:hidden;gap:6px;max-height:none;width:100%;padding:3px 0 7px;scrollbar-width:thin}.rail .navbtn{width:auto;min-width:max-content;flex:none;min-height:44px;padding:10px 12px;margin:0}.rail .navbtn span{display:inline;white-space:nowrap;font-size:12px}.rail .nav-group{display:none}.rail-user{display:none}.workspace{padding:22px 8px;min-height:70vh}.topbar{display:flex;flex-wrap:wrap;padding-bottom:18px;gap:14px}.topbar>div:first-child{width:100%}.topbar-tools{width:100%;margin:0;justify-content:flex-start;flex-wrap:wrap}.topbar h1{font-size:21px}.searchbox{flex:none;width:100%}.bento-heading{align-items:flex-start;flex-wrap:wrap}.bento-heading h1{font-size:27px}.bento-heading p{line-height:1.6}.bento-grid{gap:12px}.bento-card{padding:20px}.bento-pipeline{grid-column:span 12}.bento-forecast,.bento-focus{grid-column:span 6;padding:18px 14px}.bento-value{font-size:25px;letter-spacing:-1px}.bento-focus .bento-value small{display:block;margin-top:5px}.bento-card-top{font-size:9px;letter-spacing:.6px}.bento-card-top svg{display:none}.bento-hero-bottom{flex-wrap:wrap}.bento-health .light-panel{padding:20px}.bento-health .pipeline-bars{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.bento-health .section-title{gap:8px;align-items:flex-start}.bento-health .section-title small{font-size:9px;text-align:right;max-width:100px}.bento-records .split>section{padding:18px 14px}.bento-records .list-item{flex-wrap:wrap}.bento-records .grow{flex:1;min-width:125px!important}.bento-records .badge{font-size:9px}.page-head{flex-wrap:wrap}.page-head .actions{flex-wrap:wrap}.table-wrap{overflow-x:auto}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.bento-results-body{gap:22px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{body{background:white}.rail,.topbar,.bento-heading>button,.bento-shortcuts{display:none!important}.shell{display:block}.workspace{padding:0}.bento-card{break-inside:avoid}}
.bento-forecast .bento-value{font-size:clamp(22px,1.9vw,30px);letter-spacing:-1px;line-height:1.45}.bento-dashboard .bento-health .light-panel{background:#fff;box-shadow:none}.bento-dashboard .bento-health .section-title>small{color:#626d78}.bento-records .badge{color:#495964}.bento-records .badge.green{color:#216842}.bento-records .badge.red{color:#9d3642}@media(max-width:700px){.bento-forecast .bento-value{font-size:20px;letter-spacing:-.7px}}
@media(max-width:700px){.rail-brand{display:flex}.rail-user{display:flex;padding:8px 2px 0;margin:7px 0 0;gap:8px}.rail-user .avatar{width:25px;height:25px}.rail-user strong{font-size:11px}.rail-user small{font-size:10px}.rail-user button{min-height:36px;min-width:40px}}
