/* TDSA: warm paper, quiet greens, clear category silhouettes. */
:root{--ink:#244c42;--paper:#f6f7f2;--line:#dce5db;--muted:#65766c;--accent:#9a7746;color-scheme:light}body{background:var(--paper);color:var(--ink)}.header{background:rgba(246,247,242,.97);border-bottom:1px solid var(--line);gap:20px}.brand{letter-spacing:-1px}.brand-sub{letter-spacing:2px}.header nav a{border-radius:30px;padding:10px 15px}.header nav a.active,.header nav a[aria-current=page]{background:#e3ebe1}.hero{background:radial-gradient(ellipse at 80% 35%,#e8eedf 0,transparent 65%);border-bottom:1px solid var(--line)}.hero h1{letter-spacing:-3px;color:#284b40}.hero h1 em{color:#9c7950}.hero-reconnect{color:#567165;font-size:15px}.art-note{background:#fffdf6;box-shadow:0 12px 45px #2946320a}.discovery-tabs{border-bottom-color:var(--line)}.discovery-tabs a.active{background:#e9efe5}.primary{background:#2d5c4b;border:1px solid #2d5c4b;border-radius:12px;box-shadow:0 4px 12px #224b3f0b}.primary:hover{background:#234c3e}.secondary{border-color:#ccd8ca;background:#fbfcf8;border-radius:12px}.search-box{border-radius:18px;box-shadow:0 8px 32px #29463205}.chips button{display:inline-flex;align-items:center;gap:8px;background:#fff;border-color:var(--line);border-radius:14px}.chips button[aria-pressed=true]{background:#e6eee3;color:#254f3f;border-color:#78937f}.category-icon{width:32px;height:32px;flex-shrink:0}.browse-summary>.category-icon{width:48px;height:48px}.browse-heading{flex:1}.browse-group{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden}.browse-summary{gap:14px}.browse-name:hover{background:#f0f5ec}.place-card,.event-card{border:1px solid var(--line)!important;border-radius:18px!important;box-shadow:0 3px 16px #233b2804;transition:box-shadow .2s,transform .2s}.place-card:hover,.event-open-card:hover{box-shadow:0 8px 28px #2345300c;transform:translateY(-2px)}#templeList .icon-only,.place-dialog .icon-only{width:60px;height:60px;background:transparent}#templeList .icon-only .place-symbol,.place-dialog .icon-only .place-symbol{width:60px;height:60px;flex-basis:60px}#templeList.list-view .place-card{grid-template-columns:60px 1fr;padding:20px 24px;gap:6px 20px}#templeList.list-view .place-gallery{width:60px;height:60px}.tone-retreat .tag{background:#ece4f3;color:#806195}.community-banner{border-radius:20px;background:#e8efe4}.event-open-card{cursor:pointer}.event-open-card:focus-visible{outline:3px solid #8ea689;outline-offset:4px}.event-card>img{height:195px;object-fit:cover}.event-body{padding:24px}.event-description{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}dialog{color:var(--ink);border:1px solid #d5dfd1;border-radius:24px;box-shadow:0 24px 100px #18392c33}dialog::backdrop{background:#18352a88;backdrop-filter:blur(4px)}.place-dialog,.event-details-dialog,.workspace-dialog{box-sizing:border-box;width:min(760px,calc(100vw - 32px));max-height:88dvh;overflow-y:auto;padding:32px;overscroll-behavior:contain}.event-details-dialog{padding-top:22px}.event-details-dialog .dialog-close,.workspace-dialog .dialog-close{display:block;position:sticky;top:0;margin-left:auto;z-index:2;background:#f9fbf5;color:#244c42;width:auto;height:auto;font-size:14px;padding:10px 15px}.event-details-dialog h2{font-size:34px;line-height:1.2;margin:18px 0 26px}.event-details-dialog h3{font-size:13px;text-transform:uppercase;letter-spacing:1px;color:#7c886e;margin-top:24px}.event-sharing{background:#f0f4eb;border:1px solid var(--line);border-radius:18px;padding:24px;display:flex;flex-wrap:wrap;gap:12px}.event-sharing h3,.event-sharing input{flex-basis:100%}.event-sharing .event-qr{display:block;width:160px;height:160px;background:white;padding:8px;border-radius:12px}.event-modal-photo{width:100%;max-height:360px;object-fit:contain;border-radius:16px}.event-detail-text{white-space:pre-wrap;overflow-wrap:anywhere}.admin-main .intro{max-width:730px}.admin-editor,.admin-list{border-radius:20px;border-color:var(--line);background:#fff}.admin-tabs{gap:10px}.admin-tabs a{border-radius:12px}.workspace-link a{font-size:14px;color:#496f5c}.form-grid input,.form-grid textarea,.form-grid select{border:1px solid var(--line);border-radius:10px}.site-footer{background:#edf1e7}.support-card{border-radius:16px}
/* Private personal workspace */
.workspace-main{max-width:1180px;margin:0 auto;padding:56px 28px 90px}.workspace-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.workspace-heading h1{font-size:clamp(36px,4.5vw,62px);letter-spacing:-2px;line-height:1.15;margin:14px 0}.workspace-heading .intro{font-size:16px;margin-bottom:0}.workspace-heading em{color:#a27c46}.workspace-status{color:#68796d;font-size:13px;min-height:22px;margin:24px 0}.welcome-card{max-width:640px;text-align:center;padding:48px 32px;margin:45px auto;background:white;border:1px solid var(--line);border-radius:24px}.welcome-card img{margin-bottom:20px}.welcome-card p{color:var(--muted);line-height:1.8}.profile-overview{display:flex;align-items:center;gap:24px;padding:30px;background:#fff;border:1px solid var(--line);border-radius:22px}.avatar-wrap{width:94px;height:94px;flex:0 0 94px;border-radius:28px;overflow:hidden;display:grid;place-items:center;background:#e8eddd;color:#6c835b;font:38px Georgia,serif}.avatar-wrap img{width:100%;height:100%;object-fit:cover}.profile-overview h2{margin:6px 0 8px;font-size:30px}.profile-overview p{margin:5px 0}.role-pill{display:inline-block;background:#f1eedf;color:#927449;padding:4px 10px;border-radius:20px;font-size:11px;font-weight:700;letter-spacing:.5px}.profile-summary{display:flex;flex-direction:column;margin-left:auto;text-align:right;gap:5px}.profile-summary strong{font:30px Georgia,serif}.profile-summary span,.profile-summary a{font-size:12px;color:#73846f}.profile-summary a{margin-top:12px}.workspace-tabs{display:flex;gap:10px;margin:30px 0;border-bottom:1px solid var(--line);padding-bottom:14px}.workspace-tabs button{border:0;background:transparent;color:#6c7d6d;border-radius:12px;padding:12px 22px}.workspace-tabs button[aria-pressed=true]{background:#e5eddf;color:#294c3e}.workspace-panel .section-heading h2{font-size:29px;margin:8px 0}.workspace-panel .section-heading p{margin:7px 0;font-size:13px}.workspace-panel .eyebrow{font-size:10px!important}.kanban-board{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:24px}.kanban-column{background:#eaf0e6;border:1px solid #e1e7db;border-radius:20px;padding:18px;min-height:310px;min-width:0}.kanban-column.status-doing{background:#f2eee3;border-color:#e8e2d5}.kanban-column.status-done{background:#e7efeb;border-color:#dce6df}.kanban-column h3{display:flex;justify-content:space-between;font-size:15px;margin:3px 0 20px;align-items:center}.column-count{font:12px sans-serif;background:#fff9;border-radius:30px;padding:5px 9px;color:#6b7c69}.task-card{background:#fff;border:1px solid #dfe6da;border-radius:15px;padding:17px;margin:12px 0;box-shadow:0 3px 8px #21462c05;cursor:grab;overflow-wrap:anywhere}.task-card h4{font-size:16px;line-height:1.45;margin:14px 0 8px}.task-top{display:flex;justify-content:space-between;align-items:center}.priority{font-size:10px;text-transform:uppercase;letter-spacing:.8px;background:#f0f3ea;border-radius:8px;padding:5px 8px;color:#6c7f66}.priority.high{background:#f8e9dc;color:#a07447}.priority.low{background:#eaf0fa;color:#6783a4}.task-details{font-size:13px;color:#758170;white-space:pre-wrap;max-height:110px;overflow:auto;line-height:1.6}.task-due{font-size:11px;color:#8d805f;margin:16px 0}.task-card select{width:100%;font-size:11px;min-height:34px;padding:6px 8px;border:1px solid #e2e8dd;border-radius:8px;background:#fcfdf9;color:#72836a;margin-top:8px}.icon-action{padding:6px;border:0;background:transparent;min-height:32px;min-width:32px;border-radius:8px}.icon-action:hover{background:#ecf1e5}.icon-action img{width:17px;height:17px;display:block}.task-top>div{display:flex}.board-empty{font-size:13px;color:#829079;padding:20px 0;line-height:1.7}.drag-over{outline:2px dashed #799570;outline-offset:-5px}.records-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:25px}.record-card{padding:24px;border:1px solid var(--line);border-radius:18px;background:#fff;overflow-wrap:anywhere}.record-top{display:flex;align-items:center;gap:5px}.record-top span{flex:1;font-size:12px}.record-card h3{font-size:22px;margin:15px 0}.record-body{white-space:pre-wrap;font-size:14px;line-height:1.8;color:#687a6b}.records-empty{grid-column:1/-1;background:#fff;border:1px dashed #ccd9c7;border-radius:16px;padding:35px;color:#778872}.profile-form{max-width:780px;background:white;border:1px solid var(--line);border-radius:20px;padding:28px}.profile-photo-controls{padding-bottom:22px;margin-bottom:22px;border-bottom:1px solid var(--line)}.profile-photo-controls input{max-width:100%;margin:12px 0}.profile-photo-controls .subtle{font-size:12px}.profile-form .form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.profile-form .full{grid-column:1/-1}.profile-form label,.workspace-editor label{display:flex;flex-direction:column;gap:8px;font-size:13px;font-weight:600}.profile-form input,.profile-form textarea,.workspace-editor input,.workspace-editor textarea,.workspace-editor select{width:100%;box-sizing:border-box;border:1px solid #dbe4d6;border-radius:10px;padding:12px 14px;background:#fcfdf9;color:#254b3f;font:inherit}.profile-form button[type=submit],#saveProfile{margin-top:24px}.workspace-editor{display:grid;gap:18px;margin-top:25px}.workspace-dialog{max-width:580px}.workspace-dialog h2{margin:20px 0}.workspace-dialog>button:not(.dialog-close){margin:18px 10px 0 0}.danger{background:#a64d46;color:white;padding:12px 20px;border-radius:10px;border:0}.workspace-footer{border-top:1px solid var(--line);padding:25px;text-align:center;font-size:12px;color:#7c8a74}.workspace-footer a{margin-left:15px}.workspace-page [role=status]{font-size:13px;overflow-wrap:anywhere}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #a4b59b;outline-offset:3px}
@media(max-width:760px){.header{flex-wrap:wrap;justify-content:center;padding:16px}.header nav{display:flex;justify-content:center;flex-wrap:wrap;gap:2px}.header nav a{font-size:12px;padding:9px 12px}.brand-sub{font-size:8px}.hero h1{letter-spacing:-2px}.hero-art{opacity:.85}.chips{gap:7px!important}.chips button{font-size:11px!important;padding:8px 10px!important;flex:1 1 40%}.chips button[data-category=all]{flex:0 1 auto}.chips button span[lang]{display:none}.category-icon{width:29px;height:29px}#templeList.list-view .place-card{grid-template-columns:48px 1fr;padding:17px 15px;gap:6px 14px}#templeList.list-view .place-gallery,#templeList .icon-only,#templeList .icon-only .place-symbol{width:48px;height:48px;flex-basis:48px}.workspace-main{padding:30px 18px 60px}.workspace-heading{align-items:flex-start;flex-direction:column}.workspace-heading h1{font-size:40px}.profile-overview{padding:20px;gap:16px;flex-wrap:wrap}.avatar-wrap{width:66px;height:66px;flex-basis:66px;border-radius:20px}.profile-overview h2{font-size:24px}.profile-overview>div:nth-child(2){min-width:0;flex:1;overflow-wrap:anywhere}.profile-summary{flex-basis:100%;flex-direction:row;text-align:left;align-items:center;margin-left:0;border-top:1px solid var(--line);padding-top:15px;gap:10px}.profile-summary strong{font-size:22px}.profile-summary a{margin-top:0;margin-left:auto}.workspace-tabs{gap:3px;justify-content:space-between}.workspace-tabs button{padding:11px 8px;font-size:12px}.kanban-board{grid-template-columns:1fr;gap:18px}.kanban-column{min-height:180px}.records-list{grid-template-columns:1fr}.workspace-panel .section-heading{align-items:flex-start;gap:14px;flex-wrap:wrap}.workspace-panel .section-heading h2{font-size:27px}.profile-form{padding:20px}.profile-form .form-grid{grid-template-columns:1fr}.workspace-dialog,.event-details-dialog,.place-dialog{padding:20px;max-height:90dvh;width:calc(100vw - 20px)}.event-details-dialog h2{font-size:28px}.browse-summary>.category-icon{width:40px;height:40px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
/* Shared navigation must occupy identical positions across Discover and My space. */
html{scrollbar-gutter:stable}.site-header.header{display:flex;align-items:center;justify-content:space-between;max-width:1320px;margin:0 auto;padding:22px 56px;min-height:100px;gap:24px}.site-header .brand{font-size:26px;line-height:1.2;flex-shrink:0}.site-header .brand-mark{width:46px;height:46px}.site-header .brand-sub{display:block;font-size:8px;letter-spacing:2px;margin-top:5px}.site-header nav{display:grid;grid-template-columns:repeat(4,110px);gap:5px;align-items:center;font-size:14px}.site-header nav a{display:flex;align-items:center;justify-content:center;min-height:44px;padding:10px 8px;font-weight:500;white-space:nowrap;border-bottom:0}.site-header nav a.active,.site-header nav a[aria-current=page]{font-weight:500;border-bottom:0}.site-header nav a:last-child{font-weight:500}
/* Keep server acknowledgements from changing board geometry or scroll position. */
#taskStatus{min-height:22px;margin:12px 0;overflow-anchor:none}#taskBoard{overflow-anchor:none;align-items:stretch}.task-card{transition:none}.task-list{min-height:1px}.task-card[aria-busy=true]{cursor:grab}.kanban-column .board-empty{margin:0}.custom-type-actions{display:flex;justify-content:flex-end;gap:10px}.event-type-dialog h2{font-size:28px}
@media(max-width:900px){.site-header.header{padding:18px 24px;gap:14px}.site-header nav{grid-template-columns:repeat(4,94px);font-size:13px}}
@media(max-width:760px){.site-header.header{flex-direction:column;padding:16px 18px;gap:14px;min-height:134px}.site-header .brand{font-size:24px}.site-header .brand-mark{width:42px;height:42px}.site-header nav{width:100%;max-width:430px;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;font-size:12px}.site-header nav a{padding:9px 4px;min-height:40px}.site-header .brand-sub{font-size:8px}}

/* Stable navigation and readable account details on phones, tablets and desktop. */
html{scroll-behavior:auto}
.site-header nav a{gap:7px;transition:none}
.site-header nav a svg{flex:none;width:17px;height:17px}
.profile-overview>div{min-width:0}
.profile-facts{display:flex;flex-wrap:wrap;gap:12px 28px;margin-top:16px}
.profile-facts p{margin:0;overflow-wrap:anywhere}
.profile-field-label{display:block;font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin-bottom:5px}
.profile-about{margin-top:18px;max-width:64ch}
.profile-about p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7}
#profileEmail{overflow-wrap:anywhere}
.inbox-item>.admin-toolbar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:20px}
.inbox-link-panel{display:block;margin-top:16px;padding:0;border:1px solid var(--line);border-radius:14px;background:#f6f8f2;min-width:0}
.inbox-link-panel[hidden]{display:none}
.inbox-link-panel summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;font-weight:600;cursor:pointer;list-style:none;border:0;border-radius:14px}
.inbox-link-panel summary::-webkit-details-marker{display:none}
.inbox-link-panel summary::after{content:'+';font-size:22px;font-weight:400;flex:none}
.inbox-link-panel[open] summary::after{content:'−'}
.inbox-link-panel summary:focus-visible{outline:2px solid #668471;outline-offset:3px}
.inbox-link-panel>p{margin:0;padding:0 18px;max-width:70ch;line-height:1.7}
.inbox-link-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px;padding:18px}
.inbox-link-controls label{display:grid;gap:8px;font-size:12px;font-weight:600;min-width:0}
.inbox-link-controls select{width:100%;min-width:0;max-width:100%;padding:12px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);font:inherit;min-height:44px}
.inbox-link-controls button{min-height:44px;margin:0;white-space:normal}
@media(max-width:760px){.site-header nav{max-width:480px}.site-header nav a{gap:5px;font-size:12px}.site-header nav a svg{width:15px;height:15px}}
@media(max-width:480px){.site-header nav a{font-size:10.5px;gap:4px;padding-inline:2px}.inbox-link-controls{grid-template-columns:minmax(0,1fr)}.inbox-item>.admin-toolbar{display:grid;grid-template-columns:minmax(0,1fr)}.inbox-item>.admin-toolbar button{width:100%}.profile-facts{gap:14px 24px}}
.site-header.header img.brand-mark{width:46px;height:46px;flex:none}
.site-header .brand{display:flex;align-items:center}
.site-header .brand-sub{white-space:nowrap}
.inbox-item .inbox-link-controls select{margin:0}

@media(max-width:600px){.admin-event-row{align-items:stretch;flex-direction:column;gap:12px}.admin-event-row .admin-toolbar{display:flex;flex-wrap:wrap;gap:8px}.admin-event-row h3{overflow-wrap:break-word}}
