:root{font-family:Tahoma,Arial,sans-serif;color:#2b3d4f;background:#f5f0e8;font-size:14px;--navy:#2b3d4f;--gold:#d4b96c;--cream:#f5f0e8}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0}button,input,select{font:inherit}button,summary,.drop{touch-action:manipulation}button{border:1px solid #d9d9d5;border-radius:10px;background:#fff;color:var(--navy);padding:12px 17px;cursor:pointer;min-height:44px}button:hover{background:#f4f0e8}button:disabled{opacity:.5;cursor:wait}.primary{background:var(--navy);color:white;border-color:var(--navy);font-weight:bold}.primary:hover{background:#3e5367}header{height:108px;background:white;border-bottom:1px solid #e7dfcf;display:flex;align-items:center;justify-content:space-between;padding:12px max(5%,calc((100vw - 1180px)/2))}.brand img{display:block;object-fit:contain;max-width:100%;height:74px}.headerleft{display:flex;gap:10px;align-items:center}.local{font-size:11px;color:#737965;margin-left:16px}main{max-width:1140px;padding:32px 24px;margin:auto}.intro{text-align:center;margin:8px 0 28px}.eyebrow{color:#927b42;font-size:12px}h1{font-size:42px;line-height:1.4;margin:12px 0 14px;font-weight:700}h1 em{font-style:normal;color:#927b42}p{line-height:1.9;color:#727b82}.intro p{font-size:14px}.steps{display:flex;align-items:center;justify-content:center;gap:20px;margin:30px auto 40px}.steps span{display:flex;align-items:center;gap:10px;font-size:12px}.steps b{display:grid;place-items:center;background:#e9dfc9;border-radius:50%;width:28px;height:28px}.steps i{width:65px;height:1px;background:#d4c8b2}.panel{background:#fff;border:1px solid #e6dfd2;border-radius:20px;padding:28px;margin-bottom:20px}.sectionhead{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:23px}h2{font-size:19px;margin:0}.sectionhead>span{font-size:11px;color:#8c8e88}.types{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.type{position:relative;text-align:right;display:flex;align-items:center;gap:15px;min-height:112px;padding:20px;border:1.5px solid #e1e4e5;border-radius:13px}.type.active{background:#f6f1e4;border-color:#b99d50;box-shadow:0 0 0 1px #b99d50}.type.active:after{content:'✓';position:absolute;left:12px;top:9px;color:#927b42;font-weight:bold}.type strong{font-size:17px;display:block;margin-bottom:8px}.type small{color:#747c83;font-size:11px;display:block}.glyph{width:44px;height:48px;flex-shrink:0;display:grid;place-items:center}.glyph svg{width:44px;height:44px;stroke:var(--navy);fill:none;stroke-width:1.5}.type.active .glyph svg{stroke:#9b8040}summary{cursor:pointer;list-style:none;font-size:12px;padding:16px 0}summary span{float:left;color:#9b8040}summary::-webkit-details-marker{display:none}#moretypes{margin-top:8px}.smalltypes{grid-template-columns:repeat(4,1fr);padding-bottom:15px}.smalltypes .type{min-height:90px;padding:15px;gap:9px}.smalltypes strong{font-size:13px}.smalltypes .glyph{width:28px}.smalltypes svg{width:28px}.selection{background:#f2f4f5;border-radius:10px;display:flex;gap:12px;align-items:center;padding:16px;margin-top:15px}.selection b{font-size:13px}.selection p{font-size:11px;margin:6px 0 0}.selection .tag{margin-right:auto;white-space:nowrap}.check{font-size:17px;color:#4f6b5c}.tag{background:white;border:1px solid #d8dfe2;border-radius:16px;font-size:10px;padding:7px 12px}.advanced{border-top:1px solid #eee;margin-top:18px}.advanced summary{font-size:11px;color:#82888a;padding-bottom:0}.advanced p,.advanced small{font-size:11px;line-height:1.9}.advancedgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.advancedgrid label{font-size:11px}input:not([type=checkbox]):not([type=range]),select{width:100%;display:block;padding:12px;border:1px solid #d8dfe2;border-radius:8px;margin-top:8px;background:#fff;color:var(--navy)}input[type=range]{width:100%;accent-color:var(--navy)}.actions{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0}.actions button{font-size:11px}.drop{cursor:pointer;border:1.5px dashed #bcb8a8;border-radius:14px;background:#faf8f3;display:flex;flex-direction:column;align-items:center;gap:14px;padding:35px}.drop.drag{background:#ece4d3;border-color:#927b42}.uploadicon{font-size:30px;display:grid;place-items:center;width:55px;height:55px;border-radius:12px;background:#ede5d2;color:#8c743c}.drop b{font-size:18px}.drop span:not(.uploadicon){font-size:12px;color:#858a8b}.drop small{font-size:10px;color:#949795;direction:ltr;letter-spacing:2px}.auto{display:flex;justify-content:space-between;margin-top:18px;font-size:11px;color:#738078}.auto small{color:#8b9090}#status{text-align:center;font-size:12px;line-height:1.8;margin-top:18px}progress{width:100%;height:8px;accent-color:#bfa259;margin-top:16px}.batchbar{display:flex;align-items:center;justify-content:space-between;gap:15px;border-block:1px solid #eee;padding:15px 0;margin-bottom:22px}.batchbar button{font-size:11px}#stats{font-size:12px;color:#7a7f81;line-height:1.9}.card{border:1px solid #e1e4e6;border-radius:14px;margin-bottom:20px;overflow:hidden}.cardhead{padding:14px 18px;background:#faf9f6;display:flex;justify-content:space-between;align-items:center;gap:10px}.cardhead b{font-size:12px;overflow-wrap:anywhere}.quiet{background:none;border-color:transparent;font-size:11px;padding:7px 10px}.comparisons{display:grid;grid-template-columns:180px 1fr;gap:20px;padding:20px}.outputs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.outputs.single{grid-template-columns:minmax(0,1fr)}.imagebox{background:repeating-conic-gradient(#e8e9e8 0% 25%,#fafafa 0% 50%) 50%/18px 18px;border:1px solid #edf0f0;border-radius:8px;display:flex;align-items:center;justify-content:center;min-height:180px;overflow:hidden}.imagebox img{width:100%;height:230px;object-fit:contain}.original img{height:190px}.label{display:flex;align-items:center;justify-content:space-between;font-size:12px;font-weight:bold;margin-bottom:10px}.label small{font-weight:normal;font-size:10px;color:#8a8f92}.metrics{font-size:10px;color:#7d858c;direction:ltr;margin:9px 0}.resultactions{display:flex;gap:7px;flex-wrap:wrap}.resultactions button{font-size:11px;padding:9px 12px}.warning{font-size:11px;color:#866323;background:#faf4e7;border-radius:8px;padding:10px;line-height:1.8}.warning summary{padding:0;font-size:11px}.warning ul{padding-right:20px}.error{padding:15px;color:#963c36;font-size:12px}.downloadbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.checklabel{font-size:11px;display:flex;align-items:center;gap:6px}.footnote{font-size:10px}.under>details{border-bottom:1px solid #ddd5c5;padding:6px 14px}.under summary{font-size:12px}.under p{font-size:11px}.audit{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:11px;min-width:550px}td,th{padding:12px;text-align:right;border-bottom:1px solid #d9d5ce;line-height:1.8}a{color:#4b6276}.audit a{font-size:11px}footer{display:flex;justify-content:space-between;gap:12px;margin:30px 5px;color:#8b8d88;font-size:10px}dialog{border:1px solid #d8d6cc;border-radius:20px;padding:28px;max-width:min(850px,calc(100vw - 28px));width:750px;max-height:90dvh;overflow:auto;color:var(--navy)}dialog::backdrop{background:#182b3b99}dialog p,dialog li{font-size:12px;line-height:2}.close{float:left;font-size:22px;padding:0;width:40px}.editcompare{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:20px 0}.editcompare .imagebox img{height:280px}.editfields{display:grid;grid-template-columns:1fr 1fr;gap:15px}.editfields label{font-size:11px}.editfields select{margin-bottom:15px}.modalactions{display:flex;gap:10px;margin-top:20px}.editstatus{font-size:11px;padding:8px;color:#866323}button:focus-visible,summary:focus-visible,.drop:focus-visible{outline:3px solid #d4b96c;outline-offset:3px}@media(max-width:760px){header{height:88px;padding:8px 18px}.brand img{width:135px;height:auto}.local{display:none}.headerleft button{font-size:10px;padding:7px 10px}main{padding:24px 16px}.intro{margin:6px 0 20px}h1{font-size:32px}.steps{gap:9px;margin:23px 0}.steps i{width:20px}.steps span{font-size:10px;gap:6px}.panel{padding:20px}.type{padding:14px;min-height:130px;flex-direction:column;align-items:flex-start;gap:8px}.type strong{font-size:14px}.type small{font-size:10px;line-height:1.7}.types{gap:9px}.smalltypes{grid-template-columns:repeat(3,1fr)}.advancedgrid{grid-template-columns:1fr 1fr}.comparisons{grid-template-columns:115px 1fr;padding:15px;gap:12px}.outputs{grid-template-columns:1fr}.imagebox img{height:200px}.original img{height:150px}.selection{align-items:flex-start}.selection .tag{font-size:9px;padding:6px}.auto{gap:10px;line-height:1.7}.auto small{max-width:100px}.batchbar{align-items:flex-start}.downloadbar>.primary{width:100%}.sectionhead h2{font-size:17px}}@media(max-width:430px){.panel{padding:16px;border-radius:14px}.type{padding:13px 10px}.glyph,.glyph svg{width:32px;height:35px}.selection .tag{display:none}.comparisons{display:block}.original{display:flex;align-items:center;gap:12px;margin-bottom:18px;flex-wrap:wrap}.original .imagebox{width:75px;min-height:90px;order:-1}.original img{height:90px}.original .label{margin:0;display:block}.original .metrics{flex-basis:100%;margin:0}.outputs{grid-template-columns:1fr}.smalltypes .type{padding:10px}.editcompare{gap:10px}.editcompare .imagebox img{height:175px}.editfields{grid-template-columns:1fr}.modalactions{flex-wrap:wrap}dialog{padding:18px}.headerleft button{max-width:80px}footer{font-size:9px}}
/* Studio 3: compact, readable workspace */
@font-face{font-family:Tajawal;src:url('./fonts/tajawal-400.ttf') format('truetype');font-weight:400;font-display:swap}@font-face{font-family:Tajawal;src:url('./fonts/tajawal-500.ttf') format('truetype');font-weight:500;font-display:swap}@font-face{font-family:Tajawal;src:url('./fonts/tajawal-700.ttf') format('truetype');font-weight:700;font-display:swap}
:root{font-family:Tajawal,Arial,sans-serif;font-size:16px;background:#f6f7f9;color:#26384b}header{height:88px;padding:8px max(4%,calc((100vw - 1200px)/2));border-bottom:1px solid #e5e8ed}.brand img{width:150px;height:64px}.headerleft button{font-size:14px;border:0;background:#f2f4f7}.local{font-size:13px}main{max-width:1220px;padding:28px 24px}.intro{display:flex;align-items:center;justify-content:space-between;text-align:right;margin:0 0 26px;padding:0 3px}.eyebrow{font-size:11px;letter-spacing:2px;color:#7b8796}h1{font-size:30px;line-height:1.4;margin:7px 0 4px}.intro p{font-size:16px;margin:0;color:#6b7786}.privacy-badge{font-size:12px;line-height:1.9;text-align:left;color:#7c8793}.privacy-badge b{color:#486954;font-weight:500}.studio-layout{display:grid;grid-template-columns:355px minmax(0,1fr);gap:20px;align-items:start}.panel{border:1px solid #e1e5eb;box-shadow:0 3px 16px #26384b05;padding:23px;border-radius:16px;margin-bottom:20px}.sectionhead{margin-bottom:18px}h2,.sectionhead h2{font-size:20px;font-weight:700}.sectionhead>span{font-size:12px}.types{grid-template-columns:1fr;gap:9px}.type{min-height:76px;padding:13px 16px;gap:14px;border:1px solid #e1e6ed;border-radius:10px;flex-direction:row;align-items:center;background:#fff}.type.active{background:#edf2f8;border-color:#405c78;box-shadow:0 0 0 1px #405c78}.type.active:after{color:#405c78;top:15px}.type strong{font-size:18px;margin-bottom:4px;font-weight:500}.type small{font-size:13px;color:#708092}.glyph,.glyph svg{width:35px;height:35px}.type.active .glyph svg{stroke:#405c78}.smalltypes{grid-template-columns:1fr 1fr}.smalltypes .type{padding:10px;min-height:70px}.smalltypes strong{font-size:14px}.smalltypes .glyph{display:none}summary,#moretypes summary,.advanced summary{font-size:13px;line-height:1.7}.selection{padding:12px;background:#f7f8fa;gap:8px}.selection b{font-size:14px;font-weight:500}.selection p{font-size:12px;line-height:1.8}.selection .tag{display:none}.advancedgrid{grid-template-columns:1fr 1fr}.advancedgrid label,.advanced p,.advanced small{font-size:12px}.advanced summary{color:#637183}.actions button{font-size:12px;padding:9px}.uploadpanel{min-height:535px;display:flex;flex-direction:column}.drop{min-height:335px;justify-content:center;flex:1;border:2px dashed #cbd3dc;border-radius:12px;background:#f9fafc;transition:.15s}.drop:hover,.drop.drag{background:#f0f4f9;border-color:#8098af}.uploadicon{background:#eaf0f6;color:#405c78;border-radius:50%;width:65px;height:65px}.drop b{font-size:22px;font-weight:500}.drop span:not(.uploadicon){font-size:15px}.drop small{font-size:12px}.auto{font-size:13px;line-height:1.7;margin-top:17px}.auto small{font-size:12px}#status{font-size:14px;margin:16px 0 0}.batchbar{font-size:14px}#stats{font-size:14px}.batchbar button,.quiet,.resultactions button{font-size:13px}.cardhead b,.label{font-size:16px;font-weight:500}.label small,.metrics,.warning,.warning summary{font-size:12px}.footnote,.checklabel{font-size:13px}.under>details{border-color:#e0e5eb}.under summary,.under p{font-size:14px}.downloadbar .primary{font-size:16px}dialog,button,input,select{font-family:Tajawal,Arial,sans-serif}dialog p,dialog li{font-size:15px}.editfields label,.editstatus{font-size:14px}.primary{background:#2b3d4f;border-color:#2b3d4f}footer{font-size:12px}.comparisons{grid-template-columns:160px 1fr}.outputs.single .imagebox{max-height:280px}
@media(max-width:820px){.studio-layout{grid-template-columns:1fr}.studio-layout>.panel{margin-bottom:0}.uploadpanel{margin:0 0 20px!important;min-height:360px}.types{grid-template-columns:repeat(3,1fr)}.type{flex-direction:column;align-items:flex-start;min-height:112px;padding:14px 12px;gap:9px}.type strong{font-size:16px}.type small{font-size:12px}.smalltypes{grid-template-columns:repeat(3,1fr)}.drop{min-height:230px}.selection p{font-size:13px}.sectionhead h2{font-size:19px}.intro{margin-bottom:22px}.privacy-badge{display:none}.headerleft .local{display:none}.cardhead b{font-size:14px}}
@media(max-width:480px){header{height:76px;padding:7px 16px}.brand img{width:122px;height:auto}.headerleft button{font-size:12px;padding:7px;max-width:80px}.headerleft{gap:5px}main{padding:20px 12px}.intro{padding:0 5px}h1{font-size:27px}.intro p{font-size:15px}.panel{padding:17px}.type{padding:12px 9px;gap:7px}.type strong{font-size:15px}.type small{font-size:11px}.type.active:after{top:8px;left:8px}.glyph,.glyph svg{width:29px;height:29px}.sectionhead>span{font-size:11px}.auto{font-size:12px}.auto small{max-width:100px}.comparisons{display:block}.original{margin-bottom:15px}.outputs{grid-template-columns:1fr}.smalltypes .type{min-height:65px}.under{padding-top:5px}.under summary{font-size:13px}.downloadbar button{min-height:48px}.editcompare .imagebox img{height:170px}}
