.spaced{margin-top:22px}.row-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.project-card-bottom{flex-wrap:wrap}.project-card-bottom .row-actions{gap:12px}.ops-list{display:grid;gap:16px;margin-top:20px}.ops-filters{display:flex;gap:18px;align-items:end;flex-wrap:wrap}.ops-filters>label{flex:1;min-width:170px;font-size:.875rem;color:#42564e}.ops-filters select{margin-top:7px}.order-alert{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px;border:1px solid #ccdece;background:#eaf3e9;border-radius:9px;margin-top:18px}.order-alert.attention{background:#fff3df;border-color:#ead3ab}.order-alert p{font-size:.875rem;line-height:1.8;margin-top:8px}.purchase-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.purchase-facts small{display:block;color:var(--muted);font-size:.875rem;margin-bottom:6px}.purchase-facts strong{font-size:1rem;font-weight:600;line-height:1.6}.purchase-bottom{border-top:1px solid var(--line);padding-top:17px;margin-top:20px;display:flex;align-items:center;gap:18px;flex-wrap:wrap}.purchase-bottom>label{font-size:.875rem;min-width:170px}.purchase-bottom select{margin-top:6px}.purchase-bottom .row-actions{margin-left:auto}.warning-text,.negative{color:#a33f30}.warning-text{font-size:.875rem;margin-top:16px}.warning-box{padding:16px;background:#fff3df;border:1px solid #ead3ab;border-radius:7px;font-size:.875rem;line-height:1.7;margin-top:20px}.badge.overdue{background:#fce7e1;color:#a33f30}.check-field{display:flex!important;align-items:center;gap:10px;font-weight:500!important}.check-field input{width:22px;height:22px;min-height:22px;margin:0;accent-color:var(--green);flex-shrink:0}.ops-grid{margin-top:22px}.ops-grid label>input,.ops-grid label>select{margin-top:7px}.calculation{background:#eef5ef;border-radius:6px;padding:13px;line-height:1.7;font-size:.9rem}.timer-panel{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px;background:#edf4ee}.timer-panel p{font-size:.875rem;line-height:1.8;color:#4d6559;margin-top:10px}.timer-value{font-variant-numeric:tabular-nums;font-size:2.5rem;display:block;margin-top:15px;letter-spacing:2px}.timer-panel [data-ops=start-timer],.timer-panel [data-ops=stop-timer]{background:var(--green);color:white;min-height:64px;min-width:155px;font-size:1.15rem}.timer-panel [data-ops=stop-timer]{background:#a64232}.summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:15px;margin-top:16px}.summary-grid article{border:1px solid var(--line);border-radius:7px;padding:16px}.summary-grid p{font-size:.875rem;line-height:1.8;margin-top:5px}.category-summary{display:flex;flex-wrap:wrap;gap:10px;margin-top:15px}.category-summary>span{background:#f2f5f3;padding:9px 12px;border-radius:6px;font-size:.875rem;line-height:1.5}.category-summary strong{margin-left:8px}.entry-row{display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);padding:18px 0}.entry-row:last-child{border:0}.entry-row p{font-size:.875rem;line-height:1.8;color:var(--muted);margin-top:6px}.entry-row .badge{margin-top:7px}.finance-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.finance-stats p{font-size:.875rem;line-height:1.7;color:#586d64}.finance-stats strong{display:block;font-size:1.7rem;letter-spacing:-.5px;margin-top:15px;overflow-wrap:anywhere}.financial-details{display:grid;grid-template-columns:1fr auto;gap:13px;font-size:.875rem;line-height:1.6}.financial-details dt{color:#586d64}.financial-details dd{margin:0;font-weight:600;text-align:right}.cost-chart{display:block;width:100%;height:auto;margin-top:20px}.ops-grid .form-note{margin-top:0}.ops-grid input[readonly]{background:#f1f5f2}.purchase-card .section-heading{align-items:start}.purchase-card .section-heading h2{overflow-wrap:anywhere}.purchase-card .section-heading .badge{white-space:normal;text-align:center}.ops-grid p.full{font-size:.9rem;line-height:1.8}#ops-error{margin-top:20px}#operations-dialog{width:760px}.purchase-card .section-heading p{font-size:.875rem}.finance-stats .panel{min-width:0}@media(max-width:1100px){.finance-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.order-alert{align-items:start;flex-direction:column}}@media(max-width:700px){.sidebar{height:auto;min-height:64px;align-items:start;padding-top:12px;padding-bottom:12px;gap:10px}.sidebar .brand{padding-top:8px;flex-shrink:0}.sidebar nav{display:grid;grid-template-columns:repeat(3,1fr);gap:3px;flex:1}.sidebar nav a{font-size:.7rem;padding:6px;gap:4px;justify-content:center;min-height:40px;line-height:1.35;text-align:center}.sidebar nav svg{display:none}.brand>span:last-child{display:none}.purchase-facts{grid-template-columns:1fr;gap:13px}.purchase-bottom{gap:14px}.purchase-bottom>label{width:100%}.purchase-bottom .row-actions{margin:0;width:100%}.row-actions .button{min-height:44px}.entry-row{flex-direction:column;align-items:stretch;gap:10px}.finance-stats{grid-template-columns:1fr 1fr;gap:10px}.finance-stats .panel{padding:14px}.finance-stats strong{font-size:1.25rem}.timer-panel{flex-direction:column;align-items:stretch}.timer-panel .row-actions{flex-direction:column;align-items:stretch}.timer-panel .button{width:100%}.timer-value{font-size:2.2rem}.ops-filters{gap:13px}.ops-filters label{min-width:100%;width:100%}.order-alert .button{width:100%}.financial-details{grid-template-columns:1fr}.financial-details dd{text-align:left;margin-bottom:8px}.summary-grid{grid-template-columns:1fr}.purchase-card .section-heading{flex-direction:column}.purchase-card .section-heading h2{line-height:1.6}#operations-dialog{max-width:calc(100% - 18px)}.project-card-bottom{flex-wrap:wrap;gap:0;width:100%}.project-card-bottom .row-actions{gap:13px}.ops-grid label{font-size:.875rem}.category-summary{flex-direction:column}.category-summary>span{display:flex;justify-content:space-between}.finance-stats p{font-size:.8rem}}
.needed{background:#fff4da;color:#8d6926}.legend-dot.needed{background:#b89546}.chart-scroll{overflow-x:auto}.cost-chart{min-width:480px}
.purchase-group{background:#fff;border:1px solid var(--line);border-radius:9px;overflow:hidden}.purchase-group>summary{display:grid;grid-template-columns:22px minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:16px 18px;cursor:pointer;background:#f0f5f1;font-size:.875rem;min-height:60px}.purchase-group>summary strong{font-size:1rem}.purchase-group>summary .warning-text{margin:0}.purchase-group summary{list-style:none}.purchase-group summary::-webkit-details-marker{display:none}.purchase-group>summary::before,.purchase-item>summary::before{content:'+';font-size:1.25rem;color:#3a6756}.purchase-group[open]>summary::before,.purchase-item[open]>summary::before{content:'−'}.purchase-item{border-top:1px solid var(--line)}.purchase-item>summary{display:grid;grid-template-columns:22px minmax(0,2fr) 90px 140px minmax(170px,1fr);align-items:center;gap:12px;padding:12px 18px;cursor:pointer;min-height:60px;font-size:.875rem}.purchase-item>summary:hover{background:#f6f9f6}.purchase-item>summary:focus-visible,.purchase-group>summary:focus-visible{outline:3px solid #4c8e7a;outline-offset:-3px}.compact-name{font-weight:600;overflow-wrap:anywhere}.compact-name small{display:block;color:var(--muted);font-weight:400;font-size:.8rem;margin-top:4px}.compact-deadline{display:flex;flex-wrap:wrap;gap:4px 7px;align-items:center}.compact-deadline time{font-weight:600}.compact-deadline .badge{font-size:.75rem;white-space:normal}.material-detail{padding:4px 20px 18px 52px;background:#fafcfb}.material-detail .purchase-facts{margin-top:13px;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.material-detail .purchase-bottom{margin-top:14px;padding-top:12px}.purchase-list-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-top:12px}.report-scroll{overflow-x:auto;margin-top:20px}.company-table{border-collapse:collapse;width:100%;font-size:.875rem;min-width:790px}.company-table th,.company-table td{padding:14px;text-align:right;border-bottom:1px solid var(--line);line-height:1.6}.company-table th:first-child{text-align:left}.company-table thead{background:#eff5f0}.company-table tbody th{font-weight:600}.company-table td{white-space:nowrap}.purchase-groups{gap:12px}
@media(max-width:1100px){.purchase-item>summary{grid-template-columns:20px minmax(0,2fr) 70px 110px minmax(140px,1fr);gap:8px;padding:12px}.purchase-group>summary{gap:8px;padding:14px}.purchase-item .badge{white-space:normal}}
@media(max-width:700px){.purchase-group>summary{grid-template-columns:20px 1fr auto;gap:7px;padding:14px 12px}.purchase-group>summary>span:last-child{grid-column:2/-1}.purchase-item>summary{grid-template-columns:20px minmax(0,1fr) auto;gap:8px;padding:12px}.purchase-item>summary>.badge{grid-column:2;justify-self:start}.purchase-item>summary>.compact-deadline{grid-column:2/-1;font-size:.875rem}.material-detail{padding:6px 14px 16px}.material-detail .purchase-facts{grid-template-columns:1fr}.purchase-list-toolbar{align-items:stretch;flex-direction:column}.purchase-list-toolbar .button{width:100%}.purchase-group>summary strong{font-size:.95rem}.purchase-group>summary::before{grid-row:1/3}.purchase-item>summary::before{grid-row:1/3}.purchase-item>summary .compact-name{min-width:0}.company-table th,.company-table td{padding:12px}.sidebar nav{grid-template-columns:repeat(3,1fr)}}
