.detail-shell { --detail-ink: #34392d; --detail-muted: #7b816f; --detail-gold: #9c8145; --detail-line: #e3e4d8; color: var(--detail-ink); font: 14px/1.7 'DM Sans', Arial, sans-serif; }
.detail-shell svg { width: 18px; height: 18px; flex: 0 0 auto; }
.detail-shell a { text-decoration: none; }
.detail-shell :focus-visible { outline: 2px solid var(--detail-gold); outline-offset: 4px; }
.detail-shell h1, .detail-shell h2, .detail-shell h3, .detail-shell p { margin: 0; }
.detail-back { display: inline-flex; align-items: center; color: #807246; font-size: 12px; margin-bottom: 24px; }
.detail-back:hover { color: #494f38; }
.detail-heading { display: flex; justify-content: space-between; align-items: center; gap: 25px; margin-bottom: 28px; }
.detail-eyebrow { display: flex; align-items: center; gap: 9px; font-size: 10px; line-height: 1.7; font-weight: 550; letter-spacing: 1.35px; color: #9b8655; }
.detail-eyebrow > span { color: #c2bda9; }
.detail-shell .detail-title { font-size: 30px; font-weight: 550; line-height: 1.25; letter-spacing: -.7px; margin-top: 11px; overflow-wrap: anywhere; }
.detail-shell .detail-description { color: var(--detail-muted); font-size: 14px; margin-top: 10px; line-height: 1.8; }
.detail-heading-actions, .detail-panel-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex-wrap: wrap; flex: 0 0 auto; }
.detail-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 14px; min-height: 40px; font: 500 12px/1.5 'DM Sans', Arial, sans-serif; border: 1px solid transparent; border-radius: 5px; color: #f7f4e8; transition: background .15s, border-color .15s; white-space: nowrap; }
.detail-button svg { width: 15px; height: 15px; }
.detail-button-primary { background: #75683e; border-color: #75683e; color: white; }
.detail-button-primary:hover { background: #5f5635; border-color: #5f5635; color: white; }
.detail-button-outline { color: #796e48; background: #fffefa; border-color: #dcd7c6; }
.detail-button-outline:hover { color: #534d34; border-color: #b4a678; background: #f4f1e7; }
.detail-status { display: inline-flex; align-items: center; gap: 7px; padding: 5px 9px; border: 1px solid transparent; border-radius: 4px; font-size: 11px; line-height: 1.5; white-space: nowrap; font-weight: 500; }
.detail-status > span { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.detail-status-waiting { color: #947538; background: #f8f0dc; border-color: #eadcbc; }
.detail-status-complete { color: #687d49; background: #eff4e6; border-color: #dce6cc; }
.detail-status-cancelled { color: #a36654; background: #f8eee9; border-color: #ecd6cc; }
.detail-status-neutral { color: #7b806f; background: #f1f2ec; border-color: #e2e5d8; }
.service-overview { position: relative; display: grid; grid-template-columns: 125px minmax(0, 1fr) 130px; align-items: center; gap: 27px; background: #fffefa; border: 1px solid var(--detail-line); border-radius: 8px; overflow: hidden; margin-bottom: 26px; padding: 27px; }
.service-calendar { position: relative; z-index: 1; align-self: stretch; background: #343a2a; color: #d8c59a; border-radius: 4px; padding: 22px 12px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 9px; text-align: center; }
.service-calendar > span { font-size: 11px; line-height: 1.5; }
.service-calendar strong { font: 500 66px/.9 'Cormorant Garamond', Georgia, serif; color: #f2e7c9; }
.service-overview-content { z-index: 1; min-width: 0; }
.service-overview-content h2 { font-size: 23px; line-height: 1.35; letter-spacing: -.45px; font-weight: 550; margin-top: 9px; }
.service-facts { display: flex; flex-wrap: wrap; gap: 10px 23px; margin-top: 19px; color: #626e53; font-size: 13px; }
.service-facts > span { display: inline-flex; align-items: center; gap: 8px; }
.service-facts svg, .service-address svg { width: 15px; height: 15px; color: #9a8d66; }
.detail-shell .service-address { display: flex; align-items: flex-start; gap: 8px; color: #8f927f; font-size: 12px; line-height: 1.75; margin-top: 10px; }
.service-address svg { margin-top: 3px; }
.service-music-count { position: relative; z-index: 1; border-left: 1px solid var(--detail-line); padding-left: 26px; display: flex; align-items: flex-start; flex-direction: column; gap: 8px; }
.service-music-count > svg { color: #aa945f; width: 21px; height: 21px; }
.service-music-count > strong { font-size: 32px; line-height: 1; font-weight: 500; color: #67724e; }
.service-music-count > span { font-size: 11px; color: #8c927b; line-height: 1.6; }
.detail-shell .service-organ-decoration { position: absolute; width: 150px; height: 165px; right: -15px; top: 0; color: #baa876; opacity: .06; pointer-events: none; }
.service-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 285px; gap: 23px; align-items: start; }
.service-main-column, .service-side-column { min-width: 0; }
.detail-panel { background: #fff; border: 1px solid var(--detail-line); border-radius: 7px; overflow: hidden; min-width: 0; }
.detail-panel-heading { padding: 22px 23px; display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; border-bottom: 1px solid #eceee4; }
.detail-panel-heading > svg { color: #a99c75; }
.detail-panel-heading .detail-eyebrow { font-size: 9px; letter-spacing: 1.1px; margin-bottom: 5px; }
.detail-shell .detail-section-title { font-size: 17px; font-weight: 550; display: flex; align-items: center; gap: 9px; letter-spacing: -.25px; line-height: 1.5; }
.detail-count { border: 1px solid #e6e5d5; background: #f4f3e9; color: #9b895a; min-width: 24px; padding: 1px 6px; text-align: center; border-radius: 4px; font-size: 11px; line-height: 1.7; letter-spacing: 0; }
.detail-panel-actions .detail-button { font-size: 11px; padding: 9px 11px; }
.detail-table-scroll { width: 100%; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #d5d8c9 transparent; }
.detail-table { border-collapse: collapse; width: 100%; text-align: left; font-size: 14px; margin: 0; }
.detail-table th { background: #f8f9f3; color: #7a8269; font-size: 11px; font-weight: 500; padding: 14px 16px; border-bottom: 1px solid #eaede1; white-space: nowrap; }
.detail-table td { padding: 20px 16px; color: #69715c; border-bottom: 1px solid #edf0e5; vertical-align: top; line-height: 1.8; }
.detail-table tr:last-child td { border-bottom: 0; }
.detail-table tr:hover td { background: #fdfdf9; }
.detail-table .detail-number-column { width: 46px; }
.detail-table .detail-row-number { color: #a5ab98; font-size: 11px; padding-right: 4px; }
.song-category { font-size: 11px; color: #8c7c54; white-space: nowrap; }
.detail-table .song-title { font-weight: 500; color: #434e37; min-width: 150px; }
.song-notes { min-width: 95px; white-space: pre-line; }
.song-score { min-width: 170px; font-size: 12px; }
.song-score small { display: block; color: #a0997e; font-size: 11px; margin-top: 5px; }
.detail-muted { color: #909782; font-size: 12px; line-height: 1.8; }
.detail-inline-link { color: #92763c; display: inline-flex; align-items: center; gap: 7px; font-size: 12px; white-space: nowrap; }
.detail-inline-link svg { width: 12px; height: 12px; }
.detail-inline-link:hover { color: #555d3f; text-decoration: underline; }
.detail-file-actions { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.detail-panel-footnote { border-top: 1px solid #ebeee3; padding: 15px 23px; font-size: 11px; line-height: 1.8; color: #949c86; display: flex; gap: 9px; align-items: flex-start; }
.detail-panel-footnote svg { width: 14px; height: 14px; margin-top: 3px; color: #a49365; }
.organist-list { padding: 4px 22px; margin: 0; }
.organist-list > div { display: flex; align-items: center; gap: 13px; border-bottom: 1px solid #ecefe2; padding: 20px 0; }
.organist-list > div:last-child { border-bottom: 0; }
.organist-avatar { width: 34px; height: 34px; border-radius: 50%; background: #f2f1e7; color: #a38e58; border: 1px solid #e7e3d4; display: inline-flex; justify-content: center; align-items: center; flex-shrink: 0; }
.organist-avatar svg { width: 14px; height: 14px; }
.organist-list dt { font-size: 12px; font-weight: 400; color: #8a9377; margin-bottom: 4px; }
.organist-list dd { font-size: 14px; line-height: 1.7; color: #626f50; margin: 0; font-weight: 500; }
.instrument-summary { background: #f8f8f1; border-top: 1px solid #e9ebdd; display: flex; align-items: center; gap: 12px; padding: 21px 22px; }
.instrument-icon { display: flex; align-items: center; justify-content: center; width: 35px; height: 35px; background: #eeeddd; border: 1px solid #e2e0c8; border-radius: 4px; color: #9f8c50; flex-shrink: 0; }
.instrument-summary > div > span { display: block; color: #a19770; font-size: 8px; letter-spacing: 1px; }
.instrument-summary strong { display: block; color: #797752; font-weight: 500; font-size: 14px; margin-top: 3px; }
.instrument-list { padding: 0; margin: 6px 0 0; list-style: none; display: grid; gap: 7px; }
.instrument-list li { display: flex; align-items: baseline; gap: 8px; }
.instrument-list li::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: #b6a46c; flex-shrink: 0; align-self: center; }
.practice-panel { margin-top: 22px; }
.practice-entry { position: relative; border-left: 1px solid #e1e1cf; margin: 0 22px 0 29px; padding: 23px 0 24px 20px; }
.practice-entry:last-child { padding-bottom: 25px; }
.practice-timeline-dot { position: absolute; left: -4px; top: 28px; width: 7px; height: 7px; border: 2px solid #b2a16e; background: #fff; border-radius: 50%; }
.practice-entry time { font-size: 14px; font-weight: 500; color: #66754e; }
.practice-entry time small { font-size: 11px; font-weight: 400; display: block; color: #939b84; margin-top: 3px; }
.detail-shell .practice-entry p { display: flex; align-items: flex-start; gap: 6px; font-size: 11px; color: #8d927d; margin: 12px 0; }
.practice-entry p svg { width: 13px; height: 13px; margin-top: 3px; }
.practice-entry .detail-status { font-size: 10px; padding: 3px 7px; }
.practice-empty { padding: 27px 22px; color: #a5ad95; display: flex; align-items: center; gap: 12px; }
.practice-empty svg { width: 24px; height: 24px; }
.practice-empty p { color: #949c84; font-size: 12px; line-height: 1.8; }
.detail-shell .detail-closing-note { text-align: center; font: italic 19px/1.45 'Cormorant Garamond', Georgia, serif; color: #a49468; padding: 25px 12px 5px; }
.detail-empty { padding: 44px 24px; text-align: center; }
.detail-empty > svg { width: 38px; height: 38px; color: #b2a273; margin-bottom: 18px; }
.detail-empty h3 { font-size: 17px; font-weight: 500; color: #737c61; line-height: 1.5; }
.detail-empty p { font-size: 12px; line-height: 1.8; color: #9ba18c; margin-top: 9px; }
.detail-empty .detail-button { margin-top: 22px; }
.score-overview { position: relative; display: grid; grid-template-columns: 155px minmax(0, 1fr); gap: 35px; padding: 28px; margin-bottom: 26px; background: #fffefa; border: 1px solid var(--detail-line); border-radius: 7px; overflow: hidden; }
.score-cover { position: relative; z-index: 1; min-height: 190px; background: #363b2d; color: #d6c494; border: 1px solid #73724f; outline: 5px solid #eeede3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 15px; text-align: center; padding: 20px 12px; }
.score-cover > svg { width: 30px; height: 35px; }
.score-cover > span, .score-cover > small { font-size: 7px; letter-spacing: 1.5px; }
.score-cover > strong { font: 500 32px/1.1 'Cormorant Garamond', Georgia, serif; max-width: 100%; overflow-wrap: anywhere; }
.score-cover > small { color: #a49b77; font-size: 6px; }
.score-overview-content { z-index: 1; padding-block: 9px; }
.score-overview-content h2 { font: 500 35px/1.15 'Cormorant Garamond', Georgia, serif; color: #52573e; margin-top: 10px; overflow-wrap: anywhere; }
.score-metadata { display: grid; grid-template-columns: 1fr 1fr; column-gap: 30px; row-gap: 17px; margin: 25px 0 0; max-width: 570px; }
.score-metadata dt { color: #989b85; font-size: 11px; font-weight: 400; margin-bottom: 4px; }
.score-metadata dd { color: #65704f; font-size: 14px; font-weight: 500; line-height: 1.7; margin: 0; }
.detail-shell .score-organ-decoration { position: absolute; right: 35px; top: 25px; width: 135px; height: 190px; opacity: .05; color: #a99a6c; pointer-events: none; }
.score-file-list { list-style: none; padding: 0 25px; margin: 0; }
.score-file-row { display: flex; align-items: center; gap: 18px; padding: 26px 0; border-bottom: 1px solid #ecefe2; }
.score-file-row:last-child { border-bottom: 0; }
.score-file-icon { width: 45px; height: 52px; display: flex; align-items: center; justify-content: center; border: 1px solid #e4dfcc; background: #f6f3e9; border-radius: 4px; color: #a39361; flex-shrink: 0; }
.score-file-icon svg { width: 23px; height: 23px; }
.score-file-name { flex: 1; min-width: 0; }
.score-file-name h3 { font-size: 15px; color: #616d4e; line-height: 1.5; font-weight: 550; }
.score-file-name p { font-size: 12px; color: #9ba187; line-height: 1.8; margin-top: 5px; overflow-wrap: anywhere; }
.score-file-name p > span { display: inline-block; margin-left: 6px; }
.score-file-controls { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.detail-delete-file { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid #eadfd6; border-radius: 5px; color: #b28a76; background: #fff; }
.detail-delete-file:hover { background: #fbf1eb; color: #9f5f45; }
.detail-delete-file svg { width: 16px; height: 16px; }
.public-site .detail-shell { padding-top: 5px; }
.public-site .detail-shell .detail-title { font: 500 48px/1.12 'Cormorant Garamond', Georgia, serif; }
.public-site .detail-panel, .public-site .service-overview { border-color: #e0dbcd; }
.public-site .detail-table th { background: #f4f2e9; }
@media (min-width: 1600px) { .service-detail-grid { grid-template-columns: minmax(0, 1fr) 320px; } }
@media (max-width: 1100px) { .service-detail-grid { grid-template-columns: minmax(0, 1fr); } .service-side-column { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; } .practice-panel { margin-top: 0; } .detail-closing-note { grid-column: 1 / -1; } .detail-heading { flex-wrap: wrap; } .detail-heading-actions { justify-content: flex-start; } }
@media (max-width: 600px) {
    .detail-back { margin-bottom: 20px; font-size: 12px; }
    .detail-heading { gap: 18px; margin-bottom: 23px; }
    .detail-eyebrow { font-size: 9px; letter-spacing: 1px; flex-wrap: wrap; }
    .detail-shell .detail-title { font-size: 26px; margin-top: 9px; }
    .detail-shell .detail-description { font-size: 13px; }
    .detail-heading-actions { gap: 9px; }
    .detail-button { font-size: 12px; padding: 10px 12px; }
    .service-overview { grid-template-columns: 83px minmax(0, 1fr); gap: 18px; padding: 18px; margin-bottom: 21px; align-items: start; }
    .service-calendar { padding: 20px 7px; gap: 10px; align-self: start; }
    .service-calendar > span { font-size: 9px; }
    .service-calendar strong { font-size: 52px; }
    .service-overview-content .detail-eyebrow { font-size: 8px; }
    .service-overview-content h2 { font-size: 18px; margin-top: 7px; }
    .service-facts { margin-top: 12px; font-size: 11px; gap: 9px; }
    .service-facts > span { align-items: flex-start; gap: 7px; }
    .service-facts svg { width: 13px; height: 13px; margin-top: 3px; }
    .detail-shell .service-address { font-size: 10px; gap: 6px; }
    .service-music-count { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--detail-line); padding: 14px 0 0; flex-direction: row; align-items: center; gap: 10px; }
    .service-music-count > strong { font-size: 21px; }
    .service-music-count > span { font-size: 11px; }
    .service-music-count > svg { width: 17px; height: 17px; }
    .detail-panel-heading { padding: 20px 17px; gap: 17px; }
    .detail-shell .detail-section-title { font-size: 17px; }
    .detail-panel-actions { justify-content: flex-start; gap: 8px; }
    .detail-panel-actions .detail-button { font-size: 11px; }
    .detail-table { min-width: 560px; }
    .detail-table th, .detail-table td { padding-inline: 13px; }
    .detail-panel-footnote { padding: 14px 17px; font-size: 10px; }
    .service-side-column { display: block; }
    .practice-panel { margin-top: 21px; }
    .organist-list { padding-inline: 20px; }
    .organist-list dt { font-size: 11px; }
    .organist-list dd { font-size: 14px; }
    .score-overview { grid-template-columns: 92px minmax(0, 1fr); gap: 18px; padding: 20px; }
    .score-cover { min-height: 145px; padding: 15px 7px; gap: 13px; align-self: start; }
    .score-cover > svg { width: 25px; height: 30px; }
    .score-cover > span { font-size: 5px; letter-spacing: .8px; }
    .score-cover > strong { font-size: 25px; }
    .score-cover > small { font-size: 5px; letter-spacing: .7px; }
    .score-overview-content { padding-block: 0; }
    .score-overview-content .detail-eyebrow { font-size: 8px; }
    .score-overview-content h2 { font-size: 28px; }
    .score-metadata { grid-template-columns: 1fr; gap: 14px; margin-top: 18px; }
    .score-metadata dt { font-size: 11px; margin-bottom: 2px; }
    .score-metadata dd { font-size: 14px; }
    .score-file-list { padding-inline: 18px; }
    .score-file-row { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 16px; padding-block: 23px; }
    .score-file-icon { width: 36px; height: 45px; }
    .score-file-icon svg { width: 19px; height: 19px; }
    .score-file-name p { font-size: 11px; }
    .score-file-name p > span { display: block; margin-left: 0; }
    .score-file-controls { grid-column: 1 / -1; justify-content: flex-start; gap: 8px; }
    .score-files-panel .detail-panel-heading > .detail-muted { font-size: 11px; }
    .public-site .detail-shell .detail-title { font-size: 38px; }
}
@media (prefers-reduced-motion: reduce) { .detail-shell *, .detail-shell *::before, .detail-shell *::after { transition: none !important; } }
