.brand-mark{font-size:27px;display:grid;place-items:center;color:#fff}.connection{font-size:12px;padding:10px 14px;border:1px solid #dee8df;background:#f1f8f1;border-radius:7px;margin-bottom:23px;color:#426a4d}.connection.offline{background:#fff7e9;color:#886025;border-color:#ead7b1}.connection.disconnected{background:#fff0ed;color:#a13c28;border-color:#ecc7bb}.topic-card{padding-right:92px;min-height:330px}.topic-card:hover{transform:none}.shot-check{position:absolute;right:16px;top:18px;display:flex;flex-direction:column;align-items:center;gap:7px;color:#7b8389;font-size:12px;cursor:pointer}.shot-check input{width:25px;height:25px;accent-color:#41755c;cursor:pointer}.topic-card.is-shot{border-color:#9dc2ac;background:#fcfefc}.topic-card.is-shot .shot-check{color:#41755c}.topic-card h2{font-size:19px;line-height:1.5;margin-bottom:15px}.reference{flex:1;border-left:2px solid #e9e3dc;padding-left:13px;margin-bottom:17px}.reference-label{font-size:11px;letter-spacing:.5px;color:#989087;margin-bottom:7px}.reference a{color:#4e5864;text-decoration:none;font-weight:550;font-size:14px;line-height:1.6}.reference a:hover{text-decoration:underline;color:#b93b1b}.ref-meta{font-size:11px;color:#8c9299;line-height:1.8;margin:6px 0}.ref-evidence{font-size:11px;line-height:1.65;color:#8d7d67;margin:7px 0}.reference p.reason{font-size:13px;line-height:1.85;color:#606970;margin:9px 0 0}.card-bottom{margin-right:-69px}.card-edit{margin-left:auto;color:var(--accent-dark);padding:5px 9px;border:1px solid #edcbbc;border-radius:5px;background:#fffaf6;min-height:34px}.card-date{font-size:12px;color:#858c94;margin:0 0 12px;line-height:1.8}.card-warning{font-size:12px;color:#986323;line-height:1.6;background:#fff7e4;padding:7px 9px;border-radius:5px;margin:0 -65px 12px 0}.card-notes{font-size:12px;color:#797d82;margin:0 0 10px}.badge.ref{background:#f4f0e8;color:#8a734c;font-size:10px}.badge.shot{background:#eaf5ec;color:#51745c}.card-top{flex-wrap:wrap}.card-badges{justify-content:flex-start}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-grid .full{grid-column:1/-1}.form-grid label{font-size:13px;color:#5e6670;display:flex;flex-direction:column;gap:6px}.form-grid input,.form-grid select,.form-grid textarea{width:100%;padding:10px 11px;border:1px solid #dce0e5;border-radius:6px;background:white;color:#30363d;font:inherit;min-width:0}.form-grid textarea{resize:vertical;min-height:78px;line-height:1.6}.form-grid .check-label{flex-direction:row;align-items:center}.form-grid input[type=checkbox]{width:19px;height:19px;accent-color:#ef5a35}.form-section{grid-column:1/-1;border-top:1px solid #eee;padding-top:15px;margin:8px 0 0;font-size:14px;color:#9a684a}.dialog-actions{display:flex;justify-content:flex-end;align-items:center;gap:16px;padding-top:22px;flex-wrap:wrap}.dialog-actions>button{min-height:40px;font-size:13px}.notice{padding:11px 13px;background:#fff7e4;color:#8a672c;line-height:1.7;font-size:13px;border-radius:6px;margin-top:12px}.notice.error{background:#fff0ed;color:#a8452d}.toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);background:#2a3831;color:#fff;border-radius:8px;padding:13px 20px;box-shadow:0 6px 24px #0002;z-index:99;max-width:90vw;line-height:1.6;font-size:14px}.section-panel{grid-column:1/-1;background:white;border:1px solid #e1e4e8;border-radius:10px;padding:23px}.section-panel h2{margin:0 0 12px;font-size:20px}.section-panel p{color:#77818a;font-size:13px;line-height:1.9}.calendar-row{display:flex;align-items:flex-start;gap:20px;border-top:1px solid #edf0f2;padding:17px 0}.calendar-row time{width:82px;flex-shrink:0;color:#bf6240;font-size:14px}.calendar-row strong{font-size:15px}.calendar-row p{margin:4px 0}.calendar-row a{font-size:12px;color:#8b745d}.calendar-row .text-button{margin-left:auto;white-space:nowrap}.calendar-warning{color:#9c6c27!important}.small-note{font-size:12px;line-height:1.8;color:#8c939a}.text-button:disabled,.solid-button:disabled{opacity:.45;cursor:not-allowed}.guide-links{flex-wrap:wrap}.form-grid button{align-self:end;min-height:40px}.topbar button{white-space:nowrap}#editor-dialog{width:min(790px,calc(100vw - 24px))}#manage-dialog{width:min(680px,calc(100vw - 24px))}.account-button{width:100%}.history-card{cursor:pointer}.view-tabs{gap:23px}.reference summary{font-size:11px;color:#909090;cursor:pointer;margin-top:7px}.reference details p{font-size:11px;line-height:1.7;color:#8f9398}.outline-note{font-size:12px;color:#747e88;line-height:1.8;margin-top:9px}.card-last{font-size:10px;color:#9a9fa4;margin-top:8px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #ef5a35;outline-offset:3px}
@media(min-width:1600px){main{max-width:1480px}.topic-card{padding:24px 97px 20px 25px}}
@media(max-width:1100px){.topic-grid{grid-template-columns:1fr}.topic-card{min-height:0}.result-hint{display:none}.view-tabs{gap:18px}.view-tabs button{font-size:13px}}
@media(max-width:650px){.connection{font-size:11px;line-height:1.6;margin-bottom:16px}.topic-card{padding:17px 75px 16px 16px}.shot-check{right:12px}.topic-card h2{font-size:18px}.card-bottom{margin-right:-58px}.card-warning{margin-right:-56px}.search-row{flex-wrap:wrap}.search-wrap{flex-basis:100%}.format-select{flex:1}.format-select select{max-width:none;width:100%}#add-topic{font-size:12px;padding:8px 12px}.view-tabs{gap:12px;overflow:auto}.view-tabs button{font-size:12px;white-space:nowrap}.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}.form-section{grid-column:auto}.calendar-row{gap:12px}.calendar-row time{width:72px;font-size:12px}.calendar-row .text-button{font-size:11px}.section-panel{padding:17px}.page-footer{flex-direction:column}.reference p.reason{font-size:13px}.stat strong{font-size:26px}.priority-banner p{display:block;max-width:210px}.reference-label{font-size:10px}}
@media print{.connection,.card-edit,.toast,.shot-check input{display:none!important}.topic-card{padding-right:70px}.reference a{color:#333}.card-bottom{margin-right:-45px}}

fieldset.form-grid{border:0;padding:0;margin:0;min-width:0}

.shoot-script{margin:0 -65px 17px 0;border:1px solid #e8dfd6;border-radius:7px;background:#fffdf9}.shoot-script>summary{padding:12px 13px;display:flex;align-items:center;justify-content:space-between;gap:10px;cursor:pointer;color:#95613e;font-size:13px;font-weight:600;list-style:none}.shoot-script>summary::-webkit-details-marker{display:none}.shoot-script>summary small{font-size:10px;font-weight:400;color:#aa8b70}.shoot-script[open]>summary{border-bottom:1px solid #eee3d8}.script-panel{padding:2px 15px 14px}.script-panel h3{font-size:12px;color:#a87954;margin:15px 0 8px}.script-panel p{overflow-wrap:anywhere}.script-framework{white-space:pre-line;font-size:12px;color:#7b7e80;line-height:1.9;margin:0}.script-copy{white-space:pre-line;font-size:15px;line-height:1.9;color:#37414a;margin:0}.script-caption{font-size:12px;line-height:1.8;color:#768087;white-space:pre-line}.script-notice{font-size:11px;line-height:1.8;color:#948577;background:#f7f3ed;padding:9px 11px;border-radius:5px;margin:12px 0 0}.script-notice strong{font-weight:600}.copy-actions{display:flex;gap:10px;margin-top:14px;flex-wrap:wrap}.copy-actions button{color:#995b30;background:#fff;border:1px solid #e6d2c1;border-radius:5px;padding:7px 10px;font-size:12px;min-height:34px}.topic-card .reference{flex:initial}.topic-card .card-bottom{margin-top:auto}.form-grid textarea[name=scriptCopy]{min-height:170px}.form-grid textarea[name=shootingFramework]{min-height:118px}
@media(max-width:650px){.shoot-script{margin-right:-56px}.shoot-script>summary{flex-wrap:wrap}.script-copy{font-size:14px}.script-panel{padding:2px 12px 12px}}

/* Expanded scripts keep neighboring cards compact. */
.topic-grid{align-items:start}
