Implement Knowledge City platform, organizer and DAV integration

Capture accumulated application, UI, CLI, regression tests and design documentation changes, including task project mapping and default CalDAV list naming.

Keep deployment data, backups, local credentials and build artifacts out of Git. Move the Compose enrollment token to an ignored local environment file.
This commit is contained in:
Anya Tokugawa committed 2026-09-27 14:44:43 +09:00
1 parent 288e6e94ac
commit c1175d389f
699 files changed
+110197 -4117

No files matched your search

+92
View File
@@ -0,0 +1,92 @@
/* Keep the desktop layout and gestures intact. Small screens get compact
navigation; coarse pointers default to scrolling instead of editing. */
.calendar-mobile-view,.calendar-mobile-days,.calendar-mobile-actions,.calendar-mobile-count,.calendar-touch-edit{display:none}
@media (pointer:coarse){
.calendar-touch-edit{display:inline-flex;align-items:center;justify-content:center;min-height:40px}
.calendar-time-event,.calendar-time-column{touch-action:pan-x pan-y pinch-zoom}
.calendar-time-event .calendar-move-handle,.calendar-time-event .calendar-resize-handle,.calendar-timeline-handle{display:none}
.calendar-touch-editing .calendar-time-event,.calendar-touch-editing .calendar-time-column{touch-action:none}
.calendar-touch-editing .calendar-move-handle{display:grid;width:28px;height:28px}
.calendar-touch-editing .calendar-resize-handle{display:block;height:10px}
.calendar-touch-editing .calendar-time-event .calendar-event{padding-right:2rem}
.calendar-touch-edit[aria-pressed=true]{background:var(--accent);color:var(--bg)}
}
@media(max-width:650px), (max-width:950px) and (pointer:coarse){
body:has(.calendar-app)>.topbar{flex-wrap:nowrap;gap:.15rem;padding:.3rem max(.35rem,env(safe-area-inset-right)) .3rem max(.35rem,env(safe-area-inset-left));min-height:44px;box-sizing:border-box}
body:has(.calendar-app)>.topbar>nav{display:none}
body:has(.calendar-app)>.topbar>.brand{flex:1;min-width:0;font-size:.85rem}
body:has(.calendar-app)>.topbar .auth-user-name{display:none}
body:has(.calendar-app)>.topbar .city-map-launch,body:has(.calendar-app)>.topbar .notification-launch{flex:0 0 40px;width:40px;height:40px;margin:0;padding:.55rem}
body:has(.calendar-app)>.topbar .auth-menu>details>summary{min-width:40px;min-height:40px;justify-content:center}
.calendar-app{padding:.35rem max(.35rem,env(safe-area-inset-right)) max(.35rem,env(safe-area-inset-bottom)) max(.35rem,env(safe-area-inset-left));min-width:0}
.calendar-app>.calendar-toolbar:first-child{display:grid;grid-template-columns:minmax(0,1fr) 40px 76px 40px;gap:.3rem;margin-bottom:.3rem}
/* Name and date already have visible controls; keep the heading for readers. */
.calendar-app>.calendar-toolbar:first-child h1{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#calendar-select{grid-row:2;grid-column:1;min-width:0;width:100%}
#calendar-refresh{grid-row:2;grid-column:2}
#calendar-new{grid-row:2;grid-column:3;text-align:center;white-space:nowrap}
#calendar-create,#calendar-settings,#calendar-display-settings,#calendar-source-settings{display:none}
.calendar-mobile-actions{display:block;position:relative;grid-row:2;grid-column:4;z-index:30}
.calendar-mobile-actions>summary{display:grid;place-items:center;min-height:40px;border:1px solid var(--border);border-radius:6px;cursor:pointer;list-style:none;font-size:1.4rem;background:var(--bg)}
.calendar-mobile-actions>summary::-webkit-details-marker{display:none}
.calendar-mobile-actions>div{position:absolute;right:0;top:calc(100% + .3rem);min-width:12rem;display:grid;gap:.25rem;background:var(--bg);border:1px solid var(--border);border-radius:.5rem;padding:.4rem;box-shadow:0 .6rem 1.5rem #0006}
.calendar-mobile-actions button{text-align:left}
.calendar-toolbar{gap:.3rem;margin-bottom:.3rem}
.calendar-toolbar a,.calendar-toolbar button,.calendar-toolbar select,#calendar-nav input{font-size:16px;min-height:40px;box-sizing:border-box;padding:.3rem .45rem;line-height:1.4}
.calendar-toolbar [hidden],.calendar-mobile-actions [hidden]{display:none!important}
#calendar-nav .calendar-view-link{display:none}
#calendar-nav>a{min-width:40px;text-align:center}
#calendar-nav input{flex:1;width:0;min-width:130px;max-width:100%;color:var(--fg);background:var(--bg);border:1px solid var(--border);border-radius:6px;-webkit-appearance:none;appearance:none}
#calendar-nav input::-webkit-date-and-time-value{text-align:center}
.calendar-mobile-view{display:block;flex:0 0 100%;width:100%}
.calendar-time-controls{flex-wrap:nowrap;gap:.3rem;min-width:0;flex-shrink:0;margin:0;padding:.25rem}
.calendar-time-controls button{min-width:36px;min-height:40px}
.calendar-time-meta{font-size:0;flex:1;min-width:0}
.calendar-time-meta::after{content:attr(data-short);font-size:.7rem;white-space:nowrap}
.calendar-time-controls .calendar-touch-edit{font-size:.78rem;padding:.2rem .4rem;white-space:nowrap}
.calendar-mobile-days{display:flex;flex-shrink:0;justify-content:space-between;gap:1px;padding:.2rem 0;background:var(--bg)}
.calendar-mobile-days button{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;min-width:0;min-height:44px;padding:.1rem;border:1px solid transparent;border-radius:.4rem;color:var(--fg);background:transparent;font:inherit;cursor:pointer}
.calendar-mobile-days small{font-size:.65rem}
.calendar-mobile-days button[aria-pressed=true]{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 20%,var(--bg));font-weight:700}
.calendar-time-grid{grid-template-columns:3rem minmax(0,1fr)}
.calendar-time-grid[data-days="7"]{grid-template-columns:3rem repeat(7,max(245px,calc(100vw - 4rem)))}
.calendar-time-scroll{scrollbar-gutter:auto;-webkit-overflow-scrolling:touch;touch-action:pan-x pan-y pinch-zoom}
.calendar-time-heading{padding:.2rem;background:var(--bg);font-size:.85rem;min-height:2rem;box-sizing:border-box}
.calendar-time-heading>a{display:block;min-height:32px;line-height:32px;color:var(--accent)}
.calendar-time-axis,.calendar-all-day-label{background:var(--bg)}
.calendar-time-axis span{font-size:.65rem;right:.2rem}
.calendar-all-day-label{font-size:.7rem}
.calendar-time-event .calendar-event{font-size:.85rem;line-height:1.25;padding:.2rem}
#calendar-content:not(:empty){-webkit-backdrop-filter:none;backdrop-filter:none;background:color-mix(in srgb,var(--bg) 90%,transparent);box-shadow:none}
.calendar-day{min-height:62px;padding:.2rem;box-sizing:border-box}
.calendar-day>a:first-child{display:block;line-height:28px;color:var(--fg)}
.calendar-month .calendar-day>.calendar-event{display:none}
.calendar-mobile-count{display:block;font-size:.7rem;line-height:24px;color:var(--accent);white-space:nowrap}
.calendar-month .calendar-day>a:not(:first-child):not(.calendar-mobile-count):not(.calendar-event){display:none}
.calendar-year .calendar-day{min-height:40px}
.calendar-week{grid-template-columns:repeat(7,minmax(260px,1fr));overscroll-behavior:contain}
.calendar-list{table-layout:fixed;font-size:.85rem}
.calendar-list td{overflow-wrap:anywhere;vertical-align:top}
.calendar-list td:first-child{width:6rem}
.calendar-list td:nth-child(3){display:none}
.calendar-list .calendar-event{white-space:normal;font-size:.85rem}
.calendar-detail{overflow-wrap:anywhere}
.calendar-detail dl{grid-template-columns:1fr;gap:.25rem}
.calendar-detail dt{font-size:.8rem;color:var(--muted)}
.calendar-detail dd{margin-bottom:.5rem}
#calendar-dialog{inset-block-start:calc(var(--calendar-visual-top,0px) + .5rem);inset-block-end:auto;max-height:calc(var(--calendar-visual-height,100dvh) - 1rem);width:calc(100vw - 1rem);max-width:calc(100vw - 1rem);margin:0 auto;border-radius:.6rem;background:var(--bg);-webkit-backdrop-filter:none;backdrop-filter:none}
#calendar-dialog #calendar-form{max-height:calc(var(--calendar-visual-height,100dvh) - 1rem)}
#calendar-dialog header,#calendar-dialog footer{padding:.5rem .7rem;gap:.4rem}
#calendar-dialog footer{padding-bottom:max(.5rem,env(safe-area-inset-bottom))}
#calendar-dialog button{min-height:44px;font-size:16px}
#calendar-fields{padding:.2rem .7rem .5rem;scrollbar-gutter:auto;min-width:0;-webkit-overflow-scrolling:touch}
#calendar-fields label{min-width:0;margin:.5rem 0}
#calendar-fields input,#calendar-fields select,#calendar-fields textarea{font-size:16px;min-width:0;max-width:100%;min-height:44px;-webkit-text-size-adjust:100%}
#calendar-fields input[type=checkbox]{min-height:24px;min-width:24px}
#calendar-fields p{font-size:.85rem;overflow-wrap:anywhere}
}
@media(max-width:950px) and (max-height:480px) and (pointer:coarse){
.calendar-app>.calendar-toolbar:first-child h1{display:none}
#calendar-nav .calendar-mobile-view{flex:1;min-width:100px;width:0}
.calendar-time-grid[data-days="7"]{grid-template-columns:3rem repeat(7,max(245px,calc((100vw - 4rem)/2)))}
}