.new-order-columns{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(300px,1fr);gap:24px;align-items:start}.new-order-main,.new-order-parameters{min-width:0;display:grid;gap:20px}.new-order-modern h3{font-size:18px;margin:0 0 14px}.new-order-modern .form-section{margin:0}.new-order-modern>.form-section>.grid3{grid-template-columns:repeat(3,minmax(0,1fr))}.new-order-modern .new-order-main .work-comment{font-size:19px;font-weight:650;margin:0;display:grid;gap:10px}.new-order-modern .work-comment textarea{min-height:180px;font-size:15px;font-weight:400;line-height:1.6;border:1px solid var(--accent)}.compact-parameters{padding:16px;background:var(--subtle);border-radius:10px}.compact-parameters>summary{font-size:16px;font-weight:650;cursor:pointer;margin-bottom:14px}.compact-parameter-fields{display:grid;gap:14px}.compact-parameter-fields .form-section{padding:0;border:0;background:none}.compact-parameter-fields h3{font-size:13px;color:var(--muted);margin-bottom:7px}.compact-parameter-fields .grid2{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.compact-parameter-fields label{font-size:12px}.compact-parameter-fields input:not([type=checkbox]):not([type=radio]),.compact-parameter-fields select{padding:8px;font-size:13px;min-width:0}.compact-parameter-fields .material-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.compact-parameter-fields .choice{padding:6px;font-size:12px}.compact-contours summary,.new-order-extra summary{cursor:pointer;font-size:13px;font-weight:600;padding:8px 0}.new-order-extra>.form-section{margin-top:12px}.new-order-modern .work-items{overflow-x:auto}.new-order-modern .work-items table{min-width:540px}.new-order-modern .work-items td:first-child{width:52%;min-width:210px}.new-order-modern .work-items input{min-width:0;width:100%;font-size:13px}.new-order-add-work{margin-top:12px}.order-date-control{position:relative;display:flex;gap:8px;flex-wrap:wrap}.order-date-trigger{flex:1;min-width:130px;text-align:left;min-height:42px}.order-date-control>input[type=time]{width:105px}.order-calendar{position:absolute;top:calc(100% + 8px);left:0;z-index:40;width:min(330px,calc(100vw - 48px));padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--surface);box-shadow:0 12px 30px #0003;color:var(--text)}.order-calendar[hidden]{display:none}.order-calendar-nav{display:grid;grid-template-columns:30px 1fr 80px 30px;gap:5px}.order-calendar-nav button,.order-calendar-nav select{padding:6px;font-size:13px;min-width:0}.order-calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:3px;margin-top:10px}.order-calendar-grid span{text-align:center;font-size:11px;color:var(--muted);padding:4px}.order-calendar-grid button{padding:8px 0;border:0;font-size:13px;background:transparent;color:var(--text)}.order-calendar-grid .other-month{color:var(--muted)}.order-calendar-grid .selected,.order-calendar-grid button:hover{background:var(--accent);color:white}.order-calendar-footer{display:flex;justify-content:space-between;margin-top:8px;gap:4px}.order-calendar-footer button{font-size:12px;padding:7px}.order-form-setting{margin:18px 0}.order-form-setting form{display:flex;gap:16px;flex-wrap:wrap;align-items:end}.order-form-setting label{min-width:240px}.order-form-setting p{color:var(--muted);max-width:80ch}.new-order-modern .form-actions{border-top:1px solid var(--line);padding-top:18px;justify-content:flex-end}.new-order-modern .form-actions small{margin-right:auto;order:-1}@media(max-width:1050px){.new-order-columns{grid-template-columns:minmax(0,1fr)}.new-order-parameters{grid-template-columns:repeat(2,minmax(0,1fr))}.new-order-extra{grid-column:1/-1}}@media(max-width:600px){.new-order-modern>.form-section>.grid3,.new-order-parameters,.new-order-dates>.grid2{grid-template-columns:1fr}.new-order-columns{gap:18px}.new-order-modern .work-comment textarea{min-height:160px}.order-form-setting label{min-width:0;width:100%}.order-form-setting form{display:grid}.new-order-modern .form-actions{flex-wrap:wrap}.new-order-modern .form-actions small{flex-basis:100%}}
.new-order-modern label,.new-order-modern .grid2,.new-order-modern .grid3,.new-order-modern .form-section{min-width:0}.new-order-modern>.form-section>.grid3{grid-template-columns:repeat(2,minmax(0,1fr))}.new-order-modern .form-section{padding-bottom:14px}.new-order-modern{gap:16px}.new-order-modern .new-order-main .form-section h3{font-size:18px}.compact-contours .material-grid{margin-top:8px}.new-order-modern .new-order-work .work-items th:first-child{width:43%}.new-order-modern .new-order-work .work-items th:nth-child(2){width:12%}.new-order-modern .new-order-work .work-items th:nth-child(3){width:27%}.new-order-modern .new-order-work .work-items th:nth-child(4){width:18%}@media(max-width:600px){.new-order-modern>.form-section>.grid3{grid-template-columns:minmax(0,1fr)}.content:has(.new-order-modern){overflow-x:hidden}.new-order-modern .form-actions small{display:none}}
.order-contact{position:relative}.order-contact-options{position:absolute;top:70px;left:0;right:0;z-index:45;max-height:280px;overflow:auto;background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:6px;box-shadow:0 10px 24px #0003}.order-contact-options[hidden]{display:none}.order-contact-option{display:grid;width:100%;text-align:left;gap:4px;padding:10px;border:0;background:transparent;color:var(--text)}.order-contact-option small,.order-contact-hint{font-size:12px;color:var(--muted);white-space:normal}.order-contact-option:hover,.order-contact-option[aria-selected=true]{background:var(--subtle)}.order-contact-hint{display:block;padding:10px}.new-order-modern>.form-section>.grid3{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:700px){.new-order-modern>.form-section>.grid3{grid-template-columns:minmax(0,1fr)}}
.recorded-work-scroll{overflow-x:auto}.recorded-work-table{width:100%;min-width:530px;font-size:12px;table-layout:fixed}.recorded-work-table th:nth-child(1){width:23%}.recorded-work-table th:nth-child(2){width:12%}.recorded-work-table th:nth-child(3){width:43%}.recorded-work-table th:nth-child(4){width:22%}.recorded-work-table td,.recorded-work-table th{padding:10px 8px;white-space:normal;overflow-wrap:anywhere;vertical-align:top}.recorded-work-table time{font-variant-numeric:tabular-nums}.order-work-plan>summary{padding:12px 0;cursor:pointer;font-size:14px;font-weight:600}.order-work-plan>.new-order-work{margin-top:12px}.recorded-work-host{min-width:0}
