/* Quiet desk, paper indexes and a pencil case. Screen-only: print art stays canonical. */
@media screen {
  body{background-color:#eeeae2;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23887755' opacity='.035' filter='url(%23n)' d='M0 0h180v180H0z'/%3E%3C/svg%3E");color:#665e53}
  .topbar{height:64px;background:transparent;border-bottom:1px solid #d8cfbf88}.brand{font:700 23px var(--paper);letter-spacing:1px}.brand-mark{font-size:28px}.brand-sub{color:#8e8170}.saved{color:#807d67}.avatar{background:#f7f2e7;border-color:#d6cbbd}
  .app-layout{min-height:calc(100vh - 64px)}.rail{background:#f7f2e577;border:0;border-right:1px dashed #d2c6b4;padding-top:31px}.rail-item.active{background:#e3d9e8;border-radius:2px 12px 12px 2px;color:#745d81}.rail-item{color:#8c7d69}
  main{padding-top:24px}.workspace-heading{margin-bottom:20px}.workspace-heading h1{font-weight:400;font-size:25px}.eyebrow{color:#8e806c}.quiet-button,#cover-settings{background:transparent;border:0;border-bottom:1px solid #cbbfae;border-radius:0;color:#82735f}
  .view-heading{margin-bottom:8px}.view-switch{gap:4px;padding:0;background:transparent;border-radius:0}.view-switch button{border-radius:7px 7px 0 0;padding:11px 24px;background:#e4ddcf;color:#817461;border:1px solid #d5cbbb;border-bottom:0;font-size:12px;min-height:42px;box-shadow:inset 0 2px #f9f6ed99}.view-switch button:nth-child(2){background:#e2e5d6}.view-switch button:nth-child(3){background:#e8dce7}.view-switch button.selected{color:#6d526f;background:#fffcf3;box-shadow:inset 0 3px #bca6c7}.notes-shortcut{color:#80705d;font-size:12px}
  .toolbar{border:0;border-top:1px solid #d1c4b0;border-bottom:1px solid #d1c4b0;background:#f9f5eb99;border-radius:0;box-shadow:none;min-height:54px}.date-control>.date-trigger{color:#776654;font-size:12px}.paper-tabs button{color:#887660}.tool-actions>button{color:#8a7761}.tool-actions>#tools-toggle{width:auto;min-width:96px;font-size:12px;gap:6px;padding:6px 10px}.tool-actions>#tools-toggle>span{display:inline}.tools-toggle[aria-expanded=true]{background:#e8deed}.tools-toggle>span:first-child{font:22px Georgia}.tools-chevron{font:14px Arial}.tools-open .tools-chevron{rotate:180deg}
  .asset-tray{border:1px solid #d7c9b7;border-radius:4px 4px 14px 14px;background:#f8f2e6;box-shadow:0 4px 0 #ddd3c3,0 8px 15px #85715a0b;margin-top:10px}.tray-item{background:#f1e9db;border-color:#ddd1bf}.tray-item small{color:#7e6c56}.tray-heading small{color:#93816a}
  .desk{padding-top:24px;background:none}.desk-flower{opacity:.35}.notebook{box-shadow:0 13px 25px #79654a20,0 2px 3px #79654a16}.notebook-pages{display:none}.page-kicker{color:#97876e}.page-number{color:#97866b;white-space:nowrap}.desk-bottom>span{color:#93816b}.desk-bottom>div{background:transparent;border:0;border-bottom:1px solid #d6c8b4;border-radius:0}.desk-bottom button{color:#8c775d}.pagination{color:#816c53}.pagination>button{min-width:40px;min-height:40px}.page-tabs{right:-22px}
  .month-event.has-event{border-left:0}.month-event:empty{background:none;min-height:24px}.month-intention,.week-intention{color:#86705a}.week-range{color:#917d63}.column-label{color:#8c785f}.schedule-text:empty:before,.planner [contenteditable]:empty:before{color:#a19079}.week-day-label span{color:#8d7a61}.calendar-day{color:#766650}.month-weekdays{color:#8a765c}
  .month-footer{margin-bottom:24px}.monthly .page-number{left:0;right:0;text-align:center;bottom:16px}.notes-drawer{background:#faf4e7}.note-card{border-radius:2px;background:repeating-linear-gradient(transparent 0 28px,#e9e0cf55 28px 29px),#fffcf4;box-shadow:2px 3px 0 #e6dccb}.notes-open{overflow:hidden}.day-entry-form>label{display:block}.day-entry-form textarea{margin-top:8px;min-height:180px}.day-entry-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}.day-entry-actions .dialog-action{float:none;margin:0}.day-entry-actions>button:first-child{font-size:12px}
}
@media screen and (max-width:600px) {
  body{padding-bottom:calc(65px + env(safe-area-inset-bottom));background-color:#eee9df}.topbar{height:52px;padding:0 17px}.brand{font-size:20px;gap:7px}.brand-mark{font-size:25px}.saved{font-size:10px}.header-right{gap:10px}.avatar{width:30px;height:30px}
  main{padding:17px 14px 0;width:100%}.workspace-heading{margin-bottom:17px}.workspace-heading h1{font-size:22px}.eyebrow{font-size:8px;letter-spacing:1.7px}.quiet-button,#cover-settings{font-size:11px;padding:8px;min-height:40px}.quiet-button .ui-icon{width:14px;height:14px}.diary-actions{gap:2px}.view-heading{gap:8px;margin-bottom:0}.view-switch{gap:3px}.view-switch button{padding:10px 19px;font-size:12px;min-height:42px}.notes-shortcut{padding:8px 3px;font-size:11px}.notes-shortcut .ui-icon{display:none}
  .toolbar,.toolbar:has(.paper-tabs:not([hidden])),.toolbar:has(.paper-tabs[hidden]){padding:5px 0;min-height:50px;gap:0;flex-wrap:wrap}.date-control{gap:0;flex:1}.date-control>.date-trigger{font-size:12px;padding:4px;gap:3px;height:40px}.date-control>#prev-day,.date-control>#next-day{width:32px;height:42px}.date-control .ui-icon{width:15px;height:15px}.date-trigger-chevron{display:none}.tool-actions{gap:0;margin-left:0;padding:0;flex-shrink:0}.tool-actions>#tools-toggle{min-width:70px;gap:3px;padding:4px;font-size:12px}.tool-actions>#tools-toggle>.tools-chevron{display:none}.tool-actions>button{width:34px;height:42px;min-width:34px}.tool-actions #editor-undo,.tool-actions #editor-redo,.tool-actions #text-tool{display:none}.tools-open .tool-actions #editor-undo,.tools-open .tool-actions #editor-redo,.tools-open .tool-actions #text-tool{display:flex}.tools-open .tool-actions{width:100%;justify-content:flex-end;border-top:1px dashed #dacebd}.tools-open .tool-actions>#tools-toggle{margin-right:auto}
  .paper-tabs{border:0;order:3;padding:0;justify-content:flex-start;gap:10px}.paper-tabs button{font-size:11px;padding:8px 4px;min-height:36px;border-radius:0}.paper-tabs .selected{box-shadow:none;background:transparent;border-bottom:2px solid #b29abd;color:#795b88}
  .asset-tray{padding:10px;margin-top:8px}.tray-items{gap:9px;flex-wrap:wrap}.tray-group{gap:6px;flex:1;border:0;padding:0}.tray-group:first-child{width:100%;flex-basis:100%;border-bottom:1px dashed #d9cbb7;padding:0 0 9px}.tray-group:last-child{justify-content:flex-end;flex:3}.tray-item{min-width:48px;width:100%;height:59px;flex:1;touch-action:pan-y;cursor:pointer;border-radius:5px}.tray-item>small{font-size:10px}.tray-item:hover{transform:none}.tray-item>span{height:25px}.tray-item svg{width:25px;height:26px}
  .desk{padding:15px 9px 0 0}.desk-flower{display:none}.notebook-pages{display:flex;align-items:end;justify-content:flex-end;gap:4px;margin:0 0 0 5px;min-height:39px}.notebook-page-label{margin-right:auto;align-self:center;font:10px var(--ui);letter-spacing:1px;color:#97856d}.notebook-pages button{background:#ded5c3;padding:10px 13px;min-height:42px;border-radius:6px 6px 0 0;font-size:12px;color:#806c53;border:1px solid #d3c5b2;border-bottom:0}.notebook-pages button[aria-pressed=true]{background:#fffcf4;color:#755a7f;box-shadow:inset 0 3px #bca7c8}.notebook{max-width:none;transform:none!important}.notebook>.page,.notebook.weekly>.page{width:100%;border-radius:2px 3px 3px 2px}.notebook>.left-page{display:block}.notebook.weekly>.left-page{display:flex}.notebook>.right-page,.notebook.weekly>.right-page{display:none}.notebook.mobile-right>.left-page,.notebook.weekly.mobile-right>.left-page{display:none}.notebook.mobile-right>.right-page{display:block}.notebook.weekly.mobile-right>.right-page{display:flex}.book-seam{display:none}.page-tabs{right:-17px;top:7%;gap:10px}.page-tabs span{padding:10px 3px;font-size:9px;color:#826c8f}.page-tabs span+span{color:#997762}.book-edge{inset:5px -4px -6px 4px}.page{min-height:530px;padding:18% 10% 12%;aspect-ratio:720/1070}.blank-writing{font-size:16px;line-height:32px;overflow-wrap:anywhere}.blank-writing:empty:before{font-size:14px}.page-kicker{font-size:8px}.page-number{font-size:10px}.page [contenteditable]{caret-color:#846393}.page [contenteditable]:focus{outline-offset:2px}
  .planner .page{padding:24px 20px 21px;aspect-ratio:auto;min-height:560px}.planner .page-number{position:static;text-align:center;display:block;line-height:14px;flex-shrink:0;margin:20px 0 0}.monthly .page{min-height:620px}.month-title{margin-bottom:14px;height:64px}.month-title>span:first-child{font-size:61px}.month-title em{font-size:23px}.month-title small{font-size:9px}.month-title .month-flower{font-size:36px}.planner-topline{margin-bottom:18px}.month-intention{margin-bottom:17px;height:auto;min-height:43px;gap:10px;font-size:14px;padding:8px 0}.month-intention>span{font-size:10px}.compact-month .month-weekdays{grid-template-columns:repeat(7,minmax(0,1fr));font-size:9px;height:25px;letter-spacing:0}.compact-month .month-weekdays>span{font-size:0}.compact-month .month-weekdays small{display:inline;font:11px var(--ui)}.compact-month .month-grid{height:auto;grid-auto-rows:minmax(63px,auto);grid-template-rows:repeat(var(--rows),minmax(63px,auto))}.compact-month .month-cell{padding:4px 2px;overflow:hidden;border-right:1px solid #e8e1d5;cursor:pointer}.compact-month .month-cell:nth-child(7n){border-right:0}.compact-month .month-cell:nth-last-child(-n+7){border-bottom:0}.compact-month .calendar-day{font-size:14px;width:29px;height:29px;line-height:29px;display:block;margin:auto}.compact-month .month-event{font:10px/1.4 var(--ui);padding:2px;min-height:0;max-height:30px;overflow:hidden;margin-top:2px;border:0;word-break:break-all}.compact-month .month-event:empty{display:none}.compact-month .month-footer{font-size:14px;margin:16px 0 0;min-height:30px}.compact-month .month-footer [contenteditable]{min-height:28px;flex:1}.compact-month .month-right-header{height:94px}.compact-month .month-right-layout{display:block}.compact-month .month-right-days{display:none}.compact-month .month-margin{border:0;padding:0;width:100%;min-height:350px}.compact-month .margin-heading{font:italic 24px Georgia}.compact-month .margin-memo{font:16px/32px var(--paper);min-height:288px;margin-top:18px;background:repeating-linear-gradient(transparent 0 31px,#e5dccb 31px 32px)}.compact-month .margin-flower{font-size:32px;margin:14px 0 0;text-align:right}
  .weekly .page{min-height:665px}.week-title{height:88px}.week-title h2{font-size:22px}.week-range{font-size:11px}.week-intention{height:auto;min-height:44px;font-size:14px;margin-bottom:13px;padding:8px 10px}.week-intention>span{font-size:8px}.weekly .week-rows{flex:1;grid-template-rows:repeat(4,minmax(105px,auto));min-height:420px}.weekly .week-day{min-height:105px;padding:10px 0}.week-day-label{width:38px}.week-day-label button{font-size:28px;min-width:32px;min-height:36px;margin:0 0 5px}.week-day-label span{font-size:9px}.week-day-content{grid-template-columns:1fr 1fr;gap:7px}.schedule-text,.todo-item{font-size:13px;line-height:1.8}.schedule-text:empty:before{font-size:11px}.column-label{font:8px/1.6 var(--ui);letter-spacing:.7px;min-height:29px;margin-bottom:4px}.column-label button{width:32px;height:30px;font-size:21px}.schedule-column,.todo-column{overflow:visible}.todo-column{padding-left:8px;padding-right:0;scrollbar-gutter:auto}.todo-item{gap:5px;flex-wrap:wrap}.todo-item>span{min-width:30px;flex:1}.todo-item>button{opacity:1;width:25px;min-height:30px;font-size:17px;padding:0}.todo-item input{width:19px;height:19px;min-width:19px;min-height:19px;margin-top:3px}.week-right-heading{height:120px}.week-memo [contenteditable]{font-size:14px;line-height:1.8;min-height:54px;max-height:none}.weekly .page-number{margin-top:21px}.week-memo svg{width:48px;height:62px}.weekly .week-memo{min-height:105px}
  .desk-bottom{margin-top:14px;justify-content:center}.desk-bottom>span{font-size:10px;max-width:none;text-align:center}.desk-bottom>div{display:none}footer{margin:10px 0 18px}.pagination{gap:12px;flex-wrap:wrap;justify-content:center}.pagination .add-page{font-size:11px}#page-range{font-size:10px}#page-range small{font-size:10px}.rail{position:fixed;bottom:0;left:0;right:0;z-index:24;width:auto;height:calc(59px + env(safe-area-inset-bottom));padding:4px 10px calc(4px + env(safe-area-inset-bottom));gap:4px;display:flex;flex-direction:row;justify-content:space-around;background:#f6f0e4f5;border-top:1px solid #cdbfa9;box-shadow:0 -3px 12px #75603d0a;backdrop-filter:blur(12px)}.rail-item{width:auto;flex:1;min-height:46px;padding:4px 0;gap:2px;border-radius:3px!important;color:#89745b}.rail-item.active{background:#e5dbe8;color:#785b85}.rail-item>span{font-size:19px;line-height:22px}.rail-item .ui-icon{width:19px;height:19px}.rail-item small{font-size:10px}.rail-line,.rail-spacer,.rail-bunny,#help{display:none}.toast{bottom:calc(74px + env(safe-area-inset-bottom));max-width:calc(100vw - 28px);width:max-content;white-space:normal;text-align:center;font-size:12px}.notes-drawer{padding:20px 18px 0;z-index:50}.drawer-backdrop{z-index:49}.notes-controls input{font-size:16px}.notes-controls>button{font-size:12px;min-height:44px}.drawer-head>button{width:44px;height:44px}.drawer-bottom{padding-bottom:calc(16px + env(safe-area-inset-bottom))}.drawer-bottom>button{min-height:44px}.note-card-actions button{font-size:12px;padding:10px 8px}.note-pin{width:40px;height:40px}.note-card p{font-size:14px}.note-card h3{font-size:17px}.notes-filter button{min-height:40px;font-size:12px}dialog{max-height:calc(100dvh - 30px);overflow:auto}.day-entry-form textarea,#dialog-body input:not([type=hidden]):not([type=checkbox]):not([type=radio]),#dialog-body textarea{font-size:16px;line-height:1.8}.dialog-action,.day-entry-actions>button{min-height:44px}.date-picker{max-height:calc(100dvh - 24px)}.picker-day{height:40px;font-size:14px}.object-quick-actions button{min-height:36px;font-size:10px}.object-handle{width:34px;height:34px}.object-rotate{width:32px;height:32px}.direct-object [contenteditable]{font-size:16px}
}
@media screen and (max-width:360px){.view-switch button{padding:10px 14px}.planner .page{padding-left:15px;padding-right:15px}.tool-actions>#tools-toggle{min-width:63px}.date-control>.date-trigger{font-size:11px}.month-title em{font-size:21px}.notebook-pages button{padding:10px 11px}.compact-month .calendar-day{width:26px;height:28px}}
@media print{.notebook-pages,#tools-toggle{display:none!important}}
@media screen and (max-width:600px){.schedule-text[contenteditable],.todo-item>[contenteditable],.week-intention>[contenteditable],.week-memo [contenteditable],.month-intention>[contenteditable],.month-footer>[contenteditable]{font-size:16px}.schedule-text:empty:before{font-size:11px}.week-day-content{align-items:start}}
@media screen and (max-width:600px){.notebook-pages-bottom{margin-top:16px;justify-content:center;min-height:44px;align-items:center}.notebook-pages-bottom .notebook-page-label{display:none}.notebook-pages-bottom button{border:0;border-radius:3px;min-height:44px;padding:10px 18px;background:transparent}.notebook-pages-bottom button[aria-pressed=true]{box-shadow:none;border-bottom:2px solid #bca7c8;background:#e9deeb66}.desk-bottom{margin-top:6px}}
@media screen{.page-favorite{font:22px/1 Georgia;color:#a48aac;min-width:36px;min-height:36px;padding:4px}.page-favorite[aria-pressed=true]{color:#b6778d}}
@media print{.page-favorite{display:none!important}}
@media screen and (max-width:600px){.tools-open .tool-actions{flex-basis:100%}.tools-open .date-control{flex-basis:100%}.tools-open .paper-tabs{order:3}}
