@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700;800&display=swap');

:root {
  --ax-brand: #016C74;
  --ax-brand-weak: #eaf6f7;
  --ax-brand-soft: #effafa;
  --ax-bg: #f3f6f6;
  --ax-panel: #ffffff;
  --ax-border: #dfe8e8;
  --ax-text: #223033;
  --ax-text-soft: #66777a;
  --ax-shadow: 0 18px 60px rgba(0, 0, 0, .12);
  --ax-radius-lg: 18px;
  --ax-radius-sm: 10px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { min-height: 100%; }
body { margin: 0; color: var(--ax-text); background: var(--ax-bg); font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
button { font: inherit; }
.tw_app { min-height: 100vh; display: flex; }
.tw_app:not(.tw_menu_ready) { visibility: hidden; }
.tw_sidebar { width: var(--tw-sidebar-width, 282px); flex: 0 0 var(--tw-sidebar-width, 282px); min-height: 100vh; display: flex; flex-direction: column; padding: 28px 18px 20px; background: var(--ax-panel); border-right: 1px solid var(--ax-border); }
.tw_sidebar_resize { position: relative; z-index: 2; flex: 0 0 6px; margin-left: -3px; cursor: col-resize; touch-action: none; }
.tw_sidebar_resize::after { position: absolute; inset: 0 2px; content: ""; }
.tw_sidebar_resize:hover::after, .tw_sidebar_resize:focus-visible::after { background: var(--ax-brand-weak); }
.tw_app.is_resizing { cursor: col-resize; user-select: none; }
.tw_brand { display: block; padding: 2px 18px 28px; }
.tw_brand img { display: block; width: 188px; max-width: 100%; height: auto; }
.tw_create { width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 16px; border: 0; border-radius: var(--ax-radius-sm); color: #fff; background: var(--ax-brand); cursor: pointer; font-weight: 700; }
.tw_create:hover, .tw_create:focus-visible { background: #005c63; }
.tw_create span { font-size: 22px; line-height: 1; font-weight: 400; }
.tw_create_inline { width: max-content; }
.tw_menu_title { margin: 30px 14px 10px; color: var(--ax-text-soft); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.tw_nav { display: grid; gap: 4px; margin-top: 22px; }
.tw_nav_link { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 10px 14px; border-radius: var(--ax-radius-sm); color: var(--ax-text); text-decoration: none; font-weight: 600; }
.tw_nav_link:hover, .tw_nav_link:focus-visible { background: var(--ax-brand-soft); }
.tw_nav_link_static { cursor: default; }
.tw_nav_link.is_active { color: var(--ax-brand); background: var(--ax-brand-weak); }
.tw_nav_icon { width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center; color: var(--ax-brand); }
.tw_nav_icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.tw_favorites { display: grid; gap: 0; margin: 2px 0 0 46px; }
.tw_favorite_templates_group { display: grid; gap: 0; }
.tw_favorite_templates_group[hidden] { display: none; }
.tw_template_favorites { display: grid; gap: 0; margin: 2px 0 0 46px; }
.tw_favorite_empty { padding: 3px 0 8px; color: var(--ax-text-soft); font-size: 12px; line-height: 1.4; }
.tw_favorite_link { display: block; padding: 2px 10px 2px 0; border-radius: 7px; color: var(--ax-text); font-size: 16px; font-weight: 400; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; cursor: grab; }
.tw_favorite_link.is_dragging { opacity: .4; cursor: grabbing; }
.tw_favorite_link:hover, .tw_favorite_link:focus-visible { color: var(--ax-brand); background: var(--ax-brand-soft); }
.tw_contact { margin-top: auto; padding: 14px 14px 14px 20px; border-radius: 14px; background: var(--ax-brand-soft); }
.tw_contact { display: grid; gap: 8px; }
.tw_contact_link { display: flex; align-items: center; gap: 8px; min-width: 0; color: var(--ax-brand); font-size: 11px; line-height: 1.35; text-decoration: none; overflow-wrap: anywhere; }
.tw_contact_link:hover, .tw_contact_link:focus-visible { text-decoration: underline; }
.tw_contact_link svg { width: 17px; height: 17px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.tw_main { flex: 1; min-width: 0; display: grid; align-content: start; gap: 0; padding: 24px; overflow: auto; background: var(--ax-panel); }
.tw_topbar { min-height: 44px; display: flex; align-items: center; justify-content: space-between; }
.tw_topbar_actions { display: flex; align-items: center; gap: 10px; }
.tw_topbar_title { margin: 0; color: var(--ax-text); font-size: clamp(1.7rem, 3vw, 2.35rem); letter-spacing: -.03em; line-height: 1.2; }
.tw_user_menu { position: relative; }
.tw_user_button { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--ax-border); border-radius: 999px; color: var(--ax-text); background: #fff; cursor: pointer; font-weight: 700; }
.tw_user_button:hover, .tw_user_button:focus-visible { border-color: var(--ax-border-strong); background: var(--ax-brand-soft); }
.tw_user_panel { position: absolute; z-index: 10; top: calc(100% + 8px); right: 0; width: 230px; padding: 8px; border: 1px solid var(--ax-border); border-radius: var(--ax-radius-sm); background: #fff; }
.tw_user_panel_head { display: grid; gap: 3px; padding: 10px; border-bottom: 1px solid var(--ax-border); }
.tw_user_panel_head span { color: var(--ax-text-soft); font-size: 12px; overflow-wrap: anywhere; }
.tw_user_panel_item { display: block; width: 100%; padding: 10px; border: 0; border-radius: 7px; color: var(--ax-text); background: transparent; text-align: left; text-decoration: none; cursor: pointer; }
.tw_user_panel_item:hover, .tw_user_panel_item:focus-visible { background: var(--ax-brand-soft); color: var(--ax-brand); }
.tw_back { color: var(--ax-brand); text-decoration: none; font-weight: 700; }
.tw_settings_panel { max-width: 620px; margin-top: 30px; padding: 24px 0; border-top: 1px solid var(--ax-border); }
.tw_settings_page { display: grid; align-content: start; gap: 18px; max-width: 620px; padding: 0 0 48px; --tw-settings-label-width: 130px; }
.tw_settings_form { display: grid; gap: 14px; }
.tw_settings_row { display: grid; grid-template-columns: calc(50px + var(--tw-settings-label-width)) minmax(0, 1fr); align-items: center; column-gap: 22px; row-gap: 8px; }
.tw_settings_row > label { color: var(--ax-text); font-weight: 400; }
.tw_settings_input_wrap { position: relative; display: block; width: 250px; max-width: 100%; }
.tw_settings_input { width: 100%; min-height: 48px; border: 1px solid var(--ax-border); border-radius: 12px; padding: 0 54px 0 14px; color: var(--ax-text); background: var(--ax-panel); font: inherit; }
.tw_settings_input:focus-visible { outline: 3px solid var(--ax-brand-soft); border-color: var(--ax-border-strong); }
.tw_settings_save { position: absolute; top: 50%; right: 14px; display: grid; width: 24px; height: 24px; place-items: center; padding: 0; transform: translateY(-50%); border: 0; border-radius: 6px; background: transparent; color: var(--ax-brand); font-size: 0; line-height: 0; cursor: pointer; }
.tw_settings_save:hover, .tw_settings_save:focus-visible { background: var(--ax-brand-weak); }
.tw_settings_save svg { width: 18px; height: 18px; }
.tw_settings_status { grid-column: 2; color: var(--ax-text-soft); font-size: 14px; }
.tw_settings_panel form { display: grid; gap: 8px; max-width: 520px; }
.tw_settings_panel label { margin-top: 10px; font-size: 13px; font-weight: 700; }
.tw_settings_panel input { min-height: 44px; padding: 10px 12px; border: 1px solid var(--ax-border); border-radius: var(--ax-radius-sm); color: var(--ax-text); background: #fff; }
.tw_save { width: max-content; margin-top: 12px; padding: 10px 18px; border: 0; border-radius: var(--ax-radius-sm); color: #fff; background: var(--ax-brand); cursor: pointer; font-weight: 700; }
.tw_settings_status { min-height: 20px; margin: 4px 0 0; color: var(--ax-brand); font-size: 13px; }
.tw_login_page { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: #fff; }
.tw_login_card { width: min(560px, 100%); display: grid; justify-items: center; gap: 18px; padding: 48px 24px; text-align: center; }
.tw_login_logo { width: min(280px, 80vw); height: auto; }
.tw_login_card h1 { margin: 34px 0 38px; font-size: clamp(1.35rem, 3vw, 2rem); }
.tw_login_card p { margin: 0; color: var(--ax-text-soft); line-height: 1.55; }
.tw_google_btn { min-height: 42px; }
.tw_login_hint { min-height: 22px; color: var(--ax-danger) !important; font-size: 13px; }
.tw_content { width: min(1180px, 100%); margin: 0; padding-top: 2em; }
body[data-page="projects"] .tw_content { width: 100%; }
body[data-page="project"] .tw_content { width: 100%; max-width: none; }
.tw_page { display: flex; flex-wrap: wrap; align-items: flex-start; column-gap: 20px; }
.tw_page_actions { flex: 0 0 100%; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 0; }
.tw_page .tw_panel { flex: 1 0 100%; }
.tw_team_card { width: fit-content; max-width: 100%; min-height: 150px; display: grid; grid-template-columns: max-content max-content; align-content: start; gap: 6px 40px; margin-top: 16px; padding: 22px 40px; border: 1px solid #c5d9da; border-radius: 16px; color: var(--ax-text); background: #fff; box-shadow: 4px 5px 0 rgba(1, 108, 116, .10); cursor: pointer; text-align: left; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.tw_team_card:hover, .tw_team_card:focus-visible { border-color: #8ebfc1; box-shadow: 5px 6px 0 rgba(1, 108, 116, .16), 0 8px 20px rgba(1, 108, 116, .08); transform: translateY(-1px); outline: none; }
.tw_team_card h2 { grid-column: 1 / -1; margin: 0 0 8px; color: var(--ax-brand); font-size: 1.15rem; }
.tw_team_card strong { font-size: 1rem; }
.tw_team_card span { color: var(--ax-text-soft); font-size: 13px; overflow-wrap: anywhere; }
.tw_heading { margin: 0 0 8px; font-size: clamp(1.7rem, 3vw, 2.35rem); letter-spacing: -.03em; }
.tw_intro { margin: 0; color: var(--ax-text-soft); line-height: 1.6; }
.tw_panel { min-height: 280px; display: grid; place-items: center; margin-top: 0; padding: 36px; border: 1px solid var(--ax-border); border-radius: var(--ax-radius-lg); background: var(--ax-panel); text-align: center; }
.tw_empty_title { margin: 0 0 8px; font-size: 1.15rem; }
.tw_empty_text { margin: 0; color: var(--ax-text-soft); }
.tw_modal_backdrop { position: fixed; z-index: 1100; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(34, 48, 51, .28); }
.tw_modal { width: min(460px, 100%); padding: 28px; border-radius: var(--ax-radius-lg); background: var(--ax-panel); }
.tw_modal { position: relative; }
.tw_modal_x { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: #eef1f2; color: var(--ax-text-soft); font-size: 22px; line-height: 1; cursor: pointer; }
.tw_modal_x:hover, .tw_modal_x:focus-visible { background: #e2e7e8; }
.tw_modal h2 { padding-right: 38px; color: var(--ax-brand); }
.tw_project_form { width: min(680px, 100%); max-height: min(90vh, 760px); overflow-y: auto; display: grid; grid-template-columns: 160px minmax(0, 1fr); grid-template-areas: "title title" "project-name project-name" "date note" "team team" "templates templates" "description description" "status status" "actions actions"; column-gap: 18px; }
.tw_project_form.is_creating_template { grid-template-areas: "title title" "project-name project-name" "team team" "template-type template-type" "description description" "status status" "actions actions"; }
.tw_project_form.is_editing_questionnaire { grid-template-areas: "title title" "project-name project-name" "team team" "description description" "status status" "actions actions"; }
.tw_project_form h2 { grid-area: title; }
.tw_project_name_field { grid-area: project-name; }
.tw_project_field { display: grid; gap: 7px; margin-top: 16px; color: var(--ax-text); font-weight: 700; }
.tw_project_team_field { grid-area: team; }
.tw_project_template_type_field { grid-area: template-type; }
.tw_project_due_field { grid-area: date; width: 160px; }
.tw_project_due_note_field { grid-area: note; }
.tw_project_template_row { grid-area: templates; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.tw_project_template_row .tw_project_field { min-width: 0; }
.tw_project_description_field { grid-area: description; }
.tw_project_field input, .tw_project_field select, .tw_project_field textarea { width: 100%; min-height: 42px; padding: 10px 12px; border: 1px solid var(--ax-border); border-radius: var(--ax-radius-sm); color: var(--ax-text); background: var(--ax-panel); font: inherit; font-weight: 400; }
.tw_date_field_wrap { position: relative; display: block; width: 160px; }
.tw_project_field .tw_date_input { width: 160px; min-height: 44px; padding: 0 40px 0 12px; border-radius: 12px; background: #fff; font: inherit; font-weight: 400; text-align: center; }
.tw_project_field .tw_date_input.is_filled { background: var(--ax-brand-weak); }
.tw_date_picker_button { position: absolute; top: 4px; right: 4px; z-index: 2; width: 36px; height: 36px; padding: 7px; border: 0; border-radius: 8px; background: transparent; color: var(--ax-text-soft); cursor: pointer; }
.tw_date_picker_button:hover { background: var(--ax-brand-weak); }
.tw_date_picker_button:focus-visible { outline: 2px solid var(--ax-brand); outline-offset: 2px; }
.tw_date_picker_button svg { display: block; width: 22px; height: 22px; }
.tw_calendar { position: fixed; z-index: 1001; width: 270px; padding: 12px; border: 1px solid var(--ax-border); border-radius: 12px; background: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .16); font-family: inherit; font-size: 16px; font-weight: 400; }
.tw_calendar_head, .tw_calendar_week, .tw_calendar_grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; align-items: center; text-align: center; }
.tw_calendar_head { grid-template-columns: 32px 1fr 32px; margin-bottom: 10px; }
.tw_calendar_head button { border: 0; background: transparent; color: var(--ax-text); font-family: inherit; font-size: 22px; cursor: pointer; }
.tw_calendar_week { margin-bottom: 4px; color: var(--ax-text-soft); font-size: 12px; font-weight: 700; }
.tw_calendar_day { height: 30px; border: 0; border-radius: 7px; background: transparent; color: var(--ax-text); font: inherit; font-weight: 400; cursor: pointer; }
.tw_calendar_day:hover, .tw_calendar_day.is_selected { background: var(--ax-brand); color: #fff; }
.tw_calendar_empty { height: 30px; }
.tw_calendar_today { display: block; width: 100%; margin-top: 10px; padding: 7px; border: 1px solid var(--ax-border); border-radius: 7px; background: transparent; color: var(--ax-brand); font: inherit; font-weight: 700; cursor: pointer; }
.tw_calendar_today:hover { background: var(--ax-brand-weak); }
.tw_project_field textarea { resize: vertical; }
.tw_modal label, .tw_modal legend, .tw_modal .tw_team_users_label { color: var(--ax-text-soft); }
.tw_modal .tw_project_field > span:first-child, .tw_modal .tw_team_field > span:first-child, .tw_modal .tw_team_users_label { color: var(--ax-text-soft); }
.tw_project_form_status { grid-area: status; min-height: 0; margin: 12px 0 0; color: var(--ax-text-soft); }
.tw_project_form .tw_modal_actions { grid-area: actions; }
.tw_project_form.is_editing_project .tw_project_team_field { grid-area: auto; }
.tw_project_list { display: grid; gap: 14px; }
.tw_project_card { padding: 20px; border: 1px solid var(--ax-border); border-radius: var(--ax-radius-lg); background: var(--ax-panel); }
.tw_project_card h2 { margin: 0 0 8px; }
.tw_project_card p { margin: 6px 0 0; color: var(--ax-text-soft); line-height: 1.5; }
.tw_project_card_team { font-weight: 700; }
.tw_page .tw_projects_section { flex: 1 0 100%; min-width: 0; text-align: left; overflow-x: auto; }
.tw_project_filters { flex: 1 0 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(180px, 250px) minmax(180px, 220px); gap: 12px; margin: 14px 0 20px; }
.tw_project_filters input, .tw_project_filters select { min-width: 0; min-height: 44px; padding: 9px 12px; border: 1px solid var(--ax-border); border-radius: var(--ax-radius-sm); color: var(--ax-text); background: var(--ax-panel); font: inherit; }
.tw_project_filters input.is_filled, .tw_project_detail_search input.is_filled { background: var(--ax-brand-weak); }
.tw_project_field select, .tw_project_filters select { min-height: 46px; padding: 0 13px; border-radius: 12px; }
.tw_select_custom { position: relative; display: block; width: 100%; min-width: 0; }
.tw_select_native { display: none !important; }
.tw_select_control { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 46px; padding: 0 13px; border: 1px solid var(--ax-border); border-radius: 12px; color: var(--ax-text); background: #fff; font: inherit; font-size: 16px; font-weight: 400; text-align: left; cursor: pointer; }
.tw_select_control.is_filled { background: var(--ax-brand-weak); }
.tw_select_control:disabled { opacity: .55; cursor: not-allowed; }
.tw_select_control:focus-visible { outline: 3px solid var(--ax-brand-soft); border-color: var(--ax-brand); }
.tw_select_control_label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tw_select_arrow { flex: 0 0 auto; color: var(--ax-text-soft); font-size: 12px; line-height: 1; }
.tw_select_menu { position: absolute; top: calc(100% + 8px); right: 0; z-index: 1002; width: 100%; max-height: 280px; overflow-y: auto; padding: 8px; border: 1px solid var(--ax-border); border-radius: 18px; background: #fff; box-shadow: 0 12px 28px rgba(15, 23, 42, .16); }
.tw_select_menu[hidden] { display: none !important; }
.tw_select_option { display: block; width: 100%; min-height: 40px; padding: 0 12px; overflow: hidden; border: 0; border-radius: 12px; color: var(--ax-text); background: #fff; font: inherit; font-size: 16px; text-align: left; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; }
.tw_project_form .tw_select_option { font-weight: 400; }
.tw_select_option:hover, .tw_select_option:focus-visible { background: var(--ax-brand-soft); outline: none; }
.tw_project_filters input:focus-visible, .tw_project_filters select:focus-visible { outline: 3px solid var(--ax-brand-soft); border-color: var(--ax-brand); }
.tw_projects_heading { margin: 0 0 18px; color: var(--ax-brand); font-size: 1.2rem; }
.tw_projects_section + .tw_projects_section { margin-top: 18px; }
.tw_projects_table { width: 100%; min-width: 900px; table-layout: fixed; border-collapse: collapse; color: var(--ax-text); text-align: left; }
.tw_projects_table th, .tw_projects_table td { padding: 12px 14px; border-bottom: 1px solid var(--ax-border); vertical-align: top; }
.tw_projects_table th:nth-child(1) { width: 22%; }
.tw_projects_table th:nth-child(2) { width: 15%; }
.tw_projects_table th:nth-child(3) { width: 170px; }
.tw_projects_table th:nth-child(4) { width: auto; }
.tw_projects_table th:nth-child(5), .tw_projects_table th:nth-child(6) { width: 15%; }
.tw_projects_table th { color: var(--ax-text); font-weight: 700; background: var(--ax-brand-weak); }
.tw_projects_sort { padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.tw_projects_sort:hover, .tw_projects_sort:focus-visible { color: var(--ax-brand); }
.tw_projects_table tbody tr:last-child td { border-bottom: 0; }
.tw_projects_empty_cell { color: var(--ax-text-soft); text-align: center; }
.tw_projects_table tbody tr[data-action="open-project"] { cursor: pointer; }
.tw_projects_table tbody tr[data-action="open-project"]:hover, .tw_projects_table tbody tr[data-action="open-project"]:focus-visible { background: var(--ax-brand-soft); outline: none; }
.tw_project_detail { width: 100%; padding-top: 8px; }
.tw_project_detail_search { position: relative; display: flex; gap: 12px; width: min(100%, 900px); margin-bottom: 24px; }
.tw_project_detail_search input { flex: 1 1 auto; width: 100%; min-width: 0; min-height: 44px; padding: 9px 12px; border: 1px solid var(--ax-border); border-radius: var(--ax-radius-sm); color: var(--ax-text); background: var(--ax-panel); font: inherit; }
.tw_project_detail_search > .tw_select_custom { flex: 0 0 210px; }
.tw_project_detail_search input:focus-visible { outline: 3px solid var(--ax-brand-soft); border-color: var(--ax-brand); }
.tw_project_detail_search_results { position: absolute; z-index: 5; top: calc(100% + 4px); right: 0; left: 0; display: grid; max-height: 280px; overflow-y: auto; padding: 5px; border: 1px solid var(--ax-border); border-radius: var(--ax-radius-sm); background: var(--ax-panel); box-shadow: var(--ax-shadow); }
.tw_project_detail_search_results[hidden] { display: none; }
.tw_project_detail_search_results button { padding: 9px 10px; border: 0; border-radius: 6px; color: var(--ax-text); background: transparent; text-align: left; cursor: pointer; }
.tw_project_detail_search_results button:hover, .tw_project_detail_search_results button:focus-visible { color: var(--ax-brand); background: var(--ax-brand-soft); outline: 0; }
.tw_project_detail_search_empty { padding: 9px 10px; color: var(--ax-text-soft); }
.tw_project_detail_heading { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 14px; }
.tw_project_detail_heading h2 { margin: 0; color: var(--ax-brand); font-size: clamp(1.5rem, 3vw, 2rem); }
.tw_project_detail_heading h2.is_archived { color: color-mix(in srgb, var(--ax-text-soft) 70%, var(--ax-panel) 30%); }
.tw_project_detail_item_count { color: color-mix(in srgb, var(--ax-text-soft) 70%, var(--ax-panel) 30%); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; white-space: nowrap; }
.tw_project_detail_team { max-width: min(28vw, 260px); overflow: hidden; color: var(--ax-text-soft); font-size: clamp(calc(1.5rem - 2px), calc(3vw - 2px), calc(2rem - 2px)); font-weight: 400; text-overflow: ellipsis; white-space: nowrap; }
.tw_project_star { width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%; color: #d39b00; background: transparent; font-size: 32px; line-height: 1; cursor: pointer; }
.tw_project_star:hover, .tw_project_star:focus-visible { background: var(--ax-brand-weak); }
.tw_project_close { width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; color: var(--ax-text-soft); background: #eef1f2; font-size: 22px; line-height: 1; cursor: pointer; }
.tw_form_preview_close { display: grid; flex: 0 0 34px; place-items: center; text-decoration: none; }
.tw_project_close:hover, .tw_project_close:focus-visible { background: #e2e7e8; }
.tw_project_detail_info { display: grid; width: fit-content; max-width: min(900px, 100%); gap: 8px; margin-top: 16px; padding: 14px 18px; border-radius: var(--ax-radius-sm); background: var(--ax-brand-weak); }
.tw_project_detail_meta { display: flex; flex-wrap: wrap; gap: 6px 24px; color: var(--ax-text); }
.tw_project_filter_empty { padding: 12px 0; color: var(--ax-text-soft); }
.tw_project_detail_description { max-width: 100%; margin: 0; line-height: 1.6; white-space: pre-wrap; }
.tw_project_add_section { display: inline-flex; align-items: center; min-height: 32px; margin: 18px 0 12px; padding: 4px 10px; border: 1px solid var(--ax-border); border-radius: 7px; color: var(--ax-brand); background: var(--ax-panel); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.tw_project_add_section:hover, .tw_project_add_section:focus-visible { border-color: var(--ax-brand); background: var(--ax-brand-soft); }
.tw_project_section_bulk_actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 18px 0 12px; }
.tw_project_section_bulk_actions .tw_project_add_section { margin: 0; }
.tw_project_sections_bulk_button { display: inline-flex; align-items: center; justify-content: center; min-height: 32px; padding: 4px 10px; border: 1px solid var(--ax-border); border-radius: 7px; color: var(--ax-brand); background: var(--ax-panel); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.tw_project_sections_bulk_button:hover, .tw_project_sections_bulk_button:focus-visible { border-color: var(--ax-brand); background: var(--ax-brand-soft); }
.tw_form_preview_button { display: inline-flex; align-items: center; justify-content: center; min-height: 32px; padding: 4px 12px; border: 1px solid var(--ax-brand); border-radius: 7px; color: #fff; background: var(--ax-brand); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.tw_form_preview_button:hover, .tw_form_preview_button:focus-visible { background: #005c63; }
.tw_form_preview_page { width: min(100%, 1080px); margin: 30px auto 60px; }
.tw_form_preview_card { padding: 28px; border: 1px solid var(--ax-border); border-radius: var(--ax-radius-lg); background: var(--ax-panel); box-shadow: 0 4px 20px rgba(0, 0, 0, .04); }
.tw_form_preview_heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; }
.tw_form_preview_title_block { display: grid; gap: 4px; }
.tw_form_preview_title { margin: 0; color: var(--ax-brand); }
.tw_form_preview_due { margin: 0; color: var(--ax-text-soft); }
.tw_form_preview_person { margin-left: auto; color: var(--ax-text); font-weight: 400; font-style: italic; text-align: right; }
.tw_form_preview_description { margin: 8px 0 24px; color: var(--ax-text-soft); white-space: pre-wrap; }
.tw_form_preview_sections { display: grid; gap: 28px; }
.tw_form_preview_section { display: grid; gap: 16px; }
.tw_form_preview_section h3 { margin: 0; padding-bottom: 8px; border-bottom: 1px solid var(--ax-border); font-size: 19px; }
.tw_form_preview_questions { display: grid; gap: 16px; }
.tw_form_preview_question { min-width: 0; margin: 0; padding: 0; border: 0; }
.tw_form_preview_question_label { display: block; margin-bottom: 8px; font-weight: 700; white-space: pre-wrap; }
.tw_form_preview_answer { display: block; width: 100%; min-height: 100px; padding: 10px 12px; border: 1px solid var(--ax-border); border-radius: var(--ax-radius-sm); color: var(--ax-text); background: var(--ax-panel); font: inherit; resize: vertical; }
.tw_form_preview_answer:focus-visible { outline: 3px solid var(--ax-brand-weak); border-color: var(--ax-brand); }
.tw_form_preview_choices { display: flex; flex-wrap: wrap; gap: 16px; }
.tw_form_preview_choices label { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; cursor: pointer; }
.tw_form_preview_choices input[type="radio"] { width: 16px; height: 16px; margin: 0; }
.tw_form_preview_children { display: grid; gap: 16px; margin: 16px 0 0 8px; padding-left: 18px; border-left: 2px solid var(--ax-brand-weak); }
.tw_form_preview_status { padding: 20px 0; color: var(--ax-text-soft); }
.tw_form_preview_actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 28px; }
.tw_form_preview_actions button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 16px; border: 0; border-radius: var(--ax-radius-sm); color: #fff; font: inherit; font-weight: 700; }
.tw_form_preview_actions .tw_form_preview_save { background: #e5e7eb; color: #374151; }
.tw_form_preview_submit { background: var(--ax-brand); }
.tw_form_preview_actions button:disabled { opacity: .65; cursor: not-allowed; }
.tw_project_sections { display: grid; gap: 0; }
.tw_project_section { position: relative; padding: 0; }
.tw_project_section_head { position: relative; display: flex; align-items: center; gap: 0; }
.tw_project_section_head:hover { border-radius: 6px; background: var(--ax-brand-soft); }
.tw_project_section_name { flex: 0 1 auto; width: auto; max-width: calc(100% - 100px); min-height: 40px; padding: 6px 2px; border: 1px solid transparent; border-radius: 6px; color: var(--ax-text); background: transparent; font: inherit; font-size: 18px; font-weight: 700; }
.tw_project_section_count { flex: 0 0 auto; margin-left: .25ch; color: color-mix(in srgb, var(--ax-text-soft) 70%, var(--ax-panel) 30%); font-size: 18px; font-weight: 700; white-space: nowrap; cursor: pointer; }
.tw_project_section_drag_handle { position: absolute; top: 6px; left: -24px; display: grid; width: 20px; height: 28px; place-items: center; padding: 0; border: 0; border-radius: 4px; color: var(--ax-text-soft); background: transparent; font: inherit; font-size: 17px; cursor: grab; opacity: 0; }
.tw_project_section:hover .tw_project_section_drag_handle, .tw_project_section:focus-within .tw_project_section_drag_handle { opacity: 1; }
.tw_project_section_drag_handle:active { cursor: grabbing; }
.tw_project_section.is_dragging { opacity: .4; }
.tw_project_section.is_section_drop_before::before, .tw_project_section.is_section_drop_after::after { position: absolute; right: 0; left: 0; height: 2px; background: var(--ax-brand); content: ""; pointer-events: none; }
.tw_project_section.is_section_drop_before::before { top: -2px; }
.tw_project_section.is_section_drop_after::after { bottom: -2px; }
.tw_project_section_toggle { display: grid; flex: 0 0 18px; width: 18px; height: 18px; place-items: center; margin-right: 6px; padding: 0; border: 1px solid var(--ax-brand); border-radius: 5px; background: var(--ax-brand); color: #fff; font: inherit; font-size: 13px; font-weight: 700; line-height: 1; cursor: pointer; }
.tw_project_section_actions { position: relative; flex: 0 0 auto; margin-left: 10px; }
.tw_project_section_order_toggle { display: grid; width: 28px; height: 30px; place-items: center; padding: 0; border: 0; border-radius: 0; color: var(--ax-text); background: transparent; font: inherit; font-size: 20px; font-weight: 700; cursor: pointer; }
.tw_project_section_order_toggle svg { display: block; width: 20px; height: 20px; }
.tw_project_section_order_toggle:hover, .tw_project_section_order_toggle:focus-visible { color: var(--ax-brand); background: transparent; }
.tw_project_section_order_menu { position: absolute; z-index: 20; top: calc(100% + 4px); right: 0; display: grid; min-width: 180px; padding: 5px; border: 1px solid var(--ax-border); border-radius: 8px; background: var(--ax-panel); box-shadow: var(--ax-shadow); }
.tw_project_section_order_menu[hidden] { display: none; }
.tw_project_section_order_menu button { min-height: 36px; padding: 6px 9px; border: 0; border-radius: 5px; color: var(--ax-text); background: transparent; font: inherit; text-align: left; cursor: pointer; }
.tw_project_section_order_menu button:hover:not(:disabled), .tw_project_section_order_menu button:focus-visible { background: var(--ax-brand-soft); outline: 0; }
.tw_project_section_order_menu button:disabled { color: var(--ax-text-soft); opacity: .55; cursor: default; }
.tw_project_section_order_menu .tw_project_section_sort_action { margin-bottom: 4px; border-bottom: 1px solid var(--ax-border); border-radius: 0; }
.tw_project_section_order_menu .tw_project_section_clipboard_action { margin-top: 4px; border-top: 1px solid var(--ax-border); border-radius: 0; }
.tw_project_section_order_menu .tw_project_section_delete_action { margin-top: 4px; border-top: 1px solid var(--ax-border); border-radius: 0; }
.tw_project_section_name:focus, .tw_project_item_name:focus { border-color: var(--ax-border); outline: 2px solid var(--ax-brand-soft); background: var(--ax-panel); }
.tw_project_sections { width: 50%; min-width: 320px; }
.tw_project_item { display: grid; grid-template-columns: var(--tw-item-name-width, minmax(0, 1fr)) var(--tw-item-users-width, max-content) var(--tw-item-date-width, max-content) var(--tw-item-modified-width, max-content); align-items: center; gap: 8px; }
.tw_project_item_list { display: grid; margin: 0; }
.tw_project_item { position: relative; min-height: 36px; padding: 1px 8px 1px 0; border-bottom: 1px solid var(--ax-border); }
.tw_project_item_main { position: relative; display: grid; grid-template-columns: 20px 22px minmax(0, 1fr); align-items: center; gap: 6px; min-width: 0; }
.tw_project_item_main::after { position: absolute; top: 4px; right: 0; bottom: 4px; width: 1px; background: var(--ax-border); content: ""; pointer-events: none; }
.tw_project_item_main .tw_project_item_name { grid-column: 3; grid-row: 1; }
.tw_project_item_main .tw_project_item_handle { grid-column: 1; grid-row: 1; }
.tw_project_item_main .tw_project_item_check { grid-column: 2; grid-row: 1; }
.tw_item_users_cell, .tw_item_date_cell { display: flex; align-items: center; gap: 5px; min-width: 0; width: max-content; }
.tw_item_users_cell { position: relative; }
.tw_item_date_wrap { display: flex; align-items: center; gap: 5px; width: max-content; min-width: 26px; min-height: 26px; }
.tw_item_date_wrap .tw_item_due_toggle { position: relative; top: auto; right: auto; flex: 0 0 26px; width: 26px; height: 26px; padding: 4px; }
.tw_item_date_wrap.is_editing { display: block; width: 160px; min-height: 44px; }
.tw_item_date_wrap.is_editing .tw_item_due_toggle { position: absolute; top: 4px; right: 4px; width: 36px; height: 36px; padding: 7px; }
.tw_item_due_input { width: 160px; min-height: 44px; padding: 0 40px 0 12px; border: 1px solid var(--ax-border); border-radius: 12px; color: var(--ax-text); background: #fff; font: inherit; font-weight: 400; text-align: center; }
.tw_item_due_input.is_filled, .tw_item_due_text.is_filled, .tw_item_due_note.is_filled, .tw_item_editor_date_row .tw_date_input.is_filled, .tw_item_editor #project-item-editor-note.is_filled, .tw_item_editor_description.is_filled { background: var(--ax-brand-weak); }
.tw_item_due_toggle { color: var(--ax-text-soft); }
.tw_item_due_text { padding: 2px 5px; border-radius: 5px; color: var(--ax-text-soft); font-size: 13px; white-space: nowrap; }
.tw_item_due_note { flex: 0 0 var(--tw-item-due-note-width, 4ch); width: var(--tw-item-due-note-width, 4ch); min-width: 4ch; min-height: 26px; padding: 2px 4px; border: 1px solid var(--ax-border); border-radius: 6px; color: var(--ax-text); background: var(--ax-panel); font: inherit; font-size: 12px; }
.tw_item_due_note:focus-visible { outline: 2px solid var(--ax-brand-soft); border-color: var(--ax-brand); }
.tw_item_modified_cell { display: flex; align-items: center; gap: 4px; width: max-content; color: var(--ax-text-soft); font-size: 12px; white-space: nowrap; }
.tw_item_modified_icon { flex: 0 0 14px; width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.tw_item_editor_layer { position: fixed; z-index: 1000; inset: 0; background: transparent; pointer-events: none; }
.tw_item_editor_layer[hidden] { display: none !important; }
.tw_item_editor { position: absolute; top: 0; right: 0; bottom: 0; width: var(--tw-item-editor-width, min(50vw, 720px)); max-width: 100vw; min-width: 320px; overflow: hidden; padding: 24px; border-left: 1px solid var(--ax-border); background: var(--ax-panel); box-shadow: -12px 0 32px rgba(15, 23, 42, .12); outline: 0; pointer-events: auto; }
.tw_item_editor_resize { position: fixed; z-index: 1003; top: 0; right: var(--tw-item-editor-width, min(50vw, 720px)); bottom: 0; width: 12px; transform: translateX(50%); cursor: ew-resize; touch-action: none; pointer-events: auto; }
.tw_item_editor_resize::after { position: absolute; top: 0; right: 5px; bottom: 0; left: 5px; background: transparent; content: ""; }
.tw_item_editor_resize:hover::after, .tw_item_editor_resize:focus-visible::after { background: var(--ax-brand-soft); }
.tw_item_editor_scroll { display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 20px; height: 100%; min-height: 0; overflow: hidden; box-sizing: border-box; padding: 0 0 24px; container-type: inline-size; }
.tw_item_editor_fixed { display: grid; align-content: start; gap: 20px; min-width: 0; }
.tw_item_editor_body_scroll { display: grid; grid-template-rows: auto auto auto; align-content: start; gap: 20px; min-width: 0; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding-bottom: 24px; }
.tw_item_editor_close { display: grid; align-self: start; width: 28px; height: 28px; margin: 0; place-items: center; padding: 0; border: 0; border-radius: 50%; color: var(--ax-text-soft); background: var(--ax-bg); font-size: 22px; line-height: 1; cursor: pointer; }
.tw_item_editor_close:hover, .tw_item_editor_close:focus-visible { color: var(--ax-text); background: var(--ax-border); }
.tw_item_editor_name_row { display: grid; grid-template-columns: 30px minmax(0, 1fr) 28px; align-items: start; gap: 8px; }
.tw_item_editor_finished { display: grid; width: 28px; height: 28px; margin-top: 0; place-items: center; padding: 0; border: 0; border-radius: 50%; color: var(--ax-panel); background: color-mix(in srgb, var(--ax-text-soft) 56%, var(--ax-panel)); cursor: pointer; }
.tw_item_editor_finished svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.tw_item_editor_finished.is_finished { background: var(--ax-brand); }
.tw_item_editor_finished:hover { filter: brightness(.92); }
.tw_item_editor_finished:focus-visible { outline: 2px solid var(--ax-brand-soft); outline-offset: 2px; }
.tw_item_editor_finished:disabled { cursor: wait; opacity: .65; }
.tw_item_editor_name { display: block; width: 100%; min-height: 30px; padding: 2px; resize: none; overflow: hidden; border: 0; border-radius: 0; color: var(--ax-brand); background: transparent; font: inherit; font-size: 19px; font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.tw_item_editor_name:focus-visible { outline: 2px solid var(--ax-brand-soft); border-radius: 4px; }
.tw_item_editor_description { display: block; width: 100%; min-height: calc(1.45em + 18px); box-sizing: border-box; padding: 8px 10px; overflow-x: hidden; overflow-y: hidden; resize: vertical; border: 1px solid var(--ax-border); border-radius: var(--ax-radius-sm); color: var(--ax-text); background: var(--ax-panel); font: inherit; line-height: 1.45; }
.tw_item_editor_description::placeholder { color: var(--ax-text-soft); }
.tw_item_editor_description:focus-visible { outline: 2px solid var(--ax-brand-soft); border-color: var(--ax-brand); }
.tw_item_editor_date_row { display: grid; grid-template-columns: 279px minmax(0, 1fr); align-items: end; gap: 12px; }
.tw_item_editor_due_field, .tw_item_editor_section_field { display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: center; column-gap: 10px; min-width: 0; color: var(--ax-text-soft); font: inherit; font-size: 19px; font-weight: 700; }
.tw_item_editor_due_field > span, .tw_item_editor_section_field > span { white-space: nowrap; }
.tw_item_editor_date_row .tw_date_field_wrap, .tw_item_editor_date_row .tw_date_input { width: 100%; }
.tw_item_editor_due_field .tw_date_field_wrap { width: 205px; max-width: 100%; }
.tw_item_editor_date_row .tw_date_input { box-sizing: border-box; min-height: 44px; padding: 0 40px 0 12px; border: 1px solid var(--ax-border); border-radius: 12px; outline: 0; box-shadow: none; font: inherit; font-size: 16px; font-weight: 400; text-align: center; }
.tw_item_editor_date_row .tw_date_input:focus-visible { border-color: var(--ax-brand); outline: 0; }
.tw_item_editor_date_row > input { width: 100%; min-width: 0; min-height: 44px; padding: 9px 11px; border: 1px solid var(--ax-border); border-radius: 12px; color: var(--ax-text); background: var(--ax-panel); font: inherit; line-height: 1.45; }
.tw_item_editor_date_row > input:focus-visible { outline: 2px solid var(--ax-brand-soft); border-color: var(--ax-brand); }
.tw_item_editor_assignment_row { display: grid; grid-template-columns: 279px minmax(0, 1fr); align-items: center; gap: 12px; }
.tw_item_editor_assignees { display: flex; align-items: center; gap: 8px; min-width: 0; min-height: 30px; }
.tw_item_editor_assignees .tw_item_assignee_toggle { flex-basis: 30px; width: 30px; height: 30px; }
.tw_item_editor_assignees .tw_item_assignees { flex: 1 1 auto; max-width: none; }
.tw_item_editor_assignees .tw_item_assignee_toggle svg { fill: none; stroke: currentColor; stroke-width: 1.6; }
.tw_item_editor_section_field > .tw_select_custom { width: 205px; max-width: 100%; min-width: 0; }
.tw_item_editor_section_field > .tw_select_custom .tw_select_control { background: var(--ax-brand-weak); }
@container (max-width: 560px) { .tw_item_editor_date_row, .tw_item_editor_assignment_row { grid-template-columns: minmax(200px, 1fr) minmax(0, 1fr); } }
@container (max-width: 400px) { .tw_item_editor_date_row, .tw_item_editor_assignment_row { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 620px) { .tw_item_editor { width: var(--tw-item-editor-width, 100%); min-width: 0; padding: 18px; } .tw_item_editor_resize { right: var(--tw-item-editor-width, 100vw); } }
.tw_item_child_collection { display: grid; grid-template-rows: auto auto minmax(0, 1fr); gap: 8px; min-height: 0; margin-top: 8px; }
.tw_item_editor_body_scroll .tw_item_child_collection { display: block; min-height: 0; margin-top: 0; }
.tw_item_editor_body_scroll .tw_item_collection_sections { min-height: auto; overflow: visible; }
.tw_item_child_search_row { display: flex; align-items: center; gap: 12px; width: 100%; margin-bottom: 20px; }
.tw_item_child_search { flex: 1 1 auto; box-sizing: border-box; width: 100%; min-width: 0; min-height: 44px; padding: 9px 12px; border: 1px solid var(--ax-border); border-radius: var(--ax-radius-sm); color: var(--ax-text); background: var(--ax-panel); font: inherit; }
.tw_item_child_search_row > .tw_select_custom { flex: 0 0 210px; }
.tw_item_child_search:focus-visible { outline: 3px solid var(--ax-brand-soft); border-color: var(--ax-brand); }
.tw_item_child_toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tw_item_child_toolbar .tw_project_add_section { margin: 0; }
.tw_item_collection_sections { align-content: start; width: 100%; min-width: 0; min-height: 0; overflow: auto; padding-left: 24px; box-sizing: border-box; }
.tw_item_collection_sections .tw_project_section { min-width: 280px; }
.tw_item_collection_sections .tw_project_item { grid-template-columns: minmax(0, 1fr); }
.tw_item_collection_sections .tw_project_item_main { grid-template-columns: 18px 28px minmax(0, 1fr); }
.tw_item_collection_sections .tw_project_item_main::after { display: none; }
.tw_item_collection_sections .tw_project_item_column_resize,
.tw_item_collection_sections .tw_item_users_cell,
.tw_item_collection_sections .tw_item_date_cell,
.tw_item_collection_sections .tw_item_modified_cell { display: none !important; }
.tw_item_collection_sections .tw_project_item_name { grid-column: 3; }
.tw_item_collection_sections .tw_project_item_placeholder { grid-template-columns: 26px minmax(0, 1fr); }
.tw_item_collection_sections .tw_project_item_placeholder input[data-new-item] { grid-column: 2; }
.tw_item_collection_sections .tw_project_section_bulk_actions { display: none; }
.tw_item_collection_sections .tw_project_section_head { cursor: default; }
.tw_item_collection_sections .tw_project_item_name { cursor: text; }
.tw_item_assignee_toggle { display: grid; flex: 0 0 26px; width: 26px; height: 26px; place-items: center; padding: 3px; border: 0; border-radius: 50%; color: var(--ax-text-soft); background: transparent; cursor: pointer; }
.tw_item_assignee_toggle:hover, .tw_item_assignee_toggle:focus-visible { color: var(--ax-brand); background: var(--ax-brand-soft); }
.tw_item_assignee_toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.tw_item_assignees { display: flex; flex: 0 1 auto; flex-wrap: wrap; gap: 5px; min-width: 0; max-width: 280px; }
.tw_item_assignee_name { max-width: 180px; overflow: hidden; color: var(--ax-text-soft); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.tw_item_assignee_menu { position: absolute; z-index: 20; top: calc(100% - 1px); left: 0; display: grid; min-width: 240px; max-height: 260px; overflow: auto; padding: 6px; border: 1px solid var(--ax-border); border-radius: 8px; background: var(--ax-panel); box-shadow: 0 8px 24px rgb(0 0 0 / 12%); }
.tw_project_item_column_resize { position: absolute; z-index: 2; top: 0; right: -7px; bottom: 0; width: 14px; cursor: col-resize; touch-action: none; }
.tw_project_item_column_resize::after { position: absolute; top: 25%; bottom: 25%; left: 6px; width: 2px; border-radius: 2px; background: transparent; content: ""; }
.tw_project_item_column_resize:hover::after, .tw_project_item_column_resize:focus-visible::after { background: var(--ax-brand); }
.tw_project_sections.is_resizing_items { user-select: none; cursor: col-resize; }
.tw_item_assignee_option { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 5px; cursor: pointer; }
.tw_item_assignee_option:hover { background: var(--ax-brand-soft); }
.tw_project_item_handle { display: grid; width: 20px; height: 28px; place-items: center; padding: 0; border: 0; border-radius: 4px; color: var(--ax-text-soft); background: transparent; font-size: 17px; cursor: grab; opacity: 0; }
.tw_project_item:hover .tw_project_item_handle { opacity: 1; }
.tw_project_item_handle:active { cursor: grabbing; }
.tw_project_item_check { width: 19px; height: 19px; margin: 0; accent-color: var(--ax-brand); cursor: pointer; }
.tw_project_item_check.is_template_check { appearance: none; border: 1px solid var(--ax-text-soft); border-radius: 3px; background: var(--ax-border); cursor: default; }
.tw_project_item_check.is_template_check:checked { border-color: var(--ax-text-soft); background: var(--ax-text-soft); }
.tw_project_item_check.is_template_check:checked::after { display: block; width: 5px; height: 9px; margin: 2px 6px; border: solid var(--ax-panel); border-width: 0 2px 2px 0; content: ""; transform: rotate(45deg); }
.tw_project_item_name { width: 100%; min-width: 0; min-height: 30px; padding: 2px 7px; border: 1px solid transparent; border-radius: 5px; color: var(--ax-text); background: transparent; font: inherit; }
.tw_project_item_name:not(:focus) { color: transparent; -webkit-text-fill-color: transparent; caret-color: transparent; }
.tw_project_item_name_view { position: absolute; z-index: 1; top: 2px; right: 7px; bottom: 2px; left: 61px; display: block; overflow: hidden; color: var(--ax-text); line-height: 30px; white-space: pre; text-overflow: ellipsis; pointer-events: none; }
.tw_project_item_name:focus + .tw_project_item_name_view { display: none; }
.tw_project_item.is_dependent .tw_project_item_name_view { left: calc(61px + var(--tw-item-depth, 1) * 35px); }
.tw_project_item_link { color: var(--ax-brand); text-decoration: underline; text-underline-offset: 2px; pointer-events: auto; }
.tw_project_item_link:hover, .tw_project_item_link:focus-visible { color: var(--ax-brand); outline: 0; }
.tw_project_item:has(.tw_project_item_check:checked) .tw_project_item_name { color: var(--ax-text-soft); }
.tw_project_item:has(.tw_project_item_check:checked) .tw_project_item_name_view, .tw_project_item.is_parent_unfinished .tw_project_item_name_view { color: var(--ax-text-soft); }
.tw_project_item.is_dependent .tw_project_item_main { padding-left: calc(var(--tw-item-depth, 1) * 35px); }
.tw_project_item.is_parent_unfinished .tw_project_item_name { color: var(--ax-text-soft); }
.tw_project_item.is_parent_unfinished .tw_project_item_check { display: grid; place-content: center; appearance: none; border: 1px solid var(--ax-text-soft); border-radius: 3px; background: var(--ax-border); }
.tw_project_item.is_parent_unfinished .tw_project_item_check::after { width: 5px; height: 9px; border: solid var(--ax-panel); border-width: 0 2px 2px 0; content: ""; opacity: 0; transform: rotate(45deg); }
.tw_project_item.is_parent_unfinished .tw_project_item_check:checked { border-color: var(--ax-text-soft); background: var(--ax-text-soft); }
.tw_project_item.is_parent_unfinished .tw_project_item_check:checked::after { opacity: 1; }
.tw_project_item_placeholder { display: grid; grid-template-columns: 22px minmax(0, 1fr); align-items: center; gap: 6px; min-height: 34px; padding: 1px 8px 1px 26px; }
.tw_project_item_placeholder.is_dependent { padding-left: calc(26px + var(--tw-item-depth, 1) * 35px); }
.tw_project_item_placeholder_check { justify-self: start; }
.tw_project_item_placeholder input[type="text"] { width: min(100%, 520px); min-height: 30px; padding: 2px 7px; border: 1px solid transparent; border-radius: 5px; color: var(--ax-text-soft); background: transparent; font: inherit; }
.tw_project_item_placeholder input[type="text"]:focus { border-color: var(--ax-border); outline: 2px solid var(--ax-brand-soft); background: var(--ax-panel); }
.tw_project_item.is_dragging { opacity: .4; }
.tw_project_item.is_drop_before::before, .tw_project_item.is_drop_after::after { position: absolute; right: 0; left: 28px; height: 2px; background: var(--ax-brand); content: ""; pointer-events: none; }
.tw_project_item.is_drop_child { outline: 2px solid var(--ax-brand); outline-offset: -2px; }
.tw_project_item.is_drop_before::before { top: -2px; }
.tw_project_item.is_drop_after::after { bottom: -2px; }
.tw_project_item_list.is_drop_end::after { display: block; height: 2px; margin: 0 0 0 28px; background: var(--ax-brand); content: ""; }
@media (max-width: 900px) { .tw_project_sections { width: 100%; min-width: 0; } }
@media (max-width: 620px) { .tw_project_form { grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "project-name" "date" "team" "note" "templates" "description" "status" "actions"; } .tw_project_template_row { grid-template-columns: minmax(0, 1fr); gap: 0; } }
@media (max-width: 620px) { .tw_project_filters { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 620px) { .tw_project_detail_search { flex-wrap: wrap; } .tw_project_detail_search > input, .tw_project_detail_search > .tw_select_custom { flex-basis: 100%; } .tw_item_child_search_row { flex-wrap: nowrap; } .tw_item_child_search_row > .tw_select_custom { flex: 0 1 105px; min-width: 105px; } .tw_project_detail_team { max-width: 45vw; } }
.tw_modal h2 { margin: 0 0 10px; }
.tw_modal p { margin: 0 0 22px; color: var(--ax-text-soft); line-height: 1.5; }
.tw_modal_close { display: block; margin-left: auto; padding: 9px 16px; border: 0; border-radius: var(--ax-radius-sm); color: #fff; background: var(--ax-brand); cursor: pointer; }
.tw_modal_actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 24px; }
.tw_modal_actions[hidden] { display: none; }
.tw_modal_cancel, .tw_modal_credits { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 16px; border: 0; border-radius: var(--ax-radius-sm); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.tw_modal_cancel { background: #e5e7eb; color: #374151; }
.tw_modal_cancel:hover, .tw_modal_cancel:focus-visible { background: #d9dcdf; }
.tw_modal_credits { background: var(--ax-brand); color: #fff; }
.tw_modal_credits:hover, .tw_modal_credits:focus-visible { background: #005c63; }
.tw_modal_credits:disabled { opacity: .65; cursor: wait; }
.tw_team_form { width: min(670px, 100%); max-height: min(90vh, 820px); overflow: auto; }
.tw_team_title_row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.tw_team_title_row h2 { margin: 0; }
.tw_team_active { display: inline-flex; align-items: center; gap: 8px; margin-right: 100px; color: var(--ax-text); font-size: 13px; font-weight: 600; cursor: pointer; }
.tw_team_active input { width: 18px; height: 18px; margin: 0; accent-color: var(--ax-brand); }
.tw_team_form > h2 { margin-bottom: 22px; }
.tw_team_field, .tw_team_users { display: grid; gap: 8px; margin: 0 0 18px; padding: 0; border: 0; }
.tw_team_field > span, .tw_team_users legend { padding: 0; color: var(--ax-text); font-weight: 600; }
.tw_team_users_label { display: inline-block; margin-bottom: 10px; color: var(--ax-brand); font-weight: 700; }
.tw_team_field input, .tw_team_user_email { width: 100%; min-width: 0; min-height: 44px; padding: 9px 12px; border: 1px solid var(--ax-border); border-radius: var(--ax-radius-sm); color: var(--ax-text); background: #fff; font: inherit; }
.tw_team_field input:focus-visible, .tw_team_user_email:focus-visible { outline: 3px solid var(--ax-brand-soft); border-color: var(--ax-brand); }
.tw_team_user_list { display: grid; gap: 10px; }
.tw_team_user_row { display: grid; grid-template-columns: minmax(0, 1fr) 40px; align-items: center; gap: 8px; }
.tw_team_saved_user { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 40px; align-items: center; gap: 8px 20px; }
.tw_team_saved_user_name { font-weight: 600; }
.tw_team_saved_user_email { color: var(--ax-text-soft); overflow-wrap: anywhere; }
.tw_team_new_user_input { grid-column: 1 / -1; }
.tw_team_user_remove { display: grid; width: 40px; height: 40px; place-items: center; padding: 9px; border: 0; border-radius: var(--ax-radius-sm); color: var(--ax-text-soft); background: #fff; cursor: pointer; }
.tw_team_user_remove:hover, .tw_team_user_remove:focus-visible { color: #b42318; background: #fdebea; }
.tw_team_user_remove:disabled { opacity: .4; cursor: not-allowed; }
.tw_team_user_remove svg { width: 20px; height: 20px; fill: currentColor; }
.tw_team_add_user { display: inline-flex; align-items: center; min-height: 40px; margin: 0 0 22px; padding: 8px 12px; border: 1px solid var(--ax-border); border-radius: var(--ax-radius-sm); color: var(--ax-brand); background: #fff; cursor: pointer; font: inherit; font-weight: 600; }
.tw_team_add_user:hover, .tw_team_add_user:focus-visible { border-color: var(--ax-brand); background: var(--ax-brand-soft); }
.tw_team_notify { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; cursor: pointer; }
.tw_team_notify input { width: 18px; height: 18px; accent-color: var(--ax-brand); }
.tw_team_form_status { min-height: 20px; margin: 2px 0 0 !important; color: var(--ax-text-soft) !important; font-size: 13px; }
.tw_team_form_status.is_error { color: #b42318 !important; }
.tw_team_form .tw_modal_actions { margin-top: 16px; }
.tw_credits_page { display: grid; align-content: start; gap: 22px; width: 100%; max-width: none; padding: 0 0 48px; }
.tw_credit_grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tw_credit_card { min-height: 150px; display: grid; align-content: start; gap: 8px; padding: 22px 20px; border: 1px solid var(--ax-border); border-radius: 16px; background: #fff; }
.tw_credit_card_highlight { background: var(--ax-brand-weak); border-color: var(--ax-border); }
.tw_credit_card_highlight strong { color: var(--ax-brand); }
.tw_credit_card > span { color: var(--ax-text-soft); font-size: 14px; font-weight: 700; }
.tw_credit_card > strong { color: var(--ax-brand); font-size: 26px; line-height: 1.1; }
.tw_credit_card > small { color: var(--ax-text-soft); font-size: 13px; line-height: 1.45; }
.tw_credit_breakdown { display: grid; gap: 5px; color: var(--ax-brand); font-size: 13px; line-height: 1.45; }
.tw_credits_info { display: grid; gap: 10px; width: 100%; max-width: none; margin-top: 4px; padding: 20px 22px; border: 1px solid var(--ax-border); border-radius: 14px; background: var(--ax-brand-soft); line-height: 1.55; }
.tw_credits_info h2 { margin: 0 0 2px; font-size: 20px; }
.tw_credits_info p { margin: 0; color: var(--ax-text-soft); line-height: 1.55; }
.tw_credits_order { display: block; max-width: 900px; }
.tw_credits_order .tw_create_inline { display: inline-flex; vertical-align: middle; margin: 20px 0 0; }
.tw_topup_editor { display: inline-grid; grid-template-columns: auto 110px auto; align-items: center; gap: 8px; margin: 20px 8px 0 0; vertical-align: middle; }
.tw_topup_editor[hidden] { display: none; }
.tw_topup_editor span { font-weight: 600; }
.tw_topup_editor input { width: 110px; height: 44px; border: 1px solid var(--ax-border); border-radius: 10px; padding: 0 8px; font: inherit; text-align: center; }
.tw_topup_editor input::-webkit-outer-spin-button, .tw_topup_editor input::-webkit-inner-spin-button { margin: 0; appearance: none; }
.tw_topup_editor .tw_topup_unit { white-space: nowrap; }
.tw_topup_error { display: block; grid-column: 1 / -1; color: #b42318; font-size: 13px; font-weight: 600; }
.tw_topup_error[hidden] { display: none; }
.tw_credits_cancel { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; margin: 20px 0 0 8px; border: 0; border-radius: 50%; background: #eef1f2; color: var(--ax-text-soft); font: inherit; font-size: 22px; line-height: 1; cursor: pointer; vertical-align: middle; }
.tw_credits_cancel[hidden] { display: none; }
.tw_credits_status { min-height: 20px; color: var(--ax-brand) !important; }
.tw_credits_notice { position: relative; width: 100%; margin: 20px 0 18px; padding: 14px; border-radius: var(--ax-radius-sm); background: var(--ax-brand-weak); }
.tw_credits_notice[hidden] { display: none; }
.tw_credits_notice p { margin: 8px 0 14px; color: var(--ax-text-soft); line-height: 1.6; }
.tw_credits_notice .tw_credits_payment_note { margin: 10px 0 0; font-size: 14px; }
.tw_credits_notice_close { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: #eef1f2; color: var(--ax-text-soft); font: inherit; font-size: 22px; line-height: 1; cursor: pointer; }
.tw_credits_qr { display: block; width: 220px; max-width: 100%; margin: 12px 0 0; }
#tw_order_host { width: 100%; }
#tw_billing_order_frame { display: block; width: 100%; height: 760px; border: 0; background: transparent; }
@media (max-width: 760px) {
  .tw_app { display: block; }
  .tw_sidebar { width: 100%; flex-basis: auto; min-height: 0; padding: 18px 16px; border-right: 0; border-bottom: 1px solid var(--ax-border); }
  .tw_sidebar_resize { display: none; }
  .tw_brand { padding: 0 8px 18px; }
  .tw_brand img { width: 164px; }
  .tw_menu_title { margin-top: 22px; }
  .tw_contact { margin-top: 24px; }
  .tw_main { padding: 18px; }
  .tw_topbar { align-items: flex-start; }
  .tw_settings_row { grid-template-columns: 1fr; }
  .tw_team_card { grid-template-columns: 1fr; }
  .tw_team_card h2 { grid-column: 1; }
  .tw_credit_grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) { .tw_credit_grid { grid-template-columns: 1fr; } }
