:root{--color-bg: #f3e7d8;--color-surface: #fffaf6;--color-text: #3f2a22;--color-muted: #7a6157;--color-primary: #a15c37;--color-primary-dark: #844b2d;--color-soft: #e9c9b6;--color-border: #e4d3c7;--color-error: #b3261e;--color-success: #2e6b3a;--color-success-soft: #dcebdc;--color-highlight: #f3e1d6;--color-on-primary: #fff;--color-field: #fff;--color-overlay: rgba(63, 42, 34, .55);--radius: 10px;--font-body: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;--font-heading: Georgia, "Times New Roman", serif}*{box-sizing:border-box}html,body{margin:0;color:var(--color-text);font-family:var(--font-body);font-size:16px;line-height:1.5}:root{--bg-veil: 0}body{--bg-tint: linear-gradient(rgba(243, 231, 216, var(--bg-veil)), rgba(243, 231, 216, var(--bg-veil)));min-height:100vh;background-color:var(--color-bg);background-image:var(--bg-tint),var(--site-photo, none);background-attachment:fixed;background-size:cover;background-position:center;background-repeat:no-repeat}@media(max-width:720px){body{background-image:var(--bg-tint),var(--site-photo-small, none);background-position:var(--site-photo-focus, 75%) center}}h1,h2,h3{font-family:var(--font-heading);font-weight:400;color:var(--color-primary-dark);line-height:1.2}a{color:var(--color-primary)}app-root{display:flex;flex-direction:column;min-height:100vh}.page{max-width:960px;margin:0 auto;padding:24px 16px 48px}.page .page{padding:0}.page :is(h1,h2):not(.card *,.confirm-card *){margin:24px 0 16px;padding:14px 24px;background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius)}.page h1:not(.card *){margin-top:0}.page :is(h1,h2):not(.card *,.confirm-card *)+p.muted{margin:0 0 16px;padding:0 24px 14px;background:var(--color-surface);border:1px solid var(--color-border);border-top:none;border-radius:0 0 var(--radius) var(--radius)}.page :is(h1,h2):not(.card *,.confirm-card *):has(+p.muted){margin-bottom:0;padding-bottom:6px;border-bottom:none;border-radius:var(--radius) var(--radius) 0 0}.page :is(h1,h2):not(.card *,.confirm-card *):has(+:is(.card,.table-wrap,.bar-stack)),.page :is(h1,h2):not(.card *,.confirm-card *):has(+:not(.tiles)>:is(.card,.table-wrap,.bar-stack):first-child){margin-bottom:0;border-bottom:none;border-radius:var(--radius) var(--radius) 0 0}.page :is(h1,h2):not(.card *,.confirm-card *)+p.muted:has(+:is(.card,.table-wrap,.bar-stack)),.page :is(h1,h2):not(.card *,.confirm-card *)+p.muted:has(+:not(.tiles)>:is(.card,.table-wrap,.bar-stack):first-child){margin-bottom:0;border-bottom:none;border-radius:0}.page :is(h1,h2):not(.card *,.confirm-card *):has(+:is(.card,.table-wrap,.bar-stack)),.page :is(h1,h2):not(.card *,.confirm-card *):has(+:not(.tiles)>:is(.card,.table-wrap,.bar-stack):first-child),.page :is(h1,h2):not(.card *,.confirm-card *)+p.muted:has(+:is(.card,.table-wrap,.bar-stack)),.page :is(h1,h2):not(.card *,.confirm-card *)+p.muted:has(+:not(.tiles)>:is(.card,.table-wrap,.bar-stack):first-child){position:relative}.page :is(h1,h2):not(.card *,.confirm-card *):has(+:is(.card,.table-wrap,.bar-stack)):after,.page :is(h1,h2):not(.card *,.confirm-card *):has(+:not(.tiles)>:is(.card,.table-wrap,.bar-stack):first-child):after,.page :is(h1,h2):not(.card *,.confirm-card *)+p.muted:has(+:is(.card,.table-wrap,.bar-stack)):after,.page :is(h1,h2):not(.card *,.confirm-card *)+p.muted:has(+:not(.tiles)>:is(.card,.table-wrap,.bar-stack):first-child):after{content:"";position:absolute;left:24px;right:24px;bottom:0;height:1px;background:var(--color-border)}.page :is(h1,h2):not(.card *,.confirm-card *)+:is(.card,.table-wrap,.bar-stack),.page :is(h1,h2):not(.card *,.confirm-card *)+p.muted+:is(.card,.table-wrap,.bar-stack),.page :is(h1,h2):not(.card *,.confirm-card *)+:not(.tiles)>:is(.card,.table-wrap,.bar-stack):first-child,.page :is(h1,h2):not(.card *,.confirm-card *)+p.muted+:not(.tiles)>:is(.card,.table-wrap,.bar-stack):first-child,.page :is(h1,h2):not(.card *,.confirm-card *)+.table-wrap>table,.page :is(h1,h2):not(.card *,.confirm-card *)+p.muted+.table-wrap>table{margin-top:0;border-top:none;border-top-left-radius:0;border-top-right-radius:0}.table-wrap:not(.card *){padding-inline:24px}.table-wrap:not(.card *)>table :is(th,td):first-child{padding-left:0}.table-wrap:not(.card *)>table :is(th,td):last-child{padding-right:0}.card{margin-top:0;border-top-left-radius:0;border-top-right-radius:0}.card{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius);padding:24px}.button{display:inline-block;border:1px solid transparent;border-radius:999px;padding:10px 22px;font:inherit;font-weight:600;cursor:pointer;text-decoration:none;background:var(--color-primary);color:var(--color-on-primary)}.button:hover{background:var(--color-primary-dark)}.button:disabled{opacity:.6;cursor:default}.button.secondary{background:transparent;color:var(--color-primary);border:1px solid var(--color-primary)}.field{display:flex;flex-direction:column;gap:4px;margin-bottom:16px}.field label{font-weight:600}.field input,.field select,.field textarea{font:inherit;padding:10px 12px;border:1px solid var(--color-border);border-radius:8px;background-color:var(--color-field);color:var(--color-text)}.field input:focus,.field select:focus,.field textarea:focus{outline:2px solid var(--color-soft);border-color:var(--color-primary)}.field select{padding-right:40px}select{appearance:none;border:1px solid var(--color-border);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23a15c37' stroke-width='2'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;cursor:pointer}select:hover{border-color:var(--color-primary)}.error{color:var(--color-error)}.notice{font-weight:600;color:var(--color-primary-dark)}.muted{color:var(--color-muted)}.video-status{font-weight:600;color:var(--color-text)}.narrow{max-width:440px}.check{display:flex;align-items:flex-start;gap:8px;margin-bottom:16px}.check input{margin-top:4px}.after-form{margin:16px 0 0}input[readonly]{background:var(--color-bg)!important;color:var(--color-muted)!important}.form-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.button.small{padding:5px 12px;font-size:.9rem}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.button.danger{background:var(--color-error);color:var(--color-on-primary);border-color:var(--color-error)}.button.danger.secondary{background:transparent;color:var(--color-error)}.bar-stack{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius);overflow:hidden;margin-bottom:16px}.bar-stack>*+*{border-top:1px solid var(--color-border)}.bar-stack .card{border:0;border-radius:0;background:none}.bar-stack app-page-intro{margin:0}.bar-stack>.bar{padding:12px 24px}.card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px;list-style:none;padding:0;margin:0}.section-title{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:32px}.narrow-wide{max-width:640px}.modal-backdrop{position:fixed;inset:0;background:var(--color-overlay);display:flex;align-items:center;justify-content:center;padding:16px;overflow-y:auto;z-index:100}.confirm-card{width:100%;max-width:400px;background:var(--color-surface);padding:28px;border-radius:var(--radius);box-shadow:0 8px 24px #00000026}.confirm-card p{margin:0 0 20px}.app-tooltip-bubble{position:fixed;max-width:min(320px,100vw - 16px);background:var(--color-primary-dark);color:var(--color-on-primary);padding:6px 12px;border-radius:var(--radius);font-size:.85rem;line-height:1.35;box-shadow:0 3px 10px #0000002e;opacity:0;pointer-events:none;transition:opacity .15s ease;z-index:1000}.app-tooltip-bubble.app-tooltip-visible{opacity:1}.app-tooltip-arrow{position:fixed;width:0;height:0;border:6px solid transparent;opacity:0;pointer-events:none;transition:opacity .15s ease;z-index:1000}.app-tooltip-arrow.app-tooltip-visible{opacity:1}.app-tooltip-arrow.app-tooltip-arrow-top{border-top-color:var(--color-primary-dark)}.app-tooltip-arrow.app-tooltip-arrow-bottom{border-bottom-color:var(--color-primary-dark)}
