.brand-logo{display:block;object-fit:contain;flex:none;filter:drop-shadow(0 7px 12px #001e2333)}
.sidebar-logo{width:48px;height:48px;margin-left:-3px}
.login-logo{width:94px;height:94px;position:relative;z-index:2}
.login-art-img{position:absolute;right:-30px;bottom:-70px;width:min(65%,520px);height:auto;object-fit:contain;opacity:.6;filter:drop-shadow(0 25px 40px #002c3477);pointer-events:none;z-index:0}
.login-art p{max-width:490px;text-shadow:0 2px 10px #002d3266}
.primary{background-image:url('/assets/button-forward.png');background-repeat:no-repeat;background-size:27px 27px;background-position:right 10px center;padding-right:45px;transition:transform .15s ease,box-shadow .15s ease}
.primary:hover{transform:translateY(-1px);box-shadow:0 10px 19px #1b755e35}
.primary span{display:none}
.card{position:relative;overflow:hidden}
.card-art{position:absolute;right:0;top:0;width:86px;height:86px;object-fit:contain;pointer-events:none;filter:drop-shadow(0 7px 8px #123b3822)}
.card .label{max-width:calc(100% - 75px)}
.quick-link{position:relative;padding-right:90px;min-height:100px;transition:transform .15s ease,box-shadow .15s ease}
.quick-link:hover{box-shadow:0 9px 20px #194a3d12}
.quick-art{position:absolute;right:4px;top:6px;width:80px;height:80px;object-fit:contain;pointer-events:none}
.page-art{width:96px;height:96px;object-fit:contain;flex:none;filter:drop-shadow(0 8px 11px #123b3822)}
.intro .actions{margin-left:auto}
.topbar-actions{display:flex;align-items:center;gap:12px;margin-left:auto}
.portal-switch{display:inline-flex;align-items:center;min-height:38px;padding:0 14px;border-radius:11px;text-decoration:none;background:linear-gradient(150deg,#f4ffda,#bbeed7 50%,#6fc6ad);box-shadow:inset 0 1px 2px #fff,0 5px 0 #78ad95,0 9px 17px #1d5c4930;color:#125d51;font-size:12px;font-weight:900;text-shadow:0 1px #fff9}
.portal-switch:hover{transform:translateY(2px);box-shadow:inset 0 1px 2px #fff,0 3px 0 #78ad95,0 6px 12px #1d5c4930}
.gallery-section{margin:0 0 28px}
.gallery-section h3{font-size:17px;color:#1e484b;margin:0 0 13px}
.gallery-section h3 span{font-size:11px;color:#79978b;margin-left:5px}
.gallery-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(155px,1fr));gap:12px}
.gallery-tile{background:#fff;border:1px solid #e2ebe6;border-radius:15px;padding:10px;display:flex;flex-direction:column;align-items:center;text-align:center;min-width:0;box-shadow:0 7px 18px #194a3d08;transition:transform .15s ease,border-color .15s ease}
.gallery-tile:hover{transform:translateY(-2px);border-color:#87c6ab}
.gallery-tile img{width:100%;aspect-ratio:1;object-fit:contain;background:linear-gradient(135deg,#eef9f0,#e1f1e8);border-radius:10px}
.gallery-tile strong{font-size:11px;color:#385d56;margin-top:10px;text-transform:capitalize;line-height:1.3}
.gallery-preview{padding:22px 28px 28px;text-align:center}
.gallery-preview img{display:block;width:min(100%,460px);aspect-ratio:1;object-fit:contain;background:linear-gradient(135deg,#e9f8ed,#d9ede5);border-radius:16px;margin:auto}
.gallery-preview p{font-size:12px;color:#6c8980;margin:14px 0 20px}
.gallery-preview a.secondary{display:inline-block;text-decoration:none}
.modal.wide-modal{width:min(1180px,96vw)}
.lecture-summary{font-size:13px;line-height:1.6;color:#4f706b;white-space:pre-wrap;margin:0 0 20px}
.lecture-heading{font-size:15px;color:#1e484b;margin:25px 0 10px}
.lecture-hint{font-size:12px;color:#986517;background:#fff5e2;border-radius:10px;padding:11px 13px;line-height:1.5}
.course-outline{display:grid;gap:8px}
.outline-item{display:flex;align-items:center;gap:12px;text-align:left;border:1px solid #e0ebe5;border-radius:10px;background:#f9fcfa;padding:11px;color:#26554f}
.outline-item:hover{border-color:#69b895;background:#eef9f1}
.outline-item span{display:grid;place-items:center;width:27px;height:27px;border-radius:8px;background:#def4e7;color:#1a745b;font-size:11px;font-weight:800}
.outline-item strong{font-size:12px;flex:1}
.outline-item small{color:#75938c;font-size:10px}
.lecture-viewer{padding:18px 22px 24px}
.lecture-frame{display:block;width:100%;height:min(70vh,760px);border:1px solid #deebe5;border-radius:12px;background:#f6faf8}
.lecture-media{display:block;width:100%;max-height:70vh;object-fit:contain;background:#122e34;border-radius:12px}
.lecture-audio{display:block;width:100%;margin:25px auto}
.lecture-viewer-actions{display:flex;align-items:center;gap:13px;padding-top:15px;color:#829990;font-size:11px}
.lecture-viewer-actions a{text-decoration:none}
@media(max-width:750px){.sidebar-logo{width:45px;height:45px}.page-art{width:68px;height:68px}.card-art{width:64px;height:64px;right:0;top:0}.card .label{max-width:calc(100% - 52px)}.quick-art{width:58px;height:58px;right:4px}.quick-link{padding-right:68px}.gallery-grid{grid-template-columns:repeat(auto-fill,minmax(130px,1fr))}}
.setup-panel{margin-top:30px;padding:25px;border:1px solid #cadff2;border-radius:23px;background:linear-gradient(125deg,#e2f7ff,#f4e9ff 55%,#fff1d7);box-shadow:0 10px 0 #bed7ed,0 24px 40px #3866a522}
.setup-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:20px}.setup-heading h2{margin:5px 0 6px;color:#154978;font-size:25px;text-shadow:0 2px #fff,0 4px #adc7ed}.setup-heading p{margin:0;color:#57717d;font-size:13px;line-height:1.5}.setup-heading strong{white-space:nowrap;padding:10px 15px;border-radius:15px;color:#174e83;background:linear-gradient(#fff,#d4edff);border:1px solid #a7c8ea;box-shadow:0 5px 0 #aac5e5}
.setup-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.setup-card{position:relative;min-height:190px;padding:18px 17px 16px 98px;border:1px solid #b6d8ed;border-radius:17px;background:linear-gradient(145deg,#fff,#e5f4ff);box-shadow:0 6px 0 #b2d4e8}.setup-card:nth-child(3n+2){background:linear-gradient(145deg,#fff,#eee3ff);border-color:#d2bfea;box-shadow:0 6px 0 #cfb9e6}.setup-card:nth-child(3n){background:linear-gradient(145deg,#fff,#fff0da);border-color:#efcfaa;box-shadow:0 6px 0 #ecc9a7}.setup-card.ready{border-color:#79c9af}.setup-card img{position:absolute;left:11px;top:23px;width:76px;height:76px;object-fit:contain;filter:drop-shadow(0 7px 6px #214d7440)}.setup-number{font-size:10px;font-weight:900;letter-spacing:1px;color:#8860b1}.setup-card.ready .setup-number{color:#147962}.setup-card h3{font-size:16px;color:#154775;margin:9px 0 6px}.setup-card p{font-size:12px;line-height:1.45;color:#5d7582;margin:0 0 13px}.setup-card button{border:1px solid #7caed8;border-radius:10px;padding:7px 10px;background:linear-gradient(#f9ffff,#b4e4ff);box-shadow:0 3px 0 #8bb9de;color:#22557a;font-size:11px;font-weight:900}.setup-card button:hover{filter:saturate(1.3);transform:translateY(-1px)}
@media(max-width:1100px){.setup-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.setup-panel{padding:16px}.setup-heading{align-items:flex-start;flex-direction:column}.setup-grid{grid-template-columns:1fr}.setup-card{min-height:150px}}

.storage-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:27px 31px;margin-bottom:25px;border:1px solid #b8d5f1;border-radius:24px;background:linear-gradient(120deg,#ddf5ff,#ebe3ff 57%,#ffe8cf);box-shadow:0 8px 0 #b5c9ef,0 20px 34px #31548b27}.storage-hero h2{margin:7px 0 8px;color:#174b83;font-size:28px;text-shadow:0 2px #fff,0 4px #a6c3e9}.storage-hero p{margin:0;max-width:620px;color:#58748c;font-size:13px;line-height:1.6}.storage-hero img{width:142px;height:142px;object-fit:contain;filter:drop-shadow(0 9px 8px #24558855)}
.storage-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-bottom:25px}.storage-stat{position:relative;min-height:150px;overflow:hidden;padding:22px;border:1px solid #b7d8ef;border-radius:19px;background:linear-gradient(140deg,#fff,#e3f5ff);box-shadow:0 6px 0 #b3d3e9,0 15px 25px #2b619a1c}.storage-stat:nth-child(2){background:linear-gradient(140deg,#fff,#eee2ff);border-color:#d6c4f1;box-shadow:0 6px 0 #d1bce9,0 15px 25px #653a9a1c}.storage-stat:nth-child(3){background:linear-gradient(140deg,#fff,#fff0d7);border-color:#f1d4af;box-shadow:0 6px 0 #eecaa2,0 15px 25px #9a663a1c}.storage-stat img{position:absolute;right:10px;top:10px;width:76px;height:76px;object-fit:contain;filter:drop-shadow(0 6px 5px #26568944)}.storage-stat span,.storage-stat strong{display:block;position:relative;z-index:1}.storage-stat span{max-width:calc(100% - 66px);color:#637c8c;font-size:12px;font-weight:800}.storage-stat strong{margin-top:37px;color:#174c78;font-size:27px;text-shadow:0 2px #fff,0 4px #b6d1e9}
.storage-backup{border-color:#c4d9ec;box-shadow:0 7px 0 #bfd5e9,0 18px 28px #2b619a1c}.storage-backup-body{padding:21px 24px 26px;color:#516f7e;font-size:13px;line-height:1.6}.storage-backup-body p{margin:0 0 17px}.storage-download{display:inline-flex;align-items:center;min-height:43px;text-decoration:none;background:linear-gradient(150deg,#20b3d1,#3b6ddd 65%,#6a43be);border-color:#386cba;box-shadow:0 5px 0 #394f9f,0 12px 20px #3c53a43b}.storage-download:hover{background:linear-gradient(150deg,#30c3e0,#4e7bea 65%,#7c55cf)}.storage-backup-body .storage-note{margin:20px 0 0;color:#78909c;font-size:11px}.storage-backup-body .storage-warning{padding:13px 15px;border:1px solid #e0a480;border-radius:12px;background:#fff0e4;color:#9b4a30;font-weight:850}
@media(max-width:760px){.storage-hero{padding:20px}.storage-hero img{width:95px;height:95px}.storage-stats{grid-template-columns:1fr}.storage-stat{min-height:120px}.storage-stat strong{margin-top:20px}}

.sales-panel{border-color:#c7dcef;box-shadow:0 5px 0 #c6d9ee,0 13px 24px #355f9a16}.sales-row-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:190px}.sales-row-actions .mini{white-space:nowrap}.sales-row-actions .sales-opportunity{border-color:#d7b1ed;background:linear-gradient(#fff,#f2ddff);color:#68449d;box-shadow:0 3px 0 #d4b5eb}.sales-row-actions .sales-opportunity:hover{background:linear-gradient(#fff,#e8cbff)}
