/* Thumblab V133 — photo retouching workspace */
/* The underlying editor inserts two real resize handles in columns 2 and 4.
   Preserve its five-column grid or the canvas collapses into a narrow implicit column. */
.editor-main{grid-template-columns:var(--editor-left-w,356px) 7px minmax(490px,1fr) 7px var(--editor-right-w,290px)!important}
.editor-sidebar{display:grid!important;grid-template-columns:66px minmax(0,1fr)!important;grid-template-rows:1fr!important;background:#0d0b12!important;overflow:hidden!important}
.photo-rail{grid-column:1;display:flex;flex-direction:column;gap:5px;padding:13px 7px;background:#08070c;border-right:1px solid #24202e;overflow-y:auto;scrollbar-width:none}
.photo-rail::-webkit-scrollbar{display:none}
.photo-logo{width:41px;height:41px;flex:0 0 auto;display:grid;place-items:center;margin:1px auto 14px;border-radius:13px;background:linear-gradient(145deg,#a369ff,#682bdb);color:#fff;box-shadow:0 5px 22px #8f57ff4d}
.photo-logo svg{width:22px;height:22px}
.photo-tab{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;width:100%;height:61px;flex-shrink:0;padding:5px 2px;border:1px solid transparent;background:transparent;color:#81798c;border-radius:12px;font:600 9px/1.1 Inter,Arial,sans-serif;cursor:pointer;transition:background .18s,color .18s}
.photo-tab svg{width:19px;height:19px;stroke-width:1.8}
.photo-tab.active{color:#e2ceff;background:#251631;border-color:#684296;box-shadow:inset 3px 0 #b17cff}
.photo-tab:hover:not(.active){color:#ede5f4;background:#191320}
.photo-panel{grid-column:2;min-width:0;min-height:0;overflow-y:auto;overflow-x:hidden;padding:21px 17px 35px;background:linear-gradient(180deg,#11101a,#0c0a11);scrollbar-color:#553571 transparent;scrollbar-width:thin}
.photo-panel .photo-page{display:none}
.photo-panel .photo-page.active{display:block;animation:photo-enter .18s ease-out}
@keyframes photo-enter{from{opacity:.4;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
.photo-kicker{font-size:9px;font-weight:900;letter-spacing:.17em;color:#9f73e6;text-transform:uppercase;margin-bottom:7px}
.photo-title{font-size:21px;font-weight:800;line-height:1.15;color:#f6f0ff;letter-spacing:-.035em;margin:0 0 7px}
.photo-description{font-size:11px;line-height:1.55;color:#877f92;margin:0 0 20px}
.photo-group{margin:0 0 17px;padding:14px;border:1px solid #2a2532;border-radius:16px;background:linear-gradient(150deg,#191421,#110f16)}
.photo-group-head{display:flex;align-items:center;justify-content:space-between;gap:6px;margin:0 0 14px}
.photo-group-head b{font-size:11px;color:#d4ccde;letter-spacing:.015em}
.photo-group-head span{font-size:9px;color:#725e8f}
.photo-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:12px 0 7px}
.photo-row label{font-size:11px;color:#a8a1b4;font-weight:600}
.photo-value{border:1px solid #30283b;background:#0a0810;min-width:45px;min-height:22px;padding:3px 6px;border-radius:6px;text-align:center;color:#ccb3ff;font-size:10px;font-weight:700;font-variant-numeric:tabular-nums}
.photo-slider{width:100%;height:5px;border:0;border-radius:8px;accent-color:#9e70ff;cursor:pointer}
.photo-range{margin-bottom:17px}
.photo-range:last-child{margin-bottom:0}
.photo-colors{display:grid;grid-template-columns:repeat(6,1fr);gap:7px;margin:12px 0}
.photo-swatch{width:100%;aspect-ratio:1;border-radius:9px;border:2px solid #ffffff29;cursor:pointer;transition:transform .15s}
.photo-swatch:hover{transform:scale(1.12);border-color:#fff}
.photo-buttons{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0}
.photo-button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:39px;width:100%;padding:8px;border-radius:10px;border:1px solid #342c41;background:#201928;color:#c9c0d3;font:700 10px Inter,Arial,sans-serif;cursor:pointer;transition:.18s}
.photo-button svg{width:15px;height:15px}
.photo-button:hover{border-color:#8059bf;color:#fff;background:#302039}
.photo-button.primary{border-color:#9462f1;background:linear-gradient(145deg,#9b69f4,#7437d6);color:#fff}
.photo-button.danger{color:#ed91a6;border-color:#59313f}
.photo-button.full{grid-column:1 / -1}
.photo-pill-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}
.photo-pill{border:1px solid #322a3d;border-radius:10px;background:#100d17;color:#a99ab7;padding:10px 5px;display:flex;align-items:center;justify-content:center;gap:5px;font-size:10px;font-weight:700;cursor:pointer}
.photo-pill.active{color:#e7d6ff;border-color:#8457d0;background:#332044}
.photo-pill svg{width:14px;height:14px}
.photo-field{width:100%;min-height:36px;border:1px solid #392d47;border-radius:9px;background:#0b0912;color:#e6dcef;padding:8px;font:600 11px Inter,Arial,sans-serif;outline:none}
.photo-field[type=color]{padding:3px;height:37px;min-width:44px;cursor:pointer}
.photo-upload{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:174px;border:1.5px dashed #72509b;border-radius:16px;background:linear-gradient(140deg,#231530,#16101d);cursor:pointer;text-align:center;padding:14px}
.photo-upload:hover{background:#281937;border-color:#b284ed}
.photo-upload svg{width:27px;height:27px;color:#b68cff}
.photo-upload b{font-size:13px;color:#eee2ff}
.photo-upload small{font-size:10px;color:#91829e;line-height:1.5}
.photo-hint{padding:10px 11px;border:1px solid #433253;border-radius:11px;background:#21162c;color:#b8a1d2;font-size:10px;line-height:1.55;margin:12px 0}
.photo-toolbar-badge{display:flex;align-items:center;gap:6px;color:#977ab9;font-size:10px;white-space:nowrap;margin-right:auto;padding:0 8px}
.photo-toolbar-badge svg{width:15px;height:15px;color:#ac7fff}
.photo-empty-tag{position:absolute;left:50%;top:calc(50% + 320px);transform:translateX(-50%);font-size:10px;color:#827a8b;pointer-events:none;white-space:nowrap}
.photo-cursor{position:fixed;z-index:100;pointer-events:none;border:1px solid #e8d7ff;border-radius:50%;box-shadow:0 0 0 1px #4c2f8a,0 0 12px #af7aff80;display:none;transform:translate(-50%,-50%)}
.photo-cursor.show{display:block}
.photo-status{display:flex;align-items:center;gap:6px;font-size:10px;color:#8b8392;margin:12px 0}
.photo-status i{width:6px;height:6px;background:#a779ff;border-radius:50%;box-shadow:0 0 8px #9c70ff}
.photo-separator{border:0;height:1px;background:#302638;margin:15px 0}
.photo-heading-small{font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.1em;color:#7e728c;margin:0 0 10px}
.photo-compact-line{display:flex;align-items:center;gap:9px;margin:9px 0;color:#a79eb0;font-size:10px}
.photo-compact-line input[type=checkbox]{accent-color:#9d70e6}
.photo-compact-line select{flex:1;min-width:0}
.canvas-wrap canvas.photo-canvas-mask{position:absolute;left:0;top:0;z-index:15;touch-action:none;cursor:crosshair;display:none;background:transparent!important;max-width:none}
.canvas-wrap canvas.photo-canvas-mask.active{display:block}
/* Hide the earlier marketing/thumbnail utilities; keep actual layer inspector and save/export. */
.tl93-suite,.tl110-suite,.thumb-score-fab,.tl110-overlay,.youtube-safe-zone,.composition-guide,.thumbnail-quickdock-v60,.editor-sidebar>.tool-panel,.editor-sidebar>.editor-tools,.editor-sidebar>.editor-tools-v2{display:none!important}
.editor-inspector{background:#0c0a12!important;border-color:#25202c}
.editor-inspector .inspect-head{color:#b7a4d0}
.workspace-toolbar{justify-content:flex-start!important;gap:6px;padding:0 10px;overflow-x:auto;scrollbar-width:none}
.workspace-toolbar>.mini-btn{flex:0 0 auto}
.canvas-viewport{background-color:#121018;background-image:linear-gradient(45deg,#17141d 25%,transparent 25%),linear-gradient(-45deg,#17141d 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#17141d 75%),linear-gradient(-45deg,transparent 75%,#17141d 75%);background-size:22px 22px;background-position:0 0,0 11px,11px -11px,-11px 0}
.canvas-wrap{box-shadow:0 25px 85px #000a,0 0 0 1px #ffffff25}
.canvas-wrap canvas#designCanvas{background:#fff}
@media(min-width:1081px) and (max-width:1300px){.editor-main{grid-template-columns:var(--editor-left-w,314px) 7px minmax(420px,1fr) 7px var(--editor-right-w,258px)!important}.photo-panel{padding:17px 11px 25px}}
@media(max-width:1080px){.editor-main{grid-template-columns:320px minmax(420px,1fr)!important}.editor-inspector{display:none!important}}
@media(max-width:760px){.editor-sidebar{display:grid!important;order:2!important;grid-template-columns:66px 1fr!important;grid-template-rows:460px!important;height:460px!important;min-height:460px!important}.photo-rail,.photo-panel{grid-row:1!important}.workspace{height:65dvh!important}.editor-main{display:flex!important;flex-direction:column!important}.photo-panel{overflow:auto}.photo-empty-tag{display:none}}
