*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{font-family:Hiragino Kaku Gothic ProN,Yu Gothic UI,Meiryo,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;background:#f4f1ec;color:#14202b;font-size:14px;-webkit-font-smoothing:antialiased}a{color:#3b6ea5;text-decoration:none}a:hover{text-decoration:underline}button{font-family:inherit}.edi-app{min-height:100vh;display:flex;flex-direction:column}.edi-header{height:56px;background:#0f3b3a;color:#f5efe6;display:flex;align-items:center;padding:0 16px;position:sticky;top:0;z-index:100;border-bottom:3px solid #B87333;box-shadow:0 1px 4px #00000026}.edi-header .brand{font-weight:700;font-size:16px;letter-spacing:.5px;display:flex;align-items:center;gap:10px}.edi-header .brand .brand-badge{background:#b87333;color:#fff;padding:2px 8px;border-radius:3px;font-size:11px;font-weight:600}.edi-header .brand-sub{color:#fff9;font-size:12px;margin-left:8px}.edi-header .header-actions{margin-left:auto;display:flex;align-items:center;gap:12px}.edi-header .header-user{display:flex;align-items:center;gap:8px;font-size:13px}.edi-header .header-user .avatar{width:30px;height:30px;border-radius:50%;background:#b87333;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:13px}.edi-header .icon-btn{background:transparent;border:0;color:#f5efe6;width:34px;height:34px;border-radius:6px;cursor:pointer;display:flex;align-items:center;justify-content:center}.edi-header .icon-btn:hover{background:#ffffff14}.edi-header .menu-toggle{display:none}.edi-body{display:flex;flex:1;min-height:0}.edi-sidebar{width:240px;background:#0a2540;color:#c9d2e3;flex-shrink:0;overflow-y:auto;border-right:1px solid rgba(255,255,255,.05)}.edi-sidebar .side-section{padding:14px 16px 6px;font-size:10px;font-weight:700;color:#7a8aa8;text-transform:uppercase;letter-spacing:1px}.edi-sidebar .side-item{display:flex;align-items:center;gap:10px;padding:8px 16px;color:#c9d2e3;cursor:pointer;border-left:3px solid transparent;font-size:13px;transition:background .1s,color .1s;text-decoration:none}.edi-sidebar .side-item:hover{background:#ffffff08;color:#fff;text-decoration:none}.edi-sidebar .side-item.active{background:#0f3459;color:#fff;border-left-color:#b87333;font-weight:600}.edi-sidebar .side-item .icon{font-size:16px;width:18px;text-align:center;opacity:.9}.edi-sidebar .side-item .count{margin-left:auto;background:#b8733333;color:#b87333;padding:0 6px;border-radius:8px;font-size:10px;font-weight:600}.edi-main{flex:1;padding:20px 28px;min-width:0;overflow-x:auto}.edi-main .page-header{display:flex;align-items:center;margin-bottom:16px;gap:12px;flex-wrap:wrap}.edi-main .page-header h1{margin:0;font-size:20px;font-weight:700;color:#14202b}.edi-main .page-header .subtitle{color:#4b5b6e;font-size:13px}.edi-main .page-header .page-actions{margin-left:auto;display:flex;gap:8px;flex-wrap:wrap}.edi-main .crumbs{color:#8394a6;font-size:12px;margin-bottom:6px}.edi-main .crumbs a{color:#4b5b6e}.card{background:#fff;border:1px solid #E1DCD1;border-radius:6px;padding:16px;margin-bottom:16px}.card.pad-lg{padding:24px}.card.no-pad{padding:0}.card-title{font-weight:700;margin-bottom:12px;font-size:14px;padding-bottom:8px;border-bottom:1px solid #E1DCD1;display:flex;align-items:center;gap:8px}.card-title .badge-copper{background:#b87333;color:#fff;padding:2px 6px;border-radius:3px;font-size:11px;font-weight:600}.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:6px 14px;border-radius:6px;border:1px solid #C8C1B3;background:#fff;color:#14202b;font-size:13px;font-weight:500;cursor:pointer;transition:all .1s;text-decoration:none}.btn:hover{background:#f7f5f0;text-decoration:none}.btn:disabled{opacity:.5;cursor:not-allowed}.btn.btn-primary{background:#b87333;border-color:#b87333;color:#fff}.btn.btn-primary:hover{background:#d08a45;border-color:#d08a45}.btn.btn-dark{background:#0f3b3a;border-color:#0f3b3a;color:#fff}.btn.btn-dark:hover{background:#0c302f}.btn.btn-danger{background:#b23a48;border-color:#b23a48;color:#fff}.btn.btn-danger:hover{background:#9e323f}.btn.btn-outline-danger{color:#b23a48;border-color:#b23a48;background:#fff}.btn.btn-outline-danger:hover{background:#f7dddf}.btn.btn-success{background:#1f7a54;border-color:#1f7a54;color:#fff}.btn.btn-success:hover{background:#1a6a48}.btn.btn-sm{padding:3px 10px;font-size:12px}.btn.btn-icon{padding:4px 8px}.table-wrap{overflow-x:auto;background:#fff;border:1px solid #E1DCD1;border-radius:6px}table.data-table{width:100%;border-collapse:collapse;font-size:13px}table.data-table thead th{background:#f0eae0;color:#4b5b6e;font-weight:700;font-size:12px;padding:10px 12px;text-align:left;border-bottom:2px solid #C8C1B3;white-space:nowrap}table.data-table tbody td{padding:10px 12px;border-bottom:1px solid #E1DCD1;vertical-align:middle}table.data-table tbody tr:hover{background:#fbf9f4}table.data-table tbody tr.clickable{cursor:pointer}table.data-table .actions{display:flex;gap:4px}table.data-table .num{text-align:right;font-variant-numeric:tabular-nums}table.data-table .center{text-align:center}table.data-table .muted{color:#8394a6}table.data-table .empty{text-align:center;padding:40px;color:#8394a6}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px 20px}.form-grid .full{grid-column:1/-1}.form-group{display:flex;flex-direction:column;gap:4px}.form-group label{font-size:12px;font-weight:600;color:#4b5b6e}.form-group label .req{color:#b23a48;margin-left:3px}.form-group .help{font-size:11px;color:#8394a6}.form-group .err{font-size:12px;color:#b23a48}.input,.select,.textarea{border:1px solid #C8C1B3;border-radius:6px;padding:7px 10px;font-size:13px;background:#fff;font-family:inherit;color:#14202b}.input:focus,.select:focus,.textarea:focus{outline:none;border-color:#b87333;box-shadow:0 0 0 2px #b8733326}.input:disabled,.select:disabled,.textarea:disabled{background:#f0eae0;color:#8394a6}.input.err,.select.err,.textarea.err{border-color:#b23a48}.textarea{resize:vertical;min-height:80px}.checkbox{display:inline-flex;align-items:center;gap:6px;cursor:pointer}.filter-bar{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px;align-items:center}.filter-bar .input,.filter-bar .select{min-width:140px}.badge{display:inline-block;padding:2px 8px;border-radius:10px;font-size:11px;font-weight:600;white-space:nowrap;background:#eee;color:#4b5b6e}.badge.b-success{background:#e3f2ea;color:#1f7a54}.badge.b-warn{background:#fcead3;color:#b45e00}.badge.b-danger{background:#f7dddf;color:#b23a48}.badge.b-info{background:#e4edf7;color:#3b6ea5}.badge.b-muted{background:#ececec;color:#8394a6}.badge.b-copper{background:#b8733326;color:#b87333}.pagination{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;background:#fff;border:1px solid #E1DCD1;border-top:0;border-radius:0 0 6px 6px;flex-wrap:wrap;gap:8px}.pagination .info{color:#8394a6;font-size:12px}.pagination .page-nav{display:flex;gap:4px;align-items:center}.pagination .page-btn{border:1px solid #C8C1B3;background:#fff;min-width:32px;height:30px;padding:0 8px;border-radius:4px;cursor:pointer;font-size:12px}.pagination .page-btn:hover{background:#f7f5f0}.pagination .page-btn.active{background:#b87333;color:#fff;border-color:#b87333}.pagination .page-btn:disabled{opacity:.4;cursor:not-allowed}.toast-wrap{position:fixed;top:20px;right:20px;z-index:2000;display:flex;flex-direction:column;gap:8px;max-width:400px}.toast{background:#fff;border-left:4px solid #3B6EA5;padding:10px 16px;border-radius:6px;box-shadow:0 4px 16px #00000026;font-size:13px;min-width:260px;animation:toastIn .15s ease-out}.toast.t-success{border-left-color:#1f7a54}.toast.t-error{border-left-color:#b23a48}.toast.t-warn{border-left-color:#b45e00}.toast .title{font-weight:700;margin-bottom:2px}@keyframes toastIn{0%{opacity:0;transform:translate(20px)}to{opacity:1;transform:translate(0)}}.modal-back{position:fixed;top:0;right:0;bottom:0;left:0;background:#14202b80;display:flex;align-items:center;justify-content:center;z-index:1500;padding:20px}.modal{background:#fff;border-radius:6px;min-width:320px;max-width:90vw;max-height:90vh;overflow:auto}.modal .modal-head{padding:12px 16px;border-bottom:1px solid #E1DCD1;font-weight:700}.modal .modal-body{padding:16px}.modal .modal-foot{padding:10px 16px;border-top:1px solid #E1DCD1;display:flex;gap:8px;justify-content:flex-end}.kv-grid{display:grid;grid-template-columns:200px 1fr;gap:8px 16px}.kv-grid .k{color:#4b5b6e;font-size:12px;font-weight:600;padding-top:3px}.kv-grid .v{color:#14202b}.dl-inline{display:flex;flex-wrap:wrap;gap:16px 24px}.dl-inline .item{display:flex;flex-direction:column}.dl-inline .k{font-size:11px;color:#8394a6;text-transform:uppercase;letter-spacing:.5px}.dl-inline .v{font-size:14px;font-weight:600}.stat-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px;margin-bottom:20px}.stat-tile{background:#fff;border:1px solid #E1DCD1;border-radius:6px;padding:14px 16px;border-left:4px solid #B87333}.stat-tile .stat-label{font-size:12px;color:#4b5b6e;text-transform:uppercase;letter-spacing:.5px}.stat-tile .stat-value{font-size:22px;font-weight:700;color:#0f3b3a;margin-top:4px}.stat-tile .stat-sub{font-size:11px;color:#8394a6;margin-top:2px}.stat-tile.t-teal{border-left-color:#0f3b3a}.stat-tile.t-info{border-left-color:#3b6ea5}.stat-tile.t-success{border-left-color:#1f7a54}.stat-tile.t-warn{border-left-color:#b45e00}.sidebar-backdrop{display:none;position:fixed;top:56px;right:0;bottom:0;left:0;background:#0006;z-index:90}.kanban{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(240px,1fr);gap:12px;overflow-x:auto;padding-bottom:8px}.kanban-col{background:#f0eae0;border-radius:6px;display:flex;flex-direction:column;min-height:200px;max-height:70vh}.kanban-col-head{padding:10px 12px;font-weight:700;font-size:13px;border-top:3px solid #B87333;border-radius:6px 6px 0 0;background:#fff;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #E1DCD1}.kanban-col-count{background:#0f3b3a;color:#fff;padding:1px 8px;border-radius:10px;font-size:11px;min-width:22px;text-align:center}.kanban-col-body{flex:1;overflow-y:auto;padding:8px;display:flex;flex-direction:column;gap:8px}.kanban-empty{padding:20px;text-align:center;color:#8394a6;font-size:12px}.kanban-card{background:#fff;border-radius:4px;padding:10px 12px;box-shadow:0 1px 2px #0000000d;cursor:pointer;border-left:3px solid #B87333;transition:transform .08s,box-shadow .08s;text-decoration:none;color:inherit;display:block}.kanban-card:hover{transform:translateY(-1px);box-shadow:0 3px 8px #0000001f;text-decoration:none;color:inherit}.kanban-card .k-title{font-size:13px;font-weight:700;margin-bottom:4px;line-height:1.35}.kanban-card .k-meta{font-size:11px;color:#8394a6;display:flex;justify-content:space-between;align-items:center;margin-top:6px}.kanban-card .k-amount{font-size:14px;font-weight:700;color:#b87333;margin-top:2px}.kanban-card .k-sub{font-size:11px;color:#4b5b6e;margin-top:2px}.view-switch{display:inline-flex;background:#f0eae0;padding:3px;border-radius:6px}.view-switch button{border:0;background:transparent;padding:4px 12px;border-radius:4px;font-size:12px;cursor:pointer;color:#4b5b6e;display:inline-flex;align-items:center;gap:4px}.view-switch button.active{background:#fff;color:#0f3b3a;font-weight:700;box-shadow:0 1px 2px #0000000d}@media(max-width:900px){.form-grid,.kv-grid{grid-template-columns:1fr}.kv-grid .k{padding-top:0}.dash-row{grid-template-columns:1fr!important}}@media(max-width:768px){.edi-header .menu-toggle{display:flex;margin-right:8px}.edi-header .brand-sub,.edi-header .header-user span.name{display:none}.edi-sidebar{position:fixed;top:56px;bottom:0;left:0;z-index:100;transform:translate(-100%);transition:transform .2s}.edi-sidebar.open{transform:translate(0)}.edi-sidebar.open~.sidebar-backdrop{display:block}.edi-main{padding:12px}.filter-bar .input,.filter-bar .select{min-width:120px;flex:1}.modal{width:100%}.stat-grid{grid-template-columns:1fr 1fr}table.data-table{font-size:12px}table.data-table thead th,table.data-table tbody td{padding:6px 8px}.page-header h1{font-size:17px}}@media(max-width:480px){.stat-grid{grid-template-columns:1fr}.dl-inline{gap:8px 16px}}
