:root {
  color-scheme: dark;
  --bg: #0c1425; --panel: #121d33; --line: #2b4165; --text: #f4f8ff; --muted: #a8b8d0;
  --primary: #5575f6; --primary-2: #19b8c4; --violet: #7b5ce7; --sky: #8bd9ff;
  --gradient: linear-gradient(135deg, #19b8c4 0%, #5575f6 48%, #7b5ce7 100%); --success: #29d59a;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body {
  position: relative; isolation: isolate; overflow-x: hidden; margin: 0; min-height: 100vh; color: var(--text);
  background: radial-gradient(circle at 10% 4%, #2d77a34d 0, transparent 30%), radial-gradient(circle at 92% 9%, #6945b73d 0, transparent 29%), linear-gradient(150deg, #0b1426, var(--bg) 56%, #11132a);
}
body::before, body::after {
  content: ""; position: fixed; z-index: -1; width: 150px; height: 48px; border-radius: 999px; opacity: .16; pointer-events: none;
  background: var(--sky); box-shadow: 45px -18px 0 -6px #7fe8df, 92px 2px 0 -12px #9c89ff; filter: blur(4px); animation: cloud-drift 22s ease-in-out infinite alternate;
}
body::before { top: 10%; left: -80px; } body::after { right: -90px; bottom: 15%; opacity: .11; animation-duration: 29s; animation-direction: alternate-reverse; }
.shell { width: min(1120px, calc(100% - 40px)); min-height: 100vh; margin: auto; display: grid; grid-template-columns: 1.15fr .85fr; gap: 72px; align-items: center; padding: 64px 0; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -.02em; }
.brand-mark { position: relative; display: grid; place-items: center; width: 54px; height: 40px; overflow: visible; animation: mark-float 5s ease-in-out infinite; }
.brand-mark img { width:100%; height:100%; object-fit:contain; filter:drop-shadow(0 10px 14px #1688ed55); transition:transform .25s ease; }.brand:hover .brand-mark img{transform:translateY(-2px) scale(1.06)}
.eyebrow { margin: 64px 0 18px; color: var(--sky); font-size: .78rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
h1 { max-width: 660px; margin: 0; font-size: clamp(2.7rem, 5vw, 5.1rem); line-height: .96; letter-spacing: -.055em; }
h2 { margin: 30px 0 8px; font-size: 2rem; }
.lead { max-width: 600px; color: var(--muted); font-size: 1.08rem; line-height: 1.7; }
.trust-list { display: grid; gap: 14px; margin: 34px 0 0; padding: 0; list-style: none; color: #d9e6f5; }
.trust-list li { animation: rise-in .42s cubic-bezier(.2,.8,.2,1) both; }.trust-list li:nth-child(2){animation-delay:.07s}.trust-list li:nth-child(3){animation-delay:.14s}
.trust-list li::before { content: "✓"; margin-right: 12px; color: var(--success); font-weight: 900; }
.auth-card { border: 1px solid #385174aa; border-radius: 26px; padding: 34px; background: #121d33dc; box-shadow: 0 32px 90px #0007; backdrop-filter: blur(20px); animation: rise-in .5s cubic-bezier(.2,.8,.2,1) both; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; border: 1px solid #2b416566; border-radius: 14px; background: #091121b8; }
.tab { padding: 11px; border-radius: 10px; color: var(--muted); font-weight: 700; text-align: center; text-decoration: none; transition: color .2s ease, background .2s ease, transform .2s ease; }
.tab:hover { color: var(--text); transform: translateY(-1px); }.tab.active { color: #fff; background: var(--gradient); box-shadow: 0 8px 24px #4669db42; }
.muted, .privacy-note { color: var(--muted); line-height: 1.55; }
.alert { margin: 20px 0; padding: 13px 15px; border: 1px solid #8c4050; border-radius: 11px; color: #ffc6cc; background: #421f2b; }
form { display: grid; gap: 10px; margin-top: 24px; } label { margin-top: 7px; color: #dfe9f7; font-size: .88rem; font-weight: 700; }
input { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; color: #fff; background: #091121c9; font: inherit; outline: none; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
input:hover { transform: translateY(-1px); } input:focus { border-color: #6caeff; box-shadow: 0 0 0 3px #62a8ff33; }
button { position: relative; overflow: hidden; margin-top: 14px; border: 0; border-radius: 12px; padding: 14px 18px; color: #fff; background: var(--gradient); box-shadow: 0 12px 30px #3f67d83a; font: inherit; font-weight: 800; cursor: pointer; transition: transform .2s ease, filter .2s ease, box-shadow .2s ease; }
button::before { content:""; position:absolute; inset:0; background:linear-gradient(90deg,transparent,#fff4,transparent); transform:translateX(-130%) skewX(-18deg); transition:transform .55s ease; }
button:hover { filter: brightness(1.08); transform: translateY(-2px); box-shadow: 0 17px 34px #3f67d84f; } button:hover::before { transform:translateX(130%) skewX(-18deg); } button:active { transform: scale(.985); }
.privacy-note { margin: 22px 0 0; font-size: .82rem; }
.connected-shell { display: grid; grid-template-columns: minmax(0, 680px); justify-content: center; }.connected-card { text-align: center; }.connected-card .brand { justify-content: center; }.connected-card h1 { margin-inline: auto; }
.dashboard-login-shell { width: min(520px, calc(100% - 32px)); min-height: 100vh; margin: auto; display: grid; place-items: center; padding: 36px 0; }.dashboard-login-card { width: 100%; }.dashboard-login-card .eyebrow { margin-top: 42px; }.dashboard-login-card h1 { font-size: clamp(2.4rem, 8vw, 4rem); }
.dashboard-shell { width: min(1180px, calc(100% - 40px)); margin: auto; padding: 30px 0 70px; }.dashboard-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; animation:rise-in .4s ease both; }
.dashboard-account { display: flex; align-items: center; gap: 16px; }.dashboard-account > span strong, .dashboard-account > span small { display: block; text-align: right; }.dashboard-account > span small { margin-top: 3px; color: var(--muted); font-size: .78rem; }.dashboard-account form { margin: 0; }
.secondary-button { margin: 0; border: 1px solid var(--line); padding: 10px 14px; background: #17233a; box-shadow:none; }
.dashboard-hero { padding: 78px 0 48px; animation:rise-in .48s .06s ease both; }.dashboard-hero .eyebrow { margin: 0 0 16px; }.dashboard-hero h1 { font-size: clamp(2.8rem, 7vw, 5.5rem); background:linear-gradient(110deg,#fff 10%,#a6e9ff 58%,#c0b4ff); -webkit-background-clip:text; background-clip:text; color:transparent; }
.dashboard-section-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }.dashboard-section-title h2 { margin: 0; }.dashboard-section-title > span { display: grid; place-items: center; min-width: 34px; height: 34px; padding: 0 10px; border-radius: 999px; color: var(--sky); background: #1c3457; font-weight: 800; }
.dashboard-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.dashboard-folder-card { min-width: 0; border: 1px solid #30486c; border-radius: 21px; padding: 22px; background: #121d33dc; box-shadow: 0 18px 44px #0003; backdrop-filter:blur(16px); animation:rise-in .42s cubic-bezier(.2,.8,.2,1) both; transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease; }
.dashboard-folder-card:hover { transform:translateY(-5px); border-color:#587fd0; box-shadow:0 27px 58px #0005; }.folder-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.folder-glyph { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; color: #fff; background: var(--gradient); box-shadow:0 10px 25px #3e70d448; transition:transform .22s ease; }.dashboard-folder-card:hover .folder-glyph { transform:rotate(-5deg) scale(1.06); }
.role-chip { padding: 6px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .72rem; font-weight: 700; }.dashboard-folder-card h3 { margin: 22px 0 8px; overflow-wrap: anywhere; font-size: 1.35rem; }
.dashboard-folder-card > p { min-height: 42px; margin: 0 0 18px; color: var(--muted); font-size: .86rem; line-height: 1.55; }.folder-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: .7rem; }.folder-metrics span, .folder-metrics strong { display: block; }.folder-metrics strong { margin-bottom: 3px; color: var(--text); font-size: 1rem; }
.pending-note { margin-top: 15px; padding: 9px 11px; border-radius: 10px; color: #ffd690; background: #5a402344; font-size: .78rem; font-weight: 750; }.dashboard-empty { border: 1px dashed var(--line); border-radius: 20px; padding: 42px 24px; color: var(--muted); text-align: center; background: #121d3388; }.dashboard-empty strong { color: var(--text); }.dashboard-empty p { margin: 8px 0 0; }.dashboard-extension-note { margin: 24px 0 0; color: var(--muted); font-size: .82rem; }
[dir="rtl"] body, [dir="rtl"] input { text-align: right; }
[dir="rtl"] .trust-list li::before { margin-right: 0; margin-left: 12px; }
[dir="rtl"] .dashboard-account > span strong, [dir="rtl"] .dashboard-account > span small { text-align: left; }
[dir="rtl"] button::before { transform: translateX(130%) skewX(18deg); }
[dir="rtl"] button:hover::before { transform: translateX(-130%) skewX(18deg); }
@keyframes cloud-drift { from{transform:translate3d(-10px,0,0) scale(.96)} to{transform:translate3d(55px,-12px,0) scale(1.08)} } @keyframes rise-in { from{opacity:0;transform:translateY(16px) scale(.985)} to{opacity:1;transform:none} } @keyframes mark-float { 0%,100%{transform:translateY(0) rotate(0)} 50%{transform:translateY(-3px) rotate(1deg)} } @keyframes mark-shine { 0%,68%{transform:translateX(-140%) rotate(18deg)} 88%,100%{transform:translateX(340%) rotate(18deg)} }
@media (max-width: 900px) { .dashboard-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } } @media (max-width: 820px) { .shell { grid-template-columns: 1fr; gap: 42px; padding: 40px 0 60px; }.eyebrow{margin-top:44px}.brand-panel h1{font-size:clamp(2.5rem,12vw,4.2rem)}.auth-card{padding:26px} } @media (max-width: 620px) { .dashboard-shell{width:min(100% - 24px,1180px)}.dashboard-header,.dashboard-account{align-items:flex-start;flex-direction:column}.dashboard-account>span strong,.dashboard-account>span small{text-align:left}.dashboard-hero{padding-top:54px}.dashboard-grid{grid-template-columns:1fr} } @media (prefers-reduced-motion: reduce) { *,*::before,*::after { scroll-behavior:auto!important; transition:none!important; animation:none!important; } }

/* IceComb product signature and accessible language controls. */
.language-switcher { display:flex; flex-wrap:wrap; gap:6px; margin:24px 0 20px; }
.language-switcher a { padding:7px 9px; border:1px solid transparent; border-radius:8px; color:var(--muted); font-size:.73rem; text-decoration:none; }
.language-switcher a:hover,.language-switcher a:focus-visible { color:var(--text); border-color:var(--sky); outline-offset:3px; }
.language-switcher a.active { color:var(--sky); background:#223956; border-color:#42618a; }
.icecomb-credit { display:flex; flex-direction:column; align-items:center; gap:12px; justify-content:center; margin-top:26px; padding-top:20px; border-top:1px solid var(--line); }
.icecomb-credit a { display:inline-flex; padding:4px 9px; border-radius:9px; background:#fff; }
.icecomb-credit img { display:block; width:106px; height:47px; object-fit:contain; }

.icecomb-credit small { color:var(--muted); font-size:.73rem; line-height:1.6; text-align:center; }
.dashboard-product { display:flex; align-items:center; flex-wrap:wrap; gap:20px; }
.product-maker { display:inline-flex; padding:2px 7px; background:#fff; border-radius:8px; }
.product-maker img { display:block; width:94px; height:42px; object-fit:contain; }
.dashboard-account { flex-wrap:wrap; }
button:disabled { cursor:default; opacity:.55; }
