@font-face{font-family:Onest;src:url(/fonts/onest-cyrillic.woff2) format("woff2");font-weight:100 900;font-display:swap;unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Onest;src:url(/fonts/onest-latin.woff2) format("woff2");font-weight:100 900;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}*{box-sizing:border-box}body{margin:0;background:#f6ecea;color:#012f46;font:17px/1.45 Onest,Arial,sans-serif}button,input,select,textarea{font:inherit}button,.file-button{cursor:pointer;border:0;border-radius:8px;background:#fff8f6;color:#012f46;padding:11px 17px;min-height:46px;font-weight:650;transition:background .15s}button:hover,.file-button:hover{background:#dce9ee}button:disabled{opacity:.45;cursor:not-allowed}button.primary{background:#ed0a3a;color:#fff}button.primary:hover{background:#c80831}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,.file-button:focus-within{outline:none}header{height:88px;background:#012f46;color:#fff;padding:0 36px;display:flex;align-items:center;justify-content:space-between}.wordmark{font-weight:850;letter-spacing:-1.7px;font-size:34px;display:flex;align-items:center;gap:12px}.wordmark svg{width:35px;height:35px}header p{margin:0;color:#dce9ee}.header-actions{display:flex;gap:10px}header button{background:transparent;color:#fff}main{max-width:1800px;margin:auto;padding:28px 36px 36px}.intro{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px;gap:20px}h1{font-size:36px;letter-spacing:-1.4px;line-height:1.1;margin:0 0 9px}p{margin:0}.intro p{color:#53656d}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:24px;align-items:start}.stage-card{background:#fff8f6;border:0;border-radius:14px;overflow:hidden}.toolbar{padding:16px 20px;display:flex;align-items:center;justify-content:space-between;gap:12px;border:0}.segmented{display:flex;gap:5px;background:#f0e7e5;padding:4px;border-radius:9px}.segmented button{border:0;background:none;padding:8px 14px;min-height:42px}.segmented button.active{background:#012f46;color:#fff}.stage-wrap{padding:24px;background:#e8e1dd}.stage{position:relative;background:#012f46;aspect-ratio:16/9;box-shadow:0 12px 28px #012f461a;border-radius:5px;overflow:hidden}canvas{display:block;width:100%;height:100%;touch-action:none;cursor:grab}canvas:active{cursor:grabbing}.stage-footer{padding:16px 20px;display:flex;justify-content:space-between;align-items:center;gap:20px;font-size:16px}.safe-label{display:flex;gap:9px;align-items:center}.dot{width:10px;height:10px;background:#16846e;border-radius:50%;flex-shrink:0}.hint{color:#526570}.add-tools{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:18px}.add-tools button,.add-tools .file-button{display:flex;justify-content:center;align-items:center;gap:10px;padding:17px 8px;background:#fff8f6}.add-tools span{font-size:24px;color:#ed0a3a}.file-input{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}.panel{background:#fff8f6;border:0;border-radius:14px;padding:22px;margin-bottom:16px}.panel h2{font-size:22px;letter-spacing:-.6px;margin:0 0 19px}.panel h3{font-size:18px;margin:20px 0 12px}.field{display:block;margin-bottom:17px}.field>span{display:block;margin-bottom:7px}.field:last-child{margin-bottom:0}input:not([type=range]):not([type=checkbox]):not([type=file]),textarea,select{width:100%;border:0;border-radius:7px;padding:11px;background:#fff;color:#012f46}textarea{resize:vertical;min-height:105px}input[type=range]{width:100%;accent-color:#ed0a3a}input[type=color]{height:46px;padding:4px!important}.row{display:flex;gap:12px}.row>*{flex:1;min-width:0}.check{display:flex;gap:9px;align-items:center}.check input{width:19px;height:19px;accent-color:#012f46}.wide{width:100%}.empty{border:0;padding:18px;border-radius:8px;color:#53656d;font-size:16px}.layers{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}.layers button{font-size:16px;min-height:40px;padding:7px 12px}.layers .active{background:#012f46;color:#fff}.bottom-note{margin-top:22px;font-size:16px;display:flex;justify-content:space-between;color:#53656d;gap:18px}.bottom-note a{color:inherit}dialog{border:0;border-radius:16px;padding:26px;width:min(1200px,94vw);background:#fff8f6;color:#012f46}dialog::backdrop{background:#001d2bdd}dialog .dialog-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}dialog h2{margin:0;font-size:26px}dialog img{width:100%;border-radius:6px}dialog p{margin-top:14px}#toast{position:fixed;bottom:26px;left:50%;transform:translate(-50%);padding:14px 24px;background:#012f46;color:#fff;border-radius:10px;z-index:10;box-shadow:0 5px 30px #0003;max-width:90vw}#toast:empty{display:none}.danger{color:#b60930}.help{font-size:16px;color:#53656d;margin:12px 0}.preview-toggle{white-space:nowrap}.panel button+button{margin-top:8px}@media(min-width:1600px){.workspace{grid-template-columns:minmax(0,1fr) 380px}.panel{padding:26px}}@media(max-width:1150px){main{padding:24px}.workspace{grid-template-columns:minmax(0,1fr) 300px}.toolbar{flex-wrap:wrap}.stage-wrap{padding:14px}.add-tools{grid-template-columns:repeat(2,1fr)}.stage-footer{flex-wrap:wrap}.intro h1{font-size:31px}header{padding:0 24px}header p{display:none}}@media(max-width:800px){header{height:auto;min-height:80px;padding:15px 18px;flex-wrap:wrap;gap:15px}.wordmark{font-size:29px}.header-actions button{font-size:16px;padding:9px 12px}.workspace{grid-template-columns:1fr}.intro{align-items:start;flex-direction:column}main{padding:24px 16px}.intro h1{font-size:32px}.toolbar{padding:12px}.segmented{width:100%}.segmented button{flex:1;font-size:16px;padding:8px}.stage-wrap{padding:10px}.stage-footer{font-size:16px}.bottom-note{flex-direction:column}.panel{padding:20px}.preview-toggle{width:100%}.add-tools{gap:8px}}.pipeline{display:grid;grid-template-columns:1fr 1fr 2fr;gap:14px;margin-bottom:18px}.pipeline>b{font-size:20px}.pipeline>button,.pipeline>.file-button,.pipeline>label:last-child{display:flex;align-items:center;gap:10px;padding:12px 16px;background:#fff8f6;border:0;border-radius:10px;font-weight:650}.pipeline b{display:flex;align-items:center;justify-content:center;border-radius:50%;background:#ffdfe6;color:#be0830;min-width:32px;height:32px}.pipeline select{flex:1;min-width:0;font-size:16px;padding:9px}.pipeline>label:last-child{flex-wrap:wrap}.pipeline>label:last-child select{flex-basis:100%}.toolbar strong{font-size:19px}@media(max-width:1050px){.pipeline{grid-template-columns:1fr 1fr}.pipeline>label:last-child{grid-column:1/-1;flex-wrap:nowrap}.pipeline>label:last-child select{flex-basis:auto}}@media(max-width:550px){.pipeline{grid-template-columns:1fr}.pipeline>label:last-child{flex-wrap:wrap}.pipeline>label:last-child select{flex-basis:100%}}header button:hover{color:#012f46}.pipeline .file-button:hover{background:#dce9ee}@font-face{font-family:Montserrat;src:url(/fonts/montserrat-variable.ttf) format("truetype");font-weight:100 900;font-display:swap}#crop-dialog{width:min(1100px,95vw);max-height:94vh;overflow:auto}.crop-toolbar{display:flex;gap:18px;align-items:end;margin-bottom:18px}.crop-toolbar label{flex:1}.crop-toolbar select{display:block;margin-top:7px}.crop-stage{display:flex;justify-content:center;padding:14px;background:#dce9ee;border-radius:9px}#crop-canvas{width:auto;height:auto;max-width:100%;max-height:48vh;object-fit:contain;touch-action:none}.crop-fields{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:18px 0}.crop-fields input{display:block;margin-top:7px}.crop-actions{display:flex;justify-content:space-between;align-items:center;gap:15px}.crop-buttons{margin:0 0 18px;display:grid;gap:8px}.crop-buttons button+button{margin:0}@media(max-width:600px){#crop-dialog{padding:18px}.crop-toolbar{align-items:stretch;flex-direction:column}.crop-fields{grid-template-columns:1fr 1fr}.crop-actions{align-items:stretch;flex-direction:column}#crop-dialog h2{font-size:23px}}#crop-dialog .dialog-head button{white-space:nowrap;flex-shrink:0}.crop-actions{position:sticky;bottom:0;padding:12px 0;background:#fff8f6}@media(max-width:600px){#crop-canvas{max-height:30vh}.crop-actions{box-shadow:0 -10px 14px #fff8f6}}#inline-text{position:absolute;z-index:2;margin:0;padding:0;border:0;border-radius:0;outline:none;background:transparent;min-height:0;max-height:none;resize:none;overflow:hidden;line-height:1.25;letter-spacing:normal;word-break:normal;overflow-wrap:normal;-webkit-hyphens:none;hyphens:none;white-space:pre-wrap;transform-origin:top left;box-shadow:none;text-shadow:0 0 6px #0007;caret-color:currentColor;font-synthesis:none}#inline-text::selection{background:#ed0a3a80;color:inherit}#inline-text:focus-visible{outline:none}.text-effects{margin:22px 0}.text-effects h3{font-size:22px}.effect-section{border:0;border-radius:9px;margin:12px 0;padding:0 14px}.effect-section summary{cursor:pointer;padding:15px 0;font-size:18px;font-weight:700}.effect-section summary span{font-size:16px;font-weight:400;display:block;margin-left:18px;color:#53656d}.effect-section .check{margin:0 0 18px}.effect-section input[type=color]{margin-bottom:4px}.effect-section .field:last-child{margin-bottom:16px}.header-actions{flex-wrap:wrap;justify-content:flex-end}.project-bar{display:flex;align-items:center;gap:14px;margin-bottom:18px;flex-wrap:wrap}.project-bar strong{font-size:20px;overflow-wrap:anywhere}.project-bar span{color:#53656d}.screen-step{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:12px 16px;background:#fff8f6;border:0;border-radius:10px;font-weight:650}.screen-step>label{width:100%}.screen-choice-row{display:flex;align-items:center;gap:8px;width:100%;min-width:0}.screen-choice-row select{flex:1;width:0;min-width:0;min-height:42px}.screen-choice-row button{flex:none;white-space:nowrap;font-size:16px;min-height:42px;padding:8px 10px}.preset-buttons{display:flex;flex-wrap:wrap;gap:8px}.preset-buttons button{font-size:16px;padding:8px 12px}.preset-tools{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:12px}#preset-canvas{aspect-ratio:16/9;height:auto;border-radius:7px;margin-bottom:20px;cursor:crosshair}.preset-fields{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.preset-fields input{margin-top:7px}.preset-actions{position:sticky;bottom:0;padding:14px 0;background:#fff8f6;text-align:right}#preset-dialog,#history-dialog{max-height:94vh;overflow:auto}#preset-error,#history-error,#project-save-error{color:#b60930;margin:12px 0}#project-save-dialog{max-width:600px}.history-toolbar{display:flex;align-items:end;gap:20px}.history-toolbar .field{flex:1;margin:0}.project-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:20px}.project-card{border:0;border-radius:12px;padding:14px;min-width:0}.project-card img{aspect-ratio:16/9;object-fit:cover}.project-card h3{font-size:21px;margin:12px 0 0;overflow-wrap:anywhere}.project-card .help{margin:8px 0 12px}.project-actions{display:flex;flex-wrap:wrap;gap:8px}.project-actions button{flex:1;font-size:16px;padding:9px 10px}.project-actions button:first-child{background:#012f46;color:#fff}dialog .dialog-head{gap:15px}dialog .dialog-head button{flex-shrink:0}@media(max-width:1050px){.screen-step{grid-column:1/-1}.project-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.header-actions{justify-content:start}.project-list{grid-template-columns:1fr}.history-toolbar{align-items:stretch;flex-direction:column}.preset-fields{grid-template-columns:1fr 1fr}#preset-dialog,#history-dialog{padding:18px}.preset-tools button{flex:1}.dialog-head h2{font-size:23px}}.screen-step>label{display:flex;align-items:center;gap:12px}#preset-canvas{max-width:min(100%,80vh);margin-left:auto;margin-right:auto}.screen-step .preset-buttons{width:100%}.preset-buttons:not(:has(button:not([hidden]))){display:none}.preset-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:22px;align-items:start}.preset-layout #preset-canvas{max-width:100%;margin:0}.preset-layout .preset-fields{grid-template-columns:1fr 1fr}.preset-layout .help{font-size:16px}@media(max-width:800px){.preset-layout{grid-template-columns:1fr}.preset-layout #preset-canvas{margin-bottom:8px}}.effect-section{padding:14px}.effect-section h4{font-size:19px;margin:0 0 12px}.effect-section .check,.effect-section .field{margin-bottom:12px}.text-effects{margin-top:18px}#inspector #text-content{min-height:74px;height:74px}.stage-wrap{display:flex;justify-content:center}.stage{width:100%;flex-shrink:0}.workspace>aside{position:sticky;top:12px;max-height:var(--sidebar-height, calc(100dvh - 24px) );overflow-y:auto;overscroll-behavior-y:contain;scrollbar-width:thin;scrollbar-gutter:stable}.workspace aside input,.workspace aside select,.workspace aside textarea{scroll-margin-block:20px}@media(max-width:800px){.workspace>aside{position:static;max-height:none;overflow:visible;overscroll-behavior:auto;scrollbar-gutter:auto}.stage-wrap{padding:8px}.stage-card .toolbar{padding:8px 12px}.stage-card .toolbar strong{font-size:17px}.stage-card .preview-toggle{width:auto;min-height:36px;padding:5px 9px;font-size:16px}.stage-footer{padding:8px 12px;gap:8px}.workspace{gap:14px}.bottom-note{margin:0 0 10px}}.login-page{min-height:100dvh;display:grid;place-items:center;padding:24px}.login-page form{width:min(440px,100%);padding:32px;background:#fff8f6;border:0;border-radius:16px}.login-page h1{font-size:32px;margin:0 0 28px}.login-page .field{margin-bottom:22px}#login-error,#users-error,#user-error{color:#b60930;margin:14px 0}.account-bar{display:flex;gap:16px;align-items:center;padding:14px 36px;background:#e8e1dd;flex-wrap:wrap}.account-bar>span:first-child{font-weight:700}.account-bar>span:nth-child(2){color:#53656d}.account-bar button{font-size:16px;min-height:40px;padding:8px 12px}.account-bar #logout{margin-left:auto}#users-dialog{max-height:90dvh;overflow:auto}#user-dialog{max-width:760px;max-height:94dvh;overflow:auto}.users-toolbar{margin-bottom:20px}.user-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 0;border:0}.user-row strong{font-size:21px}.user-row p{margin-top:6px;color:#53656d}.user-fields{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.user-actions{display:flex;flex-wrap:wrap;gap:10px;position:sticky;bottom:0;background:#fff8f6;padding:12px 0}#user-dialog h3{font-size:22px;margin:24px 0 14px}@media(max-width:600px){.account-bar{padding:14px 18px;gap:10px}.account-bar #logout{margin-left:0}.user-fields{grid-template-columns:1fr}.login-page form{padding:24px}.user-row{align-items:start}.user-row p{font-size:16px}}*:focus{outline:none}input:not([type=range]):not([type=checkbox]):not([type=file]):focus-visible,textarea:not(#inline-text):focus-visible,select:focus-visible{background:#e5eff3}button:focus-visible,.file-button:focus-within{background:#dce9ee;color:#012f46}button.primary:focus-visible{background:#ac062a;color:#fff}header button:focus-visible,.layers button.active:focus-visible,.project-actions button:first-child:focus-visible{background:#245c72;color:#fff}#inline-text:focus-visible{background:transparent}input[type=color]::-webkit-color-swatch-wrapper{padding:0}input[type=color]::-webkit-color-swatch{border:0;border-radius:4px}input[type=color]::-moz-color-swatch{border:0;border-radius:4px}input[type=checkbox]{appearance:none;display:grid;place-content:center;flex-shrink:0;width:19px;height:19px;background:#e0e8eb;border:0;border-radius:4px;cursor:pointer}input[type=checkbox]:checked{background:#012f46}input[type=checkbox]:checked:after{content:"✓";font-size:16px;line-height:1;color:#fff;font-weight:800}input[type=checkbox]:focus-visible{background:#477b90}input[type=range]{appearance:none;background:transparent;height:22px;cursor:pointer}input[type=range]::-webkit-slider-runnable-track{height:6px;background:#dce5e9;border-radius:6px;border:0}input[type=range]::-webkit-slider-thumb{appearance:none;width:16px;height:16px;border-radius:50%;background:#ed0a3a;border:0;margin-top:-5px}input[type=range]::-moz-range-track{height:6px;background:#dce5e9;border-radius:6px;border:0}input[type=range]::-moz-range-thumb{width:16px;height:16px;border-radius:50%;background:#ed0a3a;border:0}input[type=range]:focus-visible::-webkit-slider-runnable-track{background:#9bbdc9}input[type=range]:focus-visible::-moz-range-track{background:#9bbdc9}header{height:auto;min-height:80px;padding:14px 24px;gap:16px;flex-wrap:wrap}header .wordmark{font-size:28px;letter-spacing:-1px;gap:8px}header .wordmark svg{width:30px;height:30px}header .header-actions{margin-left:auto;gap:4px}header button{font-size:16px;padding:9px 10px;min-height:40px;white-space:nowrap}header .account-bar{padding:0;background:transparent;gap:8px;flex-wrap:nowrap;color:#fff}header .account-bar>span:first-child{max-width:180px;overflow-wrap:anywhere}header .account-bar #logout{margin-left:0}#new-project-dialog{max-width:650px}#new-project-dialog .field{margin:24px 0 0}#new-project-error{color:#b60930}.new-project-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}@media(max-width:800px){header{padding:16px;gap:12px}header .header-actions{order:3;width:100%;margin-left:0;justify-content:flex-start;gap:6px}header .account-bar{margin-left:auto;flex-wrap:wrap;justify-content:flex-end}header .account-bar>span:first-child{max-width:130px}header .wordmark{font-size:25px}#new-project-dialog{padding:22px}.new-project-actions{flex-direction:column}.new-project-actions button{width:100%}}#qr-dialog,#logo-replace-dialog{max-width:600px}#qr-error,#logo-replace-error{color:#b60930;margin:16px 0}#logo-replace-preview{display:block;width:100%;height:190px;object-fit:contain;background:#e5eff3;padding:16px;margin:18px 0}#logo-replace-dialog .file-button{display:inline-flex;align-items:center}#logo-replace-apply{display:block;margin-top:18px}header .account-bar{position:relative;background:#16465b;border-radius:10px;padding:3px 8px;margin-left:10px;gap:6px}.account-menu{position:relative}.account-dropdown{display:none;position:absolute;right:0;top:100%;min-width:150px;padding:10px;background:#fff8f6;border-radius:10px;box-shadow:0 12px 30px #001d2b33;z-index:20}.account-menu.open .account-dropdown{display:block}header .account-dropdown button{color:#012f46;width:100%;text-align:left}#account-name{max-width:220px;overflow:hidden;text-overflow:ellipsis}.history-tabs{display:flex;gap:8px;margin:20px 0 12px}.history-tabs .active{background:#012f46;color:#fff}#save-as-template{margin-left:10px}#templates-error{color:#b60930}#templates-dialog{max-height:90dvh;overflow:auto}.project-card img:not([src]),.project-card img[src=""]{display:none}@media(max-width:800px){header .account-bar{margin-left:auto}#save-as-template{margin:10px 0 0}#account-name{max-width:170px}}@media(min-width:1151px){header{padding-left:20px;padding-right:20px;gap:10px}header .header-actions{flex-wrap:nowrap;gap:0}header .header-actions button{padding:9px 7px}header .account-bar{margin-left:4px}#account-name{max-width:155px}}header #account-name:hover{background:#2c5f74;color:#fff}#blur-dialog{width:min(1300px,96vw);max-height:94vh;overflow:auto}.blur-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:24px;align-items:start}#blur-canvas{display:block;max-width:100%;max-height:65vh;width:auto;height:auto;touch-action:none;cursor:crosshair;margin:auto}.blur-settings .field{margin-bottom:16px}.blur-settings output{font-weight:700}@media(max-width:760px){.blur-layout{grid-template-columns:1fr}#blur-canvas{max-height:45vh}.blur-settings{display:grid;grid-template-columns:1fr 1fr;gap:12px}}.collection-context,.collection-toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:0 0 20px}.collection-context{background:#e1eaed;padding:12px 18px;border-radius:12px}.collection-context #current-collection{font-weight:700;margin-right:auto;text-align:left}#collections-dialog{width:min(1280px,96vw);max-height:94vh;overflow:auto}#collections-content input[type=search]{width:100%;margin:12px 0 20px}.collection-toolbar input{flex:1;min-width:180px}.collection-toolbar .active{background:#012f46;color:#fff}.collection-card{padding:24px;background:#fff}.collection-card h3{font-size:24px}.collection-card p{overflow-wrap:anywhere}.media-folders{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:12px;margin-bottom:20px}.media-folder{background:#e1eaed;padding:12px;border-radius:12px}.media-folder>button:first-child{display:block;font-size:20px;width:100%;text-align:left}.media-folder>button:not(:first-child){padding:8px;font-size:16px}.media-grid .project-card img{object-fit:contain;background:repeating-conic-gradient(#e4e7e8 0% 25%,#fff 0% 50%) 50% / 20px 20px;height:180px}#collection-settings,.collection-form{width:min(680px,94vw)}.media-preview{padding:0!important;width:100%;background:transparent!important;display:block}.media-preview-dialog{width:min(1300px,95vw)}.media-preview-dialog>img{display:block;max-width:100%;max-height:75vh;object-fit:contain;margin:auto}.effect-section{padding:0;background:#f0e7e5}.effect-section summary{display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;padding:14px;font-size:19px;min-height:52px;border-radius:9px}.effect-section summary::-webkit-details-marker{display:none}.effect-section summary::marker{content:""}.effect-section summary .effect-title{font:inherit;color:inherit;margin:0}.effect-section summary .effect-toggle{display:grid;place-items:center;flex:none;width:28px;height:28px;margin:0;border-radius:50%;background:#fff8f6;color:#012f46;font-size:24px;line-height:1;font-weight:500}.effect-toggle:before{content:"+"}.effect-section[open] .effect-toggle:before{content:"−"}.effect-section summary:hover,.effect-section summary:focus-visible{background:#dce9ee;outline:none}.effect-controls{padding:4px 14px 14px}#collections-dialog #collections-description{margin:0 0 24px;line-height:1.5}#collections-dialog #collections-description:empty{display:none}.media-commands{gap:12px;margin-bottom:24px;padding:18px;background:#e1eaed;border-radius:12px}.media-commands button:not(.primary){background:#fff}.media-breadcrumbs{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:0 0 28px}.media-breadcrumbs button{background:transparent;padding:8px 0;min-height:44px;text-align:left;overflow-wrap:anywhere}.media-breadcrumbs span{color:#657780}.media-section-title{font-size:22px;margin:0 0 16px}.media-folders{grid-template-columns:repeat(auto-fill,minmax(min(100%,320px),1fr));gap:18px;margin:0 0 32px}.media-folder{display:flex;flex-direction:column;gap:18px;padding:20px;background:#fff;border-radius:14px;min-width:0}.media-folder>button:first-child{padding:14px;background:#e1eaed;min-height:64px;overflow-wrap:anywhere;line-height:1.35}.media-folder-actions{display:flex;flex-wrap:wrap;gap:12px}.media-folder-actions button{min-height:44px;padding:10px 14px;font-size:16px;background:#f5eeeb}.media-folder-actions button:last-child{color:#b60930}.media-file-heading{display:flex;gap:20px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-bottom:20px}.media-file-heading h3{margin:0}.media-file-heading input{width:min(100%,520px);min-width:0;flex:1 1 240px;max-width:520px}.media-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,320px),1fr));gap:22px;margin-top:0}.media-grid .project-card{background:#fff;padding:18px;display:flex;flex-direction:column;border-radius:14px}.media-grid .project-card img{display:block;width:100%;height:210px;object-fit:contain;background:repeating-conic-gradient(#536773 0% 25%,#657a85 0% 50%) 50% / 20px 20px;border-radius:10px}.media-grid .project-card h3{margin:18px 0 0;font-size:20px;line-height:1.4}.media-grid .project-card .help{margin:8px 0 20px}.media-grid .project-actions{display:flex;flex-direction:column;gap:16px;margin-top:auto}.media-use-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px}.media-file-actions{display:flex;flex-wrap:wrap;gap:10px}.media-grid .project-actions button{min-height:44px;padding:10px 12px;font-size:16px;line-height:1.35}.media-use-actions button{background:#012f46;color:#fff}.media-grid .media-file-actions button{flex:1 1 auto;background:#f5eeeb;color:#012f46}.media-grid .media-file-actions button.danger{color:#b60930}.media-grid .empty{grid-column:1/-1;padding:28px;background:#fff;border-radius:12px;margin:0}@media(max-width:650px){.media-commands{padding:14px}.media-commands button{flex:1 1 160px}.media-file-heading{align-items:stretch;gap:14px}.media-file-heading h3{width:100%}.media-file-heading input{width:100%;max-width:none}.media-folder,.media-grid .project-card{padding:16px}.media-folders,.media-grid{grid-template-columns:minmax(0,1fr)}}@media(max-width:650px){#collections-dialog{padding:18px}#collections-dialog .collection-detail-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}#collections-dialog .collection-detail-tabs button{min-width:0;padding:10px;font-size:16px;white-space:normal}#collections-dialog .dialog-head{align-items:flex-start}}input[type=range]{--range-fill:0%;appearance:none;-webkit-appearance:none;display:block;width:100%;height:44px;margin:0;padding:0;border:0;border-radius:0;background:transparent;cursor:pointer;accent-color:#ed0a3a;outline:none}input[type=range]::-webkit-slider-runnable-track{height:7px;border:0;border-radius:999px;background:linear-gradient(to right,#ed0a3a 0 var(--range-fill),#dce7eb var(--range-fill) 100%)}input[type=range]::-moz-range-track{height:7px;border:0;border-radius:999px;background:#dce7eb}input[type=range]::-moz-range-progress{height:7px;border:0;border-radius:999px;background:#ed0a3a}input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:22px;height:22px;margin-top:-7.5px;border:0;border-radius:50%;background:#ed0a3a;box-shadow:0 3px 8px #012f4626;transition:background .15s,transform .15s}input[type=range]::-moz-range-thumb{width:22px;height:22px;border:0;border-radius:50%;background:#ed0a3a;box-shadow:0 3px 8px #012f4626;transition:background .15s,transform .15s}input[type=range]:hover::-webkit-slider-thumb,input[type=range]:focus-visible::-webkit-slider-thumb{background:#012f46;transform:scale(1.12)}input[type=range]:hover::-moz-range-thumb,input[type=range]:focus-visible::-moz-range-thumb{background:#012f46;transform:scale(1.12)}input[type=range]:active::-webkit-slider-thumb{transform:scale(1.2)}input[type=range]:active::-moz-range-thumb{transform:scale(1.2)}input[type=range]:disabled{opacity:.4;cursor:default}.field output{color:#012f46;font-weight:650;font-variant-numeric:tabular-nums;white-space:nowrap}.text-size-row{align-items:flex-start;gap:18px}.text-size-row>.field:first-child{flex:3}.text-size-row>.field:last-child{flex:1;min-width:64px}.text-size-row .field>span{display:flex;justify-content:space-between;gap:8px}.text-size-row input[type=color]{height:44px}#layer-list{display:flex;flex-direction:column;gap:8px}.layer-row{display:flex;align-items:center;gap:4px;padding:5px;background:#e4edef;border-radius:10px}.layer-row.active{background:#c9dce3}.layer-row .layer-select{flex:1;min-width:0;text-align:left;background:transparent;font-size:17px;padding:8px}.layer-row button{min-width:36px;min-height:40px;padding:6px;background:transparent;font-size:22px}.layer-row .layer-eye{display:flex;align-items:center;justify-content:center}.layer-row.is-hidden .layer-select{opacity:.5}.layer-row button:hover{background:#fff8f6}.panel .layer-row button+button{margin-top:0}.layer-row .layer-select{display:flex;align-items:center;gap:5px;cursor:grab;touch-action:pan-y;padding-left:2px}.layer-select>svg{width:14px;flex:none;opacity:.6}.layer-select>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.layer-row button:not(.layer-select){min-width:34px;padding:5px}.layer-row .layer-delete{color:#a90830}.layer-row.dragging{opacity:.4}.layer-row.drop-above{box-shadow:0 -3px #ed0a3a}.layer-row.drop-below{box-shadow:0 3px #ed0a3a}.add-tools{grid-template-columns:repeat(5,1fr)}#add-gradient[aria-pressed=true]{background:#012f46;color:#fff}@media(max-width:1150px){.add-tools{grid-template-columns:repeat(2,1fr)}}.gradient-presets{display:flex;gap:8px;margin:0 0 18px}.gradient-presets button{flex:1;padding:9px 8px}.panel .gradient-presets button+button{margin-top:0}
