.wyc-app-page{padding:2.5rem 0 4rem;}
.wyc-app-intro{max-width:760px;margin-bottom:2rem;}
.wyc-app-intro .page-title{border-bottom:none;padding-bottom:0;margin-bottom:0.5rem;}
.wyc-app-intro p{color:var(--text-muted);}

#wyc-app-root{background:var(--paper-card);border:1px solid var(--paper-line);border-radius:3px;padding:1.75rem;}

.wyc-desk-tabs{display:flex;flex-wrap:wrap;gap:0.5rem;margin-bottom:1.5rem;}
.wyc-desk-tab{
  border:1px solid var(--paper-line);
  background:#fff;
  color:var(--text);
  padding:0.5rem 0.9rem;
  border-radius:999px;
  font-size:0.85rem;
  cursor:pointer;
  display:flex;
  align-items:center;
  gap:0.4rem;
}
.wyc-desk-tab .wyc-dot{width:8px;height:8px;border-radius:50%;display:inline-block;}
.wyc-desk-tab.active{background:var(--ink);color:var(--paper);border-color:var(--ink);}
.wyc-desk-tab.active .wyc-dot{background:var(--paper) !important;}

.wyc-lang-row{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:0.75rem;margin-bottom:1.5rem;}
.wyc-lang-toggle{display:flex;background:#fff;border:1px solid var(--paper-line);border-radius:999px;padding:3px;gap:2px;}
.wyc-lang-toggle button{border:none;background:transparent;padding:0.4rem 1rem;border-radius:999px;cursor:pointer;font-size:0.85rem;color:var(--text-muted);}
.wyc-lang-toggle button.active{background:var(--ink);color:var(--paper);}
.wyc-lang-note{font-size:0.75rem;color:var(--text-muted);margin:0;}

.wyc-editor-grid{display:grid;grid-template-columns:minmax(0,360px) minmax(0,1fr);gap:1.75rem;align-items:start;}

.wyc-input-panel{background:#fff;border:1px solid var(--paper-line);border-radius:3px;padding:1.5rem;}
.wyc-field{margin-bottom:1.1rem;}
.wyc-field:last-of-type{margin-bottom:0;}
.wyc-field label{display:block;font-size:0.82rem;font-weight:600;color:var(--ink);margin-bottom:0.3rem;}
.wyc-field label .req{color:var(--red);}
.wyc-field textarea,
.wyc-field select,
.wyc-field input[type=text]{
  width:100%;background:var(--paper-card);border:1px solid var(--paper-line);border-radius:2px;
  padding:0.55rem 0.65rem;font-size:0.92rem;color:var(--text);resize:vertical;font-family:var(--font-ui);
}
.wyc-field textarea{font-family:var(--font-body);line-height:1.5;}
.wyc-field textarea:focus,
.wyc-field select:focus,
.wyc-field input[type=text]:focus{outline:2px solid var(--navy);outline-offset:1px;border-color:var(--navy);}
.wyc-field-error{color:var(--red);font-size:0.75rem;margin-top:0.25rem;display:none;}
.wyc-field.has-error textarea,
.wyc-field.has-error input[type=text]{border-color:var(--red);}
.wyc-field.has-error .wyc-field-error{display:block;}

.wyc-btn-row{display:flex;gap:0.6rem;margin-top:1.5rem;flex-wrap:wrap;}

.wyc-spinner{width:14px;height:14px;border-radius:50%;border:2px solid rgba(237,230,212,0.4);border-top-color:var(--paper);animation:wycspin .7s linear infinite;display:inline-block;vertical-align:-2px;}
.wyc-ink-spinner{width:18px;height:18px;border-radius:50%;border:2px solid var(--paper-line);border-top-color:var(--ink);animation:wycspin .8s linear infinite;}
@keyframes wycspin{to{transform:rotate(360deg);}}
@media (prefers-reduced-motion:reduce){.wyc-spinner,.wyc-ink-spinner{animation:none;}}

.wyc-output-panel{min-height:360px;}
.wyc-empty-state{border:1px dashed var(--paper-line);border-radius:3px;padding:2.75rem 2rem;text-align:center;color:var(--text-muted);font-size:0.9rem;background:rgba(251,247,237,0.4);}
.wyc-empty-state strong{display:block;color:var(--ink);font-size:1rem;margin-bottom:0.4rem;font-family:var(--font-display);}

.wyc-loading-block{display:flex;align-items:center;gap:0.6rem;padding:2.5rem 0;justify-content:center;color:var(--text-muted);font-size:0.92rem;}

.wyc-copy-sheet{background:#fff;border:1px solid var(--paper-line);border-radius:3px;padding:1.75rem 2rem;margin-bottom:1.25rem;}
.wyc-copy-sheet .wyc-headline{font-family:var(--font-display);font-size:1.5rem;font-weight:700;line-height:1.3;margin:0 0 0.3rem;color:var(--ink);}
.wyc-copy-sheet .wyc-subhead{font-family:var(--font-display);font-style:italic;color:var(--text-muted);font-size:1rem;margin:0 0 1.1rem;}
.wyc-copy-sheet .wyc-body-copy{font-family:var(--font-body);font-size:1.02rem;line-height:1.75;color:var(--text);}
.wyc-copy-sheet .wyc-body-copy p{margin:0 0 1rem;}
.wyc-copy-sheet .wyc-body-copy p:last-child{margin-bottom:0;}

.wyc-toolbar{display:flex;justify-content:flex-end;gap:0.5rem;margin-bottom:0.75rem;flex-wrap:wrap;}
.wyc-btn-ghost{background:transparent;border:1px solid var(--paper-line);color:var(--ink);font-size:0.78rem;padding:0.4rem 0.8rem;border-radius:2px;cursor:pointer;}
.wyc-btn-ghost:hover{background:rgba(30,42,56,0.06);}

.wyc-seo-slip{background:#fff;border:1px solid var(--paper-line);border-left:4px solid var(--red);border-radius:2px;padding:1.25rem 1.5rem;margin-bottom:1.25rem;}
.wyc-seo-slip h3{font-size:0.78rem;color:var(--text-muted);margin:0 0 1rem;font-weight:600;}
.wyc-seo-row{display:grid;grid-template-columns:150px 1fr auto;gap:0.75rem;align-items:start;padding:0.6rem 0;border-bottom:1px solid var(--paper-line);}
.wyc-seo-row:last-child{border-bottom:none;}
.wyc-seo-row .wyc-seo-label{font-size:0.82rem;font-weight:600;color:var(--ink);padding-top:0.1rem;}
.wyc-seo-row .wyc-seo-value{font-size:0.9rem;color:var(--text);word-break:break-word;}
.wyc-seo-row .wyc-seo-count{font-family:var(--font-mono);font-size:0.72rem;color:var(--text-muted);white-space:nowrap;padding-top:0.15rem;}
.wyc-seo-count.warn{color:var(--red);font-weight:600;}
.wyc-tag-chip{display:inline-block;background:var(--danger-bg);color:#7C2A20;font-size:0.78rem;padding:0.15rem 0.6rem;border-radius:999px;margin:0.15rem 0.3rem 0.15rem 0;}
.wyc-slug-value{font-family:var(--font-mono);font-size:0.85rem;}

.wyc-item-card{background:#fff;border:1px solid var(--paper-line);border-left:4px solid var(--gold);border-radius:2px;padding:1.1rem 1.3rem;margin-bottom:1rem;}
.wyc-item-card:last-child{margin-bottom:0;}
.wyc-item-card .wyc-item-index{font-size:0.72rem;color:var(--text-muted);margin-bottom:0.4rem;font-weight:600;}
.wyc-item-card .wyc-item-text{font-family:var(--font-body);font-size:1rem;line-height:1.6;margin:0 0 0.6rem;white-space:pre-wrap;}
.wyc-item-card .wyc-item-cta{font-size:0.85rem;font-weight:600;color:var(--navy);}
.wyc-item-card .wyc-hashtags span{color:var(--navy);font-size:0.85rem;margin-right:0.5rem;}

.wyc-titles-list{list-style:none;margin:0 0 1.25rem;padding:0;}
.wyc-titles-list li{background:#fff;border:1px solid var(--paper-line);border-left:4px solid var(--red);padding:0.7rem 1rem;margin-bottom:0.5rem;border-radius:2px;font-size:0.95rem;}

.wyc-error-notice{background:var(--danger-bg);border-left:4px solid var(--red);border-radius:2px;padding:1rem 1.25rem;font-size:0.88rem;color:#5C1E16;margin-bottom:1.25rem;}
.wyc-error-notice .wyc-detail{display:block;margin-top:0.4rem;font-size:0.75rem;color:#8A4034;font-family:var(--font-mono);}

.wyc-correction-box{background:var(--paper-card);border:1px solid var(--paper-line);border-radius:3px;padding:1.25rem 1.5rem;margin-top:1.5rem;}
.wyc-correction-box h4{margin:0 0 0.6rem;font-size:0.92rem;color:var(--ink);}
.wyc-correction-box textarea{
  width:100%;background:#fff;border:1px solid var(--paper-line);border-radius:2px;padding:0.6rem 0.7rem;
  font-size:0.92rem;font-family:var(--font-ui);resize:vertical;margin-bottom:0.75rem;
}
.wyc-correction-box textarea:focus{outline:2px solid var(--navy);outline-offset:1px;}

.wyc-copied-flash{color:var(--teal);}

.wyc-auth-wrap{max-width:420px;background:#fff;border:1px solid var(--paper-line);border-radius:3px;padding:1.75rem;}
.wyc-auth-tabs{display:flex;gap:0.5rem;margin-bottom:1.5rem;}
.wyc-auth-tab{flex:1;background:var(--paper-card);border:1px solid var(--paper-line);color:var(--text-muted);padding:0.6rem;border-radius:2px;cursor:pointer;font-size:0.88rem;font-weight:600;}
.wyc-auth-tab.active{background:var(--ink);color:var(--paper);border-color:var(--ink);}
.wyc-auth-form .wyc-form-row{margin-bottom:1rem;}
.wyc-auth-form label{display:block;font-size:0.82rem;font-weight:600;color:var(--ink);margin-bottom:0.3rem;}
.wyc-auth-form input{width:100%;background:var(--paper-card);border:1px solid var(--paper-line);border-radius:2px;padding:0.55rem 0.65rem;font-size:0.92rem;}
.wyc-auth-form input:focus{outline:2px solid var(--navy);outline-offset:1px;}
.wyc-method-toggle{display:flex;gap:0.5rem;margin-bottom:1.1rem;}
.wyc-method-btn{flex:1;background:var(--paper-card);border:1px solid var(--paper-line);color:var(--text-muted);padding:0.45rem;border-radius:999px;cursor:pointer;font-size:0.82rem;font-weight:600;}
.wyc-method-btn.active{background:var(--gold);color:var(--ink);border-color:var(--gold);}
.wyc-otp-sent-note{font-size:0.85rem;color:var(--text-muted);margin:0 0 1rem;}

@media (max-width:900px){
  .wyc-editor-grid{grid-template-columns:1fr;}
  .wyc-seo-row{grid-template-columns:1fr;gap:0.2rem;}
  .wyc-seo-row .wyc-seo-count{padding-top:0;}
}
