.franchise-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px}.franchise-summary>div{background:#fff;border:1px solid #e3e8ef;border-radius:12px;padding:15px 18px}.franchise-summary small,.franchise-summary span{color:#7c899b}.franchise-summary b{font-size:26px;margin:0 5px 0 12px;color:#172b45}.franchise-summary>div:last-child{background:#fff8f5;border-color:#f1d6cd}.franchise-summary>div:last-child b{color:#d54838}.franchise-page-heading{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:14px}.franchise-page-heading h2{margin:0 0 4px}.franchise-page-heading p{margin:0;color:#7c899b}.franchise-filters{display:grid;grid-template-columns:minmax(240px,2fr) repeat(3,minmax(130px,1fr)) auto;gap:10px;align-items:end;padding:12px;background:#f7f9fc;border-radius:10px}.franchise-filters label{margin:0}.franchise-filters input,.franchise-filters select{height:40px}.franchise-result{display:flex;justify-content:space-between;margin:14px 0 8px;color:#66758a}.franchise-table-wrap{overflow:auto;border:1px solid #e5eaf0;border-radius:10px}.franchise-table{min-width:1420px;margin:0}.franchise-table th{position:sticky;top:0;background:#f7f9fc;z-index:1;white-space:nowrap}.franchise-table td{white-space:nowrap}.franchise-table td small{display:block;color:#8a96a8;margin-top:5px}.franchise-note-cell{max-width:180px;overflow:hidden;text-overflow:ellipsis}.franchise-badge{display:inline-flex;border-radius:12px;padding:4px 8px;font-size:12px}.franchise-badge.unpaid{background:#fff0e6;color:#b55a20}.franchise-badge.paid{background:#e7f6ef;color:#16805b}.franchise-badge.exempt,.franchise-badge.none{background:#f0f2f5;color:#687587}.franchise-dialog{width:min(820px,94vw);max-height:88vh;overflow:auto}.franchise-dialog-heading{display:flex;justify-content:space-between;align-items:flex-start}.franchise-dialog-heading h2{margin:0}.franchise-dialog-heading p{margin:5px 0 14px;color:#7c899b}.franchise-dialog-close{border:0;background:transparent;font-size:28px;padding:0 6px}.franchise-editor-card{border:1px solid #e4e9f0;border-radius:12px;background:#fbfcfe;padding:16px;margin:16px 0}.franchise-card-title h3{margin:0}.franchise-card-title p{margin:4px 0 14px;color:#7c899b}.franchise-editor-group+.franchise-editor-group{margin-top:16px;padding-top:16px;border-top:1px solid #e5eaf0}.franchise-group-title{display:flex;align-items:center;gap:12px;margin-bottom:10px}.franchise-group-title small{color:#8a96a8}.franchise-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.franchise-field{display:grid;grid-template-columns:78px 86px minmax(100px,1fr);gap:8px;align-items:center;background:#fff;border:1px solid #e7ebf1;border-radius:9px;padding:8px 10px}.franchise-field>span{font-weight:600}.franchise-field select,.franchise-field input{height:36px;margin:0;padding:6px 8px}.franchise-amount{display:none;position:relative;margin:0}.franchise-field.is-paid .franchise-amount{display:block}.franchise-amount input{padding-right:28px;width:100%}.franchise-amount em{position:absolute;right:9px;top:9px;color:#8a96a8;font-style:normal}.franchise-notes{margin:14px 0 0}.franchise-notes textarea{margin-top:6px}.store-admin-main #storeDialog .franchise-editor-card{margin-top:14px}@media(max-width:900px){.franchise-summary{grid-template-columns:repeat(2,1fr)}.franchise-filters{grid-template-columns:1fr 1fr}.franchise-search{grid-column:1/-1}.franchise-fields{grid-template-columns:1fr}}@media(max-width:620px){.franchise-summary{grid-template-columns:1fr 1fr}.franchise-summary>div{padding:12px}.franchise-summary b{font-size:22px}.franchise-fields{grid-template-columns:1fr}.franchise-field{grid-template-columns:70px 78px 1fr}.franchise-filters{grid-template-columns:1fr}.franchise-search{grid-column:auto}}
#storeDialog{width:min(720px,94vw);max-height:90vh;overflow:auto}#storeDialog .franchise-editor-card{margin-top:14px}#storeDialog .franchise-fields{grid-template-columns:1fr}
#storeDialog{padding:24px 28px 0}#storeDialog>h2{margin:0 0 14px}.store-dialog-tabs{display:flex;gap:6px;border-bottom:1px solid #e1e7ef;margin:0 0 18px}.store-dialog-tabs button{border:0;border-radius:0;background:transparent;padding:10px 16px;margin-bottom:-1px;color:#66758a;font-weight:600}.store-dialog-tabs button.active{color:#df4334;border-bottom:3px solid #e74938}.store-tab-pane[hidden]{display:none}.store-tab-pane[data-store-pane="fees"] .franchise-editor-card{border:0;background:transparent;padding:0;margin:0}.store-tab-pane[data-store-pane="fees"] .franchise-editor-group:first-child{margin-top:0}.store-tab-pane[data-store-pane="fees"] .franchise-notes{margin-bottom:8px}#storeDialog .actions{position:sticky;bottom:0;z-index:3;background:#fff;border-top:1px solid #e7ebf1;margin:18px -28px 0;padding:14px 28px;box-shadow:0 -8px 18px #26364d0a}
#storeDialog{width:min(920px,96vw);padding:18px 24px 0}#storeDialog>h2{font-size:22px;margin-bottom:8px}.store-dialog-tabs{margin-bottom:12px}.store-dialog-tabs button{padding:8px 14px}.store-basic-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px 12px}.store-basic-field{margin:0;gap:4px;font-size:13px}.store-basic-field input,.store-basic-field select{height:38px;padding:7px 10px}.store-basic-field[data-store-field="managerInfo"],.store-basic-field[data-store-field="detailAddress"]{grid-column:span 2}.store-basic-field[data-store-field="notes"]{grid-column:1/-1}.store-basic-field textarea{min-height:54px;max-height:68px;padding:8px 10px}.store-tab-pane[data-store-pane="fees"] .franchise-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.store-tab-pane[data-store-pane="fees"] .franchise-editor-group+.franchise-editor-group{margin-top:10px;padding-top:10px}.store-tab-pane[data-store-pane="fees"] .franchise-group-title{margin-bottom:7px}.store-tab-pane[data-store-pane="fees"] .franchise-field{padding:6px 9px}.store-tab-pane[data-store-pane="fees"] .franchise-notes{margin-top:10px}.store-tab-pane[data-store-pane="fees"] .franchise-notes textarea{min-height:52px;max-height:68px}#storeDialog .actions{margin:12px -24px 0;padding:10px 24px}@media(max-width:720px){.store-basic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.store-basic-field[data-store-field="managerInfo"],.store-basic-field[data-store-field="detailAddress"]{grid-column:span 1}.store-tab-pane[data-store-pane="fees"] .franchise-fields{grid-template-columns:1fr}}
#storeDialog .store-tab-pane[data-store-pane="fees"] .franchise-fields{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:720px){#storeDialog .store-tab-pane[data-store-pane="fees"] .franchise-fields{grid-template-columns:1fr}}
.franchise-table{min-width:1620px;table-layout:fixed;font-size:13px}.franchise-table th,.franchise-table td{height:42px;padding:7px 10px;overflow:hidden;border-right:1px solid #edf0f4;text-overflow:ellipsis;white-space:nowrap}.franchise-table th:nth-child(1){width:90px}.franchise-table th:nth-child(2){width:175px}.franchise-table th:nth-child(3){width:90px}.franchise-table th:nth-child(4){width:95px}.franchise-table th:nth-child(n+5):nth-child(-n+11){width:125px}.franchise-table th:nth-child(12){width:190px}.franchise-table th:nth-child(13){width:80px}.franchise-table td small{display:inline;margin:0}.franchise-code b{font-variant-numeric:tabular-nums}.franchise-store-name,.franchise-note-cell{overflow:hidden;text-overflow:ellipsis}.franchise-table td:last-child{text-align:center}.franchise-table td:last-child button{padding:6px 12px}.franchise-badge{white-space:nowrap}
.franchise-table{width:100%;min-width:1320px}.franchise-table th,.franchise-table td{padding-right:7px;padding-left:7px}.franchise-table th:nth-child(1){width:78px}.franchise-table th:nth-child(2){width:145px}.franchise-table th:nth-child(3){width:75px}.franchise-table th:nth-child(4){width:82px}.franchise-table th:nth-child(n+5):nth-child(-n+11){width:106px}.franchise-table th:nth-child(12){width:145px}.franchise-table th:nth-child(13){width:70px}.franchise-badge{padding:3px 6px}
.franchise-filters{grid-template-columns:minmax(230px,1.6fr) repeat(4,minmax(125px,1fr))}.franchise-filters button{height:40px;align-self:end}.franchise-filters select:disabled{color:#98a2b3;background:#eef1f5;cursor:not-allowed}
.franchise-filters{grid-template-columns:minmax(125px,1fr) minmax(125px,1fr) minmax(220px,1.8fr) minmax(110px,.9fr) minmax(125px,1fr) minmax(105px,.85fr) minmax(110px,.9fr) 76px;gap:8px;padding:10px}.franchise-filters label{min-width:0;gap:4px;font-size:12px}.franchise-filters input,.franchise-filters select,.franchise-filters button{height:38px;padding:7px 9px}.franchise-filters button{padding-right:8px;padding-left:8px}@media(max-width:1350px){.franchise-filters{grid-template-columns:repeat(4,minmax(130px,1fr))}.franchise-search{grid-column:span 2}}
.franchise-filter-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px;align-items:end}.franchise-filter-actions button{min-width:0}
@media(max-width:900px){.franchise-filters{grid-template-columns:1fr 1fr}.franchise-search{grid-column:1/-1}}@media(max-width:620px){.franchise-filters{grid-template-columns:1fr}.franchise-search{grid-column:auto}}
