/* Спадщина 8.6 — виразний кабінет та Google OAuth */
.cab-header-entry{display:inline-flex!important;align-items:center;justify-content:center;gap:10px;flex:0 0 auto;text-decoration:none!important;padding:11px 14px!important;color:#101f32!important;background:#caff69!important;border:1px solid #bcf362!important;border-radius:999px!important;font-size:13px!important;font-weight:900!important;box-shadow:0 12px 28px rgba(150,224,58,.25);white-space:nowrap;transition:transform .16s ease,box-shadow .16s ease;line-height:1.1}
.cab-header-entry:hover{transform:translateY(-2px);box-shadow:0 17px 35px rgba(150,224,58,.32)}
.cab-header-entry.active{outline:2px solid #447e19;outline-offset:2px}
.cab-header-icon{width:27px;height:27px;border-radius:50%;display:grid;place-items:center;background:#1b3046;color:#d8ff92;font-size:17px}
.cab-header-state{font-size:9px;letter-spacing:.03em;background:rgba(12,30,36,.12);padding:5px 7px;border-radius:99px}
.main-nav{flex:1;justify-content:center;min-width:0}
.site-header .nav-wrap{gap:12px}
.site-header .nav-cta{display:none}
.home-cab-feature{display:flex;align-items:center;gap:22px;margin:26px 0 14px;padding:20px 26px;background:linear-gradient(112deg,#142c44 0%,#183a50 60%,#24495a 100%);border-radius:24px;border:1px solid rgba(201,255,100,.13);color:#fff;box-shadow:0 18px 45px rgba(10,31,61,.13)}
.home-cab-feature-symbol{width:64px;height:64px;flex:0 0 64px;display:grid;place-items:center;border-radius:20px;background:#caff69;color:#183245;font-size:30px}
.home-cab-feature>div:nth-child(2){flex:1;min-width:0}.home-cab-feature .eyebrow{color:#caff69;font-size:10px;letter-spacing:.14em}
.home-cab-feature h2{font-size:clamp(22px,2.2vw,32px);letter-spacing:-.04em;margin:4px 0 5px}.home-cab-feature p{margin:0;color:#b6cada;font-size:13px;line-height:1.5}
.home-cab-feature-link{padding:13px 19px;background:#caff69;color:#172f43;border-radius:100px;white-space:nowrap;text-decoration:none;font-weight:850;font-size:12px}.home-cab-feature-link:hover{background:#e2ffac}
.hero-actions{flex-wrap:wrap}.hero-account-link{border-color:rgba(202,255,105,.7)!important;color:#d9ffa5!important;background:rgba(202,255,105,.11)!important}
.hero-account-link:hover{background:rgba(202,255,105,.22)!important}
.cab-auth-panel{display:flex;align-items:center;gap:20px;padding:20px 25px;margin:-4px 0 25px;background:linear-gradient(115deg,#f0f7ff,#f5f9ff);border:1px solid rgba(50,93,179,.18);border-radius:25px;box-shadow:0 15px 36px rgba(18,45,91,.075)}
.cab-auth-panel.is-online{background:linear-gradient(115deg,#e9fbd6,#f2fbeb);border-color:rgba(98,154,42,.25)}
.cab-auth-google{width:54px;height:54px;flex-shrink:0;background:#fff;border-radius:15px;display:grid;place-items:center;color:#4285f4;font-size:29px;font-weight:900;box-shadow:0 6px 18px rgba(22,54,106,.12)}
.cab-auth-copy{min-width:0;flex:1}.cab-auth-overline{font-size:10px;letter-spacing:.13em;font-weight:900;color:#32659b}.cab-auth-overline .cab-auth-dot{display:inline-block;height:8px;width:8px;background:#31804c;border-radius:50%;margin-right:7px}
.cab-auth-copy h2{font-size:clamp(18px,2vw,25px);margin:6px 0;line-height:1.15;letter-spacing:-.035em;color:#18283f}
.cab-auth-copy p{font-size:12px;line-height:1.5;color:#475d76;margin:0 0 4px}.cab-auth-copy small{font-size:11px;color:#48627a}
.cab-auth-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}
.cab-auth-action{border:1px solid rgba(39,74,133,.25);border-radius:14px;padding:12px 15px;cursor:pointer;white-space:nowrap;font-size:12px;font-weight:850;transition:transform .15s ease}
.cab-auth-action:hover:not(:disabled){transform:translateY(-2px)}.cab-auth-action:disabled{opacity:.5;cursor:not-allowed}
.cab-auth-action.primary{color:#122538;background:#caff69;border-color:#b5ec54;box-shadow:0 9px 25px rgba(130,190,53,.16)}
.cab-auth-action:not(.primary){background:#fff;color:#214363}.cab-auth-action.subtle{color:#77504e;background:rgba(255,255,255,.65)}
.cab-google-g{display:inline-grid;place-items:center;margin-right:8px;width:20px;height:20px;border-radius:50%;font-weight:900;color:#4285f4;background:#fff}
html[data-theme='dark'] .cab-auth-panel{background:linear-gradient(110deg,#182b3e,#18283b);border-color:rgba(143,185,240,.2)}
html[data-theme='dark'] .cab-auth-panel.is-online{background:linear-gradient(110deg,#152d2a,#183c35);border-color:rgba(140,206,143,.2)}
html[data-theme='dark'] .cab-auth-copy h2{color:#edf6ff}html[data-theme='dark'] .cab-auth-copy p,html[data-theme='dark'] .cab-auth-copy small{color:#b9cddc}
html[data-theme='dark'] .cab-auth-overline{color:#caff69}
@media(max-width:1400px){.main-nav>a:nth-child(3),.main-nav>a:nth-child(5){display:none}}
@media(max-width:1120px){.main-nav{display:none}.site-header .nav-wrap{justify-content:space-between}.cab-header-entry{margin-left:auto}}
@media(max-width:800px){.cab-auth-panel{align-items:flex-start;flex-wrap:wrap}.cab-auth-panel .cab-auth-actions{width:100%;justify-content:flex-start}}
@media(max-width:650px){.cab-header-entry{padding:9px!important;gap:7px}.cab-header-icon{width:25px;height:25px}.cab-header-text{font-size:11px}.cab-header-state{display:none}.cab-auth-panel{padding:17px;border-radius:20px;gap:12px}.cab-auth-google{width:46px;height:46px}.cab-auth-panel>.cab-auth-action{width:100%}.cab-auth-actions .cab-auth-action{flex:1 1 auto}.home-cab-feature{padding:17px;gap:14px;flex-wrap:wrap}.home-cab-feature-symbol{width:44px;height:44px;flex-basis:44px;border-radius:15px;font-size:24px}.home-cab-feature h2{font-size:21px}.home-cab-feature p{font-size:12px}.home-cab-feature-link{width:100%;text-align:center}}
@media(max-width:375px){.cab-header-entry .cab-header-text{font-size:10px}.brand-name{font-size:17px!important}}
@media(max-width:650px){.site-header .nav-actions .bookmarks-nav,.site-header .nav-actions .theme-toggle{display:none!important}.site-header .nav-wrap{gap:6px}.cab-header-entry{margin-left:auto}}

/* Спадщина 8.7 — реєстрація за електронною поштою та паролем */
.auth87-panel{position:relative;display:grid;grid-template-columns:1fr;align-items:stretch;gap:20px;padding:28px 32px;margin:0 0 28px;overflow:hidden;border:1px solid rgba(39,87,143,.14);border-radius:28px;background:linear-gradient(135deg,#edf5ff 0%,#f8fbff 57%,#edf8f3 100%);box-shadow:0 20px 55px rgba(17,41,83,.09)}
.auth87-panel::before{content:"";position:absolute;width:230px;height:230px;right:-110px;top:-105px;background:radial-gradient(circle,#b8f77655,transparent 70%);pointer-events:none}
.auth87-panel>*{position:relative;z-index:1}
.auth87-intro{display:flex;align-items:center;gap:18px;max-width:100%}
.auth87-logo{display:grid;place-items:center;flex:0 0 58px;width:58px;height:58px;border-radius:18px;background:#caff69;color:#193248;font-size:29px;box-shadow:0 12px 32px #8aca3b33}
.auth87-eyebrow{display:block;font-size:10px;font-weight:900;letter-spacing:.17em;color:#255988;margin-bottom:8px}
.auth87-intro h2,.auth87-heading h2{margin:0 0 6px;color:#152a44;font-weight:850;letter-spacing:-.045em;font-size:clamp(23px,2.2vw,32px);line-height:1.1}
.auth87-intro p,.auth87-heading p{margin:0;line-height:1.5;color:#587088;font-size:13px}
.auth87-tabs{display:grid;grid-template-columns:1fr 1.18fr 1.12fr;gap:7px;padding:6px;background:#e3ecf7;border-radius:17px;max-width:620px}
.auth87-tabs button{font:inherit;cursor:pointer;border:0;background:transparent;color:#4a6480;padding:12px 11px;border-radius:12px;transition:background .18s ease,color .18s ease,transform .18s ease;font-size:12px;font-weight:800;white-space:nowrap}
.auth87-tabs button.active{background:#163657;color:#e7ffac;box-shadow:0 6px 18px #183c5c26}
.auth87-tabs button:hover:not(.active){background:#ffffffb3;color:#123451}
.auth87-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;gap:14px 18px;max-width:940px}
.auth87-field{display:grid;gap:8px;min-width:0;color:#344b64;font-size:12px;font-weight:800}
.auth87-field>input,.auth87-pass input{display:block;width:100%;height:49px;padding:12px 14px;border:1px solid #c3d3e7;border-radius:13px;background:#fff;color:#152b45;outline:none;font:inherit;font-size:14px;font-weight:550;transition:border-color .18s ease,box-shadow .18s ease}
.auth87-field>input:focus,.auth87-pass input:focus{border-color:#497ce5;box-shadow:0 0 0 3px #477df324}
.auth87-field>input::placeholder,.auth87-pass input::placeholder{color:#7e91a7;font-weight:450}
.auth87-pass{display:block;position:relative}
.auth87-pass input{padding-right:98px}
.auth87-eye{position:absolute;right:7px;top:7px;bottom:7px;border:none;background:#edf3fb;color:#28537a;border-radius:9px;padding:0 11px;font:inherit;font-size:11px;font-weight:750;cursor:pointer}
.auth87-eye:hover{background:#d8e7fb}
.auth87-submit{display:flex;align-items:center;justify-content:space-between;grid-column:1/-1;gap:18px;max-width:940px;padding:15px 20px;cursor:pointer;border:none;border-radius:15px;background:#caff69;color:#142a3e;font:inherit;font-size:14px;font-weight:900;box-shadow:0 12px 25px #a2d86133;transition:transform .18s ease,background .18s ease}
.auth87-submit span{font-size:18px}.auth87-submit:hover:not(:disabled){background:#deff9e;transform:translateY(-1px)}.auth87-submit:disabled{opacity:.52;cursor:not-allowed;box-shadow:none}
.auth87-hint{grid-column:1/-1;margin:0;color:#5d7289;font-size:12px;line-height:1.5}
.auth87-feedback{grid-column:1/-1;margin:0;min-height:0;font-size:13px;font-weight:750;line-height:1.5}
.auth87-feedback:empty{display:none}.auth87-feedback.success{color:#207d4d}.auth87-feedback.error{color:#a83a41}
.auth87-setup{margin:0;max-width:940px;color:#8b5122;background:#fff5e6;border:1px solid #f1d6af;border-radius:14px;padding:12px 15px;font-size:12px;line-height:1.5}
.auth87-user-symbol{width:52px;height:52px;border-radius:16px;background:#caff69;color:#193248;display:grid;place-items:center;font-weight:900;font-size:24px;flex:0 0 52px}
.auth87-panel.is-online{display:flex;align-items:center;gap:20px}
.auth87-panel.is-recovery .auth87-form{grid-template-columns:repeat(2,minmax(0,1fr))}
html[data-theme='dark'] .auth87-panel{background:linear-gradient(135deg,#10263a 0%,#132b3e 57%,#123d39 100%);border-color:#638fb22b;box-shadow:0 24px 60px #050e1d6b}
html[data-theme='dark'] .auth87-intro h2,html[data-theme='dark'] .auth87-heading h2{color:#f2f8ff}
html[data-theme='dark'] .auth87-intro p,html[data-theme='dark'] .auth87-heading p,html[data-theme='dark'] .auth87-hint{color:#b3c8dc}
html[data-theme='dark'] .auth87-eyebrow{color:#caff69}
html[data-theme='dark'] .auth87-tabs{background:#0b1c2e}
html[data-theme='dark'] .auth87-tabs button{color:#b8c8de}
html[data-theme='dark'] .auth87-tabs button.active{background:#caff69;color:#153448}
html[data-theme='dark'] .auth87-tabs button:hover:not(.active){background:#29425c;color:#e4efff}
html[data-theme='dark'] .auth87-field{color:#d2e2f4}
html[data-theme='dark'] .auth87-field>input,html[data-theme='dark'] .auth87-pass input{background:#0d1b2c;color:#f6faff;border-color:#3e556f}
html[data-theme='dark'] .auth87-eye{background:#213c57;color:#e4f5ff}
html[data-theme='dark'] .auth87-eye:hover{background:#315a7a}
html[data-theme='dark'] .auth87-feedback.success{color:#b9f58e}
html[data-theme='dark'] .auth87-feedback.error{color:#ffb0b4}
html[data-theme='dark'] .auth87-setup{background:#422d20;color:#ffdaa7;border-color:#704c30}
@media(max-width:760px){.auth87-panel{padding:20px 17px;gap:17px;border-radius:22px}.auth87-logo{flex-basis:44px;width:44px;height:44px;border-radius:14px;font-size:24px}.auth87-intro{align-items:flex-start;gap:12px}.auth87-tabs{max-width:100%;gap:3px;padding:4px}.auth87-tabs button{font-size:11px;padding:11px 6px}.auth87-form,.auth87-panel.is-recovery .auth87-form{grid-template-columns:1fr;gap:12px}.auth87-panel.is-online{flex-wrap:wrap}.auth87-panel.is-online .cab-auth-actions{width:100%}}
@media(max-width:360px){.auth87-tabs button{font-size:10px;letter-spacing:-.03em}.auth87-logo{display:none}}
