.shelf-folders,.template-grid,.sticker-grid,.knowledge-tools,.layer-list article,.page-list article,.folder-tile{display:flex;align-items:center;gap:8px}.shelf-folders,.knowledge-tools{flex-wrap:wrap}.folder-tile{min-width:160px;padding:10px;background:var(--surface);border:1px solid var(--edge);border-radius:14px}.folder-tile img{width:36px}.folder-tile small{color:var(--muted)}.tile-info .book-more{font-size:22px;min-width:32px}.rail{overflow:auto}.page-list article,.layer-list article{padding:6px;border-bottom:1px solid var(--edge)}.page-list article button:first-child,.layer-list article button:first-child{flex:1;text-align:start}.page-list strong{display:block}.layer-list article label{max-width:105px;font-size:13px}.layer-list input{width:100%}.layer-list [aria-pressed=true]{background:var(--strong);border-radius:9px}.template-grid,.sticker-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(94px,1fr));gap:10px}.template-grid img,.sticker-grid img{width:100%;height:90px;object-fit:contain}.template-grid strong,.template-grid small{display:block}.sticker-grid button,.template-grid button{border-radius:12px;border:1px solid var(--edge);padding:8px;background:var(--surface)}
.knowledge-screen{height:100%;display:flex;flex-direction:column;background:#faf2df}.knowledge-tools{background:#f0efeb;padding:6px 12px;border-bottom:1px solid #d1c8b5}.knowledge-tools [aria-pressed=true]{background:#e4d3af}.mind-stage{overflow:auto;flex:1;background-color:#faf3df;background-image:radial-gradient(#dccfb7 .8px,transparent .8px);background-size:22px 22px}.mind-stage svg{touch-action:pan-x pan-y;font-family:Inter,sans-serif}.mind-stage [data-map-card],.mind-stage [data-branch-node]{touch-action:none;cursor:grab}.knowledge-screen:has([data-knowledge=pen][aria-pressed=true]) .mind-stage svg{touch-action:none}.mind-stage text{fill:#463c30;font-size:15px}.card-excerpt{font:400 14px/19px Inter,sans-serif;overflow:hidden}.excerpt-preview{display:block;width:100%;max-height:220px;margin-top:8px;background:#fffcf3;border:1px solid #dfd5c1;border-radius:10px}
.shared-doc-block{display:flex;align-items:flex-start;gap:8px;min-height:48px;margin:0 0 8px}
.shared-block-body{flex:1;min-width:0;min-height:32px;white-space:pre-wrap;overflow-wrap:anywhere}
.shared-doc-block>.icon{flex:none;width:40px;height:40px;opacity:.72}
.shared-doc-block>.icon img{width:24px;height:24px}
.foot [data-shared]{font-size:15px;line-height:1.2}
.workspace-head .status{max-width:22ch;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.rail .rail-create{background:var(--strong);justify-content:center;border-radius:14px;font-weight:500;min-height:46px;margin:0 0 10px}
.rail .rail-create img{width:24px;height:24px}
#sheet:has(.create-grid){width:min(620px,94vw);max-height:89dvh}
.create-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.create-grid button{border:0;border-radius:18px;background:var(--jacket,#f6ebda);color:var(--ink);display:flex;flex-direction:column;align-items:center;gap:7px;padding:12px 8px 14px;min-width:0}
.create-grid img{width:56px;height:56px;object-fit:contain}
.create-grid strong{font:500 17.5px/1.24 Inter,sans-serif}
.create-grid small{font:400 15.5px/1.32 Inter,sans-serif;color:var(--muted)}
.create-grid :is(.create-study,.create-board,.create-templates){grid-column:1 / -1}
.create-grid .create-templates{display:grid;grid-template-columns:56px 1fr;text-align:start;justify-items:start;column-gap:14px;padding:13px 16px}
.create-templates img{grid-row:span 2}
.cover-choice{display:flex;align-items:center;gap:12px}
.cover-choice label{flex:1}
.cover-choice>button,.cover-gallery button{border:1px solid var(--edge);border-radius:8px;padding:4px;background:var(--surface)}
.cover-choice img{width:31px;height:42px;object-fit:cover;vertical-align:middle}
.cover-gallery:not([hidden]){display:grid;grid-template-columns:repeat(auto-fit,minmax(65px,1fr));gap:6px;padding:6px 0}
.cover-gallery img{width:40px;height:54px;object-fit:cover;display:block;margin:auto}
.cover-gallery small{display:block;font-size:12px}
.set-source{display:flex;align-items:center;justify-content:space-between;gap:12px}
.set-source input{width:auto}
.knowledge-tools [data-knowledge="ai"] img{width:24px;height:24px;vertical-align:middle}
.paper.oly,.paper.oly::before{background-image:linear-gradient(90deg,transparent 11.4%,#eda7a1 11.4% calc(11.4% + 1px),transparent calc(11.4% + 1px)),linear-gradient(#a7badf 1px,transparent 1px),linear-gradient(90deg,#a7badf 1px,transparent 1px),linear-gradient(#dce4f2 1px,transparent 1px);background-size:100% 100%,32px 32px,32px 32px,8px 8px}
.paper.cornell,.paper.cornell::before{background-image:linear-gradient(90deg,transparent 28%,#9fb3d6 28%,#9fb3d6 calc(28% + 1px),transparent calc(28% + 1px)),linear-gradient(transparent 79.5%,#9fb3d6 79.5%,#9fb3d6 calc(79.5% + 1px),transparent calc(79.5% + 1px)),repeating-linear-gradient(to bottom,transparent 0 29px,#bccde8 29px 30px)}
.paper.music,.paper.music::before{background-image:repeating-linear-gradient(to bottom,transparent 0 23px,#8f98a8 23px 24px,transparent 24px 31px,#8f98a8 31px 32px,transparent 32px 39px,#8f98a8 39px 40px,transparent 40px 47px,#8f98a8 47px 48px,transparent 48px 55px,#8f98a8 55px 56px,transparent 56px 86px)}
@media(max-width:530px){.create-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.create-grid button{padding:9px 6px}}
#ink [data-live-layer],#ink [data-live-layer] *{pointer-events:none!important}



