
:root{--bg:#071426;--panel:#0d2035;--panel2:#132b45;--gold:#d9b67a;--text:#f4f6f8;--muted:#9eb0c4;--line:#23405f;--ok:#3ddc97;--danger:#ff6b6b;--r:18px}*{box-sizing:border-box}body{margin:0;background:radial-gradient(circle at 80% -10%,#173b62 0,transparent 35%),var(--bg);color:var(--text);font-family:"Tahoma","Arial",sans-serif;min-height:100vh}header{position:sticky;top:0;z-index:20;height:72px;background:rgba(7,20,38,.94);backdrop-filter:blur(12px);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:10px 16px}.brand{display:flex;align-items:center;gap:10px}.brand b{color:var(--gold);letter-spacing:1.4px}.brand small{display:block;color:var(--muted);font-size:10px;margin-top:3px}.logo{width:42px;height:42px;border:1px solid var(--gold);border-radius:13px;display:grid;place-items:center;color:var(--gold);font-weight:800}.icon,.ghost,.primary,.chip,.tile,nav button{border:0;cursor:pointer}.icon{background:var(--panel);color:var(--gold);width:42px;height:42px;border-radius:12px;font-size:20px}main{max-width:980px;margin:auto;padding:16px 14px 92px}.hero{background:linear-gradient(130deg,rgba(9,31,52,.96),rgba(19,43,69,.82)),url('assets/hero.png') center/cover;border:1px solid #2b4d70;border-radius:24px;padding:22px;min-height:205px;display:flex;flex-direction:column;justify-content:end;box-shadow:0 18px 45px #0005}.eyebrow{color:var(--gold);font-size:12px;letter-spacing:1px}.hero h1{margin:7px 0 5px;font-size:28px}.hero p,.muted{color:var(--muted);line-height:1.7}.actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.primary,.ghost{padding:11px 15px;border-radius:12px;font-weight:700}.primary{background:var(--gold);color:#091626}.ghost{background:#0c2035;color:var(--text);border:1px solid var(--line)}.section-title{display:flex;align-items:end;justify-content:space-between;margin:22px 2px 10px}.section-title h2{font-size:17px;margin:0}.section-title small{color:var(--muted)}.grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.tile{background:linear-gradient(145deg,var(--panel2),var(--panel));border:1px solid var(--line);border-radius:var(--r);padding:16px;text-align:right;color:var(--text);min-height:124px;box-shadow:0 8px 24px #0002}.tile .i{font-size:23px;color:var(--gold);margin-bottom:12px}.tile b{display:block;font-size:14px}.tile small{display:block;color:var(--muted);margin-top:7px;line-height:1.5}.card{background:linear-gradient(145deg,var(--panel2),var(--panel));border:1px solid var(--line);border-radius:var(--r);padding:16px;margin-bottom:10px}.card h3{margin:0 0 8px;font-size:16px}.metric{display:flex;justify-content:space-between;align-items:center}.metric strong{font-size:26px;color:var(--gold)}.bar{height:7px;background:#06111f;border-radius:9px;overflow:hidden;margin-top:9px}.bar i{display:block;height:100%;background:linear-gradient(90deg,var(--gold),#fff1c6);border-radius:9px}.screen-head{display:flex;align-items:center;gap:10px;margin-bottom:14px}.back{background:var(--panel);color:var(--gold);border:1px solid var(--line);border-radius:11px;width:40px;height:40px}.screen-head h1{font-size:20px;margin:0}.chat{min-height:55vh}.bubble{max-width:88%;padding:13px 14px;border-radius:16px;margin:10px 0;line-height:1.75;white-space:pre-wrap}.bubble.ai{background:var(--panel2);border:1px solid var(--line);margin-left:auto}.bubble.me{background:#d9b67a;color:#101b27;margin-right:auto}.composer{position:sticky;bottom:76px;background:rgba(7,20,38,.95);padding:9px 0;display:flex;gap:8px}.composer textarea{flex:1;resize:none;min-height:48px;max-height:120px;background:#0b1d31;border:1px solid var(--line);border-radius:14px;color:var(--text);padding:12px;font:inherit}.composer button{width:50px;border:0;border-radius:14px;background:var(--gold);font-size:20px}.quick{display:flex;gap:7px;overflow:auto;padding-bottom:6px}.chip{white-space:nowrap;background:#102a45;border:1px solid var(--line);color:var(--muted);padding:8px 11px;border-radius:999px}.exportbar{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}.exportbar button{background:#102a45;color:var(--text);border:1px solid var(--line);padding:9px 11px;border-radius:10px}.quiz-option{width:100%;text-align:right;margin:6px 0;padding:12px;background:#0c2035;color:var(--text);border:1px solid var(--line);border-radius:12px}.quiz-option:hover{border-color:var(--gold)}.ring{width:150px;height:150px;border-radius:50%;margin:15px auto;display:grid;place-items:center;background:conic-gradient(var(--gold) 0 72%,#142b43 72%)}.ring:after{content:"72%";width:120px;height:120px;border-radius:50%;background:var(--panel);display:grid;place-items:center;font-size:28px;font-weight:800;color:var(--gold)}.form label{display:block;color:var(--muted);font-size:12px;margin:11px 2px 5px}.form input,.form select{width:100%;padding:12px;border-radius:11px;border:1px solid var(--line);background:#0b1d31;color:var(--text)}nav{position:fixed;z-index:30;bottom:0;left:0;right:0;height:72px;background:rgba(6,17,31,.97);border-top:1px solid var(--line);display:flex;justify-content:center;padding-bottom:env(safe-area-inset-bottom)}nav button{width:min(20%,120px);background:transparent;color:#7890a9;font-size:18px;padding-top:9px}nav button span{display:block;font-size:10px;margin-top:5px}nav button.active{color:var(--gold)}#toast{position:fixed;z-index:99;top:82px;left:50%;transform:translateX(-50%) translateY(-20px);opacity:0;background:#102a45;border:1px solid var(--gold);padding:10px 14px;border-radius:12px;transition:.25s;pointer-events:none}#toast.show{opacity:1;transform:translateX(-50%) translateY(0)}body.light{--bg:#eef5fb;--panel:#fff;--panel2:#f7fbff;--text:#142236;--muted:#607286;--line:#d3e0ec}body.light header,body.light nav,body.light .composer{background:#f7fbfff2}.danger{color:var(--danger)}@media(min-width:700px){.grid{grid-template-columns:repeat(4,1fr)}.hero{min-height:280px}.hero h1{font-size:38px}}
.header-actions{display:flex;align-items:center;gap:8px}.install-btn{background:var(--gold);color:#091626;border:0;border-radius:11px;padding:10px 13px;font-weight:800;cursor:pointer}.install-btn[hidden]{display:none}

/* Chat mobile layout fixes */
.chat{padding-bottom:18px;overflow-anchor:auto}.composer{bottom:calc(72px + env(safe-area-inset-bottom));z-index:12;margin:0 -2px;padding:10px 2px 12px}.bubble{overflow-wrap:anywhere}.bubble.ai .exportbar{white-space:normal}main{padding-bottom:calc(104px + env(safe-area-inset-bottom))}@media(max-width:699px){.chat{min-height:calc(100dvh - 285px)}.bubble{max-width:92%;font-size:16px;line-height:1.65}.composer textarea{font-size:16px}.exportbar{display:grid;grid-template-columns:repeat(2,1fr)}nav{height:calc(72px + env(safe-area-inset-bottom))}}

/* CEO Dream simplified home */
.clean-hero{background:linear-gradient(145deg,#0b2036,#102b47);min-height:190px;box-shadow:none}.home-core{grid-template-columns:repeat(2,1fr)}nav button{width:min(25%,150px)}@media(max-width:420px){.clean-hero h1{font-size:24px}.home-core{grid-template-columns:1fr 1fr}}
.form select{width:100%;box-sizing:border-box;background:#091b2d;color:var(--text);border:1px solid var(--line);border-radius:12px;padding:12px;margin-top:6px}.form textarea{width:100%;box-sizing:border-box;min-height:90px;background:#091b2d;color:var(--text);border:1px solid var(--line);border-radius:12px;padding:12px}
/* v6.7 knowledge folders and daily task bell */
.kb-folder-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:20px 0}.kb-folder{min-height:105px;text-align:right;background:#142b43;border:1px solid #46607c;border-radius:16px;padding:13px;color:#f4f5f8;display:flex;flex-direction:column;gap:5px}.kb-folder span{font-size:24px}.kb-folder small,.kb-entry small,.kb-task small{color:#aebfd1}.kb-folder.selected{border-color:#e9c78e;background:#25405d}.kb-entry{display:flex;flex-direction:column;gap:8px;width:100%;text-align:right;background:#10273f;color:white;border:1px solid #39536c;border-radius:12px;margin:9px 0;padding:16px;line-height:1.7}.kb-legacy{margin-top:22px;padding:14px;border-top:1px solid #47627e}.kb-article{line-height:2;font-size:1.09rem}.kb-article p{margin:14px 0 30px;white-space:pre-line}.kb-article h2{color:#e6c58b}.kb-bell{position:relative;min-width:50px}.kb-count{position:absolute;top:0;left:0;background:#e4b978;color:#13243a;border-radius:100px;font-size:12px;min-width:18px;padding:2px}.kb-task{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:16px 0;border-bottom:1px solid #3b536b}.kb-task button{align-self:flex-end}@media(max-width:390px){.kb-folder-grid{grid-template-columns:1fr}}

/* v6.8: single-level library navigation */
.kb-library{min-height:65vh}.kb-folder-grid{margin:16px 0}.kb-folder{min-height:95px;align-items:center;justify-content:center;text-align:center;background:#19334e}.kb-folder b{font-size:1.1rem}.kb-back{margin:10px 0 18px;background:#e7c68d;color:#10243b;border-radius:12px;padding:12px 18px}.kb-library input{width:100%;box-sizing:border-box}

/* v6.9: distraction-free article reader */
.reader-page{max-width:850px;margin:0 auto;padding:0 12px 110px;direction:rtl;color:#eaf0f8}.reader-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 0;color:#aebfd1;font-size:.8rem}.reader-toolbar button{background:#20364d;color:#f2d5a3;border:1px solid #39516a;border-radius:10px;padding:10px 12px;font-size:.9rem}.reader-cover{background:linear-gradient(140deg,#1a334d,#11243a);border:1px solid #38516c;border-radius:17px;padding:26px 20px;margin:12px 0 18px}.reader-eyebrow{font-size:.85rem;color:#e6c58b}.reader-cover h1{font-size:clamp(1.5rem,5vw,2.1rem);line-height:1.5;margin:12px 0;font-weight:750}.reader-cover p{font-size:.85rem;color:#aebfd1;margin:0}.reader-toc{border:1px solid #39516a;border-radius:14px;background:#152c43;margin:0 0 20px;padding:12px 15px}.reader-toc summary{cursor:pointer;font-size:1rem;font-weight:700;color:#f0d39c;padding:5px}.reader-toc a{display:block;padding:12px 8px;color:#e6ecf4;text-decoration:none;border-top:1px solid #31465c}.reader-content{background:#11263c;border:1px solid #354d65;border-radius:17px;padding:6px 19px}.reader-section{padding:23px 0 28px;scroll-margin-top:110px}.reader-section+.reader-section{border-top:1px solid #40546a}.reader-section h2{font-size:1.16rem;line-height:1.5;margin:0 0 16px;color:#f1d3a0;display:flex;gap:12px;align-items:center}.reader-num{font-size:.8rem;border:1px solid #826d4c;padding:4px 8px;border-radius:8px}.reader-text{white-space:pre-line;font-size:1rem;line-height:1.95;color:#e4eaf1;overflow-wrap:anywhere}.reader-large .reader-text{font-size:1.2rem}.reader-footer{margin:20px 0;display:flex;flex-wrap:wrap;gap:10px}.reader-footer p{width:100%;color:#aebfd1;font-size:.8rem;line-height:1.6}.reader-footer button{border-radius:10px;padding:12px 15px;background:#e5c68e;color:#13263c;font-weight:700}.reader-footer button+button{background:#1b354e;color:#eaf0f8;border:1px solid #52677d}@media(min-width:700px){.reader-cover{padding:36px}.reader-content{padding:12px 35px}.reader-text{font-size:1.06rem}}
/* Engineering Brain: dedicated image-like navigation, responsive articles */
.eb-wrap{max-width:1100px;margin:auto;padding:8px 8px 90px;direction:rtl}.eb-intro{background:linear-gradient(125deg,#123551,#0b1d31);border:1px solid #47617a;border-radius:22px;padding:23px;margin:8px 0 20px}.eb-intro small,.eb-hero small{color:#dfc18a;letter-spacing:.06em}.eb-intro h1,.eb-section-hero h1{font-size:clamp(1.5rem,5vw,2.15rem);margin:10px 0}.eb-intro p,.eb-hero p,.eb-section-hero p{color:#b9c9d9;line-height:1.8}.eb-intro input{width:100%;box-sizing:border-box;padding:15px;border-radius:13px;border:1px solid #5a7790;background:#0c2136;color:#fff;font-size:16px}.eb-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin:20px 0}.eb-tile{min-width:0;min-height:170px;position:relative;display:flex;flex-direction:column;align-items:flex-start;text-align:right;gap:9px;padding:16px;border-radius:18px;background:linear-gradient(150deg,#1b3b57,#10263c);border:1px solid #3d5872;color:#f2f5fa;cursor:pointer}.eb-tile-art{display:grid;place-items:center;width:100%;height:80px;background:radial-gradient(ellipse at center,#3b6781,#162e48 72%);border-radius:12px;color:#e7c78c;font-size:40px}.eb-tile strong{font-size:1rem;line-height:1.4}.eb-tile small{color:#afc1d0;line-height:1.5}.eb-arrow{position:absolute;bottom:14px;left:14px;color:#e7c78c}.eb-back{background:#203b53;border:1px solid #54718a;color:#f0d19b;border-radius:11px;padding:11px 16px;margin:8px 0 17px}.eb-section-hero,.eb-hero{overflow:hidden;background:#122a42;border:1px solid #385571;border-radius:19px;padding:0 0 20px;margin-bottom:22px}.eb-section-hero h1,.eb-section-hero p,.eb-hero h1,.eb-hero p,.eb-hero small{display:block;margin:12px 22px}.eb-diagram{display:block;width:100%;height:auto;max-height:310px}.eb-article{max-width:850px}.eb-hero h1{font-size:clamp(1.65rem,5vw,2.3rem)}.eb-content{display:flex;flex-direction:column;gap:16px}.eb-panel{background:#12283f;border:1px solid #36516b;border-radius:16px;padding:19px 20px}.eb-panel h2{color:#efd19c;font-size:1.22rem;line-height:1.6;margin:0 0 12px}.eb-panel p{line-height:2;font-size:1rem;white-space:pre-line;margin:0 0 10px}.eb-panel a{color:#f0d59e}.eb-muted{font-size:.85rem!important;color:#aec1d3}.eb-video-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px}.eb-video{min-height:145px;display:flex;flex-direction:column;gap:10px;background:#203c56;border:1px solid #4b6983;border-radius:13px;padding:15px;text-decoration:none;color:#fff!important}.eb-play{font-size:24px;color:#e9c88c}.eb-video small{color:#bbcede}.eb-panel textarea{box-sizing:border-box;width:100%;min-height:160px;padding:14px;border:1px solid #5c758a;border-radius:11px;background:#0c2033;color:#fff;font-size:16px;line-height:1.8}.eb-actions{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.eb-actions button{padding:12px 15px;border-radius:11px}.eb-search-results{background:#152f48;border:1px solid #56708b;border-radius:12px;margin-top:7px;max-height:360px;overflow:auto}.eb-search-results button{display:block;width:100%;background:none;border:0;border-bottom:1px solid #40556c;color:#fff;text-align:right;padding:13px}.eb-search-results small{display:block;color:#bdcddd}@media(min-width:700px){.eb-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.eb-tile{min-height:200px}.eb-tile-art{height:108px}.eb-intro{padding:34px}}

.eb-panel input[type=number]{display:block;width:100%;box-sizing:border-box;margin:5px 0 15px;padding:12px;background:#0b2135;color:#fff;border:1px solid #607b93;border-radius:10px;font-size:16px}.eb-panel label{display:block;margin-top:10px}.eb-panel [role=status]{color:#f0d19b;font-weight:700}

/* General PNG engineering illustrations; responsive and zoomable. */
.eb-tile-photo{width:100%;height:112px;object-fit:cover;border-radius:12px;background:#0b2034}.eb-hero-photo{display:block;width:100%;height:auto;max-height:420px;object-fit:contain;cursor:zoom-in;background:#091b2c}.eb-image-dialog{width:min(96vw,1200px);max-height:94vh;padding:10px;border:1px solid #d4b77e;border-radius:14px;background:#0c2135}.eb-image-dialog::backdrop{background:#000d}.eb-image-dialog img{display:block;max-width:100%;max-height:80vh;object-fit:contain}.eb-image-dialog button{background:#e4c58c;color:#142438;border:0;padding:10px 16px;border-radius:8px;cursor:pointer}.eb-tile:focus-visible,.eb-back:focus-visible{outline:3px solid #f5cf82;outline-offset:3px}@media(min-width:700px){.eb-tile-photo{height:145px}}

/* v18 compact photographic library */
.eb-wrap{padding:6px 12px 120px}.eb-intro{padding:17px;margin:8px 0 15px}.eb-intro h1{font-size:1.45rem}.eb-intro p{font-size:.91rem;line-height:1.6}.eb-grid{gap:11px;margin:13px 0}.eb-tile{padding:0 0 13px;min-height:0;overflow:hidden;gap:5px;border-radius:16px}.eb-tile strong{padding:4px 12px 0;font-size:.94rem}.eb-tile small{padding:0 12px 9px;font-size:.76rem}.eb-tile-photo{height:118px;border-radius:0;object-fit:cover}.eb-arrow{bottom:9px;left:10px}.eb-photo-wrap{width:100%;position:relative;overflow:hidden}.eb-photo-error-label{display:none}.eb-photo-error img{display:none}.eb-photo-error .eb-photo-error-label{display:grid;place-items:center;height:115px;color:#d7e0e9;background:#1a354d;font-size:.82rem}.eb-photo-pending{display:grid;place-items:center;text-align:center;background:#1a354d;color:#cbd6e0;width:100%;min-height:115px;padding:14px;font-size:.81rem}.eb-hero .eb-photo-pending,.eb-section-hero .eb-photo-pending{min-height:165px}.eb-hero-photo{height:230px;max-height:260px;object-fit:cover}.eb-section-hero h1,.eb-hero h1{font-size:1.5rem;margin:12px 15px}.eb-section-hero p,.eb-hero p{font-size:.93rem;line-height:1.7;margin:10px 15px}.eb-panel{padding:16px}.eb-panel p{font-size:.95rem;line-height:1.85}.eb-panel h2{font-size:1.12rem}@media(min-width:700px){.eb-tile-photo{height:155px}}
/* Engineering Brain: mobile layout audit — subject-specific imagery and safe navigation */
.eb-wrap{padding:8px 8px calc(145px + env(safe-area-inset-bottom));max-width:1050px}
.eb-grid{gap:10px;margin:12px 0}
.eb-tile{padding:0 0 12px;min-height:0;gap:4px;border-radius:14px}
.eb-tile strong{font-size:.88rem;line-height:1.35;padding:6px 11px 0;overflow-wrap:anywhere}
.eb-tile small{font-size:.75rem;line-height:1.5;padding:0 11px 15px}
.eb-tile-photo{height:110px;object-fit:cover}
.eb-photo-compact{height:64px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#203d56,#142b40);color:#d9bc88;font-size:28px}
.eb-photo-error-label{display:none}
.eb-photo-error .eb-photo-error-label{display:flex;height:64px;align-items:center;justify-content:center;font-size:.8rem}
.eb-photo-error img{display:none}
.eb-section-hero,.eb-hero{padding-bottom:12px;margin-bottom:12px}
.eb-section-hero h1,.eb-hero h1{font-size:1.32rem;margin:12px}
.eb-section-hero p,.eb-hero p{font-size:.89rem;line-height:1.65;margin:9px 12px}
.eb-panel{padding:13px 14px;margin-bottom:0}
.eb-panel h2{font-size:1.04rem;line-height:1.5}
.eb-panel p{font-size:.91rem;line-height:1.75}
.eb-content{gap:12px}
.eb-hero-photo{max-height:260px;object-fit:contain}
.eb-pump-overview{padding:12px 2px}
.eb-pump-overview h2{font-size:1.07rem;color:#eed09a;margin:15px 0 9px}
.eb-pump-overview p{font-size:.92rem;line-height:1.7;color:#c6d5e3}
.eb-type-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.eb-type-grid button{display:flex;flex-direction:column;gap:6px;text-align:right;background:#19334b;color:#fff;border:1px solid #456078;border-radius:12px;padding:13px;min-width:0}
.eb-type-grid strong{font-size:.84rem;overflow-wrap:anywhere}
.eb-type-grid small{color:#b9cbd9;font-size:.75rem}
nav{height:calc(74px + env(safe-area-inset-bottom));align-items:flex-start}
main{padding-bottom:calc(140px + env(safe-area-inset-bottom))}
@media(min-width:700px){.eb-photo-compact{height:94px}.eb-tile-photo{height:150px}}

/* v20: image audit: no empty blocks, no unrelated fallback photo, compact mobile cards */
.eb-wrap{padding:8px 12px calc(170px + env(safe-area-inset-bottom))!important}
.eb-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.eb-tile{min-height:120px!important;padding:0 0 14px!important;gap:5px!important;justify-content:flex-start}
.eb-tile strong{font-size:.91rem!important;line-height:1.45;padding:12px 12px 0!important}
.eb-tile small{font-size:.74rem!important;line-height:1.5;padding:0 12px 18px!important}
.eb-tile:has(.eb-photo-wrap) strong{padding-top:7px!important}
.eb-text-label{height:6px;width:100%;font-size:0;background:linear-gradient(90deg,#d5b678,#294c68);overflow:hidden}
.eb-photo-wrap:empty{display:none}
.eb-tile-photo{height:120px!important;object-fit:cover}
.eb-section-hero,.eb-hero{margin-bottom:12px!important;padding-bottom:10px!important}
.eb-section-hero h1,.eb-hero h1{font-size:1.28rem!important;line-height:1.4}
.eb-section-hero p,.eb-hero p{font-size:.88rem!important;line-height:1.65}
.eb-hero-photo{height:auto!important;max-height:250px;object-fit:contain!important}
.eb-pump-overview{padding:5px 0!important}
.eb-type-grid button{min-height:85px}
.eb-panel{padding:14px!important}
.eb-panel p{font-size:.93rem!important;line-height:1.85!important}
main{padding-bottom:calc(155px + env(safe-area-inset-bottom))!important}
nav{height:calc(72px + env(safe-area-inset-bottom))!important}
@media(min-width:700px){.eb-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* v21: photos are subject-specific; compact mobile presentation */
.eb-photo-error-label{display:none;padding:14px;font-size:12px;color:#efd19c;text-decoration:underline;background:#17324b}
.eb-photo-error .eb-photo-error-label{display:block;height:auto;min-height:0}
.eb-photo-error img{display:none}
.eb-tile:has(.eb-photo-error) .eb-photo-error-label{font-size:11px}
.eb-tile .eb-photo-wrap{margin:0}
.eb-tile strong{font-size:14px!important;line-height:1.35!important}
.eb-tile small{font-size:12px!important;line-height:1.45!important}
.eb-hero h1{font-size:clamp(1.35rem,4vw,1.9rem)!important}
.eb-panel p{font-size:15px!important;line-height:1.85!important}
.eb-wrap{padding-bottom:calc(185px + env(safe-area-inset-bottom))!important}

/* v22: user-selected offline photos */
.eb-tile-shell{position:relative;min-width:0}.eb-tile-shell>.eb-tile{width:100%;height:100%;padding-bottom:42px!important}.eb-tile-shell>.eb-photo-download{position:absolute;bottom:7px;left:9px;z-index:2}.eb-photo-download{border:1px solid #d4b16d;background:#0d2944;color:#ffe4ad;border-radius:9px;padding:7px 12px;font-size:12px;font-weight:700;cursor:pointer;min-height:33px}.eb-photo-wrap{position:relative;overflow:hidden}.eb-photo-wrap>.eb-photo-download{position:absolute;bottom:8px;left:8px;z-index:2}.eb-photo-empty{display:block;padding:20px 8px;text-align:center;color:#d7c397;font-size:13px}.eb-photo-dialog{max-width:min(92vw,450px);border:1px solid #d4b16d;border-radius:16px;padding:22px;background:#0b2037;color:#fff;direction:rtl}.eb-photo-dialog::backdrop{background:#000a}.eb-photo-dialog h2{font-size:19px}.eb-photo-dialog p{line-height:1.7}.eb-photo-actions{display:grid;gap:12px}.eb-photo-actions a,.eb-photo-actions button{background:#173b5a;color:#fff;border:1px solid #bba26e;border-radius:9px;padding:12px;text-align:center;font-size:14px;text-decoration:none}.eb-photo-wrap.eb-photo-error img{display:none}.eb-photo-wrap.eb-photo-error:after{content:'الصورة الخارجية غير متاحة — اضغط ↓ لاختيار صورة من الهاتف';display:block;padding:15px;font-size:12px;color:#cba968}
