[hidden]{display:none!important}
.hub-brand{display:none;align-items:center;gap:8px;text-decoration:none}.hub-brand img:first-child{width:42px;height:42px;object-fit:contain}.hub-brand img:last-child{width:118px;height:42px;object-fit:contain}
.catalog-view .hub-brand{display:flex}.catalog-view #home{display:none}.catalog-view .topbar{max-width:1180px;padding:20px 36px;height:88px}
.catalog-wrap{width:min(1180px,100%);margin:auto;padding:30px 36px 50px;color:#2e4451;font-family:'Trebuchet MS',Arial,sans-serif}
.catalog-wrap>h1{font:500 34px/1.13 Georgia,serif;letter-spacing:-.025em;margin:0 0 18px}
.material-filters{display:flex;flex-wrap:wrap;gap:8px;padding:14px 0 4px;margin:0 0 8px;border-top:1px solid #cddbe3}
.material-filters button{border:1px solid #c4d6df;border-radius:12px;background:#fffdf7;color:#4c6f84;font-size:14px;font-weight:700;padding:9px 14px;min-height:44px;cursor:pointer}
.material-filters button:hover{background:#e5eff4}.material-filters button[aria-pressed=true]{background:#4c6f84;border-color:#4c6f84;color:#fff;box-shadow:none}
.material-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:17px 0 40px;align-items:start}
.material-card{position:relative;border:1px solid #cddbe3;border-radius:19px;background:#fffdf7;padding:18px;min-width:0}
.material-card:has(details[open]){z-index:4;border-color:#b8cdd8;border-bottom-color:transparent;border-radius:19px 19px 0 0;box-shadow:0 8px 24px #2e44510b}
.card-heading{display:grid;grid-template-columns:48px minmax(0,1fr) 64px;align-items:center;gap:12px;min-height:68px}
.material-card .card-icon{width:48px;height:48px;display:grid;place-items:center;background:#e5eef3;border-radius:13px;padding:6px;overflow:hidden}
.card-icon>img,.card-icon>.atlas{width:36px;height:36px;object-fit:contain;mix-blend-mode:multiply}
.material-card .category{font-size:10px;line-height:1.4;letter-spacing:.055em;text-transform:uppercase;color:#4b6f86;margin:0 0 5px}
.material-card h2{font-family:'Trebuchet MS',Arial,sans-serif;font-size:18px;line-height:1.3;letter-spacing:0;margin:0;font-weight:700;overflow-wrap:anywhere}
.card-tools{display:flex;align-items:center;justify-content:flex-end;gap:0;align-self:start}
.material-share-icon{display:grid;place-items:center;width:32px;min-height:44px;padding:0;border:0;border-radius:9px;background:none;color:#4c6f84;cursor:pointer}
.material-share-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.material-share-icon:hover{background:#e3edf2}
.card-details{position:static;border:0;padding:0;margin:0}.card-details summary{list-style:none;display:grid;place-items:center;width:32px;min-height:44px;cursor:pointer;color:#4c6f84;font:700 14px Georgia,serif}
.card-details summary::-webkit-details-marker{display:none}.card-details summary span{display:grid;place-items:center;width:22px;height:22px;border:1px solid #c4d6df;border-radius:50%;background:#f4f8fa}
.card-details[open] summary span{background:#4c6f84;color:white;border-color:#4c6f84}
.card-details:not([open]) .card-description{display:none}
.card-description{position:absolute;top:calc(100% - 1px);left:-1px;right:-1px;padding:15px 18px 18px;border:1px solid #b8cdd8;border-top:0;border-radius:0 0 19px 19px;background:#fffdf7;box-shadow:0 15px 24px #2e445114;z-index:5}
.card-description p{margin:0;font-size:14px;line-height:1.6;color:#436377}
.card-actions{display:grid;grid-template-columns:1fr;gap:8px;margin-top:15px}.card-actions a{display:inline-flex;align-items:center;justify-content:center;gap:5px;text-align:center;border-radius:10px;padding:9px 8px;min-height:44px;font-size:12px;line-height:1.35;font-weight:700;text-decoration:none;background:#e3edf2;color:#365b71}.card-actions a:hover{background:#d5e4ec}
.card-details summary:focus-visible{outline:3px solid #8cbbd6;outline-offset:3px;border-radius:8px}.catalog-empty{font-size:15px;color:#4b6f86;padding:20px 0}
.idea-pop{box-sizing:border-box;position:fixed;right:auto;inset:auto;margin:0;width:min(420px,calc(100vw - 24px));max-height:calc(100dvh - 110px);overflow:auto;border:1px solid #b6cad6;border-radius:20px;padding:20px 22px;background:#fffdf4;color:#2e4451;box-shadow:0 12px 40px #2e445130;font:italic 16px/1.65 Georgia,serif;z-index:20}
.idea-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.idea-heading h2{font:italic 600 21px/1.25 Georgia,serif;margin:0}.idea-heading button{display:grid;place-items:center;border:1px solid #c7d6df;background:#ecf2f6;color:#2e4451;border-radius:50%;width:40px;min-width:40px;height:40px;min-height:40px;padding:0;cursor:pointer}.idea-heading button svg{display:block;width:18px;height:18px}
.idea-pop ol{padding-left:22px;margin:14px 0 0}.idea-pop li{padding-left:3px;margin:0 0 14px}.idea-pop li:last-child{margin-bottom:0}
@media screen and (max-width:1050px){.material-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media screen and (max-width:620px){.catalog-view .topbar{padding:20px 22px}.catalog-wrap{padding:22px 22px 35px}.catalog-wrap>h1{font-size:29px}.material-grid{grid-template-columns:1fr;gap:17px;margin-bottom:35px}.material-filters button{font-size:13px;padding:9px 12px}.idea-pop{font-size:15px;padding:18px}.idea-heading h2{font-size:20px}}
@media screen and (max-width:380px){.card-heading{grid-template-columns:40px minmax(0,1fr) 64px;gap:8px}.material-card .card-icon{width:40px;height:40px;padding:4px}.card-icon>img,.card-icon>.atlas{width:32px;height:32px}.material-card h2{font-size:17px}}
@media print{.idea-pop{display:none!important}}
.sound-cards.three{grid-template-columns:repeat(3,minmax(0,1fr))}.sound-cards.two{grid-template-columns:repeat(2,minmax(0,1fr))}.sound-cards .card{min-width:0}.sound-cards.three .card{padding:12px;gap:6px;min-height:210px}.sound-cards.three .picture{height:130px}.sound-cards.three .atlas{width:130px;height:130px;max-width:100%}.sound-cards.three .word{font-size:21px}.sound-cards.three .mini-locations{gap:4px}.sound-cards.three .mini-locations span{width:30px;max-width:29%}
.sound-cards{border-right:1px solid transparent}
@media screen and (max-width:480px){.sound-cards.three .card{padding:7px;gap:4px;min-height:132px}.sound-cards.three .picture{height:76px}.sound-cards.three .atlas{height:76px;width:76px}.sound-cards.three .word{font-size:14px}.sound-cards.three .mini-locations{gap:2px}.sound-cards.three .mini-locations span{height:13px}.sound-cards.three .mini-locations span::before{width:3px;height:3px;margin-top:4px}}
@media print{#print-root .sound-cards.three .card{padding:3mm;gap:1.5mm;min-height:54mm}#print-root .sound-cards.three .picture{height:32mm}#print-root .sound-cards.three .atlas{height:32mm;width:32mm;max-width:100%}#print-root .sound-cards.three .word{font-size:16pt}}

/* Stable round close controls in every material dialog and help balloon. */
.dialog-head .icon.close,.idea-heading button{box-sizing:border-box;flex:0 0 40px;width:40px!important;min-width:40px!important;max-width:40px!important;height:40px!important;min-height:40px!important;max-height:40px!important;aspect-ratio:1;padding:0!important;display:grid;place-items:center;line-height:1;border-radius:50%}
.close svg{width:18px;height:18px}
.sound-selection{display:flex;flex-wrap:wrap;gap:8px}.sound-selection button{min-width:50px;min-height:44px;padding:9px 12px}
.sound-mark{width:100%;margin-top:5px}.sound-mark>small{display:block;text-align:center;font-size:9px;color:#3d5e73;margin-bottom:6px}.sound-mark>div{display:flex;justify-content:center;gap:8px}.sound-mark span{display:flex;flex-direction:column;align-items:center;gap:4px;font-size:9px;font-weight:400;white-space:nowrap}.sound-mark i{display:block;width:13px;height:13px;border:1px solid #607989;background:#fff}
.choice>.atlas{height:100px;width:100px;max-width:100%}.choice>.no-photo{min-height:75px}.choice small{font-size:11px;font-weight:400;color:#3d5e73}.sound-cards .danger-link{font-size:10px;padding:2px;min-height:28px}
@media screen and (min-width:481px) and (max-width:800px){.workspace .paper{width:min(710px,100%);min-width:0}.sound-cards.three .card{min-height:190px}}
@media screen and (max-width:480px){.sound-cards.three .card{padding:6px 3px}.sound-mark>div{gap:3px}.sound-mark span{font-size:7px;gap:3px}.sound-mark>small{font-size:8px}.sound-mark i{width:11px;height:11px}.preview-modal .paper{width:100%;min-width:0}.preview-modal #preview-body{align-items:stretch}.crop-footer{flex-wrap:wrap}.dialog-head{gap:10px}.sound-selection button{font-size:13px}}
@media print{#print-root .sound-mark>small{font-size:7pt}#print-root .sound-mark span{font-size:6.5pt}#print-root .sound-mark i{width:3.5mm;height:3.5mm;border-color:#52636e}#print-root .sound-mark>div{gap:2mm}#print-root .sound-cards.three .card{min-height:55mm}#print-root .sound-cards.two .card{min-height:56mm}#print-root .sound-cards.two .picture{height:30mm}#print-root .location-board{min-height:180mm}}

/* Photo actions share the existing alphabet material button style. */
.photo-actions{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0 22px}.photo-actions button{flex:1 1 180px;min-width:0;min-height:44px;padding:9px 14px;border:1px solid #9fb9c9;border-radius:12px;background:#fffef9;color:#3d5e73;font-size:14px}.photo-actions button:hover{background:#e3edf3;border-color:#4c6f84}

/* Fill complete rows independently of the retained image-size preference. */
.sound-cards.full-sheet .card{padding:8px;gap:5px;min-height:180px}.sound-cards.full-sheet .picture,.sound-cards.full-sheet .atlas{height:110px}.sound-cards.full-sheet .atlas{width:110px}.sound-cards.full-sheet .word{font-size:20px;line-height:1.2}.sound-cards.full-sheet .sound-mark>small{display:none}.sound-cards.full-sheet .sound-mark>div{gap:8px}.sound-cards.full-sheet .sound-mark span{flex-direction:row;gap:4px}.sound-cards.card-size-6 .picture,.sound-cards.card-size-6 .atlas{height:100px}.sound-cards.card-size-6 .atlas{width:100px}.sound-cards.card-size-8 .picture,.sound-cards.card-size-8 .atlas{height:90px}.sound-cards.card-size-8 .atlas{width:90px}
@media screen and (max-width:480px){.sound-cards.full-sheet .card{min-height:130px;padding:6px 3px;gap:4px}.sound-cards.full-sheet .picture,.sound-cards.full-sheet .atlas{height:76px}.sound-cards.full-sheet .atlas{width:76px}.sound-cards.full-sheet .word{font-size:14px}.sound-cards.full-sheet .sound-mark>div{gap:4px}.sound-cards.full-sheet .sound-mark span{flex-direction:column;gap:2px;font-size:7px}}
@media print{#print-root .sound-cards.full-sheet .card{min-height:49mm;padding:2mm;gap:1mm}#print-root .sound-cards.full-sheet .picture,#print-root .sound-cards.full-sheet .atlas{height:28mm}#print-root .sound-cards.full-sheet .atlas{width:28mm}#print-root .sound-cards.full-sheet .word{font-size:16pt}#print-root .sound-cards.full-sheet .sound-mark{margin-top:1mm}#print-root .sound-cards.full-sheet .sound-mark>div{gap:2mm}#print-root .sound-cards.full-sheet .sound-mark span{flex-direction:row;gap:1mm;font-size:6.5pt}#print-root .sound-cards.card-size-6 .picture,#print-root .sound-cards.card-size-6 .atlas{height:26mm}#print-root .sound-cards.card-size-6 .atlas{width:26mm}#print-root .sound-cards.card-size-8 .picture,#print-root .sound-cards.card-size-8 .atlas{height:24mm}#print-root .sound-cards.card-size-8 .atlas{width:24mm}}

.sound-editor-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(130px,220px) 110px;gap:24px}.sound-editor-head .material-symbol{margin-right:0;justify-self:end}.selected-sound-mark{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;min-height:124px;color:#4c6f84;text-align:center}.selected-sound-mark strong{font:700 112px/1 Arial,sans-serif;letter-spacing:-.035em}.selected-sound-mark small{font-size:14px;line-height:1.3;margin-top:5px;color:#3d5e73}.parent-sound-positions{min-width:0;margin:8px 0 0;padding:16px;border:1px solid #b6cad6;border-radius:12px;background:#f5f8fa}.parent-sound-positions legend{font-size:15px;font-weight:700;color:#3d5e73;padding:0 5px}.parent-sound-positions .checks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0}.parent-sound-positions .checks label{min-height:44px;padding:10px;border:1px solid #b6cad6;border-radius:10px;background:#fffef9;cursor:pointer}.parent-sound-positions .checks label:has(input:checked){background:#d5e4ec;border-color:#4c6f84}.parent-sound-positions .no-sound-choice{grid-column:1/-1}.parent-sound-positions .help:last-child{margin-bottom:0}
@media screen and (max-width:800px){.sound-editor-head{grid-template-columns:minmax(0,1fr) 120px 80px;gap:16px}.selected-sound-mark strong{font-size:96px}.sound-editor-head .material-symbol{width:80px;height:80px}}
@media screen and (max-width:620px){.sound-editor-head{grid-template-columns:minmax(0,1fr) 60px;gap:12px}.sound-editor-head .material-symbol{grid-column:2;grid-row:1;width:60px;height:60px}.selected-sound-mark{grid-column:1/-1;grid-row:2;min-height:90px}.selected-sound-mark strong{font-size:84px}.parent-sound-positions{padding:12px}.parent-sound-positions .checks{grid-template-columns:1fr}.parent-sound-positions .no-sound-choice{grid-column:auto}}

/* The sound card is edited as one draft in one dialog. */
dialog.sound-card-modal{width:min(940px,calc(100vw - 30px))}.sound-card-editor-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:24px;align-items:start}.sound-card-editor-grid>section{min-width:0}.sound-card-picture{height:220px;display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid #d5e4ec;border-radius:12px;padding:10px}.sound-card-picture>img,.sound-card-picture>.atlas{width:100%;height:100%;object-fit:contain}.sound-card-picture .no-photo{font-size:14px;color:#657782;text-align:center;line-height:1.5}.sound-card-photo .photo-actions{margin:12px 0;gap:8px}.sound-card-photo .photo-actions button{flex:1 1 130px;font-size:13px;padding:9px 8px}.sound-card-photo .crop-area{margin-bottom:12px;max-width:100%}.sound-card-photo .crop-controls{gap:8px}.sound-card-photo .crop-controls button{padding:8px 6px;font-size:12px}.sound-card-photo .crop-controls .field{margin-bottom:0}.sound-card-editor-grid .parent-sound-positions .checks{grid-template-columns:1fr;gap:8px}.sound-card-editor-grid .parent-sound-positions .no-sound-choice{grid-column:auto}.sound-card-ready-note{font-size:12px;color:#657782}.sound-ready-picker{margin:20px 0 0;border:1px solid #b6cad6;border-radius:12px;background:#fffef9}.sound-ready-picker summary{cursor:pointer;padding:13px 16px;font-size:14px;font-weight:600;color:#3d5e73;min-height:44px}.sound-ready-picker[open] summary{border-bottom:1px solid #d5e4ec}.sound-ready-picker .selection-grid{padding:14px}.sound-card-footer{position:sticky;bottom:-24px;z-index:4;background:#fff;border-top:1px solid #d5e4ec;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:20px -24px -24px;padding:14px 24px}.sound-card-footer>div{display:flex;gap:10px;margin-left:auto}.sound-card-footer .danger-link{font-weight:400}.sound-card-footer button{min-height:44px}.sound-card-editor-grid .parent-sound-positions{margin-top:0}.sound-card-editor-grid .parent-sound-positions .checks label{padding:8px 10px}
@media screen and (max-width:620px){.sound-card-editor-grid{grid-template-columns:1fr;gap:16px}.sound-card-picture{height:180px}.sound-card-photo .crop-area{width:260px}.sound-card-footer{bottom:-18px;margin:20px -18px -18px;padding:12px 18px;flex-wrap:wrap}.sound-card-footer>div{width:100%;justify-content:flex-end}.sound-card-footer>div button{flex:1;font-size:13px;padding:10px 8px}.sound-ready-picker .selection-grid{padding:10px}.sound-card-photo .photo-actions button{flex:1 1 130px}}
dialog.sound-card-modal{max-height:calc(100dvh - 24px)}.sound-card-photo .crop-area{width:240px}.sound-card-editor-grid .parent-sound-positions .checks{grid-template-columns:repeat(3,minmax(0,1fr))}.sound-card-editor-grid .parent-sound-positions .no-sound-choice{grid-column:1/-1}
@media screen and (max-width:700px){.sound-card-editor-grid{grid-template-columns:1fr;gap:16px}.sound-card-editor-grid .parent-sound-positions .checks{grid-template-columns:1fr}.sound-card-editor-grid .parent-sound-positions .no-sound-choice{grid-column:auto}}
