/* Portal Livion — visual refresh v3 */
:root{--navy:#123f78!important;--blue:#214f8f!important;--yellow:#f4c400;--bg:#f4f7fb!important;--card:#fff;--text:#11223d!important;--muted:#708096!important;--line:#e5ebf3!important;--shadow:0 14px 34px rgba(31,67,111,.09)}
body{background:radial-gradient(circle at 12% 0%,rgba(33,79,143,.055),transparent 26%),linear-gradient(180deg,#f9fbff 0%,#f3f6fa 100%)!important;color:var(--text)!important}
.top{height:78px!important;padding:0 34px!important;background:rgba(255,255,255,.96)!important;backdrop-filter:blur(12px);border-bottom:1px solid rgba(17,34,61,.08)!important;box-shadow:0 3px 16px rgba(24,56,96,.035)!important}
.brand{width:230px;height:54px;background:url('./livion-logo.svg?v=3') left center/contain no-repeat;display:block!important;flex:0 0 auto}.brand>*{display:none!important}.top-actions{gap:8px!important}.pill{background:#eef4fb!important;color:#24528e!important;border:1px solid #e0e8f2;padding:8px 13px!important;font-weight:600}
.btn{border-radius:11px!important;border-color:#dde5ef!important;padding:9px 14px!important;transition:.18s ease;background:#fff}.btn:hover{transform:translateY(-1px);box-shadow:0 7px 16px rgba(26,58,98,.08)}.btn.primary{background:linear-gradient(135deg,#123f78,#214f8f)!important;border:0!important;box-shadow:0 7px 16px rgba(33,79,143,.18)}
.shell{max-width:1120px!important;padding:38px 28px 78px!important}.hero{padding:16px 0 24px!important}.hero .kicker{display:inline-flex;align-items:center;gap:8px;color:#214f8f!important;background:transparent;padding:0;letter-spacing:.09em}.hero .kicker:before{content:'';width:6px;height:6px;border-radius:50%;background:var(--yellow)}.hero h1{font-size:34px!important;line-height:1.08!important;letter-spacing:-.03em;margin:10px 0 7px!important}.hero p{font-size:14px!important;max-width:680px}
.cards{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(250px,300px))!important;gap:18px!important;align-items:start!important;justify-content:start!important;padding-bottom:70px}.card{border:1px solid rgba(24,56,96,.075)!important;border-radius:19px!important;box-shadow:var(--shadow)!important;background:linear-gradient(180deg,#fff 0%,#fcfdff 100%)!important}.app-card{min-height:190px;padding:20px!important;position:relative;overflow:hidden;display:flex;flex-direction:column;align-items:flex-start;transition:.2s ease!important}.app-card:nth-child(3n+2){margin-top:24px}.app-card:nth-child(3n){margin-top:48px}.app-card:before{content:'';position:absolute;inset:0 0 auto 0;height:4px;background:linear-gradient(90deg,#214f8f 0 72%,#f4c400 72% 100%)}.app-card:after{content:'';position:absolute;width:120px;height:120px;border-radius:50%;right:-55px;top:-55px;background:radial-gradient(circle,rgba(33,79,143,.07),rgba(33,79,143,0) 70%);pointer-events:none}.app-card:hover{transform:translateY(-3px)!important;box-shadow:0 20px 44px rgba(31,67,111,.14)!important}.app-card:nth-child(3n+2):hover{transform:translateY(-3px)!important}.app-card:nth-child(3n):hover{transform:translateY(-3px)!important}.app-card .icon{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;font-size:21px!important;background:linear-gradient(145deg,#edf4fb,#fff);border:1px solid #e0e9f4;box-shadow:0 8px 18px rgba(31,67,111,.07);margin-bottom:13px}.app-card .icon svg{width:23px;height:23px;stroke:#173f73;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.app-card .kicker{color:#214f8f!important;font-size:10px!important;margin-bottom:2px}.app-card h2{font-size:19px!important;margin:5px 0 6px!important;letter-spacing:-.015em}.app-card p{font-size:12.5px;line-height:1.55;min-height:39px;margin:0 0 16px!important}.app-card .btn{margin-top:auto;min-width:118px;padding:8px 12px!important;font-size:12px}
.auth{background:linear-gradient(145deg,#f7f9fd,#eef3f9)!important}.auth-card{width:min(500px,100%)!important;border-radius:25px!important;padding:38px 40px!important;box-shadow:0 28px 70px rgba(31,67,111,.13)!important}.auth-card .mark{width:260px!important;height:82px!important;margin:0 auto 22px!important;border:0!important;border-radius:0!important;background:url('./livion-logo.svg?v=3') center/contain no-repeat!important;font-size:0!important}.auth-card .kicker{color:#214f8f!important}.auth-card h1{font-size:28px!important;letter-spacing:-.02em}
.settings{grid-template-columns:210px 1fr!important;gap:24px!important}.sidebar,.section{border-color:rgba(24,56,96,.08)!important;box-shadow:0 12px 34px rgba(31,67,111,.06)!important}.sidebar{border-radius:18px!important;padding:12px!important}.sidebar button{border-radius:11px!important}.sidebar button.active{background:linear-gradient(135deg,#eaf2fb,#f3f7fc)!important;color:#173f73!important}.section{border-radius:20px!important;padding:26px!important}.field input,.field select{border-radius:12px!important;padding:11px 12px!important;background:#fff}.check{border-radius:12px!important;background:#fff}.mini{border-radius:14px!important}.workspace-bar{height:66px!important;padding:0 20px!important;background:#fff}.workspace iframe{height:calc(100vh - 66px)!important}
@media(max-width:900px){.cards{grid-template-columns:repeat(2,minmax(240px,1fr))!important}.app-card:nth-child(n){margin-top:0}}
@media(max-width:760px){.top{height:70px!important;padding:0 14px!important}.brand{width:165px;height:46px}.shell{padding:24px 14px 52px!important}.hero h1{font-size:30px!important}.cards{grid-template-columns:1fr!important;padding-bottom:20px}.app-card{min-height:180px}.settings{grid-template-columns:1fr!important}.auth-card{padding:30px 22px!important}.auth-card .mark{width:225px!important;height:72px!important}}
