:root { font-family: 'Segoe UI', Arial, sans-serif; color: #263e35; background: #f6f4ed; font-synthesis: none; }
body { margin: 0; }
* { box-sizing: border-box; }
.masthead { height: 76px; padding: 0 4%; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #dedfd4; }
a { color: inherit; text-decoration: none; }
.brand { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; letter-spacing: 2px; }
.brand-mark { display: grid; place-items: center; width: 30px; height: 30px; background: #294e3d; color: #f6f4ed; border-radius: 50%; font: italic 23px Georgia, serif; }
.brand-note, .back-link { font-size: 12px; font-weight: 400; letter-spacing: 0; color: #737d70; }
.back-link:hover { color: #264e3c; text-decoration: underline; }
main { max-width: 1500px; margin: auto; padding: 35px 4% 20px; }
.intro { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.eyebrow { font-size: 10px; font-weight: 600; letter-spacing: 1.8px; }
h1 { font: 42px/1.15 Georgia, serif; letter-spacing: -1.4px; margin: 13px 0; }
.lede { font-size: 14px; color: #717b6e; margin: 0; }
.strategy-badge { background: #e7ecdf; border: 1px solid #d5ddcc; border-radius: 25px; padding: 10px 14px; font-size: 11px; white-space: nowrap; }
.strategy-badge > span, .workspace-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #52795a; margin-right: 7px; }
.workspace { border: 1px solid #d6dbce; border-radius: 10px; overflow: hidden; box-shadow: 0 12px 36px #30442f09; }
.workspace-toolbar { min-height: 58px; padding: 10px 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #fffdf7; font-size: 12px; }
.muted { color: #8a9183; margin-left: 10px; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.actions label { font-size: 11px; color: #737d70; }
.actions select { font: inherit; color: #3b5242; background: #fffdf7; border: 1px solid #d5dbcd; border-radius: 5px; padding: 8px; max-width: 100%; }
.strategy-badge > #strategy-label { display: inline; width: auto; height: auto; border-radius: 0; background: transparent; margin: 0; }
.workspace-toolbar { flex-wrap: wrap; }
button { font: inherit; cursor: pointer; background: transparent; border: 1px solid #d5dbcd; border-radius: 5px; padding: 9px 13px; color: #3b5242; }
button:hover { background: #e9eddf; }
button.primary { background: #294e3d; color: #fffdf7; border-color: #294e3d; }
button.primary:hover { background: #3c624a; }
button:disabled { opacity: .5; cursor: default; }
button:focus-visible, a:focus-visible { outline: 2px solid #b57a37; outline-offset: 3px; }
#dock-area { position: relative; height: clamp(440px, 56vh, 660px); background: #dce1d3; }
#dock-manager { position: relative; width: 100%; height: 100%; }
.workspace-footer { display: flex; gap: 12px; justify-content: space-between; padding: 11px 18px; background: #eef0e6; font-size: 11px; color: #6c7866; }
.guide { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding: 28px 0; }
.guide > div { position: relative; padding-left: 34px; }
.step { position: absolute; left: 0; top: 2px; font: italic 17px Georgia, serif; color: #9aab8d; }
.guide h2 { font-size: 13px; font-weight: 600; margin: 0 0 9px; }
.guide p { font-size: 12px; line-height: 1.65; color: #77806e; margin: 0; max-width: 320px; }
.page-footer { display: flex; gap: 12px; justify-content: space-between; border-top: 1px solid #dedfd4; padding-top: 16px; color: #818875; font-size: 11px; }
.page-footer code { font-size: 10px; }
/* Theme only: retain the library's panel and splitter geometry. */
.panel-base, .dockspan-tab-host { font-family: 'Segoe UI', Arial, sans-serif; color: #304c3a; }
.panel-titlebar, .dockspan-tab-handle, .dockspan-tab-handle-list-container, .dockspan-tab-strip-controls { background: #e9eddf; color: #53664b; box-shadow: none; }
.panel-titlebar-text { font-size: 11px; }
.dockspan-panel-active, .dockspan-tab-handle-active, .dockspan-tab-handle-selected { background: #d7e2ce; color: #294e3d; box-shadow: none; }
.dockspan-panel-titlebar-text-active, .dockspan-tab-handle-active:hover { color: #294e3d; background: #d7e2ce; }
.dockspan-tab-handle-content-seperator, .dockspan-tab-handle-content-seperator-active { background: #9fb18d; }
.panel-element-content-container, .dockspan-tab-content { background: #fffdf7; }
.panel-element-content-container { overflow: hidden; }
.panel-base { overflow: hidden; }
.splitbar-horizontal, .splitbar-vertical, .dock-container, .document-manager { background: #dce1d3; }
.splitbar-horizontal:hover, .splitbar-vertical:hover { background: #8eaa7d; }
.dock-wheel-panel-preview { background: #719a6655; outline-color: #52754b; }
.dialog-floating { box-shadow: 0 12px 40px #263e3533, 0 0 0 1px #bac6ae; }
.sheet { overflow: auto; padding: 23px 28px; background: #fffdf7; }
.sheet, .panel-content { scrollbar-width: thin; scrollbar-color: #b7c3a8 transparent; }
body > .sheet { display: none; }
.sheet-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #7b886e; }
.pill { border: 1px solid #dbe0d1; border-radius: 20px; padding: 4px 8px; font-size: 9px; white-space: nowrap; }
.sheet h2 { font: 27px/1.15 Georgia, serif; margin: 16px 0; font-weight: 400; }
.pivot-sheet { background: #e8eddf; }
.pivot-sheet h2 { font-size: 43px; letter-spacing: -1px; }
.sheet-description { font-size: 12px; color: #778568; line-height: 1.7; max-width: 260px; }
.landscape { height: 130px; background: #f5f0d7; border-radius: 80px 80px 4px 4px; position: relative; overflow: hidden; margin-top: 26px; }
.sun { position: absolute; width: 38px; height: 38px; border-radius: 50%; background: #dfb873; right: 24%; top: 18px; }
.ridge { position: absolute; width: 140%; height: 170px; border-radius: 50%; left: -20%; }
.ridge-back { background: #a6b99a; top: 70px; transform: rotate(-10deg); }
.ridge-front { background: #54785a; top: 102px; transform: rotate(12deg); }
.waterline { position: absolute; width: 100%; bottom: 0; height: 15px; background: #d2dcc1; }
.location { display: flex; justify-content: space-between; gap: 12px; font-size: 9px; color: #758467; margin-top: 10px; }
.pivot-note { display: flex; gap: 14px; margin-top: 20px; border-top: 1px solid #ced8c0; padding-top: 14px; }
.pivot-note > span { font-size: 24px; }
.pivot-note p { font-size: 11px; line-height: 1.7; margin: 0; color: #6a7d5b; }
.note-row { display: flex; align-items: center; gap: 15px; padding: 12px 10px; border-top: 1px solid #e9ebdf; }
.note-row.selected { background: #f0f2e7; border-radius: 5px; border-color: transparent; }
.note-number { font: italic 12px Georgia, serif; color: #8a997b; }
.note-row h3 { font-size: 12px; font-weight: 500; margin: 0 0 5px; }
.note-row p { font-size: 10px; color: #8a9381; margin: 0; }
.note-time { margin-left: auto; font-size: 10px; color: #8a9381; }
.detail-meta { font-size: 9px; letter-spacing: 1.2px; color: #9a9479; }
.detail-copy { font: 14px/1.7 Georgia, serif; color: #747960; max-width: 460px; }
.readings { display: flex; gap: 35px; border-top: 1px solid #e5e7d9; padding-top: 15px; }
.readings > div > span { display: block; color: #91977e; font-size: 10px; margin-bottom: 7px; }
.readings strong { font: 21px Georgia, serif; color: #536645; }
.readings small { font: 10px 'Segoe UI', sans-serif; margin-left: 4px; }
@media (max-width: 700px) {
    .masthead { height: 60px; } .brand-note, .muted { display: none; }
    main { padding-top: 24px; } .intro { align-items: flex-start; flex-direction: column; gap: 15px; }
    h1 { font-size: 33px; } .workspace-toolbar { align-items: flex-start; flex-direction: column; }
    .workspace-footer { flex-direction: column; } .guide { grid-template-columns: 1fr; gap: 22px; }
    .sheet { padding: 18px 14px; } .pivot-sheet h2 { font-size: 32px; } .sheet-heading .pill { display: none; }
    .readings { gap: 15px; flex-wrap: wrap; } .page-footer { flex-direction: column; }
}
