.search[data-live-search]{position:relative;overflow:visible}.search-popover{position:absolute;top:calc(100% + 8px);left:0;right:0;z-index:60;background:white;border:1px solid #d6dfe9;border-radius:10px;box-shadow:0 16px 40px #142b4d26;min-width:0;overflow:hidden}.search-popover[hidden]{display:none}.search-options{max-height:min(540px,65vh);overflow:auto;overscroll-behavior:contain}.search-option{display:flex;align-items:center;gap:14px;padding:12px 16px;border-top:1px solid #edf0f4;color:var(--ink)}.search-option:hover,.search-option[aria-selected=true]{background:#edf3fb;color:var(--navy)}.suggest-art{width:52px;height:52px;flex-shrink:0;display:grid;place-items:center;background:#f4f6f8;border-radius:6px;font-size:.875rem;font-weight:700}.suggest-art img{width:52px;height:52px;object-fit:contain}.suggest-copy{min-width:0}.suggest-copy strong{display:block;font-size:.9375rem;line-height:1.45;overflow-wrap:anywhere;font-weight:650}.suggest-copy small{display:block;font-size:.875rem;color:var(--muted);margin-top:4px}.search-status{font-size:.875rem;color:var(--muted);padding:10px 16px}.search-all{display:block;padding:12px 16px;background:#f5f7fa;font-size:.875rem;font-weight:700;border-top:1px solid var(--line)}.studio h1{font-size:clamp(1.6rem,2.4vw,2.3rem);line-height:1.35;margin-bottom:12px}.studio h2{font-size:1.4rem}.studio-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:26px}.studio-heading p{color:var(--muted);margin-bottom:0}.studio-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:28px 0}.studio-stats>a{padding:20px;border:1px solid var(--line);border-radius:8px;border-top:3px solid var(--navy);background:#f8fafc}.studio-stats strong{display:block;font-size:1.9rem;line-height:1.2}.studio-stats span{font-size:.875rem;color:var(--muted)}.studio-toolbar{display:flex;gap:18px;align-items:center;margin:28px 0}.studio-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:28px}.studio-list-heading{display:flex;justify-content:space-between;gap:16px;font-size:.875rem;margin-bottom:12px;color:var(--muted)}.text-button{border:0;background:transparent;color:var(--navy);font-size:.875rem;font-weight:650;padding:8px 0;cursor:pointer}.studio-product{display:grid;grid-template-columns:20px 72px minmax(0,1fr) auto;gap:14px;align-items:center;padding:18px 0;border-top:1px solid var(--line)}.studio-product input{width:18px;height:18px}.studio-product strong,.studio-product small{display:block;overflow-wrap:anywhere}.studio-product strong{font-size:1rem;line-height:1.5}.studio-product small{font-size:.875rem;color:var(--muted);margin-bottom:5px}.studio-thumb{width:72px;height:72px;background:var(--pale);display:grid;place-items:center;border-radius:6px;font-weight:700}.studio-thumb img{width:72px;height:72px;object-fit:contain}.completion{display:flex;flex-wrap:wrap;gap:7px;margin-top:8px}.completion span{font-size:.875rem;padding:2px 7px;background:#f0f2f5;border-radius:4px;color:#667285}.completion .complete{background:#edf4f0;color:#28613f}.studio-side .form-card{padding:22px}.studio-side hr{border:0;border-top:1px solid var(--line);margin-top:25px}.studio-jobs,.studio-proposals,.history{margin-top:50px}.job-row{display:flex;justify-content:space-between;gap:24px;border-top:1px solid var(--line);padding:20px 0}.job-row p{font-size:.9375rem;margin:8px 0 0;overflow-wrap:anywhere}.job-row .badge{margin-left:10px}.job-cost{font-size:.875rem;text-align:right;min-width:180px}.job-cost small{font-size:.875rem;color:var(--muted)}.job-error{color:#a3272d;background:#fff1f0;padding:12px;border-radius:5px;overflow-wrap:anywhere}.studio-settings{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:35px;align-items:start}.studio details{border:1px solid var(--line);border-radius:7px;padding:20px;margin:16px 0}.studio summary{font-weight:650;cursor:pointer}.studio details>p{margin-top:16px}.studio-settings .form-card{margin-top:15px;box-shadow:none}.domain-row{display:flex;justify-content:space-between;gap:15px;padding:10px 0;border-top:1px solid var(--line);font-size:.875rem}.editor-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(290px,1fr);gap:30px;align-items:start}.editor-layout .form-card h2{margin-bottom:5px}.current-image{display:flex;align-items:center;gap:20px;margin-top:20px;background:var(--pale);border-radius:7px;padding:10px}.current-image img{width:150px;height:150px;object-fit:contain}.attribute-row{display:grid;grid-template-columns:1fr 1fr auto;gap:8px;margin:8px 0}.attribute-row button{font-size:.875rem;border:0;background:transparent;color:var(--red)}.upload-card{margin-top:24px}.candidate-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-bottom:40px}.candidate{border:1px solid var(--line);border-radius:8px;padding:22px;overflow-wrap:anywhere;min-width:0}.candidate-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:16px}.candidate-heading .badge{font-size:.875rem}.candidate-image{width:100%;height:230px;object-fit:contain;background:var(--pale);border-radius:6px}.candidate p{font-size:.9375rem}.candidate .actions{gap:18px;margin-top:15px}.candidate label{margin:15px 0}.history-diff{display:grid;grid-template-columns:140px 1fr 1fr;gap:16px;margin:20px 0;overflow-wrap:anywhere}.history-diff p{font-size:.875rem;white-space:pre-wrap}.history-diff small{color:var(--muted)}
@media(max-width:1100px){.studio-layout{grid-template-columns:minmax(0,1fr) 290px}.studio-toolbar{flex-wrap:wrap}.candidate-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.studio-product{grid-template-columns:20px 54px minmax(0,1fr)}.studio-product>.text-button{grid-column:3}.studio-thumb,.studio-thumb img{width:54px;height:54px}.studio-settings{grid-template-columns:1fr}}
@media(max-width:760px){.studio-heading{align-items:flex-start;flex-direction:column}.studio-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-stats>a{padding:16px}.studio-stats strong{font-size:1.5rem}.studio-layout,.editor-layout{grid-template-columns:1fr}.studio-side{order:-1}.studio-list-heading{flex-wrap:wrap}.candidate-grid{grid-template-columns:1fr}.job-row{flex-direction:column;gap:10px}.job-cost{text-align:left}.studio-toolbar .search{order:0}.history-diff{grid-template-columns:1fr}.suggest-copy strong{font-size:.875rem}.search-option{padding:10px;gap:10px}.studio .form-card{padding:20px}.attribute-row{grid-template-columns:1fr 1fr}.attribute-row button{grid-column:2}.studio-toolbar .inline-form{width:100%}.studio-toolbar select{min-width:0;flex:1}}
.queue-focus{margin:28px 0 38px;padding:24px;border:1px solid var(--line);border-left:4px solid var(--navy);border-radius:8px;background:#f8fafc}.queue-focus .studio-heading{margin-bottom:12px}.queue-focus .studio-heading h2{margin-bottom:4px}.queue-item{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;border-top:1px solid var(--line);padding:14px 0}.queue-item p{margin:5px 0 0;font-size:.9375rem;overflow-wrap:anywhere}.queue-item .badge{white-space:nowrap}.queue-problems{margin-top:14px}.queue-problems summary{color:var(--navy);font-weight:650;cursor:pointer}
.assistant-chat{border-top:4px solid var(--red);padding:22px}.assistant-title{display:flex;gap:12px;align-items:center}.assistant-title h2{margin:0}.assistant-title p{margin:3px 0 0}.assistant-orb{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--navy);color:white}.chat-messages{display:grid;gap:9px;margin:20px 0}.chat-bubble{padding:12px 14px;border-radius:12px;font-size:.9rem;line-height:1.5}.chat-bubble.assistant{background:#eef3f8;border-top-left-radius:3px}.chat-hint{font-size:.82rem;color:var(--muted);margin:16px 0 0}.live-work{margin-top:24px}.live-work h2{font-size:1.1rem}.live-job{display:flex;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding:13px 0}.live-job .badge{margin-left:8px}.live-job p{margin:5px 0 0;font-size:.85rem;color:var(--muted)}
@media(max-width:760px){.queue-item{flex-direction:column;gap:8px}.queue-focus{padding:18px}}
.copilot-launcher{position:fixed;right:24px;bottom:24px;z-index:80;border:0;border-radius:999px;background:var(--red);color:#fff;padding:13px 20px;font-weight:750;box-shadow:0 8px 24px #142b4d33}.copilot-launcher span{margin-right:6px}.global-copilot{position:fixed;right:24px;bottom:78px;width:min(390px,calc(100vw - 32px));max-height:min(780px,calc(100vh - 120px));overflow:auto;z-index:79;background:#fff;border:1px solid var(--line);border-top:4px solid var(--red);border-radius:10px;box-shadow:0 18px 60px #142b4d2b}.global-copilot[hidden]{display:none}.global-copilot-heading{display:flex;justify-content:space-between;gap:14px;padding:20px 20px 12px;background:#f8fafc}.global-copilot-heading .eyebrow{margin-bottom:5px;font-size:.7rem}.global-copilot-heading h2{font-size:1.2rem;margin:0}.global-copilot-heading p{font-size:.82rem;color:var(--muted);margin:5px 0 0}.copilot-close{border:0;background:transparent;color:var(--navy);font-size:1.7rem;line-height:1;height:32px}.global-copilot-body{padding:16px 20px 20px}.copilot-message{font-size:.86rem;line-height:1.5;color:var(--muted);background:#eef3f8;border-radius:10px;padding:11px 13px;margin-bottom:14px}.global-copilot label{display:block;font-size:.82rem;font-weight:650;margin:12px 0 6px}.global-copilot input:not([type=checkbox]),.global-copilot select,.global-copilot textarea{width:100%;font-size:.88rem;padding:9px 10px}.global-copilot .check{display:flex;font-weight:500;margin:10px 0}.global-copilot .button{margin-top:12px;padding:10px 15px}.copilot-search-results{position:relative;display:block}.copilot-result-list{position:absolute;left:0;right:0;top:4px;z-index:3;background:white;border:1px solid var(--line);border-radius:5px;box-shadow:0 8px 20px #142b4d1c;overflow:hidden}.copilot-result{display:block;width:100%;border:0;border-top:1px solid #edf0f4;background:white;text-align:left;padding:9px 10px;color:var(--ink);font-size:.82rem}.copilot-result:first-child{border-top:0}.copilot-result:hover{background:#edf3fb}.copilot-selected{display:flex;flex-wrap:wrap;gap:6px;margin-top:7px;min-height:25px}.copilot-chip{display:inline-flex;align-items:center;gap:6px;background:#edf3fb;color:var(--navy);border-radius:99px;padding:4px 8px;font-size:.76rem}.copilot-chip button{border:0;background:transparent;color:var(--red);font-weight:750;padding:0}.copilot-feed{border-top:1px solid var(--line);margin-top:18px;padding-top:13px}.copilot-feed h3{font-size:.9rem;margin-bottom:7px}.copilot-feed p{margin:5px 0}.copilot-feed-item{display:flex;gap:8px;align-items:flex-start;border-top:1px solid #edf0f4;padding:8px 0;font-size:.78rem}.copilot-feed-item a{font-weight:650}.copilot-feed-item small{display:block;color:var(--muted)}.inbox-count{display:grid;place-items:center;min-width:52px;height:52px;border-radius:50%;background:var(--navy);color:#fff;font-size:1.2rem;font-weight:750}.work-inbox{margin:32px 0 46px;padding:26px;border:1px solid var(--line);border-left:4px solid var(--red);border-radius:8px;background:#fff}.work-inbox .studio-heading{margin-bottom:18px}.work-inbox .studio-heading h2{margin:0 0 5px}.inbox-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-bottom:20px}.inbox-actions .check{margin:0}.inbox-candidates{margin-bottom:28px}.inbox-candidates .candidate{background:#fff}.inbox-requests{border-top:1px solid var(--line);padding-top:24px}.inbox-requests h3{font-size:1.2rem}.inbox-request{padding:16px 0;border-top:1px solid var(--line)}.inbox-request>div{display:flex;gap:10px;align-items:center}.inbox-request p{font-size:.88rem;margin:6px 0}.inbox-request ul{font-size:.86rem;margin:8px 0;padding-left:20px}
@media(max-width:760px){.copilot-launcher{right:16px;bottom:16px}.global-copilot{right:16px;bottom:68px}.inbox-actions{align-items:flex-start;flex-direction:column}.work-inbox{padding:18px}.inbox-count{min-width:42px;height:42px;font-size:1rem}}

/* Administración: las tarjetas del catálogo pasan a una única columna en móvil.
   Esta regla queda al final del archivo para ganar a las rejillas de escritorio
   y no afecta las tarjetas del catálogo público. */
@media (max-width:760px){
  .studio,
  .studio .studio-product-list,
  .studio .studio-product{
    min-width:0;
    max-width:100%;
  }
  .studio{overflow-x:hidden;}
  .studio .studio-product-list{width:100%;}
  .studio .studio-product{
    display:grid;
    grid-template-columns:minmax(0,1fr);
    grid-auto-flow:row;
    gap:12px;
    align-items:stretch;
    width:100%;
    padding:18px 0;
    overflow:hidden;
  }
  .studio .studio-product > *{
    min-width:0;
    max-width:100%;
  }
  .studio .studio-product *{
    min-width:0;
    max-width:100%;
  }
  .studio .studio-product > div{
    width:100%;
  }
  .studio .studio-product > div > strong,
  .studio .studio-product > div > small{
    display:block;
    min-width:0;
    max-width:100%;
    overflow-wrap:anywhere;
    word-break:break-word;
  }
  .studio .studio-product .studio-thumb{
    width:72px;
    max-width:100%;
    height:72px;
  }
  .studio .studio-product .studio-thumb img{
    max-width:100%;
  }
  .studio .studio-product > .button,
  .studio .studio-product > .text-button{
    display:flex;
    width:100%;
    max-width:100%;
    min-width:0;
    grid-column:auto;
    justify-content:center;
    white-space:normal;
    overflow-wrap:anywhere;
  }
}
.copilot-proposals{border-top:1px solid var(--line);margin-top:18px;padding-top:13px}.copilot-proposals h3{font-size:.9rem;margin-bottom:7px}.copilot-proposal{border-top:1px solid #edf0f4;padding:10px 0;font-size:.78rem}.copilot-proposal strong{display:block;font-size:.8rem}.copilot-proposal p{margin:4px 0;color:var(--muted)}.copilot-proposal img{display:block;width:90px;height:60px;object-fit:contain;background:var(--pale);border-radius:4px;margin:6px 0}.copilot-proposal .check{font-weight:500;margin:7px 0}.copilot-proposal .actions{gap:10px}.copilot-proposal .button{font-size:.76rem;padding:6px 9px;margin-top:0}.copilot-proposal .text-button{font-size:.76rem}

/* Las tarjetas administrativas ya no tienen una casilla de selección por fila.
   La primera columna debe ser la miniatura, no un espacio reservado antiguo. */
@media (min-width:761px){
  .studio .studio-product{grid-template-columns:72px minmax(0,1fr) auto auto;}
}
@media (min-width:761px) and (max-width:1100px){
  .studio .studio-product{grid-template-columns:54px minmax(0,1fr) auto auto;}
  .studio .studio-product > .text-button{grid-column:auto;}
}

.photo-ai-box{margin-top:24px;}
.photo-ai-box h2{margin-bottom:8px;}
.photo-ai-box input[type=file]{display:block;width:100%;max-width:100%;padding:12px 8px;font-size:.875rem;}
.photo-ai-preview{margin-top:14px;padding:10px;background:var(--pale);border-radius:6px;text-align:center;}
.photo-ai-preview img{width:100%;max-width:280px;height:180px;object-fit:contain;}
.photo-ai-status{min-height:26px;}
.photo-ai-note{font-size:.8rem;line-height:1.5;}
.photo-ai-job{margin:16px 0;padding:12px;background:var(--pale);border-left:3px solid var(--navy);font-size:.85rem;}
.photo-ai-job strong,.photo-ai-job span{display:block;}
.photo-ai-job span{color:var(--muted);margin-top:3px;}
.photo-ai-job .job-error{margin:8px 0;font-size:.82rem;}
.photo-ai-job .text-button{display:inline-block;margin-top:5px;}

.updates-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:28px 0}
.updates-stats a{padding:18px;border:1px solid var(--line);border-radius:8px;background:#f8fafc;border-top:3px solid var(--navy)}
.updates-stats strong,.updates-stats span{display:block}.updates-stats strong{font-size:1.7rem}.updates-stats span{font-size:.82rem;color:var(--muted)}
.updates-filters{display:grid;grid-template-columns:minmax(180px,2fr) repeat(3,minmax(130px,1fr)) auto;gap:12px;align-items:end;margin:28px 0 18px}
.updates-filters label{font-size:.82rem;font-weight:650}.updates-filters input,.updates-filters select{display:block;width:100%;margin-top:6px}
.updates-list{border-top:1px solid var(--line)}.update-row{display:grid;grid-template-columns:72px minmax(0,1fr) minmax(130px,180px) auto;gap:16px;align-items:center;padding:16px 0;border-bottom:1px solid var(--line)}
.update-copy{min-width:0}.update-copy strong,.update-copy small{display:block;overflow-wrap:anywhere}.update-copy small{font-size:.78rem;color:var(--muted);margin-bottom:5px}.update-copy strong{line-height:1.4}.update-status{display:grid;gap:5px;justify-items:start}.update-status small{font-size:.76rem;color:var(--muted);overflow-wrap:anywhere}.badge-ok{background:#edf4f0;color:#28613f}.badge-warn{background:#fff4dc;color:#835b00}.update-actions{display:grid;gap:5px;justify-items:start}.update-actions .button{white-space:nowrap}
@media(max-width:900px){.updates-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.updates-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.updates-filters .button{width:100%}.update-row{grid-template-columns:72px minmax(0,1fr) auto}.update-actions{grid-column:2 / -1;display:flex;flex-wrap:wrap;gap:10px}}
@media(max-width:760px){.updates-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.updates-filters{grid-template-columns:1fr}.update-row{grid-template-columns:72px minmax(0,1fr);gap:12px}.update-status,.update-actions{grid-column:1 / -1}.update-actions{display:flex;flex-wrap:wrap}.update-actions .button{white-space:normal;width:100%}}
