.synopsis-steps{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin:0 0 18px}.synopsis-steps>div{display:flex;gap:8px;align-items:center;background:#fff;border:1px solid var(--border);border-radius:10px;padding:10px}.synopsis-steps strong{width:25px;height:25px;border-radius:50%;display:grid;place-items:center;background:var(--primary-soft);color:var(--primary)}.synopsis-steps span{font-size:.72rem;font-weight:650}.synopsis-tabs{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:14px;position:sticky;top:64px;z-index:5;background:#f6f8f8;padding:8px 0}.synopsis-tabs a{background:#fff;border:1px solid var(--border);border-radius:999px;padding:7px 12px;font-size:.75rem;font-weight:700;color:var(--text)}.synopsis-form{margin-bottom:14px}.synopsis-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:14px}.synopsis-grid .wide{grid-column:1/-1}.synopsis-grid label{display:block;font-size:.72rem;font-weight:700;margin-bottom:5px}.synopsis-inline-form{display:flex;gap:8px;align-items:end;margin-top:12px}.synopsis-inline-form .grow{flex:1}.small-number{max-width:90px}.synopsis-subcard{padding:14px;background:#fbfcfc;border:1px solid var(--border-light);border-radius:10px}.synopsis-period{border:1px solid var(--border);border-radius:12px;margin-top:14px;overflow:hidden}.synopsis-period>header{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:12px 14px;background:#f7f9f9}.synopsis-period>header strong,.synopsis-period>header span{display:block}.synopsis-period>header span{font-size:.72rem;color:var(--muted);margin-top:2px}.synopsis-period>p{padding:0 14px}.synopsis-authority-add{padding:12px 14px;border-top:1px solid var(--border-light)}.synopsis-authority-add summary{cursor:pointer;font-weight:750;color:var(--primary)}form.inline{display:inline}.synopsis-period .mini-table{margin:0}@media(max-width:900px){.synopsis-steps{grid-template-columns:repeat(2,1fr)}.synopsis-grid{grid-template-columns:1fr}.synopsis-grid .wide{grid-column:auto}.synopsis-inline-form{flex-direction:column;align-items:stretch}.small-number{max-width:none}}
.synopsis-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}.synopsis-section-head h2{margin:0 0 4px}.synopsis-section-head p{margin:0;max-width:820px}@media(max-width:760px){.synopsis-section-head{display:block}.synopsis-section-head form{margin-top:10px}}
.synopsis-warnings{margin:12px 0 18px;padding:12px 16px;border:1px solid #d8b25c;border-radius:8px;background:#fffaf0}.synopsis-warnings ul{margin:8px 0 0 20px}.synopsis-period-tools{margin:10px 0 14px}.synopsis-period-tools summary,.row-edit summary{cursor:pointer;font-weight:600}.synopsis-tool-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:8px 0 12px}.compact-date{width:auto;display:inline-block}.row-edit{min-width:70px}.row-edit-form{display:grid;grid-template-columns:repeat(2,minmax(120px,1fr));gap:6px;min-width:520px;padding:8px 0}.row-edit-form textarea{grid-column:1/-1;min-height:58px}.row-edit-form select,.row-edit-form input,.row-edit-form textarea{max-width:100%}
.service-lines-table th:nth-child(1){width:120px}.service-lines-table th:nth-child(2){width:210px}.service-lines-table th:nth-child(3){width:auto}.service-lines-table th:nth-child(4){width:120px}.service-lines-table th:nth-child(5){width:70px}.source-badge{display:inline-block;padding:4px 8px;border:1px solid var(--border);border-radius:999px;font-size:.72rem;white-space:nowrap}.service-line-form{display:grid;grid-template-columns:150px 220px minmax(360px,1fr) 90px auto;gap:8px;align-items:end;margin-top:12px}.service-line-form label{display:block;font-size:.7rem;font-weight:700;margin-bottom:4px}.check-add{display:grid;grid-template-columns:1fr 90px auto;gap:8px;align-items:center;margin-top:12px}.stamp-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.stamp-preview{min-height:130px;border:1px dashed var(--border);border-radius:10px;padding:14px;display:flex;flex-direction:column;align-items:center;text-align:center}.stamp-preview span{display:block}.stamp-preview form{margin-top:auto}@media(max-width:950px){.service-line-form{grid-template-columns:1fr 1fr}.service-line-form .service-text{grid-column:1/-1}.stamp-list{grid-template-columns:1fr}}
