@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.start{inset-inline-start:var(--spacing)}.table{display:table}}:root{--paper:#fafaf7;--sheet:#fff;--ink:#28241f;--muted:#746f68;--line:#e6e1da;--soft-line:#f0ece7;--past:#a9c8d8;--today:#bfd8c1;--future:#c7c9e8;--accent:#8caebd;--accent-soft:#a9c8d83d;--green-soft:#bfd8c142;--orange-soft:#e6c3a53d;--shadow:0 18px 42px #50483e0e}*{box-sizing:border-box}html,body{height:100%}body{background:var(--paper);color:var(--ink);margin:0;font-family:Zen Kaku Gothic New,Noto Sans JP,Hiragino Sans,Yu Gothic,Arial,sans-serif;overflow:hidden}button,input,select,textarea{font:inherit;border-radius:10px}button{border:1px solid var(--line);color:var(--ink);cursor:pointer;background:#ffffffc7}input,select,textarea{border:1px solid var(--line);width:100%;min-height:40px;color:var(--ink);background:#fffefb;padding:8px 10px}textarea{resize:vertical;min-height:92px;line-height:1.65}.app-shell{height:100vh;padding:58px 18px 18px;position:relative}.language-switch{z-index:20;color:var(--muted);align-items:center;gap:7px;font-size:13px;display:flex;position:absolute;top:14px;right:22px}.language-switch button{color:var(--muted);background:0 0;border:0;border-radius:999px;padding:5px 8px}.language-switch button.active{background:var(--accent-soft);color:var(--ink);font-weight:700}.loading-shell{background:var(--paper)}.books{grid-template-columns:minmax(230px,25%) minmax(300px,32%) minmax(390px,43%);gap:12px;width:min(1840px,100%);height:100%;min-height:0;margin:0 auto;display:grid}.book{border:1px solid var(--line);min-width:0;min-height:0;box-shadow:var(--shadow);background:#ffffffe6;border-radius:14px;padding:20px;overflow:auto}.book-heading{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:18px;display:flex}.book-heading h2,.idea-header h2{letter-spacing:0;white-space:nowrap;align-items:center;gap:9px;margin:0;font-family:Zen Old Mincho,Shippori Mincho,Hiragino Mincho ProN,Yu Mincho,serif;font-size:26px;line-height:1.15;display:flex}.book-heading h2:before,.idea-header h2:before{content:"";border:1.5px solid var(--accent);background:#a9c8d829;border-radius:6px;width:19px;height:19px;display:inline-block}.calendar-book .book-heading h2:before{border-radius:5px;box-shadow:inset 0 5px #a9c8d857}.todo-book .book-heading h2:before{background:#bfd8c138;border-radius:4px;width:17px;height:17px}.idea-header h2:before{background:#c7c9e838;border-radius:50% 50% 50% 8px}.compact-heading{align-items:center}.calendar-book,.todo-book,.idea-book{background:#ffffffed}.nikkori-panel{background:#e8dfb82b;border:1px solid #eee5cf;border-radius:14px;gap:9px;margin-bottom:18px;padding:14px;display:grid}.nikkori-panel h3,.nikkori-panel p{margin:0}.nikkori-panel h3{font-family:Zen Old Mincho,Shippori Mincho,Hiragino Mincho ProN,serif;font-size:18px}.nikkori-panel small{color:var(--muted)}.nikkori-panel form{grid-template-columns:minmax(0,1fr) auto;gap:7px;display:grid}.nikkori-panel form button{background:#e8dfb847;padding:0 12px}.nikkori-panel p{color:#5f5749;line-height:1.55}.idea-book{grid-template-rows:auto auto auto 1fr;padding:0;display:grid}.day-list{gap:2px;display:grid}.day-row{border-top:1px solid var(--soft-line);padding:14px 0}.day-heading{text-align:left;background:0 0;border:0;justify-content:space-between;align-items:center;width:100%;min-height:36px;padding:0;font-size:17px;font-weight:700;display:flex}.day-heading b{border:1px solid var(--line);width:26px;height:26px;color:var(--muted);opacity:0;border-radius:50%;place-items:center;font-weight:400;transition:opacity .16s;display:grid}.day-heading:hover b,.day-heading:focus-visible b{opacity:.58}.today-day .day-heading span{align-items:center;gap:8px;display:inline-flex}.today-day .day-heading span:before{content:"";background:#e6c3a5;border-radius:50%;width:8px;height:8px}.calendar-event button{text-align:left;background:0 0;border:0;grid-template-columns:58px minmax(0,1fr);align-items:baseline;gap:8px;width:100%;min-height:34px;padding:3px 0;display:grid}.calendar-event time{color:var(--muted);font-variant-numeric:tabular-nums}.hidden-editor{border:1px solid var(--soft-line);background:#fcfbf8f0;border-radius:12px;gap:8px;margin-top:8px;padding:10px;display:grid}.editor-actions{flex-wrap:wrap;gap:8px;display:flex}.editor-actions button,.hidden-editor button{min-height:34px;padding:0 10px}.meter-wrap{position:relative}.mini-meter{white-space:normal;text-align:center;background:#ffffffb3;border-color:#ebe5de;grid-template-columns:minmax(0,1fr);place-items:center;gap:8px;min-height:142px;padding:12px 16px;display:grid}.mini-pie{aspect-ratio:1;border-radius:50%;width:104px;display:inline-block}.mini-legend{color:var(--muted);justify-content:center;gap:10px;font-size:12px;line-height:1.2;display:flex}.mini-legend span{align-items:center;gap:4px;display:inline-flex}.legend-dot{border-radius:50%;width:7px;height:7px;display:inline-block}.past-dot{background:#add8e6}.today-dot{background:#90ce90}.future-dot{background:#ffd1dc}.meter-details{z-index:4;border:1px solid var(--line);width:min(310px,70vw);box-shadow:var(--shadow);background:#fff;border-radius:12px;gap:6px;margin-top:8px;padding:10px;display:grid;position:absolute;right:0}.meter-details p{margin:0}.quick-todo{grid-template-columns:minmax(0,1fr) 44px;gap:8px;margin-bottom:22px;display:grid}.quick-todo button{background:var(--green-soft);font-size:22px}.capture-panel{gap:10px;margin:-8px 0 20px;display:grid}.zero-start-button{width:100%;min-height:40px;color:var(--muted);text-align:left;background:#fafaf7db;border-color:#eadfd5;justify-content:space-between;align-items:center;gap:10px;padding:8px 12px;display:flex}.zero-start-button small{font-size:11px}.capture-toggle{text-align:left;background:#bfd8c121;border-style:dashed;justify-content:space-between;align-items:center;gap:12px;width:100%;min-height:48px;padding:9px 12px;display:flex}.capture-toggle span{font-weight:700}.capture-toggle small,.capture-notice{color:var(--muted)}.capture-form,.candidate-list{gap:9px;display:grid}.capture-form textarea{min-height:118px}.capture-interim{color:var(--muted);margin:-2px 0 0;font-size:13px;line-height:1.5}.capture-actions{flex-wrap:wrap;gap:8px;display:flex}.capture-actions button,.save-candidates{min-height:40px;padding:0 13px}.capture-actions button:first-child,.save-candidates{background:var(--green-soft);font-weight:700}.capture-speech{border-color:#8797a38c}.capture-speech.listening{background:var(--rose-soft);border-color:#af717573;font-weight:700}.capture-notice{margin:0;font-size:13px;line-height:1.55}.candidate-list{border:1px solid var(--soft-line);background:#fcfbf8f0;border-radius:12px;padding:10px}.candidate-row{grid-template-columns:24px minmax(0,1fr) 78px;align-items:center;gap:7px;display:grid}.candidate-check{accent-color:#86aa8a;width:20px;min-height:20px}.candidate-row input:not(.candidate-check),.candidate-row select{min-height:38px}.candidate-meta{color:var(--muted);grid-column:2/4;font-size:12px;line-height:1.45}.save-candidates{width:100%}.structured-candidates{color:var(--muted);gap:10px;font-size:12px;line-height:1.45;display:grid}.structured-candidates section{gap:4px;display:grid}.structured-candidates strong{color:var(--ink);font-size:13px}.structured-candidates p{margin:0}.boost-panel{margin:-8px 0 18px}.boost-start{background:var(--orange-soft);text-align:left;border-color:#e7ddd2;justify-content:space-between;align-items:center;gap:10px;width:100%;min-height:48px;padding:9px 12px;display:flex}.boost-start span{font-weight:800}.boost-start small{color:var(--muted)}.boost-card{background:#e6c3a52e;border:1px solid #e4d4c5;border-radius:13px;gap:10px;padding:14px;display:grid}.boost-card p,.boost-card strong{margin:0}.boost-card strong{font-size:18px;line-height:1.5}.boost-actions{flex-wrap:wrap;gap:7px;display:flex}.boost-actions button,.boost-card>button{min-height:38px;padding:0 12px}.boost-actions button:first-child{background:#bfd8c17a;font-weight:700}.plain-list{gap:4px;display:grid}.todo-row{grid-template-columns:32px minmax(0,1fr);align-items:start;gap:8px;padding:5px 0;display:grid}.check-box{background:0 0;border:0;width:30px;min-height:30px;font-size:20px;line-height:1}.todo-text{text-align:left;background:0 0;border:0;min-height:30px;padding:2px 0;font-size:18px;line-height:1.45}.todo-row.done .todo-text{color:var(--muted)}.todo-row.dropped .todo-text{color:var(--muted);text-decoration:line-through}.todo-detail{grid-column:1/-1}.todo-detail small{color:var(--muted)}.history-toggle,.subtle-link{border:0;border-top:1px solid var(--soft-line);text-align:left;width:100%;min-height:38px;color:var(--muted);background:0 0;margin-top:14px}.finished-list,.buried-list{padding-top:8px}.idea-header{justify-content:space-between;align-items:flex-start;gap:12px;padding:22px 22px 10px;display:flex}.category-select,.note-menu{min-height:34px;color:var(--muted);background:0 0;border-color:#0000;margin-top:6px;padding-left:0}.note-menu{border-color:var(--line);background:#ffffffb8;width:128px;padding-left:8px}.recent-categories{gap:7px;padding:0 22px 14px;display:flex;overflow-x:auto}.recent-categories button{color:#504a42;background:#fff9;border-width:1px;border-color:#e7e0d8;border-radius:999px;min-width:max-content;min-height:28px;padding:0 11px;font-size:13px;font-weight:500}.recent-categories button.active{background:var(--accent-soft);font-weight:700}.recent-categories .free-tag{border-style:dashed}.notebook-drawer{border:1px solid var(--soft-line);background:#fcfbf8f0;border-radius:12px;gap:10px;max-height:260px;margin:0 22px 12px;padding:10px;display:grid;overflow:auto}.notebook-context{background:#c7c9e826;border:1px solid #e4e2ef;border-radius:12px;gap:8px;margin:0 22px 12px;padding:12px;display:grid}.notebook-context p,.notebook-context strong{margin:0}.notebook-context p{color:var(--muted);font-size:12px}.notebook-context div{flex-wrap:wrap;gap:6px;display:flex}.notebook-context button{min-height:34px;padding:0 9px}.category-admin-row{grid-template-columns:minmax(0,1fr) repeat(4,auto);align-items:center;gap:6px;display:grid}.category-admin-row span{border-left:4px solid;align-items:center;min-height:34px;padding-left:8px;display:flex}.category-admin-row button{min-height:32px;padding:0 8px}.journal-card{border:1px solid var(--soft-line);background:#fffefb;border-radius:12px;gap:6px;padding:10px;display:grid}.journal-card h3,.journal-card p{margin:0}.journal-card time,.journal-card small{color:var(--muted);font-size:13px}.chat-room{border-top:1px solid var(--soft-line);grid-template-rows:1fr auto;min-height:0;display:grid}.chat-scroll{flex-direction:column;gap:14px;min-height:0;padding:24px 22px;display:flex;overflow:auto}.message{border-radius:18px;max-width:82%;padding:12px 14px;line-height:1.65}.message p{margin:0}.message p+p{margin-top:4px}.assistant-message{background:#a9c8d82e;align-self:flex-start}.user-message{background:#bfd8c13d;align-self:flex-end}.chat-session{display:contents}.chat-session time{color:var(--muted);align-self:center;font-size:12px}.chat-input{border-top:1px solid var(--soft-line);background:#fffffff0;grid-template-columns:minmax(0,1fr) 42px 42px;gap:8px;padding:14px;display:grid}.chat-input input{border-radius:999px;padding-left:16px}.chat-input button{border-radius:50%;place-items:center;min-height:42px;display:grid}.mic-button.pending{opacity:.42;cursor:default}.mic-button.listening{background:var(--rose-soft);border-color:#af717573}.chat-interim{color:var(--muted);grid-column:1/-1;margin:-2px 8px 0;font-size:13px;line-height:1.45}.line-icon{width:18px;height:18px;display:inline-block;position:relative}.mic-icon{border:1.5px solid var(--muted);border-radius:9px;width:12px;height:17px}.mic-icon:before{content:"";background:var(--muted);width:1.5px;height:5px;position:absolute;bottom:-5px;left:4px}.mic-icon:after{content:"";border-bottom:1.5px solid var(--muted);border-radius:0 0 12px 12px;width:16px;height:8px;position:absolute;bottom:-2px;left:-3px}.send-icon:before{content:"";background:var(--muted);width:1.5px;height:14px;position:absolute;top:2px;left:8px}.send-icon:after{content:"";border-top:1.5px solid var(--muted);border-left:1.5px solid var(--muted);width:9px;height:9px;position:absolute;top:2px;left:4px;transform:rotate(45deg)}.mobile-tabs{display:none}@media (max-width:960px){body{overflow:auto}.app-shell{height:auto;min-height:100vh;padding:54px 10px 82px}.language-switch{top:12px;right:14px}.books{height:auto;display:block}.book{min-height:calc(100vh - 104px);max-height:none;display:none}.mobile-calendar .calendar-book,.mobile-todo .todo-book,.mobile-note .idea-book{display:grid}.calendar-book,.todo-book{display:none}.mobile-calendar .calendar-book,.mobile-todo .todo-book{display:block}.idea-book{grid-template-rows:auto auto auto minmax(0,1fr)}.todo-text{font-size:17px}.mini-meter{min-height:120px}.mini-pie{width:82px}.mobile-tabs{z-index:10;border:1px solid var(--line);box-shadow:var(--shadow);background:#fffdf8;border-radius:12px;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:7px;display:grid;position:fixed;bottom:10px;left:10px;right:10px}.mobile-tabs button{min-height:42px}.mobile-tabs button.active{background:var(--accent-soft);font-weight:700}}@media (max-width:520px){.book{padding:14px}.idea-book{padding:0}.book-heading h2,.idea-header h2{font-size:24px}.book-heading{gap:8px}.compact-heading{align-items:flex-start}.quick-todo{grid-template-columns:minmax(0,1fr) 42px}.capture-toggle,.boost-start{flex-direction:column;align-items:flex-start;gap:2px}.candidate-row{grid-template-columns:24px minmax(0,1fr)}.candidate-row select{grid-column:2}.message{max-width:92%}}
