@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&display=swap');
:root{--ink:#203b38;--muted:#667974;--teal:#147c70;--line:#dce4de;--bg:#f7f8f4;--white:#fff;--mint:#e8f1e9}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--bg);font:14px 'IBM Plex Sans Arabic',Arial,sans-serif}button,input,select{font:inherit}button{cursor:pointer}button,a,input,select{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,.canvas-host:focus-visible{outline:3px solid #1b9a82;outline-offset:3px}button{color:inherit}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}.hidden{display:none!important}.top{height:88px;background:#fff;border-bottom:1px solid var(--line);padding:0 4%;display:flex;justify-content:space-between;align-items:center;gap:16px}.brand{display:flex;gap:12px;align-items:center;font-size:18px;font-weight:600}.brand small{display:block;color:var(--muted);font-size:11px;font-weight:400;margin-top:3px}.brand-mark{display:grid;place-items:center;background:#184b43;color:white;border-radius:14px;width:43px;height:43px;font-size:28px}.header-actions{display:flex;gap:9px;align-items:center}.version{font-size:11px;color:var(--muted);margin-left:15px}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#fff;border:1px solid var(--line);padding:11px 17px;border-radius:9px;min-height:43px;font-size:12px;font-weight:500;white-space:nowrap;transition:.2s}.button:hover{background:#edf3ed;transform:translateY(-1px)}.button.dark{background:#204a41;color:#fff;border-color:#204a41}.button.dark:hover{background:#126b59}.button.full{width:100%}#savedCount{font-size:10px;background:#ffffff29;min-width:19px;border-radius:5px;padding:2px 4px}main{max-width:1580px;margin:auto;padding:0 4%}.intro{padding:34px 0 27px;display:flex;justify-content:space-between;gap:25px;align-items:center}.eyebrow{font-size:11px;color:var(--teal);font-weight:500;letter-spacing:.2px;margin-bottom:7px}h1{font-size:31px;font-weight:600;letter-spacing:-.8px;line-height:1.6}h1 span{color:#849389}.intro p{font-size:12px;color:var(--muted);margin-top:6px}.study-note{display:flex;gap:10px;align-items:flex-start;max-width:290px;padding:14px 18px;border:1px solid var(--line);border-radius:10px;background:#f1f4ed}.note-dot{width:7px;height:7px;background:#c09649;border-radius:50%;margin-top:7px;flex-shrink:0}.study-note strong{font-size:11px;font-weight:500;display:block}.study-note small{font-size:10px;color:var(--muted);display:block;line-height:1.9;margin-top:3px}.lab-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:22px;align-items:start}.configuration{background:#fff;border:1px solid var(--line);padding:20px;border-radius:14px}.step-label{display:flex;gap:9px;align-items:center;margin-bottom:14px}.step-label span{font-size:10px;color:#8a9891;border:1px solid var(--line);width:23px;height:23px;display:grid;place-items:center;border-radius:5px;direction:ltr}.step-label h2{font-size:14px;font-weight:600}.type-list{display:grid;gap:9px;margin-bottom:24px}.type-card{display:flex;align-items:center;width:100%;gap:12px;padding:9px;border:1px solid #e4e9e3;border-radius:10px;background:white;text-align:right;position:relative;overflow:hidden;transition:.2s}.type-card:hover{border-color:#8fb9a5}.type-card.active{border-color:#348971;background:#f1f7f0;box-shadow:0 0 0 1px #34897115}.type-card img{width:57px;height:74px;object-fit:cover;border-radius:6px;object-position:50% 46%;flex-shrink:0}.type-card strong{font-size:12px;font-weight:600;display:block}.type-card small{font-size:10px;color:var(--muted);display:block;line-height:1.8;margin-top:3px}.type-card em{font-size:9px;color:#8a9890;font-style:normal;display:block;margin-top:3px}.type-card>b{position:absolute;left:9px;top:8px;font-size:9px;color:#93a096;font-weight:400}.styles{display:grid;gap:7px}.style-card{display:flex;gap:10px;align-items:center;padding:12px 10px;text-align:right;background:#fff;border:1px solid var(--line);border-radius:8px;position:relative}.style-card.active{background:#f1f7f0;border-color:#348971}.style-card strong{font-size:12px;display:block;font-weight:500}.style-card small{font-size:10px;color:var(--muted);display:block;margin-top:3px}.style-card b{margin-right:auto;font-size:11px;font-weight:400;color:var(--muted)}.swatch{width:29px;height:29px;border-radius:50%;border:3px solid white;box-shadow:0 0 0 1px #dbe3dc;flex-shrink:0}.swatch.real{background:linear-gradient(135deg,#82af93,#f5f3e9 50%,#2f493f)}.swatch.clay{background:linear-gradient(135deg,#d1c6ad,#f7f2e6)}.swatch.tech{background:linear-gradient(135deg,#123a41,#2fa491)}.config-bottom{border-top:1px solid var(--line);margin-top:22px;padding-top:18px}.config-bottom p{font-size:10px;color:var(--muted);line-height:1.9;margin-top:12px}.viewer-column{min-width:0}.viewer-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;gap:10px}.view-tabs{background:#e9eee7;padding:4px;border-radius:9px;display:flex;gap:2px}.view-tabs button{border:0;background:none;padding:8px 15px;font-size:11px;color:var(--muted);border-radius:6px}.view-tabs button.active{background:white;color:var(--ink);box-shadow:0 2px 5px #203b3808}.live-badge{font-size:10px;color:var(--muted);display:flex;gap:6px;align-items:center}.live-badge i{width:5px;height:5px;background:#3c9575;border-radius:50%}.stage{height:500px;border-radius:14px;position:relative;overflow:hidden;border:1px solid #dbe4d8;background:#eaf0e5;isolation:isolate}.canvas-host{position:absolute;inset:0;touch-action:none;outline-offset:-4px}.canvas-host canvas{display:block;width:100%;height:100%}.stage-title{position:absolute;right:24px;top:23px;pointer-events:none;z-index:2}.stage-title>span{font-size:11px;letter-spacing:1px;color:#7b8d7d;direction:ltr;display:inline-block}.stage-title h2{font-size:20px;font-weight:500;margin:4px 0}.stage-title p{font-size:10px;color:var(--muted)}.stage-badge{position:absolute;left:20px;top:22px;font-size:9px;color:#687c6b;background:#ffffff80;border:1px solid #ffffffb0;border-radius:6px;padding:5px 9px;pointer-events:none}.stage-tools{position:absolute;left:17px;top:82px;display:grid;gap:5px}.stage-tools button{width:34px;height:34px;border:1px solid #dce4d9;background:#ffffffde;backdrop-filter:blur(10px);border-radius:8px;font-size:11px;display:grid;place-items:center;box-shadow:0 3px 10px #23423606}.stage-tools button:first-child,.stage-tools button:nth-child(2){font-size:20px}.stage-tools button:hover{background:#fff;border-color:#6f9c85}.stage-foot{position:absolute;bottom:0;right:0;left:0;display:flex;justify-content:space-between;padding:13px 20px;font-size:9px;color:#728473;gap:10px;border-top:1px solid #d7e2d28a;background:#eef3e6b0;backdrop-filter:blur(8px);pointer-events:none}.orientation{position:absolute;bottom:60px;left:30px;font:9px Arial;color:#8a9b8a;width:30px;height:35px;pointer-events:none}.orientation i{display:block;width:1px;height:25px;background:#93ab95;margin-right:14px;transform:rotate(-15deg)}.orientation i:after{content:'';position:absolute;width:25px;height:1px;background:#93ab95;bottom:0;left:0;transform:rotate(-20deg)}.orientation b{position:absolute;bottom:0;left:-4px;font-weight:400}.orientation span{position:absolute;right:14px;top:-10px}.loading{position:absolute;inset:0;display:grid;place-items:center;background:#edf2e9;font-size:13px;color:var(--muted)}.stage.technical{border-color:#1f4145}.technical .stage-title h2{color:#d9eee5}.technical .stage-title span,.technical .stage-title p{color:#88aaa5}.technical .stage-badge{background:#193b3f;border-color:#31595d;color:#9bc4b9}.technical .stage-foot{color:#93b5ae;background:#152d34b0;border-color:#335051}.controls{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;padding:15px 2px;border-bottom:1px solid var(--line)}.control-group{display:flex;gap:15px;align-items:center;flex-wrap:wrap}.toggle{font-size:11px;display:flex;gap:5px;align-items:center;color:var(--muted);cursor:pointer}.toggle input{accent-color:var(--teal);width:13px;height:13px}.range-control{display:flex;align-items:center;gap:6px;font-size:10px;color:var(--muted)}select{background:white;border:1px solid var(--line);border-radius:5px;font-size:10px;padding:4px;color:var(--ink)}.text-button{font-size:11px;color:var(--teal);border:0;background:none;padding:5px}.design-description{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:22px 0}.design-description h3{font-size:16px;font-weight:500;margin-bottom:7px}.design-description p{font-size:11px;line-height:1.9;color:var(--muted);max-width:540px}.view-guide{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.view-guide article{padding:17px;background:#fff;border:1px solid var(--line);border-radius:10px}.view-guide span{font-size:9px;color:#85968c}.view-guide h3{font-size:12px;font-weight:500;margin:6px 0}.view-guide p{font-size:10px;color:var(--muted);line-height:1.9}.footer{margin:30px 0 22px;padding-top:17px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:20px;color:#839189;font-size:10px}.comparison{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.compare-card{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff}.compare-stage{height:365px;position:relative;background:#edf2e8}.compare-stage .canvas-host{position:absolute;inset:0}.compare-label{position:absolute;top:15px;right:13px;background:#ffffffcc;border:1px solid #ffffff77;padding:4px 8px;font-size:10px;border-radius:5px;pointer-events:none}.compare-info{padding:13px}.compare-info h3{font-size:13px;margin-bottom:5px}.compare-info p{font-size:10px;color:var(--muted);line-height:1.8;min-height:38px}.compare-info .button{width:100%;margin-top:12px;min-height:35px;padding:7px;font-size:11px}.comparison-note{grid-column:1/-1;font-size:11px;color:var(--muted);padding:5px}.toast{position:fixed;bottom:22px;left:50%;transform:translate(-50%,15px);padding:12px 20px;border-radius:9px;background:#204a41;color:white;font-size:12px;box-shadow:0 5px 25px #0002;opacity:0;pointer-events:none;transition:.2s;z-index:5000;max-width:90%;text-align:center}.toast.show{opacity:1;transform:translate(-50%,0)}dialog{border:1px solid var(--line);border-radius:15px;padding:0;max-width:850px;width:calc(100% - 30px);max-height:92dvh;color:var(--ink);background:#fff}dialog::backdrop{background:#14373066;backdrop-filter:blur(5px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;padding:18px 24px;border-bottom:1px solid var(--line)}.dialog-head h2{font-size:17px;font-weight:500}.dialog-head button{border:1px solid var(--line);background:white;border-radius:6px;width:30px;height:30px;font-size:23px;color:var(--muted)}.reference-body{display:grid;grid-template-columns:1fr 1fr;gap:25px;padding:24px;overflow:auto;max-height:78dvh}.reference-body>img{max-height:65dvh;width:100%;object-fit:contain;background:#f1f4ef;border-radius:8px}.reference-body>div{padding:20px 0}.reference-body h3{font-size:20px;font-weight:500;line-height:1.8}.reference-body p{font-size:13px;color:var(--muted);line-height:2;margin-top:17px}.choices-list{padding:22px;max-height:65dvh;overflow:auto}.choice{border:1px solid var(--line);border-radius:10px;margin-bottom:10px;padding:15px;display:flex;align-items:center;justify-content:space-between;gap:15px}.choice strong{font-size:14px;font-weight:500;display:block}.choice small{font-size:11px;line-height:1.9;color:var(--muted);display:block;margin-top:4px}.choice>div:last-child{display:flex;gap:7px}.choice button{font-size:11px;background:#f1f5ef;border:0;padding:7px 12px;border-radius:6px}.dialog-foot{display:flex;justify-content:space-between;align-items:center;padding:15px 22px;border-top:1px solid var(--line);font-size:11px;color:var(--muted)}.empty{padding:30px;text-align:center;color:var(--muted);line-height:2}
@media(min-width:1500px){.stage{height:580px}.configuration{padding:23px}.type-card img{height:84px}}@media(max-width:1100px){main{padding:0 24px}.top{padding:0 24px}.lab-layout{grid-template-columns:235px minmax(0,1fr);gap:16px}.configuration{padding:15px}.type-card{padding:8px;gap:8px}.type-card img{width:47px;height:68px}.type-card strong{font-size:11px}.intro h1{font-size:27px}.study-note{max-width:240px;padding:11px}.stage{height:475px}.design-description{align-items:flex-start}.design-description .button{padding:10px}.live-badge{display:none}.view-tabs button{padding:8px 11px}.compare-stage{height:280px}.comparison{gap:7px}.compare-info{padding:10px}.view-guide{gap:8px}.view-guide article{padding:13px}.stage-foot span:last-child{display:none}.version{display:none}}
@media(max-width:760px){.top{height:72px;padding:0 16px}.brand{font-size:15px;gap:8px}.brand small{font-size:9px}.brand-mark{width:35px;height:35px;border-radius:10px;font-size:23px}.header-actions{gap:6px}.header-actions .button{font-size:10px;min-height:35px;padding:7px 9px}.header-actions .button:first-of-type{font-size:0}.header-actions .button:first-of-type:before{content:'◫ مقارنة';font-size:11px}main{padding:0 15px}.intro{padding:24px 0 20px;display:block}.intro h1{font-size:27px}.intro p{font-size:11px;line-height:1.9;max-width:360px}.study-note{margin-top:15px;max-width:none;padding:10px 12px}.study-note strong{font-size:10px}.study-note small{font-size:9px}.lab-layout{display:flex;flex-direction:column;gap:18px}.configuration{width:100%;padding:14px;border-radius:12px}.step-label{margin-bottom:10px}.step-label h2{font-size:12px}.step-label span{width:20px;height:20px;font-size:9px}.type-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-bottom:18px}.type-card{display:flex;flex-direction:column;padding:7px;gap:6px;align-items:stretch;text-align:center}.type-card img{width:100%;height:72px;object-position:50% 45%}.type-card strong{font-size:10px}.type-card small{display:none}.type-card em{font-size:8px;margin:2px 0 0}.type-card>b{display:none}.styles{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.style-card{padding:9px 4px;justify-content:center;flex-wrap:wrap;gap:5px;text-align:center}.style-card strong{font-size:9px;white-space:nowrap}.style-card small,.style-card b{display:none}.swatch{width:20px;height:20px;border-width:2px}.config-bottom{display:none}.viewer-column{width:100%}.viewer-toolbar{margin-bottom:10px}.view-tabs{width:100%}.view-tabs button{flex:1;font-size:11px;padding:9px 6px}.stage{height:440px;border-radius:12px}.stage-title{top:19px;right:16px}.stage-title h2{font-size:17px}.stage-title p{font-size:9px}.stage-title>span{font-size:10px}.stage-badge{font-size:8px;left:12px;top:20px;padding:5px 6px}.stage-tools{left:12px;top:76px}.stage-tools button{width:31px;height:31px;border-radius:6px;font-size:10px}.stage-foot{font-size:8px;padding:12px;justify-content:center}.orientation{bottom:57px;left:23px}.controls{padding:13px 0;gap:10px}.control-group{gap:10px}.toggle{font-size:10px;gap:3px}.design-description{padding:20px 0;flex-direction:column;gap:15px}.design-description h3{font-size:16px}.design-description p{font-size:11px}.design-description .button{width:100%}.view-guide{grid-template-columns:1fr}.view-guide article{padding:14px 17px}.view-guide h3{font-size:13px}.view-guide p{font-size:11px}.footer{font-size:9px;flex-direction:column;gap:7px;line-height:1.9}.comparison{grid-template-columns:1fr;gap:15px}.compare-card{display:grid;grid-template-columns:1fr}.compare-stage{height:330px}.compare-info{padding:15px}.compare-info p{min-height:0}.compare-info h3{font-size:15px}.compare-info p{font-size:11px}.compare-info .button{width:auto;min-width:140px}.reference-body{grid-template-columns:1fr;padding:16px;gap:10px}.reference-body>img{height:45dvh;max-height:45dvh}.reference-body>div{padding:5px 0}.reference-body h3{font-size:18px}.reference-body p{font-size:12px;margin-top:10px}.dialog-head{padding:14px 16px}.dialog-head h2{font-size:15px}.choices-list{padding:15px}.choice{align-items:flex-start;flex-direction:column;gap:10px}.dialog-foot{padding:14px 15px;gap:10px}.dialog-foot .button{font-size:11px;padding:8px}.dialog-foot span{font-size:9px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
