:root {
  --bg:#f8f4ed;
  --paper:#fffcf6;
  --ink:#38291f;
  --forest:#432c1e;
  --deep:#342217;
  --muted:#786b5c;
  --faint:#e6ddce;
  --line:#e7dece;
  --lime:#f0e6d4;
  --gold:#e7ca95;
  --brand-paper:#f1e1c9;
}
.guide-link {display:inline-flex;align-items:center;gap:7px;width:fit-content;color:#6e4e34;font-weight:700;text-decoration:underline;text-underline-offset:4px;font-size:13px;}
.landing-guides {display:flex;flex-wrap:wrap;gap:15px 24px;margin-block-start:22px;}
.admin-guide {align-self:center;margin-inline-start:auto;padding:8px;}
.admin-tabs {flex-wrap:wrap;}
.sample-accounts-search {display:flex;align-items:flex-end;flex-wrap:wrap;gap:8px;margin-block-end:14px;}
.sample-accounts-search .field {width:min(100%,340px);}
.sample-accounts-search .btn {min-height:39px;}
.sample-account-email {min-width:160px;overflow-wrap:anywhere;}
.order-tracking {margin-block:0 13px;padding:clamp(10px,2vw,18px);border:1px solid #e4d6c3;border-radius:12px;background:var(--paper);}
.sample-shell > .order-tracking {margin-block-end:0;}
.order-tracking-head {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 12px;}
.order-tracking-head h2 {font-size:clamp(15px,2vw,19px);color:var(--deep);}
.order-timeline {display:grid;grid-template-columns:repeat(5,minmax(0,1fr));list-style:none;margin:12px 0 0;padding:0;}
.order-timeline li {position:relative;display:grid;grid-template-rows:24px auto;justify-items:center;align-items:start;gap:6px;padding-inline:2px;text-align:center;font-size:clamp(11px,1.5vw,13px);line-height:1.25;color:#685a4b;}
.order-timeline li:not(:last-child)::after {content:"";position:absolute;inset-block-start:11px;inset-inline-start:50%;width:100%;height:2px;background:#ddcdb5;}
.order-timeline li.complete::after {background:#8d6a43;}
.order-marker {z-index:1;display:grid;place-items:center;width:18px;height:18px;align-self:center;border:2px solid #beab93;border-radius:50%;background:var(--paper);}
.complete .order-marker {background:#f0dbb9;border-color:#8d6a43;color:#583920;}
.order-timeline [aria-current=step] {font-weight:750;color:#3b281c;}
.order-timeline [aria-current=step] .order-marker {border:4px solid #e7c896;background:#523522;box-shadow:0 0 0 1px #876341;}
.order-tracking-note {margin-block:8px 10px;color:#685a4b;font-size:12px;}
.order-tracking .order-tracking-note {margin-block-end:0;}
.order-email-settings {display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px 12px;margin-block-start:10px;padding-block-start:10px;border-block-start:1px solid var(--line);color:#685a4b;font-size:12px;}
.order-email-settings > span {margin-inline-end:auto;overflow-wrap:anywhere;}
.order-stage-chip {background:#f0e4d0;color:#593c25;}
.order-stage-form {display:flex;align-items:end;flex-wrap:wrap;gap:8px;margin-block:0 14px;}
.order-stage-form .field {width:min(100%,240px);}
.sample-shell {padding-block:26px 48px;display:grid;gap:20px;}
.sample-steps {display:flex;flex-wrap:wrap;align-items:center;gap:6px 20px;padding:0;margin-block:0;list-style:none;color:var(--muted);font-size:13px;}
.sample-shell .sample-steps {width:auto;margin-inline:0;}
.topbar + .sample-steps {padding-block-start:15px;}
.sample-steps li {display:inline-flex;align-items:center;gap:6px;}
.sample-steps li span {display:grid;place-items:center;width:24px;height:24px;border:1px solid #d7c4a9;border-radius:50%;font-weight:700;}
.sample-steps [aria-current=step] {color:var(--deep);font-weight:750;}
.sample-steps [aria-current=step] span {background:#e7ca95;border-color:#e7ca95;}
.sample-welcome {display:grid;grid-template-columns:1fr 1.12fr;gap:clamp(18px,6vw,72px);align-items:center;}
.sample-welcome-copy {padding-block:12px;}
.sample-welcome-copy h1,.sample-heading h1,.sample-confirm h1 {font:700 clamp(30px,5vw,58px)/1.05 Georgia,Tahoma,serif;letter-spacing:-.04em;}
[lang=ar] :is(.sample-welcome-copy h1,.sample-heading h1,.sample-confirm h1) {font-family:Tahoma,Arial,sans-serif;letter-spacing:normal;line-height:1.25;}
.sample-welcome-copy p,.sample-heading p,.sample-confirm p {color:var(--muted);margin-block:10px 15px;max-width:52ch;}
.sample-account {display:grid;gap:13px;}
.sample-auth-tabs,.sample-card-actions {display:flex;gap:8px;flex-wrap:wrap;}
.sample-account .sign-in-alert:empty {display:none;}
.sample-heading {display:flex;justify-content:space-between;align-items:flex-end;gap:14px;flex-wrap:wrap;}
.sample-heading h1 {font-size:clamp(27px,4vw,43px);}
.sample-heading p {margin-block-end:0;}
.sample-products {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(245px,100%),1fr));gap:14px;}
.sample-product {padding:0;overflow:hidden;}
.sample-product-visual {display:grid;place-items:center;background:#efede7;}
.sample-product-visual svg {width:min(100%,260px);height:220px;}
.sample-product-body {padding:15px;}
.sample-product-body h2,.sample-history h2 {font-size:18px;}
.sample-product-body p {margin-block:6px 13px;color:var(--muted);}
.sample-cart {display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;}
.sample-cart small {display:block;margin-block-start:3px;color:var(--muted);}
.sample-confirm {display:grid;justify-items:start;gap:9px;}
.sample-confirm .btn {margin-block-start:7px;}
.sample-history {scroll-margin-top:90px;}
.sample-history > .btn {margin-block-start:10px;}
.sample-glyph {display:inline-grid;place-items:center;width:37px;height:37px;border-radius:50%;color:#513a25;background:#ebd5a9;}
.sample-history p,.sample-review-items>div,.sample-review-total {display:flex;justify-content:space-between;align-items:baseline;gap:9px;flex-wrap:wrap;padding-block:8px;border-block-end:1px solid var(--line);}
.sample-review-items small {display:block;margin-block-start:3px;color:var(--muted);}
.sample-review-contact {display:grid;justify-items:start;gap:4px;background:#f5eee0;border-radius:8px;padding:12px;overflow-wrap:anywhere;}
.sample-colors {padding:15px 17px;border-block-end:1px solid var(--line);}
.sample-price-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:10px;}
.sample-request-garment {padding-block:12px;border-block-end:1px solid var(--line);}
.sample-fabrics {display:flex;gap:7px;flex-wrap:wrap;margin-block:6px 9px;}
.sample-fabrics span {display:inline-flex;align-items:center;gap:5px;padding:4px 6px;background:#f7f0e2;border-radius:6px;font-size:12px;}
.sample-fabrics i {background:var(--swatch);width:12px;height:12px;border:1px solid #9c8d78;border-radius:4px;}
.sample-art-list {margin-block:5px 7px;padding-inline-start:19px;}
.sample-art-list small {color:var(--muted);margin-inline-start:7px;}
@media (max-width:720px){
  .sample-welcome {grid-template-columns:1fr;}
  .sample-steps {column-gap:12px;font-size:11px;}
  .sample-steps li span {width:20px;height:20px;}
  .sample-account .form-grid {grid-template-columns:1fr;}
  .sample-product-visual svg {height:185px;}
}
.jeel-topbar {background:var(--brand-paper);border-color:#dfcdb0;}
.jeel-topbar .topbar-inner {min-height:80px;}
.jeel-topbar .brand-lockup {min-width:104px;display:block;}
.logo-image {display:block;position:relative;width:104px;aspect-ratio:1.68;overflow:hidden;}
.brand-lockup .logo-image img {
  position:absolute;width:120%;height:auto;max-width:none;max-height:none;
  left:-10%;top:-48%;display:block;
}
.jeel-topbar .brand-area {gap:35px;}
.jeel-topbar .nav-divider {background:#d5c2a6;}
.jeel-topbar .studio-nav {color:#715844;}
.jeel-topbar .lang-btn {background:#f7ead7;border-color:#dbc5a6;color:#563e2b;}
.jeel-topbar .nav-help {color:#5f4934;}
.jeel-topbar .user-btn {background:#f8edda;border-color:#dac4a3;color:#493422;}
.jeel-topbar .nav-actions {gap:13px;}
body[data-view=home] {background:#fbf7ef;}
body[data-view=home] .site-footer {margin-block-start:0;}
.landing {overflow:hidden;}
.landing-hero {display:grid;grid-template-columns:1.02fr 1fr;align-items:center;gap:7%;padding-block:43px 54px;}
.landing-kicker {display:flex;align-items:center;gap:10px;font-size:10px;font-weight:750;letter-spacing:.14em;color:#7b6046;text-transform:uppercase;}
.landing-kicker>span {display:block;width:28px;height:1px;background:#9a7651;}
:root[lang=ar] .landing-kicker {letter-spacing:0;font-size:12px;}
.landing-collection {padding-block:25px 68px;}
.landing-section-head {margin-block-end:25px;}
.landing-section-head h2 {
  margin-block-start:12px;font-family:Georgia,"Times New Roman",serif;font-size:40px;
  font-weight:500;letter-spacing:-.035em;line-height:1.12;
}
:root[lang=ar] .landing-section-head h2 {font-family:Tahoma,Arial,sans-serif;font-weight:700;font-size:31px;letter-spacing:0;line-height:1.35;}
.landing-products {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:21px;}
.landing-product {display:block;min-width:0;text-decoration:none;}
.landing-product-art {background:#f0e9dc;border:1px solid #e5dbca;aspect-ratio:1.12;display:grid;place-items:center;overflow:hidden;border-radius:3px;}
.landing-product-art svg {height:96%;width:96%;filter:drop-shadow(0 8px 6px #35201518);transition:transform .25s;}
.landing-product:hover .landing-product-art svg {transform:scale(1.04);}
.landing-product-info {display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-block-start:15px;}
.landing-product-info h3 {font-size:17px;line-height:1.3;font-weight:700;}
.landing-product-info p {max-width:280px;color:#7e6d5b;font-size:12px;line-height:1.7;margin-block-start:6px;}
.landing-product-arrow {display:grid;place-items:center;width:31px;height:31px;border:1px solid #d8c7ad;border-radius:50%;flex:none;color:#67472c;}
.landing-product:hover .landing-product-arrow {background:#e9dcc7;border-color:#b69a77;}
.landing-process {background:#eee3d1;border-block:1px solid #e4d5bd;padding-block:47px 49px;}
.landing-steps {list-style:none;margin:0 0 27px;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:37px;}
.landing-steps li {border-top:1px solid #cdb798;padding-block-start:17px;}
.landing-steps li>span {font-size:11px;font-weight:700;color:#906f4b;font-variant-numeric:tabular-nums;}
.landing-steps h3 {font-size:18px;margin-block:16px 8px;font-weight:700;line-height:1.4;}
.landing-steps p {max-width:300px;color:#7c6650;font-size:13px;line-height:1.8;}
.landing-process .btn {border-radius:5px;padding-inline:19px;gap:23px;}
.site-footer {border-color:#e0d5c1;background:#f9f2e7;}
.footer-inner {color:#806c54;}
.footer-inner b {color:#563c25;}
.footer-inner i {background:#97713e;box-shadow:0 0 0 2px #97713e18;}
.footer-sep {color:#b39d80;}
body[data-view=studio] {background:#f7f5f0;}
body[data-view=studio] .shell {width:min(100% - 40px,1400px);}
.studio-shell {padding-block:15px 22px;}
.studio-toolbar {display:flex;align-items:center;justify-content:space-between;gap:15px;margin-block-end:14px;}
.studio-toolbar-start,.studio-toolbar-actions {display:flex;align-items:center;gap:12px;}
.studio-toolbar-start h1 {font-size:18px;font-weight:750;letter-spacing:-.025em;line-height:1.3;}
:root[lang=ar] .studio-toolbar-start h1 {font-size:18px;letter-spacing:0;line-height:1.4;}
.studio-toolbar-start small {display:block;color:#8b7964;font-size:10px;margin-block-start:2px;max-width:360px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;}
.studio-toolbar-actions {gap:7px;}
.studio-toolbar-actions .btn {border-radius:5px;min-height:37px;padding:9px 13px;font-size:12px;}
.studio-toolbar-actions .btn .ico {width:16px;height:16px;}
.studio-toolbar .icon-btn {width:37px;height:37px;border-color:#ddcfba;color:#62472e;background:#fdfaf4;}
.studio-grid {grid-template-columns:minmax(0,1.9fr) minmax(310px,1fr);gap:19px;}
.studio-preview,.studio-dock {border-color:#e0d9cc;border-radius:8px;box-shadow:none;}
.studio-preview {padding:0;overflow:hidden;}
.studio-garment-options {margin:0;padding:10px 14px;border-bottom:1px solid #e7e1d7;background:#fcfaf5;}
.studio-garment-options .garment-size {font-size:11px;color:#7a6854;}
.studio-garment-options select {border-color:#e0d6c4;background:#fcfaf4;color:#60442b;font-size:12px;min-height:32px;}
.studio-garment-options .swatch-stack {margin-inline-start:auto;}
.swatch-stack i {border-color:#cbbc9e;}
.studio-stage {height:clamp(390px,63vh,625px);border:0;border-radius:0;background:#eeede9;min-height:0;isolation:isolate;}
.studio-stage::before {content:none;}
.studio-preview .garment-canvas {position:absolute;inset:0;display:block;width:auto;height:auto;max-height:none;aspect-ratio:auto;}
.studio-preview .garment-canvas svg#garment-svg {display:block;height:100%;width:100%;max-height:none;filter:drop-shadow(0 5px 5px #3f302014);}
.studio-stage .stage-title {position:absolute;inset-inline-start:19px;inset-block-start:16px;z-index:2;display:grid;gap:3px;pointer-events:none;}
.studio-stage .stage-title.stage-title-focus {inset-inline:0;width:max-content;margin-inline:auto;padding:5px 11px;border-radius:4px;background:#faf7efed;}
.stage-title>b {font-size:13px;color:#5b4630;}
.stage-title>small {font-size:12px;font-weight:600;color:#705b43;}
.studio-stage .stage-controls {inset-inline-end:17px;inset-inline-start:auto;top:15px;}
.studio-stage .stage-controls .icon-btn {background:#faf8f2e6;border-color:#d8d2c5;box-shadow:none;color:#69523a;width:30px;height:30px;border-radius:4px;}
.preview-options {display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;column-gap:14px;padding:3px 12px;background:#faf7ef;border-block-end:1px solid var(--line);}
.placement-box-toggle {display:inline-flex;align-items:center;gap:7px;min-height:32px;color:#60442b;font-size:12px;font-weight:650;cursor:pointer;}
.placement-box-toggle input {width:16px;height:16px;margin:0;accent-color:#60442b;cursor:pointer;}
.artwork-price-readout {display:flex;align-items:center;gap:5px;margin-inline-start:auto;min-height:27px;color:#5d4530;font-size:12px;white-space:nowrap;}
.artwork-price-readout small {font-size:11px;color:#725c48;}
.artwork-price-readout strong {white-space:nowrap;}
.studio-stage:has(.artwork-resize),.school-stage:has(.artwork-resize) {touch-action:none;}
.artwork-outline {filter:drop-shadow(0 0 1px #382619);}
.alignment-guides path {fill:none;stroke:#c82fed;stroke-width:2;}
.alignment-guides path:first-child {stroke:#fff9fa;stroke-width:4;}
.artwork-resize[tabindex]:focus-visible {outline:none;}
.artwork-resize {cursor:nwse-resize;touch-action:none;}
.resize-target {fill:transparent;pointer-events:all;}
.resize-grip {fill:#4a2e1e;stroke:#fff0c7;stroke-width:2.5;pointer-events:none;}
.resize-mark {fill:none;stroke:#fff0c7;stroke-width:1.65;stroke-linejoin:round;stroke-linecap:round;pointer-events:none;}
.artwork-resize:is(:hover,:focus-visible,:active) .resize-grip {fill:#9b5c26;stroke:#fff8e7;stroke-width:3;}
.placement-preview:has([data-change="placement-boxes"]:checked) .placement-guide,
.school-builder:has(.fabric-picker[open]) .placement-guide,
.school-builder:has(.fabric-picker[open]) .artwork-resize,
.studio-grid:has(.fabric-picker[open]) .placement-guide {display:none;}
@media(max-width:600px) {
  .artwork-price-readout {flex:0 0 100%;justify-content:flex-end;white-space:normal;}
}
.zone-target {cursor:pointer;outline:none;}
.zone-target rect {stroke:#c2bbb0;fill:#b4a58c24;stroke-width:2.5;transition:stroke .15s,fill .15s;}
.zone-target path {stroke:#fff;stroke-width:5;stroke-linecap:square;filter:drop-shadow(0 1px 1px #54473355);}
.zone-target:hover rect,.zone-target:focus-visible rect {stroke:#9d7950;fill:#bba17a38;stroke-width:3.5;}
.zone-target.occupied rect {fill:transparent;stroke:#b29a74;stroke-width:1.5;}
.zone-boundary rect {fill:#fff1;stroke:#fffcf0;stroke-width:3;}
.studio-focused .studio-stage {height:clamp(390px,65vh,645px);background:#eeede9;}
.stage-help {display:flex;justify-content:center;align-items:center;gap:6px;font-size:11px;color:#89765f;line-height:1.4;padding:13px 7px;border-top:1px solid #e7e1d6;background:#fbf8f2;}
.view-carousel {display:flex;justify-content:center;align-items:center;gap:31px;padding:13px 10px;background:#fcfaf5;border-top:1px solid #e6dfd3;}
.view-carousel .icon-btn {width:31px;height:31px;border-radius:50%;border:1.5px solid #8b7257;color:#624326;background:#fffdf6;}
.view-carousel .icon-btn:hover {background:#eee2cd;}
.view-dots {display:flex;align-items:center;gap:3px;direction:ltr;}
.view-dot {width:27px;height:27px;display:grid;place-items:center;background:transparent;border:0;border-radius:50%;padding:0;}
.view-dot>span {width:7px;height:7px;background:#d3cbbf;border-radius:50%;display:block;}
.view-dot[aria-pressed=true]>span {width:9px;height:9px;background:#fffaf0;border:2px solid #67472b;}
.view-dot:hover>span {background:#ac9270;}
.view-dots .lining-view {display:flex;gap:5px;width:auto;height:auto;min-height:32px;padding:4px 8px;border:1px solid #ddd1bf;border-radius:6px;color:#67472b;font-size:11px;font-weight:650;}
.lining-view[aria-pressed=true] {background:#f1e6d2;border-color:#c9ad85;}
.studio-dock {background:#fffcf6;overflow:hidden;}
.studio-dock-head {display:flex;align-items:center;justify-content:space-between;gap:10px;padding:17px 17px 14px;border-bottom:1px solid #e7e0d3;}
.studio-dock-head p {font-size:9px;color:#988266;font-weight:750;letter-spacing:.13em;line-height:1.3;}
.studio-dock-head h2 {font-size:21px;line-height:1.3;font-weight:750;letter-spacing:-.025em;margin-top:4px;}
.studio-dock-head>small {font-size:10px;color:#977b58;white-space:nowrap;}
:root[lang=ar] .studio-dock-head p,:root[lang=ar] .studio-dock-head h2 {letter-spacing:0;}
.studio-dock .tool-tabs {border-color:#ded3bf;background:#f6efe2;margin-top:12px;}
.shared-sticker-picker {display:grid;gap:14px;}
.shared-sticker-picker .tool-tabs {margin:0;border-color:#ded3bf;background:#f6efe2;}
.shared-sticker-picker .tool-actions {justify-content:flex-end;}
.art-search {margin-block-end:9px;}
.art-results {max-height:22rem;overflow:auto;overscroll-behavior:contain;padding:3px;}
.art-results [hidden],[data-art-empty][hidden],.lettering-form [hidden],[data-personalization-preview][hidden] {display:none;}
.lettering-preview {display:grid;place-items:center;min-height:105px;padding:12px;background:var(--art-preview-bg,#392e25);border:1px solid var(--line);border-radius:9px;}
.lettering-preview[data-lettering-mode=number] {min-height:172px;}
.lettering-style-fields {grid-template-columns:minmax(0,2fr) minmax(0,1fr);}
.lettering-preview>svg {max-width:100%;}
.lettering-preview>.patch-art {width:85px;height:85px;}
.lettering-options,.art-pricing-group {border:1px solid var(--line);border-radius:8px;}
.lettering-options>summary,.art-pricing-group>summary {cursor:pointer;padding:9px 11px;font-size:13px;font-weight:700;}
.lettering-options-body {display:grid;gap:8px;padding:0 10px 10px;}
.art-outline-row,.art-style-swatches {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
.art-style-swatches {grid-template-columns:repeat(3,minmax(0,1fr));}
.art-style-color {display:grid;align-content:start;gap:4px;}
.field input[type=color] {cursor:pointer;padding:4px;min-height:39px;}
.field input[type=range] {accent-color:var(--forest);padding:4px 0;min-height:26px;}
.studio-personalize {padding:10px 18px 0;}
.personalization-field {display:grid;gap:5px;}
.personalization-field small {color:var(--muted);}
.art-pricing-group {margin-block:6px;}
.art-pricing-group>.table-wrap {margin:0;}
.studio-dock .tool-tab {color:#80654a;}
.studio-dock .tool-tab.active {background:#e9dbc1;border-color:#d6c19c;color:#50351e;}
.studio-dock .patch-card {border-color:#e8e0d1;background:#faf7ef;min-height:94px;}
.studio-dock .patch-card:hover {background:#f2e8d4;border-color:#cbb28c;}
.studio-dock .patch-card b {color:#5a4028;}
.studio-dock .patch-card small {color:#937c60;}
.studio-dock .patch-plus {background:#ede3d0;border-color:#dfd1b9;color:#88623a;}
.studio-dock .tool-intro {color:#8b7963;}
.studio-dock .inspect-thumb {background:#efe5d3;color:#896440;}
.studio-dock .inspect-title small {color:#937952;}
.studio-dock .tier {background:#f9f4e8;border-color:#e1d5bf;}
.studio-dock .tier.active {background:#eaddc1;border-color:#bfa17a;}
.studio-dock .tier b,.studio-dock .tier span,.studio-dock .tier small,.studio-dock .tier-label {color:#745535;}
.studio-dock .tier:disabled {opacity:.4;background:#f1eee7;}
.artwork-tiers {grid-template-columns:repeat(auto-fit,minmax(58px,1fr));}
.studio-dock .field :is(input,select,textarea) {background:#fffdf6;border-color:#ded1ba;color:#59412b;}
.studio-dock .drop-zone {background:#f7f0e1;border-color:#b8a17c;color:#755332;}
.studio-dock .drop-zone:hover {background:#f0e4ce;}
.studio-dock .inspect-footer .link-btn {color:#825c35;}
.placement-cards {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:14px;}
.placement-card {position:relative;min-width:0;border:1px solid #e4dac9;background:#faf7ef;border-radius:4px;padding:18px 6px 12px;display:grid;justify-items:center;gap:6px;color:#6e5135;}
.placement-card:hover,.placement-card:focus-visible {border-color:#bba17c;background:#f0e5d0;}
.placement-icon {display:flex;gap:2px;align-items:center;color:#8b7150;height:28px;}
.placement-icon .ico:last-child {background:#dfd1b8;border-radius:3px;width:16px;height:16px;padding:2px;}
.placement-card strong {font-size:12px;font-weight:750;line-height:1.3;text-align:center;}
.placement-card small {font-size:10px;color:#a18b6d;line-height:1.25;text-align:center;}
.studio-school-note {display:flex;align-items:flex-start;gap:7px;font-size:11px;color:#998367;line-height:1.6;padding:0 15px 15px;}
.studio-summary {display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 15px;border-top:1px solid #e4d8c3;background:#f2e8d5;}
.studio-summary .layer-link {color:#7d5b36;font-size:11px;line-height:1.3;}
.studio-summary .layer-link>span {background:#e1d1b0;color:#654624;}
.studio-price {display:flex;align-items:baseline;gap:8px;white-space:nowrap;}
.studio-price>span {font-size:10px;color:#927a5a;}
.studio-price>b {font-size:22px;color:#4e321b;line-height:1;}
.studio-price small {font-size:9px;}
.studio-dock .locked-message .accent-icon {background:#ecdfbd;color:#795a2f;}
.studio-dock .status-approved {background:#ede2ca;color:#6c542c;}
body[data-view=studio] .site-footer {margin-top:0;background:#f6f1e7;}
body[data-view=studio] .footer-inner {min-height:45px;font-size:10px;}
.modal {border-color:#e1d3bc;}
.modal-heading {background:#f3e8d3;border-color:#e4d3b6;}
.modal-heading .eyebrow {color:#8a6943;}
.field :is(input,select,textarea) {border-color:#dfd4c0;}
:focus-visible {outline-color:#a47c47!important;}
@media(max-width:1100px) {
  .studio-grid {grid-template-columns:minmax(0,1.7fr) minmax(310px,1fr);gap:12px;}
}
@media(max-width:850px) {
  .jeel-topbar .topbar-inner {min-height:68px;}
  .jeel-topbar .brand-area {gap:17px;}
  .jeel-topbar .brand-lockup {min-width:88px;}
  .logo-image {width:88px;}
  .landing-products {grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 13px;}
  .landing-product-info h3 {font-size:15px;}
  .landing-product-info p {font-size:11px;}
  .landing-section-head h2 {font-size:34px;}
  .landing-steps {gap:18px;}
  .landing-steps h3 {font-size:15px;}
  .landing-steps p {font-size:12px;}
  .studio-grid {grid-template-columns:1fr;}
  .studio-stage {height:clamp(330px,52vh,530px);}
  .studio-focused .studio-stage {height:clamp(340px,55vh,550px);}
  .placement-cards {display:flex;gap:0;padding:0;overflow-x:auto;scroll-snap-type:x proximity;}
  .placement-card {min-width:25%;padding:14px 12px 11px;border:0;border-inline-end:1px solid #e2d7c4;border-radius:0;scroll-snap-align:start;min-height:103px;flex:1;}
  .placement-card small {font-size:10px;}
  .studio-dock-head {padding:12px 14px;}
  .studio-dock-head h2 {font-size:18px;}
  .studio-dock-head p {font-size:8px;}
  .studio-school-note {padding:8px 13px;margin:0;border-top:1px solid #eee6d8;font-size:10px;}
  .studio-summary {padding:12px 14px;}
  .studio-dock .tool-body {padding:12px 14px;}
}
@media(max-width:600px) {
  .jeel-topbar .topbar-inner {min-height:58px;gap:8px;}
  .jeel-topbar .brand-lockup {min-width:78px;}
  .logo-image {width:78px;}
  .jeel-topbar .brand-area {gap:9px;}
  .jeel-topbar .nav-actions {gap:5px;}
  .jeel-topbar .nav-signin {min-height:34px;padding-inline:9px;font-size:11px;}
  .jeel-topbar .lang-btn {min-height:34px;font-size:11px;padding-inline:6px;gap:5px;}
  .jeel-topbar .lang-btn .ico {width:15px;height:15px;}
  .jeel-topbar .nav-help {display:none;}
  .landing-kicker {font-size:9px;letter-spacing:.09em;gap:8px;}
  .landing-collection {padding-block:12px 37px;}
  .landing-section-head {margin-bottom:18px;}
  .landing-section-head h2 {font-size:31px;}
  :root[lang=ar] .landing-section-head h2 {font-size:27px;}
  .landing-products {display:flex;overflow-x:auto;gap:12px;scroll-snap-type:x mandatory;padding-bottom:9px;}
  .landing-product {width:76%;min-width:76%;scroll-snap-align:start;}
  .landing-product-art {aspect-ratio:1.12;}
  .landing-product-info h3 {font-size:16px;}
  .landing-product-info p {font-size:11px;line-height:1.7;}
  .landing-process {padding-block:29px 34px;}
  .landing-steps {grid-template-columns:1fr;gap:19px;margin-bottom:20px;}
  .landing-steps li {padding-top:13px;}
  .landing-steps h3 {font-size:16px;margin-block:10px 6px;}
  .landing-steps p {font-size:12px;max-width:none;}
  body[data-view=studio] .shell {width:calc(100% - 20px);}
  .studio-shell {padding-block:10px 15px;}
  .studio-toolbar {gap:6px;margin-bottom:9px;}
  .studio-toolbar-start {gap:7px;min-width:0;}
  .studio-toolbar-start h1,:root[lang=ar] .studio-toolbar-start h1 {font-size:14px;letter-spacing:0;}
  .studio-toolbar-start small {font-size:9px;max-width:155px;white-space:nowrap;}
  .studio-toolbar-start .icon-btn {width:31px;height:33px;}
  .studio-toolbar-actions {gap:4px;flex-shrink:0;}
  .studio-toolbar-actions .icon-btn {width:29px;height:33px;}
  .studio-toolbar-actions .btn {min-height:33px;padding:8px 9px;font-size:10px;gap:5px;}
  .studio-toolbar-actions .btn .ico {display:none;}
  .studio-garment-options {padding:7px 9px;gap:7px;}
  .studio-garment-options .garment-size {gap:4px;font-size:10px;}
  .studio-garment-options select {font-size:10px;padding:5px 4px;min-height:29px;max-width:145px;}
  .studio-garment-options .swatch-stack {gap:2px;}
  .studio-garment-options .swatch-stack i {height:13px;width:13px;}
  .studio-stage {height:clamp(270px,34dvh,390px);}
  .studio-focused .studio-stage {height:clamp(310px,45dvh,480px);}
  .studio-stage .stage-title {inset-inline-start:12px;inset-block-start:12px;gap:2px;}
  .stage-title>b {font-size:11px;}
  .stage-title>small {font-size:10px;}
  .studio-stage .stage-controls {inset-inline-end:10px;top:10px;gap:4px;}
  .studio-stage .stage-controls .icon-btn {width:26px;height:26px;}
  .studio-stage .stage-controls .ico {width:14px;height:14px;}
  .studio-grid {gap:9px;}
  .view-carousel {gap:21px;padding:9px;}
  .view-carousel .icon-btn {width:28px;height:28px;}
  .view-dot {width:24px;height:24px;}
  .placement-card {min-width:104px;padding:13px 7px 11px;min-height:97px;}
  .placement-card strong {font-size:10px;}
  .placement-icon {height:23px;}
  .placement-icon .ico:first-child {width:20px;height:20px;}
  .placement-card small {font-size:9px;}
  .studio-dock-head {padding:10px 12px;}
  .studio-dock-head h2 {font-size:16px;margin-top:3px;}
  .studio-dock-head p {font-size:7px;}
  .studio-summary {padding:10px 12px;}
  .studio-price>b {font-size:20px;}
  .studio-dock .tool-tabs {margin-top:9px;}
  .stage-help {padding:10px;font-size:10px;}
}
@media(prefers-reduced-motion:reduce) {
  .landing-product-art svg,.zone-target rect {transition:none;}
}

.sign-in-page {display:grid;justify-items:center;padding-block:clamp(35px,9vh,94px);}
.sign-in-card {width:min(100%,430px);min-height:0;padding:clamp(20px,4vw,34px);border-color:var(--line);}
.sign-in-card h1 {font-size:30px;font-weight:780;line-height:1.2;letter-spacing:-.035em;}
:root[lang=ar] .sign-in-card h1 {letter-spacing:0;}
.sign-in-card p {margin-block:7px 21px;color:var(--muted);line-height:1.55;}
.sign-in-card .dialog-form {gap:13px;}
.sign-in-card .dialog-form input {background:#fffdf8;border-color:var(--line);}
.sign-in-card .dialog-form .btn {margin-block-start:3px;}
.sign-in-card .form-divider {margin-block-start:16px;padding-block-start:10px;border-color:var(--line);}
.sign-in-alert:empty {display:none;}
.sign-in-alert:not(:empty) {margin-block-end:0;}
.school-shell[data-school-tab=collection] {padding-block-start:22px;}
.school-heading {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin-block-end:14px;}
.school-heading h1 {font-size:clamp(24px,3vw,41px);letter-spacing:-.035em;line-height:1.15;}
:root[lang=ar] .school-heading h1 {letter-spacing:0;}
.school-heading .admin-badge {background:#f3e8d7;border-color:#e3d4ba;color:#654e36;}
.school-collection {display:grid;gap:14px;}
.school-collection .admin-card {min-height:0;border-color:var(--line);}
.school-editor-bar {display:grid;grid-template-columns:minmax(140px,1fr) auto auto;align-items:end;gap:16px;padding:12px 16px;}
.school-product {max-width:340px;}
.school-editor-bar .toggle-label {align-self:end;align-items:center;min-height:42px;color:#5d4a37;}
.school-builder {display:grid;grid-template-columns:minmax(0,1.48fr) minmax(335px,1fr);align-items:start;gap:14px;}
.school-preview {padding:0;overflow:hidden;}
.placement-preview > .preview-options + .review-grid {margin-block-start:6px;}
.school-focus-bar {display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 10px;background:#faf7ef;border-block-end:1px solid var(--line);}
.school-focus-bar > span {display:flex;align-items:baseline;flex-wrap:wrap;gap:2px 8px;font-size:13px;color:#473120;}
.school-focus-bar small {color:#715e49;white-space:nowrap;font-size:11px;}
.school-focus-bar .btn {flex-shrink:0;color:#60442b;border-color:#e1d4bd;background:#fffdf7;}
.school-focus-bar .btn:hover:not(:disabled) {background:#f3ebdc;}
.school-stage {position:relative;height:clamp(340px,54vh,555px);background:#eeede9;}
.school-stage svg#school-garment-svg {position:absolute;inset:0;display:block;width:100%;height:100%;filter:drop-shadow(0 5px 6px #3f302017);}
.school-stage .garment-layer:focus {outline:none;}
.school-stage .garment-layer:focus-visible > rect[fill="transparent"] {stroke:#fff5d1;stroke-width:2;vector-effect:non-scaling-stroke;}
.school-views {display:grid;grid-template-columns:repeat(var(--view-count,4),minmax(0,1fr));gap:4px;padding:7px;background:#faf7ef;border-block-start:1px solid var(--line);}
.school-views button {min-height:36px;padding:5px 3px;border:1px solid transparent;border-radius:6px;background:transparent;color:#735b44;font-weight:650;font-size:12px;}
.school-views button:hover {background:#f3ebdc;}
.school-views button[aria-pressed=true] {background:#ece0ca;border-color:#e0d0b4;color:#473120;}
.school-preview-help {display:flex;align-items:center;justify-content:center;gap:7px;border-block-start:1px solid var(--line);padding:9px;color:#715e49;font-size:12px;}
.school-options {padding:16px;}
.school-options h2 {font-size:17px;color:var(--ink);}
.school-options p {color:#6f5e4b;font-size:12px;line-height:1.55;}
.body-material {margin-block:10px 12px;}
.body-base-price {margin-block-start:5px;}
.school-fabrics {display:grid;gap:9px;margin-block-start:10px;}
.school-fabric {display:grid;grid-template-columns:minmax(92px,.8fr) minmax(0,1.2fr);align-items:center;gap:10px;position:relative;}
.fabric-part {font-size:13px;font-weight:700;}
.school-fabric small {display:block;font-size:11px;color:#715e49;line-height:1.35;}
.fabric-picker summary,.fabric-options button {display:flex;align-items:center;gap:8px;text-align:start;}
.fabric-picker summary {min-height:42px;padding:7px 10px;border:1px solid var(--line);border-radius:8px;background:#fdfbf5;cursor:pointer;font-size:12px;font-weight:650;list-style:none;}
.fabric-picker summary::-webkit-details-marker {display:none;}
.fabric-picker summary .ico {margin-inline-start:auto;flex:none;}
.fabric-picker[open] summary {border-color:#af906b;}
.fabric-options {position:absolute;z-index:6;inset-inline:0;inset-block-start:calc(100% + 4px);display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px;padding:6px;max-height:min(260px,39dvh);overflow:auto;overscroll-behavior:contain;border:1px solid #d8c7ad;border-radius:9px;background:#fffdf8;box-shadow:0 10px 24px #2b201524;}
.fabric-options button {min-height:38px;padding:6px 7px;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--ink);font-size:12px;line-height:1.25;}
.fabric-options button:hover,.fabric-options button[aria-pressed=true] {border-color:#dbcbb0;background:#f1e7d4;}
.fabric-picker summary:focus-visible,.fabric-options button:focus-visible {outline:2px solid #966a3b;outline-offset:1px;}
.fabric-swatch {display:inline-block;flex:0 0 15px;width:15px;height:15px;border:1px solid #3b2c2538;border-radius:4px;background:var(--swatch);}
.palette-group {border:1px solid var(--line);border-radius:8px;}
.palette-group summary {display:list-item;padding:10px 12px;cursor:pointer;font-weight:700;font-size:13px;}
.palette-group summary small {margin-inline-start:6px;color:#715e49;}
.palette-panel {padding:0 9px 9px;}
.palette-panel .palette-editor {max-height:270px;overflow:auto;overscroll-behavior:contain;padding:3px;}
.palette-panel>.btn {margin-block-start:8px;}
.school-badges {border-block-start:1px solid var(--line);padding-block-start:14px;margin-block-start:15px;}
.school-badges-head {display:flex;align-items:center;justify-content:space-between;gap:10px;margin-block-end:5px;}
.school-badge-list {display:grid;gap:5px;margin-block-start:11px;}
.school-badge {display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;padding:5px 8px;border:1px solid #e8dfcf;border-radius:8px;background:#fbf8f1;text-align:start;}
.school-badge:hover,.school-badge[aria-pressed=true] {background:#f3ebda;border-color:#cfb899;}
.school-badge .inspect-thumb {width:29px;height:29px;border-radius:5px;background:#ede2cf;color:#7a5d40;}
.school-badge .inspect-thumb img {width:23px;height:23px;}
.school-badge b {overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;}
.school-badge small {color:#6e5b46;font-size:11px;}
.school-badge-editor {display:grid;gap:9px;padding-block-start:12px;}
.school-badge-editor .form-grid {gap:8px 10px;}
.school-badge-sizes {display:grid;min-width:0;gap:5px;border:0;padding:0;margin:0;}
.school-badge-sizes legend {margin-block-end:5px;padding:0;font-size:12px;font-weight:700;color:#5d4a37;}
.school-size-grid {grid-template-columns:repeat(auto-fit,minmax(62px,1fr));}
.school-size-grid .tier {background:#faf7ef;border-color:#e8dfcf;min-height:58px;}
.school-size-grid .tier:enabled:hover,.school-size-grid .tier.active {background:#f3ebda;border-color:#cfb899;}
.school-size-grid .tier:disabled {opacity:.52;}
.school-size-grid .tier span,.school-size-grid .tier small {color:#654e36;}
.school-badge-total {display:flex;justify-content:space-between;gap:8px;padding-block-start:8px;}
.school-badge-actions {display:flex;flex-wrap:wrap;gap:8px;justify-content:space-between;}
.school-count {padding:12px 16px;}
.roster-actions {display:flex;flex-wrap:wrap;gap:8px;margin-block-end:17px;}
.roster-export-note {margin-block:-6px 12px;color:var(--muted);font-size:12px;}
.roster-file input {min-width:0;width:100%;padding:8px;border:1px solid var(--line);border-radius:6px;}
.roster-file input::file-selector-button {margin-inline-end:8px;padding:6px 10px;border:1px solid var(--line);border-radius:5px;background:#f3ebda;color:#473120;}
.roster-file-name {overflow-wrap:anywhere;}
.roster-preview {margin:0;padding:8px 34px;max-height:220px;overflow:auto;border:1px solid var(--line);border-radius:7px;background:#faf7ef;}
.roster-preview li {padding-block:4px;overflow-wrap:anywhere;}
.pricing-section {display:grid;gap:8px;border-block-end:1px solid var(--line);padding-block-end:14px;}
.pricing-section h3,.pricing-student-title h3 {font-size:15px;}
.pricing-section p,.pricing-student-title p {font-size:12px;color:#715e49;line-height:1.5;}
.pricing-product-select {width:min(100%,340px);margin-block-end:16px;}
.pricing-default-note {font-size:13px;color:var(--muted);}
.sticker-price-table input {width:100%;}
.pricing-size-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,144px),1fr));gap:9px;}
.pricing-size {display:grid;min-width:0;gap:7px;padding:8px 10px 10px;margin:0;border:1px solid var(--line);border-radius:6px;}
.pricing-size legend {padding:0 4px;font-size:13px;font-weight:700;}
.pricing-size legend small {font-size:10px;color:#715e49;font-weight:500;}
.badge-allowance {display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:3px 8px;padding:9px 13px;border-block-start:1px solid var(--line);background:#f8f3e9;color:#5d4a37;font-size:11px;}
.school-badges .badge-allowance {margin-block-start:10px;border:1px solid var(--line);border-radius:8px;}
.layer-locked {display:block;color:var(--muted);font-size:10px;}
@media (min-width:781px) {
  .school-preview {position:sticky;inset-block-start:12px;}
}
@media (max-width:780px) {
  .school-builder {grid-template-columns:minmax(0,1fr);gap:10px;}
  .school-stage {height:clamp(265px,44dvh,410px);}
}
@media (max-width:600px) {
  .school-shell[data-school-tab=collection] {padding-block-start:12px;}
  .school-heading {gap:7px;margin-block-end:10px;}
  .school-heading h1 {font-size:23px;}
  .school-heading .admin-badge {font-size:11px;padding:5px 8px;}
  .school-heading .admin-badge .ico {width:13px;height:13px;}
  .school-collection {gap:9px;}
  .school-editor-bar {grid-template-columns:minmax(0,1fr) auto;gap:7px 10px;padding:9px 11px;}
  .school-product {grid-column:1/-1;max-width:none;}
  .school-editor-bar .btn {min-height:37px;padding-inline:10px;}
  .school-editor-bar .toggle-label {min-height:37px;}
  .school-stage {height:clamp(245px,33dvh,335px);}
  .school-views button,.school-preview-help {font-size:11px;}
  .school-options,.school-count {padding:12px;}
}
