/*
  Modo Papel é uma camada de apresentação. Ele usa o mesmo estado, conteúdo e
  trilhas do Percurso, mas reduz movimento, cor, profundidade e simultaneidade.
*/
.paper-primary-nav{display:none}
.paper-page-nav{display:none}
.boot-fallback{position:fixed;inset:0;z-index:999;background:#fff;color:#111;padding:48px 28px;font:18px/1.5 Georgia,"Times New Roman",serif}
.boot-fallback strong{display:block;font:700 28px/1.15 -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;max-width:620px}
.boot-fallback p{max-width:620px}
.boot-fallback a{display:inline-block;margin-top:10px;padding:12px 14px;border:2px solid #111;color:#111;font:700 15px/1.2 -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;text-decoration:none}

html[data-paper="true"]{
  color-scheme:light;
  --bg:#fff;--sidebar:#fff;--list:#fff;--detail:#fff;
  --fill:#f2f2f0;--fill-hover:#e8e8e5;--selected:#e8e8e5;
  --text:#111;--secondary:#4a4a46;--tertiary:#686864;
  --separator:rgba(0,0,0,.42);--separator-soft:rgba(0,0,0,.18);
  --accent:#111;--accent-soft:#f1f1ed;--control:#fff;
}
html[data-paper="true"] *,html[data-paper="true"] *::before,html[data-paper="true"] *::after{
  animation:none!important;backdrop-filter:none!important;box-shadow:none!important;transition:none!important;
}
html[data-paper="true"] body{background:#fff}
html[data-paper="true"] .window{grid-template-rows:58px minmax(0,1fr);background:#fff}
html[data-paper="true"] .titlebar{
  height:58px;grid-template-columns:auto 1fr auto;padding:0 14px;border-bottom:1px solid #111;background:#fff;
}
html[data-paper="true"] .window-controls,html[data-paper="true"] #mobile-title{display:none}
html[data-paper="true"] .paper-primary-nav{display:flex;justify-content:center;gap:4px}
html[data-paper="true"] .paper-primary-nav button{
  min-height:40px;border:1px solid transparent;background:#fff;padding:0 14px;font-size:13px;font-weight:650;
}
html[data-paper="true"] .paper-primary-nav button.is-selected{border-color:#111;background:#111;color:#fff}
html[data-paper="true"] .title-actions{justify-self:end}
html[data-paper="true"] #theme-toggle{display:none}
html[data-paper="true"] .toolbar-button{border-radius:0;min-width:40px;min-height:40px}
html[data-paper="true"] .workspace{grid-template-columns:minmax(0,1fr)}
html[data-paper="true"] .source-list,html[data-paper="true"] .item-list{display:none}
html[data-paper="true"] .detail{display:block!important;position:static!important;transform:none!important;background:#fff;overflow-y:auto}
html[data-paper="true"] .article{max-width:760px;padding:30px 44px 72px}
html[data-paper="true"] .article h1,html[data-paper="true"] .article-lead,
html[data-paper="true"] .article-section p,html[data-paper="true"] .perspective-row p,
html[data-paper="true"] .practice-steps,html[data-paper="true"] .practice-note textarea{
  font-family:Georgia,"Times New Roman",serif;
}
html[data-paper="true"] .article h1{font-size:38px;line-height:1.1;letter-spacing:-.02em}
html[data-paper="true"] .article-lead{font-size:18px;line-height:1.58;color:#222}
html[data-paper="true"] .article-section p{font-size:17px;line-height:1.72}
html[data-paper="true"] .article-toolbar{justify-content:space-between;border-bottom:1px solid #111;height:auto;padding-bottom:12px}
html[data-paper="true"] .article-toolbar button{border:1px solid #111;border-radius:0;color:#111;background:#fff;min-height:40px}
html[data-paper="true"] .article-toolbar button.is-active{background:#111;color:#fff}
html[data-paper="true"] .fact-row{grid-template-columns:1fr;border-radius:0;background:#111;border-color:#111}
html[data-paper="true"] .fact{padding:14px 16px}
html[data-paper="true"] .perspective-list,html[data-paper="true"] .practice-block,
html[data-paper="true"] .settings-group,html[data-paper="true"] .native-group{border-radius:0}
html[data-paper="true"] .practice-block{background:#f3f3ef;border:1px solid #111}
html[data-paper="true"] .practice-progress{height:7px;background:#fff;border:1px solid #111;border-radius:0}
html[data-paper="true"] .practice-progress i{background:#111;border-radius:0}
html[data-paper="true"] .practice-note textarea{border:1px solid #111;border-radius:0;background:#fff;font-size:16px}
html[data-paper="true"] .deliverable button,html[data-paper="true"] .secondary-button,
html[data-paper="true"] .export-button{border-radius:0;background:#111;color:#fff}
html[data-paper="true"] .paper-page-nav{
  display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;margin:18px 0 28px;padding:10px 0;border-block:1px solid #111;
}
html[data-paper="true"] .paper-page-nav button{min-height:42px;border:1px solid #111;background:#fff;padding:0 12px;font-weight:650}
html[data-paper="true"] .paper-page-nav button:last-child{justify-self:end}
html[data-paper="true"] .paper-page-nav button:disabled{opacity:.35}
html[data-paper="true"] .paper-page-nav span{text-align:center;font-size:12px;font-weight:650}
html[data-paper="true"] .native-page,html[data-paper="true"] .settings-page,html[data-paper="true"] .context-page{
  max-width:760px;background:#fff;padding-top:34px;
}
html[data-paper="true"] .native-page-header h1,html[data-paper="true"] .weekly-header h1,
html[data-paper="true"] .settings-page>h1,html[data-paper="true"] .context-page>h1{font-family:Georgia,"Times New Roman",serif}
html[data-paper="true"] .mobile-tabbar{display:none}

@media(max-width:760px){
  html[data-paper="true"] .window{grid-template-rows:52px minmax(0,1fr) 58px}
  html[data-paper="true"] .titlebar{height:52px;grid-template-columns:1fr auto;padding:0 6px}
  html[data-paper="true"] #mobile-title{display:block;text-align:left;padding-left:10px;font-size:14px}
  html[data-paper="true"] .paper-primary-nav{display:none}
  html[data-paper="true"] #mobile-back,html[data-paper="true"] #mobile-shortcuts{display:none!important}
  html[data-paper="true"] .workspace{height:100%;display:block}
  html[data-paper="true"] .detail{position:absolute!important;inset:0!important;overflow-y:auto}
  html[data-paper="true"] .article{padding:18px 18px 56px}
  html[data-paper="true"] .article h1{font-size:31px}
  html[data-paper="true"] .article-toolbar{gap:8px}
  html[data-paper="true"] .article-toolbar{justify-content:flex-start;overflow-x:auto}
  html[data-paper="true"] .article-toolbar button{white-space:nowrap}
  html[data-paper="true"] .article-toolbar #finish-block{margin-left:auto}
  html[data-paper="true"] .paper-page-nav{grid-template-columns:auto 1fr auto;margin-top:10px}
  html[data-paper="true"] .paper-page-nav button{min-width:72px;padding:0 8px}
  html[data-paper="true"] .mobile-tabbar{display:grid;position:static;border-top:1px solid #111;background:#fff;padding:0}
  html[data-paper="true"] .mobile-tabbar button{min-height:58px;border-radius:0;background:#fff;color:#111}
  html[data-paper="true"] .mobile-tabbar button.is-selected{background:#111;color:#fff}
  html[data-paper="true"] .native-page,html[data-paper="true"] .settings-page,html[data-paper="true"] .context-page{padding:22px 18px 64px}
}

@media print{
  .titlebar,.source-list,.item-list,.mobile-tabbar,.article-toolbar,.paper-page-nav,.toast{display:none!important}
  html,body,.window,.workspace,.detail{height:auto!important;overflow:visible!important;display:block!important;background:#fff!important}
  .article{max-width:none!important;padding:0!important}
  .practice-block{break-inside:avoid}
  a{color:#000!important;text-decoration:none!important}
}
