:root{--background:#fff;--foreground:#171717}@media (prefers-color-scheme:dark){:root{--background:#f0f0f0;--foreground:#171717}}body,html{max-width:100vw;overflow-x:hidden;color-scheme:light;scrollbar-color:#cbd5e1 #f8fafc;scrollbar-width:thin}body{--app-font:var(--noto-sans-jp-font),sans-serif;font-family:var(--app-font);color:var(--foreground);background:var(--background);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box;padding:0;margin:0}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background:#f8fafc}::-webkit-scrollbar-thumb{background:#cbd5e1;border:2px solid #f8fafc;border-radius:999px}::-webkit-scrollbar-thumb:hover{background:#94a3b8}a{color:inherit;text-decoration:none}.base-color-text{color:#1c73dd}.base-color-background{background:#1c73dd}.accent-color-text{color:#fbe58f}.accent-color-background{background:#f0ce46}.base-color-background.ant-menu-dark,.base-color-background.ant-menu-dark .ant-menu,.base-color-background.ant-menu-dark .ant-menu-sub{background:var(--sidebar-bg,#1c73dd)!important}.base-color-background.ant-menu-dark .ant-menu-item a,.base-color-background.ant-menu-dark .ant-menu-submenu-title a{color:inherit}.base-color-background.ant-menu-dark .ant-menu-item-selected,.base-color-background.ant-menu-dark .ant-menu-item-selected:hover{background:hsla(0,0%,100%,.18)}.base-color-background.ant-menu-dark .ant-menu-item-selected .ant-menu-title-content,.base-color-background.ant-menu-dark .ant-menu-item-selected a{color:#fff!important}.base-color-background.ant-menu-dark .ant-menu-item:hover .ant-menu-title-content,.base-color-background.ant-menu-dark .ant-menu-item:hover a{color:#fff}@media (prefers-color-scheme:dark){html{color-scheme:light}}.status-select-sent .ant-select-selector{color:#1890ff!important;background-color:#e6f7ff!important;border-color:#91d5ff!important;font-weight:500!important}.status-select-sent .ant-select-selector:hover{background-color:#bae7ff!important;border-color:#69c0ff!important}.status-select-paid .ant-select-selector{color:#52c41a!important;background-color:#f6ffed!important;border-color:#b7eb8f!important;font-weight:500!important}.status-select-paid .ant-select-selector:hover{background-color:#d9f7be!important;border-color:#95de64!important}.status-select-draft .ant-select-selector{color:#8c8c8c!important;background-color:#f5f5f5!important;border-color:#d9d9d9!important;font-weight:500!important}.status-select-draft .ant-select-selector:hover{background-color:#e6e6e6!important;border-color:#bfbfbf!important}.status-select-confirmed .ant-select-selector{color:#1890ff!important;background-color:#e6f7ff!important;border-color:#91d5ff!important;font-weight:500!important}.status-select-confirmed .ant-select-selector:hover{background-color:#bae7ff!important;border-color:#69c0ff!important}.status-select-final .ant-select-selector{color:#52c41a!important;background-color:#f6ffed!important;border-color:#b7eb8f!important;font-weight:500!important}.status-select-final .ant-select-selector:hover{background-color:#d9f7be!important;border-color:#95de64!important}.sidebar-scroll-container>.ant-layout-sider-children{display:flex!important;flex-direction:column!important;overflow:hidden!important;height:100%!important}.sidebar-menu-wrapper{flex:1 1!important;overflow-y:auto!important;overflow-x:hidden!important;min-height:0!important;-webkit-overflow-scrolling:touch;scrollbar-width:none;-ms-overflow-style:none}.sidebar-menu-wrapper::-webkit-scrollbar{display:none}.notification-modal .ant-modal-body{scrollbar-color:#b0b0b0 #f0f0f0;scrollbar-width:thin}.notification-modal .ant-modal-body::-webkit-scrollbar{width:8px;background:#f0f0f0}.notification-modal .ant-modal-body::-webkit-scrollbar-thumb{background:#b0b0b0;border-radius:4px}.notification-modal .ant-modal-body::-webkit-scrollbar-thumb:hover{background:#888}.rbc-event-holiday,.rbc-event-holiday .rbc-event-content,.rbc-event-holiday .rbc-event-label{color:#5d4037!important}.rbc-calendar-container .rbc-overlay{border-radius:12px;max-height:min(420px,70vh);overflow-y:auto;padding:12px 10px 10px}.rbc-calendar-container .rbc-overlay-header{margin:-12px -10px 10px;padding:10px 10px 8px;text-align:center;white-space:pre-line;font-size:13px;line-height:1.35;font-weight:600}.calendar-event-dual__overlay-inner{display:none}.rbc-overlay .calendar-event-dual__grid{display:none!important}.rbc-overlay .calendar-event-dual__overlay-inner{display:flex!important;align-items:center;gap:8px;min-width:0;width:100%}.rbc-overlay .calendar-event-dual__overlay-inner--allday{align-items:center}.rbc-overlay .rbc-event{border-radius:6px}.rbc-overlay .rbc-event:not(.rbc-event-allday){background-color:transparent!important;color:rgba(0,0,0,.88)!important;border:none!important;box-shadow:none!important;padding:6px 8px}.rbc-overlay .rbc-event:not(.rbc-event-allday):hover{background-color:rgba(0,0,0,.05)!important}.rbc-calendar-container .rbc-day-slot .rbc-event.rbc-event-allday{border-radius:4px}.calendar-overlay-event-title-text{width:0;flex-shrink:0;align-self:stretch;min-height:20px;border-radius:2px}.calendar-overlay-event-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0;border:1px solid transparent;box-sizing:border-box}.calendar-overlay-event-time{flex-shrink:0;font-size:13px;opacity:.85}.calendar-overlay-event-title-text{flex:1 1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (max-width:768px){.rbc-toolbar{flex-wrap:wrap!important;gap:4px!important;padding:0 6px!important;margin-bottom:6px!important}.rbc-toolbar button{padding:3px 7px!important;font-size:12px!important;line-height:1.2!important}.rbc-toolbar-label{font-size:13px!important;order:0;width:auto;padding-left:0!important}.mobile-calendar-toolbar{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:4px!important}.mobile-calendar-toolbar__top{display:flex;align-items:center;justify-content:space-between;gap:6px;width:100%}.mobile-calendar-toolbar__label{flex:1 1;min-width:0;font-size:14px;font-weight:600;line-height:1.25}.mobile-calendar-toolbar__bottom{display:flex;flex-wrap:wrap;align-items:center;gap:4px;width:100%}.mobile-calendar-toolbar__bottom .rbc-btn-group{display:flex;flex-wrap:wrap}.mobile-calendar-toolbar__views{margin-left:auto}.mobile-calendar-toolbar__settings button{white-space:nowrap}.rbc-header{padding:4px 2px!important;font-size:11px!important}.rbc-date-cell{padding:2px!important;font-size:12px!important}.rbc-event{font-size:10px!important;padding:1px 2px!important}.rbc-event-content,.rbc-event-label{font-size:inherit!important}.ant-modal-wrap{padding:0!important;align-items:stretch!important}.ant-modal{max-width:100%!important;width:100%!important;top:0!important;margin:0!important;padding-bottom:0!important;height:100%!important;max-height:100%!important}.ant-modal-content{max-height:100vh;height:100vh;display:flex;flex-direction:column;border-radius:0}.ant-modal-body{flex:1 1;overflow-y:auto;max-height:none}}.estimate-line-negative-money.ant-input-affix-wrapper .ant-input,.estimate-line-negative-money.ant-input-affix-wrapper>input.ant-input,.estimate-line-negative-money.ant-input-number .ant-input-number-input,.estimate-line-negative-money.ant-input-number input.ant-input-number-input{color:#cf1322!important;-webkit-text-fill-color:#cf1322!important}.ant-table-tbody-virtual-holder-inner .ant-table-row.line-row-dnd-over>.ant-table-cell,.ant-table-tbody>tr.line-row-dnd-over>td{background-color:#e6f7ff!important;box-shadow:none!important;border:2px solid #1677ff!important;border-right:none!important;border-left:none!important}.ant-table-tbody-virtual-holder-inner .ant-table-row.line-row-dnd-dragging>.ant-table-cell,.ant-table-tbody>tr.line-row-dnd-dragging>td{opacity:.55}body[data-line-row-dnd-active=true] .ant-table-tbody .ant-input-affix-wrapper,body[data-line-row-dnd-active=true] .ant-table-tbody .ant-input-number,body[data-line-row-dnd-active=true] .ant-table-tbody .ant-picker,body[data-line-row-dnd-active=true] .ant-table-tbody .ant-select,body[data-line-row-dnd-active=true] .ant-table-tbody button:not(.line-row-dnd-handle),body[data-line-row-dnd-active=true] .ant-table-tbody input,body[data-line-row-dnd-active=true] .ant-table-tbody textarea{pointer-events:none}.estimate-detail-compact,.estimate-detail-compact .ant-input,.estimate-detail-compact .ant-input-number,.estimate-detail-compact .ant-picker,.estimate-detail-compact .ant-select-selector,.estimate-detail-compact .ant-typography{font-size:13px}.estimate-detail-compact .ant-input-affix-wrapper,.estimate-detail-compact .ant-input-number,.estimate-detail-compact .ant-picker,.estimate-detail-compact .ant-select-single .ant-select-selector{min-height:28px}.estimate-detail-compact .ant-input-number-input{height:26px}.estimate-detail-compact .estimate-detail-amount-box{min-height:28px;padding:2px 8px;font-size:13px}.estimate-detail-compact .estimate-detail-row-spacer{min-height:28px}.document-form-section{padding:14px 0 4px;border-top:1px solid #eef2f7}.document-form-section:first-of-type{padding-top:0;border-top:0}.document-form-section+.document-form-section{margin-top:10px}.document-form-section--main{padding-top:16px}.document-form-section-header{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 12px;margin-bottom:10px}.document-form-section-header .ant-typography:first-child{color:#0f172a;font-size:15px}.document-form-section-header .ant-typography-secondary{font-size:12px;line-height:1.5}.ant-form-item:has(.document-form-section--main)>.ant-form-item-label{display:none}.document-detail-card{background-color:#f8fafc}.document-detail-card>.ant-card-body{overflow-x:auto;-webkit-overflow-scrolling:touch}.document-detail-card>.ant-card-body>.ant-row,.document-detail-card>.ant-card-body>div>.ant-row{min-width:980px;flex-wrap:nowrap!important}.document-detail-card>.ant-card-body>.ant-row>.ant-col,.document-detail-card>.ant-card-body>div>.ant-row>.ant-col{flex-shrink:0}.document-detail-card .ant-input,.document-detail-card .ant-input-number,.document-detail-card .ant-picker,.document-detail-card .ant-select-selector{font-size:13px}.document-detail-card .ant-input-affix-wrapper,.document-detail-card .ant-input-number,.document-detail-card .ant-picker,.document-detail-card .ant-select-single .ant-select-selector{min-height:30px}.project-detail-page{width:100%;max-width:1440px;min-width:0;margin:0 auto;padding:16px}.project-detail-header{margin-bottom:12px;row-gap:8px}.project-detail-header-main{flex:1 1 auto;min-width:0}.project-detail-header-actions{flex:0 0 auto}.project-detail-header-actions .ant-space{justify-content:flex-end}.project-detail-title-row,.project-detail-title-wrap{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:0;max-width:100%}.project-detail-title-edit{flex:1 1 240px;min-width:200px;max-width:560px}.project-detail-title{min-width:0;max-width:100%;overflow-wrap:anywhere;line-height:1.35!important}.project-detail-title-row .ant-btn{flex:0 0 auto}.project-detail-main-tabs,.project-detail-main-tabs .ant-tabs-content,.project-detail-main-tabs .ant-tabs-content-holder,.project-detail-main-tabs .ant-tabs-tabpane{min-width:0}.project-detail-main-tabs .ant-tabs-nav{max-width:100%}.project-detail-main-tabs .ant-tabs-nav-wrap{min-width:0}.project-detail-main-tabs .ant-tabs-tab-btn{overflow:hidden;text-overflow:ellipsis}.project-detail-page .ant-card,.project-detail-page .ant-card-body,.project-detail-page .ant-col,.project-detail-page .ant-row,.project-detail-page .ant-table-wrapper{min-width:0}.project-detail-page .ant-table-content{overflow-x:auto}.settings-shell{display:flex;gap:16px;min-height:100%;padding:12px;background:linear-gradient(180deg,rgba(28,115,221,.05),rgba(28,115,221,0) 220px),#f5f7fb}.settings-main{flex:1 1;min-width:0;overflow:auto}.settings-sidebar{width:264px;flex-shrink:0;align-self:flex-start;position:-webkit-sticky;position:sticky;top:0;max-height:calc(100vh - 24px);overflow:auto;background:#fff;border:1px solid #e6edf5;border-radius:16px;box-shadow:0 10px 28px rgba(15,23,42,.06)}.settings-sidebar__header{padding:16px 18px 12px;border-bottom:1px solid #eef2f7}.settings-sidebar__title{color:#111827;font-size:16px;font-weight:700;line-height:1.35}.settings-sidebar__menu{-webkit-border-end:0!important;border-inline-end:0!important;padding:8px}.settings-sidebar__menu .ant-menu-item{min-height:40px;border-radius:10px;margin-inline:0;width:100%}.settings-sidebar__menu .ant-menu-item-selected{background-color:rgba(28,115,221,.1)!important;color:#1c73dd;font-weight:600}.settings-sidebar__menu .ant-menu-item-selected:after{display:none}.settings-sidebar__menu .ant-menu-item-group-title{padding:12px 10px 6px;color:#94a3b8;font-size:11px;font-weight:700;letter-spacing:.04em}.settings-content{width:100%;max-width:1180px;margin:0 auto}.settings-row-actions .ant-btn{width:34px;min-width:34px;min-height:34px;padding-inline:0}@media (max-width:991.98px){.settings-shell{flex-direction:column;gap:12px;padding:10px}.settings-sidebar{position:static;width:100%;max-height:none}.settings-sidebar__header{padding:14px 16px 10px}.settings-sidebar__menu{overflow-x:auto;padding:4px 8px 10px;white-space:nowrap}.settings-sidebar__menu .ant-menu-item-group{display:inline-block;vertical-align:top;min-width:180px;margin-right:8px}.settings-sidebar__menu .ant-menu-item{padding-inline:12px!important}}@media (max-width:575.98px){.settings-shell{padding:8px 0}.settings-sidebar{border-radius:0;border-inline:0}}.project-detail-timeline-card .ant-card-head{min-width:0}.project-detail-timeline-card .ant-card-head-wrapper{gap:8px}.project-detail-timeline-card .ant-card-head-title{min-width:0}.project-detail-timeline-card .ant-card-extra{min-width:0;-webkit-margin-start:8px;margin-inline-start:8px}.project-detail-timeline-tools{display:flex;flex-wrap:wrap;justify-content:flex-end;max-width:100%;row-gap:8px}.project-detail-side-col{min-width:0;row-gap:8px}@media (max-width:991.98px){.project-detail-page{padding:12px}.project-detail-header-actions,.project-detail-header-main{flex:0 0 100%;max-width:100%}.project-detail-header-actions .ant-space{width:100%;justify-content:flex-start}.project-detail-timeline-card{min-height:auto!important}.project-detail-timeline-card .ant-card-body{max-height:none!important;overflow-y:visible!important}.project-detail-timeline-card .ant-card-head-wrapper{flex-wrap:wrap}.project-detail-timeline-card .ant-card-extra{width:100%;-webkit-margin-start:0;margin-inline-start:0}.project-detail-timeline-tools{width:100%;justify-content:flex-start}.project-detail-side-col{height:auto!important;margin-top:12px}.project-detail-side-section{flex:none!important;min-height:auto!important}}@media (max-width:575.98px){.project-detail-page{padding:8px 0}.project-detail-header,.project-detail-main-tabs>.ant-tabs-content-holder,.project-detail-main-tabs>.ant-tabs-nav{padding-inline:8px}.project-detail-title{font-size:18px!important}.project-detail-title-edit{flex-basis:100%;min-width:0;max-width:100%}.project-detail-timeline-card .ant-card-head{padding-inline:12px}.project-detail-timeline-tools .ant-select{flex:1 1 120px;min-width:0!important}.project-detail-timeline-tools .ant-input-affix-wrapper{flex:1 1 160px;width:auto!important;min-width:0}.project-detail-header-actions .ant-btn,.project-detail-timeline-tools .ant-btn{min-height:40px}}