.resource-shell { padding-bottom: 70px; }
.resource-intro { margin: 38px 0 28px; max-width: 780px; }
.resource-intro h1 { font-size: clamp(26px,3vw,36px); letter-spacing: -1px; margin-bottom: 12px; }
.resource-intro > p:last-child { color: var(--muted); line-height: 1.8; }
.resource-topline, .resource-section-heading, .resource-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.resource-topline { padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.resource-note { font-size: 12px; color: var(--muted); line-height: 1.8; margin: 16px 0; }
.resource-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.05fr); gap: 22px; align-items: start; margin-top: 20px; }
.resource-grid[hidden], #resourceWorkspace[hidden] { display: none; }
.resource-list-panel, .resource-editor-panel, .resource-guest { padding: 24px; min-width: 0; }
.resource-section-heading h2, .resource-editor-panel h2 { font-size: 18px; margin: 0; }
.resource-section-heading p { font-size: 12px; color: var(--muted); margin: 5px 0 0; }
.resource-list { display: grid; gap: 12px; }
.resource-card { padding: 16px; border: 1px solid var(--line); border-radius: 10px; overflow-wrap: anywhere; }
.resource-card[data-default="true"] { border-color: #b3d9d0; background: #f8fcfa; }
.resource-card h3 { font-size: 14px; margin: 0 0 4px; }
.resource-card p { color: var(--muted); font-size: 11px; margin-bottom: 10px; }
.resource-card .resource-actions { justify-content: flex-start; gap: 6px 15px; }
.resource-card button { min-height: 36px; }
.resource-card [data-action="delete"] { color: var(--danger); }
.resource-default-badge { display: inline-block; margin-left: 8px; color: var(--accent); font-size: 10px; font-weight: 600; }
.resource-editor-panel label { display: block; margin: 20px 0 8px; font-size: 12px; font-weight: 600; }
.resource-editor-panel input, .resource-editor-panel textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 12px; color: var(--ink); background: #fff; }
.resource-editor-panel textarea { resize: vertical; min-height: 280px; line-height: 1.8; }
.resource-editor-panel .resource-actions { justify-content: flex-start; margin-top: 16px; }
.resource-status { padding: 12px 16px; border-radius: 9px; background: var(--soft); color: var(--accent); white-space: pre-wrap; }
.resource-status[data-error="true"] { color: var(--danger); background: #fff2ef; }
.resource-confirm { border: 0; border-radius: 14px; padding: 28px; width: min(460px,calc(100% - 32px)); color: var(--ink); box-shadow: 0 24px 80px #142a3e33; }
.resource-confirm::backdrop { background: #1c2b3366; }
.resource-confirm h2 { font-size: 20px; }
.resource-confirm p { color: var(--muted); line-height: 1.8; }
@media(max-width:760px) { .resource-grid { grid-template-columns: minmax(0,1fr); } .resource-shell .resource-intro { margin-top: 24px; } .resource-list-panel,.resource-editor-panel { padding: 20px; } #resourceAccount { display: none; } .resource-topline .result-tabs { flex: 1; } body:has(.resource-shell) .header-inner { height: auto; min-height: 76px; flex-wrap: wrap; padding: 16px 0; } body:has(.resource-shell) .header-actions { gap: 12px; flex-wrap: wrap; } }
