/* Tankuj 2.0 – konto / logowanie. Wspólna paleta z /new/assets/style.css */
.auth-preview{padding-top:45px;padding-bottom:75px;max-width:1180px}
.auth-preview-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,.88fr);min-height:660px;background:var(--surface);border:1px solid var(--line);border-radius:12px;overflow:hidden}
.auth-preview-main{min-width:0;padding:36px clamp(24px,4.5vw,70px) 46px}
.auth-back{display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:600;color:var(--muted);margin-bottom:45px}
.auth-back svg{width:16px;height:16px}
.auth-back:hover{color:var(--accent)}
.auth-preview-copy{margin-bottom:31px}
.auth-preview-copy .detail-kicker{margin-bottom:7px}
.auth-preview-copy h1{font-size:clamp(35px,3.7vw,48px);margin:0 0 9px}
.auth-preview-copy p:last-child{max-width:430px;font-size:14px;line-height:1.6;color:var(--muted);margin:0}
.auth-form{display:flex;flex-direction:column;gap:11px;max-width:440px}
.auth-form label{font-size:13px;font-weight:600}
.auth-field{position:relative;display:flex;align-items:center;gap:12px;min-height:54px;padding:0 13px;border:1px solid var(--line-strong);background:var(--surface-2);border-radius:7px}
.auth-field:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-bg)}
.auth-field>svg{color:var(--muted);width:19px;height:19px;flex:none}
.auth-field input{min-width:0;flex:1;border:0!important;background:transparent!important;color:var(--ink)!important;outline:0!important;box-shadow:none!important;font:500 15px "IBM Plex Sans",sans-serif;padding:14px 0}
.auth-field input::placeholder{color:var(--quiet);opacity:1}
.auth-field-label{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:7px}
.auth-field-label a{font-size:12px;color:var(--accent);font-weight:600}
.auth-toggle-password{background:none;border:0;color:var(--muted);width:36px;height:38px;display:grid;place-items:center;padding:0;flex:none}
.auth-toggle-password svg{width:18px;height:18px}
.auth-remember{display:flex;align-items:center;gap:9px;margin:9px 0 7px;font-size:12px!important;font-weight:500!important;color:var(--muted);cursor:pointer}
.auth-remember input{appearance:auto;accent-color:var(--accent);width:16px;height:16px}
.auth-submit{height:52px;border:0;border-radius:7px;display:flex;align-items:center;justify-content:center;gap:12px;background:var(--accent);color:#fff;font-weight:700;font-size:15px;transition:background .15s}
.auth-submit:hover{background:var(--accent-hover)}
.auth-submit svg{width:18px;height:18px}
.auth-separator{display:flex;align-items:center;gap:12px;max-width:440px;color:var(--muted);font-size:12px;margin:21px 0 14px}
.auth-separator::before,.auth-separator::after{content:"";height:1px;background:var(--line);flex:1}
.auth-external{height:50px;max-width:440px;border:1px solid var(--line-strong);border-radius:7px;display:flex;align-items:center;gap:11px;padding:0 15px;font-size:13px;font-weight:600;margin-bottom:9px;transition:border-color .15s}
.auth-external:hover{border-color:var(--accent);background:var(--surface-2)}
.auth-external>svg:first-child{width:20px;height:20px;color:var(--muted)}
.auth-external>svg:last-child{width:16px;height:16px;margin-left:auto;color:var(--muted)}
.auth-google-g{width:20px;height:20px;font-weight:800;font-size:18px;display:grid;place-items:center;color:#4285f4}
.auth-create{max-width:440px;margin-top:24px;font-size:13px;color:var(--muted)}
.auth-create a{font-weight:700;color:var(--accent)}
.auth-method-note{font-size:11px;line-height:1.5;color:var(--quiet);max-width:420px;margin-top:15px}
.auth-preview-aside{padding:60px clamp(27px,3.4vw,53px);display:flex;flex-direction:column;background:#192326;color:#f1f4f1;position:relative}
.auth-aside-label{display:flex;align-items:center;gap:9px;color:#a9b7b7;font-size:11px;font-weight:700;letter-spacing:.09em}
.auth-aside-dash{width:19px;height:3px;background:#ea7a35;border-radius:2px}
.auth-preview-aside h2{font-size:clamp(30px,3vw,41px);letter-spacing:-.05em;line-height:1.14;margin:28px 0 10px}
.auth-preview-aside>p{font-size:14px;line-height:1.65;color:#a9b8ba;max-width:350px;margin:0 0 37px}
.auth-aside-preview{border:1px solid #3a4647;border-radius:11px;overflow:hidden;background:#222d30;box-shadow:0 14px 32px rgba(0,0,0,.09)}
.auth-preview-top{height:59px;border-bottom:1px solid #3a4647;display:flex;align-items:center;justify-content:space-between;padding:0 18px;color:#e6eae8;font-weight:600;font-size:13px}
.auth-preview-top svg{width:18px;height:18px;color:#90a1a1}
.auth-preview-stats{display:grid;grid-template-columns:1fr 1fr;gap:9px;padding:18px}
.auth-preview-stats>div{background:#2d383b;padding:13px 15px;border-radius:7px;display:flex;flex-direction:column;gap:7px}
.auth-preview-stats span{font-size:11px;color:#b0c0bf}
.auth-preview-stats strong{font:600 30px "IBM Plex Mono",monospace;color:#f5f5f2}
.auth-preview-line{border-top:1px solid #364448;display:flex;gap:12px;align-items:center;padding:15px 19px;font-size:13px;color:#d6e1dd}
.auth-preview-line>svg:first-child{width:18px;height:18px;color:#e98a51}
.auth-preview-line>svg:last-child{margin-left:auto;color:#839898;width:16px;height:16px}
.auth-preview-demo{margin-top:24px;display:inline-flex;align-items:center;gap:7px;color:#ffc198;font-size:13px;font-weight:700}
.auth-preview-demo svg{width:16px;height:16px}
/* panel */
.account-main{padding-top:27px;padding-bottom:83px}
.account-demo-bar{background:var(--accent-bg);border:1px solid var(--line-strong);border-radius:8px;padding:12px 16px;display:flex;align-items:center;gap:11px;font-size:12px;color:var(--ink);margin-bottom:18px}
.account-demo-bar svg{width:17px;height:17px;color:var(--accent);flex:none}
.account-demo-bar span{flex:1}
.account-demo-bar a{font-weight:700;color:var(--accent)}
.account-shell{display:grid;grid-template-columns:250px minmax(0,1fr);gap:24px;align-items:start}
.account-sidebar{position:sticky;top:105px;background:var(--surface);border:1px solid var(--line);border-radius:10px;min-height:580px;overflow:hidden;padding:15px 10px 16px}
.account-identity{display:flex;align-items:center;gap:11px;padding:12px 10px 21px;border-bottom:1px solid var(--line);margin-bottom:12px}
.account-avatar{width:44px;height:44px;border-radius:9px;background:#233439;color:#fff;font-size:19px;font-weight:700;display:grid;place-items:center;flex:none}
.account-identity>div:last-child{display:flex;flex-direction:column;min-width:0;gap:3px}
.account-identity strong{font-size:14px;font-weight:700;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.account-identity span{font-size:11px;color:var(--muted)}
.account-side-nav{display:flex;flex-direction:column;gap:4px}
.account-side-nav a{min-height:43px;display:flex;align-items:center;gap:11px;padding:11px 11px;border-radius:7px;color:var(--muted);font-size:13px;font-weight:600;position:relative}
.account-side-nav a:hover{background:var(--surface-2);color:var(--ink)}
.account-side-nav a[aria-current="page"]{color:var(--ink);background:var(--accent-bg)}
.account-side-nav a[aria-current="page"]::before{content:"";width:3px;background:var(--accent);position:absolute;left:0;top:8px;bottom:8px;border-radius:2px}
.account-side-nav a svg{width:18px;height:18px;flex:none}
.account-side-nav a svg:last-child:not(:first-child){margin-left:auto;width:13px;height:13px;color:var(--quiet)}
.account-unread{font-size:11px;line-height:1.5;min-width:21px;padding:2px 4px;text-align:center;background:var(--accent);color:white;border-radius:5px;margin-left:auto}
.account-nav-group{font-size:10px;letter-spacing:.08em;font-weight:700;color:var(--quiet);padding:21px 11px 8px}
.account-side-nav a.account-logout{color:#b04f3e}
.account-sidebar-footer{border-top:1px solid var(--line);margin:24px 10px 0;padding-top:18px;display:flex;flex-direction:column;gap:3px}
.account-sidebar-footer span{font-size:12px;font-weight:700}
.account-sidebar-footer small{font-size:10px;color:var(--muted)}
.account-content{min-width:0}
.account-top{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:7px 0 25px}
.account-top h1{font-size:clamp(34px,3.6vw,48px);margin:0 0 7px}
.account-subtitle{color:var(--muted);font-size:14px;margin:0}
.account-add{min-height:42px;background:var(--accent);color:#fff;display:inline-flex;align-items:center;gap:7px;border-radius:6px;padding:11px 16px;font-size:13px;font-weight:700;white-space:nowrap}
.account-add:hover{background:var(--accent-hover)}
.account-add svg{width:17px;height:17px}
.account-mobile-tabs{display:none}
.account-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.account-stat{position:relative;background:var(--surface);border:1px solid var(--line);border-radius:9px;padding:19px 19px 17px;display:flex;flex-direction:column;gap:8px;min-height:143px;min-width:0}
.account-stat>span{font-size:12px;font-weight:600;color:var(--muted)}
.account-stat strong{font:600 clamp(26px,2.5vw,37px)/1 "IBM Plex Mono",monospace;letter-spacing:-.075em;font-variant-numeric:tabular-nums}
.account-stat small{font-size:11px;color:var(--muted)}
.account-stat>svg{position:absolute;top:17px;right:17px;width:19px;height:19px;color:var(--quiet)}
.account-quick-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}
.account-quick-actions a{display:flex;align-items:center;gap:12px;background:var(--surface);border:1px solid var(--line);border-radius:9px;padding:16px 14px;min-width:0}
.account-quick-actions a:hover{border-color:var(--line-strong);background:var(--surface-2)}
.account-quick-actions>a>svg:first-child{color:var(--accent);width:22px;height:22px;flex:none}
.account-quick-actions>a>svg:last-child{margin-left:auto;color:var(--muted);width:15px;height:15px;flex:none}
.account-quick-actions a span{display:flex;flex-direction:column;gap:3px;min-width:0}
.account-quick-actions strong{font-size:13px;font-weight:700}
.account-quick-actions small{color:var(--muted);font-size:11px;line-height:1.4}
.account-panel-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.account-card{min-width:0;background:var(--surface);border:1px solid var(--line);border-radius:9px;padding:21px}
.account-card-full{margin-top:5px}
.account-card-head{display:flex;align-items:center;gap:12px;justify-content:space-between;padding:0 0 15px;border-bottom:1px solid var(--line)}
.account-card-head h2{font-size:20px;font-weight:700;margin:0;letter-spacing:-.035em}
.account-card-head>a{color:var(--accent);font-size:12px;font-weight:700;display:inline-flex;gap:5px;align-items:center}
.account-card-head>a svg{width:14px;height:14px}
.account-card-head>span{font-size:12px;color:var(--muted)}
.account-list-row{display:flex;align-items:center;gap:10px;padding:13px 0;border-bottom:1px solid var(--line);min-width:0}
.account-list-row:last-child{border-bottom:0}
a.account-list-row:hover{color:var(--accent)}
.account-list-icon{width:38px;height:38px;background:var(--surface-2);border:1px solid var(--line);border-radius:8px;display:grid;place-items:center;flex:none;color:var(--muted)}
.account-list-icon svg{width:19px;height:19px}
.account-list-main{min-width:0;flex:1;display:flex;flex-direction:column;gap:4px}
.account-list-main strong{font-size:13px;font-weight:600;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.account-list-main small{font-size:11px;color:var(--muted);line-height:1.4}
.account-list-price{display:flex;flex-direction:column;gap:3px;align-items:flex-end;white-space:nowrap;font:600 16px "IBM Plex Mono",monospace}
.account-list-price small{font:500 11px "IBM Plex Sans",sans-serif;color:var(--muted)}
.account-list-price.account-positive{color:var(--pb)}
.account-list-row>svg:last-child{color:var(--quiet);width:15px;height:15px}
.account-empty{padding:23px 0;color:var(--muted);font-size:13px;line-height:1.55}
.account-empty a{font-weight:700;color:var(--accent)}
.account-context-line{margin-top:18px;display:flex;align-items:center;gap:8px;color:var(--muted);font-size:12px}
.account-context-line svg{width:16px;height:16px}
.account-context-divider{width:1px;height:15px;background:var(--line);margin:0 5px}
.account-card-bottom{border-top:1px solid var(--line);padding:16px 0 0;margin-top:10px}
.account-card-bottom a{font-size:13px;color:var(--accent);font-weight:700;display:inline-flex;align-items:center;gap:6px}
.account-card-bottom svg{width:15px;height:15px}
.account-point-total{font:600 18px "IBM Plex Mono",monospace;color:var(--accent)}
.account-new-dot{height:7px;width:7px;background:var(--accent);border-radius:50%;flex:none}
.header-account-link{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;white-space:nowrap;border:1px solid var(--line-strong);border-radius:7px;padding:0 12px;color:var(--ink);font-size:12px;font-weight:700}
.header-account-link:hover{border-color:var(--accent);color:var(--accent)}
.header-account-link svg{width:17px;height:17px}
@media(max-width:1180px){
 .account-shell{grid-template-columns:215px minmax(0,1fr);gap:14px}
 .account-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
 .account-quick-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
 .account-panel-grid{grid-template-columns:1fr}
}
@media(max-width:950px){
 .auth-preview-layout{grid-template-columns:1fr}
 .auth-preview-aside{display:none}
 .auth-preview-main{padding:29px clamp(20px,5vw,55px) 40px}
 .auth-back{margin-bottom:30px}
 .account-sidebar{display:none}
 .account-shell{display:block}
 .account-mobile-tabs{display:flex;gap:7px;overflow-x:auto;scrollbar-width:none;margin:0 0 18px;padding:1px 0 8px}
 .account-mobile-tabs::-webkit-scrollbar{display:none}
 .account-mobile-tabs a{white-space:nowrap;display:inline-flex;align-items:center;gap:7px;background:var(--surface);border:1px solid var(--line);border-radius:7px;color:var(--muted);padding:9px 12px;font-size:12px;font-weight:600}
 .account-mobile-tabs a[aria-current="page"]{border-color:var(--accent);color:var(--accent);background:var(--accent-bg)}
 .account-mobile-tabs svg{width:16px;height:16px}
}
@media(max-width:720px){
 .auth-preview{padding-top:15px;padding-bottom:80px}
 .auth-preview-layout{border:0;border-radius:0;background:transparent;min-height:auto}
 .auth-preview-main{padding:19px 2px 35px}
 .auth-preview-copy h1{font-size:36px}
 .auth-form{max-width:none}
 .auth-back{margin-bottom:35px}
 .auth-form .auth-submit{width:100%}
 .auth-external,.auth-separator,.auth-create{max-width:none}
 .account-main{padding-top:18px;padding-bottom:100px}
 .account-top{padding-bottom:20px;align-items:flex-start}
 .account-top h1{font-size:34px}
 .account-subtitle{font-size:12px}
 .account-add{font-size:12px;padding:10px 12px;min-height:40px}
 .account-add svg{width:16px}
 .account-stats{gap:8px}
 .account-stat{min-height:118px;padding:14px}
 .account-stat strong{font-size:29px}
 .account-stat>svg{width:17px;height:17px;right:12px;top:13px}
 .account-quick-actions{grid-template-columns:1fr;gap:8px;margin:14px 0}
 .account-quick-actions a{min-height:65px}
 .account-panel-grid{gap:10px}
 .account-card{padding:14px 13px}
 .account-card-head h2{font-size:18px}
 .account-list-icon{width:34px;height:34px}
 .account-list-main strong{font-size:12px}
 .account-list-main small{font-size:10px}
 .account-list-price{font-size:13px}
 .account-demo-bar{align-items:flex-start;font-size:11px;flex-wrap:wrap}
 .account-demo-bar a{padding-left:26px}
 .header-account-link{min-height:34px;padding:0 8px;gap:4px}
 .header-account-link span{display:none}
 .header-account-link svg{width:18px;height:18px}
}
@media(max-width:390px){
 .account-top{gap:9px}
 .account-add{padding:9px;font-size:11px}
 .account-stat>span{font-size:11px}
}
/* Węższe laptopy: nawigacja nie może wypychać przycisku Konta poza ekran. */
@media(min-width:1051px) and (max-width:1330px){
  .desktop-nav{display:none}
  .header-actions{margin-left:auto}
}
