.panel-view.sections-panel { padding: 0; }
.sections-panel > header { padding: 1.5rem; }
.section-tabs { position: sticky; z-index: 5; top: 0; display: grid; grid-template-columns: repeat(3,1fr); gap: .3rem; padding: .7rem 1rem; border-bottom: 1px solid #e2dfd8; background: rgba(251,250,247,.96); backdrop-filter: blur(12px); }
.section-tabs button { padding: .58rem .2rem; border: 1px solid #d9d6cf; border-radius: .4rem; background: white; color: #6b6861; cursor: pointer; font-size: .58rem; }
.section-tabs button.is-active { border-color: #83966b; background: #e9eee1; color: #314025; }
.section-tab-view { display: none; padding: 1rem; }.section-tab-view.is-active { display: block; }
.section-search { display: flex; align-items: center; gap: .4rem; margin-bottom: .8rem; padding: .6rem .7rem; border: 1px solid #d8d5ce; border-radius: .45rem; background: white; }.section-search input { min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; font-size: .63rem; }
.section-library { display: grid; gap: .65rem; }.section-library-card { overflow: hidden; border: 1px solid #dedbd4; border-radius: .65rem; background: white; }.section-card-preview { display: grid; grid-template-columns: 1.2fr .8fr; gap: .35rem; min-height: 76px; padding: .65rem; background: #ebe9e2; }.section-card-preview i { display: block; border-radius: .25rem; background: #cacfc0; }.section-card-preview i:first-child { background: #f8f7f2; }.section-card-preview.layout-b { grid-template-columns: repeat(3,1fr); }.section-card-copy { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .65rem; }.section-card-copy strong { font-size: .66rem; }.section-card-copy small { color: #8c887f; font-size: .5rem; }.section-card-actions { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #ebe8e1; }.section-card-actions button { padding: .55rem; border: 0; background: transparent; color: #58554e; cursor: pointer; font-size: .54rem; }.section-card-actions button + button { border-left: 1px solid #ebe8e1; }.section-card-actions button:hover { background: #edf1e7; color: #2e3b25; }
.section-favorites-note { margin: 0 0 1rem; color: #807c74; font-size: .6rem; line-height: 1.5; }.section-empty { padding: 1.4rem .7rem; border: 1px dashed #c8c4bb; border-radius: .55rem; color: #817d75; text-align: center; font-size: .6rem; }
.sections-panel .section-list { margin-top: 0; }.sections-panel .section-row { grid-template-columns: 2rem 2.8rem minmax(0,1fr) auto; overflow: hidden; }.section-mini-preview { display: grid; grid-template-columns: 1fr .6fr; gap: 2px; width: 2.2rem; height: 1.65rem; padding: 3px; border-radius: .25rem; background: #dddcd5; }.section-mini-preview i { background: #fff; }.section-row-actions { display: flex; padding-right: .3rem; }.section-list .section-row-actions button { width: 1.55rem; padding: .45rem 0; color: #77736b; }.section-list .section-row-actions button:hover { color: #26331e; }.section-list .section-row-actions .danger { color: #9a4339; }.section-row[data-hidden="true"] { opacity: .45; }
.section-actions { max-width: calc(100% - 24px); }.section-actions [data-section-duplicate],.section-actions [data-section-visibility],.section-actions [data-section-favorite] { font-size: .72rem; }
.canvas-section[data-section-hidden="true"] { opacity: .38; filter: grayscale(.25); }.canvas-section[data-section-hidden="true"]::after { content: 'Hidden on published site'; position: absolute; z-index: 7; right: 1rem; bottom: 1rem; padding: .35rem .5rem; border-radius: .3rem; background: #24231f; color: white; font-size: .52rem; }
.library-layout { display: grid; gap: 1rem; }.library-layout.layout-split { grid-template-columns: 1fr 1fr; align-items: center; }.library-layout.layout-center { max-width: 720px; margin: auto; text-align: center; }.library-layout.layout-cards { grid-template-columns: repeat(3,minmax(0,1fr)); }.library-layout > article,.library-layout > div { min-width: 0; }.library-card { min-height: 150px; padding: 1.2rem; border-radius: .5rem; background: var(--site-nav); }.library-media { min-height: 260px; border-radius: .6rem; background: linear-gradient(135deg,var(--site-nav),var(--site-accent)); }.library-layout h2 { margin: .5rem 0 1rem; font-size: clamp(2rem,4vw,3.8rem); line-height: 1; letter-spacing: -.05em; }.library-layout p { line-height: 1.6; }.library-layout details { padding: .8rem 0; border-bottom: 1px solid color-mix(in srgb,var(--site-ink) 18%,transparent); }.library-layout form { display: flex; gap: .5rem; }.library-layout input { min-width: 0; flex: 1; padding: .8rem; border: 1px solid color-mix(in srgb,var(--site-ink) 25%,transparent); background: transparent; }.library-layout button,.library-layout a { display: inline-block; padding: .75rem 1rem; border: 0; background: var(--site-ink); color: var(--site-bg); text-decoration: none; }
.site-canvas.is-mobile .library-layout.layout-split,.site-canvas.is-mobile .library-layout.layout-cards { grid-template-columns: 1fr; }
