*{box-sizing:border-box}
.artist-editor-page{background:#f5f5f1;color:#111}
.artist-editor-shell{max-width:1500px;margin:0 auto;padding:clamp(34px,5vw,70px) clamp(16px,4vw,60px) 100px}
.artist-editor-head{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:34px}
.artist-editor-head h1{font-size:clamp(46px,6vw,82px);line-height:.92;letter-spacing:-.065em;margin:4px 0 16px;max-width:760px}
.artist-editor-head h1 span{color:#9b9a95}
.artist-editor-head p{max-width:640px;margin:0;color:#656159;font-size:17px;line-height:1.6}
.editor-primary,.editor-save{border:0;border-radius:999px;background:#111;color:#fff;text-decoration:none;font-weight:750;padding:14px 20px;white-space:nowrap;cursor:pointer}
.editor-notice{padding:14px 16px;border-radius:14px;margin:0 0 18px;font-size:14px}.editor-notice.success,.editor-notice.welcome{background:#e8f2eb;color:#315640}.editor-notice.error{background:#f7e8e5;color:#8a3b30}
.artist-live-editor{display:grid;grid-template-columns:330px minmax(0,1fr);gap:24px;align-items:start}
.editor-controls{display:grid;gap:12px;position:sticky;top:92px;max-height:calc(100vh - 110px);overflow:auto;padding-right:4px}
.editor-card{background:#fff;border:1px solid #e5e3dc;border-radius:18px;padding:16px;display:grid;gap:12px}
.editor-label{font-size:10px;letter-spacing:.15em;font-weight:800;color:#8a4740}
.editor-card label{display:grid;gap:6px;font-size:12px;color:#66625c}.editor-card input[type=text],.editor-card input:not([type]){width:100%;border:1px solid #dedbd3;border-radius:11px;background:#fff;padding:11px 12px;color:#111}.socials-editor input{font-size:12px}
.file-drop{position:relative;border:1px dashed #ccc8bf;border-radius:14px;padding:14px;background:#faf9f5;cursor:pointer}.file-drop input{position:absolute;inset:0;opacity:0;cursor:pointer}.file-drop span{font-size:13px;color:#272622;font-weight:700}.file-drop small{display:block;margin-top:3px;color:#8b877e}.file-drop.compact{padding:12px}
.position-controls{display:grid;grid-template-columns:1fr 1fr;gap:10px}.position-controls input{width:100%}
.layout-list{display:grid;gap:7px}.layout-row{display:grid;grid-template-columns:1fr 34px 34px;gap:6px;align-items:center;padding:8px 9px;background:#f7f6f2;border-radius:11px}.layout-row span{font-size:13px;font-weight:700}.layout-row button{width:34px;height:32px;border:1px solid #dedbd3;background:#fff;border-radius:8px;cursor:pointer}
.editor-card small{color:#8a867f;line-height:1.45}.text-danger{padding:0;border:0;background:transparent;text-align:left;color:#9a463c;font-size:12px;cursor:pointer}.editor-save{width:100%;font-size:14px;padding:15px}
.profile-template-preview{background:#fff;border:1px solid #e4e2dc;border-radius:26px;padding:clamp(22px,4vw,48px);min-width:0;box-shadow:0 20px 50px rgba(0,0,0,.035)}
.profile-preview-top{display:flex;justify-content:space-between;align-items:center;gap:20px;padding-bottom:22px;border-bottom:1px solid #efede7;color:#8a867f;font-size:11px}.profile-preview-top .eyebrow{margin:0}
.preview-artist-hero{display:grid;grid-template-columns:minmax(170px,250px) minmax(0,1fr);gap:clamp(28px,5vw,72px);align-items:start;padding:48px 0 46px}
.preview-photo{width:100%;aspect-ratio:1;background:#efeee8;overflow:hidden;display:grid;place-items:center;font-size:80px;color:#656159}.preview-photo img{width:100%;height:100%;object-fit:cover;object-position:var(--profile-photo-x,50%) var(--profile-photo-y,50%);transform:scale(1.12);transform-origin:var(--profile-photo-x,50%) var(--profile-photo-y,50%);transition:object-position .08s linear,transform-origin .08s linear}.preview-photo img[src=""]{display:none}.preview-artist-copy h2{font-size:clamp(48px,6vw,86px);line-height:.93;letter-spacing:-.065em;margin:6px 0 8px;outline:none}.preview-artist-copy h2:focus{background:#fbfaf5;box-shadow:0 0 0 6px #fbfaf5}.preview-city{margin:0 0 22px;color:#8a867e}.preview-block{position:relative;padding:14px 0}.preview-bio{max-width:720px;font-size:17px;line-height:1.7;color:#4c4944;outline:none;white-space:pre-wrap}.preview-bio:focus{background:#fbfaf5;box-shadow:0 0 0 6px #fbfaf5}.preview-video-button{display:inline-flex;align-items:center;gap:9px;border:0;background:transparent;padding:0;color:#3d3a36;font-weight:700}.preview-socials{display:flex;gap:7px;flex-wrap:wrap}.preview-socials span{padding:7px 10px;border:1px solid #ddd9d0;border-radius:999px;font-size:11px;background:#fff;color:#504c46}
.preview-works{border-top:1px solid #efede7;padding-top:28px}.preview-section-head{display:flex;justify-content:space-between;font-size:11px;letter-spacing:.12em;color:#77736c;margin-bottom:18px}.preview-work-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.preview-work-grid article{position:relative;display:grid;gap:9px}.preview-work-image{background:#f0efe9;aspect-ratio:4/5;overflow:hidden}.preview-work-image img{width:100%;height:100%;object-fit:cover}.preview-work-grid strong{display:block;font-size:14px}.preview-work-grid span{display:block;color:#858078;font-size:11px}.preview-work-grid article>a{position:absolute;right:6px;top:6px;background:rgba(255,255,255,.92);border-radius:999px;padding:6px 9px;font-size:10px;font-weight:800;text-decoration:none;color:#222}.preview-video{margin-top:6px!important;display:inline-flex!important;align-items:center;gap:5px;color:#4c4944!important}.preview-video i{width:20px;height:20px;border:1px solid #d5d1c8;border-radius:50%;display:grid;place-items:center;font-style:normal;font-size:7px}.preview-empty{padding:34px;border:1px dashed #d7d3ca;border-radius:16px;color:#77736b;text-align:center}.preview-empty a{color:#111;font-weight:700}

@media(max-width:1050px){.artist-live-editor{grid-template-columns:1fr}.editor-controls{position:static;max-height:none;grid-template-columns:repeat(2,minmax(0,1fr))}.editor-save{grid-column:1/-1}.profile-template-preview{grid-row:1}.artist-live-editor .editor-controls{grid-row:2}}
@media(max-width:760px){.artist-editor-head{align-items:flex-start;flex-direction:column}.artist-editor-head h1{font-size:clamp(46px,14vw,68px)}.artist-live-editor{gap:14px}.profile-template-preview{padding:16px;border-radius:20px}.profile-preview-top span:last-child{display:none}.preview-artist-hero{grid-template-columns:1fr;gap:22px;padding:30px 0}.preview-photo{width:min(64vw,230px)}.preview-artist-copy h2{font-size:clamp(46px,14vw,70px)}.preview-work-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.editor-controls{grid-template-columns:1fr}.editor-save{grid-column:auto}.position-controls{grid-template-columns:1fr 1fr}.topbar nav a:not(:last-child){display:inline}}
.work-live-editor .editor-controls{align-self:start}.work-template-preview{min-height:700px}.work-preview-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);gap:clamp(28px,5vw,64px);padding:44px 0}.work-preview-photo{background:#f0efe9;min-height:520px;display:flex;align-items:center;justify-content:center;color:#999}.work-preview-photo img{display:block;width:100%;height:auto;max-height:680px;object-fit:contain;background:#fff}.work-preview-copy h2{font-size:clamp(48px,5vw,76px);line-height:.94;letter-spacing:-.06em;margin:8px 0 12px;outline:none}.work-preview-copy h2:focus,.work-preview-story:focus{background:#fbfaf5;box-shadow:0 0 0 6px #fbfaf5}.work-preview-artist{font-weight:700;margin:0 0 18px}.work-preview-story{min-height:110px;white-space:pre-wrap;color:#55514b;line-height:1.65;outline:none}.video-ready{display:flex;align-items:center;gap:8px;font-size:12px;color:#5d5953}.media-library{border-top:1px solid #efede7;padding-top:28px}.media-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.media-grid article{border:1px solid #e6e3dc;background:#fff;padding:8px}.media-grid img{width:100%;aspect-ratio:1;object-fit:cover}.media-grid article>div{display:flex;justify-content:space-between;align-items:center;gap:8px;padding-top:7px;font-size:10px}.media-actions{display:flex;gap:4px}.media-actions button{border:1px solid #dedbd3;background:#fff;border-radius:999px;padding:5px 7px;font-size:9px;cursor:pointer}.media-actions .danger{color:#95443a}.work-template-preview .preview-video-button{margin-top:22px}
@media(max-width:820px){.work-preview-layout{grid-template-columns:1fr;padding:28px 0}.work-preview-photo{min-height:0}.work-preview-photo img{max-height:62vh}.media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.messages-shell{max-width:1200px;margin:0 auto;padding:clamp(38px,5vw,72px) clamp(16px,4vw,58px) 100px}.messages-shell .artist-editor-head{max-width:800px}.messages-list{display:grid;gap:12px}.message-card{display:grid;grid-template-columns:92px minmax(0,1fr) auto;gap:18px;padding:16px;background:#fff;border:1px solid #e5e2da;border-radius:18px;align-items:start}.message-card.is-hidden{opacity:.58}.message-work{width:92px;aspect-ratio:1;background:#eeede8;overflow:hidden}.message-work img{width:100%;height:100%;object-fit:cover}.message-body{min-width:0}.message-meta{display:flex;justify-content:space-between;gap:16px;font-size:10px;color:#8b877f;text-transform:uppercase;letter-spacing:.08em}.message-body h2{font-size:16px;margin:8px 0 6px}.message-body>p{margin:0;color:#4f4b45;line-height:1.55;font-size:14px}.message-reply-current{margin-top:12px;padding:10px 12px;background:#f6f5f0;border-left:2px solid #111}.message-reply-current strong{font-size:11px}.message-reply-current p{margin:4px 0 0;font-size:13px;color:#56514b}.message-reply-form{display:flex;gap:8px;margin-top:12px}.message-reply-form textarea{flex:1;min-height:58px;resize:vertical;border:1px solid #dedbd2;border-radius:12px;padding:10px;font:inherit;font-size:12px}.message-reply-form button,.message-actions button{border:1px solid #ddd9d0;background:#fff;border-radius:999px;padding:9px 12px;font-size:11px;font-weight:700;cursor:pointer}.message-actions form{display:flex;gap:6px}.message-actions .danger{color:#9a453b}.messages-empty{padding:40px;background:#fff;border:1px solid #e5e2da;border-radius:18px}.messages-empty h2{margin:0 0 8px}.messages-empty p{margin:0;color:#77736c}.messages-shell .artist-editor-head h1{font-size:clamp(52px,7vw,88px)}
@media(max-width:760px){.message-card{grid-template-columns:64px 1fr}.message-work{width:64px}.message-actions{grid-column:1/-1}.message-reply-form{flex-direction:column}.message-meta{flex-direction:column;gap:3px}}
.artist-dashboard-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 26px}.dashboard-summary-card{display:grid;gap:5px;padding:18px;background:#fff;border:1px solid #e5e2da;border-radius:18px;text-decoration:none;color:#111}.dashboard-summary-card>span{font-size:10px;letter-spacing:.13em;color:#8b4740;font-weight:800}.dashboard-summary-card strong{font-size:21px;letter-spacing:-.03em}.dashboard-summary-card small{color:#858078}.artist-dashboard .lda-nav nav{display:flex;align-items:center;gap:14px}.artist-dashboard .lda-nav nav a{color:inherit;text-decoration:none}
@media(max-width:760px){.artist-dashboard-summary{grid-template-columns:1fr}.artist-dashboard .lda-nav nav span{display:none}.artist-dashboard .lda-nav nav{gap:9px;flex-wrap:wrap}}
\n\n/* =========================================================\n   RESPUESTAS · CONTROLES MINIMALISTAS\n   Lápiz = editar / X = eliminar respuesta / ojo = ocultar\n========================================================= */\n.message-card{grid-template-columns:92px minmax(0,1fr)!important}\n.message-actions{display:none!important}\n.message-reply-zone{margin-top:14px;padding-top:12px;border-top:1px solid #efede7}\n.message-reply-label{display:flex;align-items:center;gap:8px;margin-bottom:7px;color:#858078;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}\n.message-reply-label em{font-style:normal;color:#9a463c;background:#f7ebe8;border-radius:999px;padding:3px 7px;letter-spacing:.04em}\n.message-reply-editor-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:start}\n.message-reply-form{display:grid!important;gap:7px!important;margin:0!important;min-width:0}\n.message-reply-form textarea{width:100%;min-height:62px!important;resize:vertical;border:1px solid #dedbd2!important;border-radius:13px!important;background:#fbfaf7!important;padding:11px 12px!important;font:inherit!important;font-size:13px!important;line-height:1.5;color:#45413c;transition:border-color .2s ease,background .2s ease,box-shadow .2s ease}\n.message-reply-form textarea[readonly]{resize:none;cursor:default;background:#f7f6f2!important;color:#55514b}\n.message-reply-form textarea:focus{outline:none;border-color:#aaa59c!important;background:#fff!important;box-shadow:0 0 0 3px rgba(17,17,17,.035)}\n.reply-save{justify-self:start;border:0!important;background:#111!important;color:#fff!important;border-radius:999px!important;padding:8px 13px!important;font-size:10px!important;font-weight:800!important;letter-spacing:.02em;cursor:pointer}\n.reply-save[hidden]{display:none!important}\n.message-inline-tools{display:flex;align-items:center;gap:5px;padding-top:3px}\n.message-icon-form{margin:0;padding:0;display:block}\n.message-icon-btn{width:34px;height:34px;display:grid;place-items:center;border:1px solid #dedbd2;background:#fff;border-radius:50%;padding:0;cursor:pointer;color:#4f4b45;transition:transform .18s ease,border-color .18s ease,background .18s ease,color .18s ease}\n.message-icon-btn svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}\n.message-icon-btn:hover{transform:translateY(-1px);border-color:#bcb7ad;background:#faf9f5;color:#111}\n.message-icon-btn.danger{color:#9a463c}\n.message-icon-btn.danger:hover{background:#fbf2f0;border-color:#e4c7c1}\n.message-icon-btn.is-muted{color:#a09b93;background:#f4f2ed}\n.message-reply-zone.is-editing .message-reply-form textarea{background:#fff!important}\n@media(max-width:760px){\n  .message-card{grid-template-columns:64px minmax(0,1fr)!important}\n  .message-reply-zone{grid-column:1/-1}\n  .message-reply-editor-row{grid-template-columns:minmax(0,1fr) auto;gap:7px}\n  .message-inline-tools{flex-direction:column}\n  .message-icon-btn{width:32px;height:32px}\n}\n
/* =========================================================
   VISTA 360° · EDITAR OBRA
   Mantiene intacta la vista previa y la foto principal.
========================================================= */
.editor-360-card{display:grid;gap:9px}
.editor-360-card .editor-label{margin-bottom:0}
.editor-360-state{font-size:11px;color:#817c74;line-height:1.45}
.editor-360-buttons{display:flex;gap:7px;flex-wrap:wrap}
.editor-360-buttons button{border:1px solid #d9d4cb;background:#fff;color:#222;border-radius:999px;padding:9px 11px;font:800 10px/1 Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;cursor:pointer}
.editor-360-buttons button.primary{background:#111;color:#fff;border-color:#111}
.editor-360-buttons button.danger{color:#994038}
.lda360-editor-modal{position:fixed;inset:0;z-index:160;display:none;place-items:center;padding:18px;background:rgba(25,24,22,.34);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.lda360-editor-modal.open{display:grid}
.lda360-editor-card{position:relative;width:min(980px,100%);max-height:calc(100dvh - 36px);overflow:auto;background:#fff;border:1px solid rgba(20,20,20,.08);border-radius:18px;box-shadow:0 28px 90px rgba(0,0,0,.19);padding:16px}
.lda360-editor-head{display:flex;justify-content:space-between;gap:24px;padding:8px 44px 18px 6px}
.lda360-editor-head span{display:block;font-size:10px;font-weight:800;letter-spacing:.13em;color:#77736d;margin-bottom:6px}
.lda360-editor-head h2{font-size:30px;line-height:1.05;letter-spacing:-.035em;margin:0}
.lda360-editor-head p{margin:8px 0 0;color:#77736d;font-size:13px;line-height:1.5}
.lda360-editor-close{position:absolute;right:16px;top:16px;width:36px;height:36px;border:1px solid #ddd8cf;border-radius:50%;background:#fff;font-size:23px;line-height:1;cursor:pointer}
.lda360-editor-stage{min-height:390px;background:#f4f2ed;display:grid;place-items:center;overflow:hidden}
.lda360-editor-stage:empty::before{content:'Selecciona las fotografías que rodean la obra';color:#858078;font-size:13px}
.lda360-editor-toolbar{display:flex;gap:8px;flex-wrap:wrap;align-items:center;padding:14px 2px 0}
.lda360-editor-toolbar button{border:1px solid #d3cec5;background:#fff;color:#111;border-radius:999px;padding:10px 13px;font:800 10px/1 Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;cursor:pointer}
.lda360-editor-toolbar button.primary{background:#111;color:#fff;border-color:#111;margin-left:auto}
.lda360-editor-toolbar button.danger{color:#994038}
.lda360-editor-toolbar button:disabled{opacity:.45;cursor:default}
.lda360-editor-status{padding:11px 2px 0;color:#6d6b67;font-size:12px;line-height:1.45}
.lda360-progress{height:5px;background:#ece9e2;margin-top:10px;overflow:hidden}
.lda360-progress i{display:block;width:0;height:100%;background:#111;transition:width .18s ease}
.lda360-local{position:relative;width:100%;height:min(64vw,590px);min-height:390px;overflow:hidden;background:#fff;touch-action:pan-y;cursor:ew-resize;outline:none}
.lda360-local img{width:100%;height:100%;object-fit:contain;display:block;user-select:none;-webkit-user-drag:none}
.lda360-local-badge{position:absolute;left:14px;top:14px;border:1px solid rgba(20,20,20,.09);border-radius:999px;background:rgba(255,255,255,.88);padding:8px 10px;font-size:10px;font-weight:800;letter-spacing:.08em}
.lda360-local-hint{position:absolute;left:50%;bottom:16px;transform:translateX(-50%);background:rgba(255,255,255,.9);border:1px solid rgba(20,20,20,.08);border-radius:999px;padding:8px 11px;color:#55514a;font-size:11px;white-space:nowrap}
.lda360-remote-wrap{width:100%;background:#fff}.lda360-remote-wrap arte-360{display:block;width:100%;--arte360-max-height:590px}
@media(max-width:620px){.lda360-editor-modal{padding:7px}.lda360-editor-card{max-height:calc(100dvh - 14px);padding:10px;border-radius:14px}.lda360-editor-head{padding:8px 38px 14px 4px}.lda360-editor-head h2{font-size:24px}.lda360-editor-stage,.lda360-local{min-height:300px;height:62vw}.lda360-editor-toolbar button.primary{margin-left:0;width:100%}}

/* =========================================================
   OBRA NUEVA / EDITAR OBRA · PLANTILLAS + VALOR ESTIMADO
========================================================= */
.editor-head-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.editor-secondary{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:11px 16px;border:1px solid #d9d5cc;border-radius:999px;background:#fff;color:#47433e;text-decoration:none;font-size:12px;font-weight:720}
.editor-card input[type="number"],.editor-card input[type="color"]{font:inherit}
.editor-card input[type="number"]{width:100%;border:1px solid #dedbd3;border-radius:11px;background:#fff;padding:11px 12px;color:#111}
.editor-file-state{min-height:14px;color:#8a867f;font-size:10.5px;line-height:1.4}
.editor-file-state.is-ready{color:#315640}.editor-file-state.is-error{color:#9a463c}
.editor-card-intro{margin:0;color:#77726b;font-size:11px;line-height:1.45}
.work-template-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.work-template-picker button{min-width:0;display:grid;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:8px;padding:8px;border:1px solid #e0ddd5;border-radius:11px;background:#fff;color:#55514b;text-align:left;font:700 10.5px/1.1 Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;cursor:pointer;transition:border-color .18s ease,background .18s ease,color .18s ease,transform .18s ease}
.work-template-picker button:hover{transform:translateY(-1px);border-color:#bbb6ac;color:#111}
.work-template-picker button.is-active{background:#111;color:#fff;border-color:#111}
.template-chip{width:24px;height:24px;display:block;border:1px solid rgba(20,20,20,.09);border-radius:6px;background:#f6f5f0}
.t-galeria{background:linear-gradient(135deg,#fff 0 56%,#eeece6 56%)}
.t-museo{background:#f3eee4;box-shadow:inset 0 0 0 5px #fff}
.t-editorial{background:linear-gradient(90deg,#f2f0eb 0 44%,#fff 44%)}
.t-taller{background:#e8ddca}
.t-contemporanea{background:linear-gradient(135deg,#eceeea 0 50%,#dce1dc 50%)}
.t-minimal{background:#fff}
.t-oscura{background:#1d1d1b}
.t-color{background:linear-gradient(135deg,#f0d9d3 0 33%,#dce6dd 33% 66%,#dde7f1 66%)}
.work-template-picker button.is-active .template-chip{border-color:rgba(255,255,255,.35)}
.work-color-panel[hidden]{display:none!important}
.work-color-palette{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.work-color-palette button{aspect-ratio:1;border:2px solid transparent;border-radius:50%;background:var(--c);box-shadow:0 0 0 1px rgba(30,28,24,.12);cursor:pointer;transition:transform .18s ease,box-shadow .18s ease}
.work-color-palette button:hover{transform:scale(1.07)}
.work-color-palette button.is-active{box-shadow:0 0 0 2px #fff,0 0 0 4px #111}
.work-custom-color{display:grid!important;grid-template-columns:1fr 42px;align-items:center;gap:10px}
.work-custom-color input[type="color"]{width:42px!important;height:36px;padding:2px!important;border:1px solid #d9d5cc!important;border-radius:9px!important;background:#fff!important}
.estimated-price-card{background:#fbfaf6}
.estimated-price-input{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;border:1px solid #dedbd3;border-radius:11px;background:#fff;overflow:hidden}
.estimated-price-input>span{padding-left:12px;color:#77736c;font-weight:700}
.estimated-price-input input{border:0!important;border-radius:0!important;padding-left:7px!important;outline:none}
.estimated-price-card strong{color:#55514b}
.new-work-editor .editor-controls{align-self:start}
.new-work-preview{transition:background .25s ease,color .25s ease,border-color .25s ease}
.new-work-preview .work-preview-layout{transition:gap .25s ease,padding .25s ease}
.work-template-preview.template-galeria{background:#fff}
.work-template-preview.template-museo{background:#f4efe5;border-color:#e3dacb}
.work-template-preview.template-museo .work-preview-photo{padding:18px;background:#fff;box-shadow:inset 0 0 0 1px #e3dfd6}
.work-template-preview.template-editorial{background:#fbfbf8}
.work-template-preview.template-editorial .work-preview-layout{grid-template-columns:minmax(0,.95fr) minmax(320px,1.05fr);gap:clamp(38px,7vw,92px)}
.work-template-preview.template-editorial .work-preview-copy h2{font-family:Georgia,"Times New Roman",serif;font-weight:500;letter-spacing:-.045em}
.work-template-preview.template-taller{background:#ece2d2;border-color:#dfd1bc}
.work-template-preview.template-taller .work-preview-photo{background:#e3d4bd}
.work-template-preview.template-contemporanea{background:#eceeea;border-color:#dfe3dd}
.work-template-preview.template-contemporanea .work-preview-layout{grid-template-columns:minmax(0,1fr) minmax(320px,.72fr)}
.work-template-preview.template-minimal{background:#fff;border-color:#f0efeb;box-shadow:none}
.work-template-preview.template-minimal .profile-preview-top{opacity:.62}
.work-template-preview.template-oscura{background:#1d1d1b;color:#f8f7f3;border-color:#1d1d1b}
.work-template-preview.template-oscura .profile-preview-top{border-color:#383834;color:#aaa69f}
.work-template-preview.template-oscura .work-preview-photo{background:#2b2b28}
.work-template-preview.template-oscura .work-preview-copy .eyebrow,.work-template-preview.template-oscura .work-preview-story{color:#c9c6be}
.work-template-preview.template-oscura .work-preview-artist{color:#fff}
.work-template-preview.template-oscura .media-library{border-color:#383834}
.work-template-preview.template-color{background:var(--work-bg,#F1EBDD);border-color:color-mix(in srgb,var(--work-bg,#F1EBDD) 70%,#777 30%)}
.new-work-media-flags{display:flex;gap:6px;flex-wrap:wrap;margin-top:18px}
.new-work-media-flags span{padding:6px 9px;border:1px solid rgba(30,28,24,.13);border-radius:999px;background:rgba(255,255,255,.66);font-size:10px;font-weight:700;color:#57524c}
.template-oscura .new-work-media-flags span{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.16);color:#e7e4dc}
.new-video-preview{width:min(460px,100%);margin-top:16px;border-radius:12px;overflow:hidden;background:#111}
.new-video-preview video{display:block;width:100%;max-height:360px;background:#111}
.new-media-library[hidden]{display:none!important}
.new-media-library .media-grid article>div{display:block}
@media(max-width:760px){
  .work-template-picker{grid-template-columns:repeat(2,minmax(0,1fr))}
  .work-template-preview.template-editorial .work-preview-layout,.work-template-preview.template-contemporanea .work-preview-layout{grid-template-columns:1fr}
}


/* =========================================================
   EDITAR OBRA · ARCHIVOS, PRECIO Y ORDEN DE FOTOGRAFÍAS
   2026-08-30
========================================================= */
.estimated-price-input input[type="number"]{-moz-appearance:textfield}
.estimated-price-input input[type="number"]::-webkit-outer-spin-button,.estimated-price-input input[type="number"]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.media-library-head{align-items:center}
.media-library-head-actions{display:flex;align-items:center;gap:10px}
.media-order-save{border:1px solid #d8d4ca;border-radius:999px;background:#111;color:#fff;padding:7px 10px;font:800 9px/1 Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;letter-spacing:0;cursor:pointer}
.media-order-save[hidden]{display:none!important}
.media-order-help{margin:-7px 0 15px;color:#8a867e;font-size:10.5px;line-height:1.45}
.media-sortable .media-item{position:relative;transition:opacity .16s ease,transform .16s ease,border-color .16s ease}
.media-sortable .media-item[draggable="true"]{cursor:grab}
.media-sortable .media-item.is-dragging{opacity:.42;transform:scale(.985)}
.media-sortable .media-item.is-drop-target{border-color:#8e8a82}
.media-order-tools{min-height:29px;display:flex!important;justify-content:flex-end!important;align-items:center!important;gap:4px!important;padding:0 0 6px!important}
.media-drag-handle{margin-right:auto;color:#aaa69f;font-size:13px;letter-spacing:-.15em;cursor:grab;user-select:none}
.media-order-tools button{width:27px;height:27px;border:1px solid #dedbd3;border-radius:50%;background:#fff;color:#4f4b45;display:grid;place-items:center;padding:0;font-size:12px;cursor:pointer}
.media-order-tools button:disabled{opacity:.28;cursor:default}
.media-primary-pin{margin-right:auto;display:inline-flex;align-items:center;min-height:25px;padding:5px 8px;border-radius:999px;background:#111;color:#fff;font-size:8px!important;font-weight:800;letter-spacing:.05em}
.file-drop:focus-within{outline:2px solid #111;outline-offset:2px}
@media(max-width:820px){.media-order-help{font-size:10px}.media-order-tools{min-height:32px}.media-order-tools button{width:30px;height:30px}}

/* =========================================================
   EDITOR · POPUPS BAJO MENÚ + SUBIDA INMEDIATA + AVISOS
   2026-08-30
========================================================= */
:root{--site-header-h:72px}
.artist-editor-page{scroll-padding-top:calc(var(--site-header-h) + 14px)}
.lda360-editor-modal{inset:var(--site-header-h) 0 0 0!important;padding:14px!important}
.lda360-editor-card{max-height:calc(100vh - var(--site-header-h) - 28px)!important;max-height:calc(100dvh - var(--site-header-h) - 28px)!important}
.artist-editor-page .modal{inset:var(--site-header-h) 0 0 0!important;padding:14px!important}
.artist-editor-page .modal .dialog{max-height:calc(100dvh - var(--site-header-h) - 28px)!important}

/* Los mensajes del servidor aparecen como aviso flotante dentro del área de trabajo. */
.editor-notice{
  position:fixed!important;
  z-index:420;
  top:calc(var(--site-header-h) + 16px);
  left:50%;
  width:min(440px,calc(100vw - 28px));
  margin:0!important;
  transform:translate(-50%,-12px);
  opacity:0;
  pointer-events:none;
  box-shadow:0 14px 42px rgba(18,18,16,.13);
  border:1px solid rgba(20,20,20,.08);
  transition:opacity .2s ease,transform .2s ease;
}
.editor-notice.is-toast-visible{opacity:1;transform:translate(-50%,0)}
.editor-notice.success{background:rgba(247,250,247,.96)!important;color:#315640!important}
.editor-notice.error{background:rgba(253,247,245,.97)!important;color:#8a3b30!important}
.editor-live-toast{
  position:fixed;
  z-index:430;
  top:calc(var(--site-header-h) + 16px);
  left:50%;
  width:max-content;
  max-width:min(440px,calc(100vw - 28px));
  padding:13px 17px;
  border-radius:13px;
  background:rgba(255,255,252,.97);
  border:1px solid rgba(20,20,20,.09);
  box-shadow:0 14px 42px rgba(18,18,16,.14);
  color:#35322e;
  font-size:12px;
  font-weight:650;
  line-height:1.4;
  text-align:center;
  opacity:0;
  transform:translate(-50%,-12px);
  pointer-events:none;
  transition:opacity .2s ease,transform .2s ease;
}
.editor-live-toast.is-visible{opacity:1;transform:translate(-50%,0)}
.editor-live-toast.success{color:#315640}.editor-live-toast.error{color:#8a3b30}

.editor-file-state.is-uploading{color:#55514b}
.media-library[hidden]{display:none!important}
.media-order-state{font-size:9px;color:#9a968e;font-weight:650;white-space:nowrap}
.media-order-state.is-saving{color:#55514b}
.editor-save:disabled{opacity:.5;cursor:wait}
.media-sortable.is-busy{pointer-events:none;opacity:.68}

@media(max-width:620px){
  .lda360-editor-modal{padding:7px!important}
  .lda360-editor-card{max-height:calc(100dvh - var(--site-header-h) - 14px)!important}
  .artist-editor-page .modal{padding:7px!important}
  .editor-notice,.editor-live-toast{top:calc(var(--site-header-h) + 9px)}
  .media-library-head{align-items:flex-start!important}
  .media-library-head-actions{align-items:flex-end;flex-direction:column;gap:4px}
  .media-order-state{white-space:normal;text-align:right}
}

/* Perfil público como botón secundario real */
.editor-head-actions .editor-public-profile{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:48px!important;padding:12px 19px!important;border:1px solid #cbc7be!important;border-radius:999px!important;background:#fff!important;color:#111!important;text-decoration:none!important;font-size:12px!important;font-weight:800!important;box-shadow:0 3px 10px rgba(17,17,17,.035)}
.editor-head-actions .editor-public-profile:hover{background:#f3f1eb!important;border-color:#aaa59d!important}
.editor-head-actions .editor-primary{min-height:48px!important;display:inline-flex!important;align-items:center!important}


/* v2 · botón Ver perfil público: secundario real, resistente a estilos heredados */
.artist-editor-head .editor-head-actions a.editor-secondary.editor-public-profile,
.artist-editor-head .editor-head-actions a.editor-secondary.editor-public-profile:link,
.artist-editor-head .editor-head-actions a.editor-secondary.editor-public-profile:visited{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:48px!important;
  padding:12px 20px!important;
  border:1px solid #c9c5bc!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#111!important;
  text-decoration:none!important;
  font:800 12px/1 Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  white-space:nowrap!important;
  box-shadow:none!important;
}
.artist-editor-head .editor-head-actions a.editor-secondary.editor-public-profile:hover,
.artist-editor-head .editor-head-actions a.editor-secondary.editor-public-profile:focus-visible{
  background:#efede7!important;
  border-color:#a9a49a!important;
  color:#111!important;
  text-decoration:none!important;
}
.artist-editor-head .editor-head-actions .editor-primary{
  min-height:48px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
}


/* 2026-08-31 · 360 desde video */
.lda360-frame-count{display:inline-flex;align-items:center;gap:7px;padding:5px 6px 5px 11px;border:1px solid #d3cec5;border-radius:999px;background:#f7f5f0;color:#5f5a53;font:800 9px/1 Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;letter-spacing:.06em;text-transform:uppercase}
.lda360-frame-count select{border:0;background:#fff;color:#111;border-radius:999px;padding:6px 24px 6px 9px;font:800 11px/1 Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;outline:none;cursor:pointer}
.lda360-editor-toolbar.is-processing button,.lda360-editor-toolbar.is-processing select{pointer-events:none;opacity:.45}
.lda360-editor-toolbar.is-processing .primary{opacity:.3}
.lda360-editor-status.is-processing{color:#111;font-weight:650}
@media(max-width:620px){.lda360-frame-count{width:100%;justify-content:space-between}.lda360-frame-count select{min-width:86px}.lda360-editor-toolbar button{flex:1 1 auto}}

/* =========================================================
   PUBLICACIÓN · ESTADOS Y PROGRESO VISIBLE
   2026-08-31
========================================================= */
.editor-notice{display:grid!important;grid-template-columns:1fr;gap:3px;padding:14px 16px!important}
.editor-notice strong{font-size:9px;letter-spacing:.14em;font-weight:850;color:currentColor}
.editor-notice span{font-size:13px;line-height:1.45;font-weight:650}
.editor-notice small{margin-top:2px;font-size:10px;line-height:1.45;color:inherit;opacity:.72;overflow-wrap:anywhere}
.editor-file-state.is-uploading::before{content:'●';display:inline-block;margin-right:6px;animation:ldaStatusPulse 1s ease-in-out infinite}
.editor-file-state.is-ready::before{content:'✓';display:inline-block;margin-right:5px;font-weight:900}
.editor-file-state.is-error::before{content:'!';display:inline-grid;place-items:center;width:15px;height:15px;margin-right:5px;border-radius:50%;background:#9a463c;color:#fff;font-size:9px;font-weight:900}
.editor-360-state.is-error,.lda360-editor-status.is-error{color:#8a3b30!important}
.editor-360-state.is-error{padding:9px 10px;border-radius:10px;background:#fbf1ee;border:1px solid #ecd4cf}
.editor-publish-button{position:relative;display:flex!important;align-items:center;justify-content:center;gap:9px;min-height:50px;overflow:hidden}
.editor-publish-spinner{display:none;width:15px;height:15px;border-radius:50%;border:2px solid rgba(255,255,255,.38);border-top-color:#fff;animation:ldaPublishSpin .8s linear infinite}
.editor-publish-button.is-processing .editor-publish-spinner{display:block}
.editor-publish-button.is-processing{cursor:wait!important;opacity:1!important}
.editor-publish-progress{display:grid;gap:9px;padding:14px 15px;border:1px solid #ddd8cf;border-radius:15px;background:#fff;box-shadow:0 5px 18px rgba(20,20,18,.035)}
.editor-publish-progress[hidden]{display:none!important}
.editor-publish-progress-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.editor-publish-progress-head span{font-size:11px;font-weight:850;letter-spacing:.02em}
.editor-publish-progress-head strong{font-size:10px;color:#77736c;font-variant-numeric:tabular-nums}
.editor-publish-track{height:7px;border-radius:999px;background:#ebe8e1;overflow:hidden;position:relative}
.editor-publish-track i{display:block;height:100%;width:0;border-radius:inherit;background:#111;transition:width .28s ease;position:relative;overflow:hidden}
.editor-publish-track i.is-indeterminate::after{content:'';position:absolute;inset:0;width:42%;background:rgba(255,255,255,.42);transform:translateX(-140%);animation:ldaPublishSweep 1.2s ease-in-out infinite}
.editor-publish-progress p{margin:0;font-size:11px;line-height:1.48;color:#615d56}
.editor-publish-progress small{font-size:9px;color:#918c83;font-variant-numeric:tabular-nums}
.editor-publish-progress.is-error{border-color:#e4c7c1;background:#fff9f7}
.editor-publish-progress.is-error .editor-publish-track i{background:#9a463c}
.editor-publish-progress.is-error .editor-publish-progress-head span{color:#8a3b30}
@keyframes ldaPublishSpin{to{transform:rotate(360deg)}}
@keyframes ldaPublishSweep{0%{transform:translateX(-140%)}100%{transform:translateX(340%)}}
@keyframes ldaStatusPulse{0%,100%{opacity:.35;transform:scale(.82)}50%{opacity:1;transform:scale(1)}}
@media(max-width:620px){.editor-publish-progress{padding:13px}.editor-publish-progress p{font-size:10.5px}}
.editor-notice[hidden]{display:none!important}
.spin360-loading.is-error{color:#8a3b30;background:#fff6f3;border:1px solid #ead0ca;border-radius:12px;padding:14px}
