/* ISKNAYA workspace: existing dark canvas, real media and red brand actions. */
:root{--ui-panel:#151515;--ui-border:#ffffff14;--ui-muted:#aaaaaa;--ui-radius:10px;--ui-motion:180ms}body:has(dialog[open]){overflow:hidden}dialog{color-scheme:dark}dialog::backdrop{background:#060606c7;backdrop-filter:blur(7px)}dialog[open]{animation:ui-dialog-enter 220ms ease-out}button,input,select,textarea{transition:border-color var(--ui-motion),background var(--ui-motion),box-shadow var(--ui-motion)}button:active:not(:disabled){transform:translateY(1px)}button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid var(--lime,#ff5757);outline-offset:4px}@keyframes ui-dialog-enter{from{opacity:0;transform:translateY(12px) scale(.99)}to{opacity:1;transform:translateY(0) scale(1)}}
/* Administration */
body:has(#dashboard){font-family:'Tajawal',Tahoma,Arial,sans-serif;background:#0c0c0c;color:#efefef}.sidebar{width:236px;padding:30px 20px;background:#111111;border-color:var(--ui-border)}.sidebar .brand{font-family:Arial,sans-serif;font-size:30px;letter-spacing:-1.8px}.sidebar .eyebrow{font-size:9px;margin-block:15px 28px}.sidebar nav{gap:5px}.sidebar nav button{border-radius:8px;padding:13px 14px;font-size:14px;font-weight:500}.sidebar nav button.active{color:var(--lime);background:#ff575710;border-color:#ff575730}.sidebar nav button:hover{background:#ffffff07}.sidebar nav button.active:before{content:'';width:4px;height:19px;border-radius:4px;background:var(--accent-solid);margin-inline-end:10px;color:var(--on-accent)}.sidebar nav button.active span{margin-inline-start:auto}.sidebar-bottom{font-size:12px;border-top:1px solid var(--ui-border);padding-top:20px;gap:13px}.sidebar-bottom p{color:var(--ui-muted)}.sidebar-bottom button{background:transparent;font-size:12px}.admin-main{margin-right:236px;max-width:1700px;padding:34px clamp(22px,4vw,64px) 70px}.admin-header{padding-bottom:24px;margin-bottom:18px;border-color:var(--ui-border)}.admin-header .eyebrow{font-size:9px;letter-spacing:1.7px;margin:0 0 8px}.admin-header h1{font-size:30px;font-weight:800}.save-control{border:1px solid var(--ui-border);border-radius:30px;padding:8px 13px;background:#171717;font-size:12px}.save-control #saveStatus:before,.modal-save-state:before{content:'';display:inline-block;width:6px;height:6px;background:var(--accent-solid);border-radius:50%;margin-inline-end:8px;color:var(--on-accent)}.save-control button{padding:5px 10px;font-size:11px}.storage-disclosure{border:1px solid var(--ui-border);border-radius:8px;margin-bottom:24px;max-width:100%}.storage-disclosure>summary{cursor:pointer;padding:10px 14px;font-size:12px;color:var(--ui-muted);display:flex;justify-content:space-between;gap:12px}.storage-disclosure summary span{opacity:.6}.storage-meter{margin:0;border:0;border-top:1px solid var(--ui-border);background:transparent;padding:16px}.storage-meter small{font-size:11px}.admin-main input,.admin-main select,.admin-main textarea,.workspace-dialog input,.workspace-dialog select,.workspace-dialog textarea{border-color:#ffffff20;background:#0f0f0f;border-radius:7px;padding:11px 12px;line-height:1.55}.admin-main input:focus,.admin-main select:focus,.workspace-dialog input:focus,.workspace-dialog select:focus,.workspace-dialog textarea:focus{border-color:#ff575780;box-shadow:0 0 0 3px #ff57570b}.admin-main button:not(.project-tile){border-radius:7px}.admin-main .toolbar{gap:10px;margin-bottom:18px}.workflow-help{font-size:12px;color:var(--ui-muted);margin-block:12px 18px}.workflow-help summary{cursor:pointer;display:inline-block;border-bottom:1px dashed #5f5f5f}.workflow-help p{max-width:860px;margin-top:10px}.workspace-overview{display:flex;align-items:center;gap:25px;padding-block:12px;color:var(--ui-muted);font-size:12px}.workspace-overview b{font:700 20px/1 'Tajawal',sans-serif;color:#efefef;margin-inline-end:5px}.workspace-overview>div{margin-inline-start:auto;display:flex;gap:7px}.workspace-overview button{padding:7px 10px;background:transparent;border-color:var(--ui-border);font-size:11px}.admin-project-filters{margin-block:12px 18px;gap:10px;padding:17px;background:#151515;border:1px solid var(--ui-border);border-radius:10px}.admin-project-filters label{font-size:12px}.admin-project-filters>button{min-height:42px;background:transparent}.bulk-toolbar{border-color:var(--ui-border);padding-block:12px;font-size:12px}.bulk-toolbar button{padding:8px 12px;font-size:12px}.bulk-toolbar #bulkCount{color:var(--ui-muted);margin-inline-start:auto}.cards{grid-template-columns:repeat(auto-fill,minmax(min(240px,100%),1fr));gap:16px}.project-category{margin-block:28px 40px}.project-category-heading{border-color:var(--ui-border);padding-bottom:14px}.project-category-heading h2{font-size:23px;font-weight:800}.project-brand-group{background:#131313;border-color:var(--ui-border);border-radius:10px;overflow:clip}.project-brand-group>summary{padding:17px 20px}.project-brand-group h3{font-size:20px}.project-brand-group .muted{font-size:11px}.project-model-group{border-color:var(--ui-border)}.project-model-group h4{font-size:16px;font-weight:700}.group-order-controls button{border-color:var(--ui-border);background:#ffffff03;min-width:32px;min-height:32px;padding:5px}.project-sort-card{border-color:var(--ui-border);border-radius:8px;background:#191919;overflow:hidden}.project-sort-card .project-tile{background:transparent}.project-sort-card .project-tile img{height:185px}.project-tile div{padding:15px}.project-tile strong{font-size:17px;margin-bottom:6px}.project-tile small{font-size:11px}.project-selection{font-size:11px;padding:9px 12px;border-bottom:1px solid var(--ui-border)}.project-selection input{width:16px;height:16px;padding:0}.project-order-controls{border-color:var(--ui-border);display:grid;grid-template-columns:32px minmax(20px,1fr) auto 32px 32px;gap:5px;padding:9px}.project-order-controls button{min-width:30px;min-height:32px;padding:5px;font-size:11px;background:#ffffff04;border-color:var(--ui-border)}.project-order-controls .project-drag-handle{font-size:20px}.project-order-controls span{font-size:10px;white-space:nowrap}.order-review{background:#1f1f1f;border-color:#ff575730;border-radius:9px}.order-review button{font-size:12px;padding:8px 12px}.editor{border-color:var(--ui-border);border-radius:10px;background:#171717}.editor h2{font-size:21px}.editor .hint{font-size:12px}.workspace-section-intro{margin-block:25px}.workspace-section-intro h2{font-size:28px;margin:0 0 8px}.workspace-section-intro p{font-size:13px;color:var(--ui-muted);line-height:1.8}.text-list{border:1px solid var(--ui-border);border-radius:10px;overflow:hidden}.text-summary-row{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:18px 20px;border-bottom:1px solid var(--ui-border);background:#141414}.text-summary-row:last-child{border:0}.text-summary-row>div{min-width:0}.text-summary-row strong{font-size:15px;line-height:1.6;font-weight:700}.text-summary-row p{font-size:12px;color:var(--ui-muted);margin:6px 0}.text-summary-row small{color:#767676;font:10px/1.5 monospace}.text-summary-row button{flex-shrink:0;background:transparent;font-size:12px}.taxonomy-heading,.taxonomy-model{border-color:var(--ui-border)}.taxonomy-brand{border-color:var(--ui-border);border-radius:8px}.notice{border-color:#ff575725;background:#1f1f1f;border-radius:8px;font-size:12px}.backup-row{border-color:var(--ui-border);border-radius:8px;background:#141414}.backup-row button{font-size:12px}.permission-list label{padding:10px;border-radius:7px;background:#ffffff03}.login-card{border-radius:14px;border-color:var(--ui-border);border-top-color:var(--lime);box-shadow:0 25px 100px #0006}.login-card h1{font-size:38px}.login-card p{font-size:14px}
/* Functional modals keep the underlying list and filters in place. */
.workspace-dialog{margin:auto;padding:0;width:min(1060px,94vw);max-width:94vw;max-height:90dvh;border:1px solid #ffffff20;border-radius:14px;background:#151515;color:#efefef;box-shadow:0 28px 100px #0009;font-family:'Tajawal',Tahoma,Arial,sans-serif;overflow:auto}.workspace-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 28px;background:#181818;border-bottom:1px solid var(--ui-border);position:sticky;top:0;z-index:4}.workspace-dialog-header h2{font-size:27px;line-height:1.3;margin:6px 0 0}.workspace-kicker{display:block;font:9px/1.4 Arial,sans-serif;letter-spacing:1.9px;color:#868686}.workspace-dialog-header small{display:block;color:var(--ui-muted);font-size:11px;margin-top:6px}.modal-close{display:grid;place-items:center;width:38px;height:38px;flex-shrink:0;padding:0;border:1px solid var(--ui-border);border-radius:50%;background:#ffffff03;color:#ececec;font-size:23px}.workspace-dialog-content{padding:24px 28px;min-width:0}.workspace-dialog-footer{position:sticky;bottom:0;z-index:4;display:flex;justify-content:space-between;align-items:center;gap:18px;padding:16px 28px;background:#161616f7;border-top:1px solid var(--ui-border);backdrop-filter:blur(12px);font-size:12px}.workspace-dialog button{font-family:inherit}.workspace-dialog-footer button{padding:11px 20px}.modal-save-state,[data-save-indicator]{color:#d7d7d7;font-size:12px;line-height:1.6}.project-editor-dialog{width:min(1140px,94vw)}.editor-tabs{display:flex;gap:7px;padding:14px 28px;background:#111111;border-bottom:1px solid var(--ui-border);position:sticky;top:96px;z-index:3}.editor-tabs button{font-size:13px;border:1px solid transparent;padding:10px 17px;background:transparent;color:var(--ui-muted);border-radius:7px;white-space:nowrap}.editor-tabs button[aria-selected=true]{color:var(--lime);background:#ff57570c;border-color:#ff575730}.project-editor-panel{padding:0;border:0;background:transparent;border-radius:0;margin:0}.project-editor-panel>.fields{gap:20px}.project-editor-panel label{font-size:13px}.project-editor-dialog #projectEditorBody>.toolbar{display:flex;align-items:center;justify-content:space-between;padding-bottom:18px;margin-bottom:24px;border-bottom:1px solid var(--ui-border)}.project-editor-dialog #projectEditorBody>.toolbar .muted{font-size:11px;max-width:70%;line-height:1.8}.project-editor-dialog .media-grid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:14px}.project-editor-dialog .media-item{background:#101010;border-color:var(--ui-border);padding:9px;border-radius:8px}.project-editor-dialog .media-item img{height:140px;border-radius:4px}.project-editor-dialog .media-item p{font-size:11px;margin:10px 0}.project-editor-dialog .media-item button{border-color:var(--ui-border);min-width:28px;min-height:30px;font-size:11px}.project-editor-dialog .comparison-frame{max-width:700px;margin-inline:auto;border:1px solid var(--ui-border);border-radius:8px}.trash-dialog{width:min(1160px,94vw)}.trash-count{font-size:13px;color:var(--ui-muted);margin-bottom:18px}.trash-actions{gap:8px}.trash-actions button{font-size:12px;flex:1}.text-edit-dialog{width:min(860px,94vw)}.text-edit-dialog textarea{min-height:190px;line-height:1.9}.confirm-dialog{width:min(440px,92vw);padding:30px;max-height:85dvh}.confirm-dialog h2{font-size:24px;margin-block:18px 10px}.confirm-dialog p{font-size:15px;color:#c0c0c0;line-height:1.9}.confirmation-symbol{width:43px;height:43px;display:grid;place-items:center;border:1px solid #ff575750;color:var(--lime);background:#ff57570c;border-radius:50%;font-size:24px}.workspace-confirm-actions{display:flex;gap:10px;margin-top:26px}.workspace-confirm-actions button{flex:1}.bulk-dialog,.taxonomy-dialog,.order-preview-dialog{border-radius:12px!important;border-color:#ffffff25!important;background:#171717!important;box-shadow:0 25px 80px #0008}.bulk-dialog h2,.taxonomy-dialog h2{font-size:26px}.bulk-dialog .toolbar{justify-content:flex-end;margin-top:24px}.bulk-dialog .fields{gap:18px}
/* Customer gallery and media workspace. */
.project-card-shell{border:1px solid transparent;border-radius:8px;padding:8px;background:#17171740;transition:background var(--ui-motion),border-color var(--ui-motion)}.project-card-shell:hover,.project-card-shell:focus-within{border-color:#ff575725;background:#1d1d1d99}.project-card-shell .project-image{border-radius:5px;overflow:hidden}.project-card-shell>.save-detail{border-radius:6px;font-size:11px;padding:7px 10px;min-height:35px;color:#b0b0b0;border-color:#ffffff19}.project-card-shell>.save-detail[aria-pressed=true]{color:var(--lime);border-color:#ff575750;background:#ff575708}.portfolio-category-heading{border-color:#ffffff1a}.collection-tabs{padding:4px;border:1px solid #ffffff16;border-radius:9px;background:#0e0e0e66}.collection-tabs button{border-radius:6px}.gallery-search input{border-color:#ffffff25}.category-button{border-radius:5px}.browse-step button{border-color:#ffffff20;border-radius:6px;background:#11111155}.browse-step button:hover{border-color:#ff575760}.portfolio-browse{border-color:#ffffff15;padding-block:17px}.project-dialog{border-color:#ffffff20;border-radius:12px;box-shadow:0 30px 120px #000a}.project-dialog .dialog-header{background:#141414f5;backdrop-filter:blur(14px);border-color:#ffffff16}.dialog-header .section-number{background:#ff575708;border:1px solid #ff575720;border-radius:30px;padding:5px 10px;color:#c0c0c0;font-size:10px}.dialog-header .icon-button{border-radius:50%;border-color:#ffffff22;min-width:36px;width:36px;height:36px;font-size:22px}.saved-inside-button{border-radius:30px;padding:7px 13px;background:#ff57570a;color:#ff5757;border-color:#ff575730}.dialog-body{align-items:start}.dialog-info{align-self:start;position:sticky;top:90px;padding:32px 28px}.dialog-info h2{font-size:clamp(30px,3.1vw,46px)}.dialog-info .dialog-note{font-size:11px!important;line-height:1.9}.dialog-viewer{min-width:0;background:#0e0e0e;padding:26px}.media-stage{border:1px solid #ffffff10;border-radius:7px;overflow:hidden}.viewer-controls .icon-button{border-radius:50%;border-color:#ffffff22}.media-thumbnail{border-radius:5px;border-color:#ffffff14;overflow:hidden}.media-thumbnail[aria-pressed=true]{box-shadow:0 0 0 1px var(--lime)}.comparison-frame{border-radius:7px;border:1px solid #ffffff1a}.comparison-heading h3{font-size:24px;line-height:1.5}.comparison-heading p{line-height:1.8}.comparison-save-actions .save-detail{border-radius:6px;background:#ffffff02;font-size:11px}.project-media-divider{border-color:#ffffff20;font-size:14px;font-weight:700}.saved-dialog{padding:28px;border-radius:14px;border-color:#ffffff20;background:#131313;box-shadow:0 30px 120px #000a}.saved-header{position:sticky;top:-28px;padding-block:10px 20px;background:#131313f5;backdrop-filter:blur(12px);z-index:3;border-color:#ffffff16}.saved-header h2{font-size:38px}.saved-header .icon-button{border-radius:50%;width:36px;min-width:36px;height:36px;border-color:#ffffff25}.saved-toolbar{border:1px solid #ffffff14;background:#191919;padding:16px;border-radius:9px;justify-content:flex-start;gap:12px}.saved-toolbar>p{flex:1;min-width:180px;font-size:12px}.saved-toolbar .button{font-size:12px;border-radius:6px;min-height:42px;padding:10px 16px}.saved-pick{border-radius:9px;overflow:hidden;border-color:#ffffff17;background:#181818}.saved-pick>img,.saved-pick>video{background:#0c0c0c}.saved-pick-copy{padding:18px}.saved-pick label{color:#b7b7b7;font-size:12px}.saved-pick textarea{border-radius:6px;border-color:#ffffff20;background:#0d0d0d;line-height:1.8}.saved-pick-actions button{border-color:#ffffff20;border-radius:5px;min-height:36px}.saved-device-note{font-size:11px;color:#8d8d8d}.saved-select{padding:9px 10px;background:#ffffff04;border:1px solid #ffffff0b;border-radius:5px}.saved-trigger{box-shadow:0 8px 30px #0008;backdrop-filter:blur(12px);border-color:#ff575740}.saved-share-panel{width:min(780px,94vw);max-width:94vw;max-height:88dvh;margin:auto;padding:26px;border-radius:13px;background:#171717;border-color:#ffffff25;color:#efefef;box-shadow:0 30px 100px #0009}.share-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding-bottom:18px;border-bottom:1px solid #ffffff17}.share-dialog-header h3{font-size:27px;margin:8px 0 0}.share-dialog-header .icon-button{width:36px;min-width:36px;height:36px;border-radius:50%;border-color:#ffffff25}.saved-share-panel #savedShareMessage{max-height:45dvh;font-size:13px;border-radius:7px;border-color:#ffffff25}.saved-share-panel label{font-size:12px}.saved-share-panel #savedShareHint{font-size:12px;line-height:1.9}.saved-share-actions{padding-top:16px;border-top:1px solid #ffffff17}.saved-share-actions .button{border-radius:6px}.public-filter-dialog{width:min(520px,94vw);padding:24px;border:1px solid #ffffff20;border-radius:14px;background:#171717;color:#efefef}.public-filter-dialog header{display:flex;gap:16px;align-items:start;justify-content:space-between}.public-filter-dialog h2{font-size:29px}.public-filter-dialog header p{font-size:13px;color:#aeaeae;line-height:1.8;margin-top:9px}.public-filter-dialog .icon-button{border-radius:50%;width:36px;min-width:36px;height:36px;border-color:#ffffff25}.public-filter-dialog .secondary-filters{display:flex;flex-direction:column;align-items:stretch;border-block:1px solid #ffffff17;padding-block:24px;margin-block:22px;gap:24px}.public-filter-dialog .color-filter{align-items:start;flex-direction:column;gap:16px}.public-filter-dialog .color-options{flex-wrap:wrap;gap:17px}.public-filter-dialog .color-button{width:20px;height:20px}.public-filter-dialog footer .button{width:100%;justify-content:center;border-radius:7px}.filter-open-button{display:inline-flex;align-items:center;gap:10px;border:1px solid #ffffff25;background:#191919;color:#ebebeb;border-radius:7px;padding:9px 15px;font-size:13px;margin-block:0 18px;min-height:42px}.filter-open-button>span:first-child{font-size:19px;color:var(--lime)}.filter-open-button b{background:var(--accent-solid);color:var(--on-accent);min-width:20px;height:20px;border-radius:50%;font-size:11px;display:grid;place-items:center}
@media(max-width:900px){.sidebar{position:relative;width:100%;padding:20px}.sidebar .brand{font-size:27px}.sidebar .eyebrow{display:none}.sidebar nav{margin-top:18px;gap:6px;padding-bottom:5px}.sidebar nav button{padding:11px 13px;font-size:12px;flex-shrink:0}.sidebar nav button.active:before{display:none}.sidebar-bottom{margin-top:14px;padding-top:13px;gap:15px;display:flex;flex-wrap:wrap}.sidebar-bottom button{padding:7px 10px}.admin-main{margin:0;padding:25px 18px 60px}.admin-header h1{font-size:26px}.workspace-overview{flex-wrap:wrap;gap:20px}.workspace-overview>div{margin-inline-start:0;width:100%}.admin-project-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-project-filters>button{grid-column:1/-1}.bulk-toolbar #bulkCount{margin-inline-start:0}.workspace-dialog{max-height:94dvh}.editor-tabs{top:94px}.text-summary-row{padding:16px}.workspace-dialog .fields{grid-template-columns:1fr}.text-edit-dialog textarea{min-height:140px}.workspace-dialog-header h2{font-size:24px}}
@media(max-width:700px){.workspace-dialog{width:100%;max-width:100%;height:100dvh;max-height:100dvh;border-radius:0;border:0;margin:0}.workspace-dialog-header{padding:18px 18px;gap:12px}.workspace-dialog-header h2{font-size:23px;margin-top:4px;max-width:260px}.workspace-dialog-content{padding:20px 17px}.workspace-dialog-footer{padding:14px 17px;gap:12px}.workspace-dialog-footer button{padding:10px 15px;font-size:12px}.workspace-dialog-footer [data-save-indicator]{font-size:11px;max-width:50%}.editor-tabs{padding:11px 16px;gap:4px;top:86px;overflow-x:auto}.editor-tabs button{padding:9px 12px;font-size:12px;flex-shrink:0}.project-editor-dialog #projectEditorBody>.toolbar{gap:12px;flex-wrap:wrap}.project-editor-dialog #projectEditorBody>.toolbar .muted{max-width:100%;font-size:11px}.project-editor-dialog .media-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.project-editor-dialog .media-item img{height:125px}.project-editor-dialog .media-item button{font-size:10px;min-width:26px}.text-summary-row{align-items:start;gap:14px}.text-summary-row strong{font-size:14px}.text-summary-row button{padding:8px 10px;font-size:11px}.confirm-dialog{width:min(420px,92vw);max-width:92vw;height:auto;border:1px solid #ffffff25;border-radius:12px;margin:auto;padding:25px}.confirm-dialog h2{font-size:23px}.bulk-dialog,.taxonomy-dialog{width:min(620px,94vw)!important;max-height:92dvh;border-radius:12px!important}.workspace-overview b{font-size:19px}.project-dialog{border-radius:0}.project-dialog .dialog-header{padding:12px 16px;gap:9px}.dialog-header .section-number{font-size:9px;padding:4px 8px}.dialog-info{position:static;padding:25px 20px 36px}.dialog-info h2{font-size:34px}.dialog-viewer{padding:18px 14px}.project-card-shell{padding:5px;border-radius:6px}.project-card-shell>.save-detail{font-size:10px;padding:6px 8px;margin-top:9px}.project-card-shell .project-info h3{font-size:17px}.project-card-shell .project-info p{font-size:9px}.saved-dialog{border-radius:0;padding:20px 15px}.saved-header{top:-20px;padding-top:10px}.saved-header h2{font-size:30px}.saved-toolbar{padding:13px;gap:10px}.saved-toolbar>p{flex-basis:100%;min-width:0}.saved-toolbar .button{flex:1;justify-content:center;font-size:11px;padding:10px 12px;min-width:140px}.saved-device-note{font-size:11px}.saved-grid:not(.saved-grid-compare){gap:16px}.saved-pick>img,.saved-pick>video{height:240px}.saved-share-panel{width:100%;max-width:100%;height:100dvh;max-height:100dvh;border:0;border-radius:0;margin:0;padding:22px 17px}.share-dialog-header h3{font-size:25px}.saved-share-panel #savedShareMessage{min-height:240px;max-height:50dvh}.public-filter-dialog{max-height:88dvh}.collection-tabs{max-width:100%}.collection-tabs button{font-size:11px}.public-filter-dialog .model-filters{display:grid;grid-template-columns:1fr;gap:18px}.saved-trigger{font-size:11px;gap:7px;min-height:44px;left:12px;bottom:18px}.saved-trigger>span:first-child{font-size:18px}}
@media(prefers-reduced-motion:reduce){dialog[open]{animation:none}button,input,select,textarea,.project-card-shell{transition:none}}

.project-editor-dialog>.workspace-dialog-header{position:relative}.project-editor-dialog>.editor-tabs{top:0}
