:root{font-family:Segoe UI,Noto Sans JP,Yu Gothic UI,sans-serif;color:#25364a;background:#f4f6f8;font-synthesis:none;--navy: #17324d;--navy-2: #244a73;--blue: #246b9b;--line: #dfe5eb;--muted: #6b7c8f;--shadow: 0 8px 24px rgba(31, 52, 73, .07)}*{box-sizing:border-box}body{margin:0;min-width:1160px;min-height:100vh}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}.app-shell{min-height:100vh;display:grid;grid-template-columns:200px 1fr}.sidebar{position:fixed;inset:0 auto 0 0;width:200px;padding:28px 14px 22px;color:#fff;background:linear-gradient(175deg,#142d46,#1b3b59 62%,#17324d);display:flex;flex-direction:column;z-index:5;overflow:hidden}.brand{flex-shrink:0;padding:0 10px 24px}.brand strong{display:block;font-size:18px;letter-spacing:.04em;font-weight:700}.sidebar nav{flex:1;min-height:0;display:grid;gap:6px;align-content:start;overflow-y:auto;padding-right:4px;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.28) transparent}.sidebar nav::-webkit-scrollbar{width:6px}.sidebar nav::-webkit-scrollbar-track{background:transparent}.sidebar nav::-webkit-scrollbar-thumb{background:#ffffff38;border-radius:999px}.sidebar nav::-webkit-scrollbar-thumb:hover{background:#ffffff57}.sidebar nav a{color:#bac9d8;text-decoration:none;padding:10px 12px;border-radius:9px;display:flex;align-items:center;gap:10px;font-size:12.5px;font-weight:500;letter-spacing:.01em}.sidebar nav a:hover{background:#ffffff0f;color:#fff}.sidebar nav a.active{background:#ffffff1f;color:#fff;box-shadow:inset 3px 0 #72b4dc}.nav-icon{width:18px;text-align:center;font-size:15px}.nav-group{display:grid;gap:2px}.nav-group-head{display:grid;grid-template-columns:1fr auto;align-items:stretch;border-radius:9px}.nav-group-head:hover{background:#ffffff0f}.nav-group.active-section>.nav-group-head,.nav-group-head:has(a.active){background:#ffffff14}.nav-group-link{min-width:0;padding-right:4px!important;background:transparent!important;box-shadow:none!important}.nav-group-toggle{width:100%;display:flex;align-items:center;gap:10px;padding:10px 12px;color:#bac9d8;border:0;border-radius:9px;font-size:12.5px;font-weight:500;letter-spacing:.01em;text-align:left;cursor:pointer}.nav-group-toggle:hover{color:#fff}.nav-group-link.active{color:#fff!important;box-shadow:inset 3px 0 #72b4dc!important}.nav-group-label{flex:1;min-width:0}.nav-caret{width:30px;margin:0;padding:0;color:#9eb0c2;background:transparent;border:0;border-radius:0 9px 9px 0;font-size:11px;line-height:1}.nav-caret:hover{color:#fff;background:#ffffff0f}.nav-sub{display:grid;gap:2px;margin:2px 0 4px;padding-left:14px}.nav-sub a{padding:7px 12px 7px 24px;font-size:12px}main{grid-column:2;min-width:0}.topbar{height:100px;padding:23px 38px;background:#fff;border-bottom:1px solid #e5e9ee;display:flex;justify-content:space-between;align-items:center}.topbar h1{margin:0;color:#21364b;font-size:23px;letter-spacing:.02em}.topbar p{margin:7px 0 0;color:#8492a1;font-size:12px}.topbar-actions{display:flex;align-items:center;gap:8px}.topbar-action{display:inline-flex;align-items:center;padding:7px 12px;color:#1e4d6e;background:#fff;border:1px solid #d5dee6;border-radius:8px;font-size:12px;font-weight:600;text-decoration:none;white-space:nowrap}.topbar-action:hover{background:#f5f8fb;border-color:#b9c8d6}.content{max-width:1500px;padding:30px 38px 60px;margin:0 auto}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:0 0 20px}.stats-grid.three{grid-template-columns:repeat(3,1fr)}.panel.action-needed{border-color:#ff9696;box-shadow:0 8px 24px #ff96962e}.panel.action-needed .panel-header h2{color:#a84a4a}.action-none{margin:0 0 20px;padding:12px 4px;color:#9aa6b2;font-size:12px}.stat-card{padding:20px 21px;background:#fff;border:1px solid #e5e9ed;border-radius:11px;box-shadow:var(--shadow)}.stat-card>span{display:block;color:#000;font-size:12px;font-weight:700}.stat-card strong{display:block;margin:10px 0 8px;color:#1f3850;font-size:24px;letter-spacing:.01em}.stat-card small{color:#9aa6b2;font-size:10px}.stat-card.warning{border-top:3px solid #d69b3b}.stat-card.tone-blue{color:#fff;background:linear-gradient(135deg,#2563eb,#1e40af);border-color:transparent;box-shadow:0 8px 24px #2563eb38}.stat-card.tone-orange{color:#fff;background:linear-gradient(135deg,#f97316,#c2410c);border-color:transparent;box-shadow:0 8px 24px #f9731638}.stat-card.tone-green{color:#fff;background:linear-gradient(135deg,#5a9e6f,#3d7a52);border-color:transparent;box-shadow:0 8px 24px #3d7a5238}.stat-card.tone-blue>span,.stat-card.tone-orange>span,.stat-card.tone-green>span{color:#fff;opacity:.9}.stat-card.tone-blue strong,.stat-card.tone-orange strong,.stat-card.tone-green strong{color:#fff}.stat-card.tone-blue small,.stat-card.tone-orange small,.stat-card.tone-green small{color:#fff;opacity:.85}.panel{background:#fff;border:1px solid #e3e8ed;border-radius:12px;box-shadow:var(--shadow)}.panel+.panel{margin-top:20px}.panel-header{padding:20px 24px;border-bottom:1px solid #e8ecf0;display:flex;align-items:center;justify-content:space-between}.panel-header.compact{padding:17px 21px}.panel-header h2{margin:0;color:#263d53;font-size:15px}.panel-header p{margin:5px 0 0;color:#8996a4;font-size:11px}.panel-title-row{display:flex;align-items:baseline;gap:10px}.panel-title-row p{margin:0}.toolbar{min-height:44px;margin-bottom:16px;display:flex;align-items:center;justify-content:space-between}.count{color:#708092;font-size:12px}.table-panel{overflow:hidden}.table-wrap{width:100%;overflow-x:auto}.ledger-toolbar{display:flex;justify-content:flex-start;align-items:center;gap:16px;padding:10px 21px;border-bottom:1px solid #e8ecf0}.ledger-toolbar .button{min-height:32px;padding:6px 14px}.ledger-toolbar .button.is-active{color:#1e4d6e;background:#eef4f8;border-color:#c5d5e2}.ledger-edit-target{display:flex;align-items:center;gap:14px}.ledger-edit-target .checkbox{margin:0;gap:6px;font-size:12px;color:#48677f}.ledger-edit-selected{color:#2f4a61;font-size:12px;font-weight:600;white-space:nowrap}.ledger-edit-actions{display:flex;align-items:center;gap:8px}.ledger-duplicate-panel{width:min(420px,100%);max-height:none}.ledger-duplicate-options{display:grid;gap:10px;margin:0 0 18px;padding:12px 14px;background:#fafbfc;border:1px solid #e5e9ed;border-radius:8px}.ledger-duplicate-options .checkbox{margin:0;gap:8px;font-size:13px;color:#3d5368}.ledger-check{display:inline-flex;align-items:center;gap:8px;margin:0;cursor:pointer;white-space:nowrap}.ledger-check input{width:14px;height:14px;margin:0;accent-color:#2f5f86}.ledger-table.is-editing tbody tr:hover{background:#f5f9fc}.button.button-sm{min-height:32px;padding:6px 14px;font-size:11px}table{width:100%;border-collapse:collapse;font-size:12px}th{padding:11px 16px;color:#708195;background:#f8fafb;border-bottom:1px solid #e1e7ec;text-align:left;font-size:10px;font-weight:600;white-space:nowrap;letter-spacing:.03em}td{padding:15px 16px;border-bottom:1px solid #edf0f3;vertical-align:middle}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fbfcfd}td strong{color:#243d54}td small{display:block;margin-top:5px;color:#8d9aa7;max-width:280px}.ledger-table td{white-space:nowrap;vertical-align:top}.ledger-table td.ledger-content{white-space:nowrap;min-width:12em;max-width:20em}.ledger-table td.ledger-content small{white-space:normal;font-size:11px;color:#8d9aa7;max-width:none}.ledger-table td.ledger-period{white-space:nowrap;font-variant-numeric:tabular-nums;line-height:1.35}.ledger-table td.ledger-billing-target{white-space:normal;word-break:break-word;max-width:140px;min-width:72px}.ledger-table tbody tr.ledger-group-mid td{border-bottom:none;padding-bottom:6px}.ledger-table tbody tr.ledger-cont td{padding-top:6px}.ledger-table tbody tr.ledger-group-end td{border-bottom:1px solid #edf0f3}.invoice-no{color:#1e648f;letter-spacing:.03em}.order-number-link{color:#1e648f;text-decoration:none;font-weight:600}.order-number-link strong{color:#1e648f}.order-number-link:hover,.order-number-link:hover strong{text-decoration:underline}.ledger-invoice-number-cell{display:flex;flex-direction:column;align-items:flex-start;gap:.2rem}.ledger-invoice-needs-update{display:inline-block;font-size:.72rem;font-weight:600;line-height:1.3;color:#9a3412;background:#ffedd5;border:1px solid #fdba74;border-radius:4px;padding:.1rem .35rem;white-space:nowrap}.actions{text-align:right;white-space:nowrap}.actions button,.actions a{margin-left:10px;padding:0;color:#28678d;background:none;border:0;text-decoration:none;font-size:11px;font-weight:600}.actions .danger-link{color:#b55c5c}.button{min-height:38px;padding:9px 17px;border:1px solid transparent;border-radius:8px;font-size:12px;font-weight:600;transition:.15s ease}.button:hover{transform:translateY(-1px)}.button.primary{color:#fff;background:var(--navy-2);box-shadow:0 5px 13px #244a7329}.button.primary:hover{background:#1d405f}.button.light{color:#1e4d6e;background:#fff;box-shadow:0 6px 16px #0000001f}.button.ghost{color:#48677f;background:#fff;border-color:#d9e1e7}.button:disabled{opacity:.45;cursor:not-allowed;transform:none}.badge{display:inline-flex;padding:4px 8px;border-radius:20px;color:#2c678d;background:#eaf3f9;font-size:9px;font-weight:700;white-space:nowrap}.badge.green{color:#3d6b55;background:#e8f3ec}.badge.gray{color:#6f7d8a;background:#eef1f3}.badge.gold{color:#8a662c;background:#faf1dc}.badge.blue{color:#2c678d;background:#eaf3f9}.badge.red{color:#9a4b4b;background:#f6eaea}.badge.orange{color:#9a5b20;background:#f8eedf}.alert{margin-bottom:16px;padding:11px 14px;border-radius:8px;font-size:12px}.alert.error{color:#8d3838;background:#fff0f0;border:1px solid #f1cccc}.alert.success{color:#306a54;background:#edf9f3;border:1px solid #cce8dc}.loading,.empty{padding:42px;color:#8b98a5;text-align:center;font-size:12px}.form-section{padding:24px}.section-title{display:flex;align-items:center;gap:13px;margin-bottom:22px}.section-title>span{width:28px;height:28px;display:grid;place-items:center;color:#fff;background:var(--navy-2);border-radius:50%;font-size:12px}.section-title h2{margin:0;color:#294158;font-size:15px;display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap}.section-title p{margin:4px 0 0;color:#8997a5;font-size:10px}.field>span b.field-badge-new{color:#1e648f;background:#e5f2fa}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:17px 20px}.form-grid.invoice-info-row{grid-template-columns:minmax(12rem,27.5%) max-content;justify-content:start;align-items:end}.form-grid.three{grid-template-columns:repeat(3,1fr)}.form-grid.order-client-row{grid-template-columns:minmax(12rem,calc((100% - 20px) / 3)) auto;justify-content:start;align-items:start}.form-grid.order-number-code-row{grid-template-columns:repeat(3,1fr)}.numbering-person-pair{display:grid;grid-template-columns:9.5rem 9.5rem;gap:17px 12px}.form-grid.issue-task-row{grid-template-columns:1fr 2fr}.form-grid.payment-dates{grid-template-columns:repeat(3,9.5rem);justify-content:start}.form-grid.numbering-row{display:grid;grid-template-columns:repeat(3,1fr);gap:17px 16px;margin-bottom:17px;justify-content:start;align-items:start}.form-grid.numbering-row>.field{min-width:0;width:100%}.form-grid.numbering-row>.field:first-child{grid-column:1}.form-grid.numbering-row>.field:nth-child(2){grid-column:2}.form-grid.invoice-numbering-row{grid-template-columns:repeat(4,minmax(0,1fr))}.form-grid.invoice-numbering-row>.field:first-child,.form-grid.invoice-numbering-row>.field:nth-child(2),.form-grid.invoice-numbering-row>.field:nth-child(3),.form-grid.invoice-numbering-row>.field:nth-child(4){grid-column:auto}.numbering-reuse-check{justify-content:flex-start;min-height:39px;gap:8px}.numbering-reuse-check.is-disabled{opacity:.65}.numbering-reuse-flag{font-size:13px;font-weight:600;color:#456;min-width:1.5em}.form-grid.postal-row{grid-template-columns:7.5rem minmax(0,1.65fr) minmax(0,1fr)}.form-grid.contact-pair{grid-template-columns:minmax(0,3fr) minmax(0,4fr) minmax(0,5fr)}.form-grid.contact-pair>.field{min-width:0}.form-grid.contact-pair>.field input,.form-grid.contact-pair>.field select{width:100%;max-width:100%;box-sizing:border-box}.form-grid+.subsection-title{margin-top:22px}.client-contact-block{margin-top:8px}.client-contact-block+.client-contact-block{margin-top:22px}.client-contact-block .form-grid.contact-pair{margin:0 0 12px}.client-contact-list-preview{margin-bottom:12px;padding:10px 12px;background:#f7f9fb;border:1px solid #e1e7ec;border-radius:8px}.client-contact-panel{margin-top:4px;padding:12px;background:#f7f9fb;border:1px solid #e1e7ec;border-radius:8px}.client-contact-table{width:100%;border-collapse:collapse;margin-bottom:12px}.client-contact-table th,.client-contact-table td{padding:8px 6px;border-bottom:1px solid #e6ebef;text-align:left;color:#3a5064;font-size:12px;font-weight:500}.client-contact-table th{color:#6f8294;font-size:11px;font-weight:700}.client-contact-table tr:last-child td{border-bottom:0}.client-contact-hint{margin:4px 0 0;color:#8794a1;font-size:12px}.client-contact-add-form{display:grid;grid-template-columns:1fr 1.4fr auto;gap:12px 14px;align-items:end}.client-contact-add-actions{display:flex;gap:8px;align-items:center;min-height:39px}.payment-terms-block{margin:4px 0 16px}.payment-terms-block .client-contact-panel{display:grid;gap:12px}.payment-terms-block .client-contact-panel .button{justify-self:start}.subsection-title{margin:0 0 13px;padding-bottom:7px;color:#3a5064;font-size:12px;font-weight:700;border-bottom:1px solid #e6ebef}.subsection-title+.form-grid{margin-bottom:15px}.form-grid+.form-grid{margin-top:15px}.settlement-layout,.settlement-row{display:grid;gap:17px 20px}.settlement-row.main{grid-template-columns:12.5rem auto .65fr 1fr minmax(0,2fr) minmax(0,1.2fr);align-items:start}.settlement-row.pair{grid-template-columns:2fr 2fr}.settlement-row.range{grid-template-columns:12.5rem 10rem}.settlement-row.head{grid-template-columns:1fr 3fr}.half-pair{display:grid;grid-template-columns:1fr 1fr 2fr;gap:17px 20px;margin-bottom:17px}.field{display:grid;gap:7px;color:#586c7e;font-size:11px;font-weight:600}.field.wide{grid-column:1 / -1}.field>span{min-height:16px}.field>span b{margin-left:7px;padding:2px 5px;color:#a24e4e;background:#faeaea;border-radius:3px;font-size:8px}.field-label-with-check{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:16px;width:100%;white-space:nowrap}.field-inline-check{display:inline-flex;align-items:center;flex-wrap:nowrap;gap:5px;color:#586c7e;font-size:11px;font-weight:600;line-height:1;white-space:nowrap;cursor:pointer}.field .field-inline-check input[type=checkbox]{width:15px;height:15px;min-height:0;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;flex:0 0 15px;accent-color:#3e82ac}.field .field-inline-check input[type=checkbox]:focus{border:0;box-shadow:none}.field input,.field select,.field textarea{width:100%;min-height:39px;padding:9px 11px;color:#293f53;background:#fff;border:1px solid #d8e0e7;border-radius:7px;outline:none;font-size:12px}.field textarea{min-height:70px;resize:vertical}.field input[type=number]::-webkit-outer-spin-button,.field input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.field input[type=number]{-moz-appearance:textfield;appearance:textfield}.field input::placeholder,.field select::placeholder,.field textarea::placeholder{color:#9aa6b2}.field input:focus,.field select:focus,.field textarea:focus{border-color:#5793b8;box-shadow:0 0 0 3px #3e82ac1a}.field.has-error input,.field.has-error select,.field.has-error textarea{border-color:#c45c5c;background:#fff8f8}.field.has-error input:focus,.field.has-error select:focus,.field.has-error textarea:focus{border-color:#c45c5c;box-shadow:0 0 0 3px #c45c5c26}.field-error{color:#a24e4e;font-size:11px;font-weight:600;font-style:normal}.field input:read-only,.field input[readonly],.field input:disabled{color:#5a6d7e;background:#eef1f4;border-color:#e0e5ea;cursor:default}.field input:read-only:focus,.field input[readonly]:focus{border-color:#e0e5ea;box-shadow:none}.field select option:disabled{color:#9aa6b2;background:#eef1f4}.filterable-select{position:relative;width:100%}.filterable-select-required{position:absolute;left:0;top:0;width:1px;height:1px;margin:0;padding:0;opacity:0;pointer-events:none;border:0}.filterable-select-btn{width:100%;min-height:39px;padding:9px 11px;display:flex;align-items:center;gap:8px;color:#293f53;background:#fff;border:1px solid #d8e0e7;border-radius:7px;outline:none;font:inherit;font-size:12px;text-align:left;cursor:pointer}.filterable-select-btn.is-placeholder{color:#9aa6b2}.filterable-select-btn:hover{border-color:#b7c6d3}.filterable-select-btn:focus,.filterable-select.is-open .filterable-select-btn{border-color:#5793b8;box-shadow:0 0 0 3px #3e82ac1a}.filterable-select.is-disabled .filterable-select-btn{color:#5a6d7e;background:#eef1f4;border-color:#e0e5ea;cursor:default}.filterable-select-value{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.filterable-select-arrow{flex:0 0 auto;color:#8a9aab;font-size:9px;line-height:1}.filterable-select-menu{position:absolute;top:calc(100% + 4px);left:0;right:0;z-index:40;background:#fff;border:1px solid #d8e0e7;border-radius:8px;box-shadow:0 10px 28px #293f531f;overflow:hidden}.filterable-select-filter{width:100%;min-height:36px;padding:8px 11px;border:0;border-bottom:1px solid #e4ebf1;border-radius:0;background:#f7f9fb;color:#293f53;font:inherit;font-size:12px;outline:none}.filterable-select-filter::placeholder{color:#9aa6b2}.filterable-select-filter:focus{box-shadow:none;border-color:#e4ebf1}.filterable-select-clear{display:block;width:100%;padding:7px 11px;border:0;border-bottom:1px solid #e4ebf1;border-radius:0;background:transparent;color:#8a9aab;font:inherit;font-size:11px;text-align:left;cursor:pointer}.filterable-select-clear:hover{color:#c0392b;background:#faf5f5}.filterable-select-list{max-height:220px;overflow:auto}.filterable-select-item{display:block;width:100%;padding:8px 11px;border:0;border-radius:0;background:transparent;color:#3a5166;font:inherit;font-size:12px;text-align:left;cursor:pointer}.filterable-select-item:hover,.filterable-select-item.is-selected{background:#eef5fa;color:#3e82ac}.filterable-select-item.is-action{color:#2f6f96;font-weight:600}.filterable-select-item.is-disabled,.filterable-select-item:disabled{color:#9aa6b2;cursor:not-allowed}.filterable-select-item.is-disabled:hover,.filterable-select-item:disabled:hover{background:transparent;color:#9aa6b2}.filterable-select-empty{padding:10px 11px;color:#9aa6b2;font-size:12px}.settlement-type-select option:disabled{color:#9aa6b2}.checkbox{min-height:39px;display:flex;align-items:center;gap:7px;font-weight:400}.checkbox input{width:15px;min-height:auto}.order-picker{margin-top:21px;padding:15px;background:#f7f9fb;border:1px solid #e1e7ec;border-radius:8px}.order-picker>strong{display:block;margin-bottom:10px;color:#52677b;font-size:11px}.order-picker button{position:relative;min-width:190px;margin:0 8px 7px 0;padding:9px 28px 9px 11px;text-align:left;color:#52677b;background:#fff;border:1px solid #dce4ea;border-radius:7px;font-size:10px}.order-picker button .order-picker-number{display:block;margin-bottom:3px;color:#27658d;font-weight:700;font-size:10px}.order-picker button .order-picker-detail{display:block;margin-bottom:2px;color:#52677b;font-weight:400;font-size:10px}.order-picker button .order-picker-detail:last-of-type{margin-bottom:0}.order-picker button b{position:absolute;top:14px;right:10px;color:#2c769f;font-size:15px}.order-picker button:disabled,.order-picker button.added{color:#9aa6b2;background:#eef1f4;border-color:#e0e5ea;cursor:not-allowed}.order-picker button:disabled .order-picker-number,.order-picker button.added .order-picker-number{color:#8b98a5}.order-picker button:disabled .order-picker-detail,.order-picker button.added .order-picker-detail{color:#9aa6b2}.order-picker button:disabled b,.order-picker button.added b{color:#9aa6b2;font-size:12px;font-weight:700}.order-picker small{color:#8794a1}.item-card{padding:16px;margin-bottom:12px;background:#fafbfc;border:1px solid #e1e6eb;border-radius:9px}.invoice-item-top{display:grid;grid-template-columns:168px minmax(0,1.62fr) minmax(0,.09fr) minmax(0,2.09fr);gap:10px;margin-bottom:12px}.invoice-item-top>:nth-child(1){grid-column:1}.invoice-item-top>:nth-child(2){grid-column:2}.invoice-item-top>:nth-child(3){grid-column:4}.invoice-item-period{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:12px}.item-card .assigned-workers{margin:0 0 12px}.item-number{margin-bottom:14px;color:#36536d;font-size:11px;font-weight:700;display:flex;justify-content:space-between}.item-number button{color:#a15d5d;background:none;border:0;font-size:10px}.item-number button:disabled{color:#b9c1c8}.item-grid{display:grid;grid-template-columns:1.1fr 1.3fr 1fr 1.25fr repeat(4,.75fr);gap:10px}.settlement-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.settlement-grid>.field-spacer{min-height:0}.invoice-tax-included{justify-content:flex-start;min-height:39px}.settlement-note{display:block;margin-top:10px;color:#6f8294;font-size:11px}.add-row{width:100%;color:#2a668c;background:#fff;border-style:dashed;border-color:#b8cbd8}.order-items{display:grid;gap:14px}.add-item-link{justify-self:start;display:inline-flex;align-items:center;padding:4px 2px;color:#2a668c;background:none;border:0;cursor:pointer;font-size:13px;font-weight:600}.add-item-link:hover{color:#1f4f6f}.add-item-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px;margin-top:4px}.add-item-link.add-item-pending{color:#9a3412}.add-item-link.add-item-pending:hover{color:#7c2d12}.assigned-workers{display:grid;gap:8px;margin:14px 0}.assigned-workers-head{color:#586c7e;font-size:11px;font-weight:600}.assigned-workers-head b{margin-left:7px;padding:2px 5px;color:#a24e4e;background:#faeaea;border-radius:3px;font-size:8px;font-weight:700}.assigned-workers-body{display:flex;flex-wrap:wrap;align-items:center;gap:10px 12px}.assigned-worker-col{position:relative;flex:0 0 168px;width:168px}.assigned-worker-col .filterable-select.is-open{z-index:50}.assigned-worker-col select{width:100%;min-height:39px;padding:9px 11px;color:#293f53;background:#fff;border:1px solid #d8e0e7;border-radius:7px;outline:none;font-size:12px}.assigned-worker-col select:focus{border-color:#5793b8;box-shadow:0 0 0 3px #3e82ac1a}.assigned-worker-add{margin:0;white-space:nowrap;font-size:12px;font-weight:600}.assigned-worker-remove{position:absolute;top:-8px;right:-8px;z-index:2;width:20px;height:20px;padding:0;display:inline-flex;align-items:center;justify-content:center;color:#fff;background:#2a3038;border:0;border-radius:50%;box-shadow:0 1px 3px #00000040;font-size:14px;font-weight:700;line-height:1;cursor:pointer;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .12s ease,visibility .12s ease}.assigned-worker-col:hover .assigned-worker-remove,.assigned-worker-col:focus-within .assigned-worker-remove,.assigned-worker-remove:focus{opacity:1;visibility:visible;pointer-events:auto}.assigned-worker-remove:hover{background:#11161c}.order-item-card{padding:18px;background:#fafbfc;border:1px solid #e1e6eb;border-radius:9px}.order-item-head{margin-bottom:14px;display:flex;justify-content:space-between;align-items:center;color:#36536d;font-size:12px;font-weight:700}.order-item-head button{font-size:11px}.order-item-head button:disabled{color:#b9c1c8;cursor:not-allowed}.order-items-total{margin-top:4px;padding:16px 20px;display:flex;justify-content:flex-end;align-items:center;gap:20px;background:#f4f8fb;border:1px solid #d9e4ec;border-radius:9px}.order-items-total span{color:#52677b;font-size:12px;font-weight:600}.order-items-total strong{color:#193b59;font-size:20px}.issue-footer{margin-top:4px;padding:8px 0 0;display:flex;justify-content:flex-end;align-items:center;gap:32px;background:transparent;border:0;border-radius:0;box-shadow:none}.issue-footer-stacked{flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:16px}.issue-footer-stacked .totals{justify-content:flex-start}.issue-action-row{display:flex;flex-wrap:wrap;align-items:center;gap:14px 22px}.issue-file-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;color:#52677b;font-size:12px}.issue-file-label{color:#718092;font-weight:600;white-space:nowrap}.issue-file-link{color:#2a668c;font-weight:700;text-decoration:underline;word-break:break-all}.issue-file-link:hover{color:#1f4f6f}.issue-file-value{color:#3c5368;font-weight:600;white-space:nowrap}.issue-file-meta-secondary{margin-top:-6px;color:#6a7c8d;font-size:11px}.issue-file-meta-secondary .issue-file-label{color:#80909e;font-weight:600}.issue-file-meta-secondary .issue-file-link{font-weight:600}.order-form{padding-bottom:28px}.order-submit-actions{justify-content:flex-start;margin-top:18px;padding-top:4px}.drive-link-field{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;align-items:center}.drive-link-field .drive-link-none{min-height:39px;padding:0 4px 0 0;white-space:nowrap;color:#3d5368;font-size:12px;font-weight:600}.drive-link-field input[type=url]:disabled{color:#8b98a5;background:#f0f3f6;border-color:#d8e0e7;cursor:not-allowed}.order-form-footer{position:fixed;left:200px;right:0;bottom:0;z-index:10;background:#fff;border-top:1px solid #dfe5ea;box-shadow:0 -6px 24px #1f344914}.order-form-footer-inner{max-width:1500px;margin:0 auto;padding:16px 38px;display:flex;justify-content:space-between;align-items:center;gap:16px}.order-form-footer-left,.order-form-footer-right{display:flex;align-items:center;gap:10px}.duplicate-panel{width:min(520px,100%);max-height:min(90vh,640px);overflow-y:auto;padding:18px 20px}.duplicate-panel h3{margin:0 0 10px;font-size:16px}.duplicate-hint{margin:0 0 12px;padding:0;color:#5a6f82;background:none;border:0;font-size:12px;line-height:1.55}.duplicate-checklist{display:grid;gap:0;margin-bottom:4px;padding:6px 10px;background:#fafbfc;border:1px solid #e5e9ed;border-radius:8px}.duplicate-check-row{display:flex;align-items:flex-start;gap:8px;padding:6px 4px;color:#3d5368;background:transparent;border:0;border-radius:0;font-size:12px;font-weight:600;cursor:pointer}.duplicate-check-row+.duplicate-check-row{border-top:1px solid #eef1f4}.duplicate-check-row input{width:15px;min-height:auto;margin:2px 0 0;padding:0;flex:0 0 auto;accent-color:#3c8b70}.duplicate-check-label{display:inline;min-width:0;line-height:1.45;color:#3d5368;font-style:normal;font-weight:600}.duplicate-check-label b{margin:0 2px 0 6px;padding:2px 5px;color:#a24e4e;background:#faeaea;border-radius:3px;font-size:8px;vertical-align:middle}.duplicate-check-value{margin-left:2px;color:#8b98a5;font-style:normal;font-weight:500;word-break:break-all}.duplicate-panel .filter-actions{margin-top:14px;padding-top:12px}.totals{display:flex;align-items:center;gap:25px;color:#718092;font-size:10px}.totals span b{margin-left:6px;color:#3c5368;font-size:12px}.totals>strong{padding-left:22px;border-left:1px solid #dfe5ea;color:#435c72;font-size:11px}.totals>strong b{margin-left:8px;color:#193b59;font-size:20px}.button.issue{min-width:190px;min-height:45px}.filters{margin-bottom:18px;padding:17px;display:grid;grid-template-columns:1fr 1.5fr 1fr auto;gap:14px;align-items:end}.filters-export{grid-template-columns:1fr 1.5fr 1fr 1fr}.export-panel{margin-bottom:18px;overflow:hidden}.export-controls{padding:0 17px 17px;display:grid;grid-template-columns:1fr 1.4fr auto;gap:14px;align-items:end}.export-controls-compact{display:flex;flex-wrap:wrap;align-items:end;justify-content:flex-start;gap:12px}.export-select-target{min-width:160px;max-width:220px;width:100%}.export-select-format{min-width:88px;max-width:110px;width:100%}.export-filter-action,.export-submit-action{display:flex;align-items:end;padding-bottom:1px}.export-submit-action{margin-left:auto}.export-filter-value-box{min-width:88px;max-width:160px;min-height:39px;display:flex;align-items:center;padding:0;color:#8794a1;font-size:13px}.export-filter-modal{width:min(420px,calc(100vw - 32px))}.export-filter-modal-body{padding:8px 4px 18px;color:#52677b;font-size:14px}.export-filter-modal-body p{margin:0}.filter-toolbar{gap:16px}.filter-toolbar-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:12px;margin-left:auto}.filter-summary{display:inline-flex;align-items:center;gap:6px;max-width:min(520px,48vw);padding:4px 6px 4px 10px;color:#5a6f82;background:#f3f6f8;border:1px solid #e1e7ec;border-radius:999px;font-size:12px}.filter-summary-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.filter-summary-clear{flex:0 0 auto;width:22px;height:22px;padding:0;border:0;border-radius:50%;color:#6a7d8f;background:transparent;font-size:16px;line-height:1;cursor:pointer}.filter-summary-clear:hover{color:#2f4a61;background:#e4ebf1}.filter-panel{width:min(620px,100%);padding:22px;border-radius:14px;background:#fff;box-shadow:0 24px 70px #0a19274d}.filter-panel h3{margin:0 0 18px;color:#263e54;font-size:17px}.filter-grid{display:grid;gap:14px}.filter-row{display:grid;grid-template-columns:110px minmax(0,1fr);align-items:center;gap:12px}.filter-label{color:#3d5368;font-size:12px;font-weight:700}.filter-row input,.filter-row select{width:100%;min-height:39px;padding:9px 11px;color:#293f53;background:#fff;border:1px solid #d8e0e7;border-radius:7px;outline:none;font:inherit;font-size:12px}.filter-row .filterable-select{width:100%;min-width:0}.filter-row input:focus,.filter-row select:focus{border-color:#5793b8;box-shadow:0 0 0 3px #3e82ac1a}.billing-period-filter{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.billing-period-check{display:inline-flex;align-items:center;min-height:39px}.billing-period-check input{width:16px;min-height:auto;margin:0;padding:0}.ym-spinner{display:inline-grid;grid-template-columns:1fr auto;align-items:stretch;min-width:88px;border:1px solid #d8e0e7;border-radius:7px;overflow:hidden;background:#fff}.ym-spinner input{width:58px;min-height:39px;border:0;border-radius:0;text-align:center;font-weight:700;color:#293f53;background:#fff;padding:0 6px}.ym-spinner-buttons{display:grid;grid-template-rows:1fr 1fr;border-left:1px solid #d8e0e7;background:#f7f9fb}.ym-spinner-buttons button{min-width:28px;min-height:19px;padding:0;border:0;background:transparent;color:#52677b;font-size:8px;line-height:1;cursor:pointer}.ym-spinner-buttons button+button{border-top:1px solid #d8e0e7}.ym-spinner-buttons button:hover:not(:disabled){background:#e8eef3}.ym-spinner-buttons button:disabled{color:#b7c1ca;cursor:not-allowed}.ym-spinner.disabled{opacity:.55;background:#f4f6f8}.ym-spinner.disabled input{background:#f4f6f8}.ym-unit{color:#3d5368;font-size:12px;font-weight:700;flex-shrink:0}.work-period-picker{display:flex;align-items:center;gap:8px;flex-wrap:nowrap;min-height:39px}.work-period-picker .ym-spinner{min-width:72px}.work-period-picker .ym-spinner input{width:46px}.filter-actions{margin-top:20px;padding-top:16px;border-top:1px solid #e5e9ed;display:flex;justify-content:flex-end;gap:9px}.modal-backdrop{position:fixed;inset:0;z-index:20;padding:28px;display:grid;place-items:center;background:#11233485;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.modal{width:min(700px,90vw);max-height:90vh;overflow-y:auto;padding:0 24px 24px;background:#fff;border-radius:13px;box-shadow:0 24px 70px #0a19274d}.modal-header{position:sticky;top:0;z-index:2;margin:0 -24px 22px;padding:18px 24px;display:flex;justify-content:space-between;align-items:center;background:#fff;border-bottom:1px solid #e5e9ed}.modal-header h2{margin:0;color:#263e54;font-size:17px}.modal-header button{color:#80909e;background:none;border:0;font-size:25px;line-height:1}.modal-actions{margin-top:23px;padding-top:18px;border-top:1px solid #e5e9ed;display:flex;justify-content:flex-end;gap:9px}.completion{padding:8px 20px 18px;display:flex;flex-direction:column;align-items:center;text-align:center}.completion .check{width:48px;height:48px;margin-bottom:15px;display:grid;place-items:center;color:#fff;background:#3c8b70;border-radius:50%;font-size:22px}.completion p{margin:8px 0 5px;color:#6e7e8d;font-size:11px}.completion>strong{color:#204d6d;font-size:23px;letter-spacing:.05em}.completion>span,.completion>small{margin:8px 0 17px;color:#6f7f8e;font-size:11px}.completion code{margin:4px 0 7px;padding:10px 17px;color:#244a73;background:#eef3f7;border-radius:7px;font-size:16px;font-weight:700}.completion .button{margin-top:10px;text-decoration:none}.completion-footer{align-self:stretch;margin-top:22px;display:flex;justify-content:flex-end}.completion-footer .button{margin-top:0}.mail-summary .panel-header{align-items:center}.mail-frame{margin-top:16px}.mail-body{width:100%;min-height:220px;resize:vertical;line-height:1.7;font-family:inherit}.mail-empty-hint{margin:0 0 14px;color:#80909e;font-size:12px}.mail-contact-list{display:flex;flex-direction:column;gap:10px;margin-bottom:16px}.mail-contact-row{padding:12px 14px;border:1px solid #e5e9ed;border-radius:8px;background:#f8fafb;display:flex;flex-wrap:wrap;gap:10px 16px;justify-content:space-between;align-items:center}.mail-contact-meta{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center;min-width:0}.mail-contact-meta strong{color:#2a455c;font-size:12px}.mail-contact-meta span{color:#4d6274;font-size:12px;word-break:break-all}.mail-contact-status{padding:2px 8px;border-radius:999px;font-size:11px;font-style:normal;background:#e8eef3;color:#5d7183}.mail-contact-status.status-to{background:#e7f2ff;color:#2b6cb0}.mail-contact-status.status-cc{background:#eef8ef;color:#2f6b3c}.mail-contact-status.status-bcc{background:#f7f0e8;color:#8a5a20}.mail-contact-actions{display:flex;flex-wrap:wrap;gap:6px}.mail-contact-actions button{padding:5px 9px;border:1px solid #cfd8e0;border-radius:6px;background:#fff;color:#3d5366;font-size:11px;cursor:pointer}.mail-contact-actions button.is-active{border-color:#3b7ea8;background:#eaf4fb;color:#1f5f86;font-weight:700}.mail-frame .form-grid.mail-half-stack{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.mail-frame .form-grid.mail-half-stack>.field{grid-column:1}.mail-attachments{margin-top:28px}.mail-file-default{margin:0 0 12px;color:#243b50;font-size:13px;font-weight:700}.mail-file-list{list-style:none;margin:0 0 12px;padding:0;display:flex;flex-direction:column;gap:8px}.mail-file-list li{display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding:10px 12px;border:1px solid #e5e9ed;border-radius:8px;background:#fff}.mail-file-list strong{color:#243b50;font-size:13px}.mail-file-badge{padding:2px 8px;border-radius:999px;background:#e7f2ff;color:#2b6cb0;font-size:11px;font-weight:700}.mail-file-badge.extra{background:#f4eef8;color:#6b4f8a}.mail-file-add{display:inline-flex;align-items:center;cursor:pointer}.mail-frame-actions{margin-top:22px;padding-top:16px;border-top:1px solid #e5e9ed;display:flex;flex-direction:column;align-items:flex-end;gap:14px}.mail-sent-result{align-self:stretch;padding:14px 16px;border:1px solid #c5e2d3;border-radius:8px;background:#f1f9f4;color:#2a455c;font-size:13px;line-height:1.7}.mail-sent-result-title{margin:0 0 6px;color:#2f6b3c;font-weight:700}.mail-sent-result p{margin:0}.mail-sent-result a{color:#1f5f86;font-weight:700;text-decoration:underline}.mail-sent-result code{padding:2px 8px;border-radius:4px;background:#e8f0e9;color:#244a73;font-weight:700}.mail-status-badge{display:inline-block;margin-left:10px;padding:2px 10px;border-radius:999px;background:#e7f5ec;border:1px solid #b7dbc4;color:#2f6b3c;font-size:12px;font-weight:700;vertical-align:middle}.mail-frame-sent{border-color:#c5e2d3;background:#fbfefc}.pack-progress-backdrop{z-index:40}.pack-progress-modal{width:min(440px,92vw)}.pack-progress-body{padding:4px 4px 12px}.pack-progress-bar{height:12px;border-radius:999px;background:#e8eef3;overflow:hidden}.pack-progress-bar-fill{height:100%;border-radius:999px;background:linear-gradient(90deg,#3b7ea8,#4ea0c8);transition:width .35s ease}.pack-progress-percent{margin:10px 0 16px;color:#2a455c;font-size:18px;font-weight:700;text-align:center}.pack-progress-steps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}.pack-step{display:grid;grid-template-columns:1fr auto;gap:4px 12px;padding:10px 12px;border:1px solid #e5e9ed;border-radius:8px;background:#f8fafb}.pack-step-label{color:#243b50;font-size:13px;font-weight:700}.pack-step-status{color:#6f8294;font-size:12px;font-weight:700}.pack-step-detail{grid-column:1 / -1;color:#80909e;font-size:11px}.pack-step.status-running{border-color:#b7d7eb;background:#eef7fc}.pack-step.status-running .pack-step-status{color:#1f5f86}.pack-step.status-done{border-color:#c5e2d3;background:#f1f9f4}.pack-step.status-done .pack-step-status{color:#2f6b3c}.pack-step.status-skipped .pack-step-status{color:#8a5a20}.pack-step.status-error{border-color:#efc2c2;background:#fff5f5}.pack-step.status-error .pack-step-status{color:#8d3838}.pack-progress-message{margin:14px 0 0;color:#5d7183;font-size:12px;text-align:center}.mail-frame .field input::placeholder,.mail-frame .field textarea::placeholder{color:#9aa8b5}@media(max-width:1200px){.content{padding-left:25px;padding-right:25px}.item-grid{grid-template-columns:repeat(4,1fr)}.stats-grid{grid-template-columns:repeat(2,1fr)}}
